:root {
  --bg: #0a0b0f;
  --bg-secondary: #12131a;
  --bg-card: #161722;
  --fg: #e8e9ed;
  --fg-muted: #8b8d9a;
  --accent: #00e5c3;
  --accent-dim: rgba(0, 229, 195, 0.12);
  --detect: #ff4d6a;
  --clear: #00e5c3;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  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;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(ellipse, rgba(0,229,195,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

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

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

/* SCAN GRID VISUAL */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.scan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  max-width: 420px;
}

.scan-cell {
  background: var(--bg-card);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.scan-cell.active {
  background: rgba(255, 77, 106, 0.05);
}

.status {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status.detect { color: var(--detect); }
.status.clear { color: var(--clear); }

/* PROBLEM SECTION */
.problem {
  padding: 8rem 5vw;
  background: var(--bg-secondary);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3.5rem;
}

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

.problem-card {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.problem-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

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

/* FEATURES */
.features {
  padding: 8rem 5vw;
}

.features-list {
  max-width: 720px;
}

.feature-row {
  display: flex;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
  padding-top: 0.15rem;
}

.feature-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

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

.closing::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 50vh;
  background: radial-gradient(ellipse at center bottom, rgba(0,229,195,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1.1rem;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

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

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 6vw;
    gap: 3rem;
  }

  .scan-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 320px;
  }

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

  .feature-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .feature-icon {
    width: auto;
    text-align: left;
  }

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

@media (max-width: 480px) {
  .hero { padding: 3rem 5vw; }
  .problem, .features { padding: 5rem 5vw; }
  .closing { padding: 6rem 5vw; }
  .scan-grid { max-width: 280px; }
  .scan-cell { padding: 1rem; }
}