/* ==========================================================================
   TAURUS MARKETING SITE — Night CEO Design System
   Glassmorphism × Emerald × Executive Luxury
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Night CEO palette */
  --c-bg:           #061316;
  --c-bg2:          #091a1f;
  --c-bg3:          #10252b;
  --c-border:       #18333a;
  --c-text:         #dbe7e4;
  --c-muted:        #7f9a94;
  --c-accent:       #63e6cf;
  --c-marker:       #63e6cf;
  --c-marker-bright:#b9f8ec;
  --c-marker-glow1: rgba(99, 230, 207, 0.62);
  --c-marker-glow2: rgba(99, 230, 207, 0.28);
  --c-marker-glow3: rgba(99, 230, 207, 0.12);
  --c-hover:        rgba(99, 230, 207, 0.08);

  /* Button tokens (Night CEO — glassy neon, NOT solid) */
  --c-btn-primary-from:        rgba(99, 230, 207, 0.18);
  --c-btn-primary-to:          rgba(99, 230, 207, 0.08);
  --c-btn-primary-hover-from:  rgba(99, 230, 207, 0.28);
  --c-btn-primary-hover-to:    rgba(99, 230, 207, 0.14);
  --c-btn-primary-text:        #dffcf5;
  --c-btn-primary-shine:       rgba(99, 230, 207, 0.12);
  --c-btn-primary-border:      rgba(99, 230, 207, 0.35);
  --c-btn-primary-border-hover:rgba(99, 230, 207, 0.62);
  --c-btn-primary-glow:        rgba(99, 230, 207, 0.14);
  --c-btn-primary-glow-hover:  rgba(99, 230, 207, 0.26);

  /* Derived */
  --c-bg-glass:     rgba(7, 19, 22, 0.86);
  --c-bg-glass2:    rgba(9, 24, 28, 0.78);
  --c-bg-card:      rgba(12, 28, 33, 0.72);
  --c-bg-card-hover:rgba(16, 37, 43, 0.82);
  --c-shadow:       rgba(0, 0, 0, 0.26);
  --c-shadow-lg:    rgba(0, 0, 0, 0.40);
  --c-warn:         #f0b866;

  /* Layout */
  --container-max:  1120px;
  --header-h:       52px;
  --radius-sm:      6px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-xl:      20px;

  /* Typography */
  --font-heading:   'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:      'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:      'JetBrains Mono', 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Transitions */
  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:       0.15s;
  --dur-med:        0.3s;
  --dur-slow:       0.5s;
}

/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;      /* prevent rubber-band overscroll revealing bg edge */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(99, 230, 207, 0.08), transparent 36%),
    linear-gradient(180deg, #061316 0%, #08191d 100%);
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Grid-line background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 230, 207, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 230, 207, 0.035) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Ensure all content sits above the grid */
body > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
a:hover {
  color: var(--c-marker-bright);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--c-text);
}

/* Utility text colors */
.c-accent { color: var(--c-accent); }
.c-bright { color: var(--c-marker-bright); }
.c-warn   { color: var(--c-warn); }
.c-muted  { color: var(--c-muted); }

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-marker-bright) 50%, var(--c-accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 0.05em;         /* prevent clip on last-char descenders/serifs */
}

/* --------------------------------------------------------------------------
   2. SCROLLBAR
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--c-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--c-border);
  border-radius: 4px;
  border: 2px solid var(--c-bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--c-muted);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--c-border) var(--c-bg);
}

/* --------------------------------------------------------------------------
   3. CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   4. BUTTONS — Multi-Layer Glass System
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease,
    box-shadow var(--dur-med) ease,
    transform var(--dur-fast) ease;

  /* Multi-layer glass background */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 15%, transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,0.025) 0%, transparent 30%),
    var(--c-bg3);

  /* Inner highlight + outer shadow */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.3);

  overflow: hidden;
  z-index: 1;
}

/* Specular highlight band */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 100%);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  pointer-events: none;
  z-index: 2;
}

.btn:hover {
  border-color: rgba(99, 230, 207, 0.25);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 15%, transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,0.03) 0%, transparent 30%),
    var(--c-bg3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 2px 4px rgba(0, 0, 0, 0.3),
    0 1px 4px rgba(0, 0, 0, 0.3);
}

