:root {
  --bg: #0f0f0f;
  --bg-elevated: #1a1a1a;
  --bg-card: #242424;
  --fg: #fafafa;
  --fg-muted: #a0a0a0;
  --accent: #f59e0b;
  --accent-dim: rgba(245, 158, 11, 0.12);
  --accent-glow: rgba(245, 158, 11, 0.05);
  --accent-bright: #fbbf24;
  --red: #ef4444;
  --yellow: #fcd34d;
  --green: #10b981;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-w: 1100px;
}

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

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

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

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-bright);
  background: rgba(251, 191, 36, 0.1);
  padding: 8px 16px;
  border-radius: 6px;
  margin-bottom: 28px;
  text-transform: uppercase;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero h1 .accent {
  color: var(--accent-bright);
  display: block;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 550px;
  font-weight: 400;
}

/* ---- CTA Buttons ---- */
.hero-cta-row {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #0f0f0f;
  background: linear-gradient(135deg, var(--accent-bright) 0%, var(--accent) 100%);
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.35);
}

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

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--green); }

.terminal-title {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
}

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

.terminal-line { color: var(--fg-muted); }
.t-prompt { color: var(--accent); font-weight: 600; }
.t-cmd { color: var(--fg); }
.t-flag { color: var(--fg-muted); }
.t-output { color: var(--fg-muted); padding-left: 18px; }
.t-highlight { color: var(--accent); font-weight: 500; }
.t-cursor {
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* ---- FEATURES ---- */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 24px;
}

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

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.1);
}

.feature-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  -webkit-text-stroke: 1.5px rgba(245, 158, 11, 0.25);
  color: transparent;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--fg);
}

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

.feature-tag {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-bright);
  opacity: 0.75;
  text-transform: uppercase;
}

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

.metrics-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--accent-bright);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}

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

/* ---- CLOSING ---- */
.closing {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--fg);
}

.closing-text {
  color: var(--fg-muted);
  font-size: 1.15rem;
  line-height: 1.8;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 24px;
  text-align: center;
  background: var(--bg-elevated);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.footer-note {
  font-size: 0.9rem;
  color: var(--fg-muted);
  font-weight: 500;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 20px 40px;
  }

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

  .metrics-inner {
    flex-direction: column;
    gap: 32px;
  }

  .metric-divider {
    width: 40px;
    height: 1px;
  }

  .closing {
    padding: 60px 20px;
  }
}
