/* ============================================================
   CoreDhristi — styles.css  (Part 2 — Premium Visual Design System)
   Brand identity: Infrastructure-grade. Calm. Confident. Timeless.
   References: Anthropic warmth · Linear precision · Stripe polish
   ============================================================ */


/* ---------------------------------------------------------
   0. DESIGN TOKENS
   --------------------------------------------------------- */
:root {
  /* Light backgrounds — warm, never clinical */
  --bg:            #F9F8F6;
  --bg-subtle:     #F2F0EC;
  --bg-band:       #E9E6E0;

  /* Dark backgrounds — rich, never flat */
  --bg-dark:       #070A12;
  --bg-dark-2:     #0B0F1B;
  --bg-dark-card:  #0E1223;

  /* Brand accents */
  --navy:          #0A1628;   /* primary CTA fill */
  --navy-h:        #0E1F3C;
  --blue:          #4C6FE3;   /* interactive, links, chips */
  --blue-h:        #3A5BD0;
  --blue-dim:      rgba(76,111,227,0.12);
  --gold:          #C9A84C;
  --green:         #22C55E;
  --red:           #E34C4C;

  /* Text scale — warm-tinted grays */
  --text-dark:     #0D0C0A;
  --text-body:     #2A2724;
  --text-muted:    #655E58;
  --text-dim:      #756D63;

  /* Text on dark backgrounds */
  --on-dark:       #F5F4F2;
  --on-dark-muted: rgba(245,244,242,0.55);
  --on-dark-dim:   rgba(245,244,242,0.48);

  /* Borders */
  --border:        rgba(0,0,0,0.072);
  --border-hover:  rgba(0,0,0,0.15);
  --border-dark:   rgba(255,255,255,0.072);
  --border-dark-h: rgba(255,255,255,0.18);

  /* Semantic */
  --success:       #16A34A;
  --success-bg:    #F0FDF4;
  --danger:        #DC2626;
  --danger-bg:     #FEF2F2;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:  0 2px 8px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.05);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.08), 0 16px 48px rgba(0,0,0,0.06);
  --shadow-xl:  0 16px 40px rgba(0,0,0,0.10), 0 32px 80px rgba(0,0,0,0.08);
  --shadow-dark: 0 24px 64px rgba(0,0,0,0.40);

  /* Geometry */
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   24px;
  --radius-xl:   32px;
  --radius-pill: 9999px;

  /* Motion */
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:        180ms;
  --dur-slow:   360ms;
  --dur-enter:  600ms;

  /* Layout */
  --container:   1120px;
  --gutter:      24px;
  --section-py:  128px;

  /* Typography */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', Consolas, monospace;
}


/* ---------------------------------------------------------
   1. RESET & BASE
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.67;
  color: var(--text-body);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* Smooth selection */
::selection { background: rgba(76,111,227,0.15); color: var(--text-dark); }


/* ---------------------------------------------------------
   2. LAYOUT
   --------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* Section color contexts */
.bg-light  { background: var(--bg);       color: var(--text-body); }
.bg-subtle { background: var(--bg-subtle); color: var(--text-body); }
.bg-dark   { background: var(--bg-dark);   color: var(--on-dark); }
.bg-dark-2 { background: var(--bg-dark-2); color: var(--on-dark); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* ---------------------------------------------------------
   3. TYPOGRAPHY SYSTEM
   Hierarchy: Display → Section → Body → Label → Mono
   --------------------------------------------------------- */
.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.625rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.030em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3.6vw, 3.125rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.020em;
}

.body-large {
  font-size: 1.125rem;
  line-height: 1.72;
  font-weight: 400;
}

.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Small plain-language line directly under a .section-label eyebrow,
   used where a label needs a one-line tagline before the big headline. */
.section-label-tagline {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text-muted);
  margin-top: -12px;
  margin-bottom: 20px;
}
.on-dark .section-label-tagline,
.guide-header .section-label-tagline { color: var(--on-dark-muted); }

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 56ch;
  margin-top: 20px;
}

/* On-dark overrides */
.on-dark .section-title  { color: var(--on-dark); }
.on-dark .section-label  { color: var(--on-dark-muted); }
.on-dark .section-desc   { color: var(--on-dark-muted); }


/* ---------------------------------------------------------
   4. SCROLL REVEAL
   --------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(40px) scale(0.965);
  filter: blur(14px);
  transition:
    opacity   820ms var(--ease-out),
    transform 820ms var(--ease-out),
    filter    820ms var(--ease-out);
  will-change: opacity, transform, filter;
}
[data-animate].is-visible { opacity: 1; transform: none; filter: blur(0); will-change: auto; }

[data-animate][data-delay="1"] { transition-delay: 90ms; }
[data-animate][data-delay="2"] { transition-delay: 180ms; }
[data-animate][data-delay="3"] { transition-delay: 270ms; }
[data-animate][data-delay="4"] { transition-delay: 360ms; }
[data-animate][data-delay="5"] { transition-delay: 450ms; }
[data-animate][data-delay="6"] { transition-delay: 540ms; }

/* Hero content must NEVER depend on JavaScript to become visible.
   It animates in on its own via pure CSS, regardless of whether
   script.js runs, runs late, or a script fails to load. This is
   the single most important section on the page — it cannot be
   allowed to render blank under any circumstance. */
.hero [data-animate] {
  animation: heroReveal 0.8s var(--ease-out) both;
}
.hero [data-animate][data-delay="1"] { animation-delay: 0.15s; }
.hero [data-animate][data-delay="2"] { animation-delay: 0.30s; }
.hero [data-animate][data-delay="3"] { animation-delay: 0.45s; }
.hero [data-animate][data-delay="4"] { animation-delay: 0.60s; }
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px) scale(0.97); filter: blur(12px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* If JavaScript never runs at all (blocked, disabled, or fails),
   every other section must still be fully visible and readable
   rather than stuck at opacity: 0 forever. */
.no-js [data-animate] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Lightweight nav entrance — pure CSS, replaces the old GSAP tween */
.site-header.nav-enter {
  animation: navReveal 0.6s var(--ease-out) both;
}
@keyframes navReveal {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}

/* Respect OS-level reduced-motion preference: content stays fully
   visible and static, no entrance/scroll animation of any kind. */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ---------------------------------------------------------
   5. BUTTON SYSTEM
   Philosophy: confident, not loud. Subtle lift, clean edges.
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  transition:
    background   var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color        var(--dur) var(--ease),
    transform    var(--dur) var(--ease),
    box-shadow   var(--dur) var(--ease);
  text-decoration: none;
  position: relative;
  isolation: isolate;
  user-select: none;
}

/* Primary — navy fill */
.btn--primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 1px 2px rgba(0,0,0,0.14), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn--primary:hover {
  background: var(--navy-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10,22,40,0.28), 0 1px 2px rgba(0,0,0,0.10);
}
.btn--primary:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,0.10); }

/* White — for dark backgrounds */
.btn--white {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.btn--white:hover {
  background: #F5F4F2;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

/* Outline — secondary actions */
.btn--outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border-hover);
}
.btn--outline:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
}

