/* ============================================================
   DAE — Dental Appointment Engine
   Premium Landing Page — Complete Rewrite (Light Mode Only)
   ============================================================ */

:root {
  /* Typography Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

  /* Spacing */
  --space-1:0.25rem; --space-2:0.5rem; --space-3:0.75rem; --space-4:1rem;
  --space-5:1.25rem; --space-6:1.5rem; --space-8:2rem; --space-10:2.5rem;
  --space-12:3rem; --space-16:4rem; --space-20:5rem; --space-24:6rem; --space-32:8rem;

  /* Radii */
  --radius-sm:0.375rem; --radius-md:0.5rem; --radius-lg:0.75rem; --radius-xl:1rem; --radius-2xl:1.25rem; --radius-full:9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --content-narrow:640px; --content-default:960px; --content-wide:1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'General Sans', sans-serif;
  --font-body: 'General Sans', 'Inter', sans-serif;

  /* Colors — Light Mode Only */
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-surface-2: #F1F3F5;
  --color-surface-3: #E9ECEF;
  --color-border: #DEE2E6;
  --color-text: #0B1D3A;
  --color-text-muted: #5A6577;
  --color-text-faint: #9AA5B4;
  --color-primary: #131338;
  --color-primary-hover: #1a1a4a;
  --color-primary-dark: #0e0e2a;
  --color-mint: #5CF7BB;
  --color-mint-hover: #7DFCCF;
  --color-mint-glow: rgba(92,247,187,0.25);
  --color-navy: #0B1D3A;
  --color-navy-light: #132D54;
  --color-accent-glow: rgba(92,247,187,0.2);
  --color-danger: #D94F4F;
  --shadow-sm: 0 1px 3px rgba(11,29,58,0.06);
  --shadow-md: 0 4px 16px rgba(11,29,58,0.08);
  --shadow-lg: 0 12px 40px rgba(11,29,58,0.12);
}


/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6); }
.container--narrow { max-width: var(--content-default); }
section { padding-block: clamp(var(--space-10), 6vw, var(--space-20)); }

/* Gradient transitions between sections */
.gradient-divider {
  height: 80px; border: none; margin: 0;
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}
.gradient-divider--dark {
  background: linear-gradient(180deg, var(--color-bg) 0%, #0a0e1f 100%);
}
.gradient-divider--from-navy {
  background: linear-gradient(180deg, #0a0e1f 0%, var(--color-bg) 100%);
}
.gradient-divider--surface2 {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface-2) 100%);
}
.gradient-divider--from-surface2 {
  background: linear-gradient(180deg, var(--color-surface-2) 0%, var(--color-surface) 100%);
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: var(--space-3) 0;
  background: rgba(10,14,31,0.75);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.4s ease, box-shadow 0.3s ease, border-color 0.4s ease;
}
.site-header.scrolled {
  background: rgba(248,249,250,0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(19,19,56,0.12);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--space-6);
}
.logo { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.logo img { height: 30px; width: auto; filter: invert(1); transition: filter 0.4s ease; }
.site-header.scrolled .logo img { filter: invert(0); }
.nav-links { display: flex; align-items: center; gap: var(--space-6); list-style: none; }
.nav-links a {
  font-size: var(--text-sm); font-weight: 500; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: color 0.4s ease;
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #5CF7BB; border-radius: var(--radius-full);
  transition: width 0.25s cubic-bezier(0.16,1,0.3,1);
}
.nav-links a:hover { color: #5CF7BB; }
.nav-links a:hover::after { width: 100%; }
/* Scrolled state — light bg, dark text */
.site-header.scrolled .nav-links a { color: var(--color-text-muted); }
.site-header.scrolled .nav-links a:hover { color: var(--color-primary); }
.site-header.scrolled .nav-links a::after { background: var(--color-primary); }
.site-header.scrolled .mobile-toggle { color: var(--color-text); }
.site-header.scrolled .btn-primary {
  background: #131338; color: #fff;
  box-shadow: 0 2px 8px rgba(19,19,56,0.15);
}
.site-header.scrolled .btn-primary:hover {
  background: #1a1a4a;
  box-shadow: 0 4px 16px rgba(19,19,56,0.2);
}
.nav-right { display: flex; align-items: center; gap: var(--space-3); }
.mobile-toggle {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center; color: rgba(255,255,255,0.8);
}

@media (max-width:768px) {
  .nav-links { display: none; }
  .nav-right .btn-nav { display: none; }
  .mobile-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: var(--color-bg);
    border-bottom: 1px solid var(--color-border); padding: var(--space-6); gap: var(--space-4);
  }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.75rem 1.75rem; border-radius: var(--radius-full); font-family: var(--font-body);
  font-weight: 600; font-size: var(--text-sm); text-decoration: none; cursor: pointer; border: none;
  transition: all var(--transition-interactive); white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--color-mint); color: #131338; font-weight: 700;
  box-shadow: 0 0 20px var(--color-mint-glow), 0 4px 12px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background: var(--color-mint-hover); transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(92,247,187,0.35), 0 6px 20px rgba(0,0,0,0.15);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary .btn-icon { transition: transform 0.2s ease; }
.btn-primary:hover .btn-icon { transform: translateX(3px); }
.btn-secondary { background: transparent; color: var(--color-text); border: 1px solid var(--color-border); }
.btn-secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-dark { background: var(--color-navy); color: #fff; }
.btn-dark:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-large { padding: 1rem 2.25rem; font-size: var(--text-base); }
.btn-nav { padding: 0.5rem 1.25rem; }
.btn-icon { width: 18px; height: 18px; }

/* Glow pulse on primary CTA buttons */
.btn-primary::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: inherit; background: var(--color-mint);
  opacity: 0; z-index: -1; pointer-events: none;
  animation: ctaPulse 3s ease-in-out infinite;
}
.btn-primary .btn-icon { color: #131338; }
.btn-nav::after { display: none; }
@keyframes ctaPulse { 0%,100% { opacity: 0; transform: scale(1); } 50% { opacity: 0.3; transform: scale(1.04); } }
.btn-white { background: #fff; color: var(--color-navy); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }


/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-label {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--color-primary); margin-bottom: var(--space-4);
}
.section-label::before {
  content: ''; display: block; width: 8px; height: 8px;
  background: var(--color-primary); border-radius: 50%;
}
.section-title {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 700;
  color: var(--color-text); letter-spacing: -0.02em; margin-bottom: var(--space-4); line-height: 1.1;
}
.section-title em {
  font-style: italic; font-family: Georgia, 'Times New Roman', serif;
  font-weight: 800;
  background: linear-gradient(135deg, #131338, #1E3A5F);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-subtitle {
  font-size: var(--text-base); color: var(--color-text-muted); max-width: 60ch; line-height: 1.7;
}


/* ============================================================
   1. HERO — Premium Dark
   ============================================================ */
/* ---- HERO: Premium Dark SaaS Split Layout ---- */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: var(--space-20);
  overflow: hidden;
  background: #0a0e1f;
}

/* Dark gradient background with depth + portal image */
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(92,247,187,0.03), transparent 70%),
    url('assets/hero-bg-portal.jpg') center center / cover no-repeat,
    linear-gradient(180deg, #0a0e1f 0%, #080c1a 40%, #0a0e1f 100%);
}
/* Subtle noise texture via dot grid */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.35;
}
/* Radial glow behind product visual */
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 600px; height: 600px;
  top: 50%; right: 5%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(92,247,187,0.08) 0%, rgba(92,247,187,0.02) 40%, transparent 70%);
  filter: blur(60px);
}

