:root {
  --bg: #08090f;
  --bg-2: #0d0f1a;
  --bg-card: #111427;
  --fg: #e8eaf0;
  --fg-muted: #7a8099;
  --accent: #00ff88;
  --accent-dim: rgba(0, 255, 136, 0.12);
  --accent-2: #00e5ff;
  --accent-2-dim: rgba(0, 229, 255, 0.10);
  --pro: #ffd166;
  --free: #00ff88;
  --positive: #00ff88;
  --negative: #ff6b6b;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
}

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

html { scroll-behavior: smooth; }

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

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,136,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,255,136,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
}

.label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.stat-block {
  padding: 24px 36px;
  text-align: center;
}

.stat-value {
  font-family: 'DM Mono', monospace;
  font-size: 28px;
  font-weight: 500;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(255,255,255,0.02);
}

/* ── Section commons ── */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--fg-muted);
  font-size: 16px;
  max-width: 540px;
  line-height: 1.7;
}

/* ── Modules ── */
.modules-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 56px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.module-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.module-card:hover {
  border-color: rgba(0,255,136,0.2);
}

.module-card:hover::before {
  opacity: 1;
}

.module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.module-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.module-tier {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 100px;
}

.module-tier.pro {
  background: rgba(255, 209, 102, 0.12);
  color: var(--pro);
  border: 1px solid rgba(255,209,102,0.2);
}

.module-tier.free {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,255,136,0.2);
}

.module-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.module-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.module-metric {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.module-tag {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
}

.modules-pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: var(--fg-muted);
}

/* ── Process ── */
.process-section {
  padding: 100px 0;
  background: var(--bg);
}

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
}

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

.step-number {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-connector::after {
  content: '';
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
}

/* ── Closing ── */
.closing-section {
  padding: 100px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.terminal-card {
  background: #0c0f1c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  font-family: 'DM Mono', monospace;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,255,136,0.08);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.terminal-dots span:first-child { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #febc2e; }
.terminal-dots span:last-child { background: #28c840; }

.terminal-title {
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
}

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

.ticker-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
}

.ticker-row.dim { opacity: 0.5; }

.ticker-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  width: 80px;
}

.ticker-val {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  color: var(--fg);
}

.ticker-val.positive { color: var(--positive); }
.ticker-val.negative { color: var(--negative); }

.ticker-status {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.ticker-status.muted { color: var(--fg-muted); }

.closing-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 20px;
  line-height: 1.2;
}

.closing-text p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ── Footer ── */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
}

.brand-mark {
  color: var(--accent);
  font-size: 18px;
}

.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { padding: 60px 20px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat-divider { width: 100%; height: 1px; }
  .stat-block { padding: 20px; }
  .process-steps { flex-direction: column; }
  .step-connector { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .closing-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}