/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:           #F7F5EF;
  --bg-alt:       #EDEAE0;
  --bg-card:      #FFFFFF;
  --bg-dark:      #0B0E18;

  --text-1:       #0B0E18;
  --text-2:       #3D4554;
  --text-3:       #8A929E;

  --accent:       #1B4FD8;
  --accent-2:     #0D9488;
  --accent-3:     #7C3AED;
  --accent-dim:   rgba(27, 79, 216, 0.09);
  --accent-dim-2: rgba(13, 148, 136, 0.09);

  --border:       rgba(11, 14, 24, 0.08);
  --border-md:    rgba(11, 14, 24, 0.14);

  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Inter', sans-serif;

  --container:    1280px;
  --gutter:       clamp(20px, 5vw, 64px);

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-sm:  0 1px 3px rgba(11,14,24,0.06), 0 1px 2px rgba(11,14,24,0.04);
  --shadow:     0 4px 16px rgba(11,14,24,0.08), 0 2px 6px rgba(11,14,24,0.05);
  --shadow-lg:  0 16px 48px rgba(11,14,24,0.12), 0 6px 16px rgba(11,14,24,0.07);
  --shadow-xl:  0 32px 80px rgba(11,14,24,0.16), 0 12px 32px rgba(11,14,24,0.10);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-1);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* Touch / reduced motion: system cursor, hide custom cursor layers */
body.no-custom-cursor {
  cursor: auto;
}
body.no-custom-cursor a,
body.no-custom-cursor button {
  cursor: pointer;
}
body.no-custom-cursor .cursor-dot,
body.no-custom-cursor .cursor-ring {
  display: none !important;
}

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

/* ============================================================
   TOP ACCENT LINE
   ============================================================ */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  z-index: 9999;
  pointer-events: none;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-smooth), width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), background 0.25s;
  will-change: transform;
  /* Hidden until first pointermove — avoids a stray ring/dot at (0,0) on refresh */
  opacity: 0;
  visibility: hidden;
}

.cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(27, 79, 216, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s var(--ease-smooth), width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), border-color 0.3s, opacity 0.3s;
  will-change: transform;
  opacity: 0;
  visibility: hidden;
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
  visibility: visible;
}

body.cursor-hover .cursor-dot {
  width: 12px; height: 12px;
  background: var(--accent);
}

body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  border-color: rgba(27, 79, 216, 0.6);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-1);
}

.display-xl {
  /* Tighter clamp so headline fits in the narrower left column at all viewports */
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.07;
}

.display-lg {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.display-md {
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.14;
}

.heading-sm {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.body-lg { font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; color: var(--text-2); }
.body-md { font-size: 1rem; line-height: 1.65; color: var(--text-2); }
.body-sm { font-size: 0.875rem; line-height: 1.6; color: var(--text-3); }
.caption  { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-teal {
  background: linear-gradient(135deg, #93C5FD 0%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--bg-dark);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .body-lg,
.section-dark .body-md {
  color: rgba(255,255,255,0.65);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Top-align cards in a row (avoids odd vertical offsets vs default stretch + transforms) */
.grid-3.card-group {
  align-items: start;
}
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.4s var(--ease-smooth),
              background 0.4s var(--ease-smooth),
              box-shadow 0.4s var(--ease-smooth),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.nav-hidden {
  transform: translateY(-110%);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(247, 245, 239, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(11,14,24,0.08), var(--shadow-sm);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
  color: var(--text-1);
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-logo:hover { opacity: 0.75; }

.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon svg { width: 18px; height: 18px; }

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

.nav-link {
  display: block;
  padding: 7px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: var(--text-1); background: rgba(11,14,24,0.05); }
.nav-link.active { color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #1540b0;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27,79,216,0.35);
}

.nav-demo {
  padding: 9px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 10px;
  border: 1px solid var(--border-md);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.nav-demo:hover {
  color: var(--text-1);
  border-color: var(--border-md);
  background: var(--bg-card);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-hamburger:hover { background: rgba(11,14,24,0.05); }

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 4px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-spring);
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile-link {
  display: block;
  padding: 14px 16px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-1);
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.nav-mobile-link:hover { background: var(--accent-dim); color: var(--accent); }

.nav-mobile-cta {
  margin-top: 24px;
  display: block;
  padding: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 14px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

/* Soft fade at the hero bottom — smooths the transition to marquee */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.5) 0%, rgba(147, 197, 253, 0) 70%);
  top: -150px; right: -100px;
  animation: blob-float-1 12s ease-in-out infinite;
}

.blob-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.45) 0%, rgba(196, 181, 253, 0) 70%);
  bottom: -80px; left: -80px;
  animation: blob-float-2 16s ease-in-out infinite;
}

.blob-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.4) 0%, rgba(110, 231, 183, 0) 70%);
  top: 30%; left: 40%;
  animation: blob-float-3 10s ease-in-out infinite;
}

@keyframes blob-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-30px, 40px) scale(1.06); }
  66%       { transform: translate(20px, -20px) scale(0.94); }
}

