:root {  
  color-scheme: light;
  --bg: #f4f1ff;
  --bg-accent: #ece4ff;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --text: #1f1537;
  --muted: #6f6891;
  --border: rgba(121, 88, 255, 0.22);
  --accent: #7c3aed;
  --accent-2: #38bdf8;
  --success: #10b981;
  --shadow: 0 24px 55px rgba(71, 34, 155, 0.16);
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060816;
  --bg-accent: #131a2d;
  --surface: rgba(13, 20, 35, 0.78);
  --surface-strong: rgba(18, 26, 45, 0.95);
  --text: #f7f4ff;
  --muted: #aeb6ce;
  --border: rgba(167, 139, 250, 0.25);
  --accent: #a78bfa;
  --accent-2: #38bdf8;
  --success: #34d399;
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Carlito", "Calibri", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top left, var(--bg-accent), var(--bg) 72%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.68;
  font-size: 16px;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p {
  line-height: 1.7;
}

/*
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.16), transparent 50%);
  pointer-events: none;
}
*/
button,
input,
select,
textarea {
  font: inherit;
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 24px 24px;
  position: relative;
  z-index: 1;
}

/*
.background-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.glow-one {
  top: -80px;
  left: -70px;
  background: var(--accent);
}

.glow-two {
  right: -90px;
  bottom: 20px;
  background: var(--accent-2);
}
*/

.topbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:16px 24px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    background:#ffffff;
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow);
    z-index:99999;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.28);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  border-bottom: none !important;
  line-height: 0;
  flex-shrink: 0;
  transition: opacity .18s ease;
}

.brand:hover {
  opacity: 0.85;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 22px;
  animation: fadeUp 0.65s ease both;
}

.seo-intro {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.86)),
    url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

body[data-theme="dark"] .seo-intro {
  background:
    linear-gradient(120deg, rgba(6, 8, 22, 0.92), rgba(19, 26, 45, 0.88)),
    url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 24px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(71, 34, 155, 0.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(56, 189, 248, 0.13));
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--accent);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.16);
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.3;
  font-family: "Carlito", "Calibri", "Segoe UI", "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.005em;
  color: var(--text);
}

.hero h1 {
  line-height: 1.35;
  margin-bottom: 14px;
}

.hero-line {
  display: block;
}

.hero-line-accent {
  color: var(--accent);
}

.hero-line-dark {
  color: #16241b;
}

body[data-theme="dark"] .hero-line-dark {
  color: var(--text);
}

.hero p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 16px;
}

.hero-badges,
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.keto-optin {
  margin: 20px 0 16px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.keto-optin-heading {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.keto-optin-desc {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

.keto-optin-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keto-optin-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
}

.keto-optin-input::placeholder {
  color: var(--muted);
}

.keto-optin-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.18);
}

.keto-optin-submit {
  flex: 0 0 auto;
  white-space: nowrap;
}

.keto-optin-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.keto-optin-status {
  margin: 12px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 1.2em;
}

.keto-optin-status.is-loading {
  color: var(--muted);
}

.keto-optin-status.is-success {
  color: #16a34a;
}

.keto-optin-status.is-error {
  color: #dc2626;
}

@media (max-width: 560px) {
  .keto-optin-form {
    flex-direction: column;
    align-items: stretch;
  }

  .keto-optin-submit {
    width: 100%;
  }
}

.ebook-note {
  margin-top: 12px;
  margin-bottom: 12px;
  padding: 10px 16px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-badges li,
.highlight-pill,
.legend-pill,
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-panel {
  display: grid;
  gap: 12px;
}

.hero-illustration {
  margin-bottom: 8px;
}

.illustration-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(6, 78, 59, 0.82), rgba(30, 27, 75, 0.72)),
    url('https://images.unsplash.com/photo-1512621776951-a57141f2eefd?auto=format&fit=crop&w=900&q=80');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.illustration-card > * {
  position: relative;
  z-index: 1;
}

.illustration-copy h2 {
  color: #ffffff;
}

.illustration-bowl {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 2rem;
  box-shadow: inset 0 1px 8px rgba(255, 255, 255, 0.3);
}

.illustration-copy h3 {
  margin-bottom: 4px;
}

.illustration-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: #ecfdf5;
}

.hero-ring-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
}

.hero-ring {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) 0%, rgba(124, 58, 237, 0.15) 0%);
  padding: 8px;
  box-shadow: inset 0 1px 20px rgba(255, 255, 255, 0.3);
}