/* --- Primary: Glassy neon glow (ported from app's .btn.primary) ---
   Dark glass body with emerald light bleeding through edges.
   NOT a solid emerald button — it's translucent neon glass. */
.btn--primary {
  color: var(--c-btn-primary-text);
  font-weight: 500;
  border: 1px solid var(--c-marker-glow2);

  background:
    /* bright specular highlight at top */
    linear-gradient(
      180deg,
      var(--c-marker-glow1) 0%,
      var(--c-marker-glow2) 6%,
      transparent 35%
    ),
    /* center radial bloom — glowing core */
    radial-gradient(
      ellipse 100% 80% at 50% 20%,
      var(--c-marker-glow3) 0%,
      transparent 65%
    ),
    /* bottom rim light */
    linear-gradient(
      0deg,
      var(--c-marker-glow3) 0%,
      transparent 35%
    ),
    /* body gradient */
    linear-gradient(
      180deg,
      var(--c-btn-primary-from) 0%,
      var(--c-btn-primary-to) 100%
    );

  box-shadow:
    /* bright inner top edge */
    inset 0 1px 0 var(--c-marker-glow1),
    /* inner bottom depth */
    inset 0 -1px 8px var(--c-marker-glow3),
    /* outer neon glow (layered for bloom) */
    0 0 8px var(--c-btn-primary-glow),
    0 0 20px var(--c-btn-primary-glow);
}

/* Override base ::before with accent-colored glass highlight */
.btn--primary::before {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(255, 255, 255, 0.10) 5%,
      rgba(255, 255, 255, 0.03) 18%,
      transparent 45%
    );
}

/* Soft bloom pseudo-element */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      ellipse 60% 50% at 50% 0%,
      var(--c-marker-glow2) 0%,
      transparent 100%
    );
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.btn--primary:hover {
  background:
    linear-gradient(
      180deg,
      var(--c-marker-glow1) 0%,
      var(--c-marker-glow1) 4%,
      transparent 30%
    ),
    radial-gradient(
      ellipse 110% 90% at 50% 15%,
      var(--c-marker-glow2) 0%,
      transparent 60%
    ),
    linear-gradient(
      0deg,
      var(--c-marker-glow2) 0%,
      transparent 35%
    ),
    linear-gradient(
      180deg,
      var(--c-btn-primary-hover-from) 0%,
      var(--c-btn-primary-hover-to) 100%
    );
  border-color: var(--c-marker-glow1);
  box-shadow:
    inset 0 1px 0 var(--c-marker-glow1),
    inset 0 -1px 10px var(--c-marker-glow2),
    0 0 12px var(--c-btn-primary-glow),
    0 0 28px var(--c-btn-primary-glow),
    0 0 48px rgba(99, 230, 207, 0.06);
  transform: translateY(-0.5px);
}

.btn--primary:hover::before {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.35) 0%,
      rgba(255, 255, 255, 0.14) 5%,
      rgba(255, 255, 255, 0.04) 20%,
      transparent 50%
    );
}

.btn--primary:hover::after {
  opacity: 0.85;
}

.btn--primary:active {
  transform: translateY(0.5px);
  box-shadow:
    inset 0 2px 8px var(--c-marker-glow2),
    0 0 6px var(--c-btn-primary-glow);
}

.btn--primary:active::before { opacity: 0.3; }
.btn--primary:active::after  { opacity: 0.3; }

/* --- Glass variant --- */
.btn--glass {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 15%, transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,0.015) 0%, transparent 30%),
    rgba(12, 28, 33, 0.5);
  border-color: rgba(99, 230, 207, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--c-accent);
}

.btn--glass:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 15%, transparent 40%),
    linear-gradient(0deg, rgba(255,255,255,0.02) 0%, transparent 30%),
    rgba(16, 37, 43, 0.6);
  border-color: rgba(99, 230, 207, 0.3);
  color: var(--c-marker-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.3),
    0 0 20px var(--c-marker-glow3);
}

/* Size variants */
.btn--sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1rem;
  border-radius: 12px;
}

/* --------------------------------------------------------------------------
   5. HEADER — Fixed Glass Panel
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(6, 19, 22, 0.35);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(24, 51, 58, 0.25);
  box-shadow: none;
  transition: background var(--dur-med) ease, box-shadow var(--dur-med) ease, border-color var(--dur-med) ease;
}

.header--scrolled {
  background: rgba(6, 19, 22, 0.72);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom-color: rgba(24, 51, 58, 0.6);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
  flex-shrink: 0;
  margin-right: auto;             /* push everything else to the right */
}

