/* ══════════════════════════════════════════════════════════════
   EVALORA — WEBSITE DESIGN SYSTEM 2026
   Theme: Evalora teal + deep navy · Glassmorphism · Modern
   ══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand — Evalora palette from React app */
  --teal:       #03b8a2;
  --teal-dk:    #029c89;
  --teal-lt:    #e6f8f6;
  --teal-glow:  rgba(3, 184, 162, 0.28);

  /* Navy / Dark surfaces */
  --nav:        #2f4056;
  --nav-dk:     #1f2a3a;
  --nav-mid:    #425a7a;

  /* Light surfaces */
  --ink:        #1c2633;
  --body:       #4a5b70;
  --muted:      #8a99af;
  --border:     #e2e8f0;
  --bg:         #f4f6f8;
  --surface:    #ffffff;

  /* Semantic */
  --success:    #10b981;
  --warning:    #f59e0b;
  --danger:     #f43f5e;

  /* Typography */
  --font: 'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --text-xs:   clamp(0.72rem,  0.68rem + 0.2vw,  0.85rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.22vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.5vw,  1.375rem);
  --text-xl:   clamp(1.25rem,  1.1rem  + 0.7vw,  1.75rem);
  --text-2xl:  clamp(1.5rem,   1.2rem  + 1.5vw,  2.5rem);
  --text-3xl:  clamp(2rem,     1.5rem  + 2.5vw,  3.5rem);
  --text-hero: clamp(2.4rem,   1.8rem  + 3.5vw,  4.8rem);

  /* Spacing */
  --section:   clamp(5rem, 4rem + 5vw, 8rem);

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-full: 9999px;

  /* Shadows */
  --sh-sm:    0 1px 3px rgba(28,38,51,.06), 0 1px 2px rgba(28,38,51,.04);
  --sh-md:    0 4px 12px rgba(28,38,51,.08), 0 2px 4px rgba(28,38,51,.04);
  --sh-lg:    0 10px 28px rgba(28,38,51,.09), 0 4px 8px rgba(28,38,51,.05);
  --sh-xl:    0 20px 50px rgba(28,38,51,.11), 0 8px 16px rgba(28,38,51,.06);
  --sh-teal:  0 8px 32px var(--teal-glow);
  --sh-inset: inset 0 1px 0 rgba(255,255,255,0.9);

  /* Easing */
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 260ms;
}


/* ── 1b. SKIP LINK (accessibility + SEO) ───────────────────── */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: var(--text-sm);
  font-weight: 700;
  z-index: 10001;
  transition: top 0.2s var(--ease-smooth);
  text-decoration: none;
}
.skip-link:focus { top: 0; outline: 3px solid var(--teal-dk); outline-offset: 2px; }


/* ── 2. RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
}


/* ── 3. LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

.section {
  padding-block: var(--section);
}
.bg-alt {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Soft teal-tinted light background — makes white cards lift off the surface */
.section-soft {
  background: linear-gradient(160deg, #d4f0ec 0%, #e2f5f2 40%, #d8edf5 100%);
  border-top: 1px solid rgba(3,184,162,.14);
  border-bottom: 1px solid rgba(3,184,162,.14);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 3vw, 4rem);
}
.section-head h2 {
  font-size: var(--text-3xl);
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}
/* Gradient underline accent on section headings */
.section-head h2::after {
  content: '';
  display: block;
  height: 4px;
  width: 56px;
  background: linear-gradient(90deg, var(--teal), rgba(3,184,162,0));
  border-radius: 2px;
  margin: 14px auto 0;
}
.section-sub {
  font-size: var(--text-base);
  color: var(--body);
  line-height: 1.65;
}

.section-callout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--teal);
}
.section-footer { /* alias */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--teal);
}


/* ── 4. SCROLL PROGRESS ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dk));
  z-index: 9999;
  transition: width 100ms linear;
}


/* ── 5. NAVIGATION ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  padding-block: 18px;
  transition:
    background var(--dur) var(--ease-smooth),
    box-shadow  var(--dur) var(--ease-smooth),
    padding     var(--dur) var(--ease-smooth),
    border-color var(--dur) var(--ease-smooth);
}

/* Transparent on hero */
.site-nav {
  background: transparent;
  border-bottom: 1px solid transparent;
}

