:root {
  --bg: #070808;
  --bg-soft: #0f1212;
  --surface: rgba(18, 20, 20, 0.9);
  --surface-strong: rgba(28, 31, 31, 0.95);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f7f2;
  --muted: #adb4ad;
  --lime: #cfff2e;
  --lime-strong: #b5ff17;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 26px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 2rem));
}

body.light-theme {
  --bg: #f3f5ef;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(245, 248, 239, 0.96);
  --border: rgba(16, 16, 16, 0.08);
  --text: #101312;
  --muted: #53605b;
  --lime: #8bc000;
  --lime-strong: #79aa00;
  --shadow: 0 30px 80px rgba(79, 87, 72, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(175, 255, 24, 0.12), transparent 28%),
    radial-gradient(circle at left top, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, #090c0c 50%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body.light-theme {
  background:
    radial-gradient(circle at top right, rgba(139, 192, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #f8faf4 0%, #eef2ea 52%, #f3f5ef 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.06);
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(207, 255, 46, 0.35), var(--lime), #ffffff);
  box-shadow: 0 0 20px rgba(207, 255, 46, 0.45);
}

.ambient-3d {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  perspective: 1200px;
}

.ambient-orb,
.ambient-grid {
  position: absolute;
  will-change: transform;
}

.ambient-orb {
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.45;
  mix-blend-mode: screen;
}

.orb-one {
  width: 22rem;
  height: 22rem;
  top: 8%;
  left: -6%;
  background: radial-gradient(circle, rgba(207, 255, 46, 0.4), rgba(207, 255, 46, 0.04) 68%, transparent 72%);
  animation: driftOne 18s ease-in-out infinite;
}

.orb-two {
  width: 18rem;
  height: 18rem;
  right: 4%;
  top: 28%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(207, 255, 46, 0.04) 70%, transparent 76%);
  animation: driftTwo 22s ease-in-out infinite;
}

.orb-three {
  width: 28rem;
  height: 28rem;
  right: -10%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(207, 255, 46, 0.18), transparent 70%);
  animation: driftThree 24s ease-in-out infinite;
}

.ambient-grid {
  inset: -10% -10%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9) 24%, rgba(0, 0, 0, 0.9) 76%, transparent);
  transform: perspective(1400px) rotateX(75deg) translateY(22%);
  opacity: 0.2;
}

.site-shell,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.section {
  padding: 5rem 0;
}

.alt-surface {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.eyebrow {
  display: inline-flex;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.9rem;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.6rem);
}

h2 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p {
  max-width: 60ch;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.align-left {
  text-align: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-strong) 100%);
  color: #111;
}

.button-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.full {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(5, 6, 6, 0.7);
  border-bottom: 1px solid var(--border);
}

body.light-theme .site-header {
  background: rgba(255, 255, 255, 0.72);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(207, 255, 46, 0.18), rgba(207, 255, 46, 0.38));
  border: 1px solid rgba(207, 255, 46, 0.24);
  color: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
}

.brand-copy strong,
.brand-copy span {
  display: block;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.icon-button,
.menu-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-button {
  display: none;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid,
.bundle-grid,
.ingredient-layout,
.product-layout,
.shop-layout,
.checkout-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.bundle-grid,
.ingredient-layout,
.product-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-text,
.lead {
  font-size: 1.05rem;
  max-width: 56ch;
}

.hero-actions,
.bundle-actions,
.cta-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics article,
.trust-card,
.goal-card,
.ingredient-card,
.testimonial-card,
.bundle-card,
.info-card,
.blog-card,
.checkout-summary,
.contact-form,
.filter-panel,
.mini-product-card,
.product-card,
.showcase-card,
.cta-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 1rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.hero-visual {
  position: relative;
  perspective: 1200px;
}

.product-stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.stage-glow {
  position: absolute;
  inset: 12% 12% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 255, 46, 0.26), transparent 68%);
  filter: blur(18px);
}