.header__logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

/* Logo text — matches app's .logo class exactly:
   monospace, uppercase, wide tracking */
.header__logo-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text);
  margin-top: 1px;
  margin-left: 3px;
}

/* --------------------------------------------------------------------------
   6. NAVIGATION — Tab-bar glow system (ported from app)
   -------------------------------------------------------------------------- */
.nav {
  display: flex;
  align-items: stretch;          /* stretch links to header height */
  height: 100%;                  /* fill header */
  gap: 0;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;               /* vertical padding handled by stretch */
  font-size: 0.8125rem;
  font-weight: 450;
  color: var(--c-muted);
  text-decoration: none;
  position: relative;
  transition: color 0.1s ease, background 0.1s ease;
  border-radius: 0;
}

/* Bottom accent line — the neon glow pseudo-element */
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: transparent;
  box-shadow: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  clip-path: inset(-50px 0 -50px 0);
}

/* Hover state — same glow system as active, slightly dimmed */
.nav__link:hover:not(.nav__link--active) {
  color: var(--c-text);
  background: linear-gradient(180deg, transparent 0%, var(--c-marker-glow3) 100%);
}

.nav__link:hover:not(.nav__link--active)::after {
  background: var(--c-marker);
  box-shadow:
    0 0  2px var(--c-marker),
    0 0  6px var(--c-marker-glow1),
    0 0 14px var(--c-marker-glow2),
    0 0 22px var(--c-marker-glow3);
}

/* Active state — full brightness glow + gradient bg */
.nav__link--active {
  color: var(--c-text);
  background: linear-gradient(180deg, transparent 0%, var(--c-marker-glow2) 100%);
}

.nav__link--active:hover {
  background: linear-gradient(180deg, transparent 0%, var(--c-marker-glow2) 100%);
}

.nav__link--active::after {
  background: var(--c-marker-bright);
  box-shadow:
    0 0  2px var(--c-marker-bright),
    0 0  6px var(--c-marker-glow1),
    0 0 14px var(--c-marker-glow2),
    0 0 28px var(--c-marker-glow3);
}

/* Sign in — accent color to distinguish from page links */
.nav__link--sign-in {
  color: var(--c-accent);
  font-weight: 500;
}

.nav__link--sign-in:hover {
  color: var(--c-marker-bright);
}

/* CTA button — self-center, don't stretch */
.nav__cta {
  margin-left: 12px;
  align-self: center;
}

/* --------------------------------------------------------------------------
   7. MOBILE NAV TOGGLE
   -------------------------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  background: var(--c-muted);
  border-radius: 1px;
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast) ease;
}

.nav-toggle--open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle--open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle--open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--header-h);
  background: rgba(6, 19, 22, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
}

.nav-overlay--open {
  display: flex;
}

.nav-overlay__link {
  display: block;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-muted);
  text-decoration: none;
  border-radius: 0;
  transition: color 0.1s ease, background 0.1s ease;
  text-align: center;
  width: 100%;
  max-width: 320px;
  position: relative;
}

/* Left accent glow on mobile (vertical nav = left edge) */
.nav-overlay__link::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: transparent;
  box-shadow: none;
  transition: background 0.15s ease, box-shadow 0.15s ease;
  clip-path: inset(0 -50px 0 -50px);
}

.nav-overlay__link:hover {
  color: var(--c-text);
  background: var(--c-hover);
}

.nav-overlay__link:hover::before {
  background: var(--c-marker);
  box-shadow:
    0 0  4px var(--c-marker-glow1),
    0 0 10px var(--c-marker-glow2),
    0 0 20px var(--c-marker-glow3);
}

.nav-overlay__link--active {
  color: var(--c-text);
  background: linear-gradient(90deg, var(--c-marker-glow2) 0%, transparent 100%);
}

.nav-overlay__link--active::before {
  background: var(--c-marker-bright);
  box-shadow:
    0 0  2px var(--c-marker-bright),
    0 0  6px var(--c-marker-glow1),
    0 0 14px var(--c-marker-glow2),
    0 0 28px var(--c-marker-glow3);
}

