/* ============================================================
   ZANOR DIGITAL — Shared Design System
   Atlas Black Edition: Inter + DM Sans + JetBrains Mono
   Covers: reset, tokens, typography, nav, footer, components,
   sections, utilities. Used by all 9 site pages.
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@700;800;900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  /* Base colours */
  --c-navy:       #09090b;   /* Zinc-950 — true near-black base */
  --c-navy-mid:   #141417;   /* elevated surface */
  --c-navy-light: #27272a;   /* Zinc-800 — subtle accents */
  --c-blue:       #3b82f6;
  --c-blue-dark:  #2563eb;
  --c-blue-light: #60a5fa;
  --c-amber:      #f59e0b;
  --c-amber-dark: #d97706;
  --c-green:      #10b981;
  --c-white:      #ffffff;
  --c-off-white:  #f8fafc;
  --c-muted:      #a1a1aa;   /* Zinc-400 */
  --c-border:     #27272a;   /* Zinc-800 */

  /* Tier accent colours — brand identity, unchanged */
  --c-tier1:  #10b981;   /* LeadSpark  — emerald */
  --c-tier2:  #3b82f6;   /* LeadLock   — blue */
  --c-tier3:  #f59e0b;   /* Accelerator — amber */

  /* Semantic surface aliases */
  --c-bg:        #09090b;
  --c-surface:   #141417;
  --c-surface-2: #1c1c1f;

  /* Glow tokens */
  --c-blue-glow:  rgba(59, 130, 246, 0.20);
  --c-amber-glow: rgba(245, 158, 11, 0.15);
  --c-green-glow: rgba(16, 185, 129, 0.12);

  /* Typography */
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

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

  /* Border radius */
  --r-sm:   6px;
  --r-md:   10px;
  --r-lg:   16px;
  --r-xl:   24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.5);
  --shadow-md:   0 4px 16px rgba(0,0,0,.45);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.55);
  --shadow-glow: 0 0 40px rgba(59,130,246,.20);

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-med:    0.25s ease;
  --t-slow:   0.4s ease;
  --t-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--c-white);
  background: var(--c-bg);
  overflow-x: hidden;
  position: relative;
}

/* ── Grain noise overlay ──────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  background-repeat: repeat;
}

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

/* ── Typography ──────────────────────────────────────────── */

/* Editorial headings — Inter, boldly weighted */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* UI headings — DM Sans */
h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }

p { color: var(--c-muted); line-height: 1.75; }
p.lead { font-size: 1.125rem; color: #a1a1aa; }

strong { color: var(--c-white); font-weight: 600; }

/* Hero headline italic emphasis */
.hero__headline em {
  font-style: italic;
  font-weight: 800;
}

/* Section labels — monospace + amber dash prefix */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}

.section-label::before {
  content: '—\00a0';
  color: var(--c-amber);
  font-style: normal;
  letter-spacing: 0;
}

.text-gradient {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-amber { color: var(--c-amber); }
.text-blue  { color: var(--c-blue); }
.text-green { color: var(--c-green); }
.text-muted { color: var(--c-muted); }
.text-white { color: var(--c-white); }

/* ── Layout ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container--narrow  { max-width: 800px; }
.container--wide    { max-width: 1400px; }

section { padding-block: var(--sp-20); }
section.section--sm { padding-block: var(--sp-12); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

.text-center { text-align: center; }
.mx-auto     { margin-inline: auto; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all var(--t-med);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-blue);
  color: var(--c-white);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(59,130,246,.35);
}
.btn--primary:hover {
  background: var(--c-blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 36px rgba(59,130,246,.55);
  border-color: rgba(59,130,246,.3);
}

/* Amber button with shimmer sweep on hover */
.btn--amber {
  background-image: linear-gradient(
    105deg,
    var(--c-amber) 0%,
    var(--c-amber) 38%,
    #fcd34d 50%,
    var(--c-amber) 62%,
    var(--c-amber) 100%
  );
  background-size: 200% auto;
  background-position: 100% center;
  color: #09090b;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(245,158,11,.3);
  transition: background-position var(--t-slow), box-shadow var(--t-med), transform var(--t-med), border-color var(--t-med);
}
.btn--amber:hover {
  background-position: -30% center;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(245,158,11,.5);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 1.5px solid var(--c-navy-light);
}
.btn--outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: rgba(59,130,246,.05);
}

