/* ==========================================================================
   MemoVolt — styles.css
   Shared stylesheet — used by index.html and all future site pages
   ========================================================================== */

:root {
  --brand: #1A3660;
  --brand-dark: #0D1B30;
  --footer-bg: #0A1526;
  --text: #000000;
  --text-light: #4a4a4a;
  --white: #ffffff;
  --tint: #F4F7FB;
  --tint2: #EDF1F8;
  --accent: #C99A3A;
  --border: #dfe4ee;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15,32,64,0.10);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { padding-left: 0; list-style: none; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--brand);
  line-height: 1.25;
  margin: 0 0 16px;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; color: var(--accent); }
p { margin: 0 0 16px; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 64px 0; }
.section.tint { background: var(--tint); }
.section.tint2 { background: var(--tint2); }

/* Full-width question-style H2 band */
.qband {
  background: var(--brand);
  width: 100%;
  padding: 40px 0;
}
.qband h2 { color: var(--white); text-align: center; margin-bottom: 0; }
.qband .eyebrow { display:block; text-align:center; color:#9fb3d6; letter-spacing:2px; font-size:.8rem; text-transform:uppercase; margin-bottom:10px; font-family: var(--font-body); font-weight:700;}
.qband-sub { text-align:center; color:#cfdaee; font-size:1.05rem; padding-top:10px; margin:0 auto; max-width:700px;}
.qband-pad { padding-bottom: 8px; }

/* ---------------- Top bar ---------------- */
.topbar {
  background: var(--brand);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.topbar-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 600;
  opacity: 0.92;
}
.nav-links a:hover { opacity: 1; text-decoration: underline; }
.btn-ordernow {
  background: var(--accent);
  color: var(--brand-dark);
  padding: 11px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span { width: 26px; height: 3px; background: var(--white); border-radius: 2px; }
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--brand-dark);
  padding: 10px 24px 20px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-weight: 600; }

/* H1 full-width band */
.h1band {
  background: var(--tint);
  width: 100%;
  padding: 34px 24px 26px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.h1band h1 { max-width: 900px; margin: 0 auto; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 46px 0 20px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 46px;
  align-items: center;
}
.hero-copy p { font-size: 1.08rem; color: var(--text-light); }
.hero-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floaty 4.5s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}
.order-mobile { display: none; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--brand-dark);
  padding: 17px 34px;
  border-radius: 40px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(201,154,58,0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { filter: brightness(1.05); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--brand);
  padding: 15px 30px;
  border: 2px solid var(--brand);
  border-radius: 40px;
  font-weight: 700;
}
.review-microline {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.6;
}
.review-microline .stars { color: var(--accent); letter-spacing: 2px; }

/* ---------------- Trust strip ---------------- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-strip ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  text-align: center;
}
.trust-strip li {
  flex: 1;
  min-width: 150px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brand);
}
.trust-strip li span { display: block; font-size: 1.5rem; margin-bottom: 4px; }

/* ---------------- Two column ---------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 46px;
  align-items: center;
}
.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; max-height: 420px; width:100%; }
.two-col.rev { grid-template-columns: 1.3fr 1fr; }

/* ---------------- Steps ---------------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 10px; }
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  text-align: center;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  margin: 0 auto 14px;
}

/* ---------------- Who it's for ---------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 10px;}
.pill-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; text-align:center; box-shadow: var(--shadow);
}
.pill-card span { font-size: 2rem; display:block; margin-bottom:10px;}
.pill-card p { font-size: 0.95rem; margin: 0; color: var(--text-light); }

/* ---------------- Ingredients ---------------- */
.ing-group-title {
  text-align:center; color: var(--brand); font-family: var(--font-display);
  font-size: 1.5rem; margin: 46px 0 24px;
}
.ing-group-title:first-of-type { margin-top: 10px; }
.ing-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.ing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.ing-icon { font-size: 1.8rem; margin-bottom: 10px; display:block; }
.ing-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.ing-sci { font-size: 0.85rem; color: var(--text-light); font-style: italic; margin-bottom: 10px; }
.ing-card h4 { margin: 14px 0 6px; font-size: 0.95rem; }
.ing-card .research { font-size: 0.95rem; color: var(--text-light); margin: 0; }

/* ---------------- Benefits ---------------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.benefit-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.benefit-card span { font-size: 1.8rem; display:block; margin-bottom: 10px;}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.benefit-card p { font-size: 0.95rem; color: var(--text-light); margin: 0; }

/* ---------------- How to use ---------------- */
.usage-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.usage-card { text-align:center; padding: 20px; }
.usage-card span { font-size: 2rem; display:block; margin-bottom: 10px; }

/* ---------------- Bonuses ---------------- */
.bonus-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 20px;}
.bonus-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; text-align: center; box-shadow: var(--shadow); position: relative;
}
.bonus-card img { margin: 0 auto 14px; max-height: 220px; width:auto; }
.bonus-price { color: var(--text-light); text-decoration: line-through; font-size: 0.95rem; }
.bonus-free { color: var(--accent); font-weight: 800; font-size: 1.1rem; display:block; margin-bottom: 6px;}
.bonus-total-banner {
  text-align:center; background: var(--tint2); border-radius: var(--radius);
  padding: 18px; margin-top: 26px; font-weight: 700; color: var(--brand); font-size: 1.15rem;
}