.nav-overlay__cta {
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   8. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 80px;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

/* Atmospheric effects */
.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero__glow--1 {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, var(--c-marker-glow3) 0%, transparent 70%);
  opacity: 0.8;
}

.hero__glow--2 {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 230, 207, 0.06) 0%, transparent 70%);
}

.hero__glow--3 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(99, 230, 207, 0.04) 0%, transparent 70%);
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 230, 207, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 230, 207, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 20%, transparent 80%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero prompt (removed — kept as placeholder for animation timing) */
.hero__prompt--legacy {
  display: none;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--c-muted);
  margin-bottom: 28px;
  white-space: nowrap;
}

.hero__prompt-prefix {
  color: var(--c-accent);
  margin-right: 8px;
  user-select: none;
}

.hero__prompt-text {
  color: var(--c-muted);
  transition: color 0.3s ease;
}

/* Scramble chars get accent color as they resolve */
.hero__prompt-text .resolved {
  color: var(--c-text);
}

.hero__prompt-cursor {
  color: var(--c-accent);
  animation: cursor-blink 1s step-end infinite;
  margin-left: 1px;
  font-weight: 300;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Hero Showcase (browser mockup) --- */
.hero__showcase {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 56px auto 0;
  padding: 0 24px;
}

/* ── Glass picture frame ──
   Thick translucent bezel around the screenshot.
   Same multi-layer glass treatment as buttons:
   specular highlight + inner depth + neon border bleed + backdrop blur. */
.hero__frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  /* Thick glass padding = the bezel */
  padding: 14px;

  /* Multi-layer glass background — light on LEFT and RIGHT edges,
     so the bezel reads clearly against the dark screenshot */
  background:
    /* left edge glow — emerald light caught in the glass */
    linear-gradient(
      90deg,
      rgba(99, 230, 207, 0.09) 0%,
      rgba(99, 230, 207, 0.03) 6%,
      transparent 30%
    ),
    /* right edge glow — symmetric */
    linear-gradient(
      270deg,
      rgba(99, 230, 207, 0.09) 0%,
      rgba(99, 230, 207, 0.03) 6%,
      transparent 30%
    ),
    /* subtle top specular — very faint, glass still catches overhead light */
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 20%
    ),
    /* body — dark translucent glass */
    rgba(9, 24, 28, 0.72);

  backdrop-filter: blur(28px) saturate(1.3);
  -webkit-backdrop-filter: blur(28px) saturate(1.3);

  /* Neon border — emerald light bleeding through the glass edge */
  border: 1px solid rgba(99, 230, 207, 0.12);

  box-shadow:
    /* inner left specular edge — light hitting the bezel side */
    inset 1px 0 0 rgba(255, 255, 255, 0.07),
    /* inner right specular edge */
    inset -1px 0 0 rgba(255, 255, 255, 0.07),
    /* inner left emerald glow — neon trapped in the glass edge */
    inset 3px 0 12px rgba(99, 230, 207, 0.06),
    /* inner right emerald glow */
    inset -3px 0 12px rgba(99, 230, 207, 0.06),
    /* subtle top/bottom specular (very faint) */
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    /* outer left neon bleed */
    -12px 0 40px rgba(99, 230, 207, 0.06),
    /* outer right neon bleed */
    12px 0 40px rgba(99, 230, 207, 0.06),
    /* depth shadow */
    0 32px 100px rgba(0, 0, 0, 0.50),
    0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Left-side specular highlight — vertical glass reflection */
.hero__frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.05) 0%,
      rgba(255, 255, 255, 0.015) 15%,
      transparent 50%
    );
  pointer-events: none;
  z-index: 2;
}

/* Right-side glow line — emerald neon along the right edge */
.hero__frame::after {
  content: '';
  position: absolute;
  top: 10%;
  bottom: 10%;
  right: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(99, 230, 207, 0.2) 20%,
    rgba(99, 230, 207, 0.3) 50%,
    rgba(99, 230, 207, 0.2) 80%,
    transparent 100%
  );
  z-index: 3;
}

/* Screenshot — fills the inner area, rounded inside the bezel */
.hero__screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-xl) - 8px);
  position: relative;
  z-index: 1;
  /* Inner edge glow — light refracting at the glass-content boundary */
  box-shadow:
    0 0 0 1px rgba(99, 230, 207, 0.08),
    0 0 12px rgba(0, 0, 0, 0.4);
}

