:root {
  --bg: #0a0a0b;
  --bg-secondary: #111113;
  --surface: #1a1a1e;
  --surface-hover: #222228;
  --fg: #f5f5f7;
  --fg-muted: #8a8a8e;
  --fg-subtle: #5a5a5e;
  --accent: #22c55e;
  --accent-dim: #16a34a;
  --border: #2a2a2e;
  --terminal-bg: #0d0d0f;
  --terminal-border: #1e1e22;
  --code-green: #22c55e;
  --code-dim: #6b7280;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(34, 197, 94, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.hero-headline {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--fg);
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 440px;
}

/* Terminal */
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.terminal-header {
  background: var(--surface);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--terminal-border);
}

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

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.terminal-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--fg-muted);
  font-family: 'Space Mono', monospace;
}

.terminal-body {
  padding: 20px 24px;
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  line-height: 2;
}

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

.prompt {
  color: var(--code-green);
  margin-right: 12px;
}

/* Features */
.features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.features-header {
  margin-bottom: 60px;
}

.features-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.features-header p {
  font-size: 17px;
  color: var(--fg-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature {
  padding: 28px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: background 0.2s, border-color 0.2s;
}

.feature:hover {
  background: var(--surface);
  border-color: var(--fg-subtle);
}

.feature h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.icon-learn {
  background: var(--accent);
  height: 2px;
  box-shadow: 0 -6px 0 var(--accent), 0 6px 0 var(--accent);
}

.icon-coordinate {
  width: 18px;
  height: 18px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
}

.icon-follow {
  width: 18px;
  height: 18px;
  border-right: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.icon-recover {
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
}

.icon-recover::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 2px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* How it works */
.how {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.how-content h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  width: 32px;
  flex-shrink: 0;
}

.step-body h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 600px;
}

/* Closing */
.closing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing h2 {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.closing p {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

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

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

.footer-logo {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  margin-top: 4px;
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-subtle);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 24px 80px;
  }

  .hero-headline {
    font-size: 38px;
    letter-spacing: -1px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .closing h2 {
    font-size: 32px;
  }

  .step {
    gap: 20px;
  }
}