/* Centered hero layout */
.hero-center {
  position: relative; z-index: 1;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: var(--radius-full);
  background: rgba(92,247,187,0.06); border: 1px solid rgba(92,247,187,0.15);
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(255,255,255,0.6); margin-bottom: var(--space-6);
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #5CF7BB;
  box-shadow: 0 0 8px rgba(92,247,187,0.6);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(92,247,187,0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 16px rgba(92,247,187,0.4); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  font-weight: 800;
  color: #FFFFFF; letter-spacing: -0.035em; line-height: 1.06; margin-bottom: var(--space-5);
}
.hero-highlight {
  background: linear-gradient(135deg, #5CF7BB, #3ADBA8, #5CF7BB);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 4s ease infinite;
}
@keyframes gradientText {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-sub {
  font-size: var(--text-lg); color: rgba(255,255,255,0.5); line-height: 1.65;
  max-width: 54ch; margin-inline: auto; margin-bottom: var(--space-8);
}

.hero-cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-3);
}

/* Accent CTA for dark hero */
.btn-accent {
  background: #5CF7BB; color: #131338; font-weight: 700;
  box-shadow: 0 0 24px rgba(92,247,187,0.25), 0 4px 16px rgba(0,0,0,0.2);
}
.btn-accent:hover {
  background: #7DFCCF; transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(92,247,187,0.35), 0 6px 24px rgba(0,0,0,0.3);
}
.btn-accent:active { transform: translateY(0); }
.btn-accent .btn-icon { transition: transform 0.2s ease; }
.btn-accent:hover .btn-icon { transform: translateX(3px); }
.btn-accent::after { display: none; }

/* Ghost CTA for dark hero */
.btn-ghost {
  background: transparent; color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(92,247,187,0.4); color: #5CF7BB;
  background: rgba(92,247,187,0.05);
}

/* Microcopy under CTAs */
.hero-microcopy {
  font-size: 12px; color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em; margin-bottom: 0;
  text-align: center;
}

/* ==== HERO PIPELINE VISUALIZATION ==== */
.hero-pipeline {
  position: relative; z-index: 1;
  max-width: var(--content-wide);
  margin: var(--space-12) auto 0;
  padding-inline: var(--space-6);
}

.pipeline-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

/* Pipeline stage cards */
.pipeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 20px 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  position: relative;
  min-width: 120px;
  flex: 1;
  max-width: 160px;
  /* Entrance animation */
  opacity: 0;
  transform: translateY(20px);
  animation: stageAppear 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}

.pipeline-stage--1 { animation-delay: 0.3s; }
.pipeline-stage--2 { animation-delay: 0.5s; }
.pipeline-stage--3 { animation-delay: 0.7s; }
.pipeline-stage--4 { animation-delay: 0.9s; }
.pipeline-stage--5 { animation-delay: 1.1s; }

@keyframes stageAppear {
  to { opacity: 1; transform: translateY(0); }
}

/* Accent stages — qualified + booked */
.pipeline-stage--accent {
  border-color: rgba(92,247,187,0.12);
  box-shadow: 0 0 24px rgba(92,247,187,0.04);
}

/* Revenue stage — featured */
.pipeline-stage--revenue {
  border-color: rgba(92,247,187,0.2);
  background: rgba(92,247,187,0.04);
  box-shadow:
    0 4px 32px rgba(92,247,187,0.08),
    0 0 0 1px rgba(92,247,187,0.06);
}

.pipeline-stage-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.pipeline-stage--accent .pipeline-stage-icon {
  background: rgba(92,247,187,0.08);
  color: #5CF7BB;
}
.pipeline-stage--revenue .pipeline-stage-icon {
  background: rgba(92,247,187,0.12);
  color: #5CF7BB;
}

.pipeline-stage-label {
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.pipeline-stage--accent .pipeline-stage-label,
.pipeline-stage--revenue .pipeline-stage-label {
  color: rgba(92,247,187,0.5);
}

.pipeline-stage-metric {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.pipeline-stage--accent .pipeline-stage-metric {
  color: #5CF7BB;
}
.pipeline-stage--revenue .pipeline-stage-metric {
  font-size: 26px;
  color: #5CF7BB;
  text-shadow: 0 0 20px rgba(92,247,187,0.3);
}

.pipeline-stage-unit {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.3);
  margin-top: 2px;
}
.pipeline-stage--accent .pipeline-stage-unit {
  color: rgba(92,247,187,0.4);
}
.pipeline-stage--revenue .pipeline-stage-unit {
  color: rgba(92,247,187,0.45);
}

/* Connectors between stages */
.pipeline-connector {
  display: flex; align-items: center; justify-content: center;
  width: 60px; flex-shrink: 0;
  position: relative;
  opacity: 0;
  animation: connectorAppear 0.5s ease 1.4s forwards;
}
.pipeline-connector svg {
  width: 100%; height: 40px;
  filter: drop-shadow(0 0 6px rgba(92,247,187,0.3));
}
.connector-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5CF7BB;
  box-shadow: 0 0 10px rgba(92,247,187,0.7);
  animation: connectorDotMove 2.5s ease-in-out infinite;
}