/* Glass effect after scrolling */
.site-nav.scrolled {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.88);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: var(--sh-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand { display: flex; align-items: center; }
.nav-logo {
  height: clamp(28px, 3vw, 36px);
  width: auto;
  transition: transform var(--dur) var(--ease-smooth), opacity var(--dur) var(--ease-smooth);
}
.nav-logo:hover { transform: scale(1.04); }
.nav-logo--color { display: none; }
.site-nav.scrolled .nav-logo--white { display: none; }
.site-nav.scrolled .nav-logo--color { display: block; }

/* Desktop nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-smooth), background var(--dur) var(--ease-smooth);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.site-nav.scrolled .nav-link {
  color: var(--body);
}
.site-nav.scrolled .nav-link:hover,
.site-nav.scrolled .nav-link.active {
  color: var(--teal);
  background: var(--teal-lt);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease-smooth);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.hamburger:hover { background: rgba(255,255,255,.12); }
.site-nav.scrolled .hamburger:hover { background: rgba(0,0,0,0.06); }

.ham-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease, width 0.2s ease;
  pointer-events: none;
}
.ham-bar:nth-child(3) { width: 15px; }
.site-nav.scrolled .ham-bar { background: var(--ink); }

.hamburger[aria-expanded="true"] .ham-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .ham-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 22px; }

/* Nav overlay — injected by JS */
.nav-overlay {
  display: none;
}

/* Mobile nav */
@media (max-width: 767px) {
  .hamburger { display: flex; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 15, 26, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 76%;
    max-width: 300px;
    background: linear-gradient(160deg, #131c2b 0%, #1b2a3e 55%, #22344d 100%);
    box-shadow: -12px 0 50px rgba(0,0,0,0.5), inset 1px 0 0 rgba(255,255,255,0.05);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 32px 20px 40px;
    gap: 0;
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease, visibility 0.32s;
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  /* Close button inside panel */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
  }
  .nav-close:hover { background: rgba(255,255,255,0.14); }
  .nav-close svg { width: 18px; height: 18px; stroke: rgba(255,255,255,0.7); stroke-width: 2; fill: none; stroke-linecap: round; }

  .nav-links {
    flex-direction: column;
    gap: 2px;
    width: 100%;
    margin-bottom: 28px;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    padding: 13px 14px;
    border-radius: 10px;
    display: block;
    width: 100%;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s, background 0.15s;
    border-left: 2px solid transparent;
  }
  .nav-link:hover,
  .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.07);
    border-left-color: var(--teal);
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}


/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--r-full);
  padding: 11px 26px;
  min-height: 46px;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform  var(--dur) var(--ease-bounce),
    box-shadow var(--dur) var(--ease-smooth),
    background var(--dur) var(--ease-smooth),
    border-color var(--dur) var(--ease-smooth),
    color var(--dur) var(--ease-smooth);
}
.btn-lg { padding: 14px 32px; min-height: 52px; font-size: var(--text-base); }
.btn-sm { padding: 8px 18px; min-height: 36px; font-size: var(--text-xs); }
.btn-full { width: 100%; }

.btn:disabled { opacity: 0.6; cursor: not-allowed; pointer-events: none; }

/* Primary — teal */
.btn-primary {
  background: var(--teal);
  border: 1.5px solid var(--teal);
  color: #fff;
  box-shadow: var(--sh-teal);
}
.btn-primary:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px var(--teal-glow);
}

/* Outline — dark border on light bg */
.btn-outline {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

/* Ghost on dark backgrounds */
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-3px);
}

/* Nav CTA always looks primary */
.nav-cta {
  background: var(--teal);
  border: 1.5px solid var(--teal);
  color: #fff !important;
  box-shadow: var(--sh-teal);
}
.nav-cta:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  transform: translateY(-2px);
}


