/* ═══════════════════════════════════════════════════════════════════════
   VANGUARD TECH V5 — Design System Cyber-Premium · Awwwards Level
   Tipografia: Syne (display) + Inter (body) + JetBrains Mono (code)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── BRAND TOKENS — White-Label Overrideable via brand-config.js ─── */
:root {
  /* Core palette */
  --c-bg:        #0A0A0A;
  --c-primary:   #00F0FF;
  --c-secondary: #1A0B2E;
  --c-accent:    #7B2FFF;
  --c-text:      #FFFFFF;
  --c-muted:     rgba(255, 255, 255, 0.55);
  --c-dim:       rgba(255, 255, 255, 0.12);

  /* RGB splits for glow math */
  --c-primary-rgb: 0, 240, 255;
  --c-accent-rgb:  123, 47, 255;

  /* Glassmorphism system */
  --glass-1:      rgba(255, 255, 255, 0.025);
  --glass-2:      rgba(255, 255, 255, 0.055);
  --glass-3:      rgba(255, 255, 255, 0.09);
  --glass-border: rgba(var(--c-primary-rgb), 0.14);
  --glass-blur:   blur(14px) saturate(160%);

  /* Glow presets */
  --glow-xs: 0 0  8px rgba(var(--c-primary-rgb), 0.30);
  --glow-sm: 0 0 16px rgba(var(--c-primary-rgb), 0.35);
  --glow-md: 0 0 32px rgba(var(--c-primary-rgb), 0.40);
  --glow-lg: 0 0 64px rgba(var(--c-primary-rgb), 0.45);

  /* Typography */
  --ff-display: 'Syne', sans-serif;
  --ff-body:    'Inter', sans-serif;
  --ff-mono:    'JetBrains Mono', monospace;

  /* Type scale (fluid base) */
  --text-xs:   0.6875rem;
  --text-sm:   0.8125rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

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

  /* Radii */
  --r-sm:   0.25rem;  --r-md:   0.5rem;
  --r-lg:   0.75rem;  --r-xl:   1rem;
  --r-2xl:  1.5rem;   --r-full: 9999px;

  /* Transitions */
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.4, 0, 1, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 120ms var(--ease-out);
  --t-base: 260ms var(--ease-out);
  --t-slow: 480ms var(--ease-out);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--c-primary-rgb), 0.4) transparent;
}
html::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb {
  background: rgba(var(--c-primary-rgb), 0.4);
  border-radius: var(--r-full);
}

body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay — adds analog texture to the digital aesthetic */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.6;
}

a { text-decoration: none; color: inherit; }
img, svg { display: block; }

/* ─── ANIMATIONS ────────────────────────────────────────────────────── */
@keyframes gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50%       { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 40px rgba(var(--c-primary-rgb), 0.5), 0 0 80px rgba(var(--c-accent-rgb), 0.3); }
  50%       { transform: scale(1.12); box-shadow: 0 0 60px rgba(var(--c-primary-rgb), 0.8), 0 0 120px rgba(var(--c-accent-rgb), 0.5); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes typeReveal {
  0%       { width: 0; }
  50%, 90% { width: 100%; }
  100%     { width: 0; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes borderGlow {
  0%, 100% { border-color: rgba(var(--c-primary-rgb), 0.14); }
  50%       { border-color: rgba(var(--c-primary-rgb), 0.45); }
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--c-primary-rgb), 0.7); }
  70%       { box-shadow: 0 0 0 6px rgba(var(--c-primary-rgb), 0); }
}

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--c-text) 0%, var(--c-primary) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient--accent {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.label-tag::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 6px var(--c-primary);
  animation: statusPulse 2s infinite;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

/* Primary: solid cyan with shimmer sweep on hover */
.btn--primary {
  background: var(--c-primary);
  color: var(--c-bg);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-base);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,0.35) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--t-fast);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-md);
}
.btn--primary:hover::after {
  opacity: 1;
  animation: shimmer 600ms ease forwards;
}
.btn--primary:active { transform: translateY(0); }