.showcase-card {
  width: min(420px, 100%);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.showcase-card:hover {
  border-color: rgba(207, 255, 46, 0.22);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
}

.showcase-copy p {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}

.showcase-copy strong {
  font-size: 1.2rem;
}

.floating-stat {
  position: absolute;
  right: 0;
  top: 14%;
  padding: 1rem 1.2rem;
  background: rgba(17, 18, 18, 0.88);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(18px);
  transform: translateZ(70px);
}

.floating-stat.secondary {
  right: auto;
  left: 0;
  bottom: 16%;
  top: auto;
}

.energy-ring,
.floating-capsule {
  position: absolute;
  will-change: transform;
}

.energy-ring {
  border-radius: 50%;
  border: 1px solid rgba(207, 255, 46, 0.18);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 30px rgba(207, 255, 46, 0.08);
}

.ring-one {
  width: 420px;
  height: 420px;
  animation: spinRing 20s linear infinite;
}

.ring-two {
  width: 500px;
  height: 500px;
  border-style: dashed;
  opacity: 0.55;
  animation: spinRingReverse 28s linear infinite;
}

.floating-capsule {
  width: 120px;
  height: 48px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), transparent 45%),
    linear-gradient(90deg, rgba(207, 255, 46, 0.95) 0 50%, rgba(245, 247, 242, 0.84) 50% 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.capsule-one {
  top: 18%;
  left: 6%;
  transform: rotate(-26deg) translateZ(60px);
  animation: capsuleFloat 7s ease-in-out infinite;
}

.capsule-two {
  right: 10%;
  bottom: 14%;
  transform: rotate(18deg) translateZ(90px);
  animation: capsuleFloat 9s ease-in-out infinite reverse;
}

.floating-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.product-can,
.product-visual {
  position: relative;
  border-radius: 28px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 25%),
    linear-gradient(135deg, #2b2f2f 0%, #161818 50%, #0e0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.product-can::before,
.product-visual::before {
  content: "";
  position: absolute;
  inset: 9% 14%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(135deg, rgba(207, 255, 46, 0.95), rgba(84, 97, 0, 0.92));
  box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.08);
}

.product-can::after,
.product-visual::after {
  content: "IRONFUEL";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
  color: rgba(255, 255, 255, 0.86);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.22em;
  font-size: 1rem;
}

.large {
  width: 220px;
  height: 320px;
}

.giant {
  width: min(380px, 100%);
  height: 520px;
}

.small {
  width: 84px;
  height: 100px;
  margin: 0;
  border-radius: 18px;
}

.product-whey::before,
.product-whey.large::before,
.product-whey.giant::before {
  background: linear-gradient(135deg, #d2ff3a, #6b7900);
}

.product-pre::before {
  background: linear-gradient(135deg, #ffffff, #8ca015);
}

.product-creatine::before {
  background: linear-gradient(135deg, #8df5b3, #1c6a36);
}

.product-gainer::before {
  background: linear-gradient(135deg, #ffe5a9, #9c6200);
}

.product-bcaa::before {
  background: linear-gradient(135deg, #8ce2ff, #004d76);
}

.product-vita::before {
  background: linear-gradient(135deg, #f5f5f5, #6d7670);
}

.product-grid,
.goal-grid,
.trust-grid,
.testimonial-grid,
.blog-grid,
.story-grid,
.three-col {
  display: grid;
  gap: 1.4rem;
}

.product-grid,
.trust-grid,
.story-grid,
.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.goal-grid,
.testimonial-grid,
.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card,
.mini-product-card {
  padding: 1.2rem;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card .product-visual {
  width: 100%;
  height: 250px;
  margin-bottom: 1rem;
}

.mini-product-card .product-visual {
  width: 100%;
  height: 210px;
  margin-bottom: 1rem;
}

.product-meta,
.mini-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.product-topline,
.price-row,
.detail-topline,
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.category,
.rating,
.badge {
  font-size: 0.82rem;
  color: var(--muted);
}

.badge,
.discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(207, 255, 46, 0.12);
  color: var(--lime);
  border: 1px solid rgba(207, 255, 46, 0.18);
}

.discount-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}

.option-row,
.clean-list,
.thumb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.option-row {
  justify-content: space-between;
}

.chip-row,
.filter-chip-row,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-row button,
.filter-chip,
.thumb {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.45rem 0.8rem;
}

.chip-row .is-selected,
.filter-chip.is-active {
  background: var(--lime);
  color: #121212;
  border-color: transparent;
}

.price-row strong {
  font-size: 1.4rem;
}

.price-row.xl strong {
  font-size: 2rem;
}

.strike {
  color: var(--muted);
  text-decoration: line-through;
}

.goal-card,
.trust-card,
.ingredient-card,
.testimonial-card,
.bundle-card,
.info-card,
.blog-card {
  padding: 1.5rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.goal-card a {
  color: var(--lime);
  font-weight: 700;
  margin-top: 1rem;
}

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.mini-product-card {
  scroll-snap-align: start;
}

.carousel-controls {
  display: flex;
  gap: 0.8rem;
}

.carousel-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.ingredient-cards,
.faq-list {
  display: grid;
  gap: 1rem;
}

.before-after {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.before-after div {
  flex: 1;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.before-after span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.clean-list {
  padding-left: 1rem;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 700;
  padding: 1.2rem 0;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 1rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.cta-banner {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card:hover,
.mini-product-card:hover,
.goal-card:hover,
.trust-card:hover,
.ingredient-card:hover,
.testimonial-card:hover,
.bundle-card:hover,
.info-card:hover,
.blog-card:hover,
.cta-banner:hover {
  transform: translateY(-6px);
  border-color: rgba(207, 255, 46, 0.22);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
}

.scene-panel {
  position: relative;
}

.scene-panel::before {
  content: "";
  position: absolute;
  inset: 12% 4%;
  border-radius: 40px;
  background: radial-gradient(circle at center, rgba(207, 255, 46, 0.045), transparent 68%);
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}

.page-hero {
  padding: 5rem 0 2rem;
}

.page-hero.compact {
  padding-bottom: 0;
}

.shop-layout {
  grid-template-columns: 320px 1fr;
  align-items: start;
}

.search-box,
.filter-group {
  display: grid;
  gap: 0.75rem;
}

.search-box input,
.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter-form input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.shop-content,
.checkout-list {
  display: grid;
  gap: 1.5rem;
}

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

.product-page {
  padding-top: 3rem;
}

.product-gallery {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.thumb {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.thumb.active {
  border-color: var(--lime);
}

.contact-layout,
.checkout-layout {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.contact-form {
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.checkout-item,
.summary-row.total,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-item {
  padding: 1rem 1.2rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.checkout-summary {
  padding: 1.5rem;
}

.summary-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.summary-row.total {
  border-bottom: 0;
}

.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
}

.footer-grid {
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.social-strip {
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.strip-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 2rem;
  justify-content: start;
  overflow: hidden;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 60;
}

.popup-overlay.is-visible {
  display: flex;
}

.popup-card {
  max-width: 460px;
  width: 100%;
  padding: 2rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1.8rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-scroll-depth] {
  will-change: transform;
}

/* ── Chatbot widget ──────────────────────────────────────────────────────── */
.cb-wrap {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 75;
  font-family: "Plus Jakarta Sans", sans-serif;
}

/* Toggle button */
.cb-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-strong) 100%);
  color: #111;
  border: none;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(207, 255, 46, 0.38);
  transition: transform 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  position: relative;
}

.cb-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 44px rgba(207, 255, 46, 0.55);
}

.cb-toggle.is-away {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

.cb-toggle svg {
  width: 26px;
  height: 26px;
}

.cb-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff4757;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  animation: badgePulse 2s ease infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.18); }
}

/* Panel */
.cb-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 360px;
  max-height: 560px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.cb-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.cb-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  background: rgba(207, 255, 46, 0.06);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(207, 255, 46, 0.25), rgba(207, 255, 46, 0.08));
  border: 1px solid rgba(207, 255, 46, 0.28);
  color: var(--lime);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cb-head-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.cb-head-info span {
  font-size: 0.73rem;
  color: var(--lime);
}

.cb-close {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.2rem;
  transition: color 150ms;
}

.cb-close:hover { color: var(--text); }

/* Messages */
.cb-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  scroll-behavior: smooth;
}

.cb-msgs::-webkit-scrollbar { width: 4px; }
.cb-msgs::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.cb-msg {
  max-width: 84%;
  padding: 0.65rem 1rem;
  border-radius: 18px;
  font-size: 0.875rem;
  line-height: 1.55;
  animation: cbMsgIn 200ms ease both;
}

@keyframes cbMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cb-msg.bot {
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  color: var(--text);
}

.cb-msg.user {
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-strong) 100%);
  color: #111;
  font-weight: 600;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

/* Typing dots */
.cb-typing {
  display: flex !important;
  align-items: center;
  gap: 5px;
  padding: 0.75rem 1rem !important;
}

.cb-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  animation: cbDot 1.3s ease-in-out infinite;
}

.cb-typing span:nth-child(2) { animation-delay: 0.18s; }
.cb-typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes cbDot {
  0%, 80%, 100% { transform: scale(0.65); opacity: 0.4; }
  40%           { transform: scale(1);    opacity: 1; }
}

/* Option chips */
.cb-opts {
  padding: 0.8rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 58px;
}

.cb-opt {
  background: transparent;
  border: 1px solid rgba(207, 255, 46, 0.32);
  color: var(--lime);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, transform 120ms ease;
  font-family: inherit;
}

.cb-opt:hover {
  background: rgba(207, 255, 46, 0.1);
  transform: translateY(-1px);
}

/* Recommendation card */
.cb-rec {
  background: rgba(207, 255, 46, 0.05);
  border: 1px solid rgba(207, 255, 46, 0.2);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  animation: cbMsgIn 300ms ease both;
}

.cb-rec-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
}

.cb-rec-top h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
  margin: 0.3rem 0 0.35rem;
  color: var(--text);
  line-height: 1;
}

.cb-rec-top p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
}

.cb-rec-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cb-rec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cb-rec-item > div strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
}

.cb-rec-item > div span {
  font-size: 0.72rem;
  color: var(--muted);
}

.cb-rec-item > b {
  font-size: 0.88rem;
  color: var(--lime);
  white-space: nowrap;
}

.cb-cta {
  display: block;
  background: linear-gradient(135deg, var(--lime) 0%, var(--lime-strong) 100%);
  color: #111;
  font-weight: 800;
  text-align: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.cb-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(207, 255, 46, 0.35);
}

.cb-restart {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.77rem;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.cb-restart:hover { color: var(--text); }

@media (max-width: 500px) {
  .cb-panel { width: calc(100vw - 2.4rem); right: -0.4rem; }
  .cb-wrap  { bottom: 1rem; right: 1rem; }
}

/* ── BlurText animation ──────────────────────────────────────────────────── */
@keyframes blurInTop {
  0%   { filter: blur(10px); opacity: 0;   transform: translateY(-50px); }
  60%  { filter: blur(5px);  opacity: 0.5; transform: translateY(5px);  }
  100% { filter: blur(0px);  opacity: 1;   transform: translateY(0);    }
}

@keyframes blurInBottom {
  0%   { filter: blur(10px); opacity: 0;   transform: translateY(50px);  }
  60%  { filter: blur(5px);  opacity: 0.5; transform: translateY(-5px); }
  100% { filter: blur(0px);  opacity: 1;   transform: translateY(0);    }
}

.blur-text {
  display: flex;
  flex-wrap: wrap;
}

.blur-text-word {
  display: inline-block;
  will-change: transform, filter, opacity;
  filter: blur(10px);
  opacity: 0;
  transform: translateY(-50px);
}

.blur-text-word.from-bottom {
  transform: translateY(50px);
}

.blur-text-animate .blur-text-word {
  animation: blurInTop 0.7s ease forwards;
  animation-delay: var(--blur-delay, 0ms);
}

.blur-text-animate .blur-text-word.from-bottom {
  animation-name: blurInBottom;
}

/* ── Full-page 3D background ─────────────────────────────────────────────── */
.fullpage-3d-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateY(10vh);
}

.fullpage-3d-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  opacity: 0.55;
}

/* ── Centered hero (no right column) ─────────────────────────────────────── */
.hero-copy--centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy--centered .hero-text {
  margin: 0 auto;
}

.hero-copy--centered .hero-actions {
  justify-content: center;
}

.hero-copy--centered .hero-metrics {
  max-width: 480px;
  margin: 2rem auto 0;
}

@keyframes driftOne {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5vw, 3vh, 0) scale(1.08); }
}

@keyframes driftTwo {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-4vw, -3vh, 0) scale(0.94); }
}

@keyframes driftThree {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3vw, -4vh, 0) scale(1.05); }
}

@keyframes spinRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinRingReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes capsuleFloat {
  0%, 100% { transform: translate3d(0, 0, 60px) rotate(-20deg); }
  50% { transform: translate3d(0, -16px, 120px) rotate(-12deg); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .bundle-grid,
  .ingredient-layout,
  .product-layout,
  .shop-layout,
  .checkout-layout,
  .contact-layout,
  .faq-grid,
  .goal-grid,
  .testimonial-grid,
  .blog-grid,
  .product-grid,
  .shop-grid,
  .trust-grid,
  .story-grid,
  .three-col {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .cta-banner,
  .footer-grid {
    flex-direction: column;
    align-items: start;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .ambient-grid,
  .energy-ring {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    left: 1rem;
    right: 1rem;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1rem;
    flex-direction: column;
    align-items: start;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .menu-button {
    display: grid;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand-copy span {
    display: none;
  }

  .hide-mobile {
    display: none;
  }

  .button,
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .floating-stat,
  .floating-capsule {
    display: none;
  }
}