/* ── 7. AURORA LAYER ────────────────────────────────────────── */
.aurora-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: clamp(300px, 40vw, 600px);
  height: clamp(300px, 40vw, 600px);
  background: radial-gradient(circle, rgba(3,184,162,.35) 0%, transparent 70%);
  top: -20%;
  right: -10%;
  animation: drift1 24s ease-in-out infinite;
}
.orb-2 {
  width: clamp(250px, 30vw, 500px);
  height: clamp(250px, 30vw, 500px);
  background: radial-gradient(circle, rgba(47,64,86,.6) 0%, transparent 70%);
  bottom: -15%;
  left: -5%;
  animation: drift2 20s ease-in-out infinite;
}
.orb-3 {
  width: clamp(200px, 25vw, 400px);
  height: clamp(200px, 25vw, 400px);
  background: radial-gradient(circle, rgba(3,184,162,.2) 0%, transparent 70%);
  top: 40%;
  left: 20%;
  animation: drift3 28s ease-in-out infinite;
}
.orb-4 {
  width: clamp(150px, 20vw, 300px);
  height: clamp(150px, 20vw, 300px);
  background: radial-gradient(circle, rgba(66,90,122,.45) 0%, transparent 70%);
  top: 10%;
  left: 60%;
  animation: drift4 18s ease-in-out infinite;
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -60px) scale(1.08); }
  66% { transform: translate(-30px, 40px) scale(0.92); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  40% { transform: translate(50px, 30px) scale(1.12); }
  70% { transform: translate(-20px, -40px) scale(0.95); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-40px, 50px) scale(0.88); }
  70% { transform: translate(60px, -30px) scale(1.1); }
}
@keyframes drift4 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 60px) scale(1.15); }
}


/* ── 8. HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;    /* fallback for older browsers */
  min-height: 100svh;  /* small viewport height — avoids mobile toolbar overlap */
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 12vw, 160px);
  padding-bottom: clamp(64px, 8vw, 100px);
  background: linear-gradient(148deg,
    #1c2633  0%,
    #2f4056 45%,
    #1a3545 75%,
    #0d2030 100%
  );
  overflow: hidden;
}

.hero .container { position: relative; z-index: 1; }

/* 2-col layout */
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

/* ── Hero copy ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: rgba(3, 184, 162, 0.12);
  border: 1px solid rgba(3, 184, 162, 0.22);
  border-radius: var(--r-full);
  padding: 6px 16px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 22px;
}
.title-teal {
  color: var(--teal);
  text-shadow: 0 0 40px rgba(3,184,162,.4);
}

.hero-subtitle {
  font-size: var(--text-lg);
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}

.hero-body {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 0;
}

.hero-hook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: var(--text-sm);
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.hero-hook svg { flex-shrink: 0; color: var(--teal); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  transition: background var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.trust-chip:hover {
  background: rgba(3,184,162,.12);
  border-color: rgba(3,184,162,.25);
  color: var(--teal);
}

/* ── Hero visual / glass cards ── */
.hero-visual {
  display: grid;
  grid-template-areas:
    "score"
    "insight"
    "float";
  gap: 14px;
}

@media (min-width: 600px) {
  .hero-visual {
    grid-template-areas:
      "score  score"
      "insight float";
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .hero-visual {
    grid-template-areas:
      "score insight"
      "score float";
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto auto;
  }
}

/* Shared glass card */
.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xl);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.08);
}

.score-card {
  grid-area: score;
  padding: 28px 24px;
  box-shadow: var(--sh-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 900px) {
  .score-card { align-self: stretch; justify-content: center; }
}

/* Score ring */
.score-ring {
  width: clamp(160px, 18vw, 215px);
  height: clamp(160px, 18vw, 215px);
  border-radius: 50%;
  background: conic-gradient(
    from 220deg,
    var(--danger)  0   18%,
    var(--warning) 18% 50%,
    var(--success) 50% 100%
  );
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255,255,255,.5), var(--sh-lg);
  margin-bottom: 20px;
  position: relative;
}
.score-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 30px rgba(3,184,162,.2);
  animation: ring-glow 3s ease-in-out infinite;
}

@keyframes ring-glow {
  0%, 100% { box-shadow: 0 0 30px rgba(3,184,162,.15); }
  50%       { box-shadow: 0 0 50px rgba(3,184,162,.35); }
}

.score-inner {
  width: 72%;
  height: 72%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: radial-gradient(circle at 35% 30%, #fff, #f8fafc);
  box-shadow: inset 0 2px 8px rgba(0,0,0,.06);
}

.ring-logo {
  height: 18px;
  width: auto;
  margin-bottom: 4px;
  opacity: 0.5;
}

.ring-num {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.05em;
}

.ring-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* Legend */
.score-legend {
  display: grid;
  gap: 8px;
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--body);
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-danger  { background: var(--danger); }
.dot-warning { background: var(--warning); }
.dot-success { background: var(--success); }

/* Insight card */
.insight-card {
  grid-area: insight;
  padding: 20px;
  box-shadow: var(--sh-lg);
}

.mini-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 8px;
}