/* Ghost — on dark */
.btn--ghost {
  background: rgba(255,255,255,0.07);
  color: var(--on-dark);
  border-color: var(--border-dark-h);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
}

/* Blue — accent CTA */
.btn--blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 1px 2px rgba(76,111,227,0.20);
}
.btn--blue:hover {
  background: var(--blue-h);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(76,111,227,0.32);
}

/* Sizes */
.btn--lg  { padding: 15px 32px; font-size: 1rem; }
.btn--sm  { padding: 9px 18px; font-size: 0.875rem; }
.btn--xs  { padding: 7px 14px; font-size: 0.8125rem; }

/* Icon arrow that moves on hover */
.btn-icon {
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
  will-change: transform;
}
.btn:hover .btn-icon { transform: translateX(3px); }


/* ---------------------------------------------------------
   6. NAVIGATION  (dark floating capsule)
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px var(--gutter);
  pointer-events: none;
  transition: transform var(--dur-slow) var(--ease-out);
}
.site-header.hide { transform: translateY(-110%); }

.nav-inner {
  pointer-events: auto;
  max-width: 780px;
  margin: 0 auto;
  background: rgba(7,10,18,0.88);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-pill);
  padding: 10px 10px 10px 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.05);
}

.nav-logo {
  display: flex; align-items: center; flex-shrink: 0; margin-right: 4px;
  transition: opacity var(--dur) var(--ease);
}
.nav-logo:hover { opacity: 0.80; }
.nav-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.nav-logo-text {
  font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 700;
  color: #fff; letter-spacing: -0.01em;
}

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 7px 13px; border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  letter-spacing: -0.005em;
}
.nav-link:hover { color: rgba(255,255,255,0.95); background: rgba(255,255,255,0.07); }

.nav-cta {
  background: rgba(255,255,255,0.96); color: var(--navy);
  border-radius: var(--radius-pill); padding: 9px 20px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em;
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
}
.nav-cta:hover { background: #F5F4F2; transform: translateY(-1px); box-shadow: 0 3px 10px rgba(0,0,0,0.20); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 9px;
  border-radius: var(--radius-sm); cursor: pointer; margin-left: auto;
  background: none; border: none; transition: background var(--dur) var(--ease);
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.75);
  transition: all var(--dur) var(--ease); border-radius: 2px;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: flex; flex-direction: column; gap: 2px;
  position: fixed; inset: 0;
  background: rgba(7,10,18,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  z-index: 999; padding: 96px 28px 40px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.nav-mobile.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile .nav-link {
  font-size: 1.25rem; font-weight: 500; padding: 16px 0;
  color: rgba(255,255,255,0.72); letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%;
}
.nav-mobile .nav-cta { margin-top: 28px; align-self: stretch; justify-content: center; padding: 15px; font-size: 1rem; }

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { justify-content: space-between; padding-right: 6px; }
}


/* ---------------------------------------------------------
   7. HERO  (dark, full-viewport, dot grid background)
   --------------------------------------------------------- */
.hero {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% 32%, rgba(76,111,227,0.13), transparent 34%),
    linear-gradient(180deg, #050810 0%, var(--bg-dark) 64%, #04060C 100%);
  color: var(--on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 128px var(--gutter) 96px;
  position: relative;
  overflow: hidden;
}

/* Dot grid */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.105) 1px, transparent 0);
  background-size: 80px 80px, 80px 80px, 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 86% 82% at 50% 50%, black 8%, transparent 100%);
  mask-image: radial-gradient(ellipse 86% 82% at 50% 50%, black 8%, transparent 100%);
  pointer-events: none;
}

/* Centered ambient glow */
.hero::after {
  content: '';
  position: absolute;
  top: 30%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(880px, 96vw); height: min(880px, 96vw);
  background:
    radial-gradient(circle at 50% 50%, rgba(245,244,242,0.09) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(76,111,227,0.12) 0%, transparent 64%);
  background-size: 100% 100%, 100% 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 0;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(245,244,242,0.36); margin-bottom: 64px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8.25vw, 8.5rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  max-width: 1060px;
  margin-bottom: 0;
  text-wrap: balance;
  text-shadow: 0 18px 80px rgba(0,0,0,0.42);
}

/* Typographic divider line */
.hero-divider {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.30), transparent);
  margin: 32px auto;
}

.hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(0.8125rem, 1.6vw, 1.0rem);
  color: rgba(245,244,242,0.58);
  letter-spacing: 0.04em;
  margin-bottom: 56px;
  margin-top: 12px;
}

.hero-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--on-dark-dim); animation: float-hint 3s ease-in-out infinite;
}
@keyframes float-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50%       { transform: translateX(-50%) translateY(5px); opacity: 1; }
}
.hero-scroll-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.25));
}
.hero-scroll-label {
  font-family: var(--font-mono); font-size: 0.625rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}

@media (max-width: 640px) {
  .hero { padding: 100px var(--gutter) 80px; }
  .hero-kicker { margin-bottom: 36px; }
  .hero-tagline { margin-bottom: 44px; }
}


/* ---------------------------------------------------------
   8. VISION STATEMENT
   --------------------------------------------------------- */
.vision-stmt {
  background: var(--bg-dark-2);
  padding: 112px var(--gutter);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  position: relative;
}

/* Bottom gradient that transitions into next section's bg */
.vision-stmt::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.vision-stmt-inner { position: relative; z-index: 1; }

.vision-stmt-quote {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.8vw, 2.875rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.020em;
  color: var(--on-dark);
  max-width: 840px;
  margin: 0 auto;
  font-style: italic;
}
.vision-stmt-quote em {
  font-style: normal; color: var(--blue);
}

.vision-stmt-attribution {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--on-dark-dim); margin-top: 32px;
  letter-spacing: 0.08em;
}


/* ---------------------------------------------------------
   9. FOUNDER / WHY WE EXIST  (warm off-white)
   --------------------------------------------------------- */
.founder-section {
  background: var(--bg);
  padding: var(--section-py) var(--gutter);
}

.founder-layout {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 88px;
  align-items: start;
}

.founder-photo-wrap { position: sticky; top: 128px; }

.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: grayscale(12%);
  box-shadow: var(--shadow-lg);
}

.founder-photo-caption {
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--text-dim); letter-spacing: 0.06em;
}

.founder-story { display: flex; flex-direction: column; }

.founder-story-headline {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 700; line-height: 1.16; letter-spacing: -0.018em;
  color: var(--text-dark); margin-bottom: 48px;
}

.founder-narrative { display: flex; flex-direction: column; gap: 22px; }

.founder-narrative p {
  font-size: 1.0625rem; line-height: 1.78; color: var(--text-muted);
}
.founder-narrative strong { color: var(--text-dark); font-weight: 600; }

.founder-sig {
  margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--border);
}
.founder-sig strong {
  display: block; font-size: 0.9375rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 4px;
}
.founder-sig span {
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--text-muted);
}

