:root {
  --bg: #050914;
  --surface: #0A1428;
  --surface2: #0F1D38;
  --accent: #0066FF;
  --accent-dim: #003D99;
  --text: #E8F0FE;
  --text-dim: #7A9CC4;
  --text-muted: #3D5A80;
  --border: #162040;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-bg-elements {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,102,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.bg-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 28px;
}
.hero-headline .accent { color: var(--accent); }
.hero-sub {
  font-size: 15px;
  color: var(--text-dim);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.85; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-dim);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00E676;
  box-shadow: 0 0 8px #00E676;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* TERMINAL */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,102,255,0.1);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.tb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.tb-red { background: #FF5F57; }
.tb-yellow { background: #FFBD2E; }
.tb-green { background: #28C840; }
.tb-title {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
  font-family: var(--font-mono);
}
.terminal-body {
  padding: 20px 20px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
}
.t-line { color: var(--text-dim); }
.t-ts { color: var(--text-muted); margin-right: 8px; }
.t-ok { color: #00E676; font-weight: 500; }
.t-err { color: #FF5757; font-weight: 500; }
.t-dim { color: var(--text-muted); }
.t-blank { height: 12px; }
.t-prompt { color: var(--accent); }
.t-cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100% { opacity:1 } 50% { opacity:0 } }

.hero-stat-stack {
  display: flex;
  gap: 0;
  margin-top: 24px;
}
.hs-item {
  flex: 1;
  text-align: center;
  padding: 16px 12px;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--surface);
}
.hs-item:last-child { border-right: 1px solid var(--border); border-radius: 0 8px 8px 0; }
.hs-item:first-child { border-radius: 8px 0 0 8px; }
.hs-num {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.hs-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

/* SECTION LABEL */
.section-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* HOW IT WORKS */
.hiw { padding: 100px 0; border-bottom: 1px solid var(--border); }
.hiw-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.hiw-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.0;
  margin-bottom: 64px;
  letter-spacing: 1px;
}
.hiw-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.hiw-step {
  padding: 40px;
  border: 1px solid var(--border);
  border-right: none;
  background: var(--surface);
  position: relative;
}
.hiw-step:last-child { border-right: 1px solid var(--border); border-radius: 0 12px 12px 0; }
.hiw-step:first-child { border-radius: 12px 0 0 12px; }
.step-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: 2px;
}
.step-content h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 500;
}
.step-content p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* FEATURES */
.features { padding: 100px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.features-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feat-card {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-right: none;
  border-top: none;
  background: var(--bg);
}
.feat-card:last-child { border-right: 1px solid var(--border); }
.feat-card:nth-child(3n) { border-right: 1px solid var(--border); }
.feat-primary { border-left: 2px solid var(--accent); }
.feat-highlight { border-left: 2px solid #00E676; }
.feat-icon {
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0.7;
}
.feat-card h3 {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 500;
}
.feat-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.7;
}

/* METRICS */
.metrics { padding: 100px 0; border-bottom: 1px solid var(--border); }
.metrics-inner { max-width: 1200px; margin: 0 auto; padding: 0 48px; text-align: center; }
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.metric {
  background: var(--surface);
  padding: 40px 32px;
  text-align: center;
}
.metric-val {
  font-family: var(--font-display);
  font-size: 52px;
  color: var(--text);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 2px;
}
.metric-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 4px;
}
.metric-note {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}
.metrics-statement {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 2;
}
.math {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 2px;
}

/* MANIFESTO */
.manifesto { padding: 100px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.manifesto-inner { max-width: 900px; margin: 0 auto; padding: 0 48px; }
.manifesto-body { max-width: 680px; }
.manifesto-line {
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 24px;
}
.manifesto-bold {
  color: var(--text);
  font-weight: 500;
}
.manifesto-break {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.manifesto-last {
  color: var(--text);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 28px);
}

/* FOOTER */
footer { padding: 48px 0; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}
.footer-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px; }
  .hiw-steps { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-note { text-align: center; }
  .hero-headline { font-size: 52px; }
  .manifesto-line { font-size: 18px; }
}
@media (max-width: 600px) {
  .hero-inner { padding: 40px 20px; }
  .hiw-inner, .features-inner, .metrics-inner, .manifesto-inner, .footer-inner { padding: 0 20px; }
  .metric-row { grid-template-columns: 1fr; }
  .hero-stat-stack { flex-direction: column; }
  .hs-item { border-right: 1px solid var(--border); border-radius: 0; }
  .hs-item:first-child { border-radius: 8px 8px 0 0; }
  .hs-item:last-child { border-radius: 0 0 8px 8px; }
}