/* ============================================================
   Memocept - Main Stylesheet
   Palette: Royal Purple / Warm Gold (matches the product label)
   Type: Playfair Display (display) + Inter (body)
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box}
:root{
  --purple:#2C1443;
  --purple-deep:#1A0A2B;
  --purple-soft:#E9E0F5;
  --gold:#C79A2E;
  --gold-deep:#9C7A1F;
  --gold-light:#F0CE72;
  --cream:#FAF7F1;
  --ice:#FFFDFA;
  --ink:#221331;
  --text:#221331;
  --body:#5B5066;
  --muted:#8C8296;
  --line:rgba(44,20,67,.12);
  --white:#ffffff;
  --font-display:'Playfair Display',Georgia,serif;
  --font-body:'Inter',system-ui,sans-serif;
  --grad:linear-gradient(135deg,#2C1443 0%,#4A2470 100%);
  --grad-gold:linear-gradient(135deg,#9C7A1F 0%,#D9AE45 100%);
  --grad-dark:linear-gradient(160deg,#1A0A2B 0%,#2C1443 100%);
  --shadow-sm:0 2px 10px rgba(44,20,67,.08);
  --shadow:0 10px 30px rgba(44,20,67,.15);
  --shadow-lg:0 26px 60px rgba(44,20,67,.24);
  --radius:18px;--radius-sm:12px;--radius-pill:999px;
  --transition:all .28s ease;
}
html{scroll-behavior:smooth;font-size:16px}
body{font-family:var(--font-body);color:var(--body);background:var(--white);line-height:1.7;overflow-x:hidden;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);color:var(--text);line-height:1.24;font-weight:700}
a{text-decoration:none;color:inherit;transition:var(--transition)}
img{max-width:100%;height:auto;display:block}
.container{max-width:1180px;margin:0 auto;padding:0 1.4rem}
ul{list-style:none}
section{padding:5.2rem 0}
.bg-ice{background:var(--cream)}
.bg-dark{background:var(--grad-dark);color:rgba(255,255,255,.85)}
.bg-dark h2,.bg-dark h3,.bg-dark h4{color:#fff}
.text-center{text-align:center}
.section-head{max-width:760px;margin:0 auto 3rem;text-align:center}
.section-title{font-size:clamp(1.8rem,3.4vw,2.5rem);margin-bottom:.8rem}
.section-desc{font-size:1.02rem;color:var(--body)}
.eyebrow{display:inline-block;font-family:var(--font-body);font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.16em;color:var(--gold-deep);margin-bottom:.7rem}

.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease}
.reveal.in-view{opacity:1;transform:none}
.reveal.d1{transition-delay:.1s}
.reveal.d2{transition-delay:.2s}
.reveal.d3{transition-delay:.3s}

/* TOP STRIP */
.strip{background:var(--purple-deep);color:#f0e6ff;text-align:center;font-size:.82rem;padding:9px 12px;font-weight:600}
.strip span{opacity:.5;margin:0 8px}
.trust-strip{background:var(--purple);color:#f0e6ff;font-size:.76rem;text-align:center;padding:6px 12px}

/* NAV */
nav{position:sticky;top:0;background:#fff;z-index:1000;border-bottom:1px solid var(--line)}
.nav-inner{max-width:1180px;margin:0 auto;padding:.9rem 1.4rem;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}
.logo{font-family:var(--font-display);font-size:1.5rem;font-weight:700;color:var(--ink)}
.logo span{color:var(--gold-deep)}
.nav-links{display:flex;align-items:center;gap:1.6rem;font-weight:600;font-size:.94rem}
.nav-links a{color:var(--body)}
.nav-links a:hover{color:var(--gold-deep)}
.nav-cta{background:var(--grad);color:#fff!important;padding:.65rem 1.4rem;border-radius:var(--radius-pill);font-weight:700}
.mobile-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--ink)}

/* BUTTONS */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--font-body);font-weight:700;font-size:1rem;padding:.95rem 2rem;border-radius:var(--radius-pill);border:none;cursor:pointer;transition:var(--transition);text-align:center}
.btn-primary{background:var(--grad-gold);color:var(--purple-deep);box-shadow:0 10px 26px rgba(156,122,31,.35)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(156,122,31,.45)}
.btn-outline{background:#fff;color:var(--purple);border:1.5px solid var(--purple-soft)}
.btn-outline:hover{border-color:var(--gold-deep);color:var(--gold-deep)}
.btn-lg{padding:1.1rem 2.4rem;font-size:1.05rem}

/* HERO with soft glow pulse */
.hero{position:relative;background:var(--grad-dark);color:rgba(255,255,255,.9);padding:3.6rem 0 2.6rem;overflow:hidden}
.glow{position:absolute;border-radius:50%;filter:blur(70px);opacity:.35;animation:pulse 6s ease-in-out infinite}
.glow-1{width:340px;height:340px;background:var(--gold);top:-100px;right:-60px}
.glow-2{width:280px;height:280px;background:#7A4A9E;bottom:-80px;left:-60px;animation-delay:2s}
@keyframes pulse{0%,100%{transform:scale(1);opacity:.3}50%{transform:scale(1.15);opacity:.45}}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:3rem;align-items:center;position:relative;z-index:2}
.hero-badge{display:inline-block;background:rgba(240,206,114,.14);border:1px solid rgba(240,206,114,.3);color:var(--gold-light);font-weight:700;font-size:.8rem;padding:.5rem 1rem;border-radius:var(--radius-pill);margin-bottom:1.2rem}
.hero h1{font-size:clamp(2.1rem,4.2vw,3.1rem);line-height:1.14;margin-bottom:1.1rem;color:#fff}
.hero h1 em{color:var(--gold-light);font-style:normal}
.hero-intro{font-size:1.06rem;color:rgba(255,255,255,.8);margin-bottom:1.4rem}
.quick-answer{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius);padding:16px 20px;margin:1.2rem 0;color:rgba(255,255,255,.88)}
.hero-bullets{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem 1.2rem;margin:1.2rem 0}
.hero-bullets li{position:relative;padding-left:1.6rem;font-size:.94rem;color:rgba(255,255,255,.82)}
.hero-bullets li::before{content:"\2713";position:absolute;left:0;color:var(--gold-light);font-weight:700}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;margin:1.2rem 0}
.hero-trust{display:flex;gap:1.2rem;flex-wrap:wrap;font-size:.8rem;color:rgba(255,255,255,.6)}
.hero-media{position:relative;text-align:center}
.hero-media img{max-height:460px;margin:0 auto;filter:drop-shadow(0 30px 60px rgba(0,0,0,.5))}

