:root {
  --bg: #0c0c0e;
  --surface: #141416;
  --border: #2a2a2e;
  --text: #f0f0f2;
  --muted: #8a8a94;
  --accent: #7c6af7;
  --accent-glow: rgba(124, 106, 247, 0.15);
  --terminal-bg: #08080a;
  --terminal-border: #1e1e22;
  --terminal-green: #4ade80;
  --terminal-muted: #52525e;
}

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

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

h1, h2, h3, .logo {
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  background: rgba(12, 12, 14, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; }
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.3px; }

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-glow);
  border: 1px solid rgba(124, 106, 247, 0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: #b0a4ff;
  margin-bottom: 36px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.headline {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2.5px;
  margin-bottom: 24px;
  max-width: 800px;
}
.headline em {
  font-style: normal;
  background: linear-gradient(135deg, #7c6af7, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 56px;
  line-height: 1.7;
}

/* TERMINAL */
.hero-visual {
  max-width: 640px;
}
.terminal {
  background: var(--terminal-bg);
  border: 1px solid var(--terminal-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(124, 106, 247, 0.1);
}
.terminal-header {
  background: #111113;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--terminal-border);
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.terminal-title { font-size: 12px; color: #52525e; margin-left: 8px; font-family: 'Space Grotesk', monospace; }
.terminal-body { padding: 20px; font-family: 'Space Grotesk', monospace; font-size: 13.5px; line-height: 1.8; }
.line { color: #e4e4e7; }
.line.muted { color: var(--terminal-muted); }
.line.success { color: var(--terminal-green); }
.prompt { color: var(--accent); margin-right: 8px; }
.cursor { color: var(--accent); }
.cursor-line { margin-top: 4px; }

/* FEATURES */
.features { padding: 100px 40px; }
.features-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 64px;
  max-width: 600px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.feature-card {
  background: var(--surface);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: #1a1a1d; }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* STATS */
.stats {
  padding: 80px 40px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
}
.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  background: linear-gradient(135deg, #7c6af7, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* CLOSING */
.closing {
  padding: 120px 40px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing-statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--muted);
}

/* FOOTER */
footer {
  padding: 40px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; }
.footer-tagline { font-size: 13px; color: var(--muted); }

/* MOBILE */
@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .headline { letter-spacing: -1.5px; }
  .lede { font-size: 16px; margin-bottom: 40px; }
  .hero-visual { max-width: 100%; }
  .features { padding: 60px 24px; }
  .feature-grid { gap: 0; border-radius: 12px; }
  .feature-card { padding: 28px 24px; }
  .stats { padding: 60px 24px; }
  .stats-inner { flex-direction: column; gap: 40px; }
  .stat-divider { width: 60px; height: 1px; }
  .closing { padding: 80px 24px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}