/* ============================================================
   CitrusBurn — MetaboActivate (EN-US)
   Design System v3 — Full Page
============================================================ */

:root {
  /* CitrusBurn Core Palette */
  --cb-orange-1: #ed4e00;
  --cb-orange-2: #ff9f13;
  --cb-coral:    #fa5e41;
  --cb-yellow:   #fff000;
  --cb-green:    #00bc40;

  --cb-blue-1: #084993;
  --cb-blue-2: #1f7dc9;
  --cb-blue-3: #114d85;

  /* Neutrals */
  --bg:        #ffffff;
  --panel:     #ffffff;
  --panel-alt: #eff7ff;
  --text:      #000000;
  --muted:     #575757;
  --line:      #d1d1d1;

  /* System */
  --radius:    14px;
  --shadow:    0 10px 24px rgba(0,0,0,.10);
  --container: 1120px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute; left: -9999px; top: 12px;
  background: #fff; color: #000;
  padding: 10px 12px; border-radius: 10px; z-index: 9999;
}
.skip-link:focus { left: 12px; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-mark {
  width: 46px; height: 46px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(237,78,0,.16), rgba(255,159,19,.18));
  border: 1px solid rgba(0,0,0,.10);
  font-weight: 900;
  color: #000;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.nav { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.nav a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:hover { background: rgba(0,0,0,.05); }

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 56px 0; }
.section-alt {
  background: linear-gradient(180deg, var(--panel-alt), #ffffff);
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 34px 0 24px;
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(255,159,19,.12), transparent 55%),
    radial-gradient(900px 380px at 80% 0%, rgba(250,94,65,.10), transparent 60%),
    #fff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: start;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 12px;
  text-transform: uppercase;
  color: #000;
  background: #fff5d3;
  border: 1px solid rgba(0,0,0,.10);
  padding: 8px 10px;
  border-radius: 999px;
}

h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 14px 0 10px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 70ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}

.highlight {
  background: linear-gradient(to right, var(--cb-orange-1), var(--cb-orange-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   CARDS / PANELS
============================================================ */
.card, .feature, .panel {
  background: var(--panel);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card { padding: 18px; }
.feature, .panel { padding: 16px; box-shadow: none; }

.divider { height: 1px; background: rgba(0,0,0,.12); margin: 16px 0; }

.section-head { margin-bottom: 28px; }
.section-head h2 { margin: 0 0 8px; font-size: 30px; }
.section-head .eyebrow { margin-bottom: 10px; }

.muted { color: var(--muted); }
.tiny  { font-size: 12px; line-height: 1.55; }

.grid-3 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.grid-2 {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature h3, .panel h3 { margin: 0 0 10px; }
.feature p { margin: 0; color: var(--muted); line-height: 1.6; }

.note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid rgba(250,94,65,.45);
  background: rgba(250,94,65,.08);
  color: #000;
}

.mt { margin-top: 18px; }
.w-100 { width: 100%; }

/* ============================================================
   TRUST BOX
============================================================ */
.trust-box {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.7);
}
.trust-line { margin: 0 0 6px; }
.trust-line:last-child { margin: 0; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 6px;
  padding: 12px 14px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
  transition: filter .15s ease, transform .1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cb-orange-1), var(--cb-orange-2));
  color: #000;
  border-color: rgba(0,0,0,.10);
}
.btn-primary:hover  { filter: brightness(1.04); }
.btn-primary:active { transform: translateY(1px); }

.btn-secondary {
  background: var(--cb-green);
  color: #fff;
  border-color: rgba(0,0,0,.08);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.btn-secondary:hover  { filter: brightness(1.04); }
.btn-secondary:active { transform: translateY(1px); }

.btn-ghost {
  background: #fff;
  border-color: rgba(0,0,0,.18);
  color: #000;
}
.btn-ghost:hover  { background: rgba(0,0,0,.03); }
.btn-ghost:active { transform: translateY(1px); }

/* HERO CTA — Big conversion button */
.btn-cta-hero {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 20px 28px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--cb-green), #00a036);
  border: none;
  box-shadow: 0 8px 28px rgba(0,188,64,.35);
  cursor: pointer;
  transition: filter .2s ease, transform .1s ease, box-shadow .2s ease;
  animation: pulse-cta 2.4s ease-in-out infinite;
}
.btn-cta-hero:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 36px rgba(0,188,64,.45);
}
.btn-cta-hero:active { transform: translateY(2px); }

