:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a26;
  --fg-primary: #e8e6f0;
  --fg-secondary: #9892a6;
  --fg-muted: #6b6580;
  --accent: #7c5cfc;
  --accent-glow: rgba(124, 92, 252, 0.3);
  --accent-subtle: rgba(124, 92, 252, 0.08);
  --green: #4ade80;
  --green-glow: rgba(74, 222, 128, 0.2);
  --red: #f87171;
  --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-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Hero ---- */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  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;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

.hero h1 .ghost-text {
  background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lede {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--fg-secondary);
  max-width: 540px;
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.hero-stat .number.red { color: var(--red); }
.hero-stat .number.green { color: var(--green); }
.hero-stat .number.accent { color: var(--accent); }

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

/* ---- Problem/Solution ---- */
.problem {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

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

.problem-card.bad {
  background: linear-gradient(135deg, rgba(248, 113, 113, 0.04), transparent);
}

.problem-card.good {
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.04), transparent);
}

.problem-card .card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.problem-card.bad .card-label { color: var(--red); }
.problem-card.good .card-label { color: var(--green); }

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

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

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ---- Features ---- */
.features {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

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

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

.feature-card:hover {
  border-color: rgba(124, 92, 252, 0.2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

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

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

/* ---- Verticals ---- */
.verticals {
  padding: 6rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.verticals-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.vertical-tag {
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--fg-secondary);
  font-weight: 500;
  transition: all 0.2s;
}

.vertical-tag:hover {
  border-color: var(--accent);
  color: var(--fg-primary);
  background: var(--accent-subtle);
}

/* ---- Closing ---- */
.closing {
  padding: 8rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.closing p {
  color: var(--fg-secondary);
  font-size: 1.1rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

/* ---- Footer ---- */
footer {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .hero-stat .number {
    font-size: 1.5rem;
  }
}