/* Screenshot fallback — styled mock UI */
.hero__screenshot-fallback {
  display: none;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 40%, rgba(99, 230, 207, 0.04), transparent 50%),
    var(--c-bg);
}

/* Show fallback when screenshot is hidden */
.hero__screenshot-fallback--active {
  display: block;
}

/* Glow beneath the browser frame */
.hero__showcase-glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 160px;
  background:
    radial-gradient(ellipse 100% 100%, var(--c-marker-glow2) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   9. SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding: 96px 0;
  position: relative;
}

.section--no-pt {
  padding-top: 0;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
  opacity: 0.9;
}

.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.0625rem;
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. TRUST BAR
   -------------------------------------------------------------------------- */
.trust-bar {
  padding: 40px 0;
  border-top: 1px solid rgba(24, 51, 58, 0.4);
  border-bottom: 1px solid rgba(24, 51, 58, 0.4);
}

.trust-bar__items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-muted);
  white-space: nowrap;
}

.trust-bar__item-icon {
  font-size: 1rem;
  opacity: 0.7;
}

.trust-bar__divider {
  width: 1px;
  height: 20px;
  background: var(--c-border);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. GLASS GRID — Feature Cards
   -------------------------------------------------------------------------- */
.glass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.glass-card {
  position: relative;
  padding: 28px 24px;
  background: var(--c-bg-card);
  border: 1px solid rgba(24, 51, 58, 0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background var(--dur-med) ease,
    border-color var(--dur-med) ease,
    box-shadow var(--dur-med) ease,
    transform var(--dur-med) var(--ease-out);
  overflow: hidden;

  /* Specular highlight */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.2);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  pointer-events: none;
}

.glass-card:hover {
  background: var(--c-bg-card-hover);
  border-color: rgba(99, 230, 207, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 0 30px var(--c-marker-glow3);
  transform: translateY(-2px);
}

.glass-card__icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  display: block;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 230, 207, 0.06);
  border: 1px solid rgba(99, 230, 207, 0.1);
  border-radius: var(--radius-sm);
}

.glass-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-text);
}

.glass-card__text {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. CAPABILITY GRID
   -------------------------------------------------------------------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.capability {
  padding: 20px;
  background: rgba(9, 26, 31, 0.5);
  border: 1px solid rgba(24, 51, 58, 0.4);
  border-radius: var(--radius-md);
  text-align: center;
  transition:
    background var(--dur-fast) ease,
    border-color var(--dur-fast) ease;
}

.capability:hover {
  background: rgba(16, 37, 43, 0.5);
  border-color: rgba(99, 230, 207, 0.15);
}

.capability__icon {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.capability__title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--c-text);
}

.capability__text {
  font-size: 0.75rem;
  color: var(--c-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   13. STEPS
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.step-glass {
  position: relative;
  padding: 28px 24px;
  background: var(--c-bg-card);
  border: 1px solid rgba(24, 51, 58, 0.6);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.2);
  transition: border-color var(--dur-med) ease, box-shadow var(--dur-med) ease;
}

.step-glass:hover {
  border-color: rgba(99, 230, 207, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 0 20px var(--c-marker-glow3);
}

.step-glass__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--c-accent);
  background: rgba(99, 230, 207, 0.08);
  border: 1px solid rgba(99, 230, 207, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.step-glass__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-text);
}

.step-glass__text {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* Connector line between steps */
.step-glass__connector {
  display: none;
  position: absolute;
  top: 42px;
  right: -24px;
  width: 24px;
  height: 2px;
  z-index: 10;
}

.step-glass__connector::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-border), rgba(99, 230, 207, 0.2));
}

/* --------------------------------------------------------------------------
   14. STATS ROW
   -------------------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-glass {
  padding: 24px 20px;
  background: var(--c-bg-card);
  border: 1px solid rgba(24, 51, 58, 0.6);
  border-radius: var(--radius-lg);
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 4px 16px rgba(0, 0, 0, 0.15);
  transition: border-color var(--dur-med) ease, box-shadow var(--dur-med) ease;
}

.stat-glass:hover {
  border-color: rgba(99, 230, 207, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 16px var(--c-marker-glow3);
}

.stat-glass__value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-accent);
  margin-bottom: 4px;
}

.stat-glass__label {
  font-size: 0.8125rem;
  color: var(--c-muted);
  font-weight: 450;
}

/* --------------------------------------------------------------------------
   15. ARCHITECTURE / CODE BLOCK
   -------------------------------------------------------------------------- */