.hero-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface-strong);
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-ring-inner strong {
  font-size: 1.3rem;
  display: block;
}

.hero-ring-inner span {
  font-size: 0.72rem;
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.17), rgba(56, 189, 248, 0.16));
  border: 1px solid var(--border);
  min-height: 94px;
}

.metric-card span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.metric-card strong {
  font-size: 1.5rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

#grocery-section {
  position: relative;
  overflow: hidden;
}

#grocery-section .section-head {
  position: relative;
  margin: -24px -24px 18px;
  padding: 22px 24px;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(120deg, rgba(6, 78, 59, 0.82), rgba(30, 27, 75, 0.7)),
    url('https://images.unsplash.com/photo-1543168256-418811576931?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

#grocery-section .section-head .eyebrow {
  color: #a7f3d0;
}

#grocery-section .section-head h2 {
  color: #ffffff;
}

#grocery-section .section-head .section-meta {
  color: #ecfdf5;
}

.faq-card {
  position: relative;
  overflow: hidden;
}

.faq-card .section-head {
  position: relative;
  margin: -24px -24px 18px;
  padding: 26px 24px;
  border-radius: 28px 28px 0 0;
  background:
    linear-gradient(120deg, rgba(76, 29, 149, 0.85), rgba(14, 42, 30, 0.78)),
    url('https://images.unsplash.com/photo-1547496502-affa22d38842?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.faq-card .section-head .eyebrow {
  color: #d8b4fe;
}

.faq-card .section-head h2 {
  color: #ffffff;
}

.section-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 220px;
  color: var(--muted);
  font-size: 0.95rem;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(124, 58, 237, 0.14);
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

.achievement-list,
.achievement-inline,
.recommendation-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.achievement-badge,
.product-card {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  border-radius: 18px;
  padding: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.achievement-badge:hover,
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(124, 58, 237, 0.42);
}

.achievement-badge strong,
.product-card strong {
  display: block;
  margin-top: 6px;
}

.search-input {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  padding: 13px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.grocery-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.grocery-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-strong);
  border: 1px solid transparent;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.grocery-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.grocery-item.is-checked {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.14);
}

.grocery-item input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.item-name {
  font-weight: 700;
}

.item-category {
  font-size: 0.82rem;
  color: var(--muted);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.xp-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.xp-ring {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent) 0%, rgba(124, 58, 237, 0.14) 0%);
  color: var(--text);
  font-weight: 700;
  padding: 8px;
}

.xp-ring span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--surface-strong);
}

.xp-copy {
  display: grid;
  gap: 8px;
}

.xp-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-grid {
  display: grid;
  gap: 10px;
}

.planner-day {
  display: grid;
  gap: 7px;
}

.planner-day span {
  font-weight: 700;
}

.planner-day textarea {
  min-height: 80px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

.calculator-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.calculator-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.calculator-form input,
.calculator-form select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface-strong);
  color: var(--text);
}

.calculator-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.result-pill {
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(56, 189, 248, 0.12));
  border: 1px solid var(--border);
}

.quiz-form {
  display: grid;
  gap: 12px;
}

.quiz-question {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  background: var(--surface-strong);
}

.quiz-question h3 {
  margin-bottom: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.quiz-option.selected {
  color: var(--text);
  font-weight: 700;
}

.quiz-result {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.recommendation-box {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.product-card {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card .product-image {
  width: 100%;
  height: 150px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(56, 189, 248, 0.16));
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #0f766e;
}

.product-card .rating {
  color: #f59e0b;
  font-weight: 700;
}

.product-card .best-for {
  font-size: 0.9rem;
  color: var(--muted);
}

.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card .product-cta {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
}

.product-card.active {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 16px 30px rgba(124, 58, 237, 0.16);
  transform: translateY(-2px);
}

.product-card .tag {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: linear-gradient(135deg, #0f9d58, #10b981);
  color: white;
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.28);
}

.btn.primary:hover {
  box-shadow: 0 16px 30px rgba(16, 185, 129, 0.34);
}

.btn.cta-green {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.24);
  font-weight: 700;
}

.btn.secondary-cta {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.16), rgba(34, 197, 94, 0.14));
  color: #166534;
  border: 1px solid rgba(34, 197, 94, 0.24);
}

.btn.secondary {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(56, 189, 248, 0.10));
  color: var(--accent);
  border: 1.5px solid rgba(124, 58, 237, 0.32);
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(71, 34, 155, 0.14);
}