/* GRID / CARDS */
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;text-align:center;box-shadow:var(--shadow-sm);transition:var(--transition)}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.card img{width:60px;height:60px;object-fit:contain;margin:0 auto 1rem}
.card h4{font-size:1.05rem;margin-bottom:.5rem}
.card p{font-size:.9rem;color:var(--body)}

/* WHAT IS split */
.row{display:grid;grid-template-columns:.9fr 1.1fr;gap:3rem;align-items:center}
.row-img img{border-radius:20px;box-shadow:var(--shadow)}
.check-list li{position:relative;padding-left:1.6rem;margin-bottom:.6rem;font-size:.96rem}
.check-list li::before{content:"\2713";position:absolute;left:0;color:var(--gold-deep);font-weight:700}
.chips{display:flex;gap:.7rem;flex-wrap:wrap;margin:1rem 0}
.chip{background:var(--purple-soft);color:var(--purple);font-size:.82rem;font-weight:700;padding:.4rem .9rem;border-radius:var(--radius-pill)}

/* STEP-BY-STEP (how to use) */
.step-track{position:relative;max-width:800px;margin:0 auto}
.step-track::before{content:"";position:absolute;left:23px;top:20px;bottom:20px;width:2px;background:var(--purple-soft)}
.step-row{position:relative;display:flex;gap:1.4rem;padding-bottom:2rem}
.step-row:last-child{padding-bottom:0}
.step-circle{flex-shrink:0;width:48px;height:48px;border-radius:50%;background:var(--grad-gold);color:var(--purple-deep);display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--font-display);font-size:1.1rem;z-index:1;box-shadow:var(--shadow-sm)}
.step-row h4{font-size:1.05rem;margin-bottom:.4rem}
.step-row p{font-size:.92rem;color:var(--body)}

