:root{
  --ink-1: #0a0b1e;
  --ink-2: #12122c;
  --ink-3: #1c1a3a;
  --ink-4: #241d3f;
  --ink-5: #2c2044;
  --ink-6: #1a1530;

  --moonlight: #f7f2ea;
  --moonlight-soft: #f2ede4;
  --body-1: #cdc7dd;
  --body-2: #c3bcd6;
  --body-3: #bdb6d2;
  --eyebrow: #c9b8e8;
  --muted-1: #9d95b8;
  --muted-2: #a99fc4;

  --gold-light: #e9cd9c;
  --gold-dark: #c99a52;
  --gold-link: #d4af7a;
  --gold-link-hover: #e9cd9c;
  --on-gold: #241a0d;

  --card-bg: rgba(255,255,255,0.035);
  --card-bg-strong: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --cta-border: rgba(212,175,122,0.25);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:
    linear-gradient(180deg,
      var(--ink-1) 0%,
      var(--ink-2) 18%,
      var(--ink-3) 38%,
      var(--ink-4) 58%,
      var(--ink-5) 78%,
      var(--ink-6) 100%);
  color: var(--moonlight-soft);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}
::selection{background:rgba(212,175,122,0.35); color:#fff;}

a{color:var(--gold-link); text-decoration:none;}
a:hover{color:var(--gold-link-hover);}
a:focus-visible, button:focus-visible{
  outline:2px solid var(--gold-light);
  outline-offset:3px;
  border-radius:4px;
}

.page{position:relative; width:100%; overflow:hidden;}

/* decorative layers */
.grain{
  position:absolute; inset:0; opacity:0.05; pointer-events:none; z-index:50;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="2" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
}
.starfield{position:absolute; inset:0; z-index:1; pointer-events:none; overflow:hidden;}
.star{position:absolute; border-radius:50%; background:#f5f0e6; animation:twinkle ease-in-out infinite;}

.orb{position:absolute; border-radius:50%; filter:blur(10px); pointer-events:none; z-index:1;}
.orb-gold{
  top:-120px; right:-100px; width:480px; height:480px;
  background:radial-gradient(circle, rgba(212,175,122,0.16) 0%, rgba(212,175,122,0) 70%);
  animation:drift 22s ease-in-out infinite;
}
.orb-violet{
  bottom:10%; left:-150px; width:420px; height:420px;
  background:radial-gradient(circle, rgba(120,100,220,0.18) 0%, rgba(120,100,220,0) 70%);
  animation:drift 26s ease-in-out infinite reverse;
}

@keyframes twinkle{0%,100%{opacity:0.25;} 50%{opacity:0.9;}}
@keyframes floaty{0%,100%{transform:translateY(0) rotate(-4deg);} 50%{transform:translateY(-16px) rotate(-2deg);}}
@keyframes drift{0%{transform:translate(0,0);} 50%{transform:translate(-20px,15px);} 100%{transform:translate(0,0);}}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .star, .orb, .cover-img{animation:none !important;}
  .reveal{opacity:1 !important; transform:none !important; transition:none !important;}
}

.eyebrow{
  font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--eyebrow); opacity:0.75;
}

h1,h2,h3{font-family:'Cormorant Garamond', serif; margin:0;}

/* NAV */
.nav{position:relative; z-index:10;}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  max-width:1200px; margin:0 auto; padding:28px 24px 0;
}
.wordmark{font-family:'Cormorant Garamond', serif; font-size:22px; letter-spacing:0.06em; color:var(--moonlight-soft);}
.pill-outline{
  display:inline-block; padding:10px 20px; border-radius:999px;
  border:1px solid rgba(212,175,122,0.5); color:var(--gold-link-hover);
  font-size:13px; letter-spacing:0.03em; white-space:nowrap;
}

/* HERO */
.hero{
  position:relative; z-index:5; max-width:1200px; margin:0 auto;
  padding:64px 24px 90px; display:grid; grid-template-columns:1fr; gap:56px; align-items:center;
}
.hero-copy{
  order:2; text-align:center; display:flex; flex-direction:column; align-items:center; gap:22px;
}
.hero h1{
  font-weight:500; font-size:clamp(38px, 6vw, 64px); line-height:1.08;
  color:var(--moonlight); max-width:14ch;
}
.hero-copy p{font-size:17px; line-height:1.7; color:var(--body-1); max-width:46ch; margin:0;}
.hero-note{font-size:13px; color:var(--muted-1);}
.hero-cover{order:1; display:flex; justify-content:center;}
.cover-img{
  width:min(320px, 70vw);
  transform:rotate(-4deg);
  animation:floaty 7s ease-in-out infinite;
  filter:drop-shadow(0 30px 60px rgba(0,0,0,0.55)) drop-shadow(0 0 50px rgba(180,140,255,0.18));
  border-radius:6px;
}

