/* ============================================
   MemoryVitali™ — Stylesheet v2
   Matching Respiclear reference design
   ============================================ */

:root {
    --green-dark: #2B4A2B;
    --green-mid: #3D6B35;
    --green-light: #5A8F4E;
    --green-pale: #E8F0E4;
    --gold: #C8A93E;
    --gold-dark: #8B6914;
    --red: #C0392B;
    --red-bg: #FFF3F0;
    --bg: #FAFAF7;
    --bg-alt: #F2EFEA;
    --bg-white: #FFFFFF;
    --text: #333333;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    --border: #E0DDD5;
    --border-gold: #D4A843;
    --heading: 'Playfair Display', Georgia, serif;
    --body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 10px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; font-size:16px; }
body { font-family:var(--body); font-size:1rem; line-height:1.7; color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased; overflow-x:hidden; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul { list-style:none; }
h1,h2,h3,h4,h5,h6 { font-family:var(--heading); font-weight:700; line-height:1.25; color:var(--green-dark); }
p { margin-bottom:1rem; }
.container { max-width:1180px; margin:0 auto; padding:0 20px; }
.text-center { text-align:center; }
.section__title { font-size:2.2rem; margin-bottom:1rem; }
.section__title--center { text-align:center; }
.section__intro { text-align:center; max-width:800px; margin:0 auto 2.5rem; color:var(--text-light); font-size:1.05rem; }
.section__sub--center { text-align:center; color:var(--text-light); font-size:1.1rem; margin-bottom:1.5rem; }

/* BUTTONS */
.btn { display:inline-block; font-family:var(--body); font-weight:700; font-size:1rem; padding:14px 32px; border-radius:var(--radius); border:2px solid transparent; cursor:pointer; text-align:center; transition:all var(--transition); }
.btn--primary { background:var(--green-dark); color:#fff; border-color:var(--green-dark); }
.btn--primary:hover { background:var(--green-mid); border-color:var(--green-mid); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn--cta { background:linear-gradient(180deg, #4CAF50 0%, #2E7D32 100%); color:#fff; border:2px solid #2E7D32; font-size:1.1rem; padding:14px 28px; border-radius:var(--radius); box-shadow:0 4px 12px rgba(46,125,50,0.3); }
.btn--cta:hover { background:linear-gradient(180deg, #66BB6A 0%, #388E3C 100%); transform:translateY(-2px); box-shadow:0 6px 20px rgba(46,125,50,0.4); }
.btn--lg { padding:18px 40px; font-size:1.1rem; }
.btn--sm { padding:10px 22px; font-size:0.9rem; }
.btn--full { width:100%; display:block; }

/* ============ HEADER ============ */
.header { position:fixed; top:0; left:0; width:100%; z-index:1000; background:rgba(255,255,255,0.97); backdrop-filter:blur(10px); border-bottom:1px solid var(--border); transition:var(--transition); }
.header.scrolled { box-shadow:var(--shadow-sm); }
.nav { display:flex; align-items:center; justify-content:space-between; height:68px; }
.nav__logo { font-family:var(--heading); font-size:1.45rem; font-weight:800; color:var(--green-dark); }
.nav__logo span { color:var(--green-light); }
.nav__list { display:flex; gap:28px; }
.nav__link { font-size:0.92rem; font-weight:500; color:var(--text); padding:4px 0; position:relative; }
.nav__link::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--green-dark); transition:var(--transition); }
.nav__link:hover::after { width:100%; }
.nav__actions { display:flex; align-items:center; gap:14px; }
.nav__toggle { display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:4px; }
.nav__toggle span { width:24px; height:2px; background:var(--text); border-radius:2px; }
.nav__close { display:none; position:absolute; top:20px; right:20px; background:none; border:none; font-size:2rem; cursor:pointer; color:var(--text); }

/* ============ HERO ============ */
.hero { padding:110px 0 70px; background:var(--bg-alt); }
.hero__grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.hero__image { display:flex; justify-content:center; }
.hero__image img { max-width:460px; width:100%; filter:drop-shadow(0 16px 40px rgba(43,74,43,0.15)); }
.hero__content h1 { font-size:2.6rem; line-height:1.2; margin-bottom:14px; }
.hero__rating { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.stars { color:var(--gold); font-size:1.15rem; letter-spacing:2px; }
.rating-text { font-size:0.92rem; color:var(--text-light); }
.hero__desc { font-size:1.05rem; color:var(--text-light); margin-bottom:22px; line-height:1.75; }
.hero__checklist { margin-bottom:28px; }
.hero__checklist li { position:relative; padding-left:26px; margin-bottom:9px; font-size:0.98rem; }
.hero__checklist li::before { content:'✓'; position:absolute; left:0; color:var(--green-mid); font-weight:700; }
.hero__cta { display:flex; gap:14px; flex-wrap:wrap; }

/* ============ TRUST ============ */
.trust { padding:50px 0; background:var(--bg-white); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.trust__grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.trust__card { text-align:center; padding:20px 12px; }
.trust__card img { width:90px; height:54px; object-fit:contain; margin:0 auto 12px; }
.trust__card h3 { font-family:var(--body); font-size:0.9rem; font-weight:700; letter-spacing:0.05em; margin-bottom:6px; }
.trust__card p { font-size:0.84rem; color:var(--text-muted); margin-bottom:0; }

/* ============ ABOUT / WHAT IS ============ */
.about { padding:70px 0; background:var(--bg); }
.about__grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.about__image img { border-radius:var(--radius-lg); box-shadow:var(--shadow-lg); }
.about__content p { color:var(--text-light); line-height:1.8; }
.about__content .btn { margin-top:12px; }

/* ============ HOW IT WORKS & BENEFITS (content block format) ============ */
.how-works, .benefits { padding:70px 0; }
.how-works { background:var(--bg-alt); }
.benefits { background:var(--bg-alt); }

.content-block { max-width:900px; margin:0 auto; background:var(--bg-white); border-radius:var(--radius-lg); padding:40px 48px; box-shadow:var(--shadow-sm); border:1px solid var(--border); }
.content-block__intro { font-size:1.05rem; color:var(--text-light); line-height:1.8; margin-bottom:2rem; }
.content-block__item { margin-bottom:1.8rem; padding-bottom:1.5rem; border-bottom:1px solid var(--border); }
.content-block__item:last-child { border-bottom:none; margin-bottom:0; padding-bottom:0; }
.content-block__item h3 { font-family:var(--body); font-size:1.1rem; font-weight:700; color:var(--green-dark); margin-bottom:8px; }
.content-block__item p { font-size:0.98rem; color:var(--text-light); line-height:1.8; margin-bottom:0; }

/* Benefits checkmark rows */
.benefit-row { display:flex; gap:16px; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--border); }
.benefit-row:last-child { border-bottom:none; }
.benefit-check { flex-shrink:0; width:28px; height:28px; margin-top:2px; }
.benefit-check svg { display:block; }
.benefit-text { font-size:0.98rem; color:var(--text-light); line-height:1.8; }
.benefit-text strong { color:var(--green-dark); font-weight:700; }

/* ============ REVIEWS ============ */
.reviews { padding:70px 0; background:var(--bg-white); }
.reviews__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.reviews__card { background:var(--bg); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); transition:var(--transition); }
.reviews__card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); }
.reviews__card img { width:100%; height:240px; object-fit:cover; }
.reviews__body { padding:20px; }
.reviews__body h3 { font-family:var(--body); font-size:1rem; font-weight:700; margin-bottom:4px; }
.reviews__stars { font-size:0.85rem; margin-bottom:12px; color:var(--gold); }
.reviews__stars span { color:var(--green-mid); font-weight:600; margin-left:4px; font-size:0.78rem; }
.reviews__body p { font-size:0.9rem; color:var(--text-light); line-height:1.7; font-style:italic; margin-bottom:0; }

/* ============ PRICING (matching screenshot 3 exactly) ============ */
.pricing { padding:70px 0; background:var(--bg-alt); }
.pricing--alt { background:linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%); }
.pricing__urgency { text-align:center; font-size:1rem; font-weight:700; color:var(--red); margin-bottom:2rem; padding:14px 20px; background:var(--red-bg); border-radius:var(--radius); border:1px solid #F5C6C6; }
.pricing__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; align-items:start; }

.pricing__card { background:var(--bg-white); border-radius:var(--radius-lg); overflow:hidden; border:2px solid var(--border); transition:var(--transition); }
.pricing__card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }

.pricing__card--best { border:3px solid var(--green-mid); position:relative; transform:scale(1.04); box-shadow:var(--shadow-lg); }
.pricing__card--best:hover { transform:scale(1.04) translateY(-4px); }

.pricing__head { background:var(--bg-alt); padding:10px 0; text-align:center; border-bottom:2px solid var(--border); }
.pricing__head span { font-family:var(--body); font-size:0.85rem; font-weight:700; letter-spacing:0.08em; color:var(--text-light); }
.pricing__head--best { background:var(--green-mid); border-bottom:2px solid var(--green-dark); }
.pricing__head--best span { color:#fff; }

.pricing__body { padding:24px 20px; text-align:center; }
.pricing__body h3 { font-family:var(--body); font-size:1.4rem; font-weight:800; margin-bottom:2px; color:var(--green-dark); }
.pricing__supply { font-size:0.88rem; color:var(--text-muted); margin-bottom:10px; }

.pricing__save { display:inline-block; background:var(--red); color:#fff; font-size:0.82rem; font-weight:700; padding:4px 14px; border-radius:20px; margin-bottom:10px; }

.pricing__img { margin:0 auto 14px; max-width:180px; }
.pricing__img img { width:100%; border-radius:8px; }

.pricing__price { margin-bottom:10px; }
.pricing__dollar { font-family:var(--heading); font-size:3rem; font-weight:900; color:var(--green-dark); line-height:1; }
.pricing__per { font-size:1rem; color:var(--text-light); font-weight:500; }

.pricing__perks { margin-bottom:12px; }
.pricing__perks p { font-size:0.85rem; color:var(--green-mid); font-weight:600; margin-bottom:3px; }

.pricing__body .btn--cta { width:100%; margin-bottom:12px; }

.pricing__pay-icons { font-size:0.72rem; color:var(--text-muted); margin-bottom:8px; letter-spacing:0.02em; }

.pricing__was { font-size:0.85rem; color:var(--text-muted); margin-bottom:0; }
.pricing__was s { color:#999; }

/* ============ INGREDIENTS ============ */
.ingredients { padding:70px 0; background:var(--bg-white); }
.ingredients__grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(250px,1fr)); gap:20px; }
.ingredients__card { background:var(--bg); border:1px solid var(--border); border-radius:var(--radius); padding:24px 20px; transition:var(--transition); }
.ingredients__card:hover { border-color:var(--green-light); box-shadow:var(--shadow-sm); transform:translateY(-2px); }
.ingredients__icon { font-size:1.8rem; margin-bottom:10px; }
.ingredients__card h3 { font-family:var(--body); font-size:1rem; font-weight:700; margin-bottom:8px; }
.ingredients__card p { font-size:0.9rem; color:var(--text-light); line-height:1.65; margin-bottom:0; }

/* ============ GUARANTEE ============ */
.guarantee { padding:70px 0; background:var(--bg); }
.guarantee__grid { display:grid; grid-template-columns:auto 1fr; gap:50px; align-items:center; }
.guarantee__image { text-align:center; }
.guarantee__image img { max-width:260px; margin:0 auto; }
.guarantee__content p { color:var(--text-light); line-height:1.8; }
.guarantee__content .btn { margin-top:12px; }

/* ============ CHECKOUT INFO ============ */
.checkout-info { padding:70px 0; background:var(--bg-white); }
.checkout-info__grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.checkout-info__image img { border-radius:var(--radius); box-shadow:var(--shadow-md); }
.checkout-info__content h2 { font-size:1.7rem; margin-bottom:16px; }
.checkout-info__content h3 { font-size:1.1rem; margin-top:18px; margin-bottom:8px; color:var(--green-dark); }
.checkout-info__content p { color:var(--text-light); line-height:1.7; }
.checkout-info__checks p { font-weight:600; color:var(--green-mid); margin-bottom:4px; }
.checkout-info__content .btn { margin-top:16px; }

/* ============ FINAL CTA ============ */
.final-cta { padding:70px 0; background:linear-gradient(135deg, var(--green-dark) 0%, #1a3a1a 100%); }
.final-cta__wrap { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.final-cta__image img { border-radius:var(--radius-lg); box-shadow:0 16px 48px rgba(0,0,0,0.3); }
.final-cta__content h2 { font-size:2rem; color:#fff; margin-bottom:16px; }
.final-cta__old { font-size:1.1rem; color:rgba(255,255,255,0.6); margin-bottom:6px; }
.final-cta__old s { color:rgba(255,255,255,0.4); }
.final-cta__new { font-size:1.5rem; color:var(--gold); margin-bottom:20px; }

/* ============ FAQS ============ */
.faqs { padding:70px 0; background:var(--bg-white); }
.faqs__accordion { max-width:800px; margin:0 auto; }
.faq__item { border:1px solid var(--border); border-radius:var(--radius); margin-bottom:10px; overflow:hidden; }
.faq__item:hover { border-color:var(--green-light); }
.faq__question { width:100%; display:flex; align-items:center; justify-content:space-between; padding:18px 22px; background:var(--bg); border:none; cursor:pointer; font-family:var(--body); font-size:1rem; font-weight:600; color:var(--green-dark); text-align:left; transition:var(--transition); }
.faq__question:hover { background:var(--bg-alt); }
.faq__icon { flex-shrink:0; transition:transform var(--transition); color:var(--green-mid); }
.faq__item.active .faq__icon { transform:rotate(180deg); }
.faq__answer { max-height:0; overflow:hidden; transition:max-height 0.4s ease; }
.faq__item.active .faq__answer { max-height:300px; padding:0 22px 18px; }
.faq__answer p { font-size:0.94rem; color:var(--text-light); line-height:1.8; margin-bottom:0; }

/* ============ FOOTER ============ */
.footer { padding:50px 0 24px; background:var(--green-dark); color:rgba(255,255,255,0.8); }
.footer__grid { display:grid; grid-template-columns:repeat(3,1fr); gap:32px; margin-bottom:32px; }
.footer__col h4 { font-family:var(--body); font-size:0.95rem; font-weight:700; color:#fff; margin-bottom:14px; }
.footer__col ul li { margin-bottom:8px; }
.footer__col ul li a { font-size:0.88rem; color:rgba(255,255,255,0.65); }
.footer__col ul li a:hover { color:var(--green-light); }
.footer__disclaimer { border-top:1px solid rgba(255,255,255,0.1); padding-top:24px; margin-bottom:16px; }
.footer__disclaimer p { font-size:0.75rem; color:rgba(255,255,255,0.4); line-height:1.6; margin-bottom:8px; }
.footer__bottom { border-top:1px solid rgba(255,255,255,0.1); padding-top:16px; text-align:center; }
.footer__bottom p { font-size:0.82rem; color:rgba(255,255,255,0.45); margin-bottom:0; }

/* ============ STICKY MOBILE CTA ============ */
.sticky-cta { display:none; position:fixed; bottom:0; left:0; width:100%; z-index:999; background:#fff; padding:10px 14px; box-shadow:0 -4px 16px rgba(0,0,0,0.1); border-top:1px solid var(--border); }
.sticky-cta .btn { font-size:1rem; padding:14px 20px; }

/* ============ MOBILE NAV OVERLAY ============ */
.nav-overlay { position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.4); z-index:1000; opacity:0; visibility:hidden; transition:var(--transition); }
.nav-overlay.active { opacity:1; visibility:visible; }

/* ============ RESPONSIVE 1024 ============ */
@media(max-width:1024px) {
    .hero__content h1 { font-size:2.2rem; }
    .hero__grid, .about__grid, .checkout-info__grid, .final-cta__wrap { gap:36px; }
    .pricing__grid { gap:14px; }
    .trust__grid { grid-template-columns:repeat(2,1fr); }
}

/* ============ RESPONSIVE 768 ============ */
@media(max-width:768px) {
    html { font-size:15px; }
    .section__title { font-size:1.8rem; }

    .nav__menu { position:fixed; top:0; right:-100%; width:80%; max-width:320px; height:100vh; background:#fff; padding:80px 28px 40px; box-shadow:var(--shadow-lg); transition:right 0.4s ease; z-index:1001; }
    .nav__menu.active { right:0; }
    .nav__list { flex-direction:column; gap:0; }
    .nav__link { display:block; padding:14px 0; font-size:1.05rem; border-bottom:1px solid var(--border); }
    .nav__close { display:block; }
    .nav__toggle { display:flex; }
    .nav__order-btn { display:none; }

    .hero { padding:95px 0 50px; }
    .hero__grid { grid-template-columns:1fr; gap:24px; text-align:center; }
    .hero__image { order:-1; }
    .hero__image img { max-width:280px; margin:0 auto; }
    .hero__content h1 { font-size:1.9rem; }
    .hero__checklist li { text-align:left; }
    .hero__cta { justify-content:center; }
    .hero__cta .btn { width:100%; }

    .trust__grid { grid-template-columns:repeat(2,1fr); gap:14px; }

    .about__grid { grid-template-columns:1fr; gap:24px; }
    .about__image { order:-1; text-align:center; }
    .about__image img { max-width:360px; margin:0 auto; }

    .content-block { padding:28px 22px; }

    .reviews__grid { grid-template-columns:1fr; max-width:460px; margin:0 auto; }

    .pricing__grid { grid-template-columns:1fr; max-width:380px; margin:0 auto; }
    .pricing__card--best { transform:none; order:-1; }
    .pricing__card--best:hover { transform:translateY(-4px); }

    .ingredients__grid { grid-template-columns:1fr; }

    .guarantee__grid { grid-template-columns:1fr; text-align:center; }
    .guarantee__image img { max-width:180px; }

    .checkout-info__grid { grid-template-columns:1fr; gap:24px; }
    .checkout-info__image { order:-1; }

    .final-cta__wrap { grid-template-columns:1fr; gap:24px; text-align:center; }
    .final-cta__image { order:-1; }
    .final-cta__image img { max-width:360px; margin:0 auto; }
    .final-cta__content h2 { font-size:1.6rem; }

    .footer__grid { grid-template-columns:1fr; gap:24px; }

    .sticky-cta { display:block; }
    .footer { padding-bottom:70px; }
}

/* ============ RESPONSIVE 480 ============ */
@media(max-width:480px) {
    html { font-size:14px; }
    .hero__content h1 { font-size:1.65rem; }
    .section__title { font-size:1.5rem; }
    .btn--lg { padding:16px 24px; font-size:1rem; }
    .hero__rating { flex-direction:column; gap:4px; }
    .pricing__dollar { font-size:2.5rem; }
    .content-block { padding:22px 16px; }
}

@media print {
    .header, .sticky-cta, .nav-overlay { display:none !important; }
}
