:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e6e3;
  --fg-muted: #8a8690;
  --fg-dim: #5a5660;
  --accent: #ff4d4d;
  --accent-glow: rgba(255, 77, 77, 0.15);
  --accent-soft: #ff6b6b;
  --green: #22c55e;
  --green-glow: rgba(34, 197, 94, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--accent-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  max-width: 700px;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--fg-muted);
  max-width: 560px;
  margin-bottom: 56px;
}

/* Bill visual card */
.hero-visual {
  width: 100%;
  max-width: 520px;
  position: relative;
}

.bill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
}

.bill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.bill-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.bill-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--fg-muted);
}

.bill-errors {
  padding: 8px 0;
}

.error-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 14px;
  transition: background 0.2s;
}

.error-line.found {
  color: var(--fg);
}

.error-icon {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.error-line span:nth-child(2) {
  flex: 1;
}

.error-save {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--green);
}

.bill-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--green-glow);
}

.bill-footer span:first-child {
  font-size: 14px;
  color: var(--fg-muted);
}

.bill-savings {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
}

/* STATS */
.stats {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--accent-soft);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--fg-muted);
  margin-top: 8px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* HOW IT WORKS */
.how {
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -1px;
  margin-bottom: 12px;
}

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

.steps {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  padding: 40px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 480px;
}

.step-connector {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto;
  opacity: 0.3;
}

/* WEAPONS / FEATURES */
.weapons {
  padding: 100px 24px;
  background: var(--bg-elevated);
}

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

.weapon-card {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s;
}

.weapon-card:hover {
  border-color: rgba(255, 77, 77, 0.2);
}

.weapon-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.weapon-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.weapon-card p {
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* CLOSING */
.closing {
  padding: 120px 24px;
  text-align: center;
}

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

.closing h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  line-height: 1.25;
}

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

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

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

.footer-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.footer-tagline {
  color: var(--fg-dim);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .stats-grid {
    flex-direction: column;
    gap: 32px;
  }

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

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

  .step {
    padding: 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px 40px;
  }

  .bill-header,
  .error-line,
  .bill-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .closing {
    padding: 80px 20px;
  }
}