/* ══════════════════════════════════════════════
   CSS RESET & VARIABLES (matches quiz.html)
   ══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary:#0d7377;
  --color-primary-dark:#095456;
  --color-primary-light:#14a3a8;
  --color-accent:#e8634a;
  --color-accent-hover:#d4533b;
  --color-gold:#d4a843;
  --color-bg:#ffffff;
  --color-bg-warm:#faf8f5;
  --color-bg-light:#f0f7f7;
  --color-bg-dark:#0d2b2e;
  --color-text:#2d3436;
  --color-text-light:#636e72;
  --color-text-white:#ffffff;
  --color-border:#dfe6e9;
  --color-success:#27ae60;
  --color-star:#d4a843;
  --color-check:#27ae60;
  --color-x:#e8634a;
  --font-heading:'Playfair Display', Georgia, serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width:1200px;
  --max-width-narrow:680px;
  --shadow-sm:0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg:0 8px 30px rgba(0,0,0,0.12);
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;
  --transition:0.3s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }

/* Screen-reader-only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Reset list styles where used semantically but not visually */
nav ul,
.trust-strip,
.final-trust,
.footer-links,
.nutrient-highlights,
.testimonial-grid,
.pain-grid,
.deal-steps,
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

figure { margin: 0; }

/* Article meta (author / publication / update dates) */
.article-meta {
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 24px;
  font-style: italic;
}
.article-meta time { color: var(--color-text-light); }
.article-meta a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  font-style: normal;
}
.article-meta a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════
   ANNOUNCEMENT BAR
   ══════════════════════════════════════════════ */
.announcement-bar {
  background: var(--color-accent);
  color: var(--color-text-white);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
}
.announcement-bar a { color: var(--color-text-white); text-decoration: underline; }

/* ══════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════ */
header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.logo span { color: var(--color-accent); }

nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
}
nav a:hover { color: var(--color-primary); }

.btn-nav {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text-white) !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--color-accent-hover); transform: translateY(-1px); }

/* ══════════════════════════════════════════════
   BUTTONS (shared CTA)
   ══════════════════════════════════════════════ */
.btn-cta {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-text-white);
  padding: 18px 36px;
  border-radius: var(--radius-md);
  font-size: 19px;
  font-weight: 800;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 14px rgba(232,99,74,.35);
  cursor: pointer;
  border: none;
  line-height: 1.3;
}
.btn-cta:hover {
  background: var(--color-accent-hover);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,99,74,.45);
}
.btn-cta small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
  opacity: .9;
}

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--color-bg-light) 0%, #e0f0f0 50%, var(--color-bg) 100%);
  padding: 60px 0 50px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-copy h1 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 18px;
}
.hero-copy h1 em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 500;
}
.hero-copy .subheadline {
  font-size: 18px;
  color: var(--color-text-light);
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-cta { margin-bottom: 24px; }

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}
.hero-rating-stars {
  color: #f5a623;
  font-size: 21px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-light);
}
.trust-strip li::before { content: "✓ "; color: var(--color-success); font-weight: 700; }

/* Hero image */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image .product-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-image figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  font-style: italic;
}

/* ══════════════════════════════════════════════
   DEFICIENCY BANNER
   ══════════════════════════════════════════════ */
.deficiency-banner {
  padding: 0;
  background: var(--color-bg-warm);
  overflow: hidden;
}
.deficiency-banner-inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}
.deficiency-banner-inner img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════
   PAIN POINTS / AGITATION
   ══════════════════════════════════════════════ */
.pain-section {
  padding: 70px 0;
  background: var(--color-bg);
}
.pain-section .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.3;
}
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.pain-card {
  background: var(--color-bg-warm);
  border-left: 4px solid var(--color-accent);
  padding: 28px 28px 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.pain-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-text);
}
.pain-card p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.65;
}
.pain-reveal {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-light);
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
}
.pain-reveal h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}
.pain-reveal p { font-size: 17px; color: var(--color-text); line-height: 1.65; }

/* ══════════════════════════════════════════════
   VIDEO SECTION
   ══════════════════════════════════════════════ */
.video-section {
  padding: 70px 0;
  background: var(--color-bg-warm);
  text-align: center;
}
.video-section .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 10px;
}
.video-section .section-sub {
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 36px;
}
.video-figure {
  max-width: 680px;
  margin: 0 auto 30px;
}
.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}
.product-loop-poster {
  width: 100%;
  height: auto;
  display: block;
}
.video-figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--color-text-light);
  font-style: italic;
}

/* ══════════════════════════════════════════════
   SOLUTION / WHY LIQUID GEL CAPS
   ══════════════════════════════════════════════ */
.solution-section {
  padding: 70px 0;
  background: var(--color-bg);
}
.solution-section .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  text-align: center;
  margin-bottom: 16px;
}
.solution-section .section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 44px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.solution-text h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--color-primary-dark);
}
.solution-text p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}
.solution-text strong { color: var(--color-text); }
.solution-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}
.solution-image figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-text-light);
  text-align: center;
  font-style: italic;
}

