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

:root {
  --primary: #60a5fa;
  --primary-dark: #3b82f6;
  --background: #faf8f6;
  --soft-blue: #e0f2fe;
  --ink: #1e293b;
  --muted: #eef3f7;
  --muted-fg: #64748b;
  --accent: #fde047;
  --accent-fg: #78350f;
  --success: #16a34a;
  --card: #ffffff;
  --border: #e2e8f0;
  --secondary: #fef3c7;
}

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

body {
  font-family: 'DM Sans', 'Noto Sans', sans-serif;
  background: var(--background);
  color: var(--ink);
  line-height: 1.6;
}

.font-story { font-family: 'Patrick Hand', cursive; }

/* ── Utilities ── */
.text-primary { color: var(--primary); }
.text-muted   { color: var(--muted-fg); }
.text-success { color: var(--success); }
.text-center  { text-align: center; }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }

/* ── Buttons ── */
.btn-primary {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(96,165,250,.4);
  transition: filter .2s, transform .1s;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover  { filter: brightness(1.08); }
.btn-primary:active { transform: scale(.98); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: .6rem 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── Sections ── */
.section { padding: 3rem 1rem; }
.section-blue  { background: linear-gradient(to bottom, var(--background), var(--soft-blue)); }
.section-white { background: var(--card); }
.section-muted { background: var(--muted); }
.section-soft  { background: var(--soft-blue); }

.container { max-width: 640px; margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.card-secondary {
  background: var(--secondary);
  border-radius: 16px;
  padding: 1.5rem;
  border-left: 4px solid #f59e0b;
}

/* ── Headings ── */
h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); font-weight: 700; line-height: 1.25; }
h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: 1.2rem; font-weight: 700; }

/* ── Pill badge ── */
.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: .8rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── Testimonials ── */
.stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: .4rem; }

/* ── Accordion ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; background: none; border: none; display: flex;
  justify-content: space-between; align-items: center;
  padding: 1rem 0; font-family: inherit; font-size: 1rem;
  font-weight: 600; color: var(--ink); cursor: pointer; text-align: left;
}
.accordion-chevron { transition: transform .3s; font-size: 1.2rem; }
.accordion-btn.open .accordion-chevron { transform: rotate(180deg); }
.accordion-body {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  font-size: .95rem; color: var(--muted-fg);
}
.accordion-body.open { max-height: 300px; padding-bottom: 1rem; }

/* ── Carousel ── */
.carousel {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  gap: 1rem; padding-bottom: .5rem; -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { height: 4px; }
.carousel::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.carousel-slide {
  flex: 0 0 220px; scroll-snap-align: center;
  background: #fff; border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.1);
}
.carousel-slide img { width: 100%; display: block; }
.carousel-slide .slide-text {
  padding: .75rem; font-size: .8rem; font-family: 'Patrick Hand', cursive;
  line-height: 1.5; color: #333;
}

/* ── Bonuses Grid ── */
.bonuses-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media(min-width: 480px){ .bonuses-grid { grid-template-columns: repeat(3,1fr); } }

.bonus-card {
  background: var(--card); border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: transform .2s;
}
.bonus-card:hover { transform: translateY(-2px); }
.bonus-card img { width: 100%; display: block; }
.bonus-card .bonus-info { padding: .5rem; }
.bonus-card .bonus-title { font-size: .78rem; font-weight: 700; margin-bottom: .2rem; }
.bonus-card .bonus-desc  { font-size: .68rem; color: var(--muted-fg); line-height: 1.4; }

/* ── Pricing card ── */
.price-card {
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  background: var(--card);
  box-shadow: 0 8px 30px rgba(96,165,250,.2);
  text-align: center;
}
.price-big { font-size: 3rem; font-weight: 700; color: var(--primary); }
.price-strike { text-decoration: line-through; color: var(--muted-fg); }

/* ── Checklist ── */
.checklist { list-style: none; text-align: left; }
.checklist li { display: flex; align-items: center; gap: .6rem; margin: .5rem 0; font-size: .95rem; }
.checklist li::before { content: '✔'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ── Guarantee ── */
.guarantee-card {
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: 16px; padding: 1.5rem; text-align: center;
}

/* ── Trust bar ── */
.trust-bar { font-size: .85rem; color: var(--muted-fg); text-align: center; margin-top: .75rem; }

/* ── Quote ── */
.blockquote {
  border-left: 4px solid var(--primary);
  background: var(--soft-blue);
  border-radius: 12px;
  padding: 1.2rem 1.2rem;
  font-style: italic;
  font-size: 1.05rem;
}

/* ── Sparkles Icon ── */
.icon-sparkles { font-size: 3.5rem; opacity: .7; color: var(--primary); text-align: center; margin-bottom: .75rem; }

/* ── Homepage ── */
#home-wrap {
  min-height: 100vh;
  background: linear-gradient(to bottom, var(--background), var(--soft-blue));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1.5rem;
}
#home-box {
  max-width: 448px; width: 100%; display: flex; flex-direction: column; gap: 1.25rem;
}
#name-input {
  height: 56px; width: 100%; border-radius: 12px;
  border: 1.5px solid var(--border); background: var(--card);
  font-family: inherit; font-size: 1.1rem; text-align: center;
  padding: 0 1rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
#name-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(96,165,250,.25); }
#cta-home { height: 56px; font-size: 1.1rem; }

.microcopy {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  font-size: .85rem; color: var(--muted-fg);
}
.dot-gold { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink:0; }

/* ── Offer Hero Image ── */
.hero-img { width: 100%; border-radius: 20px; box-shadow: 0 8px 30px rgba(0,0,0,.12); display: block; }

/* ── Checkout ── */
.checkout-form input, .checkout-form select {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border);
  border-radius: 10px; font-family: inherit; font-size: 1rem;
  margin-bottom: .75rem; outline: none; transition: border-color .2s;
  background: var(--card);
}
.checkout-form input:focus { border-color: var(--primary); }
.checkout-form label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .3rem; }

.order-bump {
  border: 2px dashed var(--primary); border-radius: 14px;
  padding: 1.2rem; margin: 1rem 0; background: #f0f9ff;
}
.order-bump h3 { color: var(--primary); margin-bottom: .5rem; }

.total-row { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.total-row.final { font-weight: 700; font-size: 1.1rem; border-bottom: none; padding-top: .6rem; }

/* Modal */
.modal-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1000; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--card); border-radius: 16px; padding: 2rem;
  max-width: 480px; width: 100%; max-height: 80vh; overflow-y: auto;
}
.modal-close { float: right; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* Hide Netlify badge */
[data-netlify-badge], .netlify-badge, #netlify-badge, a[href*='netlify.com'][target='_blank'] img { display: none !important; }