@keyframes blob-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.08); }
  66%       { transform: translate(-20px, 30px) scale(0.92); }
}

@keyframes blob-float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-40px, -30px) scale(1.1); }
}

/* ── Section blobs — reusable ambient gradients for non-hero sections ── */
.section-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Wrapper needs position:relative for blobs to anchor to */
.section-blob-wrap {
  position: relative;
  /* NO overflow:hidden here — it breaks position:sticky on child cards */
}

/* Direct container child sits above the blobs */
.section-blob-wrap > .container {
  position: relative;
  z-index: 1;
}

.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  pointer-events: none;
}

.section-blob-a {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(147,197,253,0.55) 0%, rgba(147,197,253,0) 70%);
  top: -100px; right: -80px;
  animation: blob-float-1 14s ease-in-out infinite;
}

.section-blob-b {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(196,181,253,0.45) 0%, rgba(196,181,253,0) 70%);
  bottom: -80px; left: -60px;
  animation: blob-float-2 18s ease-in-out infinite;
}

.section-blob-c {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(110,231,183,0.4) 0%, rgba(110,231,183,0) 70%);
  top: 40%; left: 35%;
  animation: blob-float-3 12s ease-in-out infinite;
}

/* ── Hero grid — text column stays contained, mockup bleeds right ── */
.hero .container {
  /* Both sides use the standard gutter — left aligns with nav logo */
  max-width: var(--container);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: grid;
  /* Text col wide enough for 2-line headline + side-by-side buttons */
  grid-template-columns: clamp(375px, 44%, 535px) 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-bottom: 40px;
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: clamp(315px, 46%, 475px) 1fr;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

@media (max-width: 820px) {
  .hero .container {
    grid-template-columns: 1fr;
    /* Restore right padding on single column */
    padding-right: var(--gutter);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 8vw, 100px) 0;
}

/* ============================================================
   HERO ENTRANCE — Pure CSS keyframes (no JS dependency).
   These always play regardless of GSAP/CDN state.
   GSAP only overrides timing/easing for the word-split headline.
   ============================================================ */

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

@keyframes hero-word-up {
  from { opacity: 0; transform: translateY(110%); }
  to   { opacity: 1; transform: none; }
}

/* ── Hero entrance animations — gated on .hero-animated ─────
   JS adds this class on load AND every time the hero scrolls
   back into view, restarting all animations cleanly.          */

/* Pre-hide state (before .hero-animated is applied) */
.hero-eyebrow,
.hero-sub,
.hero-actions,
.hero-trust,
.hero-mockup,
.float-badge {
  opacity: 0;
}
.hero-headline.is-split .split-word-inner {
  opacity: 0;
}

/* Animated state */
.hero-animated .hero-eyebrow {
  animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* When JS splits the headline, each .split-word-inner gets a
   CSS animation via GSAP-set inline animation-delay. */
.hero-animated .hero-headline.is-split .split-word-inner {
  animation: hero-word-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-animated .hero-sub     { animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.75s both; }
.hero-animated .hero-actions { animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s  both; }
.hero-animated .hero-trust   { animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.05s both; }
.hero-animated .hero-mockup  { animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero-animated .float-badge  { animation: hero-fade-up 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s both; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(27, 79, 216, 0.08);
  border: 1px solid rgba(27, 79, 216, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  /* Column width constrains this naturally — no explicit max-width needed */
  max-width: 100%;
  margin-bottom: clamp(16px, 2vw, 24px);
}

.hero-sub {
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
}

.trust-item svg { width: 16px; height: 16px; color: var(--accent-2); }

.hero-mockup-wrap {
  position: relative;
  z-index: 1;
  /* Fill the full grid cell height for alignment */
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Top/bottom breathing room for the float badges */
  padding: 48px 0;
  overflow: visible;
}

.hero-mockup {
  width: 100%;
  /* Full radius now that it no longer bleeds to the viewport edge */
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  /* Subtle tilt toward the viewer */
  transform: perspective(1800px) rotateX(1deg) rotateY(-1.5deg);
  transition: transform 0.7s var(--ease-smooth), box-shadow 0.7s;
}

.hero-mockup:hover {
  transform: perspective(1800px) rotateX(0deg) rotateY(0deg);
  box-shadow: var(--shadow-xl), 0 40px 80px rgba(27, 79, 216, 0.1);
}

/* Mobile: already full-radius — nothing extra needed */

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.mockup-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #FF5F57; }
.mockup-dot:nth-child(2) { background: #FEBC2E; }
.mockup-dot:nth-child(3) { background: #28C840; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
}

/* "● Live" pill in the title bar */
.mockup-status-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 99px;
  padding: 3px 10px;
  flex-shrink: 0;
}

/* Live event count badge */
.mockup-events-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(27,79,216,0.1);
  border-radius: 99px;
  padding: 1px 8px;
}

.mockup-body {
  padding: 14px 16px 16px;
  display: grid;
  /* Left: vertical stats column  |  Right: event stream fills the rest */
  grid-template-columns: 180px 1fr;
  gap: 12px;
  /* Fixed height — prevents the window from bouncing when rows are added/removed */
  height: 380px;
}

/* Vertical stack of the 3 stat cards */
.mockup-stats-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-stat {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.mockup-stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1;
}

.mockup-stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
}

.mockup-stat-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-green {
  background: rgba(13, 148, 136, 0.1);
  color: var(--accent-2);
}

.badge-blue {
  background: var(--accent-dim);
  color: var(--accent);
}

.mockup-events {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  /* Flex column so the stream fills the remaining space below the header */
  display: flex;
  flex-direction: column;
  /* Stretch to fill the full grid cell height */
  align-self: stretch;
  overflow: hidden;
}

.event-stream {
  flex: 1;
  /* Hard clip — rows disappear at the boundary with zero layout shift */
  overflow: hidden;
}

.mockup-events-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 0.78rem;
  animation: event-slide-in 0.4s var(--ease-out);
}

@keyframes event-slide-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: none; }
}

