:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-dim: #8b8b99;
  --fg-muted: #5a5a6e;
  --accent: #3bf07a;
  --accent-dim: rgba(59, 240, 122, 0.12);
  --accent-glow: rgba(59, 240, 122, 0.06);
  --red: #ff4d4d;
  --yellow: #ffd84d;
  --blue: #4d9fff;
  --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; }

html { scroll-behavior: smooth; }

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

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

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

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

.hero-badge {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
  border: 1px solid rgba(59, 240, 122, 0.15);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  max-width: 800px;
}

.lede {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-dim);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 60px;
}

/* Terminal */
.hero-visual {
  width: 100%;
  max-width: 680px;
  position: relative;
}

.terminal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--accent); }

.terminal-title {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--fg-muted);
  margin-left: 8px;
}

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

.log-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log-line.dim { opacity: 0.4; }

.time {
  color: var(--fg-muted);
  margin-right: 12px;
}

.event {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 10px;
}
.event.call { background: rgba(77, 159, 255, 0.15); color: var(--blue); }
.event.book { background: var(--accent-dim); color: var(--accent); }
.event.sms { background: rgba(255, 216, 77, 0.12); color: var(--yellow); }
.event.done { background: var(--accent-dim); color: var(--accent); }
.event.review { background: rgba(255, 216, 77, 0.12); color: var(--yellow); }
.event.idle { background: rgba(255,255,255,0.05); color: var(--fg-muted); }

/* ========== STATS ========== */
.stats {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* ========== FEATURES ========== */
.features {
  padding: 120px 24px;
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.features-sub {
  color: var(--fg-dim);
  font-size: 1.1rem;
}

.features-grid {
  max-width: 1000px;
  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: 40px 32px;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(59, 240, 122, 0.2);
}

.feature-icon {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

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

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

/* ========== TIMELINE ========== */
.how {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 72px;
  letter-spacing: -0.02em;
}

.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding-left: 120px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 6px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}

.timeline-time {
  position: absolute;
  left: -120px;
  top: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.5px;
  width: 80px;
  text-align: right;
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ========== CLOSING ========== */
.closing {
  padding: 120px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 20px;
}

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

/* ========== FOOTER ========== */
.site-footer {
  padding: 48px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .terminal-body {
    font-size: 11px;
    padding: 14px;
  }
  .log-line {
    white-space: normal;
    margin-bottom: 4px;
  }
  .timeline {
    padding-left: 80px;
  }
  .timeline::before {
    left: 60px;
  }
  .timeline-time {
    left: -80px;
    width: 60px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 16px 40px;
  }
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    display: none;
  }
  .timeline-item::before {
    display: none;
  }
  .timeline-time {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 4px;
  }
  .timeline-item {
    padding-left: 0;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
}