/* PATHWAY */
.pathway-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem}
.pathway-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.7rem;display:flex;gap:1.2rem;align-items:flex-start}
.pathway-ico{flex-shrink:0;width:52px;height:52px;border-radius:14px;background:var(--purple-soft);display:flex;align-items:center;justify-content:center;font-size:1.5rem}
.pathway-card h4{font-size:1.02rem;margin-bottom:.4rem}
.pathway-card p{font-size:.89rem;color:var(--body)}

/* PRICING */
.pricing{background:var(--grad-dark)}
.pricing .section-head h2,.pricing .section-head p{color:#fff}
.pricing .section-desc{color:rgba(255,255,255,.72)}
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.price-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;text-align:center;position:relative;box-shadow:var(--shadow-sm)}
.price-card.featured{outline:3px solid var(--gold);transform:translateY(-8px)}
.ribbon{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:var(--grad-gold);color:var(--purple-deep);font-size:.76rem;font-weight:700;padding:.35rem 1rem;border-radius:var(--radius-pill);white-space:nowrap}
.ribbon.pop{background:var(--purple);color:#fff}
.pack-title{font-family:var(--font-display);font-size:1.2rem;margin-top:.6rem}
.pack-sub{font-size:.82rem;color:var(--muted);margin-bottom:.8rem}
.price-card img.bottle{max-height:150px;margin:0 auto 1rem;object-fit:contain}
.perbottle{font-family:var(--font-display);font-size:2rem;font-weight:700;color:var(--purple)}
.perbottle span{font-size:.9rem;font-weight:400;color:var(--muted)}
.total{font-size:.86rem;color:var(--muted);margin:.4rem 0 1rem}
.save-tag{display:inline-block;background:var(--purple-soft);color:var(--purple);font-size:.76rem;font-weight:700;padding:.25rem .7rem;border-radius:var(--radius-pill);margin-bottom:.6rem}
.ship{font-size:.78rem;font-weight:700;color:var(--gold-deep);margin-bottom:1rem}
.price-cards-img{height:26px;width:auto;margin:1rem auto 0;opacity:.85}
.warning{text-align:center;margin-top:1.6rem;font-size:.86rem;color:rgba(255,255,255,.7)}

/* INGREDIENTS */
.ing-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem}
.ing-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.5rem;border-left:4px solid var(--gold)}
.ing-card h4{font-size:1.02rem;margin-bottom:.4rem}
.ing-card p{font-size:.88rem;color:var(--body)}
.safety-note{background:#FBF3E0;border-left:4px solid var(--gold);border-radius:0 14px 14px 0;padding:1.4rem 1.6rem;margin-top:2rem}
.safety-note h3{font-size:1.05rem;margin-bottom:.5rem}
.safety-note p{font-size:.9rem;color:var(--body)}

/* GUARANTEE */
.guarantee{display:flex;align-items:center;gap:2.4rem;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);padding:2.2rem}
.guarantee img{flex-shrink:0;max-width:150px}
.guarantee-points li{position:relative;padding-left:1.6rem;margin-bottom:.6rem;font-size:.94rem}
.guarantee-points li::before{content:"\2713";position:absolute;left:0;color:var(--gold-deep);font-weight:700}