.arch-block {
  background: var(--c-bg-glass);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.arch-block__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(9, 24, 28, 0.9);
  border-bottom: 1px solid var(--c-border);
}

.arch-block__dots {
  display: flex;
  gap: 6px;
}

.arch-block__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-bg3);
  border: 1px solid rgba(255,255,255,0.06);
}

.arch-block__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--c-muted);
}

.arch-block__body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.75;
  color: var(--c-muted);
  overflow-x: auto;
}

.arch-block__body .c-accent { color: var(--c-accent); }
.arch-block__body .c-bright { color: var(--c-marker-bright); }
.arch-block__body .c-warn   { color: var(--c-warn); }

/* --------------------------------------------------------------------------
   15b. MODEL GRID — Role → Model mapping
   -------------------------------------------------------------------------- */
.model-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--c-bg-card);
  border: 1px solid rgba(24, 51, 58, 0.6);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.2);
}

.model-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(24, 51, 58, 0.4);
  transition: background var(--dur-fast) ease;
}

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

.model-row:hover {
  background: rgba(16, 37, 43, 0.4);
}

.model-row__role {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text);
  min-width: 100px;
  flex-shrink: 0;
}

.model-row__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--c-border), transparent);
  min-width: 24px;
}

.model-row__model {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-accent);
  white-space: nowrap;
}

.model-row__tag {
  font-size: 0.6875rem;
  color: var(--c-muted);
  background: rgba(99, 230, 207, 0.06);
  border: 1px solid rgba(99, 230, 207, 0.1);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  white-space: nowrap;
}

.model-footnote {
  text-align: center;
  font-size: 0.875rem;
  color: var(--c-muted);
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   15c. LAYOUT VARIANTS
   -------------------------------------------------------------------------- */

/* 3-column capability grid */
.capability-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* 3-column stats row */
.stats-row--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* --------------------------------------------------------------------------
   16. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, var(--c-marker-glow3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

.cta-section__text {
  font-size: 1.0625rem;
  color: var(--c-muted);
  margin-top: 16px;
  margin-bottom: 32px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(24, 51, 58, 0.4);
  background: rgba(6, 19, 22, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--c-text);
  margin-bottom: 14px;
}

.footer__logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer__logo-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text);
}

.footer__desc {
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.65;
}

.footer__group-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  font-size: 0.8125rem;
  color: rgba(127, 154, 148, 0.8);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.footer__link:hover {
  color: var(--c-accent);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 51, 58, 0.3);
  font-size: 0.75rem;
  color: rgba(127, 154, 148, 0.5);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  color: rgba(127, 154, 148, 0.5);
  transition: color var(--dur-fast) ease;
  font-size: 0.8125rem;
}

.footer__social a:hover {
  color: var(--c-accent);
}

/* --------------------------------------------------------------------------
   18. PRICING PAGE
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

.pricing-card {
  position: relative;
  padding: 32px 28px;
  background: var(--c-bg-card);
  border: 1px solid rgba(24, 51, 58, 0.6);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.2);
  transition:
    border-color var(--dur-med) ease,
    box-shadow var(--dur-med) ease,
    transform var(--dur-med) var(--ease-out);
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Featured card — emerald accent */
.pricing-card--featured {
  border-color: rgba(99, 230, 207, 0.3);
  background:
    linear-gradient(180deg, rgba(99, 230, 207, 0.04) 0%, transparent 30%),
    var(--c-bg-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 40px var(--c-marker-glow3);
}

.pricing-card--featured:hover {
  border-color: rgba(99, 230, 207, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 60px var(--c-marker-glow3);
}

.pricing-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #061316;
  background: linear-gradient(135deg, var(--c-accent), var(--c-marker-bright));
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.pricing-card__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--c-text);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-card__period {
  font-size: 0.8125rem;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.pricing-card__desc {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(24, 51, 58, 0.4);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--c-muted);
  line-height: 1.5;
}

.pricing-card__feature::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-card__cta {
  width: 100%;
}

/* --------------------------------------------------------------------------
   19. FEATURES PAGE
   -------------------------------------------------------------------------- */
.feature-hero {
  padding: calc(var(--header-h) + 64px) 0 48px;
  text-align: center;
}

.feature-hero .hero__title {
  margin-bottom: 16px;
}

.feature-showcase {
  padding: 48px 0 0;
}

.feature-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0;
}

