:root {
  --bg: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #c4f042;
  --accent-dim: #a0c830;
  --border: #2a2a3a;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(196, 240, 66, 0.06) 0%, transparent 70%),
    var(--bg);
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(196, 240, 66, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--fg);
}

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

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

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

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

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

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

.terminal-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-left: auto;
  margin-right: auto;
}

.terminal-body {
  padding: 1.5rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9rem;
}

.line {
  padding: 0.4rem 0;
  color: var(--fg-muted);
}

.prompt {
  color: var(--accent);
  margin-right: 0.5rem;
}

.val {
  color: var(--fg);
  opacity: 0.6;
}

.blink .cursor {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ========== FEATURES ========== */
.features {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  margin-bottom: 4rem;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(196, 240, 66, 0.3);
  transform: translateY(-2px);
}

.feature-card.large {
  grid-column: span 2;
}

.feature-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ========== METRICS ========== */
.metrics {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.metrics-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

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

.metrics-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.metric {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  min-width: 80px;
}

.metric-label {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ========== CLOSING ========== */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(196, 240, 66, 0.04) 0%, transparent 70%),
    var(--bg);
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

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

/* ========== FOOTER ========== */
.site-footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 1200px;
  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-muted);
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .feature-card.large {
    grid-column: span 1;
  }

  .metrics-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .metric-value {
    font-size: 2rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}