@keyframes pulse-cta {
  0%   { box-shadow: 0 8px 28px rgba(0,188,64,.35); }
  50%  { box-shadow: 0 8px 38px rgba(0,188,64,.60); }
  100% { box-shadow: 0 8px 28px rgba(0,188,64,.35); }
}

/* ============================================================
   CTA BANNER
============================================================ */
.cta-banner {
  margin-top: 20px;
  border: 2px solid rgba(250,94,65,.55);
  background: linear-gradient(90deg, rgba(250,94,65,.12), rgba(255,159,19,.12));
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.offer-banner   { margin-top: 18px; }
.offer-title    { font-size: 18px; }
.offer-subtitle { margin: 6px 0 0; }

/* Hero CTA banner (Block 4) */
.cta-banner--hero {
  display: block;
  text-align: center;
  border: 3px solid rgba(0,188,64,.50);
  background: linear-gradient(135deg, rgba(0,188,64,.08), rgba(0,160,54,.06));
  padding: 36px 28px;
  margin-top: 24px;
}

.cta-banner-content { max-width: 720px; margin: 0 auto; }

.cta-main-title {
  font-size: 26px;
  font-weight: 900;
  margin: 0 0 8px;
  color: #000;
  line-height: 1.2;
}

.cta-main-sub { margin: 0 0 22px; }

.cta-note { margin-top: 16px; display: block; }

.cta-arrow-hint {
  text-align: center;
  margin-top: 28px;
}
.cta-arrow-hint span { font-size: 36px; display: block; animation: bounce 1.4s ease-in-out infinite; }
.cta-arrow-hint p    { margin: 6px 0 0; font-weight: 700; font-size: 16px; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

.cta-secondary-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* ============================================================
   LISTS
============================================================ */
.checklist, .simple-list, .info-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.simple-list { list-style: none; padding-left: 0; }
.simple-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.simple-list li:last-child { border-bottom: none; }

/* ============================================================
   BRIDGE LINE
============================================================ */
.bridge-line {
  background: #f8f9fa;
  border-left: 4px solid var(--cb-green);
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}
.bridge-line p { margin: 0; font-size: .95rem; color: #2c3e50; }

/* ============================================================
   EDU BLOCKS (Body Text)
============================================================ */
.edu-block {
  max-width: 780px;
  margin: 0 auto 24px;
}
.edu-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 16px;
}
.edu-text:last-child { margin-bottom: 0; }

/* ============================================================
   INFO FLOW (Thermogenesis Cards)
============================================================ */
.info-flow {
  margin-top: 28px;
  display: grid;
  gap: 20px;
}

.info-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items: stretch;
  background: var(--panel);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

.info-text h3 {
  margin: 0 0 10px;
  color: var(--cb-orange-1);
  font-size: 22px;
  line-height: 1.2;
}

.info-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.arrow {
  position: absolute;
  left: -18px;
  width: 0; height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 18px solid var(--cb-coral);
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.18));
}

/* ============================================================
   QUOTE GRID
============================================================ */
.quote-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-box {
  border-radius: 12px;
  border: 2px solid rgba(237,78,0,.35);
  background: rgba(255,159,19,.10);
  padding: 20px;
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}
.quote-box p {
  margin: 0;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.5;
  color: #000;
  font-style: italic;
}
.quote-box p::before { content: "\201C"; }
.quote-box p::after  { content: "\201D"; }

/* ============================================================
   INGREDIENTS FLOW — BLOCK 3
============================================================ */
.ingredients-flow {
  margin-top: 32px;
  display: grid;
  gap: 24px;
}

.ingredient-card {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 24px;
  align-items: center;
  background: var(--panel);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ingredient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,.14);
}

/* Alternating layout */
.ingredient-card--reverse {
  grid-template-columns: 1.25fr .75fr;
}
.ingredient-card--reverse .ingredient-media {
  order: 2;
}
.ingredient-card--reverse .ingredient-text {
  order: 1;
}