.insight-card h3 {
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: 12px;
}

.check-list {
  display: grid;
  gap: 8px;
}
.check-list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--body);
  line-height: 1.45;
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* Float card */
.float-card {
  grid-area: float;
  padding: 18px 20px;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.float-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--success));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

.float-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-bottom: 10px;
  box-shadow: 0 0 8px rgba(16,185,129,.6);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(16,185,129,.6); }
  50%       { opacity: 0.6; box-shadow: 0 0 16px rgba(16,185,129,.9); }
}

.float-card strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}
.float-card p {
  font-size: var(--text-xs);
  color: var(--body);
  line-height: 1.5;
  margin: 0;
}


/* ── 9. CARDS GRID (problem / audience) ─────────────────────── */
.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-md), var(--sh-inset);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), var(--sh-inset);
  border-color: rgba(3,184,162,.18);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-bounce);
}
.card:hover .card-icon { transform: scale(1.1) rotate(6deg); }

.icon-danger { background: rgba(244,63,94,.08); color: var(--danger); }
.icon-teal   { background: rgba(3,184,162,.09); color: var(--teal); }

.problem-card p {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}


/* ── 10. TIMELINE / HOW IT WORKS ────────────────────────────── */
.timeline-intro {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 40px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), var(--sh-inset);
}

.tl-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 10px;
}

.timeline-intro h3 {
  font-size: var(--text-2xl);
  margin-bottom: 12px;
}
.timeline-intro > p {
  font-size: var(--text-base);
  color: var(--body);
}

.tl-highlight {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(3,184,162,.05);
  border: 1px solid rgba(3,184,162,.14);
  border-radius: var(--r-md);
}
.tl-highlight svg { flex-shrink: 0; margin-top: 2px; }
.tl-highlight strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.tl-highlight span {
  font-size: var(--text-sm);
  color: var(--body);
}

/* Steps grid — exactly 3 columns so row 2 (steps 4-6) always fills evenly */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 24px 24px;
  box-shadow: var(--sh-md), var(--sh-inset);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
/* Teal left-edge accent bar */
.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--teal) 0%, transparent 100%);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
/* Large step-number watermark */
.step-card::after {
  content: attr(data-step);
  position: absolute;
  top: -10px; right: 12px;
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal);
  opacity: 0.045;
  pointer-events: none;
  letter-spacing: -0.04em;
  transition: opacity var(--dur) var(--ease-smooth);
}
.step-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.15), 0 8px 32px var(--teal-glow);
  border-color: rgba(3,184,162,.25);
}
.step-card:hover::before { opacity: 1; }
.step-card:hover::after  { opacity: 0.08; }

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-num-badge {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.step-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--teal-lt);
  color: var(--teal);
  margin-bottom: 14px;
  transition: transform var(--dur) var(--ease-bounce);
}
.step-card:hover .step-icon { transform: scale(1.1) rotate(-5deg); }

.step-card h4 {
  font-size: var(--text-base);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.step-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.55;
}


/* ── 11. FEATURES ───────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 18px;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-wide  { grid-column: span 1; }
}
@media (max-width: 580px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-wide {
  grid-column: span 1;
}

@media (min-width: 901px) {
  .feature-wide {
    grid-column: span 1;
  }
  /* Make last 2 cards span wider in a 3-col then 2-col pattern */
  .features-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .feature-card:nth-child(1),
  .feature-card:nth-child(2),
  .feature-card:nth-child(3) { grid-column: span 2; }
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) { grid-column: span 3; }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--sh-md), var(--sh-inset);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
/* Top gradient accent bar */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.14), 0 8px 32px var(--teal-glow);
  border-color: rgba(3,184,162,.22);
}
.feature-card:hover::before { opacity: 1; }

.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: transform var(--dur) var(--ease-bounce);
}
.feature-card:hover .feat-icon { transform: scale(1.12) rotate(5deg); }