/* Nutrient Pills */
.nutrient-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto 36px;
}
.nutrient-pill {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-dark);
  white-space: nowrap;
}
.nutrient-pill.highlight {
  background: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════ */
.testimonials {
  padding: 70px 0;
  background: var(--color-bg-warm);
}
.testimonials .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  text-align: center;
  margin-bottom: 10px;
}
.testimonials .section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 44px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 30px 26px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.testimonial-stars {
  color: var(--color-star);
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-card blockquote {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.author-info { font-size: 14px; }
.author-info strong { display: block; color: var(--color-text); }
.author-info span { color: var(--color-text-light); }
.review-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

/* ══════════════════════════════════════════════
   COMPARISON TABLE
   ══════════════════════════════════════════════ */
.comparison {
  padding: 70px 0;
  background: var(--color-bg);
}
.comparison .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  text-align: center;
  margin-bottom: 10px;
}
.comparison .section-sub {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-light);
  margin-bottom: 36px;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.comparison-table thead th {
  background: var(--color-bg-dark);
  color: var(--color-text-white);
  padding: 16px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th:nth-child(2) { background: var(--color-accent); }
.comparison-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}
.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
}
.comparison-table tbody td:nth-child(2) {
  background: var(--color-bg-light);
  font-weight: 600;
  color: var(--color-primary-dark);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════
   HOW TO GET THE DEAL
   ══════════════════════════════════════════════ */
.deal-section {
  padding: 70px 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-text-white);
  text-align: center;
}
.deal-section .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 10px;
  color: var(--color-text-white);
}
.deal-section .section-sub {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 40px;
}
.deal-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 700px;
  margin: 0 auto 40px;
}
.deal-step {
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-text-white);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}
.deal-step h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 8px;
}
.deal-step p { font-size: 15px; opacity: .9; }

/* ══════════════════════════════════════════════
   FAQ (homepage mini version)
   ══════════════════════════════════════════════ */
.faq-section {
  padding: 70px 0;
  background: var(--color-bg-warm);
}
.faq-section .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  text-align: center;
  margin-bottom: 10px;
}
.faq-section .section-sub {
  text-align: center;
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 40px;
}
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-body);
}
.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { content: "−"; }
.faq-item.open .faq-question { color: var(--color-primary-dark); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   FINAL CTA
   ══════════════════════════════════════════════ */
.final-cta {
  padding: 70px 0;
  background: var(--color-bg);
  text-align: center;
}
.final-cta .section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 18px;
  line-height: 1.3;
}
.final-cta p {
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 30px;
  line-height: 1.7;
}
.final-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-light);
}
.final-trust li::before { content: "✓ "; color: var(--color-success); }

.pain-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--color-text-light);
  font-size: 17px;
}
.nutrient-heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 20px;
  margin-bottom: 20px;
}
.cta-center { text-align: center; }
.table-scroll { overflow-x: auto; }
.btn-cta-light {
  background: var(--color-bg);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.btn-cta-light small { color: var(--color-text-light); }

/* ══════════════════════════════════════════════
   AUTHOR BIO BOX (E-E-A-T)
   ══════════════════════════════════════════════ */
.author-bio {
  max-width: 760px;
  margin: 50px auto 0;
  padding: 30px;
  background: var(--color-bg-warm);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
}
.author-bio h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}
.author-bio p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 10px;
}
.author-bio a {
  color: var(--color-primary);
  font-weight: 600;
}
.article-dates {
  margin-top: 14px;
  font-size: 13px;
  color: var(--color-text-light);
  font-style: italic;
}

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.7);
  padding: 40px 0 24px;
  font-size: 14px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
footer a { color: rgba(255,255,255,.85); }
footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-logo { color: rgba(255,255,255,.9); }
.footer-logo span { color: var(--color-gold); }
.footer-trust-bar { text-align: center; }
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.footer-disclaimer {
  margin-top: 8px;
  font-size: 12px;
  opacity: .65;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; margin-bottom: 10px; }
  .hero-image .product-img { max-width: 420px; }
  .hero-rating { margin-left: auto; margin-right: auto; }
  .trust-strip { justify-content: center; }
  .pain-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-image { order: -1; }
  .solution-image img { max-width: 360px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .deal-steps { grid-template-columns: 1fr; }
  .comparison-table { font-size: 13px; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 10px 8px; }
  header .container { justify-content: center; }
  nav ul { gap: 14px; }
}

@media (max-width: 600px) {
  .hero { padding: 40px 0 30px; }
  .hero-image .product-img { max-width: 320px; }
  .btn-cta { padding: 16px 24px; font-size: 17px; }
  .video-figure { max-width: 100%; }
  .deficiency-banner-inner { max-width: 100%; }
  nav ul { gap: 10px; }
  nav a { font-size: 13px; }
}

.affiliation-strip {
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}
.affiliation-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
  max-width: var(--max-width-narrow);
}
.affiliation-badge img { border-radius: var(--radius-sm); }
.affiliation-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  max-width: 460px;
}
.affiliation-text a { color: inherit; font-weight: 600; text-decoration: underline; }
.affiliation-text a:hover { color: inherit; }
.affiliation-disclaimer {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
}
@media (max-width: 600px) {
  .affiliation-inner { flex-direction: column; text-align: center; }
}
