/* Eclipse Landing - Integrations Page Styles */

/* HERO BANNER */
.int-hero {
  padding: 80px 64px 0;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.int-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--navy);
  margin: 0 auto 20px;
  max-width: 800px;
}
.int-hero h1 span {
  background: linear-gradient(135deg, var(--blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.int-hero-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* EXPERTISE BANNER */
.expertise {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px 64px;
}
.expertise-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
  background: var(--navy);
  border-radius: 20px;
  padding: 48px 56px;
  color: white;
  overflow: hidden;
  position: relative;
}
.expertise-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.expertise-body h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.expertise-body h2 span {
  background: linear-gradient(135deg, #818CF8, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.expertise-body p {
  font-size: 16px;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 32px;
}
.expertise-stats {
  display: flex;
  gap: 40px;
}
.estat {
  display: flex;
  flex-direction: column;
}
.estat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #818CF8, #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.estat-label {
  font-size: 12px;
  color: #64748B;
  font-weight: 500;
  margin-top: 2px;
}

/* Hub diagram */
.hub-visual { position: relative; z-index: 1; }
.hub-visual svg { width: 100%; max-width: 320px; display: block; margin: 0 auto; }
@keyframes dash-flow { to { stroke-dashoffset: -16; } }
.pulse-line { animation: dash-flow 2s linear infinite; }

/* CATEGORY TABS */
.int-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 64px 96px;
}
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.cat-tab {
  padding: 7px 18px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.cat-tab:hover { border-color: var(--blue); color: var(--text); }
.cat-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}
.cat-count {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 8px;
  margin-left: 4px;
}
.cat-tab:not(.active) .cat-count {
  background: var(--surface);
  color: var(--muted);
}

/* GRID */
.int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.int-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: all 0.25s;
}
.int-card.hidden { display: none; }
.int-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37,99,235,0.12);
}
.int-card:hover img {
  transform: scale(1.1);
}
.int-card img {
  transition: transform 0.2s ease;
}
.int-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.int-card-head img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.int-icon-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.int-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.int-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  background: var(--sky);
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.int-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* CATEGORY HEADING in flat grid */
.cat-heading {
  grid-column: 1 / -1;
  padding-top: 16px;
}
.cat-heading:first-child { padding-top: 0; }
.cat-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.cat-heading-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* CTA */
.int-cta {
  text-align: center;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 48px;
}
.int-cta h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.int-cta p {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
}

/* PLATFORM BACKGROUND COLORS */
.platform-tsheets { background: #4CAF50; }
.platform-linkedin { background: #0077B5; }
.platform-bing { background: #0078D4; }
.platform-spot { background: #1DB954; }
.platform-ai { background: var(--accent); }
.platform-sqlserver { background: #CC2927; }
.platform-postgresql { background: #336791; }
.platform-mysql { background: #4479A1; }
.platform-redshift { background: #8C4FFF; }
.platform-athena { background: #FF9900; }
.platform-cosmosdb { background: #0078D4; }
.platform-mongodb { background: #47A248; }
.platform-nasa { background: #0B3D91; }
.platform-uncomtrade { background: #009EDB; }
.platform-restcountries { background: #5B9BD5; }
.platform-openweathermap { background: #EB6E4B; }
.platform-tomtom { background: #D32F2F; }
.platform-googlemaps { background: #4285F4; }
.platform-exchangerates { background: #2E7D32; }
.platform-grocery { background: #E31837; }
.platform-pharmacy { background: #D32F2F; }

/* FOOTER (integrations page uses centered text footer) */
/* Note: integrations.html footer uses inline styles; these are fallback classes */

/* RESPONSIVE */
@media (max-width: 1024px) {
  .expertise-card { grid-template-columns: 1fr; }
  .hub-visual { display: none; }
  .int-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .int-hero, .expertise, .int-section { padding-left: 24px; padding-right: 24px; }
  .expertise-card { padding: 32px; }
  .expertise-stats { gap: 24px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .int-grid { grid-template-columns: 1fr; }
  .expertise-stats { flex-direction: column; gap: 16px; }
}
