:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-elevated: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8888a0;
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.3);
  --green: #00d26a;
  --amber: #f5a623;
  --red: #e74c3c;
  --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: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  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;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 32px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  margin-bottom: 24px;
  color: var(--fg);
}

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

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 580px;
  margin-bottom: 48px;
}

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

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

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

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

.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', monospace;
  font-size: 13px;
  line-height: 2;
}

.terminal-body .line {
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.terminal-body .time {
  color: var(--accent);
  margin-right: 12px;
  font-weight: 500;
}

.terminal-body .line.active {
  color: var(--green);
}

.terminal-body .line.active .time {
  color: var(--green);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  margin-left: 8px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============ HOW ============ */
.how {
  padding: 120px 24px;
  background: var(--bg);
}

.how-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 12px;
}

.how-sub {
  color: var(--fg-muted);
  font-size: 18px;
  margin-bottom: 64px;
  max-width: 500px;
}

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

.step {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
}

.step:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.step:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

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

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

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

.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(108, 92, 231, 0.3);
}

.feature-card.wide {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card), rgba(108, 92, 231, 0.08));
  border-color: rgba(108, 92, 231, 0.15);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

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

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

.numbers-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-val {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #a29bfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

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

/* ============ CLOSING ============ */
.closing {
  padding: 140px 24px;
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(32px, 5vw, 56px);
  margin-bottom: 24px;
}

.closing p {
  color: var(--fg-muted);
  font-size: 18px;
  line-height: 1.8;
}

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

.footer-inner {
  max-width: 1000px;
  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;
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .step { border-radius: var(--radius) !important; }

  .features-inner {
    grid-template-columns: 1fr;
  }
  .feature-card.wide {
    grid-column: 1;
  }

  .numbers-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .terminal-body {
    font-size: 11px;
    padding: 14px;
  }

  .terminal-body .line {
    white-space: normal;
  }
}