/* ---------------- Pricing ---------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--white); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow); display:flex; flex-direction:column;
  position: relative;
}
.price-card.popular { border-color: var(--accent); transform: translateY(-10px); }
.badge-tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--brand-dark); font-weight: 800; font-size: 0.8rem;
  padding: 6px 16px; border-radius: 20px; white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.price-card .supply { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }
.price-card img { max-height: 150px; width:auto; object-fit: contain; margin: 0 auto 16px; }
.price-was { text-decoration: line-through; color: var(--text-light); font-size: 1.05rem; }
.price-now { font-size: 2.1rem; color: var(--brand); font-family: var(--font-display); font-weight:700; }
.price-now sub { font-size: 1rem; font-family: var(--font-body); color: var(--text-light); }
.price-bonus { color: var(--accent); font-weight: 700; font-size: 0.95rem; margin: 10px 0; }
.price-total { font-weight: 700; margin: 8px 0 4px; }
.price-save { color: #2E7D32; font-weight: 700; font-size: 0.9rem; margin-bottom: 16px; }
.price-ship { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.price-card .btn-primary { margin-top: auto; }

/* ---------------- Reviews ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.review-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); text-align:center;
}
.review-card img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.review-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; }
.review-name { font-weight: 700; color: var(--brand); margin-top: 12px; }
.review-tag { font-size: 0.82rem; color: var(--text-light); }
.review-quote { font-size: 0.98rem; color: var(--text-light); font-style: italic; }

/* ---------------- Pros/Cons ---------------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.pc-card h3 { text-align:center; }
.pc-card ul li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 0.98rem; display:flex; gap:10px; }
.pc-card ul li:last-child { border-bottom: none; }
.mark-good { color: #2E7D32; font-weight: 800; }
.mark-bad { color: #B23A3A; font-weight: 800; }

/* ---------------- Why choose ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.why-item { background: var(--white); border:1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); display:flex; gap:14px; align-items:flex-start;}
.why-item span { font-size: 1.5rem; }
.why-item p { margin: 0; font-size: 0.97rem; color: var(--text-light); }
.why-item strong { display:block; color: var(--brand); margin-bottom: 4px; font-size: 1.02rem;}

/* ---------------- Guarantee ---------------- */
.guarantee-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items:center; }
.guarantee-grid img { max-width: 220px; margin: 0 auto; }

