/* =========================================================
   CodeQ Store — main stylesheet
   ========================================================= */
:root {
  --bg: #050308;
  --bg-2: #0b0713;
  --surface: #110b1d;
  --surface-2: #181029;
  --line: rgba(190, 170, 255, 0.12);
  --line-2: rgba(190, 170, 255, 0.24);
  --text: #f6f2ff;
  --muted: #a69cc2;
  --dim: #6d6490;
  --violet: #8b5cf6;
  --violet-2: #a78bfa;
  --pink: #ec4899;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #b44cf0 50%, #ec4899 100%);
  --ease: cubic-bezier(0.2, 0.75, 0.15, 1);
  --radius: 22px;
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #2a1f45 var(--bg); }
html.no-scroll { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 3px; border-radius: 8px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--dim); }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-2);
}
.section-title {
  margin-top: 10px;
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-wide { width: 100%; }
.btn-primary {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 10px 30px -10px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); background: #9b70ff; box-shadow: 0 16px 38px -10px rgba(139, 92, 246, 1), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-outline { color: var(--violet-2); border: 1.5px solid rgba(139, 92, 246, 0.75); }
.btn-outline:hover { color: #fff; border-color: var(--violet-2); background: rgba(139, 92, 246, 0.14); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: var(--violet); background: rgba(139, 92, 246, 0.12); }
.btn.is-static { pointer-events: none; opacity: 0.8; }
.btn:disabled { opacity: 0.5; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--violet-2);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.chip button { font-size: 14px; line-height: 1; color: var(--muted); }

/* ---------- reveal & text effects ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 36px;
  filter: blur(8px);
  transition: opacity 1s var(--ease), translate 1s var(--ease), filter 1s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; translate: none; filter: none; }

.blur-ch {
  display: inline-block;
  opacity: 0;
  filter: blur(22px);
  transform: translateY(0.25em) scale(1.08);
}
[data-blur-in].is-in .blur-ch {
  animation: blurIn 1.3s var(--ease) forwards;
  animation-delay: calc(var(--i) * 45ms + 120ms);
}
@keyframes blurIn { to { opacity: 1; filter: blur(0); transform: none; } }

.outline-title {
  font-size: clamp(56px, 11vw, 150px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.92);
  text-shadow: 0 0 40px rgba(139, 92, 246, 0.45);
}

/* =========================================================
   HEADER — floating pill navigation
   ========================================================= */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.pill-nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 56px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: rgba(22, 16, 34, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.pill-logo { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 6px; }
.pill-logo img { width: 30px; height: 30px; mix-blend-mode: screen; filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.7)); transition: transform 0.5s var(--ease); }
.pill-logo:hover img { transform: rotate(-12deg) scale(1.08); }
.pill-links { position: relative; display: flex; align-items: center; }
.pill-glow {
  position: absolute;
  left: 0;
  top: 50%;
  height: 40px;
  margin-top: -20px;
  border-radius: 999px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(167, 139, 250, 0.55), rgba(139, 92, 246, 0.2) 55%, transparent 80%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 24px rgba(139, 92, 246, 0.45);
  opacity: 0;
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s ease;
  pointer-events: none;
}
.nav-link {
  position: relative;
  z-index: 1;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(246, 242, 255, 0.82);
  transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.pill-basket, .pill-menu {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-left: 4px;
  border-radius: 50%;
  color: #fff;
  background: rgba(139, 92, 246, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.pill-basket:hover { background: rgba(139, 92, 246, 0.45); transform: scale(1.05); }
.pill-basket svg, .pill-menu svg { width: 19px; height: 19px; }
.pill-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--pink);
  box-shadow: 0 0 0 3px rgba(5, 3, 8, 0.9);
}
.pill-count[hidden] { display: none; }
.pill-menu { display: none; background: transparent; }
.mobile-menu {
  pointer-events: auto;
  position: fixed;
  top: 84px;
  left: 16px;
  right: 16px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(18, 12, 30, 0.96);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.mobile-menu-inner { display: grid; }
.mobile-menu .nav-link { padding: 14px 16px; border-radius: 14px; }
.mobile-menu .nav-link:hover { background: rgba(139, 92, 246, 0.14); }

@media (max-width: 720px) {
  .pill-links { display: none; }
  .pill-menu { display: grid; }
  .pill-nav { gap: 2px; }
}
@media (min-width: 721px) { .mobile-menu { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: 150px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(40% 40% at 50% 60%, rgba(236, 72, 153, 0.12), transparent 70%);
}
.hero-arc {
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  width: 100%;
  height: min(78vh, 760px);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 55%, transparent 100%);
  mask-image: linear-gradient(#000 55%, transparent 100%);
}
.hero-title {
  font-size: clamp(52px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-shadow: 0 0 60px rgba(167, 139, 250, 0.35);
}
.hero-sub { margin-top: 18px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: #e6ddff; }
.hero-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stage { position: relative; margin-top: 70px; perspective: 1600px; }
.hero-logo {
  position: absolute;
  right: -2%;
  top: -40px;
  width: clamp(120px, 16vw, 220px);
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.6));
  animation: logoFloat 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg) rotateY(0deg); }
  50% { transform: translateY(-26px) rotate(6deg) rotateY(25deg); }
}

/* ---------- devices ---------- */
.device {
  --tilt: 28deg;
  --rise: 80px;
  --scale: 0.88;
  position: relative;
  margin-inline: auto;
  transform: perspective(1600px) rotateX(var(--tilt)) translateY(var(--rise)) scale(var(--scale));
  transform-origin: 50% 100%;
  transition: transform 0.15s linear;
  will-change: transform;
}
.device-screen {
  position: relative;
  overflow: hidden;
  background: #0b0713;
  border: 10px solid #17121f;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 60px 120px -40px rgba(139, 92, 246, 0.55),
    0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, transparent 32%, transparent 70%, rgba(255, 255, 255, 0.05));
  pointer-events: none;
}
.device-laptop { width: min(1040px, 100%); }
.device-laptop .device-screen { aspect-ratio: 16 / 9.4; border-radius: 22px 22px 6px 6px; }
.device-base {
  height: 18px;
  margin: 0 -6%;
  border-radius: 0 0 26px 26px;
  background: linear-gradient(#2a2433, #120e18);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.device-base::before {
  content: '';
  display: block;
  width: 18%;
  height: 7px;
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  background: #0b0810;
}
.device-tablet { width: min(900px, 100%); }
.device-tablet .device-screen { aspect-ratio: 16 / 10.5; border-radius: 34px; border-width: 14px; }

/* =========================================================
   STREAKS
   ========================================================= */
.streaks {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 115vh;
  margin-top: 40px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  background: #000;
}
.streaks-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.streaks-title {
  margin-top: 14px;
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff 30%, #b8a6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.streaks-title .blur-ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
.streaks-sub { max-width: 560px; margin: 22px auto 0; font-size: 19px; color: #cfc5ea; }

/* =========================================================
   FEATURED
   ========================================================= */
.featured {
  position: relative;
  padding: 140px 0 0;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  background: radial-gradient(60% 40% at 50% 100%, rgba(80, 90, 255, 0.18), transparent 70%), #000;
}
.featured-sub { margin-top: 18px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; color: #e6ddff; }
.featured-cta { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.featured-stage { position: relative; z-index: 1; margin-top: 60px; perspective: 1600px; }
.featured-particles {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  width: 100%;
  height: 70%;
  pointer-events: none;
}

/* =========================================================
   PRODUCT DUO
   ========================================================= */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  background: #fff;
}
.duo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 760px;
  padding: 90px 40px 0;
  overflow: hidden;
  text-align: center;
  perspective: 1400px;
}
.duo-light { color: #120a24; background: linear-gradient(180deg, #8b6cff 0%, #c8b8ff 55%, #f6f2ff 100%); }
.duo-dark { color: #fff; background: radial-gradient(70% 50% at 50% 100%, rgba(139, 92, 246, 0.25), transparent 70%), #000; }
.duo-card h3 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.duo-card p { margin-top: 12px; font-size: 19px; font-weight: 500; opacity: 0.85; }
.duo-cta { display: flex; justify-content: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.duo-light .btn-outline { color: #5b2fd6; border-color: #6d44e8; }
.duo-light .btn-outline:hover { color: #fff; background: #6d44e8; }
.duo-shot {
  --tilt: 18deg;
  --rise: 60px;
  --scale: 0.9;
  width: 88%;
  margin-top: auto;
  transform: perspective(1400px) rotateX(var(--tilt)) translateY(var(--rise)) scale(var(--scale));
  transform-origin: 50% 100%;
  transition: transform 0.15s linear;
}
.duo-shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px 24px 0 0;
  border: 8px solid rgba(20, 14, 32, 0.9);
  border-bottom: 0;
  box-shadow: 0 -20px 80px -30px rgba(40, 10, 90, 0.8);
}
.duo-shot.is-contain img { object-fit: contain; background: #0b0713; }

/* =========================================================
   MARQUEE
   ========================================================= */
.soon { padding: 130px 0 40px; overflow: hidden; }
.soon-head { margin-bottom: 44px; text-align: center; }
.marquee { position: relative; overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 26px 0 14px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line);
}
.marquee-item img { width: 36px; height: 36px; mix-blend-mode: screen; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   WHY + CTA
   ========================================================= */
.why { padding: 120px 0 0; }
.why-head { margin-bottom: 44px; text-align: center; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
[data-spot] { position: relative; }
[data-spot]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -200%), rgba(139, 92, 246, 0.2), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), border-color 0.3s ease;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(167, 139, 250, 0.4); }
.why-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 15px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 30px -10px rgba(236, 72, 153, 0.8);
}
.why-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }
.why-card p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.cta {
  position: relative;
  margin-top: 140px;
  padding: 90px 30px;
  overflow: hidden;
  text-align: center;
  border-radius: 36px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(139, 92, 246, 0.45), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(236, 72, 153, 0.3), transparent 70%),
    #0d0818;
}
.cta-logo {
  width: 110px;
  margin: 0 auto 24px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.8));
  animation: logoFloat 8s ease-in-out infinite;
}
.cta h2 { font-size: clamp(32px, 4.5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.03; }
.cta p { max-width: 520px; margin: 16px auto 30px; font-size: 18px; color: #d3c8ef; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { margin-top: 140px; padding: 70px 0 40px; border-top: 1px solid var(--line); background: #000; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; }
.footer-logo img { mix-blend-mode: screen; }
.footer-brand p { max-width: 300px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.site-footer h5 { margin-bottom: 16px; font-size: 14px; font-weight: 700; }
.site-footer li { margin: 10px 0; font-size: 14px; }
.site-footer li a { color: var(--muted); transition: color 0.2s ease; }
.site-footer li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom p:last-child { max-width: 420px; text-align: right; }

/* =========================================================
   STORE PAGE
   ========================================================= */
.page { padding-top: 140px; }
.page-hero { position: relative; text-align: center; isolation: isolate; }
.page-arc {
  position: absolute;
  top: -140px;
  left: 50%;
  translate: -50% 0;
  z-index: -1;
  width: 100vw;
  height: 70vh;
  pointer-events: none;
  opacity: 0.8;
  -webkit-mask-image: linear-gradient(#000 50%, transparent 100%);
  mask-image: linear-gradient(#000 50%, transparent 100%);
}
.page-title { margin-top: 12px; font-size: clamp(44px, 7vw, 96px); font-weight: 800; line-height: 0.98; letter-spacing: -0.05em; }
.page-sub { max-width: 620px; margin: 20px auto 0; font-size: 18px; color: #d3c8ef; }

.store-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 70px;
  margin-bottom: 26px;
}
.tabs {
  position: relative;
  display: flex;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(22, 16, 34, 0.7);
  border: 1px solid var(--line);
}
.tab-glow {
  position: absolute;
  left: 0;
  top: 5px;
  bottom: 5px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 8px 24px -8px rgba(139, 92, 246, 0.9);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}
.tab { position: relative; z-index: 1; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.2s ease; }
.tab.is-active, .tab:hover { color: #fff; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(320px, 100%);
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(22, 16, 34, 0.7);
  border: 1px solid var(--line);
  transition: border-color 0.2s ease;
}
.search:focus-within { border-color: var(--violet); }
.search svg { width: 18px; height: 18px; color: var(--dim); flex: none; }
.search input { flex: 1; min-width: 0; outline: none; }
.search input::placeholder { color: var(--dim); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.3s ease, box-shadow 0.45s ease;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 40px 70px -40px rgba(139, 92, 246, 0.9); }
.product-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0713; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-media::after { content: ''; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(0deg, var(--surface-2), transparent); }
.product-media-empty { width: 100%; height: 100%; background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.4), transparent 60%); }
.flag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; background: var(--pink); }
.product-body { display: flex; flex: 1; flex-direction: column; gap: 18px; padding: 18px 20px 20px; }
.product-body h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.product-body h3 a:hover { color: var(--violet-2); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.price { display: flex; align-items: baseline; gap: 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.price del { font-size: 15px; font-weight: 500; color: var(--dim); }
.product-actions { display: flex; gap: 8px; }
.empty { grid-column: 1 / -1; padding: 60px 20px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.skeleton { height: 360px; border-radius: var(--radius); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.soon-grid-wrap { padding-top: 120px; }
.soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.soon-card {
  padding: 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.4s var(--ease);
}
.soon-card:hover { border-color: rgba(167, 139, 250, 0.35); transform: translateY(-4px); }
.soon-card img { width: 40px; height: 40px; mix-blend-mode: screen; opacity: 0.85; }
.soon-card h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.soon-card p { margin: 8px 0 16px; font-size: 14px; color: var(--muted); }

/* =========================================================
   PACKAGE PAGE
   ========================================================= */
.pkg-hero { position: relative; text-align: center; isolation: isolate; }
.crumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--dim); }
.crumbs a:hover { color: #fff; }
.crumbs strong { font-weight: 500; color: var(--muted); }
.pkg-title { word-break: break-word; }
.pkg-tagline { max-width: 640px; margin: 18px auto 0; font-size: clamp(18px, 2vw, 22px); font-weight: 500; color: #e6ddff; }
.pkg-tagline a { color: var(--violet-2); text-decoration: underline; }
.pkg-cta { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.pkg-stage { position: relative; margin-top: 60px; perspective: 1600px; isolation: isolate; }
.pkg-particles { position: absolute; left: 50%; bottom: -80px; z-index: -1; width: 100vw; height: 60%; translate: -50% 0; pointer-events: none; }
.pkg-thumbs { display: flex; justify-content: center; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.thumb { width: 110px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 2px solid transparent; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--violet); }

.pkg-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 120px; }
.prose {
  padding: 40px;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 16.5px;
  line-height: 1.75;
  color: #d8d0ee;
}
.prose > :first-child { margin-top: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin: 32px 0 12px; color: #fff; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.prose h3 { font-size: 22px; }
.prose p + p { margin-top: 12px; }
.prose strong { color: #fff; }
.prose a { color: var(--violet-2); text-decoration: underline; }
.prose ul, .prose ol { margin: 12px 0; }
.prose li { position: relative; margin: 10px 0; padding-left: 26px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: 0.72em; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); rotate: 45deg; }
.prose li p { display: inline; }
.prose img { margin: 16px 0; border-radius: 16px; }
.prose code { padding: 2px 7px; border-radius: 7px; font-size: 0.9em; background: rgba(139, 92, 246, 0.16); }

.pkg-buy {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 30px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--line-2);
  background: radial-gradient(120% 60% at 100% 0%, rgba(236, 72, 153, 0.16), transparent 60%), linear-gradient(170deg, #1c1231, #100a1b);
}
.pkg-buy h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.pkg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.pkg-price strong { font-size: 44px; font-weight: 800; letter-spacing: -0.04em; }
.pkg-price del { font-size: 18px; color: var(--dim); }
.pkg-price small { width: 100%; font-size: 12px; color: var(--dim); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #ddd2ff; background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(167, 139, 250, 0.25); }
.trust { display: grid; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 17px; height: 17px; flex: none; color: var(--violet-2); }
.related { padding-top: 120px; }
.related .section-title { margin-bottom: 30px; font-size: clamp(28px, 3.4vw, 42px); }

/* =========================================================
   BASKET DRAWER
   ========================================================= */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(3, 2, 6, 0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.35s ease; }
.drawer-panel {
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  width: min(440px, calc(100% - 20px));
  border-radius: 28px;
  background: #0d0817;
  border: 1px solid var(--line-2);
  box-shadow: -30px 0 80px -30px rgba(0, 0, 0, 0.9);
  transform: translateX(110%);
  transition: transform 0.45s var(--ease);
}
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 22px 14px; }
.drawer-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--muted); transition: background-color 0.2s ease, color 0.2s ease; }
.icon-btn:hover { color: #fff; background: rgba(139, 92, 246, 0.16); }
.icon-btn svg { width: 19px; height: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 22px 20px; }
.drawer-login, .drawer-account { padding: 18px; border-radius: 18px; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(167, 139, 250, 0.25); }
.drawer-login p { margin-bottom: 14px; font-size: 14px; color: #d3c8ef; }
.drawer-account { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #d3c8ef; }
.drawer-account svg { width: 20px; height: 20px; color: var(--violet-2); }
.drawer-items { display: grid; gap: 10px; margin-top: 16px; }
.drawer-item { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 14px; padding: 10px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.drawer-item img { width: 70px; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 12px; }
.drawer-item strong { display: block; font-size: 15px; }
.drawer-item span { font-size: 14px; color: var(--muted); }
.drawer-empty { display: grid; justify-items: center; gap: 14px; padding: 60px 0; text-align: center; color: var(--muted); }
.drawer-empty img { width: 80px; mix-blend-mode: screen; opacity: 0.7; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.drawer-foot:empty { display: none; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); outline: none; }
.coupon input:focus { border-color: var(--violet); }
.coupon-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; margin: 18px 0 16px; font-size: 15px; color: var(--muted); }
.drawer-total small { font-size: 12px; color: var(--dim); }
.drawer-total strong { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }

/* toasts */
.toaster { position: fixed; left: 50%; bottom: 24px; z-index: 300; display: grid; gap: 8px; translate: -50% 0; pointer-events: none; }
.toast {
  max-width: min(460px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(24, 16, 41, 0.95);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.35s ease, translate 0.35s var(--ease);
}
.toast.is-in { opacity: 1; translate: none; }
.toast-success { border-color: rgba(52, 211, 153, 0.5); }
.toast-error { border-color: rgba(248, 113, 113, 0.6); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .pkg-body { grid-template-columns: 1fr; }
  .pkg-buy { position: relative; top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .duo { grid-template-columns: 1fr; }
  .duo-card { min-height: 600px; padding-top: 70px; }
  .hero-logo { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 120px; }
  .why-grid { grid-template-columns: 1fr; }
  .prose, .pkg-buy { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom p:last-child { text-align: left; }
  .store-tools { flex-direction: column; align-items: stretch; }
  .tabs { overflow-x: auto; }
  .search { width: 100%; }
  .device-screen { border-width: 6px; }
  .device-tablet .device-screen { border-radius: 20px; border-width: 8px; }
  .cta { padding: 60px 22px; border-radius: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; translate: none; filter: none; }
  .blur-ch { opacity: 1; filter: none; transform: none; }
  .device, .duo-shot { transform: none; }
}

/* =========================================================
   MOTION LAYER
   ========================================================= */

/* page transitions (cross-document view transitions) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut 0.45s var(--ease) both; }
::view-transition-new(root) { animation: vtIn 0.6s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; filter: blur(14px); transform: scale(0.985); } }
@keyframes vtIn { from { opacity: 0; filter: blur(14px); transform: scale(1.015); } }
.pill-nav { view-transition-name: pill-nav; }

/* intro curtain */
html.is-intro { overflow: hidden; }
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: radial-gradient(50% 50% at 50% 50%, #1a0f33 0%, #050308 70%);
  transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.18, 1);
  clip-path: inset(0 0 0 0);
}
.intro.is-out { clip-path: inset(0 0 100% 0); }
.intro-inner { display: grid; justify-items: center; gap: 26px; transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1), opacity 0.6s ease; }
.intro.is-out .intro-inner { transform: translateY(-80px) scale(0.9); opacity: 0; }
.intro img {
  width: 130px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.9));
  animation: introLogo 1.3s var(--ease) both;
}
@keyframes introLogo {
  0% { opacity: 0; transform: scale(0.6) rotate(-90deg); filter: blur(20px) drop-shadow(0 0 0 transparent); }
  60% { opacity: 1; transform: scale(1.08) rotate(8deg); filter: blur(0) drop-shadow(0 0 60px rgba(236, 72, 153, 0.9)); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.9)); }
}
.intro-bar { width: 160px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }
.intro-bar i { display: block; height: 100%; background: var(--grad); animation: introBar 1.2s var(--ease) forwards; transform-origin: left; transform: scaleX(0); }
@keyframes introBar { to { transform: scaleX(1); } }

/* cursor glow */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(139, 92, 246, 0.14) 0%, rgba(236, 72, 153, 0.05) 50%, rgba(236, 72, 153, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease, width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease);
}
.cursor-glow.is-on { opacity: 1; }
.cursor-glow.is-hot { width: 260px; height: 260px; margin: -130px 0 0 -130px; background: radial-gradient(circle closest-side, rgba(167, 139, 250, 0.24) 0%, rgba(167, 139, 250, 0) 100%); }

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  height: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.8);
  transform: scaleX(0);
  transform-origin: left;
}

/* magnetic */
.btn, .pill-basket, .pill-logo { transition-property: transform, box-shadow, background-color, border-color, color, translate; }
.btn { transition-duration: 0.25s, 0.3s, 0.25s, 0.25s, 0.2s, 0.35s; }
.is-magnet { transition-duration: 0.25s, 0.3s, 0.25s, 0.25s, 0.2s, 0.08s !important; }

/* 3D tilt + glare */
.product-card, .why-card, .soon-card, .pkg-buy {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transform-style: preserve-3d;
}
.product-card:hover, .why-card:hover { --lift: -8px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }
.soon-card:hover { --lift: -4px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); }
.is-tilting { transition: transform 0.12s linear, border-color 0.3s ease, box-shadow 0.4s ease !important; }
.product-card::after, .why-card::after, .soon-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.1), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card.is-tilting::after, .why-card.is-tilting::after, .soon-card.is-tilting::after { opacity: 1; }
.duo-shot img { --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 0.6s var(--ease); }
.duo-shot img.is-tilting { transition: transform 0.12s linear !important; }

/* 3D logo canvas */
.hero-logo3d {
  position: absolute;
  right: -3%;
  top: -150px;
  z-index: 2;
  width: clamp(200px, 24vw, 340px);
  aspect-ratio: 1;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 70px rgba(236, 72, 153, 0.25));
}
@media (max-width: 800px) {
  .hero-logo3d { right: 50%; translate: 50% 0; top: -120px; width: 180px; opacity: 0.9; }
}

/* outline titles fill with the gradient on hover */
.outline-title {
  background: var(--grad) no-repeat;
  background-size: 0% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-size 0.9s var(--ease), text-shadow 0.4s ease, opacity 1s var(--ease), translate 1s var(--ease), filter 1s var(--ease);
  cursor: default;
}
.outline-title:hover { background-size: 100% 100%; text-shadow: 0 0 60px rgba(236, 72, 153, 0.5); }

/* primary buttons: moving shine */
.btn-primary { overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-primary:hover::before { transform: translateX(120%); }

/* marquee items glow on hover */
.marquee-item { transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease); }
.marquee-item:hover { border-color: rgba(167, 139, 250, 0.5); background: var(--surface-2); transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  .intro, .cursor-glow { display: none; }
}

/* =========================================================
   MULTI-PRODUCT SHOWCASE
   ========================================================= */
.hero-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  background: rgba(22, 16, 34, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.hero-now strong { color: #fff; font-weight: 700; transition: opacity 0.25s ease, filter 0.25s ease; }
.hero-now strong.is-swap { opacity: 0; filter: blur(6px); }
.hero-now-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); animation: cqPulse 1.8s ease-in-out infinite; }
@keyframes cqPulse { 50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }

.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  filter: blur(6px);
  transition: opacity 1s ease, transform 1.6s var(--ease), filter 1s ease;
}
.hero-slides img.is-active { opacity: 1; transform: none; filter: none; }

