:root {
  --bg: #07060b;
  --bg-2: #0e0b16;
  --card: #141020;
  --card-2: #1b1529;
  --line: rgba(167, 139, 250, .16);
  --text: #f4f1ff;
  --muted: #a49cbc;
  --purple: #7c3aed;
  --purple-2: #8b5cf6;
  --neon: #a78bfa;
  --volt: #c4ff3d;
  --danger: #ff5577;
  --ok: #38e3a1;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Kanit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
em { font-style: normal; color: var(--neon); }
.muted { color: var(--muted); }

#sparks { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
main, footer, .nav { position: relative; z-index: 1; }
main, footer { overflow-x: clip; }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 17px; letter-spacing: .3px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary {
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-2) 50%, #b794ff 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 40px -10px rgba(139, 92, 246, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  animation: shine 3.2s infinite;
}
.btn-primary:hover { transform: translateY(-2px) scale(1.02); background-position: 100% 0; box-shadow: 0 16px 50px -10px rgba(139, 92, 246, 1); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-ghost { border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--neon); background: rgba(167, 139, 250, .08); }
.btn-block { width: 100%; }
@keyframes shine { 0%, 60% { transform: translateX(-120%) skewX(-20deg); } 100% { transform: translateX(220%) skewX(-20deg); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 24px)); display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(14, 11, 22, .55); border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  transition: background .3s, top .3s;
}
.nav.scrolled { background: rgba(14, 11, 22, .88); top: 8px; }
.logo { display: flex; align-items: center; gap: 8px; }
.logo-mark { height: 38px; width: auto; filter: drop-shadow(0 0 10px rgba(139, 92, 246, .45)); transition: transform .3s var(--ease); }
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.08); }
.logo-word { height: 17px; width: auto; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(167, 139, 250, .1); }
.cart-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--purple); box-shadow: 0 0 24px -4px var(--purple-2); transition: transform .2s;
}
.cart-btn:hover { transform: scale(1.08); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 99px;
  background: var(--volt); color: #000; font-size: 12px; font-weight: 800; display: grid; place-items: center;
}
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.3) rotate(-10deg); } 60% { transform: scale(.92) rotate(6deg); } }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px;
  padding: 120px max(24px, calc((100% - 1180px) / 2)) 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 75% 45%, rgba(124, 58, 237, .45), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(124, 58, 237, .18), transparent 70%);
}
.hero-bg-word {
  position: absolute; right: -4vw; bottom: -6vw; font-size: 34vw; font-weight: 900; font-style: italic; line-height: .8;
  color: transparent; -webkit-text-stroke: 1.5px rgba(167, 139, 250, .1); pointer-events: none; user-select: none;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--neon); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 12px var(--volt); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero-title { font-size: clamp(56px, 9vw, 128px); line-height: .95; font-weight: 900; font-style: italic; margin: 18px 0 22px; letter-spacing: -1px; }