.event-row:last-child { border-bottom: none; }

.event-type {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.et-purchase  { background: rgba(13,148,136,0.1);  color: var(--accent-2); }
.et-page_view { background: rgba(27,79,216,0.08);   color: var(--accent); }
.et-form      { background: rgba(124,58,237,0.08);  color: var(--accent-3); }
.et-scroll    { background: rgba(217,119,6,0.08);   color: #D97706; }

.event-name {
  flex: 1;
  color: var(--text-1);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-source {
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(13,148,136,0.08);
  color: var(--accent-2);
  font-size: 0.7rem;
  font-weight: 600;
}

.event-value {
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 11px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 14px 28px; font-size: 1.05rem; border-radius: 13px; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 9px; }

.btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1b4fd8 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27,79,216,0.32), inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1540b0 100%);
  box-shadow: 0 8px 28px rgba(27,79,216,0.42), inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Subtle glow pulse on the hero primary CTA to draw the eye */
.hero-actions .btn-primary {
  animation: hero-fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both,
             btn-pulse-glow 3s ease-in-out 2s infinite;
}
@keyframes btn-pulse-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(27,79,216,0.32), inset 0 1px 0 rgba(255,255,255,0.12); }
  50%       { box-shadow: 0 6px 28px rgba(27,79,216,0.52), inset 0 1px 0 rgba(255,255,255,0.12); }
}

