:root {
  --bg: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: #1a1a26;
  --fg: #e8e8ed;
  --fg-muted: #8a8a9a;
  --accent: #4f7df5;
  --accent-warm: #f5a623;
  --accent-glow: rgba(79, 125, 245, 0.15);
  --border: #2a2a3a;
  --danger: #ef4444;
  --success: #22c55e;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1100px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === SHARED === */
.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 16px;
}

/* === WAITLIST FORM (shared across hero, pricing, closing) === */
.waitlist-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.waitlist-input {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 360px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input::placeholder {
  color: var(--fg-muted);
}

.waitlist-input:focus {
  border-color: var(--accent);
}

.waitlist-btn {
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
}

.waitlist-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.waitlist-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.waitlist-meta {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-align: center;
}

.waitlist-success {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--success);
  font-weight: 500;
  text-align: center;
}

.waitlist-error {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--danger);
  text-align: center;
}

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

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(79,125,245,0.4);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 40px;
  background: var(--accent-glow);
}

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

.hero .highlight,
.closing .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 44px;
}

.hero-waitlist {
  width: 100%;
  max-width: 600px;
}

.hero-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(79,125,245,0.07) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

/* Social proof strip */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.proof-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  white-space: nowrap;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* === PROBLEM === */
.problem {
  padding: 80px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.3s;
}

.problem-card:hover { border-color: var(--fg-muted); }

.problem-card.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card), rgba(79,125,245,0.05));
}

.problem-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.problem-card.active .problem-number {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.problem-label {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

.problem-statement {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: var(--fg-muted);
}

/* === HOW === */
.how {
  padding: 100px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.how h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 56px;
}

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

.how-step {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform 0.2s, border-color 0.3s;
  position: relative;
}

.how-step:hover {
  transform: translateY(-3px);
  border-color: rgba(79,125,245,0.5);
}

.how-step-accent {
  border-color: rgba(79,125,245,0.35);
  background: linear-gradient(135deg, var(--bg-surface), rgba(79,125,245,0.04));
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.step-icon-badge {
  font-size: 1.8rem;
  margin-bottom: 16px;
  line-height: 1;
}

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

.how-step p {
  color: var(--fg-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* === NUMBERS (competitor compare) === */
.numbers {
  padding: 100px 24px;
  background: var(--bg-surface);
}

.numbers-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.numbers h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}

.numbers-sub {
  text-align: center;
  color: var(--fg-muted);
  max-width: 620px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Competitor table */
.comp-table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comp-table thead {
  background: var(--bg-card);
}

.comp-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comp-table tbody .comp-row td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.comp-row-bad {
  color: var(--fg-muted);
}

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

.comp-row-bad .comp-name {
  color: var(--fg-muted);
}

.comp-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--danger);
  white-space: nowrap;
}

.comp-row-nightshift {
  background: linear-gradient(90deg, rgba(79,125,245,0.06), transparent);
}

.comp-row-nightshift td {
  border-bottom: none;
}

.comp-price-good {
  color: var(--success) !important;
}

.comp-badge {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 10px;
  background: var(--accent-glow);
  border: 1px solid rgba(79,125,245,0.4);
  color: var(--accent);
  border-radius: 100px;
  vertical-align: middle;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}

/* === PRICING === */
.pricing {
  padding: 100px 24px;
  background: var(--bg);
}

.pricing-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(79,125,245,0.35);
  border-radius: 20px;
  padding: 48px 40px;
  position: relative;
  box-shadow: 0 0 60px rgba(79,125,245,0.06);
}

.pricing-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  border: 1px solid rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.08);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  margin-bottom: 16px;
}

.price-currency {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--fg-muted);
  padding-top: 12px;
}

.price-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--fg), rgba(232,232,237,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg-muted);
  align-self: flex-end;
  padding-bottom: 14px;
}

.pricing-desc {
  color: var(--fg-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.65;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--fg);
}

.feat-check {
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-waitlist-form {
  margin-bottom: 16px;
}

.pricing-no-cc {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-top: 12px;
}

.pricing-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

/* === CLOSING === */
.closing {
  padding: 120px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.closing-waitlist {
  max-width: 560px;
  margin: 0 auto;
}

.closing-row {
  justify-content: center;
}

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

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

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

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

/* === MOBILE === */
@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    padding: 100px 20px 64px;
  }

  .hero-social-proof {
    gap: 20px;
    margin-top: 44px;
  }

  .proof-divider {
    height: 28px;
  }

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

  .problem-card { padding: 28px 20px; }
  .problem-number { font-size: 2.2rem; }

  .how-grid-3 {
    grid-template-columns: 1fr;
  }

  .comp-table thead th:nth-child(3),
  .comp-table tbody td:nth-child(3) {
    display: none;
  }

  .pricing-card {
    padding: 36px 24px;
  }

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

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: 1rem; }
  .how h2, .numbers h2, .closing h2 { font-size: 1.6rem; }
  .price-num { font-size: 4rem; }

  .comp-table thead th:nth-child(4),
  .comp-table tbody td:nth-child(4) {
    display: none;
  }
}