.btn--ghost {
  background: rgba(255,255,255,.05);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,.1);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.1);
}

.btn--lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn--sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

.btn-group { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.btn-group.centered { justify-content: center; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--t-med), box-shadow var(--t-med);
}

.nav.scrolled {
  background: rgba(9, 9, 11, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 1px 0 rgba(255,255,255,.04),
    0 0 0 1px rgba(59,130,246,.06),
    0 8px 32px rgba(0,0,0,.4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-6);
  gap: var(--sp-6);
}

/* Logo uses Syne (body font) — NOT the display serif */
.nav__logo {
  font-family: var(--font-body);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo span { color: var(--c-blue); }

.nav__logo-mark {
  color: var(--c-blue);
  flex-shrink: 0;
  opacity: 0.9;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.nav__links a,
.nav__dropdown-trigger {
  font-size: 0.9rem;
  font-weight: 500;
  color: #71717a;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-body);
}

.nav__links a:hover,
.nav__dropdown-trigger:hover { color: var(--c-white); background: rgba(255,255,255,.05); }
.nav__links a.active { color: var(--c-white); background: rgba(255,255,255,.06); }

/* Services dropdown */
.nav__dropdown { position: relative; }

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.open .nav__dropdown-menu { display: block; }

.nav__dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.6rem 0.875rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: #a1a1aa;
  transition: all var(--t-fast);
}
.nav__dropdown-menu a:hover { background: rgba(59,130,246,.1); color: var(--c-white); }

.nav__dropdown-menu .tier-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tier-dot--1 { background: var(--c-tier1); }
.tier-dot--2 { background: var(--c-tier2); }
.tier-dot--3 { background: var(--c-tier3); }

.nav__chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--t-fast);
  opacity: 0.6;
}
.nav__dropdown:hover .nav__chevron { transform: rotate(180deg); }

.nav__cta { margin-left: var(--sp-2); }

/* Mobile hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: all var(--t-med);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--c-bg);
  z-index: 999;
  padding: 5rem var(--sp-6) var(--sp-8);
  overflow-y: auto;
  flex-direction: column;
  gap: var(--sp-2);
}
.nav__mobile.open { display: flex; }

.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: #a1a1aa;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.nav__mobile a:hover { background: rgba(255,255,255,.05); color: var(--c-white); }

.nav__mobile .mobile-divider {
  height: 1px;
  background: var(--c-border);
  margin-block: var(--sp-3);
}

.nav__mobile .mobile-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: var(--sp-2) var(--sp-4);
}

.nav__mobile .btn { margin-top: var(--sp-4); width: 100%; justify-content: center; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding-block: var(--sp-16) var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  margin-bottom: var(--sp-12);
}

.footer__brand p {
  color: var(--c-muted);
  font-size: 0.9rem;
  margin-top: var(--sp-3);
  max-width: 280px;
  line-height: 1.7;
}

/* Footer logo uses Syne too */
.footer__logo {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-white);
  letter-spacing: -0.03em;
}
.footer__logo span { color: var(--c-blue); }
.footer__logo-img { height: 36px; width: auto; display: block; margin-bottom: 0.25rem; }

.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: var(--sp-4);
}

.footer__col ul { display: flex; flex-direction: column; gap: var(--sp-2); }