.btn-outline {
  background: var(--bg-card);
  color: var(--text-1);
  border: 1.5px solid var(--border-md);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover {
  border-color: var(--text-3);
  box-shadow: var(--shadow);
  background: var(--bg-alt);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  padding-left: 4px;
  padding-right: 4px;
}
.btn-ghost:hover { color: var(--accent); transform: none; }

.btn-white {
  background: #fff;
  color: var(--accent);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: #f8f8f8; box-shadow: var(--shadow-lg); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============================================================
   BADGES / CHIPS
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid transparent; /* variant colours fill this in */
}

.chip-blue   { background: var(--accent-dim);        color: var(--accent);   border-color: rgba(27,79,216,0.18); }
.chip-green  { background: var(--accent-dim-2);       color: var(--accent-2); border-color: rgba(13,148,136,0.2); }
.chip-violet { background: rgba(124,58,237,0.08);     color: var(--accent-3); border-color: rgba(124,58,237,0.18); }
.chip-amber  { background: rgba(217,119,6,0.08);      color: #D97706;         border-color: rgba(217,119,6,0.2); }

/* When a chip is used as a section eyebrow label (direct child of spotlight-text
   or section-header-eyebrow) give it the same uppercase/spaced treatment as the
   hero eyebrow so all section labels feel consistent. */
.section-header-eyebrow .chip,
.spotlight-text > .chip,
.scroll-story-label .chip {
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header.centered .section-header-sub {
  margin: 0 auto;
}

.section-header-eyebrow {
  margin-bottom: 16px;
  display: flex;
  /* Left-align by default; centered mode handled by parent flex */
}

.section-header.centered .section-header-eyebrow {
  justify-content: center;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header-sub {
  max-width: 580px;
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-smooth), border-color 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(27,79,216,0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,79,216,0.18);
}

.feature-card:hover::before { opacity: 1; }

.feature-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-card-icon svg { width: 22px; height: 22px; }

.icon-blue   { background: var(--accent-dim);    color: var(--accent); }
.icon-green  { background: var(--accent-dim-2);  color: var(--accent-2); }
.icon-violet { background: rgba(124,58,237,0.08); color: var(--accent-3); }
.icon-amber  { background: rgba(217,119,6,0.08);  color: #D97706; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-2);
}

.feature-card-meta {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-dark);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
}

.stat-item {
  background: var(--bg-dark);
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  background: linear-gradient(135deg, #93C5FD 0%, #6EE7B7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* ============================================================
   PROBLEM / PAIN CARDS
   ============================================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.pain-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-md);
}

.pain-icon {
  font-size: 1.75rem;
  margin-bottom: 14px;
  display: block;
}

.pain-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 28px);
  right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  opacity: 0.3;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #3B6FEF 100%);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(27,79,216,0.3);
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ============================================================
   FEATURE SPOTLIGHT
   ============================================================ */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.spotlight.reverse .spotlight-visual { order: -1; }

@media (max-width: 1024px) {
  .spotlight.reverse .spotlight-visual { order: 0; }
}

.spotlight-text { display: flex; flex-direction: column; gap: 20px; }

/* 2×2 icon-stat grid replaces the dense bullet list */
.spotlight-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.spotlight-stat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.spotlight-stat:hover {
  border-color: rgba(27,79,216,0.2);
  box-shadow: var(--shadow-sm);
}

.spotlight-stat-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spotlight-stat-icon svg { width: 17px; height: 17px; }

.spotlight-stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
}

.spotlight-stat-sub {
  font-size: 0.775rem;
  color: var(--text-3);
  margin-top: 2px;
}

/* ── Card-context stat list — used inside feature-full-card (narrower column) ── */
.card-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
}

.card-feature-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: transparent;
}

.card-feature-item-label,
.card-feature-item-sub {
  display: block;
}

.card-feature-item-icon { display: none; }

.card-feature-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.card-feature-item-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.3;
}

.card-feature-item-sub {
  display: block;
  font-size: 0.77rem;
  color: var(--text-3);
  line-height: 1.4;
}

.spotlight-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotlight-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-2);
}

.spotlight-list-item::before {
  content: '';
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230D9488'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}

.spotlight-visual {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--bg-alt) 0%, var(--bg) 100%);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-2);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
}

.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:nth-child(even) td { background: rgba(247,245,239,0.5); }
.comparison-table .col-highlight { background: rgba(27,79,216,0.04) !important; }
.comparison-table th.col-highlight { color: var(--accent); background: rgba(27,79,216,0.06) !important; }

.check-yes { color: var(--accent-2); font-weight: 700; font-size: 1rem; }
.check-no  { color: var(--text-3); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border-radius: 100px;
  padding: 6px;
  margin-bottom: 48px;
  border: 1px solid var(--border);
}

