:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --border: #1e1e2a;
  --text-primary: #e8e8ed;
  --text-secondary: #8888a0;
  --text-muted: #55556a;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-glow: rgba(0, 229, 160, 0.25);
  --red: #ff4d4d;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 6rem 5vw 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid { position: relative; z-index: 1; }

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

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

.hero h1 .accent {
  color: var(--accent);
  text-shadow: 0 0 40px var(--accent-glow);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
}

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

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

/* ── SCAN VISUAL ── */
.scan-visual {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  overflow: hidden;
}

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

@keyframes scanMove {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(280px); opacity: 1; }
}

.data-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.data-row:last-child { border-bottom: none; }

.data-key { color: var(--text-muted); }

.data-val.bad { color: var(--red); }
.data-val.good { color: var(--accent); }

/* ── SECTIONS SHARED ── */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* ── HOW IT WORKS ── */
.how-it-works {
  padding: 8rem 5vw;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 2rem;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step-connector {
  width: 1px;
  min-height: 120px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  flex-shrink: 0;
  align-self: stretch;
}

/* ── SIGNALS ── */
.signals {
  padding: 8rem 5vw;
}

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

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

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

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

.signal-icon {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--accent);
  background: var(--accent-dim);
  display: inline-block;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}

.signal-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.signal-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── INDUSTRIES ── */
.industries {
  padding: 6rem 5vw;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.industries h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.industry-ticker {
  overflow: hidden;
  margin-bottom: 2rem;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  animation: tickerScroll 20s linear infinite;
  width: max-content;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.ticker-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.industries-subtext p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* ── CLOSING ── */
.closing {
  padding: 10rem 5vw;
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.4;
}

.closing-inner {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 750px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
}

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

/* ── FOOTER ── */
.site-footer {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.footer-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

  .hero-stats { gap: 1.2rem; }

  .steps {
    flex-direction: column;
  }

  .step-connector {
    width: 100%;
    min-height: 1px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
  }

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

  .closing { padding: 6rem 5vw; }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-stats { flex-wrap: wrap; }
  .stat-divider { display: none; }
}