.footer__col a {
  font-size: 0.9rem;
  color: #52525b;
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.footer__col a:hover { color: var(--c-white); }

.footer__bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: #3f3f46;
}
.footer__legal-link {
  color: var(--c-muted);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__legal-link:hover { color: var(--c-white); }

.footer__social {
  display: flex;
  gap: var(--sp-3);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: all var(--t-fast);
  font-size: 0.875rem;
  border: 1px solid var(--c-border);
}
.footer__social a:hover {
  background: rgba(59,130,246,.12);
  color: var(--c-blue);
  border-color: rgba(59,130,246,.25);
}
.footer__social a svg {
  width: 16px;
  height: 16px;
}

/* ── Hero Sections ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero--short {
  min-height: 60vh;
  padding-block: 7rem var(--sp-16);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Aurora orbs — animated gradient blobs */
.hero__gradient {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,.14) 0%, transparent 65%);
  filter: blur(60px);
  animation: auroraFloat1 20s ease-in-out infinite;
  will-change: transform;
}

.hero__gradient--right {
  left: auto;
  right: -10%;
  top: 5%;
  background: radial-gradient(circle, rgba(245,158,11,.09) 0%, transparent 65%);
  filter: blur(80px);
  animation: auroraFloat2 25s ease-in-out infinite;
}

/* Third accent orb — green tint at bottom */
.hero__gradient--accent {
  top: auto;
  left: 40%;
  bottom: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 60%);
  filter: blur(70px);
  animation: auroraFloat1 30s ease-in-out infinite reverse;
}

.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 70%);
}

.hero__content { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(59,130,246,.08);
  border: 1px solid rgba(59,130,246,.2);
  border-radius: var(--r-full);
  padding: 0.35rem 0.875rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-blue-light);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.04em;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-blue);
  animation: pulseDot 2s infinite;
}

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
  /* Spotlight CSS custom properties */
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Spotlight highlight layer — activated on hover via JS mouse tracking */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(59, 130, 246, 0.07),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

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

/* All direct card children sit above the spotlight */
.card > * { position: relative; z-index: 1; }

.card:hover {
  border-color: rgba(59,130,246,.25);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(59,130,246,.05);
}

/* Tier variant cards — top colour bar uses ::before, spotlight uses ::after */
.card--tier {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* Tier top bar */
.card--tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 1;
  transition: none;
  z-index: 2;
  border-radius: 0;
  background: transparent;
  inset: 0 0 auto 0;
  width: auto;
}

.card--tier1::before { background: var(--c-tier1); }
.card--tier2::before { background: var(--c-tier2); }
.card--tier3::before { background: var(--c-tier3); }

/* Tier card spotlight uses ::after to avoid conflict with the top bar ::before */
.card--tier::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x) var(--mouse-y),
    rgba(59, 130, 246, 0.06),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.card--tier:hover::after { opacity: 1; }

.card--tier1:hover::after {
  background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y),
    rgba(16, 185, 129, 0.07), transparent 70%);
}
.card--tier3:hover::after {
  background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y),
    rgba(245, 158, 11, 0.07), transparent 70%);
}

.card--featured {
  border-color: rgba(59,130,246,.4);
  background: linear-gradient(135deg, rgba(59,130,246,.06) 0%, var(--c-surface) 60%);
  box-shadow: var(--shadow-glow);
}

.card--glass {
  background: rgba(20, 20, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255,255,255,.07);
}

.card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.badge--tier1 { background: rgba(16,185,129,.12); color: var(--c-tier1); }
.badge--tier2 { background: rgba(59,130,246,.12);  color: var(--c-tier2); }
.badge--tier3 { background: rgba(245,158,11,.12);  color: var(--c-tier3); }
.badge--blue  { background: rgba(59,130,246,.12);  color: var(--c-blue); }

/* ── Pricing ─────────────────────────────────────────────── */
.price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
  margin-block: var(--sp-4);
}

