:root {
  --bg: #060912;
  --bg2: #0A0E1A;
  --surface: #0D1220;
  --surface2: #111827;
  --fg: #E8EEF5;
  --fg-dim: #7A8AA0;
  --fg-dimmer: #3D5068;
  --accent: #00E5C3;
  --accent-dim: #00E5C320;
  --accent2: #00B8FF;
  --border: #1A2535;
  --radius: 10px;
  --radius-sm: 6px;
}

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

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

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  line-height: 1.15;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(6, 9, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  letter-spacing: -0.3px;
}

.nav-tagline {
  font-size: 12px;
  color: var(--fg-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--fg-dimmer) 1px, transparent 1px),
    linear-gradient(90deg, var(--fg-dimmer) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.07;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-dim);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat {}

.stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-dim);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Hero card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-size: 14px;
  box-shadow: 0 0 60px rgba(0, 229, 195, 0.06);
}

.card-label {
  color: var(--accent);
  font-size: 13px;
  margin-bottom: 20px;
  font-weight: 500;
}

.card-lines {}

.line {
  color: var(--fg);
  padding: 6px 0;
  font-size: 13px;
}

.line-dim { color: var(--fg-dim); }

.line-success {
  color: var(--accent);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* TERMINAL */
.terminal-section {
  padding: 80px 40px 100px;
  text-align: center;
}

.terminal-wrap {
  max-width: 680px;
  margin: 0 auto 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
}

.terminal-bar {
  background: var(--surface2);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.tb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.tb-red { background: #FF5F56; }
.tb-yellow { background: #FFBD2E; }
.tb-green { background: #27C93F; }

.tb-title {
  margin-left: 12px;
  font-size: 12px;
  color: var(--fg-dim);
  font-family: 'Space Grotesk', monospace;
}

.terminal-body {
  padding: 24px;
  font-family: 'Space Grotesk', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.8;
}

.tb-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--fg-dim);
}

.tb-prompt { color: var(--accent); font-weight: 700; }
.tb-cmd { color: var(--fg); }
.tb-out { color: var(--fg-dim); margin-top: 4px; }
.tb-ok { color: var(--accent); font-weight: 700; }
.tb-highlight { color: var(--accent); margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }

.terminal-caption {
  font-size: 14px;
  color: var(--fg-dim);
}

/* FEATURES */
.features {
  padding: 100px 40px;
  background: var(--bg2);
}

.features-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 72px;
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.8px;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 40px;
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.feature-body {
  font-size: 15px;
  color: var(--fg-dim);
  line-height: 1.7;
}

/* HOW */
.how {
  padding: 100px 40px;
}

.how-header {
  text-align: center;
  max-width: 500px;
  margin: 0 auto 72px;
}

.how-steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-dim);
  line-height: 1.7;
  padding: 0 16px;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 28px;
  flex-shrink: 0;
}

/* MANIFESTO */
.manifesto {
  background: var(--surface);
  padding: 100px 40px;
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.manifesto-headline {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.manifesto-body {
  font-size: 17px;
  color: var(--fg-dim);
  line-height: 1.8;
}

.manifesto-gap {
  margin-top: 20px;
}

/* CLOSING */
.closing {
  padding: 120px 40px 140px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 195, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing-eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.closing-headline {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 18px;
  color: var(--fg-dim);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Orbital visual */
.closing-visual {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.orbit {
  position: relative;
  width: 280px;
  height: 280px;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  z-index: 1;
}

.orbit-node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.on1 { top: 0; left: 50%; transform: translateX(-50%); }
.on2 { bottom: 30px; right: 10px; }
.on3 { bottom: 60px; left: 20px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  color: var(--fg-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; align-items: center; gap: 32px; }
  .step-connector { width: 2px; height: 40px; margin: 0; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }
  .closing-visual { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 100px 24px 60px; }
  .features, .how, .manifesto { padding: 60px 24px; }
  .footer { padding: 20px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}