/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #FFF8ED;
  --cream2:  #FFF3DC;
  --orange:  #E8763A;
  --orange2: #D95F1F;
  --teal:    #4AB8B8;
  --brown:   #3D2B1F;
  --brown2:  #7A5C45;
  --brown3:  #9B7B5A;
  --gold:    #F5DEB3;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--brown);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── COUNTDOWN BANNER ── */
#countdown-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: #C0392B;
  text-align: center;
  padding: 6px 12px;
}
#countdown-banner p {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
#countdown-banner .timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}
#countdown-banner .digit {
  background: #fff;
  color: #C0392B;
  font-weight: 900;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 4px;
  min-width: 32px;
  font-variant-numeric: tabular-nums;
}
#countdown-banner .sep {
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}

/* ── TOP SPACER ── */
.banner-spacer { height: 62px; }

/* ── PURCHASE TOAST ── */
#purchase-toast {
  position: fixed;
  bottom: 16px;
  left: 12px;
  z-index: 900;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 32px rgba(61,43,31,0.18);
  transform: translateY(120%) scale(0.9);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}
#purchase-toast.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}
#purchase-toast .icon {
  width: 40px; height: 40px;
  background: var(--cream2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
#purchase-toast .name {
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
}
#purchase-toast .msg {
  font-size: 11px;
  color: var(--brown3);
  margin-top: 2px;
}

/* ── UPSELL MODAL ── */
#modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0);
  align-items: center;
  justify-content: center;
  padding: 16px;
  transition: background 0.3s ease;
}
#modal-overlay.active {
  display: flex;
  background: rgba(0,0,0,0.65);
}
#modal-box {
  position: relative;
  background: var(--cream);
  border-radius: 24px;
  padding: 24px 20px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: scale(0.85) translateY(40px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
}
#modal-overlay.active #modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}
#modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #aaa;
  line-height: 1;
}
#modal-close:hover { color: var(--brown); }
.modal-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
#modal-box h2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brown);
  margin-bottom: 6px;
}
#modal-box .subtitle {
  font-size: 12px;
  color: var(--brown3);
  margin-bottom: 16px;
}
.modal-price-box {
  background: var(--cream2);
  border: 2px solid var(--orange);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}
.modal-price-box .old { font-size: 12px; color: #bbb; text-decoration: line-through; display: block; }
.modal-price-box .price { font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.modal-price-box .period { font-size: 12px; font-weight: 600; color: var(--brown3); }
.modal-items { text-align: left; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.modal-items .item { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--brown); }
.modal-items .item .check { color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.modal-items .item.highlight { font-weight: 600; }
.btn-upsell {
  display: block;
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  padding: 16px;
  border-radius: 16px;
  margin-bottom: 10px;
  transition: opacity 0.2s;
}
.btn-upsell:hover { opacity: 0.9; }
.btn-decline {
  display: block;
  width: 100%;
  color: var(--brown3);
  font-size: 12px;
  font-weight: 600;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--gold);
  transition: background 0.2s;
}
.btn-decline:hover { background: var(--cream2); }
.modal-secure { font-size: 10px; color: #B8946A; margin-top: 10px; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── SECTIONS ── */
section { padding: 32px 16px; }
.section-hero { background: linear-gradient(to bottom, var(--cream2), var(--cream)); padding-top: 32px; padding-bottom: 16px; text-align: center; }
.section-benefits { background: var(--cream); padding-top: 16px; }
.section-results { background: var(--cream2); }
.section-testimonials { background: var(--cream); }
.section-offers { background: linear-gradient(to bottom, var(--cream2), var(--cream)); }
.section-guarantee { background: var(--cream); }
.section-faq { background: var(--cream2); }
footer { background: var(--brown); padding: 20px 16px; text-align: center; }

/* ── BADGE ── */
.hero-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ── HERO ── */
h1 {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--brown);
  max-width: 320px;
  margin: 0 auto 12px;
}
.hero-subtitle {
  font-size: 14px;
  line-height: 1.6;
  color: var(--brown2);
  max-width: 340px;
  margin: 0 auto 24px;
}
.hero-img-wrap {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ── SECTION TITLES ── */
h2 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brown);
  text-align: center;
  margin-bottom: 20px;
}

/* ── BENEFITS ── */
.benefit-card {
  max-width: 360px;
  margin: 0 auto 24px;
  background: var(--cream2);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 16px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
}
.benefit-check {
  width: 24px; height: 24px;
  background: #CCEEE6;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit-check svg { width: 14px; height: 14px; color: #0d9488; }
.benefit-text { font-size: 15px; color: #44403c; line-height: 1.4; }

/* ── CTA BUTTON ── */
.btn-cta {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 18px 24px;
  border-radius: 999px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(232,118,58,0.35);
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn-cta:active { transform: scale(0.97); opacity: 0.9; }

/* ── RESULTS ── */
.results-img-wrap {
  max-width: 360px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--cream2);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 16px;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.testimonial-avatar {
  width: 36px; height: 36px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 600; color: var(--brown); }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.testimonial-text { font-size: 13px; color: var(--brown2); line-height: 1.5; }

/* ── OFFERS ── */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 400px;
  margin: 0 auto 12px;
}
.offer-card {
  background: #fff;
  border-radius: 20px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.offer-card.teal { border: 2px solid var(--teal); }
.offer-card.orange { border: 2px solid var(--orange); }
.best-seller {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 999px;
}
.offer-title { font-size: 13px; font-weight: 700; color: var(--brown); text-align: center; }
.offer-old { font-size: 11px; color: #bbb; text-decoration: line-through; text-align: center; display: block; margin-top: 6px; }
.offer-price { font-size: 1.5rem; font-weight: 900; text-align: center; line-height: 1.1; margin-bottom: 14px; }
.offer-price.teal { color: var(--teal); }
.offer-price.orange { color: var(--orange); }
.offer-items { flex: 1; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.offer-item { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #44403c; }
.offer-item .chk { color: var(--teal); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.btn-offer {
  display: block;
  width: 100%;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  transition: opacity 0.2s;
}
.btn-offer:hover { opacity: 0.9; }
.btn-offer.teal { background: var(--teal); }
.btn-offer.orange { background: var(--orange); }
.secure-badge { font-size: 11px; color: #B8946A; text-align: center; }

/* ── GUARANTEE ── */
.guarantee-box {
  max-width: 360px;
  margin: 0 auto;
  background: var(--cream2);
  border: 1px solid #F5C87A;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}
.guarantee-box .icon { font-size: 2.5rem; margin-bottom: 12px; }
.guarantee-box h2 { font-size: 1.1rem; margin-bottom: 8px; }
.guarantee-box p { font-size: 14px; color: var(--brown2); line-height: 1.6; }

/* ── FAQ ── */
.faq-box {
  max-width: 360px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 4px 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.faq-item { border-bottom: 1px solid #FFF0D0; }
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  text-align: left;
  background: none;
  border: none;
}
.faq-question { font-size: 13px; font-weight: 600; color: #1c1917; }
.faq-icon { color: #f59e0b; font-size: 20px; flex-shrink: 0; transition: transform 0.2s; }
.faq-answer {
  display: none;
  font-size: 13px;
  color: #57534e;
  line-height: 1.6;
  padding-bottom: 14px;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── FOOTER ── */
footer p { font-size: 11px; color: var(--brown3); }