.fi-1 { background: rgba(3, 184,162,.09);  color: var(--teal);    }
.fi-2 { background: rgba(16,185,129,.08);  color: var(--success); }
.fi-3 { background: rgba(124,58, 237,.07); color: #7c3aed;        }
.fi-4 { background: rgba(245,158, 11,.08); color: var(--warning); }
.fi-5 { background: rgba(3, 184,162,.09);  color: var(--teal);    }

.feature-card h5 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.feature-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.feature-card small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding-top: 12px;
  line-height: 1.5;
}


/* ── 12. STATS ──────────────────────────────────────────────── */
.stats-section {
  position: relative;
  background: var(--nav-dk);
  padding-block: clamp(4rem, 5vw, 6rem);
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item { position: relative; }

.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1;
}

.stat-num {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.stat-sfx {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: var(--teal);
}

.stat-lbl {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  line-height: 1.4;
  max-width: 160px;
  margin-inline: auto;
}


/* ── 13. BEFORE / AFTER ─────────────────────────────────────── */
.compare-row {
  display: flex;
  gap: 24px;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .compare-row { flex-wrap: nowrap; align-items: center; }
}

.compare-card {
  flex: 1;
  min-width: 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--sh-lg), var(--sh-inset);
  transition: transform var(--dur) var(--ease-smooth);
}
.compare-card:hover { transform: translateY(-4px); }

.compare-before { border-left: 5px solid var(--danger); }
.compare-after  {
  border-left: 5px solid var(--success);
  background: linear-gradient(160deg, rgba(16,185,129,.03) 0%, var(--surface) 100%);
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.compare-badge-bad  { color: var(--danger); }
.compare-badge-good { color: var(--success); }

.compare-card blockquote {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
  quotes: none;
}

.compare-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  opacity: 0.7;
  animation: arrow-pulse 2s ease-in-out infinite;
}
@keyframes arrow-pulse {
  0%, 100% { transform: translateX(0);  opacity: 0.6; }
  50%       { transform: translateX(6px); opacity: 1; }
}

.compare-note {
  text-align: center;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--teal);
  margin-top: 8px;
}


/* ── 14. COMPARISON TABLE ───────────────────────────────────── */
.table-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-xl);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}
.compare-table thead tr { border-bottom: 2px solid var(--border); }
.compare-table th {
  padding: 20px 28px;
  font-size: var(--text-base);
  font-weight: 800;
  text-align: left;
}
.col-generic { color: var(--body); background: var(--bg); }
.col-evalora {
  color: var(--teal);
  background: rgba(3,184,162,.04);
  border-left: 2px solid var(--teal);
}

.th-icon { margin-right: 6px; }

.compare-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease-smooth);
}
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg); }

.compare-table td {
  padding: 14px 28px;
  font-size: var(--text-sm);
  color: var(--body);
  vertical-align: middle;
}
.compare-table td:last-child {
  border-left: 2px solid rgba(3,184,162,.15);
  background: rgba(3,184,162,.025);
  font-weight: 700;
  color: var(--ink);
}

.icon-x  { color: var(--danger);  margin-right: 6px; font-weight: 800; }
.icon-ok { color: var(--success); margin-right: 6px; font-weight: 800; }

.compare-footer {
  text-align: center;
  margin-top: 24px;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--body);
}