/* Prices in JetBrains Mono for tabular precision */
.price__amount {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.price__period { color: var(--c-muted); font-size: 0.9rem; }
.price__setup  { font-size: 0.85rem; color: var(--c-muted); margin-top: var(--sp-1); }

/* ── Feature List ────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: var(--sp-3); }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: #a1a1aa;
}

.feature-list .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check--green { background: rgba(16,185,129,.12); color: var(--c-green); }
.check--blue  { background: rgba(59,130,246,.12);  color: var(--c-blue); }
.check--amber { background: rgba(245,158,11,.12);  color: var(--c-amber); }

/* ── Stat Blocks ─────────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-6);
}

.stat-block {
  text-align: center;
  padding: var(--sp-6);
  background: rgba(255,255,255,.02);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-med);
}

.stat-block:hover {
  border-color: rgba(59,130,246,.2);
}

/* Stats in JetBrains Mono — high-impact tabular numerals */
.stat-block__num {
  font-family: var(--font-mono);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--c-white);
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-block__label { font-size: 0.85rem; color: var(--c-muted); margin-top: var(--sp-2); }

/* ── Section Headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-16);
}

.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p { font-size: 1.0625rem; }

/* ── Value Ladder ────────────────────────────────────────── */
.ladder {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  overflow-x: auto;
  padding-bottom: var(--sp-2);
}

.ladder__step {
  flex: 1;
  min-width: 180px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  transition: all var(--t-med);
  cursor: default;
}

.ladder__step:hover { border-color: rgba(59,130,246,.3); transform: translateY(-3px); }

.ladder__step .tier-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--sp-3);
}

.ladder__step h3 { font-size: 1.1rem; color: var(--c-white); margin-bottom: var(--sp-2); }
.ladder__step p  { font-size: 0.8rem; color: var(--c-muted); }

.ladder__arrow {
  color: var(--c-navy-light);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ── Steps / How It Works ────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--sp-8); }

.step {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.step__num {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: rgba(59,130,246,.10);
  border: 1px solid rgba(59,130,246,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-blue);
}

.step h3 { font-size: 1.125rem; }
.step p  { font-size: 0.9rem; }

/* ── Testimonials ────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-6);
}

.testimonial {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: border-color var(--t-med);
}

.testimonial:hover { border-color: rgba(59,130,246,.25); }

.testimonial__stars {
  display: flex;
  gap: 2px;
  color: var(--c-amber);
  font-size: 0.875rem;
  margin-bottom: var(--sp-4);
}

.testimonial__text {
  font-size: 0.9375rem;
  color: #a1a1aa;
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.testimonial__author { display: flex; align-items: center; gap: var(--sp-3); }

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue) 0%, #7c3aed 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-white);
  flex-shrink: 0;
}

.testimonial__name { font-weight: 600; color: var(--c-white); font-size: 0.9375rem; }
.testimonial__role { font-size: 0.8125rem; color: var(--c-muted); }

/* ── FAQ Accordion ───────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: var(--sp-3); }

.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq__item.open,
.faq__item:hover { border-color: rgba(59,130,246,.25); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--c-white);
  user-select: none;
}

.faq__q svg {
  width: 20px;
  height: 20px;
  color: var(--c-muted);
  flex-shrink: 0;
  transition: transform var(--t-med), color var(--t-fast);
}

.faq__item.open .faq__q svg { transform: rotate(45deg); color: var(--c-blue); }

.faq__a {
  display: none;
  padding: 0 var(--sp-6) var(--sp-5);
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.75;
}

.faq__item.open .faq__a { display: block; }

/* ── Comparison Table ────────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-xl);
  overflow: hidden;
}

.compare-table th {
  padding: var(--sp-5) var(--sp-6);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-border);
}

.compare-table th:first-child { text-align: left; }

.compare-table th.featured { background: rgba(59,130,246,.08); }

.compare-table td {
  padding: var(--sp-4) var(--sp-6);
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-muted);
  border-bottom: 1px solid rgba(255,255,255,.03);
}

.compare-table td:first-child { text-align: left; color: #a1a1aa; font-weight: 500; }
.compare-table td.featured     { background: rgba(59,130,246,.04); }

.compare-table .check-icon { color: var(--c-green); font-size: 1.1rem; }
.compare-table .dash-icon  { color: var(--c-navy-light); }

/* ── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(59,130,246,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(124,58,237,.08) 0%, transparent 50%),
    var(--c-surface);
  border: 1px solid rgba(59,130,246,.18);
  border-radius: var(--r-xl);
  padding: var(--sp-16) var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Decorative amber orb — top right */
.cta-banner::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,158,11,.07) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: var(--sp-4); }
.cta-banner p  { max-width: 540px; margin-inline: auto; margin-bottom: var(--sp-8); }