@media (max-width: 900px) {
  .founder-layout { grid-template-columns: 1fr; gap: 48px; }
  .founder-photo-wrap { position: static; }
  .founder-photo { aspect-ratio: 16/9; object-position: center 65%; max-height: 320px; }
}


/* ---------------------------------------------------------
   10. THE PROBLEM  (subtle warm)
   --------------------------------------------------------- */
.problem-section {
  background: var(--bg-subtle);
  padding: var(--section-py) var(--gutter);
}

.problem-header { margin-bottom: 72px; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.problem-card {
  background: var(--bg-subtle);
  padding: 52px 40px;
  transition: background var(--dur) var(--ease);
}
.problem-card:hover { background: var(--bg); }

.problem-num {
  font-family: var(--font-mono); font-size: 0.6875rem;
  font-weight: 700; letter-spacing: 0.12em;
  color: var(--text-dim); display: block; margin-bottom: 28px;
}

.problem-card h3 {
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.012em;
  color: var(--text-dark); margin-bottom: 16px; line-height: 1.3;
}
.problem-card p {
  font-size: 0.9375rem; color: var(--text-muted); line-height: 1.68;
}

@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { padding: 36px 28px; }
}


/* ---------------------------------------------------------
   11. SOLUTION  (warm off-white + stats)
   --------------------------------------------------------- */
.solution-section {
  background: var(--bg);
  padding: var(--section-py) var(--gutter);
}

.solution-header { margin-bottom: 72px; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 64px;
}

.solution-item {
  padding: 52px 40px;
  border-right: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
  position: relative;
}
.solution-item:last-child { border-right: none; }
.solution-item:hover { background: var(--bg-subtle); }

.solution-arrow {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700;
  color: var(--blue); letter-spacing: 0.10em; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}

.solution-problem-ref {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-dim);
  display: block; margin-bottom: 24px;
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.22);
}

.solution-item h3 {
  font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.012em;
  color: var(--text-dark); margin-bottom: 16px; line-height: 1.3;
}
.solution-item p {
  font-size: 0.9375rem; color: var(--text-muted); line-height: 1.68;
}

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}

.stat-item {
  background: var(--bg); padding: 40px 32px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background var(--dur) var(--ease);
}
.stat-item:hover { background: var(--bg-subtle); }

.stat-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  font-weight: 700; color: var(--text-dark);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-label {
  font-size: 0.8125rem; color: var(--text-muted); font-weight: 500; line-height: 1.4;
}

@media (max-width: 900px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-item { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 28px; }
  .solution-item:last-child { border-bottom: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stat-item { padding: 28px 20px; }
}


/* ---------------------------------------------------------
   11B. COMPARISON TABLE  (subtle warm band)
   --------------------------------------------------------- */
.compare-section {
  background: var(--bg-subtle);
  padding: var(--section-py) var(--gutter);
}

.compare-header { margin-bottom: 56px; text-align: center; }
.compare-header .section-desc { color: var(--text-muted); }

.compare-table-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.compare-scroll-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: right;
  padding: 12px 20px 0;
}

.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 20px 24px;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.55;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-hover);
  white-space: nowrap;
}

.compare-th-blank { background: var(--bg-subtle); }

.compare-th-hero {
  color: var(--navy);
  position: relative;
}

.compare-table tbody th {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.875rem;
  background: var(--bg-subtle);
  white-space: nowrap;
}

.compare-table tbody td { color: var(--text-muted); }

.compare-hero-cell {
  color: var(--text-dark);
  font-weight: 500;
  background: var(--blue-dim);
  position: relative;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-caption {
  max-width: 72ch;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .compare-scroll-hint { display: block; }
  .compare-table th, .compare-table td { padding: 16px 20px; font-size: 0.875rem; }
}


/* ---------------------------------------------------------
   12. VIDEO SECTION  (dark, cinematic)
   --------------------------------------------------------- */
.video-section {
  background: var(--bg-dark-2);
  padding: var(--section-py) var(--gutter);
  position: relative;
  overflow: hidden;
}

/* Ambient background glow */
.video-section::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 60%; height: 100%;
  background: radial-gradient(ellipse at top, rgba(76,111,227,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.video-header {
  text-align: center; margin-bottom: 56px;
  position: relative; z-index: 1;
}
.video-header .section-label  { color: var(--on-dark-muted); }
.video-header .section-title  { color: var(--on-dark); }
.video-header .section-desc   { color: var(--on-dark-muted); margin-inline: auto; text-align: center; }

.video-wrapper {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
}

.video-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-dark);
  cursor: pointer;
  background: #000;
}

/* Aspect ratio container */
.video-frame::after {
  content: '';
  display: block;
  padding-bottom: 56.25%; /* 16:9 */
}

.video-poster {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.3s var(--ease);
  filter: brightness(0.85);
}
.video-frame:hover .video-poster {
  transform: scale(1.015);
  filter: brightness(0.80);
}

.video-el {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: none;
  object-fit: cover;
}

/* Play button */
.video-play-btn {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2;
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(0,0,0,0.32), 0 1px 4px rgba(0,0,0,0.20);
  transition: transform var(--dur-slow) var(--ease-spring), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.40);
}
.video-play-btn svg { fill: var(--navy); margin-left: 3px; }

.video-play-btn.is-playing { opacity: 0; pointer-events: none; }

.video-caption {
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--on-dark-dim); letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .video-play-btn { width: 64px; height: 64px; }
}


/* ---------------------------------------------------------
   13. COREDHRISTI AI teaser section  (darkest section)
   The real, functioning CoreDhristi AI is the persistent panel
   defined further below (section 13B). This section only
   introduces it and shows sample answers.
   --------------------------------------------------------- */
.guide-section {
  background: #050810;
  padding: var(--section-py) var(--gutter);
  position: relative;
}

.guide-header {
  text-align: center; margin-bottom: 56px;
}
.guide-header .section-label { color: var(--on-dark-muted); }
.guide-header .section-title { color: var(--on-dark); }
.guide-header .section-desc  { color: var(--on-dark-muted); margin-inline: auto; max-width: 52ch; text-align: center; }

/* Teaser: sample Q&A cards + CTA that opens the persistent panel */
.guide-teaser {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 40px;
}