/* BENEFITS */
.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}
.benefit{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;transition:var(--transition)}
.benefit:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.benefit .num-tag{color:var(--gold-deep);font-weight:700;font-size:.78rem;letter-spacing:.1em}
.benefit h4{margin:.5rem 0;font-size:1.02rem}
.benefit p{font-size:.88rem;color:var(--body)}

/* REVIEWS */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin-bottom:2.2rem}
.testi-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.8rem;box-shadow:var(--shadow-sm)}
.testi-top{display:flex;align-items:center;gap:.9rem;margin-bottom:.8rem}
.avatar{width:52px;height:52px;border-radius:50%;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-family:var(--font-display)}
.testi-name{font-weight:700;color:var(--text)}
.testi-loc{font-size:.78rem;color:var(--muted)}
.stars{color:var(--gold-deep);letter-spacing:2px;margin-bottom:.6rem}
.testi-card blockquote{font-size:.9rem;color:var(--body);font-style:italic}
.photo-stack{display:flex;justify-content:center;margin-bottom:.8rem}
.photo-stack img{width:48px;height:48px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:var(--shadow-sm);margin-left:-14px}
.photo-stack img:first-child{margin-left:0}

/* FAQ */
.faq-wrap{max-width:820px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;text-align:left;background:none;border:none;padding:1.2rem 0;font-family:var(--font-display);font-size:1.02rem;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;color:var(--text)}
.faq-q::after{content:"+";font-size:1.4rem;color:var(--gold-deep)}
.faq-item.open .faq-q::after{content:"\2212"}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-item.open .faq-a{max-height:400px;padding-bottom:1.2rem}
.faq-a p{font-size:.92rem;color:var(--body)}

/* REFERENCES / SECURITY */
.ref-list{max-width:760px;margin:0 auto;font-size:.9rem;color:var(--body)}
.ref-list li{margin-bottom:.6rem;padding-left:1.2rem;position:relative}
.ref-list li::before{content:"\2192";position:absolute;left:0;color:var(--gold-deep)}
.ref-list a{color:var(--purple);font-weight:700}
.security-box{max-width:600px;margin:0 auto;text-align:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:2rem}

/* BLOG */
.blog-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;margin-bottom:2rem}
.blog-cat-col h3{font-size:1rem;margin-bottom:1rem;color:var(--purple)}
.blog-cat-col ul li{margin-bottom:.6rem;font-size:.9rem}
.blog-cat-col a{color:var(--body)}
.blog-cat-col a:hover{color:var(--gold-deep)}
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.blog-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:var(--transition)}
.blog-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.blog-card img{width:100%;height:160px;object-fit:cover}
.blog-card .bd{padding:1.2rem}
.blog-card .tagx{font-size:.72rem;font-weight:700;color:var(--gold-deep);text-transform:uppercase;letter-spacing:.08em}
.blog-card h3{font-size:1.02rem;margin:.4rem 0}
.blog-card p{font-size:.86rem;color:var(--body);margin-bottom:.6rem}
.readmore{font-size:.86rem;font-weight:700;color:var(--purple)}