.feature-detail--reverse {
  direction: rtl;
}

.feature-detail--reverse > * {
  direction: ltr;
}

.feature-detail__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-detail__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.feature-detail__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-text);
}

.feature-detail__text {
  font-size: 0.9375rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.feature-detail__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-card);
  border: 1px solid rgba(24, 51, 58, 0.6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.2);
  padding: 24px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   20. 404 PAGE
   -------------------------------------------------------------------------- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 24px;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 16px;
}

.error-page__title {
  font-size: 1.25rem;
  color: var(--c-muted);
  margin-bottom: 32px;
}

/* --------------------------------------------------------------------------
   21. ANIMATIONS
   -------------------------------------------------------------------------- */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.42s; }

/* Fade-in utility */
.fade-in {
  animation: fade-in 0.6s var(--ease-out) forwards;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Glow pulse on cards with mouse proximity (JS driven) */
.glass-card--glow {
  position: relative;
}

.glass-card--glow::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 230, 207, 0.08),
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-med) ease;
  z-index: 0;
}

.glass-card--glow:hover::after {
  opacity: 1;
}

/* Hero entrance sequence */
@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title   { animation: hero-rise 0.7s var(--ease-out) 0.1s both; }
.hero__subtitle{ animation: hero-rise 0.7s var(--ease-out) 0.2s both; }
.hero__actions { animation: hero-rise 0.7s var(--ease-out) 0.3s both; }

@keyframes showcase-rise {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero__showcase { animation: showcase-rise 0.9s var(--ease-out) 0.5s both; }

/* Float for glows */
@keyframes glow-drift {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-12px); }
}

