:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a2036;
  --bg-glow: rgba(56, 189, 248, 0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #38bdf8;
  --accent-amber: #f59e0b;
  --accent-green: #34d399;
  --border: rgba(148, 163, 184, 0.1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -300px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-blue);
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  width: fit-content;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 780px;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-amber);
}

.hero-stat .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* FEATURES */
.features {
  padding: 100px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  max-width: 560px;
}

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

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

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.feature-card.wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 20px;
}

.feature-icon.amber { background: rgba(245, 158, 11, 0.1); }
.feature-icon.green { background: rgba(52, 211, 153, 0.1); }

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

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

.terminal {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
}

.terminal .line {
  display: block;
}

.terminal .prompt {
  color: var(--accent-green);
}

.terminal .cmd {
  color: var(--text-primary);
}

.terminal .output {
  color: var(--text-muted);
}

.terminal .status {
  color: var(--accent-amber);
}

/* HOW IT WORKS */
.how-it-works {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

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

.step {
  position: relative;
  padding: 32px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(56, 189, 248, 0.1);
  line-height: 1;
  margin-bottom: 16px;
}

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

.step p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* CLOSING */
.closing {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  position: relative;
}

.closing p {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

/* FOOTER */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card.wide { grid-column: span 1; grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}