:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #16161f;
  --fg: #e8e8ed;
  --fg-muted: #8a8a99;
  --accent: #39ff14;
  --accent-dim: rgba(57, 255, 20, 0.15);
  --accent-glow: rgba(57, 255, 20, 0.3);
  --border: rgba(255, 255, 255, 0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --radius: 12px;
  --max-w: 1100px;
}

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

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

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

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

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-mono);
}

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

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

/* Radar animation */
.radar-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 1;
  opacity: 0.4;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--accent-dim);
}

.ring-1 {
  width: 100%; height: 100%;
  top: 0; left: 0;
}

.ring-2 {
  width: 66%; height: 66%;
  top: 17%; left: 17%;
}

.ring-3 {
  width: 33%; height: 33%;
  top: 33.5%; left: 33.5%;
}

.radar-sweep {
  position: absolute;
  width: 50%;
  height: 50%;
  top: 0;
  left: 50%;
  transform-origin: bottom left;
  background: conic-gradient(from 0deg, transparent, var(--accent-glow), transparent 90deg);
  border-radius: 50% 50% 0 0;
  animation: sweep 4s linear infinite;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.dot-1 { top: 25%; left: 60%; animation-delay: 0s; }
.dot-2 { top: 45%; left: 75%; animation-delay: 0.7s; }
.dot-3 { top: 65%; left: 55%; animation-delay: 1.4s; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

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

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

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

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

.problem-icon {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
  opacity: 0.7;
}

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

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

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

.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.features-header {
  margin-bottom: 3rem;
}

.features-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.features-sub {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 500px;
}

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

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

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

.feature-large {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(57, 255, 20, 0.03) 100%);
  border-color: var(--accent-dim);
}

.feature-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

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

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

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

.how-inner {
  max-width: 700px;
  margin: 0 auto;
}

.how h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
}

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

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

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

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

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

.step-connector {
  width: 1px;
  height: 40px;
  background: var(--accent-dim);
  margin-left: 24px;
}

/* ===== CLOSING ===== */
.closing {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

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

.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: 1rem;
}

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

.footer-links a {
  color: var(--accent);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 4rem 1.5rem 3rem;
  }

  .radar-visual {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: flex-start;
  }

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

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

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

  .feature-large {
    grid-column: span 1;
  }

  .step {
    gap: 1rem;
  }

  .closing {
    padding: 5rem 1.5rem;
  }

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

  section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}