:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --fg-primary: #f1f5f9;
  --fg-secondary: #94a3b8;
  --fg-muted: #64748b;
  --accent: #f59e0b;
  --accent-dim: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --border: #1e293b;
  --radius: 12px;
  --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;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout ---- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Hero ---- */
.hero {
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 700px;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 1.2rem;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ---- Stats Bar ---- */
.stats-bar {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-top: 4px;
}

/* ---- Problem Section ---- */
.problem {
  padding: 96px 0;
}

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

.problem h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin-bottom: 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.problem-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.problem-card .icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

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

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

/* ---- Features ---- */
.features {
  padding: 96px 0;
  background: var(--bg-secondary);
}

.features h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.features .section-sub {
  color: var(--fg-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 56px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-primary);
  border: 1px solid var(--border);
}

.feature-item .feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
}

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

/* ---- Pricing ---- */
.pricing {
  padding: 96px 0;
}

.pricing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.pricing .section-sub {
  color: var(--fg-secondary);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 56px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--accent);
  position: relative;
}

.price-card.featured::before {
  content: 'Most popular';
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 2px 12px;
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
}

.price-card .tier-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.price-card .tier-desc {
  color: var(--fg-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--fg-muted);
}

.price-card .tier-includes {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  flex: 1;
}

.price-card ul li {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.price-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Pricing CTA links in price cards */
.pricing-cta-link {
  display: block;
  margin-top: 20px;
  padding: 11px 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s;
}
.pricing-cta-link:hover { background: #4f46e5; }
.price-card:not(.featured) .pricing-cta-link {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}
.price-card:not(.featured) .pricing-cta-link:hover { background: rgba(99,102,241,0.1); }

/* ---- Closing ---- */
.closing {
  padding: 96px 0;
  background: var(--bg-secondary);
  text-align: center;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 600px;
  margin: 0 auto 20px;
}

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

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

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

/* ---- Landing Nav ---- */
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.topnav-logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.topnav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 18px;
  border: 1px solid rgba(245,158,11,0.35);
  border-radius: 8px;
  transition: background 0.15s;
}

.topnav-cta:hover { background: var(--accent-glow); }

.topnav-signin {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-secondary);
  text-decoration: none;
  transition: color 0.15s;
}

.topnav-signin:hover { color: var(--fg-primary); }

/* ---- Hero CTA button ---- */
.hero-ctas { margin-top: 36px; }

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
}

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

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero { padding: 80px 0 60px; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .problem, .features, .pricing, .closing { padding: 64px 0; }
}