/* ── 15. AUDIENCE ───────────────────────────────────────────── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

@media (min-width: 900px) {
  .audience-grid { grid-template-columns: repeat(5, 1fr); }
}

.aud-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--sh-md), var(--sh-inset);
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
.aud-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), var(--sh-inset);
  border-color: rgba(3,184,162,.18);
}

.aud-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--teal-lt);
  color: var(--teal);
  margin-bottom: 16px;
  transition: transform var(--dur) var(--ease-bounce);
}
.aud-card:hover .aud-icon { transform: scale(1.12) rotate(6deg); }

.aud-card h6 {
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}
.aud-card p {
  font-size: var(--text-sm);
  color: var(--body);
  line-height: 1.55;
}


/* ── 16. PRICING ────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(5, 1fr); align-items: start; }
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: var(--sh-lg), var(--sh-inset);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.price-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-xl), var(--sh-inset);
}

.price-card h5 {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 8px;
}

.price-amount {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}
.price-amount small {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.price-proposals {
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--teal);
  margin-bottom: 18px;
}

.price-list {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  flex-grow: 1;
}
.price-list li {
  font-size: var(--text-sm);
  color: var(--body);
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.price-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
  font-size: 0.85em;
}

/* Popular tier */
/* Popular card — dark navy background so all text reads clearly */
.price-popular {
  background: linear-gradient(148deg, #1c2633 0%, #2f4056 60%, #1a3545 100%);
  border: 2px solid rgba(3,184,162,.55);
  box-shadow: 0 0 0 1px rgba(3,184,162,.15), var(--sh-xl), 0 12px 48px rgba(3,184,162,.22);
}
.price-popular:hover {
  transform: translateY(-14px);
  box-shadow: 0 0 0 1px rgba(3,184,162,.25), var(--sh-xl), 0 24px 64px rgba(3,184,162,.32);
}

@media (min-width: 900px) {
  .price-popular { transform: translateY(-10px); }
  .price-popular:hover { transform: translateY(-18px); }
}

/* All text inside the dark popular card → white palette */
.price-popular h5         { color: var(--teal); }
.price-popular .price-amount { color: #fff; }
.price-popular .price-amount small { color: rgba(255,255,255,.55); }
.price-popular .price-proposals    { color: var(--teal); }
.price-popular .price-list li      { color: rgba(255,255,255,.85); }
.price-popular .price-list li::before { color: #10b981; }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: linear-gradient(90deg, var(--teal), var(--teal-dk));
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 16px var(--teal-glow);
  animation: badge-glow 2.5s ease-in-out infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 4px 16px var(--teal-glow); }
  50%       { box-shadow: 0 4px 24px rgba(3,184,162,.45); }
}

/* Footer / topups */
.pricing-foot {
  margin-top: 36px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  text-align: center;
}
.pricing-foot p {
  font-size: var(--text-sm);
  color: var(--body);
  margin-bottom: 18px;
}

.topup-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.topup-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--sh-sm);
  transition: all var(--dur) var(--ease-smooth);
}
.topup-chip:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: var(--sh-md);
}
.topup-chip strong { font-weight: 700; }


/* ── 17. TESTIMONIALS ───────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 32px 28px;
  box-shadow: var(--sh-lg), var(--sh-inset);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth), border-color var(--dur) var(--ease-smooth);
}
/* Giant decorative quote mark */
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -14px; right: 20px;
  font-size: 9rem;
  font-weight: 900;
  line-height: 1;
  color: var(--teal);
  opacity: 0.08;
  pointer-events: none;
  font-family: Georgia, serif;
}
.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(3,184,162,.12), 0 8px 32px var(--teal-glow);
  border-color: rgba(3,184,162,.2);
}

.testi-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

.testi-card blockquote {
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--nav));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: var(--text-xs);
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(3,184,162,.2), 0 0 0 5px rgba(3,184,162,.08);
}

.testi-footer cite {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testi-footer cite span {
  font-weight: 500;
  color: var(--muted);
}


/* ── 18. CONTACT / DEMO ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
}

.contact-info h2 { font-size: var(--text-2xl); margin-bottom: 14px; }
.contact-info > p { font-size: var(--text-base); color: var(--body); line-height: 1.65; margin-bottom: 24px; }

.contact-list {
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--body);
}
.contact-list li svg { flex-shrink: 0; margin-top: 2px; }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--sh-xl), var(--sh-inset);
}

.demo-form { display: grid; gap: 16px; }

.field-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) { .field-group { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; }
.field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--dur) var(--ease-smooth), box-shadow var(--dur) var(--ease-smooth);
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3,184,162,.14);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  font-weight: 400;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
}
.form-alert.success { background: var(--teal-lt); color: var(--teal-dk); border: 1px solid rgba(3,184,162,.2); }
.form-alert.error   { background: rgba(244,63,94,.08); color: #c0142a; border: 1px solid rgba(244,63,94,.2); }


/* ── 19. FINAL CTA ──────────────────────────────────────────── */
.final-cta {
  position: relative;
  background: linear-gradient(148deg, #1c2633 0%, #2f4056 50%, #0d2030 100%);
  padding-block: clamp(5rem, 7vw, 9rem);
  text-align: center;
  overflow: hidden;
}
.final-cta .container { position: relative; z-index: 1; }

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  max-width: 20ch;
  margin-inline: auto;
}
.cta-content p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,.6);
  max-width: 38ch;
  margin-inline: auto;
  margin-bottom: 32px;
  line-height: 1.65;
}
.cta-content .cta-row { justify-content: center; }
.cta-content small {
  display: block;
  margin-top: 20px;
  font-size: var(--text-sm);
  color: rgba(255,255,255,.35);
}