@keyframes connectorAppear {
  to { opacity: 1; }
}
@keyframes connectorDotMove {
  0% { left: 8px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: calc(100% - 14px); opacity: 0; }
}

/* ---- Responsive ---- */
@media (max-width:1024px) {
  .hero-glow { right: -10%; width: 400px; height: 400px; }
  .pipeline-stage { min-width: 100px; max-width: 140px; padding: 16px 14px 12px; }
  .pipeline-stage-metric { font-size: 18px; }
  .pipeline-stage--revenue .pipeline-stage-metric { font-size: 22px; }
  .pipeline-connector { width: 40px; }
}
@media (max-width:768px) {
  .hero-headline { font-size: clamp(2rem, 1rem + 3.5vw, 3rem); }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .hero-microcopy { text-align: center; }
  .hero-glow { display: none; }

  /* Mobile: pipeline becomes 2x2 grid + final row */
  .pipeline-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 400px;
    margin-inline: auto;
  }
  .pipeline-connector { display: none; }
  .pipeline-stage {
    max-width: unset;
    min-width: unset;
  }
  .pipeline-stage--5 {
    grid-column: 1 / -1;
  }
}

/* Hero to light section gradient */
.hero-to-light {
  height: 100px; margin: 0; border: none;
  background: linear-gradient(180deg, #0a0e1f 0%, var(--color-bg) 100%);
}

/* ============================================================
   2. LOGO CAROUSEL
   ============================================================ */
.logos-section { padding-block: var(--space-8); background: var(--color-surface-2); overflow: hidden; }
.logos-label {
  text-align: center; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--color-text-faint); margin-bottom: var(--space-6);
}
.logos-track { display: flex; width: max-content; animation: scroll-logos 30s linear infinite; }
.logos-slide { display: flex; gap: var(--space-12); padding-right: var(--space-12); }
.logo-item {
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  color: var(--color-text-faint); white-space: nowrap; letter-spacing: 0.02em;
  padding: var(--space-3) var(--space-6); border: 1px solid var(--color-border);
  border-radius: var(--radius-full); background: var(--color-surface);
}
@keyframes scroll-logos { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* ============================================================
   3. ANIMATED PATIENT PIPELINE
   ============================================================ */
.pipeline-section { background: var(--color-surface); }
.pipeline-section .section-title { text-align: center; }
.pipeline-section .section-subtitle { text-align: center; margin-inline: auto; margin-bottom: var(--space-12); }

.pipeline-flow {
  display: flex; align-items: center; gap: 0; justify-content: center;
  position: relative; padding: var(--space-8) 0;
}

.pipeline-step {
  text-align: center; padding: var(--space-6) var(--space-4);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); flex: 1; max-width: 200px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.pipeline-step.animated { opacity: 1; transform: translateY(0); }

.pipeline-step-icon {
  width: 48px; height: 48px; margin: 0 auto var(--space-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); background: var(--color-accent-glow);
  border-radius: var(--radius-md);
}
.pipeline-step h3 {
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-text); margin-bottom: var(--space-1);
}
.pipeline-step p { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.5; }

/* Connecting lines */
.pipeline-connector {
  width: 48px; height: 2px; flex-shrink: 0; position: relative;
}
.pipeline-connector::before {
  content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px;
  background: var(--color-primary);
  transition: width 0.6s ease;
}
.pipeline-connector.animated::before { width: 100%; }
.pipeline-connector::after {
  content: ''; position: absolute; top: -3px; right: -2px;
  width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
  border-left: 6px solid var(--color-primary);
  opacity: 0; transition: opacity 0.3s ease 0.5s;
}
.pipeline-connector.animated::after { opacity: 1; }

/* Flying data packet dot */
.pipeline-connector .data-packet {
  position: absolute; top: -4px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 0 8px var(--color-primary);
  opacity: 0;
}
.pipeline-connector.animated .data-packet {
  animation: flyPacket 1.5s ease-in-out 0.6s infinite;
}
@keyframes flyPacket {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}

/* Floating data cards */
.pipeline-data-cards {
  display: flex; justify-content: center; gap: var(--space-6); margin-top: var(--space-8); flex-wrap: wrap;
}
.pipeline-data-card {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  background: var(--color-accent-glow); border: 1px solid rgba(19,19,56,0.15);
  font-size: var(--text-xs); font-weight: 600; color: var(--color-primary);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pipeline-data-card.animated { opacity: 1; transform: translateY(0); }

@media (max-width:768px) {
  .pipeline-flow { flex-direction: column; gap: 0; }
  .pipeline-connector { width: 2px; height: 32px; }
  .pipeline-connector::before { width: 2px; height: 0; transition: height 0.6s ease; }
  .pipeline-connector.animated::before { height: 100%; width: 2px; }
  .pipeline-connector::after {
    top: auto; bottom: -2px; left: -3px; right: auto;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 6px solid var(--color-primary); border-bottom: none;
  }
  .pipeline-step { max-width: 280px; width: 100%; }
  .pipeline-connector .data-packet { left: -4px; top: 0; }
  .pipeline-connector.animated .data-packet { animation: flyPacketV 1.5s ease-in-out 0.6s infinite; }
}
@keyframes flyPacketV {
  0% { top: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}


/* ============================================================
   4. SOCIAL PROOF — Testimonial cards
   ============================================================ */
.proof-section { background: var(--color-bg); }
.proof-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12);
  align-items: end; margin-bottom: var(--space-12);
}
.proof-header-right { text-align: right; }
.proof-header-right .section-subtitle { margin-left: auto; margin-bottom: var(--space-6); }