.toggle-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-3);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.toggle-btn.active {
  background: var(--bg-card);
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: box-shadow 0.3s, transform 0.3s var(--ease-spring);
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  background: linear-gradient(180deg, rgba(27,79,216,0.03) 0%, var(--bg-card) 60%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-1);
}

.pricing-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 6px;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--text-3);
  margin-bottom: 6px;
  align-self: flex-end;
}

.pricing-note {
  font-size: 0.82rem;
  color: var(--text-3);
  margin-bottom: 28px;
  min-height: 20px;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.pricing-feature-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(13,148,136,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature-check svg { width: 10px; height: 10px; color: var(--accent-2); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.open {
  border-color: rgba(27,79,216,0.2);
  box-shadow: 0 0 0 1px rgba(27,79,216,0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-card);
  font-weight: 600;
  font-size: 0.97rem;
  text-align: left;
  color: var(--text-1);
  transition: background 0.2s;
}

.faq-question:hover { background: var(--bg); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring), background 0.2s;
}

.faq-icon svg { width: 14px; height: 14px; color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); }
.faq-item.open .faq-icon svg { color: #fff; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-2);
  background: var(--bg-card);
}

/* ============================================================
   KNOWLEDGE BASE
   ============================================================ */
.kb-search-wrap {
  max-width: 560px;
  margin: 32px auto 0;
  position: relative;
}

.kb-search {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: 14px;
  border: 1.5px solid var(--border-md);
  background: var(--bg-card);
  font-size: 1rem;
  color: var(--text-1);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
}

.kb-search:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.12);
}

/* KB search: highlight mark */
mark.kb-search-highlight {
  background: rgba(27,79,216,0.14);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

/* KB search: "no results" per-section message */
.kb-search-empty {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  color: var(--text-3);
  font-size: 0.95rem;
  padding: 24px 0;
  min-height: 1em;
}

/* KB search: input ring when nothing matches globally */
.kb-search--empty {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,79,216,0.12);
}

.kb-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--text-3);
  pointer-events: none;
}

.kb-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.kb-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, border-color 0.3s;
}

.kb-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27,79,216,0.2);
}

.kb-category-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.kb-category-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.kb-category-card p {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.55;
}

.kb-article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.kb-article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, border-color 0.25s;
}

.kb-article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(27,79,216,0.18);
}

.kb-article-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.kb-article-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}

.kb-article-content p {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--bg-dark);
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(27,79,216,0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  color: #fff;
  margin-bottom: 16px;
}

.cta-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-trust {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-trust-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   SECTION RAIL — in-page nav (lower left, collapsible)
   ============================================================ */
.section-rail {
  position: fixed;
  left: 0;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 997;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0;
  padding-left: 12px;
  font-family: var(--font-body);
}

.section-rail__toggle {
  flex-shrink: 0;
  width: 44px;
  height: 52px;
  border-radius: 0 12px 12px 0;
  border: 1px solid var(--border);
  border-left: none;
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease-smooth), color 0.2s, box-shadow 0.25s;
}

.section-rail__toggle:hover {
  background: var(--bg);
  color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.section-rail__toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease-spring);
}

.section-rail.is-expanded .section-rail__toggle svg {
  transform: rotate(180deg);
}

.section-rail__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 10px 10px 0;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  width: 0;
  min-width: 0;
  pointer-events: none;
  transition:
    opacity 0.3s var(--ease-smooth),
    transform 0.35s var(--ease-spring),
    width 0.35s var(--ease-spring),
    min-width 0.35s var(--ease-spring),
    visibility 0s linear 0.35s;
}

.section-rail.is-expanded .section-rail__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  width: 140px;
  min-width: 140px;
  pointer-events: auto;
  transition:
    opacity 0.3s var(--ease-smooth),
    transform 0.35s var(--ease-spring),
    width 0.35s var(--ease-spring),
    min-width 0.35s var(--ease-spring),
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .section-rail__panel,
  .section-rail__toggle svg {
    transition: none;
  }
}

.section-rail__slot {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.25s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.section-rail__slot:hover {
  border-color: rgba(27, 79, 216, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.section-rail__slot.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(27, 79, 216, 0.2);
}

.section-rail__slot-titlebar {
  height: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  background: linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(0,0,0,0.02) 100%);
  border-bottom: 1px solid var(--border);
}

.section-rail__slot-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
}

