:root {
  color-scheme: dark;
  --product-blue: #48bff3;
  --product-bg: #00070d;
  --product-panel: #0b1d29;
  --product-muted: #aab8c4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #000;
}

body.premium-product-page {
  margin: 0;
  overflow-x: hidden;
  color: #f7fafc;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

.premium-product,
.premium-product-page .footer {
  width: min(100%, 430px);
  margin-inline: auto;
}

.premium-product {
  overflow: clip;
  background: var(--product-bg);
}

.product-image-section {
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--product-bg);
}

.product-section-image {
  display: block;
  width: 100%;
  height: auto;
}

.product-semantic-copy,
.product-buy-hotspot span,
.product-final-buy span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-variant-visual {
  position: absolute;
  z-index: 2;
  top: 26.4%;
  left: 3%;
  width: 94%;
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.65));
  transform: scale(0.97);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
}

body[data-selected-variant="red"] .product-variant-visual,
body[data-selected-variant="white"] .product-variant-visual {
  opacity: 1;
  transform: scale(1);
}

.product-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 0;
  width: 100%;
  height: 24%;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(6, 19, 29, 0.96), rgba(0, 5, 10, 0.78) 58%, transparent 82%);
  transition: opacity 420ms ease, background 420ms ease;
  pointer-events: none;
}

body[data-selected-variant="red"] .product-hero::after {
  opacity: 1;
  background: radial-gradient(circle at 54% 50%, rgba(92, 14, 17, 0.76), rgba(4, 8, 12, 0.9) 64%, transparent 86%);
}

body[data-selected-variant="white"] .product-hero::after {
  opacity: 1;
  background: radial-gradient(circle at 54% 50%, rgba(105, 157, 180, 0.48), rgba(4, 10, 15, 0.92) 64%, transparent 86%);
}

.product-nav-hotspot,
.product-cart-hotspot,
.product-buy-hotspot,
.product-final-buy,
.product-color-hotspot {
  position: absolute;
  z-index: 5;
  appearance: none;
  border: 0;
  background: transparent;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.product-nav-hotspot {
  top: 0.7%;
  left: 2.5%;
  width: 11%;
  height: 4.2%;
}

.product-cart-hotspot {
  top: 0.7%;
  right: 2.5%;
  width: 11%;
  height: 4.2%;
}

.product-color-hotspots {
  position: absolute;
  z-index: 5;
  top: 64.7%;
  left: 3.5%;
  width: 93%;
  height: 20.4%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8%;
}

.product-color-hotspot {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: box-shadow 220ms ease, transform 220ms ease;
}

.product-color-hotspot.is-selected {
  box-shadow: inset 0 0 0 2px rgba(136, 218, 255, 0.95), 0 0 18px rgba(72, 191, 243, 0.24);
}

.product-color-hotspot:active {
  transform: scale(0.98);
}

.product-buy-hotspot {
  top: 86.35%;
  left: 4.7%;
  width: 90.6%;
  height: 4.35%;
  border-radius: 12px;
}

.product-final-buy {
  top: 62.4%;
  left: 6.5%;
  width: 87%;
  height: 5.1%;
  border-radius: 999px;
}

.product-nav-hotspot:focus-visible,
.product-cart-hotspot:focus-visible,
.product-buy-hotspot:focus-visible,
.product-final-buy:focus-visible,
.product-color-hotspot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.product-menu[hidden] {
  display: none;
}

.product-menu {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: min(100%, 430px);
  margin-inline: auto;
  padding: max(72px, env(safe-area-inset-top)) 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  background: rgba(0, 7, 13, 0.97);
  backdrop-filter: blur(20px);
}

.product-menu a {
  color: #fff;
  font-size: 25px;
  font-weight: 650;
  text-decoration: none;
}

.product-menu button {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 40px;
}

.exploded-scroll {
  position: relative;
  height: 520svh;
  background: #000307;
}

.exploded-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 48%, rgba(46, 164, 211, 0.44), transparent 52%),
    radial-gradient(ellipse at 48% 66%, rgba(28, 119, 157, 0.32), transparent 56%),
    linear-gradient(180deg, #0b263b 0%, #071a29 48%, #01080e 100%);
}

.ambient-light {
  position: absolute;
  z-index: 0;
  inset: -20%;
  opacity: 0.98;
  transform: scale(1.04);
  filter: blur(20px);
  background:
    linear-gradient(112deg, transparent 23%, rgba(126, 216, 255, 0.16) 39%, transparent 52%),
    linear-gradient(74deg, transparent 42%, rgba(78, 181, 230, 0.11) 54%, transparent 66%),
    radial-gradient(circle at 54% 54%, rgba(78, 196, 242, 0.34), transparent 38%);
}

.ambient-light::after {
  content: "";
  position: absolute;
  inset: 8% 24% 4%;
  border-radius: 50%;
  background: rgba(91, 207, 249, 0.2);
  filter: blur(48px);
}

.exploded-canvas {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.99;
  mix-blend-mode: multiply;
  filter: contrast(.98) brightness(1.78) saturate(1.08) drop-shadow(0 0 20px rgba(99, 205, 249, .22));
  transform: translateY(calc(60px + var(--float-y, 0px))) scale(var(--camera-scale, 1));
  transform-origin: 50% 52%;
  will-change: transform;
}