.proof-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }

.proof-card {
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }

.proof-card-metrics { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.metric-pill {
  display: inline-flex; align-items: center; gap: var(--space-1);
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  background: var(--color-accent-glow); font-size: var(--text-xs); color: var(--color-text);
}
.metric-pill-value { font-weight: 700; color: var(--color-primary); font-size: var(--text-sm); }

.proof-card-stars { display: flex; gap: 2px; }
.proof-card-stars i { color: #F59E0B; }
.proof-card blockquote {
  font-size: var(--text-sm); color: var(--color-text); line-height: 1.7;
  font-style: normal; flex-grow: 1;
}
.proof-card-author {
  display: flex; align-items: center; gap: var(--space-3);
  padding-top: var(--space-4); border-top: 1px solid var(--color-border);
}
.author-avatar {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--color-accent-glow); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs);
  color: var(--color-primary); flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: var(--text-sm); color: var(--color-text); }
.author-role { font-size: var(--text-xs); color: var(--color-text-muted); }

@media (max-width:1024px) { .proof-cards { grid-template-columns: 1fr; } }
@media (max-width:768px) {
  .proof-header { grid-template-columns: 1fr; }
  .proof-header-right { text-align: left; }
  .proof-header-right .section-subtitle { margin-left: 0; }
}


/* ============================================================
   5. WHY CHOOSE DAE — Two-column with image
   ============================================================ */
.why-section { background: var(--color-surface-2); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: center; }
.why-visual { position: relative; border-radius: var(--radius-2xl); overflow: hidden; }
.why-visual img { width: 100%; display: block; }

.why-list {
  list-style: none; display: flex; flex-direction: column; gap: var(--space-5);
  margin: var(--space-8) 0;
}
.why-list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm); color: var(--color-text); line-height: 1.6;
}
.why-bullet {
  width: 10px; height: 10px; border-radius: var(--radius-full);
  background: var(--color-primary); flex-shrink: 0; margin-top: 6px;
  opacity: 0; transform: scale(0);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.why-bullet.animated { opacity: 1; transform: scale(1); }

@media (max-width:768px) { .why-grid { grid-template-columns: 1fr; } }


/* ============================================================
   6. HOW IT WORKS — Vertical Timeline Scroll Storytelling
   ============================================================ */
.hiw-section { background: var(--color-bg); overflow: hidden; }
.hiw-section .section-title { text-align: center; }
.hiw-section .section-subtitle { text-align: center; margin-inline: auto; margin-bottom: var(--space-12); }

.hiw-timeline { position: relative; max-width: 800px; margin-inline: auto; }

/* Vertical line */
.hiw-line {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 3px; background: var(--color-border);
  transform: translateX(-50%);
}
.hiw-line-progress {
  position: absolute; top: 0; left: 0; width: 100%; height: 0;
  background: var(--color-primary); border-radius: var(--radius-full);
  transition: height 0.1s linear;
}

/* Step cards */
.hiw-step {
  display: flex; align-items: flex-start; gap: var(--space-8);
  margin-bottom: var(--space-12); position: relative;
  opacity: 0; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.hiw-step.animated { opacity: 1; transform: translateX(0) !important; }
.hiw-step:nth-child(odd) { flex-direction: row-reverse; transform: translateX(40px); }
.hiw-step:nth-child(even) { transform: translateX(-40px); }

.hiw-step-content {
  flex: 1; max-width: calc(50% - var(--space-12));
  padding: var(--space-6); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hiw-step.active .hiw-step-content {
  border-color: var(--color-primary);
  box-shadow: 0 0 24px var(--color-accent-glow);
}

.hiw-step-number {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--color-surface); border: 3px solid var(--color-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  color: var(--color-text-muted); position: absolute; left: 50%; top: var(--space-6);
  transform: translateX(-50%); z-index: 2;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.hiw-step.active .hiw-step-number {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}

.hiw-step-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); background: var(--color-accent-glow); border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
}
.hiw-step-content h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  color: var(--color-text); margin-bottom: var(--space-2);
}
.hiw-step-content p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; }

/* Spacer on opposite side */
.hiw-step-spacer { flex: 1; max-width: calc(50% - var(--space-12)); }

@media (max-width:768px) {
  .hiw-line { left: 20px; }
  .hiw-step, .hiw-step:nth-child(odd) {
    flex-direction: row !important; gap: var(--space-4); padding-left: 48px;
    transform: translateX(20px);
  }
  .hiw-step-content, .hiw-step-spacer { max-width: 100%; }
  .hiw-step-spacer { display: none; }
  .hiw-step-number { left: 20px; transform: translateX(-50%); }
}


/* ============================================================
   7. COMPARISON (DAE vs Agencies)
   ============================================================ */
.comparison-section { background: var(--color-surface); }
.comparison-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-12);
}
.comparison-card {
  padding: var(--space-8); border-radius: var(--radius-xl); border: 1px solid var(--color-border);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.comparison-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.comparison-card.agency { background: var(--color-bg); }
.comparison-card.dae { background: var(--color-navy); border-color: var(--color-mint); color: #fff; }

.comparison-header {
  display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6);
  padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-border);
}
.comparison-card.dae .comparison-header { border-bottom-color: rgba(255,255,255,0.1); }
.comparison-header-icon {
  width: 40px; height: 40px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.comparison-card.agency .comparison-header-icon { background: var(--color-surface-2); color: var(--color-text-muted); }
.comparison-card.dae .comparison-header-icon { background: rgba(92,247,187,0.15); color: var(--color-mint); }
.comparison-header h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.comparison-card.agency .comparison-header h3 { color: var(--color-text); }
.comparison-card.dae .comparison-header h3 { color: #fff; }

.comparison-list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.comparison-list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  font-size: var(--text-sm); line-height: 1.6;
}
.comparison-card.agency .comparison-list li { color: var(--color-text-muted); }
.comparison-card.dae .comparison-list li { color: rgba(255,255,255,0.85); }
.list-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.list-icon.negative { color: var(--color-danger); }
.list-icon.positive { color: var(--color-primary); }
.comparison-card.dae .list-icon.positive { color: var(--color-mint); }

@media (max-width:768px) { .comparison-grid { grid-template-columns: 1fr; } }


/* ============================================================
   8. DASHBOARD + CALCULATOR (Merged)
   ============================================================ */
.dash-calc-section { background: var(--color-bg); }
.dash-calc-section .section-title { text-align: center; }
.dash-calc-section .section-subtitle { text-align: center; margin-inline: auto; margin-bottom: var(--space-10); }

.dash-calc-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8);
  align-items: start;
}

