:root {
  --bg: #0a0e17;
  --bg-elevated: #111827;
  --bg-card: #161d2e;
  --fg: #e2e8f0;
  --fg-muted: #8892a8;
  --accent: #00e599;
  --accent-dim: rgba(0, 229, 153, 0.12);
  --accent-glow: rgba(0, 229, 153, 0.25);
  --red: #ff4d4d;
  --yellow: #fbbf24;
  --blue: #38bdf8;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

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

/* ---- HERO ---- */
.hero {
  padding: 100px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0, 229, 153, 0.2);
  border-radius: 100px;
  padding: 6px 18px;
  margin-bottom: 32px;
}
h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero-sub {
  max-width: 600px;
  margin: 0 auto 48px;
  color: var(--fg-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ---- TERMINAL ---- */
.hero-terminal {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red { background: var(--red); }
.dot.yellow { background: var(--yellow); }
.dot.green { background: var(--accent); }
.terminal-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
}
.terminal-body {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 2;
}
.terminal-line {
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.t-time { color: #4a5568; }
.t-ok { color: var(--accent); font-weight: 500; }
.t-scan { color: var(--blue); font-weight: 500; }
.t-watch { color: var(--yellow); font-weight: 500; }
.blink .t-watch {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---- STATS ---- */
.stats {
  padding: 60px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; flex: 1; min-width: 200px; }
.stat-num {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.08);
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 24px;
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.features-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.features-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 56px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 36px;
  transition: border-color 0.2s;
}
.feature-card:hover {
  border-color: rgba(0, 229, 153, 0.2);
}
.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ---- HOW ---- */
.how {
  padding: 100px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.how-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.how-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 56px;
}
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}
.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-content p {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ---- CLOSING ---- */
.closing {
  padding: 120px 24px;
  text-align: center;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}
.closing-inner {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}
.closing-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.closing-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--fg);
}
.footer-note {
  color: var(--fg-muted);
  font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-divider { width: 60px; height: 1px; }
  .how-step { flex-direction: column; gap: 12px; }
  .step-num { font-size: 2rem; width: auto; }
  .hero { padding: 72px 20px 48px; }
  .terminal-body { font-size: 11px; padding: 14px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}