/* Outline: glass border, cyan text */
.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--glass-border);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
}
.btn--outline:hover {
  border-color: rgba(var(--c-primary-rgb), 0.5);
  background: rgba(var(--c-primary-rgb), 0.06);
  box-shadow: var(--glow-xs);
}

/* Ghost: very subtle */
.btn--ghost {
  background: var(--glass-1);
  color: var(--c-muted);
  border: 1px solid var(--c-dim);
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--text-sm);
}
.btn--ghost:hover { background: var(--glass-2); color: var(--c-text); }

.btn--sm  { font-size: var(--text-sm);  padding: var(--sp-2) var(--sp-4); }
.btn--lg  { font-size: var(--text-lg);  padding: var(--sp-4) var(--sp-8); }
.btn--xl  { font-size: var(--text-xl);  padding: var(--sp-5) var(--sp-10); }
.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
.btn:disabled::after { display: none; }

/* ─── GLASS CARD ─────────────────────────────────────────────────────── */
.card--glass {
  background: var(--glass-1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
}
/* Inset glow top edge on hover */
.card--glass::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--c-primary-rgb), 0.6),
    transparent
  );
  opacity: 0;
  transition: opacity var(--t-base);
}
.card--glass:hover {
  border-color: rgba(var(--c-primary-rgb), 0.35);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), var(--glow-sm);
  background: var(--glass-2);
}
.card--glass:hover::before { opacity: 1; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--t-base);
}
.navbar__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.navbar__logo {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.18em;
  text-shadow: var(--glow-xs);
}
.navbar__status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--c-muted);
}
.navbar__status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 8px var(--c-primary);
  animation: statusPulse 2s infinite;
}
.navbar__actions { display: flex; align-items: center; gap: var(--sp-3); }

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

/* Multi-layer animated background */
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(var(--c-primary-rgb), 0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(var(--c-accent-rgb), 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 60% 90%, rgba(26, 11, 46, 0.9) 0%, transparent 70%),
    var(--c-bg);
}

/* Animated grid */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: -60px;
  background-image:
    linear-gradient(rgba(var(--c-primary-rgb), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--c-primary-rgb), 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 25s linear infinite;
}

/* Floating orb */
.hero__bg::after {
  content: '';
  position: absolute;
  top: 30%; left: 65%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(var(--c-accent-rgb), 0.12) 0%,
    rgba(var(--c-primary-rgb), 0.05) 50%,
    transparent 70%
  );
  transform: translate(-50%, -50%);
  animation: orbFloat 8s ease-in-out infinite;
}

/* Horizontal scan line */
.hero__scanline {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--c-primary-rgb), 0.4),
    transparent
  );
  animation: scanline 6s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--sp-24) var(--sp-6) var(--sp-16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-16);
}