.dashboard-mock {
  background: var(--color-navy); border-radius: var(--radius-2xl);
  padding: var(--space-6); color: #fff;
  box-shadow: 0 20px 60px rgba(11,29,58,0.25), 0 0 40px rgba(92,247,187,0.08);
  border: 1px solid rgba(92,247,187,0.2);
}

.calculator-panel {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); padding: var(--space-6);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.calc-panel-title {
  display: flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  color: var(--color-text); margin-bottom: var(--space-6);
}
.calc-panel-title i { color: var(--color-primary); }

.calc-results-compact {
  display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6);
  padding-top: var(--space-5); border-top: 1px solid var(--color-border);
  position: relative;
}
.calc-results-compact::before {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), transparent, var(--color-primary));
  opacity: 0; z-index: -1; animation: calcGlow 4s ease-in-out infinite;
}
@keyframes calcGlow { 0%,100% { opacity: 0; } 50% { opacity: 0.15; } }
.calc-result-row {
  display: flex; justify-content: space-between; align-items: center;
}
.calc-result-row .calc-result-label {
  font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.08em;
}
.calc-result-row .calc-result-value {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-primary);
}
.calc-result-row .calc-result-value.small { font-size: var(--text-base); color: var(--color-text); }
.calc-result-row.highlight {
  background: var(--color-accent-glow); margin-inline: calc(var(--space-6) * -1);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-md);
}
.calc-result-row.highlight .calc-result-value { font-size: var(--text-xl); }

@media (max-width:768px) {
  .dash-calc-grid { grid-template-columns: 1fr; }
}
.dashboard-mock-header {
  display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6);
}
.dashboard-mock-dots { display: flex; gap: var(--space-2); }
.dashboard-mock-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dashboard-mock-dots span:nth-child(1) { background: #FF5F57; }
.dashboard-mock-dots span:nth-child(2) { background: #FEBC2E; }
.dashboard-mock-dots span:nth-child(3) { background: #28C840; }
.dashboard-mock-title {
  font-family: var(--font-display); font-size: var(--text-sm); font-weight: 600;
  color: rgba(255,255,255,0.5); margin-left: var(--space-4);
}

/* KPI cards */
.dashboard-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-4); margin-bottom: var(--space-6); }
.dashboard-kpi {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); padding: var(--space-5);
}
.dashboard-kpi-label { font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-bottom: var(--space-2); }
.dashboard-kpi-value {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--color-mint);
}

/* Bar chart */
.dashboard-chart { margin-bottom: var(--space-6); }
.dashboard-chart-title {
  font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-bottom: var(--space-4);
}
.dashboard-chart-bars { display: flex; flex-direction: column; gap: var(--space-3); }
.dashboard-bar-row { display: flex; align-items: center; gap: var(--space-3); }
.dashboard-bar-label { font-size: var(--text-xs); color: rgba(255,255,255,0.6); min-width: 100px; }
.dashboard-bar-track { flex: 1; height: 24px; background: rgba(255,255,255,0.06); border-radius: var(--radius-sm); overflow: hidden; }
.dashboard-bar-fill {
  height: 100%; border-radius: var(--radius-sm);
  transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
  width: 0;
}
.dashboard-bar-fill.bar-current { background: var(--color-mint); }
.dashboard-bar-fill.bar-previous { background: rgba(255,255,255,0.15); }
.dashboard-bar-fill.animated-bar { /* width set by data-width attribute via JS */ }

/* Activity feed */
.dashboard-activity { }
.dashboard-activity-title { font-size: var(--text-xs); color: rgba(255,255,255,0.5); margin-bottom: var(--space-3); }
.dashboard-activity-list { display: flex; flex-direction: column; gap: var(--space-2); }
.dashboard-activity-item {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04); font-size: var(--text-xs);
}
.activity-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.activity-dot.green { background: #22C55E; }
.activity-dot.blue { background: #3B82F6; }
.activity-dot.gold { background: #F59E0B; }
.activity-name { color: rgba(255,255,255,0.9); font-weight: 600; }
.activity-desc { color: rgba(255,255,255,0.5); }
.activity-meta { color: rgba(255,255,255,0.3); margin-left: auto; white-space: nowrap; }

@media (max-width:640px) {
  .dashboard-kpis { grid-template-columns: 1fr; }
  .dashboard-mock { padding: var(--space-5); }
  .dashboard-bar-label { min-width: 80px; }
}


.calculator-inputs {
  display: flex; flex-direction: column; gap: var(--space-6);
  min-width: 0; max-width: 100%;
}
.calc-group { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; max-width: 100%; }
.calc-label {
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text);
}
.calc-label-value { font-weight: 700; color: var(--color-primary); font-size: var(--text-base); }

/* Custom slider */
.calc-slider {
  -webkit-appearance: none; appearance: none; width: 100%; max-width: 100%; height: 6px;
  border-radius: var(--radius-full); background: var(--color-border); outline: none;
  cursor: pointer; display: block;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px;
  border-radius: 50%; background: var(--color-primary); cursor: pointer;
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(19,19,56,0.3);
  transition: transform 0.15s ease;
}
.calc-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.calc-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--color-primary);
  cursor: pointer; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(19,19,56,0.3);
}



/* ============================================================
   10. TRUST & AUTHORITY
   ============================================================ */
