:root {
  --bg: #f5f1ea;
  --paper: #ffffff;
  --ink: #171b1d;
  --muted: #58636b;
  --line: rgba(23, 27, 29, 0.08);
  --accent: #0c5d48;
  --accent-soft: #ebf7f2;
  --gold: #c9933b;
  --gold-soft: #fcf6eb;
  --navy: #182848;
  --shadow: 0 24px 60px rgba(23, 27, 29, 0.08);
  --shadow-sm: 0 18px 42px rgba(23, 27, 29, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* Header & Navigation */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 234, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
}

.brand-mark {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  border-radius: 11px 11px 11px 4px;
  background: var(--accent);
  color: #fff;
  font: 800 1.05rem/1 "Manrope", sans-serif;
  letter-spacing: -.08em;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  opacity: 0.5;
}

/* Hero Section */
.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

h1, h2, h3 {
  margin: 0 0 16px;
  letter-spacing: -0.05em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.25rem;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.trust-badge-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--muted);
}

.trust-badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #2b2e30;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #094737;
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* Product Card */
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.product-visual {
  min-height: 200px;
  background: linear-gradient(135deg, #0c5d48 0%, #194532 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px;
}

.product-visual.brain-theme {
  background: linear-gradient(135deg, #182848 0%, #2980b9 100%);
}

.product-visual.product-visual-image {
  position: relative;
  min-height: 280px;
  padding: 0;
  overflow: hidden;
  background: #0f172a;
}

.product-visual-image > img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(160deg, #101820 0%, #1b2a28 100%);
}

.product-visual-image .product-visual-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 24px 22px;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 16, 0.88) 55%);
}

.product-visual h3 {
  margin: 0;
  color: #fff;
  font-size: 1.6rem;
}

.product-visual .tagline {
  font-size: 0.88rem;
  opacity: 0.88;
  margin-top: 4px;
}

.product-body {
  padding: 26px 24px 28px;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.rating.gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.meta-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.meta-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.meta-list li strong {
  color: var(--ink);
}

.meta-list li:last-child {
  border-bottom: none;
}

/* Sections & Grids */
section {
  padding: 44px 0;
}

.section-head {
  margin-bottom: 24px;
}

.feature-grid,
.ingredients-grid,
.benefits-grid {
  display: grid;
  gap: 22px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ingredients-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefits-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin: 0 0 10px;
}

.card p, .card li {
  color: var(--muted);
  font-size: 0.96rem;
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.card.highlight {
  border: 1px solid rgba(12, 93, 72, 0.25);
  background: #fdfdfc;
}

.card.highlight.brain {
  border: 1px solid rgba(41, 128, 185, 0.25);
}

/* Quotes & Highlights */
.quote-box {
  background: var(--accent-soft);
  border: 1px solid rgba(12, 93, 72, 0.12);
  border-radius: 24px;
  padding: 32px 28px;
}

.quote-box.brain {
  background: #eef5fb;
  border-color: rgba(41, 128, 185, 0.15);
}

.quote-box p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

.quote-box cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.quote-box.brain cite {
  color: #1b4d79;
}

/* Guarantee Banner */
.guarantee-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.guarantee-badge {
  font-size: 3rem;
  line-height: 1;
}

.guarantee-text h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.guarantee-text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA Block */
.cta-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.cta-block p {
  margin: 0;
  max-width: 560px;
  color: var(--muted);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.pricing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
}

.pricing-pill {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 12px 0 4px;
  letter-spacing: -0.04em;
}

.pricing-card .per-bottle {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Footer */
.footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .ingredients-grid,
  .benefits-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .guarantee-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .nav-links {
    display: none;
  }
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }
}
