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

:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-warm: #f5ede0;
  --cream: #f9f3e8;
  --text: #1c1410;
  --muted: #6b5a4e;
  --accent: #c05c2a;
  --accent-deep: #9b4520;
  --accent-light: #e8c4a8;
  --gold: #c49a3c;
  --gold-light: #f2e4c0;
  --line: #e8ddd4;
  --footer: #1a120c;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(28, 20, 16, 0.09);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.68;
}

a { color: var(--accent-deep); }

img { display: block; max-width: 100%; height: auto; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: #fff;
  padding: 10px 14px; border-radius: 8px;
  text-decoration: none; z-index: 50;
}
.skip-link:focus { left: 8px; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192, 92, 42, 0.12);
}

.nav-wrap {
  min-height: 66px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 10px 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem;
  text-decoration: none; color: var(--text);
  max-width: 230px; line-height: 1.2;
  letter-spacing: -0.01em;
}

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

.nav-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px;
}

.nav-links a {
  text-decoration: none; color: var(--text);
  font-weight: 500; font-size: 0.94rem;
  padding: 8px 12px; border-radius: 8px;
  transition: background 0.18s ease;
}

.nav-links a:hover, .nav-links a:focus-visible {
  background: var(--surface-warm);
}

/* ── SECTIONS ── */
.section { padding: 72px 0; }