.guide-teaser-grid {
  width: 100%;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.guide-teaser-card {
  background: #080C18;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
}

.guide-teaser-q {
  font-family: var(--font-mono); font-size: 0.8125rem;
  color: var(--blue); letter-spacing: 0.01em;
}

.guide-teaser-a {
  font-size: 0.9375rem; line-height: 1.65; color: var(--on-dark-muted);
}

@media (max-width: 860px) {
  .guide-teaser-grid { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------
   13B. PERSISTENT COREDHRISTI AI
   Floating 3D orb launcher + full-screen chat panel.
   --------------------------------------------------------- */

/* ── ORB LAUNCHER — Siri-style glowing sphere ── */
.guide-orb-wrap {
  position: fixed;
  z-index: 1200;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

.guide-orb-label {
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  max-width: 200px;
  color: var(--on-dark);
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(123, 155, 245, 0.26);
  padding: 10px 18px;
  border-radius: var(--radius);
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.36), 0 0 24px rgba(76,111,227,0.18);
}
.guide-orb-label strong {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.guide-orb-label small {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--on-dark-muted);
}

.guide-orb-wrap:hover .guide-orb-label,
.guide-orb-label.is-shown {
  opacity: 1;
  transform: translateY(0);
}

.guide-orb {
  pointer-events: auto;
  position: relative;
  width: 72px;
  height: 72px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.4s var(--ease-spring);
}
.guide-orb:hover {
  transform: scale(1.12);
}
.guide-orb:hover .guide-orb-sphere {
  box-shadow:
    0 0 24px 4px rgba(60,130,246,0.45),
    0 0 60px 12px rgba(60,130,246,0.22),
    0 0 100px 24px rgba(40,80,200,0.10),
    inset 0 0 24px 4px rgba(100,160,255,0.18);
}
.guide-orb:active {
  transform: scale(0.94);
}

/* ── Glass sphere shell ── */
.guide-orb-sphere {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 32%, rgba(140,180,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 62% 68%, rgba(30,60,160,0.35) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(10,20,60,0.90) 0%, rgba(4,8,24,0.98) 100%);
  box-shadow:
    0 0 18px 3px rgba(60,130,246,0.35),
    0 0 48px 8px rgba(60,130,246,0.15),
    0 0 80px 16px rgba(40,80,200,0.08),
    inset 0 0 20px 3px rgba(80,130,240,0.12);
  animation: orbSphereBreath 4s ease-in-out infinite;
  transition: box-shadow 0.4s var(--ease);
}
@keyframes orbSphereBreath {
  0%, 100% {
    box-shadow:
      0 0 18px 3px rgba(60,130,246,0.35),
      0 0 48px 8px rgba(60,130,246,0.15),
      0 0 80px 16px rgba(40,80,200,0.08),
      inset 0 0 20px 3px rgba(80,130,240,0.12);
  }
  50% {
    box-shadow:
      0 0 24px 6px rgba(60,130,246,0.45),
      0 0 60px 14px rgba(60,130,246,0.20),
      0 0 96px 22px rgba(40,80,200,0.11),
      inset 0 0 28px 6px rgba(80,130,240,0.18);
  }
}

/* ── Real crystal photo, cropped to a circle and oversized so the
   source image's rectangular background never peeks through ── */
.guide-orb-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
  mix-blend-mode: screen;
  transform-origin: center;
  animation: orbPhotoBreath 4s ease-in-out infinite;
  will-change: transform;
}
@keyframes orbPhotoBreath {
  0%, 100% { transform: scale(1.16); }
  50%      { transform: scale(1.22); }
}
@media (prefers-reduced-motion: reduce) {
  .guide-orb-photo { animation: none; transform: scale(1.18); }
}

/* ── Animated fluid blobs inside the sphere ── */
.guide-orb-fluid {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
}

.guide-orb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  mix-blend-mode: screen;
  will-change: transform;
}
.guide-orb-blob--1 {
  width: 120%;
  height: 120%;
  top: -20%;
  left: -10%;
  background: radial-gradient(circle at 40% 40%, rgba(80,140,255,0.70) 0%, rgba(40,80,200,0.30) 40%, transparent 70%);
  animation: blobSwirl1 6s ease-in-out infinite;
}
.guide-orb-blob--2 {
  width: 100%;
  height: 100%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle at 60% 55%, rgba(30,100,240,0.65) 0%, rgba(20,50,160,0.25) 45%, transparent 70%);
  animation: blobSwirl2 8s ease-in-out infinite;
}
.guide-orb-blob--3 {
  width: 80%;
  height: 80%;
  top: 30%;
  left: 20%;
  background: radial-gradient(circle at 50% 50%, rgba(120,180,255,0.50) 0%, rgba(60,120,220,0.20) 50%, transparent 75%);
  animation: blobSwirl3 7s ease-in-out infinite;
}

@keyframes blobSwirl1 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(8%, 12%) rotate(120deg) scale(1.08); }
  66%  { transform: translate(-6%, 5%) rotate(240deg) scale(0.95); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}
@keyframes blobSwirl2 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(-10%, -8%) rotate(-120deg) scale(1.12); }
  66%  { transform: translate(8%, -5%) rotate(-240deg) scale(0.92); }
  100% { transform: translate(0, 0) rotate(-360deg) scale(1); }
}
@keyframes blobSwirl3 {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(6%, -10%) rotate(180deg) scale(1.15); }
  100% { transform: translate(0, 0) rotate(360deg) scale(1); }
}

/* ── Glass reflection highlight ── */
.guide-orb-glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 2;
  background:
    radial-gradient(ellipse 60% 40% at 35% 25%, rgba(255,255,255,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 20% at 70% 80%, rgba(100,160,255,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Inner bright core ── */
.guide-orb-core {
  position: absolute;
  width: 18px;
  height: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, rgba(255,255,255,0.90) 0%, rgba(140,180,255,0.60) 35%, rgba(60,100,220,0.30) 65%, transparent 100%);
  box-shadow:
    0 0 12px 3px rgba(100,160,255,0.50),
    0 0 30px 6px rgba(60,120,240,0.25);
  z-index: 3;
  animation: orbCorePulse 3s ease-in-out infinite;
}
@keyframes orbCorePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
  50%      { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

/* ── Volumetric outer glow ── */
.guide-orb-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(50,110,240,0.18) 0%, rgba(40,80,200,0.08) 40%, transparent 70%);
  animation: orbGlowPulse 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes orbGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.18); }
}

/* Hide orb when panel is open */
.guide-orb-wrap.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

/* Mobile orb adjustments */
@media (max-width: 768px) {
  .guide-orb-wrap {
    bottom: max(20px, env(safe-area-inset-bottom, 0px) + 16px);
    right: 20px;
  }
  .guide-orb {
    width: 56px;
    height: 56px;
  }
  .guide-orb-core {
    width: 14px;
    height: 14px;
  }
  .guide-orb-blob { filter: blur(6px); }
  .guide-orb-label {
    max-width: 160px;
    padding: 8px 14px;
  }
  .guide-orb-label strong { font-size: 0.625rem; }
  .guide-orb-label small  { font-size: 0.625rem; }
}


/* ── CHAT PANEL ── */
.ai-guide-panel {
  position: fixed;
  z-index: 1201;
  inset: 0;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 74% 18%, rgba(76,111,227,0.16), transparent 30%),
    radial-gradient(circle at 22% 80%, rgba(201,168,76,0.08), transparent 32%),
    rgba(5, 8, 16, 0.98);
  backdrop-filter: blur(28px) saturate(1.35);
  -webkit-backdrop-filter: blur(28px) saturate(1.35);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  width: 100%;
  height: 100vh;
  height: 100dvh;
}

.ai-guide-panel.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.985);
}