/* posters (portrait Tebex images) used as fallback inside landscape frames */
img.is-poster { object-position: 50% 18%; }

.outline-title { font-size: clamp(48px, 9.5vw, 132px); }
.featured .eyebrow { margin-bottom: 14px; }
.featured-alt {
  background: radial-gradient(60% 40% at 50% 100%, rgba(236, 72, 153, 0.16), transparent 70%), #000;
}
.featured + .featured { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.duo + .duo { padding-top: 0; }
.featured + .duo, .duo + .featured { margin-top: 0; }

/* =========================================================
   LIVE SCRIPT UIs (iframes from /demos/<slug>/)
   ========================================================= */
[data-live] { position: relative; overflow: hidden; }
.live-iframe {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border: 0;
  transform-origin: 0 0;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  transition: opacity 0.9s ease;
}
[data-live].is-live .live-iframe { opacity: 1; }
[data-live].is-interactive .live-iframe { pointer-events: auto; }
.device-glare { z-index: 2; }
.live-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(5, 3, 8, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.5s ease 0.4s, transform 0.5s var(--ease) 0.4s;
  pointer-events: none;
}
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25); animation: livePulse 1.4s ease-in-out infinite; }
@keyframes livePulse { 50% { opacity: 0.35; } }
[data-live].is-live .live-badge { opacity: 1; transform: none; }