.exploded-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,5,10,.18), transparent 28%, transparent 72%, rgba(0,3,7,.24));
}

.exploded-copy {
  position: absolute;
  z-index: 4;
  top: max(42px, env(safe-area-inset-top));
  left: 28px;
  right: 28px;
  opacity: var(--intro-opacity, 1);
  transform: translateY(calc((1 - var(--intro-opacity, 1)) * -18px));
  text-shadow: 0 2px 22px rgba(0,0,0,.84);
}

.product-eyebrow {
  margin: 0 0 16px;
  color: #70cff7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.exploded-copy h2 {
  max-width: 330px;
  margin: 0;
  font-size: clamp(42px, 12vw, 56px);
  line-height: .98;
  letter-spacing: -.045em;
}

.exploded-copy > p:last-child {
  max-width: 340px;
  margin: 22px 0 0;
  color: #c6d0d7;
  font-size: clamp(16px, 4.5vw, 19px);
  line-height: 1.5;
}

.component-label {
  position: absolute;
  z-index: 5;
  max-width: 142px;
  opacity: var(--label-opacity, 0);
  color: #8bdcff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
  transform: translateY(calc((1 - var(--label-opacity, 0)) * 10px));
}

.component-label::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-top: 8px;
  background: linear-gradient(90deg, #8bdcff, transparent);
}

.label-storage { top: 30%; left: 22px; }
.label-battery { top: 41%; right: 18px; text-align: right; }
.label-water { top: 62%; left: 20px; }
.label-bone { top: 72%; right: 22px; text-align: right; }
.label-battery::after,
.label-bone::after { margin-left: auto; transform: rotate(180deg); }

.scroll-progress {
  position: absolute;
  z-index: 6;
  top: 20%;
  right: 10px;
  width: 2px;
  height: 60%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(139,220,255,.16);
}

.scroll-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #8bdcff;
  transform: scaleY(var(--scroll-progress, 0));
  transform-origin: top;
}

.product-reviews,
.product-faq {
  padding: 110px 0;
  background: linear-gradient(180deg, #071d2b, #000910 40%, #00070c);
}

.product-reviews header,
.product-faq header {
  padding-inline: 30px;
}

.product-reviews h2,
.product-faq h2 {
  margin: 0;
  font-size: clamp(46px, 14vw, 62px);
  line-height: .98;
  letter-spacing: -.05em;
}

.product-reviews header > p,
.product-faq header > p {
  margin: 34px 0 0;
  color: var(--product-muted);
  font-size: 21px;
  line-height: 1.45;
}

.review-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 22px;
  margin-top: 54px;
  align-items: center;
}

.review-summary .review-stars {
  grid-column: 1 / -1;
  font-size: 31px;
}

.review-summary strong {
  font-size: 25px;
}

.review-summary > span:last-child {
  color: var(--product-muted);
  font-size: 18px;
}

.review-stars {
  color: #ffc400;
  letter-spacing: 2px;
}

.review-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 22px;
  margin-top: 68px;
  padding: 0 30px 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-carousel::-webkit-scrollbar { display: none; }

.review-card {
  min-height: 390px;
  padding: 28px 25px;
  scroll-snap-align: center;
  border: 1px solid rgba(89,196,240,.2);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15,43,59,.96), rgba(7,20,31,.98));
  box-shadow: 0 18px 42px rgba(0,0,0,.25);
}

.review-person {
  display: flex;
  gap: 15px;
  align-items: center;
}

.review-person img {
  width: 58px;
  height: 58px;
  border: 2px solid var(--product-blue);
  border-radius: 50%;
  object-fit: cover;
}

.review-person span {
  display: grid;
  gap: 6px;
}

.review-person strong { font-size: 20px; }
.review-person small { color: var(--product-blue); font-size: 14px; }
.review-card > .review-stars { display: block; margin-top: 34px; font-size: 24px; }
.review-card > p { margin: 30px 0 0; color: #e7edf1; font-size: 19px; line-height: 1.55; }

.review-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 70px 30px 0;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.review-trust span {
  color: #d9e2e8;
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
}

.product-faq {
  padding-bottom: 120px;
  background: linear-gradient(180deg, #061925, #00070d 38%);
}

.faq-list {
  margin: 70px 30px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.faq-list details {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.faq-list summary {
  display: grid;
  gap: 22px;
  list-style: none;
  cursor: pointer;
  color: #f5f7f9;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--product-blue); font-size: 13px; letter-spacing: .08em; }
.faq-list details p { margin: 26px 0 0; color: var(--product-muted); font-size: 18px; line-height: 1.65; }

.premium-product-page .footer {
  overflow: hidden;
}

.premium-product-page .whatsapp-float {
  right: max(12px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  width: 44px;
  height: 44px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.premium-product-page.is-purchase-visible .whatsapp-float {
  opacity: 0;
  transform: translateY(12px) scale(.9);
  pointer-events: none;
}

@media (min-width: 431px) {
  .premium-product,
  .premium-product-page .footer {
    box-shadow: 0 0 90px rgba(31,143,196,.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .exploded-scroll { height: 100svh; }
  .component-label { display: none; }
  .product-variant-visual { transition: none; }
}