/* Panel header */
.guide-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100% - var(--gutter) * 2);
  margin: 0 auto;
  padding: max(24px, env(safe-area-inset-top, 0px) + 16px) 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.guide-panel-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.guide-panel-orb-mini {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 32%, rgba(140,180,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 62% 68%, rgba(30,60,160,0.30) 0%, transparent 55%),
    radial-gradient(circle at 50% 50%, rgba(10,20,60,0.85) 0%, rgba(4,8,24,0.95) 100%);
  box-shadow:
    0 0 12px 2px rgba(60,130,246,0.25),
    0 0 28px 4px rgba(60,130,246,0.10),
    inset 0 0 12px 2px rgba(80,130,240,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-panel-orb-mini .guide-orb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
  mix-blend-mode: screen;
}
.guide-panel-orb-mini .guide-orb-blob--1 {
  width: 110%;
  height: 110%;
  top: -15%;
  left: -5%;
  background: radial-gradient(circle at 40% 40%, rgba(80,140,255,0.55) 0%, rgba(40,80,200,0.20) 40%, transparent 70%);
  animation: blobSwirl1 6s ease-in-out infinite;
}
.guide-panel-orb-mini .guide-orb-blob--2 {
  width: 90%;
  height: 90%;
  top: 10%;
  left: 10%;
  background: radial-gradient(circle at 60% 55%, rgba(30,100,240,0.50) 0%, rgba(20,50,160,0.18) 45%, transparent 70%);
  animation: blobSwirl2 8s ease-in-out infinite;
}
.guide-panel-orb-mini .guide-orb-core {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbCorePulse 3s ease-in-out infinite;
}
.guide-panel-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guide-panel-title {
  font-family: var(--font-mono);
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  font-weight: 700;
  color: var(--on-dark);
  letter-spacing: 0.02em;
}
.guide-panel-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--on-dark-muted);
  line-height: 1.4;
}
@media (max-width: 480px) {
  .guide-panel-subtitle { display: none; }
}

/* Close button in panel header */
.guide-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 244, 242, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.guide-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #F5F4F2;
  transform: rotate(90deg);
}

/* Panel content area */
.guide-panel-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: min(1120px, 100% - var(--gutter) * 2);
  margin: 0 auto;
}

.guide-powered-by-fixed {
  display: block;
  font-family: var(--font-mono); font-size: 0.625rem;
  color: rgba(245, 244, 242, 0.2); letter-spacing: 0.05em;
  text-align: center; padding: 8px 16px max(16px, env(safe-area-inset-bottom, 0px) + 8px);
  flex-shrink: 0;
}

/* Body */
.guide-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 48px) 0 20px;
  display: flex; flex-direction: column; gap: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.guide-body::-webkit-scrollbar { width: 3px; }
.guide-body::-webkit-scrollbar-track { background: transparent; }
.guide-body::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 99px; }

/* Welcome */
.guide-welcome {
  display: flex; flex-direction: column; gap: 12px; padding: 4px 0 16px;
  max-width: 720px;
}
.guide-welcome-line {
  font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.7; color: rgba(245, 244, 242, 0.62);
}
.guide-welcome-line:first-child {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5.25rem);
  color: var(--on-dark); font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.guide-welcome-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  opacity: 0.72;
}

.guide-divider {
  height: 1px; background: rgba(255, 255, 255, 0.08); margin: 16px 0;
}

/* Q&A entries */
.guide-entry { margin-bottom: 20px; }
.guide-entry:last-child { margin-bottom: 0; }

.guide-q {
  font-family: var(--font-mono); font-size: 0.75rem;
  color: #7B9BF5; margin-bottom: 10px; letter-spacing: 0.01em;
  max-width: min(720px, 88%);
}
.guide-q::before { content: '→ '; opacity: 0.55; }

.guide-a {
  font-size: clamp(0.9375rem, 1.3vw, 1.0625rem); color: rgba(245, 244, 242, 0.78); line-height: 1.72;
  white-space: pre-wrap;
  max-width: 760px;
}
.guide-a .code-line {
  display: block; font-family: var(--font-mono); font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm); padding: 10px 13px;
  color: #C9D4F0; margin: 10px 0; word-break: break-all;
}

/* Thinking indicator */
.guide-thinking { display: flex; align-items: center; gap: 7px; padding: 8px 0; }
.guide-thinking-dot {
  width: 5px; height: 5px; background: rgba(245, 244, 242, 0.4); border-radius: 50%;
  animation: think 1.4s infinite;
}
.guide-thinking-dot:nth-child(2) { animation-delay: 0.22s; }
.guide-thinking-dot:nth-child(3) { animation-delay: 0.44s; }
@keyframes think {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.28; }
  30% { transform: translateY(-5px); opacity: 1; }
}

/* Related label */
.guide-related-label {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(245, 244, 242, 0.3); width: 100%; margin-bottom: 4px;
}

/* Input row — fixed at bottom of panel */
.guide-input-row {
  padding: 16px 0 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; gap: 8px; align-items: center;
  flex-shrink: 0;
}

/* ── Lead-capture gate (shown once, before first response) ── */
.guide-lead-gate {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 48px) 0;
}
.guide-lead-gate[hidden] { display: none; }
.guide-lead-gate:not([hidden]) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.guide-lead-gate-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  color: var(--on-dark);
  margin: 0 0 8px;
}
.guide-lead-gate-sub {
  font-size: 0.875rem;
  color: var(--on-dark-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
.guide-lead-field {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 16px;
}
.guide-lead-field label {
  font-size: 0.8125rem; font-weight: 600; color: var(--on-dark-muted);
}
.guide-lead-field input,
.guide-lead-field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--on-dark); font-size: 0.9375rem; font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.guide-lead-field input::placeholder { color: rgba(245,244,242,0.3); }
.guide-lead-field input:focus,
.guide-lead-field select:focus { border-color: var(--blue); background: rgba(255,255,255,0.08); }
.guide-lead-field select option { color: #111; }
.guide-lead-error {
  font-size: 0.75rem; color: var(--danger); min-height: 1em; display: block;
}
.guide-lead-consent-row { margin-bottom: 20px; }
.guide-lead-consent-row label {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 0.8125rem; color: var(--on-dark-muted); line-height: 1.5; cursor: pointer;
}
.guide-lead-consent-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.guide-lead-consent-row a { color: var(--blue); text-decoration: underline; }
.guide-lead-submit-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius-pill);
  padding: 14px 20px;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.9375rem;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.guide-lead-submit-btn:hover { background: var(--blue-h); transform: translateY(-1px); }
.guide-lead-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.guide-lead-status {
  text-align: center; font-size: 0.8125rem; margin-top: 12px; min-height: 1.2em;
}
.guide-lead-status.error   { color: var(--danger); }
.guide-lead-status.success { color: var(--green); }

.guide-input {
  flex: 1; min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-pill);
  padding: 14px 18px;
  color: var(--on-dark); font-size: 1rem; font-family: var(--font-sans);
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.guide-input::placeholder { color: rgba(245, 244, 242, 0.3); }
.guide-input:focus { border-color: var(--blue); background: rgba(255, 255, 255, 0.08); }

.guide-ask-btn {
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius-pill);
  width: 48px; height: 48px; padding: 0;
  font-family: var(--font-sans); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.guide-ask-btn:hover { background: var(--blue-h); transform: scale(1.05); }
.guide-ask-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* Suggestion chips */
.guide-chips-wrap {
  padding: 8px 0 4px;
  display: flex; flex-wrap: wrap; gap: 8px;
  flex-shrink: 0;
}

.guide-chip {
  padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 244, 242, 0.6);
  font-size: 0.8125rem; font-family: var(--font-sans); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.guide-chip:hover {
  background: rgba(76, 111, 227, 0.15); color: #C9D4F0;
  border-color: rgba(76,111,227,0.35);
}

/* ── Mobile: full-screen panel ── */
@media (max-width: 768px) {
  .ai-guide-panel {
    transform-origin: bottom center;
  }
  .ai-guide-panel.is-hidden {
    transform: translateY(100%);
  }
  .guide-panel-header,
  .guide-panel-content {
    width: min(100% - 32px, 1120px);
  }
  .guide-body {
    padding: 24px 0 12px;
  }
  .guide-input-row {
    padding: 12px 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 10px));
  }
  .guide-chips-wrap { padding: 6px 0 4px; max-height: 112px; overflow-y: auto; }
}