.section-rail__slot-dot:nth-child(1) { background: #f87171; }
.section-rail__slot-dot:nth-child(2) { background: #fbbf24; }
.section-rail__slot-dot:nth-child(3) { background: #4ade80; }

.section-rail__slot-label {
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-rail__slot-body {
  height: 26px;
  background: linear-gradient(135deg, rgba(27,79,216,0.08) 0%, rgba(124,58,237,0.06) 50%, rgba(13,148,136,0.05) 100%);
}

@media (max-width: 768px) {
  .section-rail {
    bottom: max(12px, env(safe-area-inset-bottom));
    padding-left: 8px;
  }
  .section-rail.is-expanded .section-rail__panel {
    width: 124px;
    min-width: 124px;
  }
  .section-rail__toggle {
    width: 40px;
    height: 48px;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 72px 0 40px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 14px;
}

.footer-brand-icon {
  width: 30px; height: 30px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
}

.footer-link:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   FLOATING DATA POINTS (decorative)
   ============================================================ */
@keyframes float-badge {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50%       { transform: translateY(-12px) rotate(1deg); }
}

@keyframes float-badge-2 {
  0%, 100% { transform: translateY(0px) rotate(2deg); }
  50%       { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}

/* Pulsing live indicator */
@keyframes live-ping {
  0%     { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2.2); opacity: 0; }
}

.live-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live-dot::before {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--accent-2);
  animation: live-ping 1.5s ease-out infinite;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

.reveal-fade {
  opacity: 0;
  transition: opacity 0.75s var(--ease-out);
}
.reveal-fade.is-revealed { opacity: 1; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-spring);
}
.reveal-scale.is-revealed { opacity: 1; transform: scale(1); }

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-right  { text-align: right; }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.gap-12 { gap: 48px; }
.gap-16 { gap: 64px; }

.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }

.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

.w-full { width: 100%; }

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* inline numbered list */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: step;
}

.numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  counter-increment: step;
}

.numbered-item::before {
  content: counter(step);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* tabs */
.tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-3);
  border-bottom: 2px solid transparent;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-1); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   PAGE SPECIFIC — FEATURES
   ============================================================ */
.feature-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 24px;
  transition: box-shadow 0.3s;
}

.feature-full-card:hover { box-shadow: var(--shadow-lg); }

.feature-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-full-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-full-card p {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.feature-list-item svg {
  width: 16px; height: 16px;
  color: var(--accent-2);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-visual-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ============================================================
   MINI CHARTS (SVG inline visuals)
   ============================================================ */
.mini-chart {
  width: 100%;
  height: 60px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
}

.metric-name { color: var(--text-2); font-weight: 500; }
.metric-value { font-weight: 700; color: var(--text-1); }
.metric-change { font-size: 0.75rem; font-weight: 600; }
.metric-change.up { color: var(--accent-2); }
.metric-change.down { color: #E11D48; }

/* ============================================================
   SOCIAL PROOF / LOGOS
   ============================================================ */
.social-proof-bar {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.social-proof-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-proof-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.social-proof-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-proof-stat {
  text-align: center;
}

.social-proof-stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
}

.social-proof-stat-label {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
}

/* ============================================================
   PAGE HERO VARIANTS
   ============================================================ */
.page-hero {
  padding: clamp(120px, 14vw, 180px) 0 clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

/* ── Features hero pipeline graphic ─────────────────────── */
/* (wordpress-analytics-plugin uses standard centered page-hero layout) */

.fhg-wrap {
  max-width: 860px;
  margin: 48px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 8px;
}

.fhg-svg {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .fhg-wrap { display: none; }
}

/* ── Card stack scroll effect ───────────────────────────── */
.card-stack {
  position: relative;
}

.card-stack-item {
  position: sticky;
  top: 100px; /* JS overrides at runtime */
  margin-bottom: 24px;
  will-change: transform, opacity;
  /* Cancel the scroll.css pre-hide — GSAP sets initial state instead */
  opacity: 1;
  transform: none;
}

@media (max-width: 768px) {
  .card-stack-item {
    position: relative;
    top: auto;
  }
}

/* ── Features marquee strip ─────────────────────────────── */
.features-marquee-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
  /* Soft fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.features-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: features-marquee 38s linear infinite;
}

.features-marquee-wrap:hover .features-marquee-track {
  animation-play-state: paused;
}

@keyframes features-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.features-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 32px;
  white-space: nowrap;
  flex-shrink: 0;
}

.features-marquee-sep {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

.features-overview-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.features-overview-icon svg { width: 17px; height: 17px; }

.features-overview-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}

.features-overview-sub {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 1px;
}

/* ── Pricing hero metrics strip ─────────────────────────── */
.pricing-hero-metrics {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.pricing-hero-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 20px 32px;
}

.pricing-hero-metric-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1;
}

.pricing-hero-metric-label {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 500;
  white-space: nowrap;
}

.pricing-hero-metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Trust row below pricing cards ──────────────────────── */
.pricing-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ── Value highlights grid ──────────────────────────────── */
.pricing-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.pricing-value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s var(--ease-spring);
}

.pricing-value-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.pricing-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--accent);
}

