@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@400;500&display=swap');

:root {
  --bg: #0a0a0f;
  --bg-elevated: #12121a;
  --bg-card: #1a1a25;
  --fg: #e8e8ed;
  --fg-muted: #8b8b9e;
  --accent: #00e676;
  --accent-dim: #00c853;
  --accent-glow: rgba(0, 230, 118, 0.15);
  --danger: #ff5252;
  --danger-dim: rgba(255, 82, 82, 0.15);
  --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; }

html { scroll-behavior: smooth; }

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

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.03em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--accent);
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: var(--bg-card);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #000;
  background: var(--accent);
  padding: 0.45rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--danger-dim);
  border: 1px solid rgba(255, 82, 82, 0.3);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  color: var(--danger);
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.hero h1 .leak-amount {
  color: var(--danger);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.hero h1 .saved {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--fg-muted);
  max-width: 520px;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

/* ---- HERO CTA ---- */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 0 rgba(0, 230, 118, 0);
}

.hero-cta:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.25);
}

/* ---- LEAK TICKER ---- */
.leak-ticker {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.leak-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
}

.leak-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.leak-item-icon.red {
  background: var(--danger-dim);
}

.leak-item-icon.green {
  background: var(--accent-glow);
}

.leak-item-amount {
  font-family: var(--font-display);
  font-weight: 600;
}

.leak-item-amount.red { color: var(--danger); }
.leak-item-amount.green { color: var(--accent); }

.leak-item-label {
  color: var(--fg-muted);
  font-size: 0.8rem;
}

/* ---- HOW IT WORKS ---- */
.how-section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 600px;
  margin-bottom: 3.5rem;
}

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

.step-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.3s;
}

.step-card:hover {
  border-color: rgba(0, 230, 118, 0.2);
}

.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

/* ---- LEAKS SECTION ---- */
.leaks-section {
  padding: 6rem 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.leaks-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.leak-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.leak-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--danger-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.leak-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

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

.leak-card .leak-stat {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  display: inline-block;
}

/* ---- CLOSING ---- */
.closing {
  padding: 8rem 2rem;
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

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

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

/* ---- FOOTER ---- */
.footer {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

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

.footer .footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--fg);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 1rem 1.25rem; }
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero::before { width: 350px; height: 350px; }
  .steps-grid { grid-template-columns: 1fr; }
  .leaks-grid { grid-template-columns: 1fr; }
  .leak-ticker { flex-direction: column; align-items: center; }
  .how-section, .leaks-section .leaks-inner, .closing-inner { padding-left: 1.25rem; padding-right: 1.25rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 1.05rem; }
  .step-card { padding: 1.5rem; }
}