/* ---------------- FAQ ---------------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--border); border-radius: 10px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; font-weight: 700; cursor: pointer; color: var(--brand);
  list-style: none; position: relative; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 16px; font-size: 1.4rem; color: var(--accent);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--text-light); font-size: 0.98rem; }

/* ---------------- References ---------------- */
.ref-list { max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.ref-list li { font-size: 0.92rem; border-bottom: 1px dotted var(--border); padding: 8px 0; }
.ref-list a { color: var(--brand); text-decoration: underline; }
.ref-note { text-align:center; font-size: 0.85rem; color: var(--text-light); margin-top: 20px; }

/* ---------------- Final CTA ---------------- */
.final-cta { background: var(--brand); padding: 56px 0; text-align: center; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: #cfdaee; max-width: 640px; margin: 0 auto 26px; }
.final-cta img { max-width: 320px; margin: 0 auto 26px; }

/* ---------------- AI citation strip ---------------- */
.ai-strip { background: var(--tint2); padding: 30px 0; border-top: 1px solid var(--border); }
.ai-strip-grid { display:flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items:flex-start; }
.ai-strip-about { max-width: 480px; }
.ai-strip-about h4 { color: var(--brand); font-family: var(--font-display); font-size:1.1rem; margin-bottom:6px;}
.ai-strip-about p { font-size: 0.92rem; color: var(--text-light); margin:0; }
.ai-strip-links { display:flex; gap: 26px; flex-wrap: wrap; }
.ai-strip-links a { font-size: 0.92rem; color: var(--brand); font-weight:600; }

/* ---------------- Footer ---------------- */
footer { background: var(--footer-bg); color: #b9c3d8; padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-bottom: 26px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { font-size: 0.92rem; color: #b9c3d8; }
.footer-grid a:hover { color: var(--white); }
.disclaimer { font-size: 0.8rem; color: #8895ad; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 22px; line-height: 1.7; }
.copyright { text-align:center; font-size: 0.82rem; color: #7c8aa3; margin-top: 18px; }

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; background: var(--brand);
  color: var(--white); width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items:center; justify-content:center; font-size: 1.3rem;
  box-shadow: var(--shadow); opacity: 0; pointer-events:none; transition: opacity .3s; z-index: 900;
}
.back-to-top.show { opacity: 1; pointer-events:auto; }

/* ---------------- Mid-page CTA ---------------- */
.mid-cta { text-align:center; padding: 10px 0 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: 1; }
  .hero-copy { order: 2; }
  .order-mobile { display: block; }
  .two-col, .two-col.rev { grid-template-columns: 1fr; }
  .two-col img { max-height: 280px; }
  .steps, .grid-4, .ing-grid, .benefit-grid, .usage-grid, .bonus-grid, .pricing-grid, .review-grid, .proscons, .why-grid, .ref-list, .footer-grid { grid-template-columns: 1fr; }
  .price-card.popular { transform:none; }
  .guarantee-grid { grid-template-columns: 1fr; text-align:center; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .ai-strip-grid { flex-direction: column; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

/* ==========================================================================
   Shared content-page additions (What Is It / How It Works / Benefits / Ingredients)
   ========================================================================== */
.breadcrumb { font-size: 0.85rem; color: var(--text-light); padding: 16px 0 0; }
.breadcrumb a { color: var(--brand); text-decoration: underline; }
.page-hero { padding: 10px 0 6px; }
.page-hero p.lead { font-size: 1.08rem; color: var(--text-light); max-width: 820px; }
.toc { background: var(--tint2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 28px; margin: 24px 0 46px; }
.toc h2 { font-size: 1.05rem; margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { padding: 5px 0; }
.toc a { color: var(--brand); font-weight: 600; }
.content-block { max-width: 900px; margin: 0 auto; }
.content-block h2 { margin-top: 6px; }
.content-block h3 { margin-top: 26px; }
.content-block p { color: var(--text-light); }
.content-block ul.check-list li { padding: 8px 0 8px 28px; position: relative; color: var(--text-light); }
.content-block ul.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--brand); font-weight: 800; }
.related-pages { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.related-pages a { background: var(--white); border: 1px solid var(--border); border-radius: 30px; padding: 10px 20px; font-weight: 600; color: var(--brand); font-size: 0.92rem; }