.btn.secondary:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(56, 189, 248, 0.16));
  box-shadow: 0 14px 32px rgba(71, 34, 155, 0.2);
}

.btn.small {
  padding: 8px 12px;
}

.btn.full {
  width: 100%;
}

.ghost-btn {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
}

.testimonial-grid,
.faq-list,
.recipe-grid {
  display: grid;
  gap: 12px;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card,
.faq-list details,
.recipe-card {
  border: 1px solid var(--border);
  background: var(--surface-strong);
  border-radius: 18px;
  padding: 16px;
}

.recipe-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recipe-card {
  display: grid;
  gap: 8px;
}

.recipe-card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  margin-bottom: 2px;
}

.recipe-card p {
  color: var(--muted);
  margin: 0;
}

.testimonial-card p {
  margin-top: 0;
  color: var(--muted);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px 34px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 45%, #164e63 100%);
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 24px 55px rgba(30, 27, 75, 0.35);
}

.footer::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  bottom: -90px;
  right: 10%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.22), transparent 70%);
  pointer-events: none;
}

.footer > .footer-main,
.footer > a {
  position: relative;
  z-index: 1;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: #c4b5fd;
}

.footer h3 {
  color: #ffffff;
  max-width: 480px;
  margin-bottom: 10px;
}

.footer-tagline {
  color: #cbd5f5;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 440px;
  margin: 0;
}

.footer-divider {
  width: 60px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8, #a78bfa);
  margin: 18px 0;
}

.footer-legal {
  margin-bottom: 18px;
}

.footer-small {
  color: #a5aed1;
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0 0 6px;
  max-width: 460px;
}

.footer-small strong {
  color: #cbd5f5;
}

.footer-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #e9e5ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-cta {
  flex: none;
  white-space: nowrap;
  align-self: center;
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.35);
}
.keto-checker {
  margin: 30px 0;
  text-align: center;
  padding: 46px 30px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(14,42,30,0.86), rgba(30,27,75,0.8)),
    url('https://images.unsplash.com/photo-1490645935967-10de6ba17061?auto=format&fit=crop&w=1400&q=80');
  background-size: cover;
  background-position: center;
}

.keto-checker h2 {
  margin-bottom: 10px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.keto-checker p {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.82);
  position: relative;
  z-index: 1;
}

.keto-checker input {
  width: 100%;
  max-width: 350px;
  padding: 13px 16px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 26px rgba(0,0,0,0.22);
}

.keto-checker #checkFoodBtn {
  position: relative;
  z-index: 1;
}

#foodResult {
  margin-top: 20px;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: white;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.28);
}

.mobile-bottom-bar {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 21, 0.62);
  backdrop-filter: blur(10px);
  z-index: 30;
  padding: 18px;
}

.modal.hidden {
  display: none;
}

.modal-card {
  width: min(560px, 100%);
  border-radius: 24px;
  padding: 24px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.confetti-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 40;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  width: 10px;
  height: 18px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 2.2s ease-out forwards;
}

@keyframes confettiFall {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% {
    transform: translate3d(var(--drift), 110vh, 0) rotate(720deg);
    opacity: 0;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grocery-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .topbar,
  .card,
  .footer {
    padding: 16px;
  }

  .topbar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-ring-card,
  .xp-card,
  .recommendation-box,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-cta {
    align-self: stretch;
    text-align: center;
    margin-top: 8px;
  }

  .stats-grid,
  .grocery-list,
  .calculator-results,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-meta {
    min-width: 0;
    width: 100%;
  }

  .floating-cta {
    display: none;
  }

  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }

  .mobile-bottom-bar .btn {
    width: 100%;
  }
}

/* Planner popup and planner landing page */
.planner-popup-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 8, 23, 0.72);
  backdrop-filter: blur(10px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.planner-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.planner-popup-overlay.is-open .planner-popup {
  animation: plannerPopIn 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.1) both;
}