/* ---------------------------------------------------------
   14. DEVELOPERS  (warm off-white)
   --------------------------------------------------------- */
.dev-section {
  background: var(--bg);
  padding: var(--section-py) var(--gutter);
}

.dev-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 88px; align-items: start;
}

.dev-points { display: flex; flex-direction: column; margin-top: 52px; }

.dev-point {
  display: flex; gap: 20px; padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.dev-point:first-child { padding-top: 0; }
.dev-point:last-child  { border-bottom: none; padding-bottom: 0; }

.dev-point-num {
  font-family: var(--font-mono); font-size: 0.6875rem;
  font-weight: 700; color: var(--text-dim);
  flex-shrink: 0; width: 22px; padding-top: 2px; letter-spacing: 0.06em;
}

.dev-point-content strong {
  display: block; font-size: 0.9375rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 7px; letter-spacing: -0.012em;
}
.dev-point-content p {
  font-size: 0.9rem; color: var(--text-muted); line-height: 1.64;
}

/* CLI card */
.dev-right { display: flex; flex-direction: column; gap: 20px; }

.dev-cli-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl); overflow: hidden;
  position: sticky; top: 128px;
  box-shadow: var(--shadow-xl);
}

.dev-cli-header {
  padding: 13px 18px; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.02);
}

.dev-cli-dots { display: flex; gap: 6px; }
.dev-cli-dot { width: 9px; height: 9px; border-radius: 50%; }
.dev-cli-dot--r { background: #FF5F57; }
.dev-cli-dot--y { background: #FEBC2E; }
.dev-cli-dot--g { background: #28C840; }

.dev-cli-tab {
  font-family: var(--font-mono); font-size: 0.70rem;
  color: rgba(255,255,255,0.30); margin-left: 6px; letter-spacing: 0.04em;
}

.dev-cli-body { padding: 28px 24px; }

.dev-cli-label {
  font-family: var(--font-mono); font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28); display: block; margin-bottom: 12px;
}

.dev-cli-command {
  font-family: var(--font-mono); font-size: 0.875rem; color: var(--green);
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm); padding: 14px 16px;
  display: block; margin-bottom: 18px; word-break: break-all;
}

.dev-cli-note {
  font-size: 0.8125rem; color: rgba(255,255,255,0.45); line-height: 1.6;
}
.dev-cli-note code {
  font-family: var(--font-mono); font-size: 0.78125rem;
  background: rgba(255,255,255,0.07); padding: 2px 7px;
  border-radius: 4px; color: rgba(255,255,255,0.60);
}

.dev-npm-badge {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: rgba(255,255,255,0.32);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-pill); padding: 5px 12px; letter-spacing: 0.04em;
}
.dev-npm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* What happens card (light) */
.dev-process-card {
  padding: 32px 28px;
  background: var(--bg-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.dev-process-label {
  font-family: var(--font-mono); font-size: 0.625rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 20px; display: block;
}
.dev-process-list { display: flex; flex-direction: column; gap: 14px; }
.dev-process-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.52;
}
.dev-process-check {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px;
  background: rgba(34,197,94,0.10); border: 1px solid rgba(34,197,94,0.22);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--green);
}

@media (max-width: 900px) {
  .dev-layout { grid-template-columns: 1fr; gap: 48px; }
  .dev-cli-card { position: static; }
}


/* ---------------------------------------------------------
   15. COMPANIES  (dark)
   --------------------------------------------------------- */
.company-section {
  background: var(--bg-dark);
  padding: var(--section-py) var(--gutter);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.company-section::before {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(76,111,227,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.company-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 88px; align-items: start; position: relative; z-index: 1;
}

.company-copy .section-label  { color: var(--on-dark-muted); }
.company-copy .section-title  { color: var(--on-dark); }
.company-copy .section-desc   { color: var(--on-dark-muted); max-width: 100%; }

.company-points { display: flex; flex-direction: column; margin-top: 52px; }

.company-point {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.company-point:first-child { padding-top: 0; }
.company-point:last-child  { border-bottom: none; padding-bottom: 0; }

.company-point-icon {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: rgba(255,255,255,0.45);
}

.company-point-content strong {
  display: block; font-size: 0.9375rem; font-weight: 600;
  color: var(--on-dark); margin-bottom: 6px; letter-spacing: -0.012em;
}
.company-point-content p {
  font-size: 0.9rem; color: var(--on-dark-muted); line-height: 1.64;
}

/* Assurance card */
.company-assurance {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-xl); padding: 40px 36px;
  position: sticky; top: 128px;
}

.company-assurance-headline {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  color: var(--on-dark); margin-bottom: 28px; line-height: 1.28;
}

.company-assurance-items { display: flex; flex-direction: column; gap: 18px; }

.company-assurance-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.9375rem; color: var(--on-dark-muted); line-height: 1.52;
}

.company-check {
  width: 18px; height: 18px;
  background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.24);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px; color: var(--green);
}

@media (max-width: 900px) {
  .company-layout { grid-template-columns: 1fr; gap: 48px; }
  .company-assurance { position: static; }
  .company-points { margin-top: 0; }
}


/* ---------------------------------------------------------
   16. TRUST & QUALITY STANDARDS  (warm subtle)
   --------------------------------------------------------- */
.trust-section {
  background: var(--bg-subtle);
  padding: var(--section-py) var(--gutter);
}

.trust-header { margin-bottom: 72px; }

.trust-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 40px;
}

.trust-step {
  background: var(--bg-subtle); padding: 48px 32px;
  transition: background var(--dur) var(--ease);
}
.trust-step:hover { background: var(--bg); }