/* ── Guarantee Badge ─────────────────────────────────────── */
.guarantee {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: rgba(16,185,129,.05);
  border: 1px solid rgba(16,185,129,.18);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-8);
}

.guarantee__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.guarantee__icon svg { width: 28px; height: 28px; stroke: var(--c-green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.guarantee__text h4 { color: var(--c-green); margin-bottom: var(--sp-1); font-size: 1rem; }
.guarantee__text p  { font-size: 0.875rem; }

/* ── Module Cards ────────────────────────────────────────── */
.module-card {
  display: flex;
  gap: var(--sp-5);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-8);
  transition: all var(--t-med);
}

.module-card:hover { border-color: rgba(59,130,246,.25); transform: translateX(4px); }

.module-card__num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 600;
  color: rgba(59,130,246,.2);
  line-height: 1;
  min-width: 2.5rem;
}

.module-card__body h3 { font-size: 1.0625rem; margin-bottom: var(--sp-2); }
.module-card__body p  { font-size: 0.875rem; }

/* ── Dividers ────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--c-border);
  margin-block: var(--sp-12);
}

/* ── Forms ───────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.form-group label { font-size: 0.875rem; font-weight: 500; color: #a1a1aa; }

.form-control {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  color: var(--c-white);
  font-size: 0.9375rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-control::placeholder { color: var(--c-muted); }

.form-control:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}

textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-bottom: var(--sp-6);
}
.breadcrumb a:hover { color: var(--c-white); }
.breadcrumb .sep { opacity: 0.4; }

/* ── Utilities ───────────────────────────────────────────── */
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }

/* Surface utilities — for overriding hardcoded backgrounds in HTML */
.bg-surface { background: var(--c-surface) !important; }
.bg-base    { background: var(--c-bg) !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Keyframe Animations ─────────────────────────────────── */

/* Entrance — with subtle scale compression for character */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px) scaleY(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Aurora orb drift — two offset loops for organic movement */
@keyframes auroraFloat1 {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(60px, -40px) scale(1.05); }
  66%  { transform: translate(-30px, 30px) scale(0.98); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes auroraFloat2 {
  0%   { transform: translate(0, 0) scale(1); }
  40%  { transform: translate(-50px, 30px) scale(1.03); }
  70%  { transform: translate(40px, -20px) scale(0.97); }
  100% { transform: translate(0, 0) scale(1); }
}

/* Hero badge pulse dot */
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Animation utility classes — spring easing for organic feel */
.animate-fade-up  { animation: fadeInUp 0.7s var(--t-spring) both; }
.animate-fade-in  { animation: fadeIn 0.5s var(--t-spring) both; }

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Accessibility: disable aurora animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__gradient,
  .hero__gradient--right,
  .hero__gradient--accent {
    animation: none;
    will-change: auto;
  }
  .animate-fade-up,
  .animate-fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .grid-4       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }

  section { padding-block: var(--sp-16); }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4           { grid-template-columns: 1fr; }

  .ladder { flex-direction: column; }
  .ladder__arrow { transform: rotate(90deg); }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }

  .cta-banner { padding: var(--sp-12) var(--sp-6); }

  .compare-table { display: block; overflow-x: auto; }

  .module-card { flex-direction: column; gap: var(--sp-3); }

  .stat-block__num { font-size: 2.75rem; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--sp-4); }
  .footer__grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stat-block__num { font-size: 2.25rem; }
}