@keyframes plannerPopIn {
  from {
    opacity: 0;
    transform: scale(0.93) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.planner-popup {
  width: min(620px, 100%);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  position: relative;
  padding: 32px 28px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #faf8ff);
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 34px 90px rgba(71, 34, 155, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  text-align: center;
}

.planner-popup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, #7c3aed, #38bdf8, #10b981);
}

.planner-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.planner-popup-close:hover {
  background: rgba(124, 58, 237, 0.12);
  transform: scale(1.06);
}

.planner-popup-visual {
  width: 92px;
  height: 92px;
  margin: 4px auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
  box-shadow: 0 16px 32px rgba(71, 34, 155, 0.32);
  font-size: 2.3rem;
}

.planner-popup h2 {
  margin-bottom: 10px;
}

.planner-popup p {
  color: var(--muted);
}

.planner-popup-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 18px 0 20px;
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin-inline: auto;
}

.planner-popup-list li {
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(56, 189, 248, 0.07));
  border: 1px solid rgba(16, 185, 129, 0.18);
  color: var(--text);
  font-weight: 600;
}

.planner-popup-button {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  font-size: 1.02rem;
  padding: 14px 16px;
  box-shadow: 0 18px 38px rgba(16, 185, 129, 0.38);
}

.planner-popup-note {
  margin-top: 14px;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.02em;
}

.planner-teaser {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(30, 27, 75, 0.88), rgba(76, 29, 149, 0.8)),
    url('https://images.unsplash.com/photo-1547592166-23ac45744acd?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
}

.planner-teaser .section-head,
.planner-teaser .planner-teaser-grid {
  position: relative;
  z-index: 1;
}

.planner-teaser .eyebrow {
  color: #c4b5fd;
}

.planner-teaser h2 {
  color: #ffffff;
}

.planner-teaser-grid p {
  color: #ede9fe;
}

.planner-teaser-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: 18px;
}

.planner-teaser .hero-badges li {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.planner-page-hero {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.planner-page-hero img,
.planner-showcase img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.planner-section {
  margin: 28px 0;
}

.planner-feature-grid,
.planner-daily-grid,
.planner-resource-grid {
  display: grid;
  gap: 16px;
}

.planner-feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.planner-feature-card,
.planner-daily-card,
.planner-resource-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.planner-feature-card .icon,
.planner-daily-card .icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(56, 189, 248, 0.16));
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.planner-daily-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.planner-resource-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.planner-cta-box {
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(16, 185, 129, 0.12));
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.planner-cta-box .btn {
  margin-top: 12px;
}

.planner-list {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .planner-page-hero,
  .planner-teaser-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .planner-popup {
    padding: 24px 18px;
  }

  .planner-popup-list li {
    font-size: 0.94rem;
  }

  .planner-page-hero img,
  .planner-showcase img {
    max-height: 300px;
  }
}

@media print {
  body {
    background: white;
    color: black;
  }

  .topbar,
  .btn,
  .ghost-btn,
  .confetti-layer,
  .modal,
  .planner-popup-overlay {
    display: none !important;
  }

  .card {
    box-shadow: none;
    border: 1px solid #ddd;
    background: white;
  }
}
/* Social Media Section */

.social-section{
    text-align:center;
    margin-top:50px;
    padding:40px 20px;
    background:#f8f8f8;
    border-radius:15px;
}

.social-section h2{
    color:#2d7d46;
    margin-bottom:10px;
}

.social-section p{
    color:#555;
    margin-bottom:25px;
}

.social-icons{
    display:flex;
    justify-content:center;
    gap:40px;
    flex-wrap:wrap;
}

.social-icons a{
    text-decoration:none;
    color:#333;
    transition:.3s;
}

.social-icons i{
    font-size:48px;
    display:block;
    margin-bottom:10px;
}

.social-icons span{
    font-weight:bold;
}

.social-icons a:hover{
    transform:translateY(-6px) scale(1.1);
}

.fa-youtube{
    color:#ff0000;
}

.fa-instagram{
    color:#e1306c;
}

.fa-blogger{
    color:#ff6600;
}
/* Top Navigation */

.top-nav{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    justify-content:center;
    align-items:center;
    margin-top:15px;
  overflow-x:auto;
white-space:nowrap;
}

.top-nav a{
    text-decoration:none;
    color:#2d7d46;
    font-weight:600;
    transition:0.3s;
  font-size:13px;
padding:4px;
}

.top-nav a:hover{
    color:#1f5c33;
    transform:translateY(-2px);
}
/* ===== Premium Navbar ===== */

.page-shell{
    max-width:1280px;
    margin:0 auto;
    padding:120px 24px 24px;
    position:relative;
    z-index:1;
}

.top-nav{
    display:flex;
    align-items:center;
    gap:18px;
    flex:1;
    justify-content:center;
    flex-wrap:nowrap;
}

.top-nav a{
    text-decoration:none;
    color:var(--text);
    font-weight:600;
    transition:.3s;
}

.top-nav a:hover{
    color:#2d7d46;
}

.topbar-actions{
    display:flex;
    gap:10px;
}

@media (max-width:900px){

.topbar{
    flex-direction:column;
    gap:15px;
}

.top-nav{
    justify-content:center;
}

}
.programs-card {
  margin-top: 50px;
  margin-bottom: 50px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 35px;
}

.program-card {
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 20px;
}

.program-card h3 {
  margin-bottom: 15px;
}

.program-card .stars {
  display: block;
  margin-bottom: 20px;
}

.program-card p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.program-card ul {
  padding-left: 0;
  margin-bottom: 25px;
}

.program-card ul li {
  list-style: none;
  margin-bottom: 10px;
}
/* ===========================
   PREMIUM TRUST SECTION
=========================== */

.trust-section{
    margin:90px 0;
    padding:60px 40px;
    border-radius:28px;
    background:linear-gradient(180deg,#fffdf8,#f7fff6);
    border:1px solid rgba(22,163,74,.10);
}

.trust-header{
    text-align:center;
    max-width:760px;
    margin:0 auto 50px;
}

.trust-badge{
    display:inline-block;
    background:#16a34a;
    color:#fff;
    padding:8px 18px;
    border-radius:999px;
    font-size:.75rem;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:18px;
}

.trust-header h2{
    margin-bottom:16px;
    color:#111827;
}

.trust-header p{
    color:#6b7280;
    line-height:1.8;
    font-size:1.05rem;
}

.trust-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:28px;
}

.trust-card{
    background:#fff;
    border-radius:22px;
    padding:32px 24px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.35s ease;
    border-top:5px solid #16a34a;
}

.trust-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.trust-icon{
    width:70px;
    height:70px;
    margin:0 auto 22px;
    border-radius:50%;
    background:linear-gradient(135deg,#16a34a,#22c55e);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
    font-weight:bold;
}

.trust-card h3{
    margin-bottom:14px;
    color:#111827;
}

.trust-card p{
    color:#6b7280;
    line-height:1.7;
}

.trust-footer{
    text-align:center;
    margin-top:45px;
}
#specialOfferPopup {
  display: none;
}



/* ================================
   KETO QUESTION HELPER
================================ */

.keto-question-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(124, 58, 237, 0.07), rgba(56, 189, 248, 0.05)),
    var(--surface-strong);
  border: 1px solid rgba(124, 58, 237, 0.16);
  box-shadow: 0 20px 45px rgba(71, 34, 155, 0.14);
}

