:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --fg-dim: #55556a;
  --accent: #6c5ce7;
  --accent-bright: #a29bfe;
  --accent-glow: rgba(108, 92, 231, 0.15);
  --green: #00d2a0;
  --green-glow: rgba(0, 210, 160, 0.12);
  --yellow: #ffd166;
  --red: #ff6b6b;
  --border: #222235;
  --radius: 12px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent-bright), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =========== HERO =========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 40px 60px;
  position: relative;
  overflow: hidden;
}

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

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

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

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

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-card);
  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 {
  margin-left: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--fg-dim);
}

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

.terminal-line {
  color: var(--fg-muted);
}

.terminal-line .time {
  color: var(--fg-dim);
  margin-right: 8px;
}

.terminal-line .highlight {
  color: var(--green);
  font-weight: 500;
}

.terminal-line.active {
  color: var(--accent-bright);
}

/* =========== HOW IT WORKS =========== */
.how-it-works {
  padding: 120px 40px;
  background: var(--bg);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-it-works h2,
.features h2,
.numbers h2,
.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--fg-muted);
  font-size: 18px;
  margin-bottom: 64px;
  max-width: 560px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  padding: 32px 24px;
  border-left: 2px solid var(--border);
  transition: border-color 0.3s;
}

.step:hover {
  border-color: var(--accent);
}

.step-number {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* =========== FEATURES =========== */
.features {
  padding: 100px 40px;
  background: var(--bg-elevated);
}

.features-grid {
  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: 40px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

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

/* =========== NUMBERS =========== */
.numbers {
  padding: 100px 40px;
  background: var(--bg);
}

.numbers h2 {
  text-align: center;
  margin-bottom: 48px;
}

.numbers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.number-card {
  text-align: center;
  padding: 40px;
}

.number-card .number {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.number-card.versus .number {
  color: var(--fg-dim);
  font-size: 24px;
}

.number-card.accent .number {
  background: linear-gradient(135deg, var(--accent-bright), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.number-label {
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 200px;
  margin: 0 auto;
}

/* =========== CLOSING =========== */
.closing {
  padding: 140px 40px;
  text-align: center;
  background: var(--bg);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.closing-text {
  position: relative;
  z-index: 1;
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* =========== FOOTER =========== */
.site-footer {
  padding: 48px 40px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

/* =========== RESPONSIVE =========== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px;
    min-height: auto;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .numbers-grid {
    flex-direction: column;
    gap: 16px;
  }
  .number-card { padding: 20px; }
  .how-it-works,
  .features,
  .numbers,
  .closing {
    padding: 80px 20px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    letter-spacing: -1px;
  }
  .terminal-body {
    font-size: 11px;
  }
}