:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-dim: #8888a0;
  --fg-muted: #555570;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --cyan: #00d2d3;
  --green: #00d26a;
  --red: #ff6b6b;
  --yellow: #feca57;
  --border: rgba(255,255,255,0.06);
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

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

/* NAV */
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 32px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  color: var(--fg);
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 80px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(108, 92, 231, 0.25);
  margin-bottom: 28px;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--fg);
}

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

.lede {
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 600px;
  margin-bottom: 56px;
}

/* HERO CTA */
.hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(108, 92, 231, 0.35);
}

.btn-primary:active { transform: scale(0.98); }

.cta-note {
  font-size: 13px;
  color: var(--fg-muted);
}

/* TERMINAL */
.hero-visual {
  max-width: 680px;
}

.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

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

.dot {
  width: 12px;
  height: 12px;
  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: 13px;
  color: var(--fg-muted);
  margin-left: 8px;
}

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

.terminal-line { color: var(--fg-dim); }
.terminal-line.active { color: var(--fg); }
.t-gray { color: var(--fg-muted); }
.t-cyan { color: var(--cyan); }
.t-green { color: var(--green); font-weight: 600; }
.t-dim { color: var(--fg-dim); }

/* PROBLEM */
.problem {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

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

.problem-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.problem-text p {
  color: var(--fg-dim);
  font-size: 17px;
  max-width: 480px;
}

.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -2px;
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  width: 100%;
  font-size: 14px;
  color: var(--fg-dim);
  margin-top: 4px;
}

/* HOW IT WORKS */
.how {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.how-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.how-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.how-sub {
  color: var(--fg-dim);
  font-size: 18px;
}

.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(108, 92, 231, 0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -3px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--fg);
}

.step-content p {
  color: var(--fg-dim);
  font-size: 16px;
}

/* FEATURES */
.features {
  padding: 100px 32px;
  border-top: 1px solid var(--border);
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
}

.feature-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 24px;
  align-items: start;
}

.feature-large .feature-icon {
  grid-row: 1 / 3;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border-radius: 12px;
}

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

.feature-card p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.55;
}

/* CLOSING */
.closing {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, rgba(108, 92, 231, 0.04) 100%);
  text-align: center;
}

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

.closing-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.12;
  margin-bottom: 24px;
}

.closing-content p {
  color: var(--fg-dim);
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.closing-small {
  font-size: 15px !important;
  color: var(--fg-muted) !important;
  font-style: italic;
}

/* FOOTER */
.footer {
  padding: 48px 32px;
  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: 18px;
  color: var(--fg);
}

.footer-note {
  font-size: 14px;
  color: var(--fg-muted);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero { padding: 24px 20px 60px; }
  .nav { padding: 20px; }
  .lede { font-size: 17px; }

  .problem { padding: 64px 20px; }
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .how { padding: 64px 20px; }
  .how-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .step-num { font-size: 3.5rem; }

  .features { padding: 64px 20px; }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-large {
    grid-template-columns: 1fr;
  }
  .feature-large .feature-icon {
    grid-row: auto;
  }

  .closing { padding: 80px 20px; }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .terminal-body { font-size: 12px; }
}