.keto-question-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14), transparent 70%);
  pointer-events: none;
}

.keto-question-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.keto-question-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(56, 189, 248, 0.16));
  border: 1px solid rgba(124, 58, 237, 0.2);
}

.helper-intro {
  margin: 0 0 16px;
  color: var(--muted);
}

.keto-question-form {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.keto-question-form textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 16px;
  background: var(--surface-strong);
  color: var(--text);
  outline: none;
  box-shadow: inset 0 1px 3px rgba(71, 34, 155, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.keto-question-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
}

.question-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.question-count {
  color: var(--muted);
  font-size: 0.86rem;
}

.keto-question-result {
  display: none;
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 20px;
  background: var(--surface-strong);
  box-shadow: 0 14px 34px rgba(71, 34, 155, 0.10);
}

.keto-question-result.is-visible {
  display: block;
  animation: fadeUp 0.35s ease both;
}

.keto-answer-label {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.keto-answer-title {
  margin: 0 0 8px;
}

.keto-answer-text {
  margin: 0 0 14px;
  color: var(--muted);
}

.keto-answer-tip {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.10);
}

.keto-product-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.keto-product-match-copy strong {
  display: block;
  margin-bottom: 3px;
}

.keto-product-match-copy span {
  color: var(--muted);
  font-size: 0.9rem;
}

.keto-product-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 58, 237, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.keto-product-link:hover,
.keto-product-link:focus-visible {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.keto-disclaimer {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.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;
}

@media (max-width: 640px) {
  .question-form-actions,
  .keto-product-match {
    align-items: stretch;
    flex-direction: column;
  }

  .question-form-actions .btn {
    width: 100%;
  }
}


/* Calculator educational text */
.calculator-info {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--border);
}

.calculator-info h3 {
  margin-bottom: 12px;
}

.calculator-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.calculator-info-grid > div {
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
}

.calculator-info-grid strong {
  display: block;
  margin-bottom: 4px;
}

.calculator-info-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.calculator-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .calculator-info-grid {
    grid-template-columns: 1fr;
  }
}


