/* ============================================================
   BETTERLUNG LIFE — bold dark respiratory performance
   ============================================================ */

:root {
  --bg: #0B121D;
  --bg-deep: #070D15;
  --surface: #121C2B;
  --surface-2: #16233A;
  --ink: #EAF2F5;
  --muted: #8CA3AD;
  --primary: #2DD4BF;
  --primary-2: #6EE7D8;
  --cyan: #67E8F9;
  --line: rgba(140, 163, 173, .16);
  --grad: linear-gradient(115deg, #2DD4BF 0%, #6EE7D8 55%, #67E8F9 100%);
  --dark-on-teal: #05272B;

  --font-display: 'Chakra Petch', 'Avenir Next Condensed', sans-serif;
  --font-body: 'Manrope', 'Avenir Next', 'Segoe UI', sans-serif;

  --container: 1200px;
  --ease: cubic-bezier(.22, .7, .25, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 85% -5%, rgba(45, 212, 191, .05), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(45, 212, 191, .35); color: var(--ink); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.012em;
  margin: 0;
  color: var(--ink);
}

h2 { font-size: clamp(2rem, 3.8vw, 3rem); }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--primary); color: var(--dark-on-teal); padding: 10px 18px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Icons ---------- */

.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.icon-lg { width: 28px; height: 28px; stroke-width: 1.7; }
.icon-sm { width: 15px; height: 15px; }
.icon-xs { width: 12px; height: 12px; stroke-width: 2.6; }

.star { width: 16px; height: 16px; fill: var(--primary); flex: none; }

/* ---------- Announcement ---------- */

.announce {
  background: var(--grad);
  color: var(--dark-on-teal);
  text-align: center;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 10px 16px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 29, .72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(234, 242, 245, .08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(9, 15, 24, .92);
  box-shadow: 0 18px 44px -24px rgba(0, 0, 0, .8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.logo {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .04em;
  white-space: nowrap;
}
.logo-strong { font-weight: 700; color: var(--ink); }
.logo-dot { color: var(--primary); font-weight: 700; }
.logo-light { font-weight: 300; color: rgba(234, 242, 245, .82); letter-spacing: .14em; }

.site-nav { display: flex; gap: 32px; }

.site-nav a {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--primary-2); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.cart-btn:hover { border-color: rgba(45, 212, 191, .55); color: var(--primary-2); box-shadow: 0 0 18px rgba(45, 212, 191, .25); }

.cart-count {
  position: absolute;
  top: -7px; right: -7px;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--grad);
  color: var(--dark-on-teal);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.cart-count.pop { animation: pop .4s var(--ease); }

@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.nav-toggle:hover { border-color: rgba(45, 212, 191, .55); }
.nav-toggle-bar {
  width: 18px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-open .nav-toggle-bar:nth-child(1) { transform: translateY(6.3px) rotate(45deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bar:nth-child(3) { transform: translateY(-6.3px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 12px;
  padding: 15px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad);
  color: var(--dark-on-teal);
  box-shadow: 0 0 26px rgba(45, 212, 191, .35), 0 18px 38px -18px rgba(45, 212, 191, .55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 38px rgba(45, 212, 191, .5), 0 24px 44px -18px rgba(45, 212, 191, .6);
}

.btn-outline {
  border: 1px solid rgba(45, 212, 191, .45);
  color: var(--ink);
  background: rgba(45, 212, 191, .04);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(45, 212, 191, .12);
  color: var(--primary-2);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 18px 38px -16px rgba(5, 39, 43, .6);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -16px rgba(5, 39, 43, .75); }

/* ---------- Section heads ---------- */

.section { padding: clamp(80px, 9vw, 132px) 0; }

.section-head { margin-bottom: clamp(42px, 5vw, 68px); }
.section-head.center { text-align: center; }
.section-head.split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "// ";
  color: rgba(45, 212, 191, .5);
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--primary);
  padding-bottom: 6px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.view-all:hover { gap: 13px; color: var(--primary-2); }

/* ---------- Page-load + scroll reveal ---------- */

.load {
  animation: rise .9s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--rd, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(70px, 8vw, 110px) 0 clamp(90px, 10vw, 140px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, .05) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(880px 640px at 64% 18%, #000 20%, transparent 78%);
  mask-image: radial-gradient(880px 640px at 64% 18%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(680px 540px at 74% 30%, rgba(45, 212, 191, .13), transparent 66%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--primary-2);
  border: 1px solid rgba(45, 212, 191, .4);
  background: rgba(45, 212, 191, .08);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, .6);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .55); }
  70% { box-shadow: 0 0 0 9px rgba(45, 212, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}

.hero h1 {
  font-size: clamp(2.7rem, 5.8vw, 5.1rem);
  font-weight: 600;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  font-weight: 400;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-stats {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(18, 28, 43, .6);
  border-radius: 999px;
  padding: 9px 16px;
}
.stat-chip .icon { color: var(--primary); }
.stat-chip strong { color: var(--ink); font-weight: 700; }

/* Hero visual */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.rings { position: absolute; inset: 0; pointer-events: none; }
.ring {
  position: absolute;
  left: 50%; top: 52%;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, .4);
  transform: translate(-50%, -50%);
}
.ring-1 { width: 260px; height: 260px; animation: ringPulse 4.5s var(--ease) infinite; }
.ring-2 { width: 350px; height: 350px; animation: ringPulse 4.5s var(--ease) 1.5s infinite; }
.ring-3 { width: 440px; height: 440px; border-color: rgba(45, 212, 191, .25); animation: ringPulse 4.5s var(--ease) 3s infinite; }

@keyframes ringPulse {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.86); }
  35% { opacity: .55; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.12); }
}

.device {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .55));
}

.float-ball { animation: bob 3.4s ease-in-out infinite; }
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.led { animation: led 1.6s ease-in-out infinite; }
@keyframes led {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.spec-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(18, 28, 43, .88);
  border: 1px solid rgba(45, 212, 191, .35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 11px 16px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
  animation: floatY 6s ease-in-out infinite;
}
.spec-chip .icon { color: var(--primary); }
.spec-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  white-space: nowrap;
}
.spec-chip em {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
}
.chip-1 { top: 9%; right: 0; }
.chip-2 { left: -2%; top: 42%; animation-delay: 1.2s; }
.chip-3 { right: 2%; bottom: 7%; animation-delay: 2.2s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- Principles ---------- */

.principles { background: linear-gradient(180deg, transparent, rgba(18, 28, 43, .5) 30%, transparent); }

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.principle {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 38px 32px 34px;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.principle::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(45, 212, 191, .12), transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.principle:hover {
  border-color: rgba(45, 212, 191, .5);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(45, 212, 191, .28);
}
.principle:hover::before { opacity: 1; }

.principle-index {
  position: absolute;
  top: 14px; right: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  color: rgba(45, 212, 191, .12);
  line-height: 1;
}

.principle-icon {
  position: relative;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--dark-on-teal);
  background: var(--grad);
  box-shadow: 0 0 26px rgba(45, 212, 191, .35);
  margin-bottom: 24px;
}

.principle h3 {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .1em;
  margin-bottom: 6px;
}
.principle-tag {
  position: relative;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.principle p:not(.principle-tag) {
  position: relative;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Bestsellers ---------- */

.bestsellers { background: linear-gradient(180deg, transparent, rgba(18, 28, 43, .55) 35%, transparent); }

.product-grid.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.p-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 22px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.p-card:hover {
  border-color: rgba(45, 212, 191, .6);
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(45, 212, 191, .2), 0 30px 60px -28px rgba(45, 212, 191, .35);
}

.p-media {
  position: relative;
  border-radius: 13px;
  padding: 22px 14px 8px;
  background: radial-gradient(90% 70% at 50% 28%, rgba(45, 212, 191, .13), transparent 72%);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.p-media svg { width: min(100%, 180px); transition: transform .45s var(--ease); }
.p-card:hover .p-media svg { transform: translateY(-6px) scale(1.03); }

.badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 6px 10px;
}
.badge-save { background: var(--grad); color: var(--dark-on-teal); box-shadow: 0 0 16px rgba(45, 212, 191, .4); }
.badge-best {
  border: 1px solid rgba(45, 212, 191, .55);
  color: var(--primary-2);
  background: rgba(11, 18, 29, .8);
}

.p-info { display: flex; flex-direction: column; gap: 9px; flex: 1; }

.p-name {
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.p-benefit { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

.rating { display: inline-flex; align-items: center; gap: 7px; }
.stars { position: relative; display: inline-flex; }
.stars-bg, .stars-fill { display: inline-flex; gap: 2px; }
.stars-bg .star { fill: #2A3A4C; }
.stars-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 100%);
  overflow: hidden;
  white-space: nowrap;
}
.stars-fill .star { fill: var(--primary); }
.rating-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.rating-count { font-size: 12.5px; color: var(--muted); }

.p-foot {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: auto;
  padding-top: 14px;
}

.price { display: flex; align-items: baseline; gap: 9px; }
.price-now {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
}
.price-was { font-size: 13.5px; color: var(--muted); text-decoration: line-through; }

.btn-cart {
  width: 100%;
  border: 1px solid rgba(45, 212, 191, .4);
  color: var(--primary-2);
  background: rgba(45, 212, 191, .04);
  border-radius: 11px;
  padding: 12px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .06em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s var(--ease);
}
.btn-cart:hover {
  background: var(--grad);
  border-color: transparent;
  color: var(--dark-on-teal);
  box-shadow: 0 0 22px rgba(45, 212, 191, .4);
}
.btn-cart:active { transform: scale(.97); }
.btn-cart.added { background: var(--grad); border-color: transparent; color: var(--dark-on-teal); }

/* ---------- Science tabs ---------- */

.tabs-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 48px);
}

.tabs {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.tab {
  position: relative;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px 16px;
  transition: color .25s var(--ease);
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2.5px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--primary-2); }
.tab[aria-selected="true"]::after { transform: scaleX(1); box-shadow: 0 0 14px rgba(45, 212, 191, .6); }

.tab-panel { display: none; }
.tab-panel.active {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  animation: panelIn .5s var(--ease) both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-text h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  margin-bottom: 16px;
}
.tab-text > p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin-bottom: 24px; }

.check-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.check-list .icon { color: var(--primary); }

.tab-art {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(80% 70% at 50% 30%, rgba(45, 212, 191, .08), transparent 70%),
    linear-gradient(rgba(45, 212, 191, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, .035) 1px, transparent 1px);
  background-size: auto, 36px 36px, 36px 36px;
  padding: clamp(16px, 2vw, 28px);
}
.tab-art svg { width: 100%; height: auto; }

/* ---------- Reviews ---------- */

.reviews { background: linear-gradient(180deg, transparent, rgba(18, 28, 43, .5) 35%, transparent); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 30px 28px;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover {
  border-color: rgba(45, 212, 191, .45);
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -34px rgba(45, 212, 191, .3);
}

.review-stars { display: flex; gap: 4px; }
.review-stars .star { width: 20px; height: 20px; }
.star-half { position: relative; display: inline-flex; }
.star-half > .star { fill: #2A3A4C; }
.star-half-fill {
  position: absolute;
  left: 0; top: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
  display: inline-flex;
}
.star-half-fill .star { fill: var(--primary); }

.review-card blockquote {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  flex: 1;
}

.review-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.review-name { font-family: var(--font-display); font-weight: 600; font-size: 14.5px; letter-spacing: .04em; }
.review-role { font-size: 12.5px; color: var(--muted); }

.verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-2);
  border: 1px solid rgba(45, 212, 191, .4);
  background: rgba(45, 212, 191, .07);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--grad);
  color: var(--dark-on-teal);
  padding: clamp(74px, 9vw, 118px) 0;
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(5, 39, 43, .14);
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before { width: 420px; height: 420px; left: -140px; top: -180px; }
.cta-band::after { width: 520px; height: 520px; right: -180px; bottom: -260px; }

.cta-inner { position: relative; z-index: 1; }
.cta-band h2 {
  color: var(--dark-on-teal);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 700;
  margin-bottom: 14px;
}
.cta-band p {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 32px;
  opacity: .8;
}

/* ---------- Newsletter ---------- */

.newsletter {
  border-top: 1px solid var(--line);
  padding: clamp(72px, 8vw, 110px) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.newsletter-copy h2 { margin-bottom: 14px; }
.newsletter-copy p { color: var(--muted); font-size: 15.5px; max-width: 440px; }

.newsletter-form .form-row {
  display: flex;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.newsletter-form .form-row:focus-within {
  border-color: rgba(45, 212, 191, .55);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .12);
}
.newsletter-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 10px 12px 10px 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.newsletter-form input:focus { outline: none; }
.newsletter-form input::placeholder { color: #5F7784; }
.newsletter-form .btn { padding: 13px 26px; font-size: 14px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-2);
}
.form-success[hidden] { display: none; }
.newsletter-form.done .form-row { display: none; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr 1fr .9fr;
  gap: 48px;
}

.footer-brand p {
  margin: 20px 0 16px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 340px;
}
.footer-email {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--primary);
}
.footer-email:hover { color: var(--primary-2); text-decoration: underline; text-underline-offset: 4px; }

.footer-col h3 {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(234, 242, 245, .5);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--muted);
  padding: 5px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-col a:hover { color: var(--primary-2); transform: translateX(3px); }

.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  background: rgba(18, 28, 43, .5);
}
.pay-chip svg { width: 26px; height: 15px; }

.footer-bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-bottom p { font-size: 13.5px; color: var(--muted); }
.disclaimer {
  margin-top: 10px;
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #63798A !important;
  max-width: 760px;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate(-50%, 18px);
  background: var(--surface);
  border: 1px solid rgba(45, 212, 191, .5);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 12px;
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, .7), 0 0 24px rgba(45, 212, 191, .2);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .product-grid.four { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; order: -1; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .chip-2 { left: 0; }
  .tab-panel.active { grid-template-columns: 1fr; }
}

@media (max-width: 880px) {
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 14px 24px 22px;
    background: rgba(9, 15, 24, .97);
    border-bottom: 1px solid rgba(45, 212, 191, .25);
    box-shadow: 0 34px 50px -28px rgba(0, 0, 0, .8);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 4px; font-size: 15px; border-bottom: 1px solid rgba(234, 242, 245, .06); }
  .site-nav a::after { display: none; }
  .nav-toggle { display: inline-flex; }

  .principle-grid, .review-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .newsletter-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 40px, var(--container)); }
  .announce { font-size: 10px; letter-spacing: .1em; }
  .product-grid.four { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3rem); }
  .hero-visual { min-height: 400px; }
  .device { width: min(100%, 320px); }
  .ring-3 { width: 330px; height: 330px; }
  .chip-1 { top: 2%; right: -4px; }
  .chip-3 { right: -4px; }
  .newsletter-form .form-row { flex-direction: column; }
  .newsletter-form input { padding: 13px 14px; }
  .newsletter-form .btn { width: 100%; }
  .tabs { gap: 20px; }
  .tab { font-size: 13.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .review-card footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Audio pivot additions ---------- */

.device-photo {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 191, .45);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
}