.hero__content {
  animation: fadeUp 0.8s var(--ease-out) both;
}
.hero__badge {
  margin-bottom: var(--sp-6);
}
.hero__headline {
  font-family: var(--ff-display);
  font-size: clamp(var(--text-4xl), 5.5vw, 5.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-6);
}
.hero__headline em {
  font-style: normal;
  display: block;
}
.hero__sub {
  font-size: clamp(var(--text-base), 1.8vw, var(--text-lg));
  color: var(--c-muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: var(--sp-10);
}
.hero__sub strong { color: var(--c-text); font-weight: 600; }
.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.hero__social-proof {
  margin-top: var(--sp-8);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  font-size: var(--text-xs);
  color: var(--c-muted);
  font-family: var(--ff-mono);
}
.hero__social-proof span { color: var(--c-primary); font-weight: 600; }

/* Terminal visual card */
.hero__visual {
  animation: fadeUp 0.8s 0.2s var(--ease-out) both;
  position: relative;
}
.terminal {
  background: rgba(10, 10, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(var(--c-primary-rgb), 0.2);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(var(--c-primary-rgb), 0.06),
    0 24px 64px rgba(0,0,0,0.5),
    var(--glow-sm);
  font-family: var(--ff-mono);
  font-size: var(--text-sm);
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(var(--c-primary-rgb), 0.1);
}
.terminal__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.terminal__dot--red    { background: #FF5F57; }
.terminal__dot--yellow { background: #FEBC2E; }
.terminal__dot--green  { background: #28C840; }
.terminal__title {
  margin-left: var(--sp-2);
  color: var(--c-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
}
.terminal__body {
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.terminal__line {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: var(--c-muted);
  margin-bottom: var(--sp-1);
}
.terminal__prompt { color: var(--c-primary); }
.terminal__cmd {
  color: var(--c-text);
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  border-right: 2px solid var(--c-primary);
  animation: typeReveal 5s steps(42, end) infinite, cursorBlink 0.8s step-end infinite;
}
.terminal__divider {
  height: 1px;
  background: rgba(var(--c-primary-rgb), 0.08);
  margin: var(--sp-2) 0;
}
.terminal__metrics { display: flex; flex-direction: column; gap: var(--sp-3); }
.terminal__metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-2) var(--sp-3);
  background: rgba(var(--c-primary-rgb), 0.04);
  border-radius: var(--r-md);
  border-left: 2px solid rgba(var(--c-primary-rgb), 0.3);
}
.terminal__metric-label { font-size: var(--text-xs); color: var(--c-muted); }
.terminal__metric-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-primary);
}
.terminal__metric-value sup { font-size: 0.65em; color: var(--c-muted); }
.terminal__status {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  background: rgba(var(--c-primary-rgb), 0.06);
  border: 1px solid rgba(var(--c-primary-rgb), 0.15);
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 6px var(--c-primary);
  flex-shrink: 0;
  animation: statusPulse 2s infinite;
}
.status-dot--accent { background: var(--c-accent); box-shadow: 0 0 6px var(--c-accent); }
.terminal__status-text { font-size: var(--text-xs); color: var(--c-text); }
.terminal__status-sub  { font-size: var(--text-xs); color: var(--c-muted); margin-left: auto; }
/* Floating badge on terminal */
.terminal__badge {
  position: absolute;
  top: -14px; right: var(--sp-6);
  background: var(--c-accent);
  color: var(--c-text);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  letter-spacing: 0.08em;
  box-shadow: 0 4px 16px rgba(var(--c-accent-rgb), 0.4);
}

/* ─── STATS STRIP ────────────────────────────────────────────────────── */
.stats {
  padding: var(--sp-16) var(--sp-6);
  position: relative;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(180deg,
    rgba(var(--c-secondary), 0.15) 0%,
    transparent 100%
  );
  --c-secondary: 26, 11, 46;
}
.stats__container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  position: relative;
}
.stats__item + .stats__item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--glass-border);
}
.stats__number {
  font-family: var(--ff-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: var(--glow-sm);
  animation: countUp 0.6s var(--ease-out) both;
}
.stats__label {
  font-size: var(--text-sm);
  color: var(--c-muted);
  max-width: 140px;
}

/* ─── FEATURES SECTION ───────────────────────────────────────────────── */
.features {
  padding: var(--sp-24) var(--sp-6);
}
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-16);
}
.section__label { margin-bottom: var(--sp-4); }
.section__title {
  font-family: var(--ff-display);
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}
.section__desc {
  font-size: var(--text-lg);
  color: var(--c-muted);
  line-height: 1.7;
}