/* XP & Level explanatory content */
.xp-info {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.xp-info h3 {
  margin: 0 0 8px;
}

.xp-info > p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.9rem;
}

.xp-info-points {
  display: grid;
  gap: 10px;
}

.xp-info-points > div {
  padding: 11px 13px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.08),
    rgba(56, 189, 248, 0.07)
  );
  border: 1px solid var(--border);
}

.xp-info-points strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.9rem;
}

.xp-info-points span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}


/* Health & Fitness Products */
.health-fitness-products {
  margin: 40px 0 28px;
}

.health-fitness-products-content {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(56, 189, 248, 0.10)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.health-fitness-products-content h2 {
  margin-bottom: 12px;
}

.health-fitness-products-intro {
  max-width: 820px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.8;
}

.health-products-cta {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.health-fitness-products-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--success), #0f766e);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.health-fitness-products-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
}

@media (max-width: 760px) {
.health-fitness-products-button {
    width: 100%;
  }
}

/* ===========================
   SITE EXPLAINER (auto-playing intro widget)
=========================== */

.site-explainer {
  position: relative;
  overflow: hidden;
}

.explainer-toggle {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.explainer-toggle:hover,
.explainer-toggle:focus-visible {
  background: rgba(124, 58, 237, 0.12);
  transform: scale(1.06);
}

.explainer-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.explainer-segment {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.14);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
}

.explainer-segment i {
  position: absolute;
  inset: 0;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  display: block;
}

.explainer-segment.is-complete i {
  width: 100%;
}

.explainer-segment.is-active i {
  width: 0%;
  animation: explainerFill 4.5s linear forwards;
}

.site-explainer.is-paused .explainer-segment.is-active i {
  animation-play-state: paused;
}

@keyframes explainerFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.explainer-viewport {
  display: flex;
  align-items: center;
  gap: 10px;
}

.explainer-nav {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.explainer-nav:hover,
.explainer-nav:focus-visible {
  background: rgba(124, 58, 237, 0.12);
  transform: scale(1.06);
}

.explainer-slides {
  position: relative;
  flex: 1;
  min-height: 240px;
}

.explainer-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 6px 10px;
}

.explainer-slide.is-prev {
  transform: translateX(-28px);
}

.explainer-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.explainer-media {
  flex: none;
  width: 200px;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 34px rgba(71, 34, 155, 0.22);
  border: 1px solid rgba(124, 58, 237, 0.18);
}

.explainer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.explainer-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.explainer-icon {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.explainer-label {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent);
}

.explainer-slide h3 {
  margin-bottom: 8px;
}

.explainer-text {
  color: var(--muted);
  max-width: 480px;
  margin: 0;
}

.explainer-cta {
  margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .explainer-segment.is-active i {
    animation: none;
    width: 100%;
  }

  .explainer-slide {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
}

@media (max-width: 760px) {
  .explainer-slide {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    overflow-y: auto;
  }

  .explainer-media {
    width: 100%;
    max-width: 260px;
    height: 160px;
  }

  .explainer-copy {
    text-align: center;
  }

  .explainer-text {
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .explainer-nav {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .explainer-slides {
    min-height: 360px;
  }

  .explainer-icon {
    font-size: 2rem;
  }
}

/* ===========================
   EBOOK BANNER (header download strip)
=========================== */

.ebook-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(124,58,237,0.10), rgba(56,189,248,0.08));
  border: 1px solid rgba(124,58,237,0.18);
}

.ebook-banner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: 12%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.14), transparent 70%);
  pointer-events: none;
}

.ebook-banner-icon {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #7c3aed, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 14px 30px rgba(71,34,155,0.28);
}

.ebook-banner-copy {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.ebook-banner-copy h2 {
  margin-bottom: 4px;
}

.ebook-banner-text {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  max-width: 560px;
}

.ebook-banner-cta {
  flex: none;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  box-shadow: 0 14px 30px rgba(16,185,129,0.32);
}

@media (max-width: 760px) {
  .ebook-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .ebook-banner-cta {
    align-self: stretch;
    text-align: center;
  }
}

/* ===========================
   SITE COPYRIGHT (bottom of page, below the shell)
=========================== */

.site-copyright {
  text-align: center;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 22px 16px;
  margin: 0;
}