/* ── 20. FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: #080f18;
  padding-block: clamp(3rem, 4vw, 5rem);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.04);
}

.footer-brand { display: inline-block; margin-bottom: 24px; }
.footer-logo {
  height: 39px;
  width: auto;
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease-smooth);
}
.footer-logo:hover { opacity: 1; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255,255,255,.45);
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-smooth), background var(--dur) var(--ease-smooth);
}
.footer-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.05);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.3);
  max-width: 38rem;
  margin-inline: auto;
  margin-bottom: 12px;
  line-height: 1.65;
}
.footer-copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.2);
}
.footer-copy a {
  color: var(--teal);
  transition: color var(--dur) var(--ease-smooth);
}
.footer-copy a:hover { color: var(--teal-dk); }


/* ── 21. COOKIE BANNER ──────────────────────────────────────── */
/* ── COOKIE CONSENT BANNER ──────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  width: min(780px, calc(100vw - 32px));
  background: rgba(15, 25, 38, 0.97);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(3, 184, 162, 0.25);
  border-radius: var(--r-xl);
  box-shadow:
    0 24px 64px rgba(0,0,0,0.45),
    0 0 0 1px rgba(3,184,162,0.1),
    inset 0 1px 0 rgba(255,255,255,0.06);
  z-index: 9000;
  opacity: 0;
  transition:
    opacity 0.45s cubic-bezier(0.16,1,0.3,1),
    transform 0.45s cubic-bezier(0.16,1,0.3,1);
  pointer-events: none;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}

/* Teal top glow line */
.cookie-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: 0;
}

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}

.cookie-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(3,184,162,0.14);
  border: 1px solid rgba(3,184,162,0.25);
  display: grid;
  place-items: center;
  color: var(--teal);
  flex-shrink: 0;
}

.cookie-copy {
  flex: 1;
  min-width: 0;
}
.cookie-title {
  display: block;
  font-size: var(--text-sm);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.cookie-copy p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

.cookie-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-learn {
  font-size: var(--text-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
  white-space: nowrap;
  transition: color var(--dur) var(--ease-smooth);
}
.cookie-learn:hover { color: var(--teal); }

.cookie-btn {
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--r-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--dur) var(--ease-smooth);
  border: 1.5px solid transparent;
  font-family: var(--font);
}
.cookie-btn-decline {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.7);
}
.cookie-btn-decline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.cookie-btn-accept {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  box-shadow: 0 4px 16px var(--teal-glow);
}
.cookie-btn-accept:hover {
  background: var(--teal-dk);
  border-color: var(--teal-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--teal-glow);
}

@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cookie-btns { width: 100%; justify-content: flex-end; }
  .cookie-icon-wrap { display: none; }
}


/* ── 22. REVEAL ANIMATIONS ──────────────────────────────────── */
/*
 * Robust reveal: content is ALWAYS VISIBLE by default.
 * The animation plays as enhancement when .is-visible is added by
 * IntersectionObserver. If JS/observer fails, nothing is ever hidden.
 */