.hero__glow--1 {
  animation: glow-drift 8s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE — 1024px
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .glass-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    justify-self: center;
    width: 100%;
  }

  .capability-grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row--3col {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-detail {
    gap: 32px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer__brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

/* --------------------------------------------------------------------------
   23. RESPONSIVE — 768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-h: 48px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 48px) 0 56px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 6vw, 2.75rem);
  }

  .section {
    padding: 64px 0;
  }

  .h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .glass-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-glass__connector {
    display: none;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stats-row--3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .capability-grid--3col {
    grid-template-columns: 1fr;
  }

  .model-row {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
  }

  .model-row__line {
    display: none;
  }

  .model-row__role {
    min-width: 80px;
  }

  .feature-detail {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-detail--reverse {
    direction: ltr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .pricing-card:last-child {
    max-width: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .trust-bar__items {
    flex-wrap: wrap;
    gap: 4px;
  }

  .trust-bar__divider {
    display: none;
  }

  .trust-bar__item {
    padding: 6px 16px;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   24. RESPONSIVE — 480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__content {
    padding: 0 8px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .section__header {
    margin-bottom: 36px;
  }

  .section {
    padding: 48px 0;
  }

  .glass-card {
    padding: 22px 18px;
  }

  .step-glass {
    padding: 22px 18px;
  }

  .pricing-card {
    padding: 24px 20px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .arch-block__body {
    padding: 16px;
    font-size: 0.75rem;
  }

  .stats-row--3col {
    grid-template-columns: 1fr;
  }

  .model-row__tag {
    font-size: 0.625rem;
  }
}

/* --------------------------------------------------------------------------
   25. SELECTION & FOCUS
   -------------------------------------------------------------------------- */
::selection {
  background: rgba(99, 230, 207, 0.2);
  color: var(--c-text);
}

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

/* Remove focus ring for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

/* --------------------------------------------------------------------------
   26. PRINT
   -------------------------------------------------------------------------- */
@media print {
  body {
    background: white;
    color: #1a1a1a;
  }

  body::before,
  .hero__atmosphere,
  .hero__showcase-glow,
  .cta-section__glow {
    display: none;
  }

  .header {
    position: static;
    background: white;
    border-bottom: 1px solid #ddd;
  }

  .glass-card,
  .step-glass,
  .stat-glass,
  .pricing-card,
  .arch-block {
    background: #f8f8f8;
    border: 1px solid #ddd;
    box-shadow: none;
    backdrop-filter: none;
  }

  .btn--primary {
    background: #1a1a1a;
    color: white;
    box-shadow: none;
  }
}

/* --------------------------------------------------------------------------
   27. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* --------------------------------------------------------------------------
   28. CONNECTOR LINES (desktop only)
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
  .step-glass__connector {
    display: block;
  }

  .steps {
    position: relative;
  }
}

/* --------------------------------------------------------------------------
   29. PAGE-SPECIFIC LAYOUT UTILITIES
   -------------------------------------------------------------------------- */

/* Spacer */
.spacer-sm { height: 24px; }
.spacer-md { height: 48px; }
.spacer-lg { height: 80px; }

/* Text utilities */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Max-width constraints */
.max-w-sm { max-width: 480px; margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 640px; margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Inline flex for icon + text combos */
.inline-flex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   30. ADDITIONAL GLASS SURFACES
   -------------------------------------------------------------------------- */

/* Generic glass panel — reusable */
.glass-panel {
  background: var(--c-bg-glass);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 20px 48px var(--c-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Glass panel — lighter variant */
.glass-panel--light {
  background: var(--c-bg-glass2);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* FAQ accordion (if needed) */
.faq-item {
  border-bottom: 1px solid rgba(24, 51, 58, 0.4);
  padding: 20px 0;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item__question::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.25rem;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform var(--dur-med) var(--ease-out);
}

.faq-item--open .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__answer {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out), padding var(--dur-slow) var(--ease-out);
  padding-top: 0;
}

.faq-item--open .faq-item__answer {
  max-height: 200px;
  padding-top: 12px;
}


/* --------------------------------------------------------------------------
   UTILITY CLASSES
   -------------------------------------------------------------------------- */

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 8px;
}

.hide-mobile {
  display: inline;
}

.mt-3 {
  margin-top: 1.5rem;
}

.w-full {
  width: 100%;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}


/* --------------------------------------------------------------------------
   LEGAL PAGES
   -------------------------------------------------------------------------- */

.legal {
  padding: calc(var(--header-h) + 64px) 0 96px;
}

.legal__content {
  max-width: 780px;
  margin: 0 auto;
}

.legal__content h1 {
  font-family: 'Work Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.legal__content .legal__updated {
  font-size: 0.95rem;
  color: var(--c-muted);
  margin-bottom: 48px;
}

.legal__content h2 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--c-text);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
}

.legal__content h3 {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal__content p {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 16px;
}

.legal__content strong {
  color: var(--c-text);
  font-weight: 600;
}

.legal__content a {
  color: var(--c-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(99, 230, 207, 0.25);
  transition: border-color 0.2s;
}

.legal__content a:hover {
  border-color: var(--c-accent);
}

.legal__content ul,
.legal__content ol {
  margin: 0 0 16px 24px;
  padding: 0;
}

.legal__content li {
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--c-muted);
  margin-bottom: 6px;
}

.legal__content li strong {
  color: var(--c-text);
}

.legal__content blockquote {
  border-left: 3px solid var(--c-accent);
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--c-bg-card);
  border-radius: var(--radius-sm);
}

.legal__content blockquote p {
  margin-bottom: 0;
  color: var(--c-text);
  font-size: 0.92rem;
}

.legal__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}

.legal__content thead th {
  text-align: left;
  padding: 10px 14px;
  background: var(--c-bg3);
  color: var(--c-text);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  border-bottom: 1px solid var(--c-border);
}

.legal__content tbody td {
  padding: 10px 14px;
  color: var(--c-muted);
  border-bottom: 1px solid rgba(24, 51, 58, 0.5);
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
}

.legal__content tbody tr:hover td {
  background: rgba(16, 37, 43, 0.3);
}

.legal__content pre {
  background: var(--c-bg2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 20px 0;
}

.legal__content hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 40px 0;
}

.legal__content .legal__note {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.9rem;
}

.legal__copyright {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  font-size: 0.85rem;
  color: var(--c-muted);
  font-style: italic;
}

@media (max-width: 768px) {
  .legal {
    padding: calc(var(--header-h) + 40px) 0 64px;
  }
  .legal__content h1 {
    font-size: 1.65rem;
  }
  .legal__content h2 {
    font-size: 1.15rem;
    margin-top: 36px;
  }
  .legal__content table {
    font-size: 0.82rem;
  }
  .legal__content thead th,
  .legal__content tbody td {
    padding: 8px 10px;
  }
}