.features__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.feature-card {
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-xl);
  background: rgba(var(--c-primary-rgb), 0.1);
  border: 1px solid rgba(var(--c-primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--t-base);
}
.feature-card:hover .feature-card__icon {
  background: rgba(var(--c-primary-rgb), 0.18);
  box-shadow: var(--glow-sm);
  transform: scale(1.08);
}
.feature-card__tag {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--c-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.feature-card__title {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
}
.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.7;
  flex: 1;
}
.feature-card__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--c-primary);
  opacity: 0.7;
  transition: opacity var(--t-fast);
}
.feature-card:hover .feature-card__footer { opacity: 1; }
.feature-card__footer::before {
  content: '→';
  font-size: var(--text-sm);
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────── */
.how-it-works {
  padding: var(--sp-24) var(--sp-6);
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(26, 11, 46, 0.2) 50%,
    transparent 100%
  );
}
.how-it-works__container {
  max-width: 1280px;
  margin: 0 auto;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
  margin-top: var(--sp-16);
  position: relative;
}
/* Connecting line between steps */
.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(var(--c-primary-rgb), 0.3),
    rgba(var(--c-primary-rgb), 0.3),
    transparent
  );
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  position: relative;
  z-index: 1;
}
.step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 2px solid rgba(var(--c-primary-rgb), 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-primary);
  box-shadow: var(--glow-sm);
  transition: all var(--t-base);
}
.step:hover .step__num {
  background: rgba(var(--c-primary-rgb), 0.12);
  border-color: var(--c-primary);
  box-shadow: var(--glow-md);
}
.step__title {
  font-family: var(--ff-display);
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.3;
}
.step__desc {
  font-size: var(--text-sm);
  color: var(--c-muted);
  line-height: 1.6;
}

/* ─── QUIZ SECTION ───────────────────────────────────────────────────── */
.quiz-section {
  padding: var(--sp-24) var(--sp-6);
  position: relative;
}
.quiz-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%,
      rgba(var(--c-primary-rgb), 0.04) 0%,
      transparent 70%
    );
  pointer-events: none;
}
.quiz-section__container {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

/* Quiz widget */
.quiz {
  background: rgba(10,10,16,0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-10);
  animation: borderGlow 4s ease-in-out infinite;
}
.quiz__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-6);
  gap: var(--sp-4);
}
.quiz__progress {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  overflow: hidden;
}
.quiz__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
  border-radius: var(--r-full);
  transition: width 500ms var(--ease-out);
  box-shadow: 0 0 10px rgba(var(--c-primary-rgb), 0.7);
  width: 33.33%;
}
.quiz__step-label {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--c-primary);
  white-space: nowrap;
}
.quiz__step {
  animation: fadeUp 300ms var(--ease-out) both;
}
.quiz__step--hidden { display: none !important; }
.quiz__question {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--sp-6);
  line-height: 1.4;
}

/* Custom select */
.quiz__select-wrap { position: relative; margin-bottom: var(--sp-6); }
.quiz__select {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  padding-right: var(--sp-10);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--text-base);
  cursor: pointer;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}
.quiz__select:focus {
  outline: none;
  border-color: rgba(var(--c-primary-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), 0.1);
}
.quiz__select option { background: #12121a; color: var(--c-text); }
.quiz__select-arrow {
  position: absolute;
  right: var(--sp-4); top: 50%;
  transform: translateY(-50%);
  color: var(--c-primary);
  pointer-events: none;
  font-size: var(--text-sm);
}

/* Radio cards */
.quiz__radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.quiz__radio-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--t-fast);
}
.quiz__radio-card:hover {
  background: rgba(var(--c-primary-rgb), 0.05);
  border-color: rgba(var(--c-primary-rgb), 0.3);
}
.quiz__radio-card:has(input:checked) {
  background: rgba(var(--c-primary-rgb), 0.09);
  border-color: rgba(var(--c-primary-rgb), 0.5);
  box-shadow: 0 0 0 1px rgba(var(--c-primary-rgb), 0.15) inset;
}
.quiz__radio-card input[type="radio"] {
  accent-color: var(--c-primary);
  width: 15px; height: 15px;
  flex-shrink: 0;
}
.quiz__radio-card span {
  font-size: var(--text-sm);
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.quiz__radio-card:has(input:checked) span { color: var(--c-text); }

/* Input fields */
.quiz__inputs { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-6); }
.quiz__input-wrap { position: relative; }
.quiz__input {
  width: 100%;
  padding: var(--sp-4) var(--sp-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--text-base);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.quiz__input:focus {
  outline: none;
  border-color: rgba(var(--c-primary-rgb), 0.5);
  box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), 0.08);
}
.quiz__input::placeholder { color: rgba(255,255,255,0.25); }

