:root {
  --navy: #0f2436;
  --blue: #1d5ba6;
  --blue-dark: #144278;
  --orange: #f5871f;
  --orange-dark: #d9720e;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --text: #16232e;
  --text-muted: #48586a;
  --border: #e1e7ee;
  --radius: 10px;
  --max-width: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
}

p { margin: 0 0 16px; color: var(--text-muted); }

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--blue-dark) 100%);
  color: #fff;
  padding: 56px 0 44px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: 2rem;
  letter-spacing: -0.01em;
}

.hero .subhead {
  color: #d7e3f0;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
  max-width: 380px;
  transition: transform 0.05s ease, background 0.15s ease, opacity 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--orange);
  color: #ffffff;
}

.btn-primary:hover { background: var(--orange-dark); }

.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 44px 0;
}

.section h2 {
  font-size: 1.5rem;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.problem { background: var(--bg); text-align: center; }
.problem p { max-width: 520px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

.solution { background: var(--bg-alt); }

.feature-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.feature-list h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  color: var(--blue-dark);
}

.feature-list p { margin: 0; }

.who { text-align: center; }
.who p { max-width: 520px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

/* ---------- PRICING ---------- */
.pricing { background: var(--bg-alt); }

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  max-width: 420px;
  margin: 28px auto 0;
  text-align: center;
  box-shadow: 0 6px 24px rgba(15, 36, 54, 0.06);
}

.price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.price-row:last-of-type { border-bottom: none; }

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-dark);
}

.price-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-detail {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.price-card .btn { margin-top: 20px; }

/* ---------- FOOTER CTA ---------- */
.footer-cta {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.footer-cta h2 { color: #fff; }

/* ---------- SITE FOOTER ---------- */
.site-footer {
  background: #0b1b28;
  color: #93a3b3;
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer p { margin: 0; color: inherit; }

/* ---------- CTA CONTAINER ---------- */
.hero .btn, .footer-cta .btn { margin: 0 auto; }

/* ---------- ERROR TOAST ---------- */
.checkout-error {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #b3261e;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  z-index: 50;
}

/* ---------- RESPONSIVE (tablet/desktop) ---------- */
@media (min-width: 640px) {
  .hero { padding: 80px 0 64px; }
  .hero h1 { font-size: 2.6rem; }
  .hero .subhead { font-size: 1.15rem; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 1.9rem; }
  .feature-list { grid-template-columns: 1fr 1fr; }
}