.trust-section { background: var(--color-bg); }
.trust-section .section-title { text-align: center; }
.trust-section .section-subtitle { text-align: center; margin-inline: auto; margin-bottom: var(--space-10); }

.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); }
.trust-card {
  text-align: center; padding: var(--space-8); background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-xl);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.trust-card:hover .trust-card-icon { transform: scale(1.1); }
.trust-card-icon { transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); }
.trust-card-icon {
  width: 56px; height: 56px; margin: 0 auto var(--space-4);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); background: var(--color-accent-glow); border-radius: var(--radius-lg);
}
.trust-card h3 {
  font-family: var(--font-display); font-size: var(--text-base); font-weight: 600;
  color: var(--color-text); margin-bottom: var(--space-2);
}
.trust-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin-inline: auto; }

@media (max-width:640px) { .trust-grid { grid-template-columns: 1fr; } }


/* ============================================================
   FOUNDER / TEAM
   ============================================================ */
.founders-section { background: var(--color-surface); }
.founders-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8);
  max-width: 900px; margin-inline: auto; margin-top: var(--space-10);
}
.founder-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl); padding: var(--space-8); text-align: center;
  transition: all 0.3s ease; position: relative;
}
.founder-card::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60px; height: 3px; background: var(--color-primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.founder-avatar-wrap { display: flex; justify-content: center; margin-bottom: var(--space-5); }
.founder-avatar {
  width: 88px; height: 88px; border-radius: 50%;
  background: var(--color-navy); color: #fff;
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--color-primary); letter-spacing: 0.05em;
}
.founder-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text); margin-bottom: var(--space-1); }
.founder-role { font-size: var(--text-sm); color: var(--color-primary); font-weight: 600; margin-bottom: var(--space-3); }
.founder-bio { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--space-5); }
.founder-stats { display: flex; justify-content: center; gap: var(--space-6); }
.founder-stat { text-align: center; }
.founder-stat-value {
  display: block; font-family: var(--font-display); font-size: var(--text-lg);
  font-weight: 800; color: var(--color-primary);
}
.founder-stat-label { font-size: var(--text-xs); color: var(--color-text-muted); }
.founders-tagline {
  text-align: center; font-size: var(--text-base); color: var(--color-text-muted);
  max-width: 700px; margin: var(--space-8) auto 0; line-height: 1.7;
}
.founders-tagline strong { color: var(--color-text); }
@media (max-width:768px) {
  .founders-grid { grid-template-columns: 1fr; max-width: 420px; }
  .founder-card { padding: var(--space-6); }
}

/* ============================================================
   11. TECH GRID
   ============================================================ */
.tech-section { background: var(--color-surface-2); }
.tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-6); margin-top: var(--space-12); }
.tech-card {
  padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.tech-card:hover .tech-icon { transform: scale(1.1); }
.tech-icon { transition: transform 0.25s cubic-bezier(0.16,1,0.3,1); }
.tech-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  color: var(--color-primary); margin-bottom: var(--space-4);
}
.tech-card h3 {
  font-family: var(--font-display); font-size: var(--text-base); font-weight: 600;
  color: var(--color-text); margin-bottom: var(--space-2);
}
.tech-card p { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; }

@media (max-width:1024px) { .tech-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width:640px) { .tech-grid { grid-template-columns: 1fr; } }


/* ============================================================
   12. INTEGRATION BADGES
   ============================================================ */
.badges-section { padding-block: var(--space-12); text-align: center; }
.badges-title {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--color-text); margin-bottom: var(--space-2);
}
.badges-subtitle { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-8); }
.badges-row { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.badge-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  background: var(--color-navy); color: #fff; font-size: var(--text-xs); font-weight: 600;
}


/* ============================================================
   13. AUDIENCE — Two cards on dark bg
   ============================================================ */