/* Processing state */
.quiz__processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-12) var(--sp-6);
  text-align: center;
  gap: var(--sp-6);
}
.quiz__processing-orb {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--c-primary), var(--c-accent) 60%, var(--c-secondary));
  box-shadow: 0 0 40px rgba(var(--c-primary-rgb), 0.5), 0 0 80px rgba(var(--c-accent-rgb), 0.3);
  animation: orbPulse 1.5s ease-in-out infinite;
}
.quiz__processing-title {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 700;
}
.quiz__processing-sub {
  font-size: var(--text-sm);
  color: var(--c-primary);
  font-family: var(--ff-mono);
}

/* Success state */
.quiz__success {
  text-align: center;
  padding: var(--sp-10) var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.quiz__success-icon {
  font-size: 3.5rem;
  line-height: 1;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}
.quiz__success h3 {
  font-family: var(--ff-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--c-primary);
}
.quiz__success p {
  font-size: var(--text-base);
  color: var(--c-muted);
  max-width: 340px;
  line-height: 1.6;
}

/* ─── STACK SECTION ──────────────────────────────────────────────────── */
.stack {
  padding: var(--sp-16) var(--sp-6);
  border-top: 1px solid var(--glass-border);
}
.stack__container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}
.stack__label {
  font-family: var(--ff-mono);
  font-size: var(--text-xs);
  color: var(--c-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--sp-8);
}
.stack__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
}
.stack__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-family: var(--ff-mono);
  color: var(--c-muted);
  transition: all var(--t-fast);
}
.stack__item:hover {
  background: var(--glass-2);
  color: var(--c-text);
  border-color: rgba(var(--c-primary-rgb), 0.3);
}
.stack__item-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
  opacity: 0.7;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────── */
.footer {
  padding: var(--sp-12) var(--sp-6) var(--sp-8);
  border-top: 1px solid var(--glass-border);
  background: rgba(10, 10, 10, 0.8);
}
.footer__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.footer__brand {}
.footer__logo {
  font-family: var(--ff-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.18em;
  text-shadow: var(--glow-xs);
  display: block;
  margin-bottom: var(--sp-2);
}
.footer__tagline {
  font-size: var(--text-sm);
  color: var(--c-muted);
  font-family: var(--ff-mono);
}
.footer__links {
  display: flex;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.footer__link-group {}
.footer__link-title {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-3);
}
.footer__link-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  list-style: none;
}
.footer__link-list a {
  font-size: var(--text-sm);
  color: var(--c-muted);
  transition: color var(--t-fast);
}
.footer__link-list a:hover { color: var(--c-primary); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--glass-border);
  flex-wrap: wrap;
}
.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.25);
  font-family: var(--ff-mono);
}
.footer__version {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.2);
  font-family: var(--ff-mono);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}

@media (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
    padding: var(--sp-20) var(--sp-4) var(--sp-12);
    gap: var(--sp-12);
  }
  .hero__visual { order: -1; }
  .hero__headline { font-size: clamp(var(--text-3xl), 9vw, var(--text-5xl)); }
  .stats__container { grid-template-columns: 1fr; }
  .stats__item + .stats__item::before { top: 0; bottom: auto; left: 20%; right: 20%; height: 1px; width: auto; }
  .features__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .navbar__status { display: none; }
  .quiz { padding: var(--sp-6) var(--sp-5); }
  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__social-proof { flex-wrap: wrap; gap: var(--sp-4); }
  .quiz__radio-card span { font-size: var(--text-xs); }
}
