:root {
  --bg: #0a0a0c;
  --bg-elevated: #111114;
  --bg-card: #16161a;
  --fg: #e8e8ec;
  --fg-muted: #8a8a96;
  --accent: #00e676;
  --accent-dim: #00e67633;
  --red: #ff3d57;
  --red-dim: #ff3d5733;
  --border: #222228;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Space Grotesk', sans-serif;
}

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

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

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 6% 4rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

.lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* Scan animation box */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.scan-box {
  width: 320px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scanMove 2.5s ease-in-out infinite;
}

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

.scan-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.scan-result {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  background: var(--red-dim);
  border-radius: 4px;
}

.scan-result.ok {
  color: var(--accent);
  background: var(--accent-dim);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot.red { background: var(--red); box-shadow: 0 0 8px var(--red); }
.dot.green { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ===== STATS ===== */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 4rem 6%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-num {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

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

/* ===== HOW ===== */
.how {
  padding: 6rem 6%;
  max-width: 900px;
  margin: 0 auto;
}

.mono-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}

.how h2, .features-header h2, .closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.step:hover {
  border-color: var(--accent);
}

.step-num {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

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

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

/* ===== FEATURES ===== */
.features {
  padding: 6rem 6%;
  background: var(--bg-elevated);
}

.features-header {
  max-width: 900px;
  margin: 0 auto 3rem;
}

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

.feature-card {
  padding: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.feature-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg) 0%, #0d1a12 100%);
  border-color: var(--accent-dim);
}

.feature-icon {
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

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

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

/* ===== CLOSING ===== */
.closing {
  padding: 6rem 6%;
  text-align: center;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
}

.closing p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.8;
  margin-top: 1.5rem;
}

.closing-note {
  font-family: var(--mono);
  font-size: 0.85rem !important;
  color: var(--accent) !important;
  margin-top: 2.5rem !important;
}

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

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

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 5% 3rem;
    gap: 2.5rem;
  }

  .hero::before { display: none; }

  .hero-visual { justify-content: flex-start; }

  .scan-box { width: 100%; max-width: 320px; }

  .stats {
    flex-direction: column;
    gap: 2rem;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }

  .how, .features, .closing {
    padding: 4rem 5%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.featured {
    grid-column: span 1;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}