/* Asymmetric product mosaic */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}
.m-featured {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, .25);
  background: var(--surface);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.m-featured:hover { transform: translateY(-5px); border-color: rgba(45, 212, 191, .6); }
.m-featured .m-media {
  position: absolute;
  inset: 0;
}
.m-featured .m-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.m-featured:hover .m-media img { transform: scale(1.04); }
.m-featured .m-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 29, 0) 32%, rgba(11, 18, 29, .94) 78%);
}
.m-featured .badge { z-index: 2; }
.m-overlay {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.m-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
}
.m-featured .p-name { font-size: clamp(1.4rem, 2vw, 1.9rem); color: #fff; }
.m-featured .p-benefit { color: var(--muted); font-size: 14.5px; max-width: 46ch; }
.m-featured .p-foot { margin-top: 6px; }

.m-cta {
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(45, 212, 191, .35) 0%, rgba(45, 212, 191, 0) 55%),
    linear-gradient(150deg, #16273B 0%, #0F1A2A 100%);
  border: 1px solid rgba(45, 212, 191, .35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 26px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.m-cta:hover { transform: translateY(-5px); border-color: rgba(45, 212, 191, .7); }
.m-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.9vw, 1.9rem);
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.m-cta-sub { color: var(--muted); font-size: 14px; }
.m-cta .price-now { font-size: 1.5rem; }
.m-cta .btn-cart { align-self: flex-start; }

.p-card .p-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .45s var(--ease);
}
.p-card:hover .p-media img { transform: translateY(-6px) scale(1.02); }
.p-card .badge { z-index: 1; }

@media (max-width: 1024px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .m-featured { grid-column: span 2; }
}
@media (max-width: 640px) {
  .mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .m-featured { grid-column: span 1; grid-row: auto; min-height: 420px; }
  .m-featured .m-media { position: absolute; }
  .device-photo { width: min(100%, 280px); }
}

.cart-count.bump { transform: scale(1.3); }

/* ============================================================
   Footer v2 — tech console
   Oversized gradient wordmark, spec-sheet grid, inline groups
   ============================================================ */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid rgba(45, 212, 191, .22);
  padding: clamp(64px, 8vw, 104px) 0 36px;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 28px rgba(45, 212, 191, .35));
}
.wm-dot { color: transparent; }