.trust-step-num {
  font-family: var(--font-mono); font-size: 1.875rem; font-weight: 700;
  color: var(--border-hover); display: block; margin-bottom: 24px; line-height: 1;
}

.trust-step h3 {
  font-size: 0.9375rem; font-weight: 600; color: var(--text-dark);
  margin-bottom: 12px; letter-spacing: -0.012em;
}
.trust-step p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.65;
}

.trust-note {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 28px; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65;
  max-width: 640px;
}
.trust-note strong { color: var(--text-dark); font-weight: 600; }

@media (max-width: 900px) {
  .trust-steps { grid-template-columns: 1fr 1fr; }
  .trust-step { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .trust-steps { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------
   17. FUTURE PLATFORM PREVIEW  (dark)
   --------------------------------------------------------- */
.preview-section {
  background: var(--bg-dark-2);
  padding: var(--section-py) var(--gutter);
}

.preview-header {
  text-align: center; margin-bottom: 56px;
}
.preview-header .section-label { color: var(--on-dark-muted); }
.preview-header .section-title { color: var(--on-dark); }
.preview-header .section-desc  { color: var(--on-dark-muted); margin-inline: auto; text-align: center; }

/* Conceptual marketplace grid */
.concept-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 40px;
}

.concept-card {
  background: #0E1326;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  cursor: default;
}
.concept-card:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-2px);
}

.concept-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}

.concept-category-pill {
  font-family: var(--font-mono); font-size: 0.625rem;
  font-weight: 600; letter-spacing: 0.10em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  color: rgba(255,255,255,0.50);
  border: 1px solid rgba(255,255,255,0.10);
}

.concept-verified-badge {
  font-family: var(--font-mono); font-size: 0.625rem;
  font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--radius-pill);
  color: var(--green);
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.18);
  display: flex; align-items: center; gap: 5px;
}
.concept-verified-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

.concept-agent-title {
  font-size: 1rem; font-weight: 600; color: var(--on-dark);
  margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em;
}

.concept-agent-desc {
  font-size: 0.8125rem; color: var(--on-dark-muted); line-height: 1.6; margin-bottom: 24px;
}

.concept-agent-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.06);
}

.concept-creator {
  display: flex; align-items: center; gap: 8px;
}

.concept-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(76,111,227,0.4), rgba(76,111,227,0.2));
  border: 1px solid rgba(76,111,227,0.3);
  flex-shrink: 0;
}

.concept-creator span {
  font-family: var(--font-mono); font-size: 0.6875rem;
  color: var(--on-dark-dim); letter-spacing: 0.02em;
}

.concept-price {
  font-family: var(--font-mono); font-size: 0.8125rem;
  font-weight: 700; color: var(--on-dark); letter-spacing: -0.01em;
}

/* "Conceptual" disclaimer */
.concept-disclaimer {
  text-align: center;
  font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--on-dark-dim); letter-spacing: 0.10em; text-transform: uppercase;
  margin-top: 20px; line-height: 1.8;
}

.hire-dev-callout {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 32px; padding: 24px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
}
.hire-dev-callout-text strong {
  display: block; color: var(--on-dark); font-size: 1rem; margin-bottom: 4px;
}
.hire-dev-callout-text p {
  color: var(--on-dark-muted); font-size: 0.9rem; line-height: 1.6; margin: 0;
}
.hire-dev-callout .btn { flex-shrink: 0; }

@media (max-width: 900px) {
  .concept-grid { grid-template-columns: 1fr; gap: 12px; }
  .concept-card { padding: 24px; }
  .hire-dev-callout { flex-direction: column; align-items: flex-start; }
  .hire-dev-callout .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .concept-grid { grid-template-columns: 1fr; }
}


/* ---------------------------------------------------------
   18. FAQ  (warm off-white)
   --------------------------------------------------------- */
.faq-section {
  background: var(--bg);
  padding: var(--section-py) var(--gutter);
}

.faq-header { margin-bottom: 56px; text-align: center; }

.faq-list {
  max-width: 720px; margin: 0 auto;
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 28px;
  font-size: 0.9375rem; font-weight: 600; color: var(--text-dark);
  text-align: left; background: var(--bg);
  transition: background var(--dur) var(--ease); cursor: pointer;
  border: none; letter-spacing: -0.01em; line-height: 1.4;
}
.faq-question:hover { background: var(--bg-subtle); }
.is-active .faq-question { background: var(--bg-subtle); }

.faq-icon {
  width: 24px; height: 24px; border: 1px solid var(--border-hover); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text-muted); position: relative;
  transition: border-color var(--dur) var(--ease);
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: currentColor; border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }
.is-active .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.is-active .faq-icon { border-color: var(--blue); color: var(--blue); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1); }
.is-active .faq-answer { max-height: 600px; }
.faq-answer p { padding: 0 28px 26px; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.68; }
.faq-answer a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }


/* ---------------------------------------------------------
   19. COUNTDOWN  (dark)
   --------------------------------------------------------- */
.countdown-section {
  background: var(--bg-dark);
  padding: var(--section-py) var(--gutter);
  text-align: center; position: relative; overflow: hidden;
}
.countdown-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(76,111,227,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.countdown-inner { position: relative; z-index: 1; }

.countdown-label {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--on-dark-dim); margin-bottom: 20px; display: block;
}

.countdown-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3rem); font-weight: 700;
  color: var(--on-dark); margin-bottom: 24px; letter-spacing: -0.022em;
}

.countdown-inner .section-desc { color: var(--on-dark-muted); margin-inline: auto; text-align: center; }

.countdown-footer { font-size: 0.9375rem; color: var(--on-dark-muted); margin-top: 40px; }

/* Launch calendar card + live countdown timer */
.launch-calendar-wrap {
  margin: 48px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.launch-calendar-card {
  position: relative;
  width: 148px;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(0,0,0,0.35), 0 2px 8px rgba(0,0,0,0.20);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.launch-calendar-wrap:hover .launch-calendar-card { transform: rotate(0deg) scale(1.02); }

.launch-calendar-hanger {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 8px;
  background: rgba(0,0,0,0.10);
  border-radius: var(--radius-pill);
  z-index: 2;
}

.launch-calendar-top {
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 20px 0 10px;
}

.launch-calendar-day {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  color: var(--text-dark);
  padding: 14px 0 4px;
}

.launch-calendar-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--text-muted);
  padding-bottom: 18px;
}

.launch-timer {
  display: flex;
  gap: 16px;
}

.launch-timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 18px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.launch-timer-value {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--on-dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.launch-timer-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  margin-top: 6px;
}

@media (max-width: 640px) {
  .launch-calendar-wrap { gap: 24px; }
  .launch-timer { gap: 10px; }
  .launch-timer-unit { min-width: 60px; padding: 14px 8px; }
}
@media (max-width: 420px) {
  .launch-calendar-wrap { flex-direction: column; }
  .launch-timer { gap: 8px; }
  .launch-timer-unit { min-width: 56px; padding: 12px 4px; }
}


/* ---------------------------------------------------------
   20. WAITLIST  (dark)
   --------------------------------------------------------- */