.section-alt {
  background: linear-gradient(155deg, #f5ede0, #faf7f2 55%, #f2ece0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading { margin-bottom: 28px; }

.section-heading h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  line-height: 1.22; margin: 0 0 8px;
  font-weight: 700;
}

.section-heading p { margin: 0; color: var(--muted); }

/* ── HERO ── */
.hero { padding-top: 48px; }

.hero-grid { display: grid; gap: 28px; }

.eyebrow {
  display: inline-block; margin: 0 0 16px;
  color: var(--accent); background: #fde9d8;
  border: 1px solid #f0c8ab;
  border-radius: 999px; padding: 6px 14px;
  font-weight: 600; font-size: 0.83rem;
  letter-spacing: 0.08em; text-transform: uppercase;
}

h1 {
  font-family: var(--font-display);
  margin: 0; font-size: clamp(2.1rem, 6vw, 3.5rem);
  line-height: 1.1; text-wrap: balance;
  font-weight: 900; letter-spacing: -0.02em;
}

.subheadline {
  margin: 16px 0 22px; color: var(--muted);
  font-size: 1.05rem; max-width: 58ch; font-weight: 300;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center;
  justify-content: center; border: 0;
  border-radius: 10px; text-decoration: none;
  font-family: var(--font-body); font-weight: 600;
  font-size: 1rem; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 13px 22px;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 6px 20px rgba(155, 69, 32, 0.3);
}
.btn-primary:hover, .btn-primary:focus-visible {
  box-shadow: 0 10px 26px rgba(155, 69, 32, 0.38);
}

.btn-secondary {
  color: var(--accent-deep); background: #fff;
  border: 1.5px solid var(--accent-light);
}

.btn-large { width: 100%; font-size: 1.05rem; }

.trust-badge {
  margin: 14px 0 0; color: var(--accent-deep);
  font-size: 0.9rem; font-weight: 600;
}

.hero-media {
  margin: 0; border-radius: 20px;
  overflow: clip; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* ── CARDS ── */
.split-grid, .card-grid, .step-grid, .faq-list {
  display: grid; gap: 18px;
}

.info-card, .feature-card, .step-card,
.review-card, .faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.info-card-solution {
  background: linear-gradient(140deg, #fff, #fdf4ea);
  border-color: #e8d0b8;
}

.icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px; display: inline-grid;
  place-items: center; background: #fde9d8;
  margin-bottom: 10px;
}

.icon-wrap svg {
  width: 22px; height: 22px;
  fill: var(--accent);
}

.info-card h2 {
  font-family: var(--font-display);
  margin: 8px 0; font-size: 1.4rem;
  line-height: 1.26; font-weight: 700;
}

.info-card p, .feature-card p,
.review-card blockquote, .step-card p, .faq-item p {
  margin: 0; color: var(--muted);
}

.mockup-figure {
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 20px; overflow: clip;
  box-shadow: var(--shadow);
}

.feature-card h3, .step-card h3, .faq-item h3 {
  font-family: var(--font-display);
  margin: 0 0 8px; font-size: 1.18rem;
  line-height: 1.28; font-weight: 700;
}

.step-grid { list-style: none; margin: 0; padding: 0; }

.step-card { position: relative; padding-top: 54px; }

.step-number {
  position: absolute; top: 18px; left: 18px;
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center;
  font-weight: 800; font-family: var(--font-display);
  background: var(--gold-light); color: var(--accent-deep);
  font-size: 0.95rem;
}

.review-card blockquote {
  margin: 10px 0; font-size: 1rem;
  font-style: italic;
}

.stars {
  margin: 0; letter-spacing: 0.14em;
  color: var(--gold); font-size: 0.95rem;
}

.reviewer { margin: 0; font-weight: 600; font-size: 0.92rem; }

/* ── PRICING ── */
.pricing {
  background: linear-gradient(160deg, #fdf1e6, #faf7f2 60%, #f6efe6);
}

.pricing-box {
  background: var(--surface);
  border: 1px solid #e2ccb4;
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(28, 20, 16, 0.12);
  padding: 28px 22px;
}

.pricing-box h2 {
  font-family: var(--font-display);
  margin: 0 0 16px;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 700;
}

/* ── ASSESSMENT ── */
.assessment-box {
  background: linear-gradient(160deg, #fdf8f3, #f7f2ea 55%, #faf3e6);
}

.assessment-progress { margin-bottom: 18px; }

.assessment-progress-track {
  width: 100%; height: 8px;
  border-radius: 999px; background: #e8d8c8; overflow: hidden;
}

.assessment-progress-fill {
  width: 0; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width 0.3s ease;
}

.assessment-progress-text {
  margin: 8px 0 0; color: var(--muted);
  font-size: 0.84rem; font-weight: 600;
}

.assessment-stage {
  min-height: 370px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.assessment-stage.is-transitioning {
  opacity: 0; transform: translateY(6px);
}

.assessment-screen { display: none; }

.assessment-screen.is-active {
  display: grid; gap: 14px;
  align-content: start;
  animation: assessment-fade 0.28s ease both;
}

.assessment-screen h2 {
  font-family: var(--font-display);
  margin: 0; font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.22; font-weight: 700;
}

.assessment-screen p { margin: 0; color: var(--muted); }

.assessment-benefits {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 10px;
}

.assessment-benefits li {
  position: relative; padding: 0 0 0 30px;
  font-weight: 500;
}

.assessment-benefits li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 15px; height: 15px;
  border-radius: 4px;
  background: var(--gold-light);
  border: 2px solid var(--gold);
}

.assessment-description { font-weight: 500; color: var(--muted); }

.assessment-options { display: grid; gap: 10px; }

.assessment-option {
  width: 100%;
  border: 1.5px solid var(--accent-light);
  border-radius: 12px; background: #fff;
  color: var(--text); text-align: left;
  font: inherit; font-family: var(--font-body);
  font-weight: 500; padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.18s ease;
}

.assessment-option:hover, .assessment-option:focus-visible {
  border-color: var(--accent);
  background: #fdf0e6; transform: translateY(-1px);
}

.assessment-loader {
  justify-items: center; text-align: center; padding-top: 12px;
}

.assessment-spinner {
  width: 52px; height: 52px; border-radius: 999px;
  border: 4px solid var(--gold-light);
  border-top-color: var(--accent);
  animation: assessment-spin 0.85s linear infinite;
}

.assessment-form { display: grid; gap: 12px; }

.assessment-form label { font-weight: 600; }

.assessment-form input[type="email"] {
  width: 100%; border: 1.5px solid var(--accent-light);
  border-radius: 10px; padding: 12px;
  font: inherit; font-family: var(--font-body);
  color: var(--text); background: #fff;
}

.assessment-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.assessment-check {
  display: flex; align-items: flex-start;
  gap: 10px; font-size: 0.92rem; color: var(--muted);
}

.assessment-check input[type="checkbox"] { margin-top: 3px; }

.assessment-micro { margin: 0; color: #7a6257; font-size: 0.84rem; }

/* ── CHECKLIST ── */
.checklist { margin: 0 0 20px; padding: 0; list-style: none; }
.checklist li {
  position: relative; margin: 0; padding: 0 0 0 28px;
}
.checklist li + li { margin-top: 10px; }
.checklist li::before {
  content: ''; position: absolute;
  left: 0; top: 0.55em; width: 14px; height: 14px;
  border-radius: 4px; background: var(--gold-light);
  border: 2px solid var(--gold);
}

/* ── PRICE AREA ── */
.price-area {
  border: 1px dashed #d4b896;
  border-radius: 12px; background: #fdf6ee;
  padding: 14px; margin: 0 0 16px;
}
.price-area p { margin: 0; }
.old-price { color: #a08070; text-decoration: line-through; }
.today-price {
  font-size: 1.6rem; font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent-deep); margin-top: 4px;
}
.billing-note, .guarantee, .fine-print, .copyright {
  margin: 10px 0 0; color: var(--muted); font-size: 0.9rem;
}

/* ── FAQ ── */
.faq-item {
  background: linear-gradient(145deg, #fff, #fdf6f0);
}

/* ── FOOTER ── */
.site-footer {
  background: linear-gradient(160deg, #120d08, var(--footer));
  color: #d8cec8; padding: 36px 0 40px;
}

.footer-links {
  display: flex; flex-wrap: wrap; gap: 12px;
}

.footer-links a {
  color: #e8ddd8; text-decoration: none; font-size: 0.93rem;
}
.footer-links a:hover, .footer-links a:focus-visible {
  text-decoration: underline;
}

.business-info {
  margin-top: 18px; font-style: normal;
  font-size: 0.92rem; line-height: 1.7;
}
.business-info a { color: #f0d4c0; }

.site-footer .fine-print,
.site-footer .copyright { color: #b0a098; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; right: 12px; left: 12px; bottom: 12px;
  background: rgba(26, 18, 12, 0.96); color: #ede5e0;
  border: 1px solid rgba(210, 160, 120, 0.35);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
  padding: 14px; z-index: 40;
}
.cookie-banner p { margin: 0; font-size: 0.9rem; }
.cookie-actions { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 14px; font-size: 0.9rem; }

/* ── LEGAL PAGES ── */
.legal-main { padding: 40px 0 72px; }

.legal-article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
}

.legal-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: 8px; font-weight: 700;
}

.legal-article h2 {
  font-family: var(--font-display);
  margin: 24px 0 8px; font-size: 1.22rem; font-weight: 700;
}

.legal-article p, .legal-article li { color: var(--muted); }
.legal-article ul { margin: 0; padding-left: 22px; }

.back-home {
  display: inline-block; margin-bottom: 18px;
  text-decoration: none; font-weight: 600;
  color: var(--accent);
}

/* ── CHECKOUT ── */
.checkout-card { max-width: 760px; margin-inline: auto; }
.checkout-subtitle { margin: 0 0 14px; }

.checkout-form { display: grid; gap: 12px; }
.checkout-form label { font-weight: 600; }

.checkout-form input[type="email"],
.checkout-form input[type="text"] {
  width: 100%; border: 1.5px solid var(--accent-light);
  border-radius: 10px; padding: 12px;
  font: inherit; font-family: var(--font-body);
  color: var(--text); background: #fff;
}

.checkout-form input[type="email"]:focus-visible,
.checkout-form input[type="text"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

.stripe-grid { display: grid; gap: 12px; }
.stripe-field-wrap { display: grid; gap: 7px; }

.stripe-element {
  border: 1.5px solid var(--accent-light);
  border-radius: 10px; background: #fff;
  min-height: 46px; padding: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.stripe-element.is-focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(192, 92, 42, 0.16);
}
.stripe-element.is-invalid {
  border-color: #bb4b4b; background: #fff8f8;
}

.form-feedback {
  margin: 0; border-radius: 10px;
  padding: 10px 12px; font-size: 0.9rem;
}
.form-feedback-error {
  color: #7f2f2f; background: #fcebeb;
  border: 1px solid #e5baba;
}
.form-feedback-success {
  color: #3a5c2a; background: #edf7ea;
  border: 1px solid #b9d9b4;
}

#payNowButton:disabled { opacity: 0.7; cursor: not-allowed; }

.secure-line {
  margin: 0; display: flex; align-items: center;
  gap: 8px; color: #5a4838; font-size: 0.9rem; font-weight: 600;
}
.secure-icon { width: 16px; height: 16px; fill: var(--accent-deep); flex: 0 0 auto; }

/* ── ANIMATIONS ── */
@keyframes assessment-fade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes assessment-spin {
  to { transform: rotate(360deg); }
}

/* ── RESPONSIVE ── */
@media (min-width: 720px) {
  .hero { padding-top: 62px; }
  .section { padding: 90px 0; }

  .split-grid, .two-col, .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner { left: auto; width: min(470px, 92vw); }
  .pricing-box { padding: 38px; }

  .assessment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .assessment-stage { min-height: 340px; }

  .stripe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stripe-field-full { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
  }
  .hero-copy { padding-right: 16px; }

  .three-col, .step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-media, .feature-card,
  .review-card, .step-card, .pricing-box {
    animation: rise-in 0.6s ease both;
  }
  .hero-media, .feature-card:nth-child(2),
  .review-card:nth-child(2), .step-card:nth-child(2) { animation-delay: 0.08s; }
  .feature-card:nth-child(3), .step-card:nth-child(3) { animation-delay: 0.15s; }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}