.audience-section {
  background: var(--color-navy);
  padding-block: clamp(var(--space-12), 8vw, var(--space-24));
}
.audience-section .section-label { color: var(--color-primary); }
.audience-section .section-label::before { background: var(--color-primary); }
.audience-section .section-title { color: #fff; }

.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.audience-card {
  background: var(--color-surface); border-radius: var(--radius-xl); padding: var(--space-8);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.audience-card h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  color: var(--color-text); margin-bottom: var(--space-3);
}
.audience-card > p {
  font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6;
  margin-bottom: var(--space-6);
}
.audience-card ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.audience-card li {
  font-size: var(--text-sm); color: var(--color-text);
  padding-bottom: var(--space-3); border-bottom: 2px solid var(--color-accent-glow);
}

@media (max-width:768px) { .audience-grid { grid-template-columns: 1fr; } }


/* ============================================================
   14. FAQ ACCORDION
   ============================================================ */
.faq-section { background: var(--color-bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.faq-column { display: flex; flex-direction: column; gap: var(--space-4); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-item summary {
  padding: var(--space-5) var(--space-6); font-family: var(--font-display); font-weight: 600;
  font-size: var(--text-sm); color: var(--color-text); cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition-interactive);
}
.faq-item summary:hover { background: var(--color-surface-2); }
.faq-item summary::after {
  content: ''; width: 20px; height: 20px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23131338' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] { animation: faqBounce 0.3s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes faqBounce { 0% { transform: scale(1); } 40% { transform: scale(1.01); } 100% { transform: scale(1); } }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-answer {
  padding: 0 var(--space-6) var(--space-6); font-size: var(--text-sm);
  color: var(--color-text-muted); line-height: 1.7;
}

@media (max-width:768px) { .faq-grid { grid-template-columns: 1fr; } }


/* ============================================================
   15. FINAL CTA
   ============================================================ */
.cta-section { background: #131338; text-align: center; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(92,247,187,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 2; }
.cta-section .section-title { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-section .section-title em {
  background: linear-gradient(135deg, var(--color-mint), #3ADBA8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 16px rgba(92,247,187,0.4));
}
.cta-section .section-label::before {
  background: var(--color-mint);
  box-shadow: 0 0 8px rgba(92,247,187,0.5);
}
.cta-section .section-subtitle {
  color: rgba(255,255,255,0.65); max-width: 50ch; margin-inline: auto; margin-bottom: var(--space-8);
}
.cta-actions { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-8); }
.cta-section .btn-secondary { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.cta-section .btn-secondary:hover { border-color: rgba(92,247,187,0.4); color: #5CF7BB; background: rgba(92,247,187,0.05); }

.cta-trust { display: flex; justify-content: center; gap: var(--space-8); flex-wrap: wrap; }
.cta-trust-item {
  display: flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); color: rgba(255,255,255,0.5);
}
.cta-trust-item i { color: #5CF7BB; }


/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.floating-review {
  position: fixed; bottom: var(--space-6); left: var(--space-6); z-index: 90;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: var(--space-3);
  animation: slideUp 0.5s cubic-bezier(0.16,1,0.3,1) 2s both;
}
.floating-review-stars { display: flex; gap: 1px; }
.floating-review-stars i { color: #F59E0B; }
.floating-review-text { font-size: var(--text-xs); color: var(--color-text-muted); }
.floating-review-text strong { color: var(--color-text); }
.floating-review-close {
  width: 20px; height: 20px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--color-text-faint); cursor: pointer; margin-left: var(--space-2);
}

.floating-cta {
  position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: 90;
  background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5); box-shadow: var(--shadow-lg);
  font-size: var(--text-xs); color: var(--color-text-muted); text-decoration: none;
  display: flex; align-items: center; gap: var(--space-3); line-height: 1.3;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
  animation: slideUp 0.5s cubic-bezier(0.16,1,0.3,1) 3s both;
}
.floating-cta strong { color: #131338; display: block; font-weight: 700; }
.floating-cta:hover { border-color: var(--color-mint); box-shadow: 0 4px 20px var(--color-mint-glow); }

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width:768px) {
  .floating-review { display: none; }
  .floating-cta { bottom: var(--space-4); right: var(--space-4); }
}


/* ============================================================
   FOOTER
   ============================================================ */
/* Footer gradient top border */
.site-footer {
  background: #131338; color: rgba(255,255,255,0.6); padding: var(--space-16) 0 var(--space-8);
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--color-mint), #1a1a4a, var(--color-mint)) 1;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8);
  margin-bottom: var(--space-12);
}
.footer-logo { margin-bottom: var(--space-4); }
.footer-logo img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-desc { font-size: var(--text-sm); margin-top: var(--space-4); max-width: 30ch; line-height: 1.6; }
.footer-col h4 {
  color: #fff; font-family: var(--font-display); font-size: var(--text-sm);
  font-weight: 600; margin-bottom: var(--space-4);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a {
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}
.footer-col a:hover { color: var(--color-mint); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,0.1);
  font-size: var(--text-xs); flex-wrap: wrap; gap: var(--space-4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--color-mint); }

@media (max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:480px) { .footer-grid { grid-template-columns: 1fr; } }


/* ============================================================
   SCROLL ANIMATIONS — Reveal System
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Stagger children */
.reveal-stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 560ms; }

/* Slide from left */
.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion:reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-stagger > * {
    opacity: 1; transform: none; transition: none;
  }
}


/* ============================================================
   SCRIBBLE UNDERLINES & BACKGROUND SHAPES
   ============================================================ */


/* ============================================================
   PATIENT FLOW ENGINE
   ============================================================ */
.flow-engine-section {
  background: #131338;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  overflow: hidden;
  position: relative;
}

.flow-engine-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 30%, rgba(92,247,187,0.04), transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(92,247,187,0.02), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.flow-engine-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.flow-engine-section > .container {
  position: relative;
  z-index: 1;
}
.flow-engine-section .section-label {
  color: var(--color-mint);
}
.flow-engine-section .section-label::before {
  background: var(--color-mint);
  box-shadow: 0 0 8px rgba(92,247,187,0.5);
}
.flow-engine-section .section-title {
  color: #fff;
}
.flow-engine-section .section-title em {
  background: linear-gradient(135deg, var(--color-mint), #3ADBA8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 16px rgba(92,247,187,0.4));
}
.flow-engine-section .section-subtitle {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
}

/* ---- System Architecture Diagram ---- */
.system-arch {
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 800px;
  margin-inline: auto;
}

.system-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  width: 100%;
}

.system-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.system-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.system-card-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(92,247,187,0.08);
  color: #5CF7BB;
}

.system-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm); font-weight: 700; color: #fff;
  margin-bottom: 4px;
}
.system-card-body p {
  font-size: var(--text-xs); color: rgba(255,255,255,0.5); line-height: 1.55;
}

.system-card-stat {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.06);
  font-family: var(--font-display);
  font-size: var(--text-sm); font-weight: 700;
  color: rgba(255,255,255,0.7);
}
.system-card-stat span {
  font-family: var(--font-body);
  font-size: 11px; font-weight: 400;
  color: rgba(255,255,255,0.35); margin-left: 4px;
}
.system-card-stat--accent {
  color: #5CF7BB;
}
.system-card-stat--accent span {
  color: rgba(92,247,187,0.45);
}

/* Revenue card — featured */
.system-card--revenue {
  border-color: rgba(92,247,187,0.15);
  background: rgba(92,247,187,0.04);
  box-shadow: 0 4px 32px rgba(92,247,187,0.06);
}

/* Converge/diverge arrow rows */
.system-converge {
  display: flex;
  justify-content: center;
  gap: calc(50% - 120px);
  width: 100%;
  padding: 4px 0;
}
.system-arrow {
  width: 60px; height: 32px;
}