/* Spec-sheet grid */

.spec-grid {
  margin-top: clamp(30px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(18, 28, 43, .45);
}
.spec-cell {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px 18px;
  border-right: 1px solid var(--line);
}
.spec-cell:last-child { border-right: 0; }
.spec-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--primary);
}
.spec-value {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}

/* Inline link groups + console mail */

.footer-mid {
  margin-top: clamp(34px, 4.5vw, 52px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px 48px;
}
.footer-group h3 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(234, 242, 245, .5);
  margin-bottom: 14px;
}
.footer-group h3::before { content: "// "; color: rgba(45, 212, 191, .5); }
.footer-group-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.footer-group-links a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.footer-group-links a:hover { color: var(--primary-2); }

.footer-console-mail {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--primary);
  border: 1px solid rgba(45, 212, 191, .35);
  background: rgba(45, 212, 191, .06);
  border-radius: 10px;
  padding: 12px 18px;
  white-space: nowrap;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.footer-console-mail:hover {
  border-color: var(--primary);
  color: var(--primary-2);
  box-shadow: 0 0 20px rgba(45, 212, 191, .25);
}

/* Policies row above the console bar */

.footer-policies {
  margin-top: clamp(30px, 4vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.footer-policies a {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(234, 242, 245, .55);
  transition: color .25s var(--ease);
}
.footer-policies a:hover { color: var(--primary-2); }

/* Console bottom bar */

.footer-console-bar {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.footer-status {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-sep { opacity: .5; }
.status-ok { color: var(--primary); }

@media (max-width: 880px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-cell:nth-child(2n) { border-right: 0; }
  .spec-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-mid { flex-direction: column; }
}

@media (max-width: 640px) {
  .footer-status { letter-spacing: .18em; }
}