/* duo cards: the frame carries the bezel now (img or live iframe inside) */
.duo-shot .live-frame {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 24px 24px 0 0;
  border: 8px solid rgba(20, 14, 32, 0.92);
  border-bottom: 0;
  background: #0b0713;
  box-shadow: 0 -20px 80px -30px rgba(40, 10, 90, 0.8);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.6s var(--ease);
}
.duo-shot .live-frame.is-tilting { transition: transform 0.12s linear !important; }
.duo-shot .live-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.duo-shot.is-contain .live-frame > img { object-fit: contain; }

/* package page: click-to-interact overlay */
.live-cta {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(5, 3, 8, 0.55), rgba(5, 3, 8, 0.05) 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.is-live .live-cta { opacity: 1; }
.live-cta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  margin-bottom: 28px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.9);
  box-shadow: 0 12px 30px -10px rgba(139, 92, 246, 1);
  transition: transform 0.25s var(--ease);
}
.live-cta:hover span { transform: translateY(-3px) scale(1.03); }
.is-interactive .live-cta { display: none; }
.live-exit {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: rgba(5, 3, 8, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.is-interactive .live-exit { display: inline-flex; }

/* live demos are laid out for 16:9 screens */
.device-tablet .device-screen { aspect-ratio: 16 / 9; }
.duo-shot .live-frame { aspect-ratio: 16 / 9; }
.duo-card { min-height: 640px; padding-top: 70px; }
.duo-shot { width: 94%; margin-top: 44px; }
@media (max-width: 800px) { .duo-card { min-height: 0; padding-top: 56px; } }

/* sharper screenshots on screens + no upscaled/blurry poster fallback */
.device-screen img, .duo-shot .live-frame > img, .product-media img { image-rendering: auto; backface-visibility: hidden; }
img.is-poster { object-fit: contain !important; object-position: 50% 50% !important; background: radial-gradient(80% 80% at 50% 50%, #1a1030, #07050d); }

/* ---------- checkout fields dialog (e.g. web panel Discord ID) ---------- */
.ask { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 16px; }
.ask-backdrop { position: absolute; inset: 0; background: rgba(3, 2, 6, 0.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s ease; }
.ask-panel { position: relative; width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.ask.is-open .ask-backdrop { opacity: 1; }
.ask.is-open .ask-panel { opacity: 1; transform: none; }
.ask-body { display: grid; gap: 18px; padding: 4px 22px 20px; }
.ask-field { display: grid; gap: 7px; }
.ask-field > span { font-size: 14px; font-weight: 700; }
.ask-field input { height: 48px; padding: 0 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); outline: none; }
.ask-field input:focus { border-color: var(--violet); }
.ask-field small { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.ask-error { font-size: 12.5px; font-style: normal; font-weight: 700; color: #f87171; }
@media (prefers-reduced-motion: reduce) { .ask-backdrop, .ask-panel { transition: none; } }
