:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ed;
  --fg-dim: #7a7a8a;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --green: #00ff88;
  --red: #ff4757;
  --yellow: #ffd43b;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 8% 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

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

/* TERMINAL */
.hero-terminal {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.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-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
}

.terminal-body .prompt { color: var(--accent); }
.terminal-body .dim { color: var(--fg-dim); }
.terminal-body .success { color: var(--green); }

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

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

/* FEATURES */
.features {
  padding: 8rem 8%;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

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

.features-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

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

.feature-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 2.5rem;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-2px);
}

.feature-card.highlight {
  border-color: rgba(0, 212, 255, 0.15);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(0, 212, 255, 0.04) 100%);
}

.feature-icon {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* METRICS */
.metrics {
  padding: 4rem 8%;
}

.metrics-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  padding: 4rem;
  background: var(--bg-surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
}

.metric-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--fg-dim);
  margin-top: 0.5rem;
}

.metric-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.08);
}

/* CLOSING */
.closing {
  padding: 8rem 8%;
}

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

.closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-dim);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.dim-text {
  opacity: 0.7;
  font-style: italic;
}

/* FOOTER */
.site-footer {
  padding: 3rem 8%;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4rem 6% 3rem;
    min-height: auto;
    gap: 2.5rem;
  }

  .hero::before {
    width: 300px;
    height: 300px;
    top: -10%;
    right: -15%;
  }

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

  .metrics-inner {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
    text-align: center;
  }

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

  .features,
  .closing {
    padding: 4rem 6%;
  }
}

@media (max-width: 480px) {
  .feature-card {
    padding: 1.5rem;
  }

  .terminal-body {
    font-size: 0.75rem;
    padding: 1rem;
  }
}