.ingredient-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px dashed rgba(0,0,0,.22);
  background: #fff;
  display: block;
}

.ingredient-badge {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cb-orange-1), var(--cb-orange-2));
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(237,78,0,.45);
  border: 2px solid #fff;
}

.ingredient-text h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  color: var(--cb-orange-1);
  line-height: 1.2;
}

.ingredient-aka {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.ingredient-desc {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.ingredient-benefit {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.benefit-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(237,78,0,.10);
  border: 1px solid rgba(237,78,0,.30);
  color: var(--cb-orange-1);
}

/* ============================================================
   FORMULA SUMMARY PANEL
============================================================ */
.formula-panel {
  margin-top: 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(0,188,64,.40);
  background: linear-gradient(135deg, rgba(0,188,64,.07), rgba(0,160,54,.04));
  padding: 28px;
}

.formula-panel-inner { text-align: center; }
.formula-panel-inner h3 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 900;
}

.formula-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.formula-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,188,64,.12);
  border: 1px solid rgba(0,188,64,.35);
  color: #007a29;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,.10);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-links { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: #000; }

/* ============================================================
   CENTERED DISCLAIMER
============================================================ */
.centered-title { text-align: center; margin-bottom: 24px; }
.centered-title h2   { margin: 0 0 8px; }
.centered-title .muted { margin: 0; }

.centered-disclaimer {
  text-align: center;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
}

.disclaimer-text {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
  font-size: 13px;
}

.disclaimer-text strong {
  color: var(--text);
  font-weight: 900;
}

/* ============================================================
   PHOTO SLOT (generic)
============================================================ */
.photo-slot-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px dashed rgba(0,0,0,.22);
  background: #fff;
  display: block;
}

/* ============================================================
   EXIT INTENT POPUP
============================================================ */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
}

.exit-popup-box {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px;
  max-width: 560px;
  width: calc(100% - 32px);
  box-shadow: 0 24px 64px rgba(0,0,0,.28);
  text-align: center;
  animation: popup-in .3s ease;
}

@keyframes popup-in {
  from { transform: translate(-50%, -46%); opacity: 0; }
  to   { transform: translate(-50%, -50%); opacity: 1; }
}

.exit-popup-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  color: var(--muted); line-height: 1;
}
.exit-popup-close:hover { color: #000; }

.exit-popup-eyebrow {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase;
  color: var(--cb-coral);
  margin: 0 0 10px;
  letter-spacing: .5px;
}

.exit-popup-title {
  font-size: 22px; font-weight: 900;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #000;
}

.exit-popup-body {
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 22px;
}

.exit-popup-dismiss {
  display: block;
  margin-top: 14px;
  cursor: pointer;
  text-decoration: underline;
  color: var(--muted);
}
.exit-popup-dismiss:hover { color: #000; }

/* ============================================================
   SCROLL TO TOP
============================================================ */
.scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cb-orange-1), var(--cb-orange-2));
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(237,78,0,.40);
  z-index: 99;
  display: grid;
  place-items: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(237,78,0,.50);
}

/* ============================================================
   FADE-IN ANIMATION (Scroll-triggered via JS)
============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .hero-grid                            { grid-template-columns: 1fr; }
  h1                                    { font-size: 36px; }
  .info-card                            { grid-template-columns: 1fr; }
  .arrow                                { display: none; }
  .quote-grid                           { grid-template-columns: 1fr; }
  .grid-3                               { grid-template-columns: 1fr; }
  .ingredient-card,
  .ingredient-card--reverse             { grid-template-columns: 1fr; }
  .ingredient-card--reverse .ingredient-media,
  .ingredient-card--reverse .ingredient-text { order: unset; }
  .cta-main-title                       { font-size: 20px; }
  .btn-cta-hero                         { font-size: 15px; padding: 16px 20px; }
}

@media (max-width: 620px) {
  .nav          { display: none; }
  .header-cta   { display: none; }
  .grid-2       { grid-template-columns: 1fr; }
  .formula-badges { gap: 8px; }
  .formula-badge  { font-size: 12px; padding: 6px 14px; }
  .exit-popup-box { padding: 28px 20px; }
  .exit-popup-title { font-size: 18px; }
  .ingredient-img { height: 200px; }
}