/* FINAL CTA */
.final-cta{background:var(--grad-dark);position:relative;overflow:hidden}
.final-grid{display:grid;grid-template-columns:.5fr 1fr;gap:2.4rem;align-items:center;position:relative;z-index:1}
.final-grid img{max-height:280px;margin:0 auto}
.final-text h2{color:#fff;margin-bottom:1rem}
.final-badges{display:flex;gap:1.6rem;margin-bottom:1.2rem}
.fb{color:#fff}
.fb b{display:block;font-family:var(--font-display);font-size:1.3rem}
.fb span{font-size:.78rem;color:rgba(255,255,255,.6)}
.final-price{margin-bottom:1.2rem}
.final-price .reg{text-decoration:line-through;color:rgba(255,255,255,.5);margin-right:.8rem}
.final-price .now{color:var(--gold-light);font-weight:700;font-size:1.2rem}

/* FOOTER */
footer{background:#140820;color:rgba(255,255,255,.65);padding:3.5rem 0 1.6rem;font-size:.88rem}
.footer-top{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:2rem;margin-bottom:2rem}
.footer-col h4{color:#fff;margin-bottom:1rem;font-size:1rem}
.footer-col ul li{margin-bottom:.55rem}
.footer-col a{color:rgba(255,255,255,.65)}
.footer-col a:hover{color:var(--gold-light)}
.footer-badges{display:flex;flex-wrap:wrap;gap:.7rem;margin-bottom:1.6rem}
.footer-badge{background:rgba(255,255,255,.08);padding:.4rem .9rem;border-radius:var(--radius-pill);font-size:.76rem}
.footer-disclaimer p{font-size:.78rem;color:rgba(255,255,255,.5);margin-bottom:.8rem}
.footer-legal{margin-top:1rem;font-size:.8rem}
.footer-legal a{color:rgba(255,255,255,.65);margin-right:.4rem}
.copyright{margin-top:1rem;font-size:.78rem;color:rgba(255,255,255,.45)}

/* STICKY BAR */
.sticky-bar{position:fixed;bottom:0;left:0;width:100%;background:var(--grad-gold);color:var(--purple-deep);z-index:1100;padding:.7rem 1.2rem;display:flex;align-items:center;justify-content:center;gap:1.2rem;box-shadow:0 -6px 24px rgba(44,20,67,.3);flex-wrap:wrap}
.sticky-bar-text{font-weight:700;font-size:.92rem}
.sticky-bar-text small{display:block;font-weight:400;font-size:.76rem;opacity:.8}
.sticky-bar .btn{background:var(--purple);color:#fff;padding:.6rem 1.4rem}
#back-to-top{position:fixed;bottom:5.5rem;right:1.4rem;width:46px;height:46px;border-radius:50%;background:var(--grad);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:1.2rem;opacity:0;pointer-events:none;transition:opacity .3s;box-shadow:0 6px 18px rgba(44,20,67,.4);z-index:1090}
#back-to-top.show{opacity:1;pointer-events:auto}

/* ARTICLE */
.article{max-width:760px;margin:0 auto}
.article .meta{color:var(--muted);font-size:.9rem;margin-bottom:8px}
.article h1{font-size:2.1rem;margin:6px 0 20px;line-height:1.2}
.article-img{width:100%;max-height:360px;object-fit:cover;border-radius:18px;margin:0 0 28px}
.article h2{font-size:1.4rem;margin:30px 0 12px;color:var(--purple)}
.article p,.article li{color:var(--body)}
.article ul{padding-left:22px;list-style:disc}
.article a{color:var(--purple);font-weight:700}
.article-cta{background:var(--cream);border:1px solid var(--line);border-radius:18px;padding:28px;text-align:center;margin:34px 0}
.disc-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;font-size:.88rem;color:var(--muted);margin-top:28px}
.related h3{margin-top:34px;font-size:1.1rem}
.related ul{padding-left:0;list-style:none;margin-top:.8rem}
.related li{margin-bottom:.5rem}

/* LEGAL */
.legal{max-width:820px;margin:0 auto;padding:3rem 0}
.legal h1{margin-bottom:1.2rem}
.legal h2{font-size:1.2rem;margin:1.6rem 0 .6rem;color:var(--purple)}
.legal p{margin-bottom:.9rem;color:var(--body)}

/* RESPONSIVE */
@media(max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-media{order:-1}
  .hero-bullets{grid-template-columns:1fr}
  .grid3,.grid4,.pricing-grid,.testi-grid,.blog-grid,.blog-cats,.benefit-grid,.pathway-grid,.ing-grid{grid-template-columns:1fr}
  .row{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr 1fr}
  .final-grid{grid-template-columns:1fr;text-align:center}
  .nav-links{display:none}
  .mobile-toggle{display:block}
  .guarantee{flex-direction:column;text-align:center}
}