.hero-title .line { display: block; }
.glitch {
  position: relative; color: transparent; width: fit-content;
  background: linear-gradient(100deg, #fff 10%, var(--neon) 50%, var(--purple-2) 90%); -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, .55));
}
.glitch::before, .glitch::after {
  content: attr(data-text); position: absolute; inset: 0; background: inherit; -webkit-background-clip: text; background-clip: text;
}
.glitch::before { animation: glitch 3s infinite steps(1); color: transparent; text-shadow: -3px 0 var(--volt); opacity: .6; }
.glitch::after { animation: glitch 2.4s infinite reverse steps(1); text-shadow: 3px 0 #ff2fd1; opacity: .5; }
@keyframes glitch {
  0%, 86%, 100% { clip-path: inset(0 0 100% 0); transform: none; }
  88% { clip-path: inset(10% 0 60% 0); transform: translate(-4px, 0); }
  91% { clip-path: inset(55% 0 20% 0); transform: translate(4px, 0); }
  94% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 0); }
}
.hero-sub { font-size: 18px; color: var(--muted); max-width: 540px; font-weight: 300; }
.hero-sub b { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-facts { list-style: none; display: flex; gap: 32px; flex-wrap: wrap; }
.hero-facts li { display: flex; align-items: center; gap: 12px; }
.hero-facts b { font-size: 44px; font-weight: 900; font-style: italic; color: var(--volt); line-height: 1; min-width: 1ch; }
.hero-facts span { font-size: 13px; color: var(--muted); line-height: 1.35; }

.hero-stage { position: relative; height: min(80vh, 720px); display: grid; place-items: center; perspective: 1000px; }
.hero-product {
  position: absolute; z-index: 3; top: 6%; left: 0; right: 0; margin: 0 auto; height: 88%; width: auto; max-width: 90%; object-fit: contain;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)) drop-shadow(0 0 60px rgba(139, 92, 246, .35));
  transform-style: preserve-3d; transition: transform .2s ease-out; animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 50% { translate: 0 -18px; } }
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(167, 139, 250, .25); }
.r1 { width: 62%; aspect-ratio: 1; animation: spin 18s linear infinite; border-top-color: var(--neon); }
.r2 { width: 82%; aspect-ratio: 1; animation: spin 26s linear infinite reverse; border-left-color: var(--purple-2); border-style: dashed; }
.r3 { width: 46%; aspect-ratio: 1; background: radial-gradient(circle, rgba(139, 92, 246, .55), transparent 70%); border: 0; filter: blur(30px); animation: breathe 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 50% { transform: scale(1.25); opacity: .7; } }
.bolt { position: absolute; width: 70px; fill: var(--volt); filter: drop-shadow(0 0 14px var(--volt)); opacity: 0; z-index: 2; }
.b1 { left: 8%; top: 18%; animation: zap 4s infinite; }
.b2 { right: 6%; bottom: 20%; width: 50px; animation: zap 4s 1.6s infinite; transform: rotate(18deg); }
@keyframes zap { 0%, 80%, 100% { opacity: 0; } 82%, 86% { opacity: 1; } 84% { opacity: .2; } }
.float-tag {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(20, 16, 32, .75); border: 1px solid var(--line); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500;
  animation: floaty 5s ease-in-out infinite;
}
.float-tag i { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 99px; background: var(--purple); font-style: normal; font-weight: 800; font-size: 13px; }
.t1 { left: 2%; top: 30%; animation-delay: -1s; }
.t2 { right: 0; top: 16%; animation-delay: -2s; }
.t3 { right: 4%; bottom: 30%; animation-delay: -3s; }
.t4 { left: 6%; bottom: 14%; animation-delay: -4s; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; translate: -50% 0; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--neon); translate: -50% 0; animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { background: var(--purple); transform: rotate(-2deg); margin: 20px -20px; padding: 14px 0; overflow: hidden; box-shadow: 0 0 60px -10px var(--purple-2); position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 22s linear infinite; font-weight: 900; font-style: italic; font-size: 26px; letter-spacing: 1px; }
.marquee b { color: var(--volt); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 120px max(24px, calc((100% - 1180px) / 2)); position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head h2, .tl-head h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.1; font-weight: 800; margin-top: 12px; }
.lead { color: var(--muted); font-size: 18px; margin-top: 14px; font-weight: 300; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- inside / body map ---------- */
.inside-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.body-map {
  position: relative; border-radius: var(--radius); background: radial-gradient(circle at 50% 40%, rgba(124, 58, 237, .25), transparent 65%), var(--bg-2);
  border: 1px solid var(--line); padding: 24px; aspect-ratio: 3 / 4; display: grid; place-items: center; overflow: hidden;
}
.body-map::before {
  content: ''; position: absolute; inset: 0; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px; mask-image: radial-gradient(circle, #000 30%, transparent 75%);
}
.athlete { position: relative; height: 100%; width: auto; max-width: 100%; }
.body-shape { filter: url(#glow); }
.zone circle { fill: var(--purple-2); opacity: .18; transition: opacity .4s, fill .4s; }
.zone .pulse { fill: none; stroke: var(--neon); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.zone.on circle { fill: var(--volt); opacity: .9; }
.zone.on .pulse { stroke: var(--volt); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
.body-caption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 14px; text-align: center;
  background: rgba(7, 6, 11, .7); border: 1px solid var(--line); backdrop-filter: blur(8px); font-size: 15px; min-height: 48px;
}

.ingredients { display: grid; gap: 12px; overflow-anchor: none; }
.ing {
  text-align: left; display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px;
  border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.ing::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(124, 58, 237, .35), transparent 60%); opacity: 0; transition: opacity .35s; }
.ing:hover { border-color: rgba(167, 139, 250, .45); transform: translateX(4px); }
.ing.on { border-color: var(--neon); box-shadow: 0 0 40px -12px var(--purple-2); }
.ing.on::before { opacity: 1; }
.ing > * { position: relative; }
.ing-sym {
  width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-weight: 900; font-size: 20px;
  background: linear-gradient(140deg, var(--purple), #3b1a7a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
}
.ing.on .ing-sym { background: var(--volt); color: #000; }
.ing h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.ing h3 small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.ing-detail { grid-column: 1 / -1; max-height: 0; overflow: hidden; color: #d9d3ee; font-size: 15px; font-weight: 300; transition: max-height .5s var(--ease); }
.ing.on .ing-detail { max-height: 240px; }
.ing-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ing-tags span { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(196, 255, 61, .12); color: var(--volt); font-weight: 500; }
.ing-arrow { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .35s; font-size: 14px; }
.ing.on .ing-arrow { transform: rotate(90deg); background: var(--neon); color: #000; }

/* ---------- how-to ---------- */
.howto { padding-top: 20px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { padding: 32px 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--card-2), var(--card)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.step-n { position: absolute; right: 18px; top: 6px; font-size: 80px; font-weight: 900; font-style: italic; color: rgba(167, 139, 250, .08); line-height: 1; }
.step-ico { width: 64px; height: 64px; margin-bottom: 18px; }
.step-ico svg { width: 100%; height: 100%; fill: none; stroke: var(--neon); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.step:nth-child(3) .step-ico svg { fill: var(--volt); stroke: none; filter: drop-shadow(0 0 10px var(--volt)); }
.step-ico .cut { stroke: var(--volt); stroke-dasharray: 4 4; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -8; } }
.step h3 { font-size: 32px; font-weight: 900; font-style: italic; }
.step p { color: var(--muted); font-weight: 300; }

/* ---------- timeline ---------- */
.timeline { height: 420vh; position: relative; }
.timeline-sticky {
  position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: 90px max(24px, calc((100% - 1180px) / 2)) 40px; overflow: hidden;
}
.timeline-sticky::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 25% 55%, rgba(124, 58, 237, .28), transparent 70%); }
.tl-head { text-align: left; }
.tl-body { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.tl-clock { position: relative; width: 300px; aspect-ratio: 1; margin: 0 auto; }
.tl-clock svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tl-clock .track { fill: none; stroke: rgba(167, 139, 250, .12); stroke-width: 14; }
.tl-clock .fill { fill: none; stroke: url(#none); stroke: var(--neon); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 603; stroke-dashoffset: 603; transition: stroke-dashoffset .15s linear; }
.tl-clock-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tl-clock-txt b { font-size: 84px; font-weight: 900; font-style: italic; line-height: 1; }
.tl-clock-txt span { color: var(--muted); }
.tl-battery { position: absolute; left: 50%; bottom: -34px; translate: -50% 0; width: 120px; height: 18px; border: 2px solid var(--line); border-radius: 6px; padding: 2px; }
.tl-battery::after { content: ''; position: absolute; right: -7px; top: 4px; width: 4px; height: 6px; background: var(--line); border-radius: 2px; }
.tl-battery i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--purple-2), var(--volt)); box-shadow: 0 0 12px var(--volt); transition: width .15s linear; }
.tl-stages { position: relative; height: 300px; }
.tl-stage { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.tl-stage.on { opacity: 1; transform: none; }
.tl-stage.past { opacity: 0; transform: translateY(-40px); transition-duration: .25s; }
.tl-time { display: inline-block; width: fit-content; padding: 4px 14px; border-radius: 99px; background: var(--volt); color: #000; font-weight: 800; font-size: 14px; }
.tl-stage h3 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 900; font-style: italic; line-height: 1.1; margin: 14px 0 12px; }
.tl-stage p { font-size: 19px; color: #d9d3ee; font-weight: 300; max-width: 560px; }
.tl-progress { height: 3px; background: rgba(167, 139, 250, .12); border-radius: 3px; overflow: hidden; }
.tl-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple-2), var(--volt)); }

/* ---------- planner ---------- */
.planner-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.planner-inputs { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.planner-out { padding: 36px; background: linear-gradient(160deg, #24124b, #120c22); display: flex; flex-direction: column; gap: 16px; }
.lbl { font-size: 15px; color: var(--muted); display: flex; justify-content: space-between; margin-top: 8px; }
.lbl b { color: var(--text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg-2); font-size: 15px; transition: all .2s; }
.chip:hover { border-color: var(--neon); }
.chip.on { background: var(--purple); border-color: var(--purple-2); box-shadow: 0 0 20px -6px var(--purple-2); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bg-2); border-radius: 14px; padding: 4px; border: 1px solid var(--line); }
.seg button { padding: 10px; border-radius: 10px; font-size: 15px; color: var(--muted); transition: all .2s; }
.seg button.on { background: var(--purple); color: #fff; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--purple-2) var(--p, 50%), rgba(167, 139, 250, .15) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 5px rgba(196, 255, 61, .2); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--volt); cursor: grab; }
.gauge { position: relative; width: 220px; margin: 0 auto; }
.gauge svg { width: 100%; }
.g-track, .g-fill { fill: none; stroke-width: 16; stroke-linecap: round; }
.g-track { stroke: rgba(255, 255, 255, .08); }
.g-fill { stroke: var(--volt); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset .6s var(--ease); filter: drop-shadow(0 0 8px var(--volt)); }
.gauge-txt { position: absolute; inset: auto 0 0 0; text-align: center; }
.gauge-txt b { display: block; font-size: 56px; font-weight: 900; font-style: italic; line-height: 1; }
.gauge-txt span { color: var(--muted); font-size: 14px; }
.plan-timeline { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.plan-timeline li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: 15px; animation: popIn .4s var(--ease) both; }
.plan-timeline li b { color: var(--volt); min-width: 72px; font-weight: 700; }
@keyframes popIn { from { opacity: 0; transform: translateX(-12px); } }
.plan-month { text-align: center; color: var(--muted); }
.plan-month b { color: var(--text); font-size: 22px; }
.fine { font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- why ---------- */
.compare { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: var(--card); max-width: 900px; margin: 0 auto; }
.cmp-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: 0; }
.cmp-row > span { padding: 16px 18px; text-align: center; font-size: 15px; }
.cmp-row > span:first-child { text-align: left; color: #d9d3ee; }
.cmp-head span { font-weight: 700; color: var(--muted); font-size: 14px; }
.cmp-row .us { background: rgba(124, 58, 237, .18); align-self: stretch; display: grid; place-items: center; }
.cmp-head .us { color: #fff; background: var(--purple); font-style: italic; font-weight: 900; }
.yes::before { content: '✓'; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(56, 227, 161, .15); color: var(--ok); font-weight: 900; }
.us.yes::before { background: var(--volt); color: #000; }
.no::before { content: '—'; color: #5a5270; }
.mid::before { content: '±'; color: var(--muted); }
.sports { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.sports span { padding: 10px 18px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); font-size: 15px; }

/* ---------- shop ---------- */
.shop::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 60%, rgba(124, 58, 237, .25), transparent 70%); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.product {
  position: relative; border-radius: 28px; padding: 26px; background: linear-gradient(170deg, var(--card-2), var(--card) 60%);
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.product:hover { transform: translateY(-8px); border-color: rgba(167, 139, 250, .5); box-shadow: 0 30px 60px -30px rgba(139, 92, 246, .8); }
.product.featured { border-color: var(--neon); box-shadow: 0 0 0 1px var(--neon), 0 30px 80px -30px var(--purple-2); }
.product.skeleton { min-height: 520px; background: linear-gradient(100deg, var(--card) 30%, var(--card-2) 50%, var(--card) 70%); background-size: 300% 100%; animation: sk 1.4s infinite; }
@keyframes sk { to { background-position: -150% 0; } }
.badge { position: absolute; top: 18px; left: 18px; padding: 5px 14px; border-radius: 99px; background: var(--volt); color: #000; font-weight: 800; font-size: 13px; z-index: 2; }
.product-img { height: 260px; display: grid; place-items: center; position: relative; }
.product-img::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .45), transparent 70%); filter: blur(10px); }
.product-img img { position: relative; max-height: 240px; width: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); transition: transform .5s var(--ease); }
.product:hover .product-img img { transform: scale(1.06) rotate(-3deg); }
.product-img .stack { position: relative; display: flex; }
.product-img .stack img { height: 200px; }
.product-img .stack img + img { margin-left: -110px; }
.product-img .stack img:nth-child(1) { transform: rotate(-10deg) translateY(10px); opacity: .85; }
.product-img .stack img:nth-child(3) { transform: rotate(10deg) translateY(10px); opacity: .85; }
.product-img .stack img:nth-child(2) { z-index: 2; }
.product h3 { font-size: 21px; font-weight: 700; line-height: 1.3; }
.product .sub { color: var(--muted); font-size: 14px; }
.per { font-size: 13px; color: var(--volt); }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price b { font-size: 40px; font-weight: 900; font-style: italic; }
.price s { color: var(--muted); }
.price .save { margin-left: auto; font-size: 13px; color: var(--ok); font-weight: 600; }
.stock { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock.low { color: #ffb347; }
.stock.low::before { background: #ffb347; box-shadow: 0 0 8px #ffb347; animation: blink 1s infinite; }
.stock.out { color: var(--danger); }
.stock.out::before { background: var(--danger); box-shadow: none; }
.buy-row { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
.qty button { width: 40px; height: 48px; font-size: 20px; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.buy-row .btn { flex: 1; padding: 12px 18px; }

/* ---------- faq ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s; }
details[open] { border-color: rgba(167, 139, 250, .5); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font-size: 18px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 26px; color: var(--neon); transition: transform .3s; line-height: 1; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 22px; color: var(--muted); font-weight: 300; }

/* ---------- footer ---------- */
.footer { padding: 40px max(24px, calc((100% - 1180px) / 2)) 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-size: clamp(48px, 12vw, 180px); font-weight: 900; font-style: italic; line-height: 1; text-align: center; color: transparent; -webkit-text-stroke: 1.5px rgba(167, 139, 250, .35); white-space: nowrap; margin-bottom: 30px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-row a { color: var(--neon); }

/* ---------- drawer / checkout ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); z-index: 100; background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease);
}
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 22px; font-weight: 800; font-style: italic; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; background: var(--card); }
.drawer-body { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 18px 22px; }
.drawer { height: 100dvh; }
.checkout { grid-auto-rows: max-content; }
.ship-bar { padding: 14px; border-radius: 14px; background: var(--card); margin-bottom: 14px; font-size: 14px; }
.ship-bar div { height: 6px; border-radius: 6px; background: rgba(167, 139, 250, .15); margin-top: 8px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple-2), var(--volt)); transition: width .5s var(--ease); }
.cart-items { list-style: none; display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--card); }
.cart-item img { width: 70px; height: 70px; object-fit: contain; }
.cart-item h4 { font-size: 15px; font-weight: 500; line-height: 1.3; }
.cart-item .ci-price { color: var(--neon); font-weight: 700; }
.cart-item .qty button { width: 32px; height: 34px; font-size: 16px; }
.cart-item .rm { font-size: 12px; color: var(--muted); text-decoration: underline; margin-top: 6px; display: block; text-align: right; }
.cart-empty { text-align: center; padding: 40px 0; color: var(--muted); display: grid; justify-items: center; gap: 16px; }
.cart-empty img { width: 90px; opacity: .6; transform: rotate(-12deg); }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--bg); }
.sum { display: flex; justify-content: space-between; color: var(--muted); }
.sum.total { color: var(--text); font-size: 20px; padding-top: 6px; }
.sum.total b { font-size: 26px; font-style: italic; font-weight: 900; }
.pay-note { text-align: center; font-size: 13px; color: var(--muted); }
.pp { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #1a3a68; color: #fff; font-weight: 700; font-size: 12px; margin-right: 4px; }
.checkout { display: grid; gap: 14px; align-content: start; }
.checkout label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.checkout input, .checkout textarea, .field {
  font: inherit; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.checkout input:focus, .checkout textarea:focus, .field:focus { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(167, 139, 250, .2); }
.checkout .invalid { border-color: var(--danger); }
.back-link { text-align: left; color: var(--neon); font-size: 14px; width: fit-content; }
.form-error { color: var(--danger); font-size: 14px; min-height: 20px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 200; padding: 14px 22px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--neon); box-shadow: 0 10px 40px -10px var(--purple-2); transition: transform .4s var(--ease), visibility .4s; font-weight: 500; max-width: calc(100% - 32px);
  visibility: hidden;
}
.toast.on { transform: translate(-50%, 0); visibility: visible; }

.fly { position: fixed; z-index: 300; width: 70px; pointer-events: none; transition: transform .8s cubic-bezier(.5, -0.4, .7, 1), opacity .8s; filter: drop-shadow(0 0 20px var(--purple-2)); }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .logo { margin-right: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
  .hero-copy { order: 2; }
  .hero-stage { order: 1; height: 56vh; }
  .hero-sub, .hero-title .glitch { margin: 0 auto; }
  .hero-cta, .hero-facts { justify-content: center; }
  .inside-grid, .planner-card, .tl-body { grid-template-columns: 1fr; }
  .body-map { max-height: 480px; aspect-ratio: auto; height: 440px; }
  .steps, .products { grid-template-columns: 1fr; }
  .products { max-width: 460px; margin: 0 auto; }
  .tl-body { gap: 40px; }
  .tl-clock { width: 170px; }
  .tl-clock-txt b { font-size: 50px; }
  .tl-stages { height: 270px; text-align: center; }
  .tl-stage h3 { margin: 10px 0 8px; }
  .tl-stage { align-items: center; }
  .tl-head { text-align: center; }
  .timeline-sticky { gap: 24px; justify-content: flex-start; padding-top: 90px; }
}
@media (max-width: 560px) {
  .section { padding: 80px 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .float-tag { font-size: 12px; padding-right: 10px; }
  .float-tag i { min-width: 28px; height: 28px; }
  .hero-facts { gap: 18px; }
  .hero-facts b { font-size: 34px; }
  .cmp-row { grid-template-columns: 1.3fr .8fr .8fr .8fr; }
  .cmp-row > span { padding: 12px 6px; font-size: 13px; }
  .planner-inputs, .planner-out { padding: 24px 18px; }
  .marquee-track { font-size: 20px; }
  .timeline-sticky { padding-left: 16px; padding-right: 16px; }
  .tl-stage p { font-size: 16px; }
}
/* ================= v2 additions ================= */
:root { --line-green: #06c755; }

.sound-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--neon); transition: all .2s; }
.sound-btn:hover { border-color: var(--neon); background: rgba(167, 139, 250, .1); }
.sound-btn svg { width: 20px; height: 20px; }
.sound-btn .x { display: none; }
.partner-btn { height: 42px; padding: 0 14px 0 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid rgba(196, 255, 61, .45); color: var(--volt); font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .2s; }
.partner-btn:hover { background: rgba(196, 255, 61, .1); border-color: var(--volt); }
.partner-btn svg { width: 20px; height: 20px; flex: none; }
.sound-btn.off { color: var(--muted); }
.sound-btn.off .w1, .sound-btn.off .w2 { display: none; }
.sound-btn.off .x { display: block; }
.sound-btn:not(.off) .w2 { animation: blink 1.6s infinite; }

.hero-title .line:first-child { font-size: .62em; letter-spacing: 1px; }
.hero-punch { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; margin-bottom: 10px; }
.hero-punch b { color: var(--volt); font-weight: 800; }
.float-tag i { font-size: 16px; }

/* powers */
.power-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.power {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(170deg, var(--card-2), var(--card)); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s;
}
.power::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--glow, rgba(139, 92, 246, .45)), transparent 70%); transition: transform .5s; }
.power:hover { transform: translateY(-8px); border-color: rgba(167, 139, 250, .5); box-shadow: 0 30px 60px -30px var(--glow, var(--purple-2)); }
.power:hover::before { transform: scale(1.4); }
.p-cramp { --glow: rgba(196, 255, 61, .4); border-color: rgba(196, 255, 61, .35); }
.p-cramp h3 em { color: var(--volt); }
.power > * { position: relative; }
.power-top { display: flex; justify-content: space-between; align-items: center; }
.power-ico { font-size: 34px; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; background: rgba(124, 58, 237, .25); }
.power-tag { font-size: 12px; letter-spacing: 2px; font-weight: 800; color: var(--neon); }
.p-cramp .power-tag { color: var(--volt); }
.power h3 { font-size: 26px; line-height: 1.15; font-weight: 900; font-style: italic; }
.power p { color: #d0c9e6; font-size: 15px; font-weight: 300; flex: 1; }
.power p b { color: var(--text); font-weight: 500; }
.power-meter { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.power-meter i { display: block; height: 6px; border-radius: 6px; background: rgba(167, 139, 250, .15); position: relative; overflow: hidden; }
.power-meter i::after { content: ''; position: absolute; inset: 0; width: calc(var(--v) * 100%); background: linear-gradient(90deg, var(--purple-2), var(--volt)); border-radius: 6px; transform: scaleX(0); transform-origin: left; transition: transform 1.4s .3s var(--ease); }
.power.in .power-meter i::after { transform: scaleX(1); }

/* cramp / curve */
.cramp { position: relative; padding: 120px max(24px, calc((100% - 1180px) / 2)); overflow: hidden; }
.cramp-bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; filter: grayscale(1) contrast(1.1); opacity: .35; }
.cramp-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, rgba(7, 6, 11, .75) 50%, rgba(36, 18, 75, .7)), linear-gradient(0deg, var(--bg), transparent 30%, transparent 70%, var(--bg)); mix-blend-mode: normal; }
.cramp-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.cramp h2 { font-size: clamp(34px, 5vw, 58px); line-height: 1.1; font-weight: 900; margin: 12px 0; }
.cramp h2 em { color: var(--danger); text-shadow: 0 0 30px rgba(255, 85, 119, .5); }
.curve-toggle { display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 26px; padding: 5px; border-radius: 999px; background: rgba(20, 16, 32, .8); border: 1px solid var(--line); }
.curve-toggle button { padding: 12px 20px; border-radius: 999px; color: var(--muted); font-weight: 600; transition: all .3s; }
.curve-toggle button.on { background: var(--purple); color: #fff; box-shadow: 0 0 24px -6px var(--purple-2); }
.curve-toggle button[data-mode=without].on { background: var(--danger); box-shadow: 0 0 24px -6px var(--danger); }
.curve-card { border-radius: 26px; padding: 22px; background: rgba(14, 11, 22, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.curve { width: 100%; height: auto; overflow: visible; }
.grid-lines line { stroke: rgba(167, 139, 250, .1); }
.axis-txt text { fill: var(--muted); font-size: 12px; font-family: Kanit, sans-serif; }
#curveLine { fill: none; stroke: var(--volt); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(196, 255, 61, .7)); }
#curveArea { fill: url(#curveFill); }
.curve.bad #curveLine { stroke: var(--danger); filter: drop-shadow(0 0 8px rgba(255, 85, 119, .7)); }
.curve.bad #curveArea { fill: url(#curveFillBad); }
.mark circle { fill: var(--bg); stroke-width: 3; }
.mark.good circle { stroke: var(--volt); }
.mark.bad circle { stroke: var(--danger); animation: markPulse 1s infinite; transform-box: fill-box; transform-origin: center; }
.mark text { font-size: 13px; font-weight: 700; font-family: Kanit, sans-serif; }
.mark.good text { fill: var(--volt); }
.mark.bad text { fill: var(--danger); }
@keyframes markPulse { 50% { transform: scale(1.35); } }
.curve-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0; }
.curve-stats div { text-align: center; padding: 12px 6px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.curve-stats b { display: block; font-size: 28px; font-weight: 900; font-style: italic; color: var(--volt); transition: color .3s; }
.curve-stats b.bad { color: var(--danger); }
.curve-stats span { font-size: 13px; color: var(--muted); }

/* energy 150 kcal */
.energy-card { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; padding: 34px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.energy-left { display: grid; gap: 14px; }
.kcal-orb { position: relative; width: 230px; aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 35% 30%, #8b5cf6, #3b1a7a 60%, #1b0f38); box-shadow: 0 0 80px -10px var(--purple-2), inset 0 0 40px rgba(0, 0, 0, .4); }
.kcal-orb b { font-size: 76px; font-weight: 900; font-style: italic; line-height: 1; }
.kcal-orb span { font-weight: 700; letter-spacing: 3px; color: var(--volt); }
.kcal-orb i { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(196, 255, 61, .45); animation: orbPulse 2.4s infinite; }
@keyframes orbPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3); } }
.kcal-orb i + i { animation-delay: 1.2s; }
.energy-bars { list-style: none; display: grid; gap: 12px; }
.energy-bars li { display: grid; grid-template-columns: 150px 1fr 56px 34px; align-items: center; gap: 12px; }
.eb-name { font-weight: 500; }
.eb-bar { height: 14px; border-radius: 10px; background: rgba(167, 139, 250, .12); overflow: hidden; }
.eb-bar i { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--purple), var(--neon), var(--volt)); transition: width 1.1s var(--ease); }
.energy-bars li:nth-child(2) i { transition-delay: .08s; } .energy-bars li:nth-child(3) i { transition-delay: .16s; }
.energy-bars li:nth-child(4) i { transition-delay: .24s; } .energy-bars li:nth-child(5) i { transition-delay: .32s; } .energy-bars li:nth-child(6) i { transition-delay: .4s; }
.eb-min { font-size: 26px; font-weight: 900; font-style: italic; text-align: right; color: var(--volt); }
.energy-bars small { color: var(--muted); }

/* sports */
.sport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sport-card { position: relative; height: 460px; border-radius: 24px; overflow: hidden; text-align: left; border: 1px solid var(--line); background: var(--card-2); isolation: isolate; }
.sport-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform .8s var(--ease), filter .5s; }
.sport-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 11, .1) 20%, rgba(36, 14, 84, .55) 55%, rgba(7, 6, 11, .96)); mix-blend-mode: normal; transition: opacity .4s; }
.sport-shade::after { content: ''; position: absolute; inset: 0; background: var(--purple); mix-blend-mode: color; opacity: .35; transition: opacity .4s; }
.sport-card:hover img { transform: scale(1.08); filter: saturate(1.1) contrast(1.1); }
.sport-card:hover .sport-shade::after { opacity: .1; }
.sport-card:hover { border-color: var(--neon); }
.sport-top { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; }
.sport-emoji { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: rgba(7, 6, 11, .6); backdrop-filter: blur(6px); }
.sport-kcal { padding: 6px 12px; border-radius: 99px; background: var(--volt); color: #000; font-size: 13px; font-weight: 600; }
.sport-body { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 8px; }
.sport-body b { font-size: 30px; font-weight: 900; font-style: italic; line-height: 1; }
.sport-body span { font-size: 14px; color: #d9d3ee; font-weight: 300; line-height: 1.5; }
.sport-body em { color: var(--volt); font-size: 14px; font-weight: 600; transform: translateX(-6px); opacity: .7; transition: all .3s; }
.sport-card:hover .sport-body em { transform: none; opacity: 1; }

/* planner extras */
.sport-fields { display: grid; gap: 14px; padding: 16px; border-radius: 18px; background: rgba(124, 58, 237, .08); border: 1px solid var(--line); animation: popIn .35s var(--ease); }
.pf { display: grid; gap: 8px; }
.pf .lbl { margin-top: 0; }
.seg.seg-2 { grid-template-columns: repeat(2, 1fr); }
.seg.seg-3 { grid-template-columns: repeat(3, 1fr); }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); background: var(--bg-2); transition: all .2s; }
.presets button:hover { border-color: var(--neon); color: var(--text); }
.presets button.on { background: var(--volt); color: #000; border-color: var(--volt); font-weight: 700; }
.plan-summary { text-align: center; font-size: 14px; color: var(--muted); }
.plan-summary b { color: var(--text); }
.burn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.burn-row div { padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .05); text-align: center; }
.burn-row b { display: block; font-size: 22px; font-weight: 800; color: var(--volt); }
.burn-row div:first-child b { color: #ff9a6b; }
.burn-row span { font-size: 12px; color: var(--muted); }
.plan-tip { font-size: 14px; color: #d9d3ee; padding: 12px 14px; border-radius: 12px; border: 1px dashed rgba(196, 255, 61, .3); }

/* shop extras */
.products { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.p-feats { list-style: none; display: grid; gap: 6px; font-size: 14px; color: #d0c9e6; margin: 4px 0 6px; }
.p-feats li::before { content: '⚡'; margin-right: 8px; color: var(--volt); }
.p-feats b { color: var(--volt); }
.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.info { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.info > span { font-size: 30px; }
.info p { color: var(--muted); font-size: 14px; }
.spec { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; margin-top: 22px; padding: 26px; border-radius: 24px; background: linear-gradient(120deg, rgba(124, 58, 237, .18), var(--card) 60%); border: 1px solid var(--line); }
.spec img { width: 100%; max-height: 240px; object-fit: contain; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.spec dl { display: grid; gap: 10px; }
.spec dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec dl div:last-child { border-bottom: 0; }
.spec dt { color: var(--muted); }

/* dealer + LINE */
.dealer-card { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 30px; padding: 44px; border-radius: 30px; position: relative; overflow: hidden;
  background: radial-gradient(60% 90% at 90% 50%, rgba(124, 58, 237, .45), transparent 70%), linear-gradient(140deg, #1b1230, var(--card)); border: 1px solid rgba(167, 139, 250, .35); }
.dealer h2 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 900; line-height: 1.1; margin: 10px 0; }
.dealer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.aff-card { margin-top: 22px; background: radial-gradient(60% 90% at 90% 50%, rgba(196, 255, 61, .18), transparent 70%), linear-gradient(140deg, #141a10, var(--card)); border-color: rgba(196, 255, 61, .35); }
.aff-card em { color: var(--volt); }
.aff-badges { display: grid; grid-template-columns: repeat(2, auto); gap: 14px; justify-content: center; font-size: clamp(48px, 7vw, 76px); }
.aff-badges span { display: grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 28%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); animation: floaty 6s ease-in-out infinite; }
.aff-badges span:nth-child(2) { animation-delay: -1.5s; } .aff-badges span:nth-child(3) { animation-delay: -3s; } .aff-badges span:nth-child(4) { animation-delay: -4.5s; }
.nav-links .nav-aff { color: var(--volt); }
.dealer-logo { width: 100%; max-width: 380px; justify-self: center; filter: drop-shadow(0 0 40px rgba(139, 92, 246, .5)); animation: floaty 6s ease-in-out infinite; }
.btn-line { background: var(--line-green); color: #fff; box-shadow: 0 10px 40px -10px rgba(6, 199, 85, .8); }
.btn-line:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 50px -10px rgba(6, 199, 85, 1); }
.btn-line svg { width: 24px; height: 24px; }
.line-id { color: var(--muted); }
.line-id b { color: var(--text); }
.line-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
  background: var(--line-green); color: #fff; font-weight: 800; box-shadow: 0 10px 30px -6px rgba(6, 199, 85, .7); transition: transform .2s;
}
.line-fab:hover { transform: scale(1.06); }
.line-fab svg { width: 26px; height: 26px; fill: #fff; }
.line-fab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--line-green); animation: fabPulse 2.2s infinite; z-index: -1; }
@keyframes fabPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.3, 1.6); } }

/* checkout payment methods */
.pay-methods { border: 0; display: grid; gap: 8px; }
.pay-methods legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.pay-opt { display: grid !important; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px !important; padding: 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; transition: all .2s; }
.pay-opt:has(input:checked) { border-color: var(--neon); background: rgba(124, 58, 237, .16); box-shadow: 0 0 0 3px rgba(167, 139, 250, .15); }
.pay-opt input { accent-color: var(--purple-2); width: 18px; height: 18px; }
.pay-opt b { color: var(--text); display: block; font-size: 15px; }
.pay-opt small { color: var(--muted); }
.pay-opt i { font-style: normal; }
.cod { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #ff9a3d; color: #000; font-weight: 800; font-size: 12px; }
/* checkout pay box (transfer: QR + required slip) */
.paybox { display: grid; justify-items: center; gap: 10px; padding: 0 0 16px; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid rgba(167, 139, 250, .35); text-align: center; }
.paybox-head { width: 100%; display: flex; justify-content: center; gap: 8px; padding: 10px; background: #0e3d6b; }
.paybox-head .tq, .paybox-head .ppb { background: #fff; color: #0e3d6b; border-radius: 6px; padding: 1px 8px; font-size: 12px; font-weight: 800; }
.paybox-head .ppb b { font-style: italic; font-weight: 900; }
.paybox-step { width: 100%; padding: 0 14px; text-align: left; font-size: 14px; color: var(--text); display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.paybox-step b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--purple); font-size: 13px; flex: none; }
.paybox-step .req { color: var(--danger); font-size: 12px; margin-left: auto; }
.paybox-qr { background: #fff; padding: 8px; border-radius: 14px; box-shadow: 0 0 0 4px rgba(167, 139, 250, .2); }
.paybox-qr img { width: 190px; height: 190px; image-rendering: pixelated; display: block; -webkit-touch-callout: default; }
.paybox-amt { font-size: 34px; font-weight: 900; font-style: italic; line-height: 1; }
.paybox-acct { font-size: 13px; color: var(--muted); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.paybox .drop { width: calc(100% - 28px); }
.drop { border: 2px dashed rgba(255, 85, 119, .5); border-radius: 16px; padding: 18px; display: grid; gap: 6px; justify-items: center; cursor: pointer; background: rgba(255, 85, 119, .04); transition: all .2s; }
.drop:hover, .drop.drag { border-color: var(--neon); background: rgba(167, 139, 250, .06); }
.drop.has { border-color: var(--ok); border-style: solid; background: rgba(56, 227, 161, .06); }
.drop.has small { color: var(--ok); }
.drop img { max-height: 220px; border-radius: 10px; }
.drop small { color: var(--muted); font-size: 12px; }
.drop-ico { font-size: 28px; }
.btn.locked { background: #3a3150; box-shadow: none; opacity: 1; color: #cfc7e6; }
.btn.locked::after { display: none; }

/* long-press-to-save screen for phones / in-app browsers */
#qrSaveOverlay { position: fixed; inset: 0; z-index: 500; background: rgba(0, 0, 0, .85); display: none; place-items: center; padding: 16px; }
#qrSaveOverlay.on { display: grid; }
.qso-card { width: min(380px, 100%); background: #fff; color: #111; border-radius: 18px; padding: 16px; display: grid; gap: 12px; text-align: center; }
.qso-card img { width: 100%; border-radius: 10px; -webkit-touch-callout: default; user-select: auto; }
.qso-tip { font-size: 15px; line-height: 1.5; }
.qso-tip small { color: #666; }
.qso-close { padding: 12px; border-radius: 12px; background: #7c3aed; color: #fff; font-weight: 700; }

.cart-item.promo-flash { animation: promoFlash 1.6s var(--ease); }
@keyframes promoFlash { 0%, 40% { box-shadow: 0 0 0 2px var(--volt), 0 0 30px -4px var(--volt); transform: scale(1.03); } 100% { box-shadow: none; transform: none; } }
.upgrade { margin-left: 6px; padding: 3px 10px; border-radius: 99px; background: var(--volt); color: #000; font-weight: 700; font-size: 12px; }
.ship-bar p b { color: var(--volt); }

.footer-big { font-size: clamp(32px, 7vw, 110px); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 110px; }
.footer-links { display: grid; gap: 6px; }

@media (max-width: 1100px) {
  .power-grid, .sport-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .logo-word { display: none; }
  .cramp-inner, .energy-card, .dealer-card, .spec { grid-template-columns: 1fr; }
  .cramp-copy { text-align: center; }
  .energy-card { padding: 24px 18px; }
  .info-strip { grid-template-columns: 1fr; }
  .products { grid-template-columns: minmax(0, 460px); }
  .dealer-card { padding: 30px 22px; text-align: center; }
  .dealer-cta { justify-content: center; }
  .dealer-logo { max-width: 240px; order: -1; }
  .spec img { max-height: 180px; }
}
@media (max-width: 560px) {
  .power-grid { grid-template-columns: 1fr; }
  .sport-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sport-card { height: 330px; border-radius: 18px; }
  .sport-body { left: 12px; right: 12px; bottom: 12px; }
  .sport-body b { font-size: 22px; }
  .sport-body span { display: none; }
  .sport-kcal { font-size: 11px; padding: 4px 8px; }
  .sport-top { top: 10px; left: 10px; right: 10px; }
  .sport-emoji { width: 38px; height: 38px; font-size: 20px; }
  .cramp { padding: 80px 16px; }
  .curve-card { padding: 14px; }
  .curve-stats b { font-size: 22px; }
  .energy-bars li { grid-template-columns: 110px 1fr 44px 28px; gap: 8px; font-size: 14px; }
  .eb-min { font-size: 20px; }
  .kcal-orb { width: 180px; }
  .kcal-orb b { font-size: 58px; }
  .spec dl div { grid-template-columns: 1fr; gap: 2px; }
  .line-fab span { display: none; }
  .line-fab { padding: 12px; }
  .footer-brand { flex-direction: column; align-items: flex-start; }
  .nav { gap: 10px; }
}

/* ================= responsive hardening (all devices) ================= */
/* grid/flex children may shrink below their content width instead of pushing cards off-screen */
.hero > *, .inside-grid > *, .planner-card > *, .energy-card > *, .cramp-inner > *, .dealer-card > *, .spec > *,
.products > *, .power-grid > *, .sport-grid > *, .info-strip > *, .steps > *, .tl-body > *, .planner-inputs > *, .planner-out > * { min-width: 0; }
.btn-block { white-space: normal; text-align: center; line-height: 1.35; }
.btn-block span { overflow-wrap: anywhere; }
.lbl { gap: 10px; }
.lbl b { white-space: nowrap; text-align: right; }
.sport-fields { min-width: 0; }
.seg button { min-width: 0; padding-left: 4px; padding-right: 4px; overflow-wrap: anywhere; }
.plan-timeline li { align-items: flex-start; }
.plan-timeline li b { flex: none; }
.burn-row b { overflow-wrap: anywhere; }
.product-img .stack { width: 100%; justify-content: center; align-items: center; }
.product-img .stack img { width: 46%; height: auto; max-height: 220px; object-fit: contain; }
.product-img .stack img + img { margin-left: -18%; }
.price { flex-wrap: wrap; row-gap: 4px; }
.cmp-row > span:first-child { overflow-wrap: anywhere; }

/* laptop / small desktop */
@media (max-width: 1280px) {
  .hero-title { font-size: clamp(52px, 7.6vw, 112px); }
  .power h3 { font-size: 23px; }
}
/* tablet landscape / iPad */
@media (max-width: 1100px) and (min-width: 981px) {
  .hero { grid-template-columns: 1fr .9fr; }
  .float-tag { font-size: 13px; }
  .tl-body { grid-template-columns: 260px 1fr; gap: 36px; }
  .tl-clock { width: 240px; }
  .energy-card { grid-template-columns: 260px 1fr; }
}
/* tablet portrait */
@media (max-width: 980px) and (min-width: 561px) {
  .section { padding-top: 90px; padding-bottom: 90px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .planner-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .info-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info { flex-direction: column; text-align: center; }
  .energy-card { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .kcal-orb { width: 190px; }
  .kcal-orb b { font-size: 60px; }
  .energy-bars li { grid-template-columns: 120px minmax(0, 1fr) 48px 30px; gap: 10px; }
  .spec { grid-template-columns: 180px minmax(0, 1fr); }
  .body-map { height: 520px; max-height: none; }
}
/* phones */
@media (max-width: 560px) {
  .hero-title { font-size: clamp(42px, 13vw, 64px); }
  .hero-punch { font-size: 19px; }
  .hero-sub { font-size: 16px; }
  .hero-facts { gap: 14px; justify-content: space-between; }
  .hero-facts li { flex-direction: column; gap: 4px; text-align: center; flex: 1; }
  .hero-facts b { font-size: 30px; }
  .hero-facts span { font-size: 12px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .float-tag { font-size: 11px; padding: 5px 9px 5px 5px; }
  .float-tag i { min-width: 24px; height: 24px; font-size: 13px; }
  .section-head h2, .tl-head h2 { font-size: clamp(28px, 8.4vw, 40px); }
  .lead { font-size: 16px; }
  .power h3 { font-size: 24px; }
  .planner-inputs, .planner-out { padding: 20px 14px; }
  .sport-fields { padding: 12px; }
  .chips { gap: 6px; }
  .chip { padding: 8px 12px; font-size: 14px; }
  .plan-timeline li { gap: 8px; padding: 10px 12px; font-size: 14px; }
  .plan-timeline li b { min-width: 64px; }
  .burn-row b { font-size: 19px; }
  .gauge { width: 190px; }
  .product { padding: 20px 16px; }
  .product-img { height: 210px; }
  .product-img img { max-height: 200px; }
  .price b { font-size: 34px; }
  .buy-row .btn { padding: 12px 10px; }
  .qty button { width: 34px; }
  .cmp-row { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr)); }
  .cmp-head span { font-size: 11px; }
  .curve-toggle { display: grid; width: 100%; }
  .curve-toggle button { padding: 10px 8px; font-size: 14px; }
  .curve-stats span { font-size: 11px; }
  .dealer-cta { flex-direction: column; align-items: stretch; }
  .dealer-cta .btn { white-space: normal; }
  .line-fab { right: 12px; bottom: 12px; padding: 11px; }
  .line-fab svg { width: 24px; height: 24px; }
  .drawer { width: 100%; }
  .step { padding: 24px 20px; }
  .tl-stages { height: 300px; }
  .footer-row { flex-direction: column; }
}
/* very small phones (iPhone SE / 320px) */
@media (max-width: 360px) {
  .nav { padding: 8px 8px 8px 14px; }
  .sound-btn { width: 38px; height: 38px; }
  .cart-btn { width: 42px; height: 42px; }
  .partner-btn { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .partner-btn span { display: none; }
  .sport-grid { grid-template-columns: 1fr; }
  .energy-bars li { grid-template-columns: 92px minmax(0, 1fr) 38px 26px; font-size: 13px; }
  .float-tag.t2, .float-tag.t3 { right: -4px; }
}
/* large desktops */
@media (min-width: 1600px) {
  .section, .hero, .cramp, .timeline-sticky, .footer { padding-left: calc((100% - 1320px) / 2); padding-right: calc((100% - 1320px) / 2); }
  .nav { width: min(1320px, calc(100% - 24px)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