.pricing-value-icon svg { width: 22px; height: 22px; }

.pricing-value-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}

.pricing-value-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}

.pricing-value-desc {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4        { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 36px; }
  .spotlight     { grid-template-columns: 1fr; gap: 40px; }
  .feature-full-card { grid-template-columns: 1fr; gap: 28px; }
  .mockup-body   { grid-template-columns: 1fr 1fr; }
  .kb-categories { grid-template-columns: repeat(2, 1fr); }
  .pain-grid     { grid-template-columns: repeat(2, 1fr); }
  .scroll-story-inner { grid-template-columns: 1fr; }
  .scroll-story-sticky { position: static; padding: 40px 0 20px; }
}

/* ── 768px — primary mobile breakpoint ───────────────────── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-actions { display: none; }
  .nav-hamburger  { display: flex; }
  .nav-mobile     { display: flex; }

  /* Grids → single column */
  .grid-2, .grid-3  { grid-template-columns: 1fr; }
  .pain-grid        { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .pricing-grid     { grid-template-columns: 1fr; }
  .kb-categories    { grid-template-columns: 1fr; }
  .kb-article-grid  { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom    { flex-direction: column; gap: 16px; }
  .social-proof-inner { gap: 24px; }
  .cta-trust        { flex-direction: column; gap: 16px; }

  /* Features marquee — no changes needed, it scrolls at any width */

  /* Pricing page new components */
  .pricing-hero-metrics { flex-wrap: wrap; gap: 0; border-radius: var(--radius); }
  .pricing-hero-metric  { padding: 14px 20px; }
  .pricing-hero-metric-value { font-size: 1.3rem; }
  .pricing-value-grid   { grid-template-columns: 1fr; }
  .pricing-trust-row    { gap: 20px; }

  /* Comparison table */
  .comparison-table th,
  .comparison-table td { padding: 10px 12px; font-size: 0.8rem; }

  /* Hero */
  .hero { min-height: auto; padding-top: 70px; }
  .hero-mockup { transform: none !important; }
  .hero-content { padding: clamp(40px, 6vw, 80px) 0 32px; }
  .hero-sub     { max-width: 100%; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 40px; }

  /* Hero mockup on mobile: ditch the complex stats/event-stream layout.
     Show the 3 stat cards side-by-side; hide the live event stream. */
  .mockup-body {
    grid-template-columns: repeat(3, 1fr);
    height: auto;
    padding: 12px;
    gap: 8px;
  }
  .mockup-stats-col {
    display: contents; /* unwrap — 3 cards become direct grid children */
  }
  .mockup-events { display: none; }
  .mockup-stat {
    flex: none;
    padding: 10px 10px 12px;
  }
  .mockup-stat-value { font-size: 1.2rem; }
  .mockup-stat-label { font-size: 0.72rem; }
  .mockup-stat-badge { font-size: 0.65rem; padding: 2px 6px; }

  /* Section spacing */
  .section { padding: clamp(56px, 8vw, 80px) 0; }
}

/* ── 480px — small phones ─────────────────────────────────── */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 12px; }

  /* Stack the 3 stat cards vertically on very small screens */
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-stat { padding: 12px 14px; }
  .mockup-stat-value { font-size: 1.4rem; }

  /* Tighten section headers */
  .section-header.centered { text-align: left; align-items: flex-start; }
  .section-header-sub { font-size: 0.95rem; }
}