.waitlist-section {
  background: var(--bg-dark-2);
  padding: var(--section-py) var(--gutter);
  color: var(--on-dark);
}

.waitlist-layout {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 88px; align-items: start;
}

.waitlist-copy .section-label { color: var(--on-dark-muted); }
.waitlist-copy .section-title { color: var(--on-dark); margin-bottom: 16px; }
.waitlist-copy .section-desc  { color: var(--on-dark-muted); max-width: 100%; }

/* Role notes */
.waitlist-role-note {
  margin-top: 32px; padding: 20px 24px;
  border: 1px solid var(--border-dark-h); border-radius: var(--radius);
  font-size: 0.9rem; line-height: 1.62; color: var(--on-dark-muted);
  background: rgba(255,255,255,0.04); display: none;
}
.waitlist-role-note.is-active { display: block; }
.waitlist-role-note strong { color: var(--on-dark); font-weight: 600; display: block; margin-bottom: 8px; }

.launch-note {
  display: inline-flex; align-items: flex-start; gap: 10px;
  margin-top: 28px; padding: 16px 20px;
  border: 1px solid var(--border-dark); border-radius: var(--radius);
  font-size: 0.875rem; color: var(--on-dark-muted); line-height: 1.52;
  background: rgba(255,255,255,0.03);
}
.launch-note-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0; margin-top: 4px;
}

/* Form card */
.waitlist-card {
  background: var(--bg); border-radius: var(--radius-xl);
  padding: 48px; box-shadow: var(--shadow-dark);
}

.waitlist-form { display: flex; flex-direction: column; gap: 22px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.875rem; font-weight: 600; color: var(--text-dark);
  letter-spacing: -0.008em;
}
.form-group label abbr { color: var(--blue); text-decoration: none; margin-left: 2px; }
.form-optional { font-weight: 400; color: var(--text-muted); font-size: 0.8125rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem; font-family: var(--font-sans);
  color: var(--text-dark); background: var(--bg);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none; appearance: none; -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10,22,40,0.08);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23655E58' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 40px; cursor: pointer;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-error { font-size: 0.8125rem; color: var(--danger); font-weight: 500; min-height: 1.3em; }

.form-group--checkbox label {
  display: flex; align-items: flex-start; gap: 10px;
  font-weight: 400; cursor: pointer;
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.52;
}
.form-group--checkbox input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 17px; height: 17px; border-radius: 4px; flex-shrink: 0;
  margin-top: 2px; cursor: pointer; accent-color: var(--navy);
  border: 1.5px solid var(--border-hover); background: var(--bg);
}

.form-submit { width: 100%; justify-content: center; padding: 15px 24px; font-size: 1rem; }

.form-status {
  font-size: 0.9rem; text-align: center; min-height: 1.4em;
  padding: 12px 16px; border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.form-status.success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(22,163,74,0.20); font-weight: 500; }
.form-status.error   { background: var(--danger-bg);  color: var(--danger);  border: 1px solid rgba(220,38,38,0.20); font-weight: 500; }

.discord-cta, .personal-cta {
  padding: 16px 18px; border-radius: var(--radius-sm);
  font-size: 0.9rem; line-height: 1.55;
}
.discord-cta { background: rgba(88,101,242,0.07); border: 1px solid rgba(88,101,242,0.16); color: var(--text-body); }
.personal-cta{ background: var(--success-bg); border: 1px solid rgba(22,163,74,0.16); color: var(--text-body); }
.discord-cta a, .personal-cta a {
  color: var(--blue); text-decoration: underline; text-underline-offset: 2px; font-weight: 500;
}

@media (max-width: 900px) {
  .waitlist-layout { grid-template-columns: 1fr; gap: 48px; }
  .waitlist-card { padding: 32px 24px; }
}


/* ---------------------------------------------------------
   21. FOOTER
   --------------------------------------------------------- */
.site-footer {
  background: #040608;
  padding: 72px var(--gutter) 36px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 64px; margin-bottom: 64px;
}

.footer-brand p {
  font-size: 0.875rem; color: var(--on-dark-muted);
  margin-top: 14px; max-width: 210px; line-height: 1.65;
}

.footer-logo-img {
  height: 26px; width: auto;
  filter: brightness(0) invert(1); opacity: 0.45;
  transition: opacity var(--dur) var(--ease);
}
.footer-logo-img:hover { opacity: 0.80; }

.footer-links { display: flex; gap: 72px; flex-wrap: wrap; }

.footer-link-group { display: flex; flex-direction: column; gap: 14px; }

.footer-link-group strong {
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700;
  color: rgba(255,255,255,0.28); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 2px;
}

.footer-link-group a {
  font-size: 0.875rem; color: var(--on-dark-muted);
  transition: color var(--dur) var(--ease);
  padding: 6px 0; margin: -6px 0; display: inline-block;
}
.footer-link-group a:hover { color: var(--on-dark); }

.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 0.8125rem; color: var(--on-dark-dim); }

@media (max-width: 700px) {
  .footer-inner { flex-direction: column; gap: 48px; }
  .footer-links { gap: 36px; }
}


/* ---------------------------------------------------------
   22. GLOBAL RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-py: 96px; }
}
@media (max-width: 768px) {
  :root { --section-py: 80px; }
  .section-desc { max-width: 100%; }
}
@media (max-width: 480px) {
  :root { --section-py: 64px; --gutter: 18px; }
  .btn--lg { padding: 14px 28px; font-size: 0.9375rem; }
}


/* ---------------------------------------------------------
   23. CUSTOM CURSOR GLOW  (desktop, fine-pointer only)
   A soft trailing glow, purely decorative, never blocks clicks.
   Disabled entirely on touch/coarse-pointer devices and under
   prefers-reduced-motion. See script.js for the trailing-lag logic.
   --------------------------------------------------------- */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,111,227,0.38) 0%, rgba(76,111,227,0.14) 45%, transparent 72%);
  filter: blur(1px);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) scale(1);
  transition: opacity 0.3s var(--ease), width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), margin 0.3s var(--ease-spring), background 0.3s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }
.cursor-glow.is-hover {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  background: radial-gradient(circle, rgba(76,111,227,0.48) 0%, rgba(76,111,227,0.16) 45%, transparent 72%);
}
.cursor-glow.is-down { opacity: 0.7; }

/* Never render on touch/coarse-pointer devices, and never animate
   under reduced motion, a static page is the correct fallback here. */
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none !important; }
}


/* ---------------------------------------------------------
   24. COOKIE CONSENT BANNER
   --------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1300;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(7,10,18,0.94);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(0,0,0,0.40);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.cookie-banner-text {
  flex: 1 1 320px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--on-dark-muted);
  margin: 0;
}
.cookie-banner-text a { color: var(--blue); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn--outline { color: var(--on-dark); border-color: var(--border-dark-h); }
.cookie-banner .btn--outline:hover { background: rgba(255,255,255,0.08); }

@media (max-width: 560px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn { flex: 1; justify-content: center; }
}