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

:root {
  --bg: #080c14;
  --bg-surface: #0d1526;
  --bg-elevated: #111c33;
  --fg: #e8f0fc;
  --fg-muted: #7a8ba8;
  --fg-dim: #4a5a72;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --border: rgba(255,255,255,0.06);
  --green: #00e5a0;
  --green-dim: rgba(0,229,160,0.15);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* NAV */
.nav {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* HERO */
.hero {
  padding: 5rem 0 4rem;
  background: var(--bg);
  position: relative;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-bottom: 2.75rem;
  line-height: 1.7;
}

/* TERMINAL */
.hero-terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 620px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,229,160,0.06), 0 20px 60px rgba(0,0,0,0.4);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.t-red { background: #ff5f57; }
.t-yellow { background: #febc2e; }
.t-green { background: var(--accent); box-shadow: 0 0 6px var(--green); }
.t-label {
  font-size: 0.72rem;
  color: var(--fg-dim);
  margin-left: 0.75rem;
  font-family: 'Space Grotesk', monospace;
}
.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
}
.t-line { margin-bottom: 0.15rem; }
.t-prompt { color: var(--accent); }
.t-cmd { color: var(--fg); }
.t-out { color: var(--fg-muted); }
.t-sys { color: var(--fg); }
.t-win { color: var(--green); font-weight: 600; }
.t-dim { color: var(--fg-dim); }

/* STATS */
.stats-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.stat { text-align: center; }
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--fg-muted); margin-top: 0.25rem; letter-spacing: 0.03em; }
.stat-sub { font-size: 0.72rem; color: var(--fg-dim); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* FEATURES */
.features { padding: 5rem 0; }
.features-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 3rem;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: rgba(0,229,160,0.25); }
.feature-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* HOW IT WORKS */
.howitworks {
  padding: 5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}
.howitworks-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.step-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.step { flex: 1; min-width: 200px; }
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-dim);
  color: rgba(0,229,160,0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.6; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--fg-dim);
  flex-shrink: 0;
}

/* CLOSING */
.closing { padding: 7rem 0; position: relative; overflow: hidden; }
.closing-inner { max-width: 1100px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,160,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.closing-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 1.5rem;
  text-align: center;
}
.closing-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--bg-surface);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.footer-tag { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 0.4rem; }
.footer-note { font-size: 0.78rem; color: var(--fg-dim); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 3rem 0 2.5rem; }
  .hero-terminal { max-width: 100%; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .step-row { gap: 1.5rem; }
  .step-arrow { display: none; }
  .stat-divider { display: none; }
  .stats-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.9rem; }
}