/* Central Hub */
.system-hub {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: var(--space-2) 0;
}
.system-hub-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 400px; height: 200px;
  background: radial-gradient(ellipse, rgba(92,247,187,0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.system-hub-card {
  position: relative;
  background: rgba(92,247,187,0.04);
  border: 1px solid rgba(92,247,187,0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-6) var(--space-8);
  text-align: center;
  max-width: 480px;
  width: 100%;
  backdrop-filter: blur(16px);
  box-shadow:
    0 0 40px rgba(92,247,187,0.06),
    0 0 0 1px rgba(92,247,187,0.05);
}
.system-hub-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: var(--radius-full);
  background: rgba(92,247,187,0.08); border: 1px solid rgba(92,247,187,0.12);
  font-size: 10px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; color: rgba(92,247,187,0.7);
  margin-bottom: var(--space-4);
}
.system-hub-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #5CF7BB;
  box-shadow: 0 0 6px rgba(92,247,187,0.6);
  animation: dotPulse 2s ease-in-out infinite;
}
.system-hub-icon {
  margin-bottom: var(--space-3);
}
.system-hub-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 800; color: #fff;
  margin-bottom: var(--space-2);
}
.system-hub-card p {
  font-size: var(--text-xs); color: rgba(255,255,255,0.5);
  line-height: 1.6; max-width: 38ch; margin-inline: auto;
  margin-bottom: var(--space-5);
}
.system-hub-stats {
  display: flex; align-items: center; justify-content: center;
  gap: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.system-hub-stat { text-align: center; }
.system-hub-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 800;
  color: #5CF7BB;
  letter-spacing: -0.02em;
  line-height: 1;
}
.system-hub-stat-label {
  display: block;
  font-size: 10px; font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.system-hub-stat-divider {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.08);
}

/* Mobile */
@media (max-width: 768px) {
  .system-row {
    grid-template-columns: 1fr;
  }
  .system-hub-card {
    padding: var(--space-5) var(--space-5);
  }
  .system-converge {
    gap: 0;
    justify-content: center;
  }
  .system-arrow--right {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .flow-stage {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .flow-connector .flow-line {
    width: 100%;
    transition: none;
  }
  .flow-particle {
    display: none;
  }
  .flow-patient-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   ENHANCED CALCULATOR RESULTS
   ============================================================ */
.calc-results-enhanced {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  position: relative;
}
.calc-results-enhanced::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), transparent, var(--color-primary));
  opacity: 0;
  z-index: -1;
  animation: calcGlow 4s ease-in-out infinite;
}

.calc-results-enhanced .calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.calc-results-enhanced .calc-result-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.calc-results-enhanced .calc-result-value {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
}
.calc-results-enhanced .calc-result-value.small {
  font-size: var(--text-base);
  color: var(--color-text);
}

.calc-revenue-hero {
  background: var(--color-accent-glow);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-5);
}
.calc-revenue-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.calc-revenue-amount {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.1;
  transition: transform 0.15s ease;
}
.calc-revenue-amount.pulse {
  animation: revenuePulse 0.3s ease;
}
@keyframes revenuePulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.calc-revenue-annual {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  line-height: 1.5;
}
.calc-revenue-annual strong {
  color: var(--color-primary);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .calc-revenue-amount.pulse {
    animation: none;
  }
}


/* ============================================================
   WHY THE DAE MODEL WORKS
   ============================================================ */
.model-section { background: var(--color-surface); }

.model-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
}

.model-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.model-point {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.model-point:hover {
  border-color: rgba(19,19,56,0.2);
  box-shadow: 0 4px 16px rgba(19,19,56,0.06);
}

.model-point-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  background: var(--color-accent-glow);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.model-point h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.model-point p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .model-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}


/* ============================================================
   FOUNDING CLINICS PROGRAM
   ============================================================ */
.founding-section {
  background: #131338;
  position: relative;
  overflow: hidden;
}

.founding-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(92,247,187,0.04), transparent 70%),
    radial-gradient(ellipse 50% 40% at 30% 60%, rgba(92,247,187,0.02), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.founding-section::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.founding-section > .container {
  position: relative;
  z-index: 1;
}

.founding-content {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.founding-desc {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 56ch;
  margin-inline: auto;
  margin-top: var(--space-4);
}

.founding-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
  text-align: left;
}

.founding-benefit {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
}

.founding-benefit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5CF7BB;
  background: rgba(92,247,187,0.1);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.founding-benefit h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-1);
}

.founding-benefit p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.founding-cta {
  margin-top: var(--space-12);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.founding-cta-note {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-3);
  text-align: center;
}


/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.solution-section {
  padding: var(--space-20) 0;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.solution-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./assets/pattern-dots.jpg') repeat center / 600px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.solution-section > .container {
  position: relative;
  z-index: 1;
}

.solution-content {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.solution-content .section-subtitle {
  margin-inline: auto;
}

.solution-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.solution-pillar {
  text-align: center;
  padding: var(--space-8) var(--space-6);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(11,29,58,0.08);
}

.solution-pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(19,19,56,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-primary);
}

.solution-pillar-icon svg {
  width: 24px;
  height: 24px;
}

.solution-pillar h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.solution-pillar p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .solution-pillars {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .solution-pillar {
    padding: var(--space-6) var(--space-5);
  }
}


/* ============================================================
   CREDIBILITY SECTION (Built for Implant Clinics)
   ============================================================ */
.credibility-section {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.credibility-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('./assets/pattern-dots.jpg') repeat center / 600px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.credibility-section > .container {
  position: relative;
  z-index: 1;
}

.credibility-section .section-subtitle {
  text-align: center;
  margin-inline: auto;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.credibility-card {
  text-align: center;
  padding: var(--space-8) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credibility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(11,29,58,0.08);
}

.credibility-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(19,19,56,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: var(--color-primary);
}

.credibility-card-icon svg {
  width: 24px;
  height: 24px;
}

.credibility-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: var(--space-2);
}

.credibility-card p {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .credibility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .credibility-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* Override section-title em gradient for dark bg */
.founding-section .section-label::before {
  background: var(--color-mint);
  box-shadow: 0 0 8px rgba(92,247,187,0.5);
}
.founding-section .section-title em {
  background: linear-gradient(135deg, var(--color-mint), #3ADBA8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 16px rgba(92,247,187,0.4));
}

@media (max-width: 768px) {
  .founding-benefits { grid-template-columns: 1fr; }
}