html.js .reveal.is-visible {
  animation: reveal-up 0.72s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Stagger for children inside reveal-stagger containers (set via JS animationDelay) */

/* ── Hero entry — CSS animation (no JS needed, no flash) ─────── */
.hero-copy {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-visual {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}


/* ── 23. RESPONSIVE — TABLET & MOBILE ──────────────────────────────── */

/* Prevent 300ms tap delay on all interactive elements */
a, button, [role="button"], input, select, textarea, label {
  touch-action: manipulation;
}

/* Horizontal scroll safety on the comparison table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 800px) {
  .compare-table { min-width: 460px; }
}

/* ── TABLET (≤ 900px) ── */
@media (max-width: 900px) {
  /* Problem cards: 2-col */
  .cards-row    { grid-template-columns: repeat(2, 1fr); }

  /* Pricing: 2-col is cleaner than auto-fit orphan rows on tablet */
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-popular { transform: none; }

  /* Testimonials: 2-col */
  .testi-grid { grid-template-columns: repeat(2, 1fr); }

  /* Tighten nav link spacing at tablet width */
  .nav-link { padding: 6px 9px; }
  .nav-menu { gap: 20px; }
}

/* ── LARGE MOBILE / PHABLET (≤ 767px) ── */
@media (max-width: 767px) {
  /* Prevent compare-card min-width causing horizontal scroll */
  .compare-card { min-width: 0; }

  /* Timeline highlight: stack icon + text vertically */
  .tl-highlight { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Steps: 2-col on large phones and landscape */
  .steps-grid { grid-template-columns: repeat(2, 1fr); }

  /* Audience: 2-col */
  .audience-grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonials: single col on phones */
  .testi-grid { grid-template-columns: 1fr; }

  /* Section spacing */
  .section { padding-block: clamp(3rem, 5vw, 5rem); }

  /* Contact form internal padding */
  .contact-form-wrap { padding: clamp(20px, 5vw, 32px); }
}

/* ── SMALL MOBILE (≤ 580px) ── */
@media (max-width: 580px) {
  .cards-row    { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-popular { transform: none; margin-top: 0; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid   { grid-template-columns: 1fr; }
  .steps-grid   { grid-template-columns: 1fr; }

  .compare-row { flex-direction: column; }
  .compare-arrow svg { transform: rotate(90deg); }

  .trust-strip { flex-direction: column; align-items: flex-start; }

  .cta-row { flex-direction: column; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .cta-content .cta-row { align-items: center; }
  .cta-content .btn { max-width: 320px; }

  .hero-visual { gap: 10px; }
  .compare-card { padding: 20px 18px; }
}

/* ── VERY SMALL PHONES (≤ 400px) ── */
@media (max-width: 400px) {
  .audience-grid { grid-template-columns: 1fr; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 0.08em; }
  .hero-hook { padding: 8px 14px; font-size: var(--text-xs); }
}

@media (min-width: 1440px) {
  :root { --text-base: 1.05rem; }
  .container { max-width: 1260px; }
}

@media (min-width: 1920px) {
  .container { max-width: 1380px; }
}

/* ── 24. REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-copy, .hero-visual {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ── 25. DESIGN POLISH ──────────────────────────────────────── */

/* Subtle dot-grid pattern on bg-alt sections */
.bg-alt {
  position: relative;
}
.bg-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(3,184,162,.09) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.bg-alt > .container { position: relative; z-index: 1; }

/* Problem cards — danger icon rings */
.icon-danger {
  position: relative;
}
.icon-danger::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px dashed rgba(244,63,94,.3);
  animation: spin-slow 12s linear infinite;
  pointer-events: none;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Enhanced timeline-intro with gradient accent */
.timeline-intro {
  background: linear-gradient(135deg, #ffffff 70%, rgba(3,184,162,.04) 100%);
  border-left: 3px solid var(--teal);
}

/* Audience cards — teal icon ring on hover */
.aud-card {
  position: relative;
  overflow: hidden;
}
.aud-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-smooth);
}
.aud-card:hover::after { opacity: 1; }
.aud-icon {
  position: relative;
  z-index: 1;
  transition: transform var(--dur) var(--ease-bounce);
}
.aud-card:hover .aud-icon { transform: scale(1.12) rotate(-5deg); }

/* Before/After cards — subtle glow on hover */
.compare-card {
  transition: transform var(--dur) var(--ease-bounce), box-shadow var(--dur) var(--ease-smooth);
}
.compare-after:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 8px 28px var(--teal-glow);
}
.compare-before:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-xl), 0 8px 24px rgba(244,63,94,.12);
}

/* Stat items — subtle top border glow */
.stat-item::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
  margin: 0 auto 18px;
}


/* Final CTA — stronger gradient with noise texture feel */
.final-cta {
  background: linear-gradient(148deg, #0d1f2e 0%, #1c2f45 40%, #0a2a35 70%, #091a28 100%);
}
.final-cta .cta-content h2 {
  font-size: var(--text-3xl);
}

/* Form inputs — teal focus ring */
.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(3,184,162,.15);
}

/* Footer logo — slightly larger */
.footer-logo {
  height: 39px;
}

/* Scroll progress bar — gradient shimmer */
.scroll-progress {
  background: linear-gradient(90deg, var(--teal-dk), var(--teal), #10b981, var(--teal));
  background-size: 200% 100%;
  animation: progress-shimmer 3s linear infinite;
}
@keyframes progress-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
