:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --fg: #e8e8e8;
  --fg-muted: #888888;
  --fg-dim: #555555;
  --accent: #3ddc84;
  --accent-dim: rgba(61, 220, 132, 0.15);
  --accent-glow: rgba(61, 220, 132, 0.3);
  --warn: #ffb347;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 480px;
  line-height: 1.7;
}

/* ─── TERMINAL ─── */
.terminal {
  background: var(--bg-elevated);
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 60px var(--accent-dim);
}

.terminal-bar {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  background: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.terminal-body {
  padding: 20px 22px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13.5px;
  line-height: 2;
}

.line { color: var(--fg); }
.prompt { color: var(--accent); margin-right: 8px; font-weight: 600; }
.output { color: var(--fg-muted); padding-left: 20px; }
.output.warn { color: var(--warn); }

/* ─── FEATURES ─── */
.features {
  padding: 120px 60px;
  max-width: 1300px;
  margin: 0 auto;
}

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

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.features-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  max-width: 560px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.card-icon {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ─── METRICS ─── */
.metrics {
  padding: 80px 60px;
  background: var(--bg-elevated);
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
}

.metrics-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.metric-block { text-align: center; }

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric-divider {
  width: 1px;
  height: 48px;
  background: #2a2a2a;
}

/* ─── CLOSING ─── */
.closing {
  padding: 140px 60px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.closing-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
}

/* ─── FOOTER ─── */
.site-footer {
  padding: 40px 60px;
  border-top: 1px solid #1a1a1a;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--fg);
}

.footer-note {
  color: var(--fg-dim);
  font-size: 0.85rem;
}

/* ─── MOBILE ─── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 60px 24px;
    min-height: auto;
    gap: 40px;
  }
  .features { padding: 80px 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .metrics { padding: 60px 24px; }
  .metrics-inner {
    flex-direction: column;
    gap: 32px;
  }
  .metric-divider {
    width: 48px;
    height: 1px;
  }
  .closing { padding: 80px 24px; }
  .site-footer { padding: 32px 24px; }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .terminal-body { font-size: 11px; padding: 14px 16px; }
  .feature-card { padding: 28px 24px; }
}