/* PILL BUTTONS */
.btn-gold{
  margin-top:8px; display:inline-block; padding:18px 40px; border-radius:999px;
  background:linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color:var(--on-gold); font-weight:600; font-size:16px; border:none; cursor:pointer;
  box-shadow:0 0 40px rgba(212,175,122,0.35), 0 8px 24px rgba(0,0,0,0.35);
  font-family:'Inter', sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold:hover{transform:translateY(-1px); color:var(--on-gold);}
.btn-gold-lg{padding:19px 46px; font-size:17px; box-shadow:0 0 40px rgba(212,175,122,0.4), 0 8px 24px rgba(0,0,0,0.35);}
.btn-gold[disabled]{opacity:0.65; cursor:not-allowed; transform:none;}

/* SECTION SHARED */
.section{position:relative; z-index:5;}
.section-center{text-align:center;}
.section-head{margin-bottom:48px;}

/* PROBLEM */
.problem{max-width:720px; margin:0 auto; padding:20px 24px 100px; text-align:center;}
.problem h2{font-weight:500; font-size:clamp(28px, 4vw, 38px); line-height:1.25; color:var(--moonlight-soft); margin-bottom:22px;}
.problem p{font-size:16px; line-height:1.85; color:var(--body-2); margin:0;}

/* BENEFITS */
.benefits{max-width:1100px; margin:0 auto; padding:20px 24px 100px;}
.benefits .section-head h2{font-weight:500; font-size:clamp(28px, 4vw, 38px); color:var(--moonlight-soft);}
.benefits .section-head{text-align:center; margin-bottom:48px;}
.benefits .section-head .eyebrow{margin-bottom:14px;}
.card-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:20px;}
.card{
  background:var(--card-bg); border:1px solid var(--card-border); border-radius:18px;
  padding:32px 26px; backdrop-filter:blur(6px);
}
.card-icon{
  width:48px; height:48px; border-radius:50%; border:1px solid rgba(212,175,122,0.4);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.card-icon span{width:18px; height:18px; border-radius:50%; background:radial-gradient(circle, var(--gold-light), #b9884a);}
.card h3{font-weight:600; font-size:21px; color:var(--moonlight-soft); margin-bottom:10px;}
.card p{font-size:14.5px; line-height:1.65; color:var(--body-3); margin:0;}

/* TESTIMONIALS */
.testimonials{max-width:1100px; margin:0 auto; padding:20px 24px 100px;}
.testimonials .section-head{text-align:center; margin-bottom:48px;}
.testimonials .section-head h2{font-weight:500; font-size:clamp(26px, 4vw, 34px); color:var(--moonlight-soft);}
.testimonial-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:20px;}
.testimonial{background:var(--card-bg-strong); border:1px solid var(--card-border); border-radius:18px; padding:30px 26px;}
.testimonial blockquote{
  font-family:'Cormorant Garamond', serif; font-style:italic; font-size:18px; line-height:1.6;
  color:#ece7f2; margin:0 0 18px;
}
.testimonial cite{font-style:normal; font-size:13.5px; color:var(--muted-2);}

/* ABOUT */
.about{max-width:640px; margin:0 auto; padding:20px 24px 110px; text-align:center;}
.about .eyebrow{margin-bottom:16px;}
.about p{font-size:16px; line-height:1.85; color:var(--body-2); margin:0;}

/* FINAL CTA */
.final-cta{max-width:800px; margin:0 auto; padding:60px 24px 90px; text-align:center;}
.final-cta-card{
  border-radius:28px; border:1px solid var(--cta-border);
  background:linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  padding:56px 32px; box-shadow:0 0 80px rgba(120,90,200,0.12);
}
.final-cta-card h2{font-weight:500; font-size:clamp(28px, 5vw, 42px); color:var(--moonlight); margin-bottom:16px;}
.final-cta-card p{font-size:16px; color:var(--body-2); max-width:42ch; margin:0 auto 30px;}
.final-price{font-family:'Cormorant Garamond', serif; display:flex; align-items:baseline; justify-content:center; gap:14px; margin-bottom:8px;}
.final-price .price-old{font-size:22px; color:var(--muted-1); text-decoration:line-through; text-decoration-thickness:1px;}
.final-price .price-now{font-size:34px; color:var(--gold-light);}
.price-save{font-size:13px; color:var(--gold-link); font-weight:500; letter-spacing:0.02em; margin-bottom:26px;}

/* discount cue (shared) */
.hero-price{display:flex; align-items:center; gap:12px; margin-top:2px; flex-wrap:wrap;}
.hero-price .price-old{font-size:16px; color:var(--muted-1); text-decoration:line-through; text-decoration-thickness:1px;}
.price-badge{
  display:inline-block; padding:3px 11px; border-radius:999px;
  border:1px solid rgba(212,175,122,0.5); color:var(--gold-link-hover);
  font-size:11px; letter-spacing:0.06em; text-transform:uppercase;
}
.final-note{margin-top:16px; font-size:13px; color:var(--muted-1);}

/* FOOTER */
.footer{border-top:1px solid var(--card-border); padding:32px 24px;}
.footer-inner{
  max-width:1200px; margin:0 auto; display:flex; flex-wrap:wrap; gap:16px;
  align-items:center; justify-content:space-between;
}
.footer-wordmark{font-family:'Cormorant Garamond', serif; font-size:17px; color:#e3ddec;}
.footer-links{display:flex; gap:24px; font-size:13px; color:var(--muted-1);}

/* STICKY MOBILE CTA */
.sticky-cta{
  position:sticky; bottom:0; left:0; right:0; z-index:60; padding:12px 16px;
  background:linear-gradient(180deg, rgba(10,11,30,0) 0%, rgba(10,11,30,0.92) 30%, #0e0d20 100%);
  display:none;
}
.sticky-cta .btn-gold{
  display:block; width:100%; text-align:center; padding:15px; font-size:15px;
  box-shadow:0 0 30px rgba(212,175,122,0.4);
}

/* CHECKOUT DIALOG */
.checkout-dialog{
  border:none; padding:0; background:transparent; color:var(--moonlight-soft);
  max-width:420px; width:calc(100% - 32px);
}
.checkout-dialog::backdrop{
  background:rgba(8,9,24,0.72);
  backdrop-filter:blur(3px);
}
.checkout-form{
  position:relative;
  border-radius:22px;
  border:1px solid var(--cta-border);
  background:linear-gradient(160deg, #1c1a3a, #16142e);
  box-shadow:0 30px 80px rgba(0,0,0,0.55), 0 0 80px rgba(120,90,200,0.12);
  padding:40px 30px 32px;
  display:flex; flex-direction:column; gap:10px;
  font-family:'Inter', sans-serif;
}
.checkout-close{
  position:absolute; top:12px; right:14px;
  background:none; border:none; color:var(--muted-1); cursor:pointer;
  font-size:26px; line-height:1; padding:6px; border-radius:8px;
}
.checkout-close:hover{color:var(--moonlight-soft);}
.checkout-eyebrow{display:inline-block; margin-bottom:2px;}
.checkout-title{font-weight:500; font-size:26px; color:var(--moonlight); line-height:1.2;}
.checkout-sub{font-size:14px; color:var(--body-2); margin:0 0 8px;}
.checkout-label{font-size:13px; color:var(--body-1); font-weight:500;}
.checkout-input{
  width:100%; padding:13px 16px; border-radius:12px;
  background:rgba(255,255,255,0.04); border:1px solid var(--card-border);
  color:var(--moonlight); font-size:15px; font-family:'Inter', sans-serif;
}
.checkout-input::placeholder{color:var(--muted-1);}
.checkout-input:focus{outline:none; border-color:rgba(212,175,122,0.6); box-shadow:0 0 0 3px rgba(212,175,122,0.15);}
.checkout-error{
  margin:2px 0 0; font-size:13px; color:#f0a58a;
}
.checkout-submit{width:100%; margin-top:10px; text-align:center;}
.checkout-fineprint{margin:6px 0 0; font-size:12px; color:var(--muted-1); text-align:center;}

/* scroll-reveal */
.reveal{opacity:0; transform:translateY(24px); transition:opacity 0.7s ease, transform 0.7s ease;}
.reveal.is-visible{opacity:1; transform:none;}

@media (max-width:859px){
  .sticky-cta{display:block;}
}

@media (min-width:860px){
  .hero{grid-template-columns:1fr 1fr; text-align:left;}
  .hero-copy{order:1; text-align:left; align-items:flex-start;}
  .hero-cover{order:2; justify-content:flex-end;}
}
