:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #151c2c;
  --bg-terminal: #0d1117;
  --fg-primary: #e2e8f0;
  --fg-secondary: #94a3b8;
  --fg-muted: #475569;
  --accent: #10b981;
  --accent-glow: rgba(16, 185, 129, 0.15);
  --accent-dim: #059669;
  --danger: #ef4444;
  --warning: #f59e0b;
  --border: #1e293b;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

.accent { color: var(--accent); }
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.stat { text-align: left; }
.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
  font-family: var(--font-mono);
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

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

.terminal {
  background: var(--bg-terminal);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

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

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dot.red { background: var(--danger); }
.terminal-dot.yellow { background: var(--warning); }
.terminal-dot.green { background: var(--accent); }
.terminal-title {
  margin-left: 8px;
  font-size: 0.75rem;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

.terminal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.terminal-body code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-secondary);
}

.code-comment { color: var(--fg-muted); }
.code-key { color: var(--fg-primary); }
.code-string { color: #a78bfa; }
.code-profit { color: var(--accent); font-weight: 600; }
.code-active { color: var(--accent); font-weight: 600; }

.blink {
  animation: blink 1s step-end infinite;
  color: var(--accent);
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* PROBLEM */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.problem-container {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.problem-icon {
  color: var(--danger);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

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

/* FEATURES */
.features {
  padding: 6rem 2rem;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  transition: border-color 0.3s;
}

.feature-block:hover {
  border-color: var(--accent-dim);
}

.feature-large {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card), rgba(16, 185, 129, 0.05));
  border-color: var(--accent-dim);
}

.feature-number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-block h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-block p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* HOW IT WORKS */
.how-it-works {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}

.hiw-container {
  max-width: 700px;
  margin: 0 auto;
}

.hiw-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hiw-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.hiw-connector {
  width: 1px;
  height: 40px;
  background: var(--border);
  margin-left: 23px;
}

/* CLOSING */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

.closing-container {
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.closing-text {
  color: var(--fg-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 550px;
  margin: 0 auto;
}

/* FOOTER */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg-primary);
}

.footer-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3rem; gap: 3rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-large { grid-column: 1; }
  .problem-grid { grid-template-columns: 1fr; }
  .hiw-step { gap: 1.25rem; }
  .closing { padding: 5rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-badge { font-size: 0.65rem; }
  .feature-block { padding: 1.5rem; }
  .closing h2 { font-size: 1.5rem; }
}