/* =====================================================================
   AM STUDIOS — Premium Tebex Store Theme
   Resource showcase: AM Airdrop Heist
   Palette: blue / black / white  •  1080p first, responsive
   ===================================================================== */

/* ----------------------------- TOKENS ------------------------------ */
:root {
  --blue:        #2b9bff;
  --blue-bright: #4db4ff;
  --blue-deep:   #0a4fd1;
  --blue-glow:   rgba(43, 155, 255, 0.45);

  --bg:          #04060d;
  --bg-2:        #060a16;
  --panel:       #0b1122;
  --panel-2:     #0e1730;
  --stroke:      rgba(120, 160, 220, 0.14);
  --stroke-2:    rgba(120, 160, 220, 0.28);

  --white:       #eef4ff;
  --silver:      #c4d2e6;
  --text:        #b8c4da;
  --text-dim:    #7a89a6;

  --radius:      18px;
  --radius-sm:   12px;
  --maxw:        1240px;

  --shadow:      0 24px 60px -20px rgba(0, 0, 0, 0.75);
  --shadow-blue: 0 18px 50px -12px rgba(43, 155, 255, 0.45);

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);

  /* overridable from Tebex config() */
  --c-primary:   var(--blue);
}

/* ----------------------------- RESET ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  letter-spacing: 0.1px;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
/* keep form fields and inputs selectable/editable */
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text; -moz-user-select: text; -ms-user-select: text; user-select: text;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  color: var(--white);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.5px;
}

::selection { background: var(--blue); color: #001; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--blue-deep), var(--blue));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

/* --------------------------- BACKGROUND ---------------------------- */
/* Cinematic technical scene: deep base lighting, masked grid, slow scan
   beam, a pointer-tracked spotlight and a couple of very soft ambient
   lights. Calmer and more intentional than the old blob field. */
.bg-fx {
  position: fixed; inset: 0; z-index: -4; pointer-events: none;
  background:
    radial-gradient(1100px 680px at 82% -14%, rgba(43,155,255,0.16), transparent 60%),
    radial-gradient(900px 760px at -10% 114%, rgba(96,76,220,0.10), transparent 55%),
    linear-gradient(180deg, #05070f 0%, #03040a 72%);
}
/* pointer-tracked ambient spotlight (defaults to top-centre) */
.bg-fx::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(560px 560px at var(--px, 50%) var(--py, 14%),
    rgba(54,170,255,0.14), rgba(54,170,255,0.05) 38%, transparent 64%);
  transition: background-position .2s linear;
}

/* technical grid + scan beam */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none; overflow: hidden;
  background-image:
    linear-gradient(rgba(120,170,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,235,0.05) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 6%, rgba(0,0,0,0.55) 42%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 6%, rgba(0,0,0,0.55) 42%, transparent 78%);
}
.bg-grid::before { /* slow horizontal scan line travelling down */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 32%;
  background: linear-gradient(180deg, transparent, rgba(54,180,255,0.08) 60%, rgba(120,200,255,0.16) 86%, transparent);
  animation: bgScan 11s linear infinite;
}
.bg-grid::after { /* faint vertical data rail with a travelling glow */
  content: ""; position: absolute; top: 0; bottom: 0; left: 18%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(54,180,255,0.18), transparent) 0 -40% / 100% 220% no-repeat,
              linear-gradient(rgba(120,170,235,0.07), rgba(120,170,235,0.07));
  animation: bgRail 7.5s ease-in-out infinite;
}

.bg-aurora {
  position: fixed; inset: -25% -12% auto -12%; height: 78vh; z-index: -3; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 50%,
    rgba(43,155,255,0) 0deg, rgba(43,155,255,0.18) 80deg,
    rgba(54,224,255,0.14) 160deg, rgba(96,76,220,0.16) 250deg,
    rgba(43,155,255,0) 360deg);
  filter: blur(80px); opacity: 0.32;
  animation: auroraSpin 40s linear infinite;
  -webkit-mask-image: radial-gradient(60% 82% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(60% 82% at 50% 0%, #000, transparent 78%);
}
.bg-blob {
  position: fixed; z-index: -3; border-radius: 50%; filter: blur(90px);
  opacity: 0.26; pointer-events: none; mix-blend-mode: screen; will-change: transform;
}
.bg-blob.b1 { width: 520px; height: 520px; top: -140px; left: -120px;
  background: radial-gradient(circle, #1f6bff, transparent 70%); animation: blob1 36s ease-in-out infinite; }
.bg-blob.b2 { width: 480px; height: 480px; top: 30%; right: -200px;
  background: radial-gradient(circle, #36e0ff, transparent 70%); animation: blob2 42s ease-in-out infinite; }
.bg-blob.b3 { width: 560px; height: 560px; bottom: -260px; left: 34%;
  background: radial-gradient(circle, #5a52e6, transparent 70%); animation: blob3 48s ease-in-out infinite; opacity: .5; }
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes auroraSpin { to { transform: rotate(360deg); } }
@keyframes bgScan { 0% { transform: translateY(-40%); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(330%); opacity: 0; } }
@keyframes bgRail { 0%,100% { background-position: 0 -40%, 0 0; } 50% { background-position: 0 140%, 0 0; } }
@keyframes blob1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(60px,44px) scale(1.12); } }
@keyframes blob2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,36px) scale(1.08); } }
@keyframes blob3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(44px,-52px) scale(1.1); } }

/* ---------------------------- LAYOUT ------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.section { padding: 110px 0; position: relative; }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Sora', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--blue-bright);
  padding: 7px 14px;
  border: 1px solid var(--stroke-2);
  border-radius: 100px;
  background: rgba(43,155,255,0.06);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: pulse 2s infinite; }

.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.head h2 { font-size: clamp(30px, 4vw, 46px); margin: 18px 0 14px; }
.head p  { color: var(--text-dim); font-size: 17px; }

.grad-text {
  background: linear-gradient(100deg, #fff 10%, var(--blue-bright) 55%, var(--blue-deep) 95%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------------------------- BUTTONS ------------------------------ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px;
  padding: 15px 28px; border-radius: 14px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
  white-space: nowrap; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: var(--shadow-blue), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary::before { /* sheen sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.45) 50%, transparent 80%);
  transform: translateX(-120%);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -10px var(--blue-glow); }
.btn-primary:hover::before { animation: sheen 0.9s var(--ease); }
.btn-primary:active { transform: translateY(-1px) scale(.99); }

.btn-ghost {
  color: var(--white);
  border: 1px solid var(--stroke-2);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--blue); background: rgba(43,155,255,0.08); transform: translateY(-3px); }

.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; }

@keyframes sheen { to { transform: translateX(120%); } }

/* ----------------------------- HEADER ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(5,8,16,0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--stroke);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text);
  padding: 9px 14px; border-radius: 10px; transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* brand / logo */
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 46px; height: 46px; }
.brand .brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-txt b { font-family: 'Sora'; font-size: 17px; color: #fff; letter-spacing: .5px; }
.brand .brand-txt span { font-size: 9.5px; letter-spacing: 4px; color: var(--blue-bright); text-transform: uppercase; margin-top: 3px; }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--stroke-2); }
.nav-burger span { display:block; width:18px; height:2px; background:#fff; margin:3px auto; border-radius:2px; }

/* Tebex header cluster: currency · cart · account */
.hdr-pill {
  display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 13px;
  border-radius: 11px; border: 1px solid var(--stroke-2); background: rgba(255,255,255,0.03);
  color: var(--silver); font-size: 13.5px; font-weight: 600; font-family: 'Sora', sans-serif;
  transition: border-color .3s, color .3s, background .3s, transform .3s var(--ease);
}
.hdr-pill:hover { border-color: var(--blue); color: #fff; background: rgba(43,155,255,0.08); transform: translateY(-1px); }
.hdr-pill svg { width: 16px; height: 16px; flex: 0 0 auto; }
.hdr-pill .caret { width: 12px; height: 12px; opacity: .7; }
.hdr-cart { position: relative; }
.cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center;
  box-shadow: 0 4px 12px -2px var(--blue-glow); border: 1.5px solid var(--bg);
}
.hdr-account .av-sm {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.hdr-account .logout { display: inline-flex; color: var(--text-dim); transition: color .3s; }
.hdr-account .logout:hover { color: var(--blue-bright); }

/* ------------------------------ HERO ------------------------------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  padding: 8px 16px; border-radius: 100px;
  border: 1px solid var(--stroke-2); background: rgba(43,155,255,0.07);
  font-size: 12.5px; color: var(--silver); letter-spacing: .4px;
}
.hero-badge b { color: var(--blue-bright); font-weight: 700; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 66px);
  line-height: 1.04; letter-spacing: -1.6px; margin-bottom: 22px;
}
.hero p.lead { font-size: 18px; color: var(--text); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat b {
  display: block; font-family: 'Sora'; font-size: 26px; color: #fff;
  background: linear-gradient(120deg,#fff,var(--blue-bright));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stats .stat span { font-size: 12.5px; color: var(--text-dim); letter-spacing: .3px; }

/* hero visual / animated logo stage */
.hero-stage {
  position: relative; aspect-ratio: 1/1; display: grid; place-items: center;
}
.hero-stage .ring {
  position: absolute; border: 1px solid rgba(120,160,220,0.15); border-radius: 50%;
  inset: 10%; animation: spin 46s linear infinite;
}
.hero-stage .ring:nth-child(2) { inset: 24%; border-style: dashed; border-color: rgba(43,155,255,0.18); animation-duration: 62s; animation-direction: reverse; }
.hero-stage .glow {
  position: absolute; inset: 18%; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow), transparent 65%);
  filter: blur(30px); animation: breathe 6s ease-in-out infinite;
}
.hero-orb {
  position: absolute; width: 9px; height: 9px; border-radius: 50%; z-index: 2;
  background: var(--blue-bright); box-shadow: 0 0 16px var(--blue);
  animation: orbPulse 4s ease-in-out infinite;
}
.hero-orb:nth-of-type(2) { animation-delay: .8s; }
.hero-orb:nth-of-type(3) { animation-delay: 1.6s; }
.hero-orb:nth-of-type(4) { animation-delay: 2.4s; }

/* --------------------------- TRUST STRIP --------------------------- */
.trust { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,0.012); }
.trust-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 0; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 11px; color: var(--text-dim); font-size: 14px; }
.trust-item svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; }
.trust-item b { color: var(--silver); font-weight: 600; }

/* --------------------------- PREVIEWS ------------------------------ */
.preview-marquee { position: relative; overflow: hidden; padding: 14px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 38s linear infinite; }
.preview-marquee:hover .marquee-track { animation-play-state: paused; }
.shot {
  position: relative; width: 460px; aspect-ratio: 16/9; flex: 0 0 auto;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--stroke-2); background: var(--panel);
  box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .4s;
}
.shot:hover { transform: translateY(-8px) scale(1.015); border-color: var(--blue); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot .shot-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: 'Sora'; font-size: 12px; font-weight: 600; letter-spacing: .4px; color: #fff;
  padding: 6px 12px; border-radius: 8px; background: rgba(4,6,13,0.6); backdrop-filter: blur(6px);
  border: 1px solid var(--stroke-2);
}
.shot::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 55%, rgba(4,6,13,0.55)); }
/* gradient placeholder fill when no img */
.shot-fill { width:100%; height:100%; display:grid; place-items:center; background:
  radial-gradient(120% 120% at 20% 0%, rgba(43,155,255,0.22), transparent 50%),
  linear-gradient(135deg, var(--panel-2), var(--panel)); }
.shot-fill svg { width: 64px; height: 64px; color: rgba(43,155,255,0.5); }

/* --------------------------- FEATURES ------------------------------ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--stroke); overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card::before { /* hover glow follows top */
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); border-color: var(--stroke-2); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(43,155,255,0.18), rgba(10,79,209,0.1));
  border: 1px solid var(--stroke-2); color: var(--blue-bright);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { font-size: 14.5px; color: var(--text-dim); }

/* ------------------------- WHY CHOOSE US ---------------------------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why-item {
  display: flex; gap: 18px; padding: 26px; border-radius: var(--radius);
  border: 1px solid var(--stroke); background: rgba(255,255,255,0.015);
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}
.why-item:hover { border-color: var(--blue); background: rgba(43,155,255,0.05); transform: translateY(-4px); }
.why-item .num {
  font-family: 'Sora'; font-size: 15px; font-weight: 700; color: var(--blue-bright);
  width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--stroke-2); background: rgba(43,155,255,0.06);
}
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--text-dim); }

/* --------------------------- CATALOG ------------------------------- */
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* scrolling release carousel */
.catalog-marquee {
  position: relative; overflow: hidden; padding: 28px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.catalog-track { display: flex; gap: 24px; width: max-content; animation: marquee 48s linear infinite; }
.catalog-marquee:hover .catalog-track { animation-play-state: paused; }
.catalog-track .product-card { width: 376px; flex: 0 0 auto; }
@media (max-width: 560px) { .catalog-track .product-card { width: 300px; } }
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--stroke);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, var(--ty, 0px), 0);
  transition: transform .45s var(--ease), border-color .4s, box-shadow .4s;
}
.product-card.tilt { transition: transform .12s ease-out, border-color .4s, box-shadow .4s; }
.product-card:hover { --ty: -7px; border-color: var(--blue); box-shadow: var(--shadow-blue); }
/* pointer-tracked spotlight that follows the cursor across the card */
.product-card::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(90,185,255,0.16), transparent 46%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.product-card:hover::before { opacity: 1; }
.pc-media { position: relative; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--stroke); }
.pc-media img, .pc-media .shot-fill { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family:'Sora'; font-size: 10.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff;
  padding: 5px 10px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 6px 16px -4px var(--blue-glow);
}
.pc-badge.soon { background: rgba(8,12,24,0.78); border: 1px solid var(--stroke-2); color: var(--silver); }
.pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 19px; margin-bottom: 8px; }
.pc-body p, .pc-desc { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; flex: 1; }
.pc-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc-desc * { display: inline !important; margin: 0; font-size: inherit; color: inherit; font-weight: inherit; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.pc-tag { font-size: 11px; color: var(--silver); padding: 4px 9px; border-radius: 6px; border: 1px solid var(--stroke); background: rgba(255,255,255,0.02); }
.pc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; }
.pc-price { font-family:'Sora'; font-weight: 800; font-size: 24px; color: #fff;
  background: linear-gradient(120deg,#fff,var(--blue-bright)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.pc-price small { font-size: 13px; color: var(--text-dim); text-decoration: line-through; -webkit-text-fill-color: var(--text-dim); margin-left: 6px; }
.pc-foot .btn { padding: 11px 18px; font-size: 14px; }

/* --------------------------- SHOWCASE ------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--stroke-2); box-shadow: var(--shadow);
}
.split-media img { width:100%; height:100%; object-fit: cover; }
.split ul { list-style: none; margin-top: 22px; display: grid; gap: 13px; }
.split li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text); }
.split li svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }
.split li b { color: var(--white); }

/* ----------------------------- PRICE ------------------------------- */
.pricing { display: grid; place-items: center; }
.price-card {
  position: relative; width: 100%; max-width: 460px; padding: 40px;
  border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--stroke-2); box-shadow: var(--shadow);
  overflow: hidden;
}
.price-card::before {
  content:""; position:absolute; inset:0; padding:1px; border-radius:24px; pointer-events:none;
  background: linear-gradient(140deg, var(--blue), transparent 40%, transparent 60%, var(--blue-deep));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity:.7;
}
.price-tag { display: inline-flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.price-tag .cur { font-family:'Sora'; font-size: 22px; color: var(--silver); }
.price-tag .amt { font-family:'Sora'; font-size: 58px; font-weight: 800; color: #fff; line-height: 1;
  background: linear-gradient(120deg,#fff,var(--blue-bright)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.price-tag .old { font-size: 20px; color: var(--text-dim); text-decoration: line-through; }
.price-card .feats { list-style:none; text-align:left; margin: 26px 0; display:grid; gap:12px; }
.price-card .feats li { display:flex; gap:10px; font-size:14.5px; color:var(--text); }
.price-card .feats li svg { width:18px; height:18px; color:var(--blue); flex:0 0 auto; }
.price-note { font-size: 12.5px; color: var(--text-dim); margin-top: 14px; }

/* ---------------------------- REVIEWS ------------------------------ */
.reviews-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review {
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--stroke); transition: transform .4s var(--ease), border-color .4s;
}
.review:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--blue-bright); }
.stars svg { width: 16px; height: 16px; }
.review p { font-size: 14.5px; color: var(--text); margin-bottom: 18px; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer .av {
  width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font-family:'Sora'; font-weight:700; color:#fff; font-size:15px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); border: 1px solid var(--stroke-2);
}
.reviewer b { display: block; font-size: 14px; color: var(--white); }
.reviewer span { font-size: 12.5px; color: var(--text-dim); }

/* ------------------------------ FAQ -------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--stroke); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.014); overflow: hidden; transition: border-color .3s, background .3s;
}
.faq-item.open { border-color: var(--blue); background: rgba(43,155,255,0.04); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left; font-family:'Sora'; font-weight: 600; font-size: 16px; color: var(--white);
}
.faq-q .chev { width: 22px; height: 22px; flex: 0 0 auto; color: var(--blue-bright); transition: transform .35s var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 22px; font-size: 14.5px; color: var(--text-dim); }

/* ------------------------------- CTA ------------------------------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; text-align: center;
  padding: 70px 32px; border: 1px solid var(--stroke-2);
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(43,155,255,0.25), transparent 60%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
}
.cta-band h2 { font-size: clamp(28px,3.6vw,42px); margin-bottom: 14px; }
.cta-band p { color: var(--text); max-width: 560px; margin: 0 auto 30px; font-size: 17px; }

/* ----------------------------- FOOTER ------------------------------ */
.site-footer { border-top: 1px solid var(--stroke); margin-top: 40px; padding: 56px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 16px; font-family:'Sora'; }
.footer-grid a { display: block; font-size: 14px; color: var(--text); padding: 5px 0; transition: color .25s; }
.footer-grid a:hover { color: var(--blue-bright); }
.footer-about p { font-size: 14px; color: var(--text-dim); margin: 16px 0; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--stroke-2); color: var(--silver); transition: all .3s; }
.socials a:hover { border-color: var(--blue); color: var(--blue-bright); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--stroke); flex-wrap: wrap; }
.footer-bottom span { font-size: 13px; color: var(--text-dim); }

/* product page specific */
.product-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; padding-top: 40px; }
.gallery { display: grid; gap: 14px; }
.gallery-main { aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--stroke-2); box-shadow: var(--shadow); }
.gallery-main img, .gallery-main .shot-fill { width:100%; height:100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.gallery-thumbs .thumb { aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; border: 1px solid var(--stroke); cursor: pointer; opacity: .65; transition: opacity .3s, border-color .3s; }
.gallery-thumbs .thumb.active, .gallery-thumbs .thumb:hover { opacity: 1; border-color: var(--blue); }
.gallery-thumbs .thumb img, .gallery-thumbs .thumb .shot-fill { width:100%; height:100%; object-fit:cover; }
.buy-panel { position: sticky; top: 100px; }

/* ------------------------- ANIMATION HOOKS ------------------------- */
.reveal {
  opacity: 0; transform: translateY(28px) scale(.986); filter: blur(6px);
  transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* keyframes */
@keyframes pulse   { 0%,100% { opacity:1; transform:scale(1);} 50% { opacity:.4; transform:scale(.7);} }
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes float   { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }
@keyframes breathe { 0%,100% { opacity:.55; transform:scale(.96);} 50% { opacity:.9; transform:scale(1.04);} }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes logoSweep { to { background-position: 200% center; } }

/* logo shimmer (applied to svg gradient stops via class on wrapper) */
.logo-shimmer { animation: float 7s ease-in-out infinite; }

/* ----------------------------- LOGO -------------------------------- */
.brand { line-height: 0; }
.brand .logo-img {
  height: 46px; width: auto; display: block;
  filter: drop-shadow(0 6px 18px rgba(43,155,255,0.45));
  transition: transform .4s var(--ease), filter .4s;
}
.brand:hover .logo-img { transform: translateY(-1px) scale(1.02); filter: drop-shadow(0 8px 26px rgba(54,224,255,0.6)); }

.hero-logo {
  width: 68%; height: auto; position: relative; z-index: 3;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 26px 60px rgba(43,155,255,0.55)) drop-shadow(0 0 34px rgba(54,224,255,0.22));
}
.about-logo {
  width: 64%; height: auto; position: relative; z-index: 3;
  filter: drop-shadow(0 18px 46px rgba(43,155,255,0.5));
}
.hero-logo-glow {
  position: absolute; inset: 20%; z-index: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(43,155,255,0.5), rgba(54,224,255,0.12) 45%, transparent 65%);
  filter: blur(40px); animation: breathe 6s ease-in-out infinite;
}
/* text wordmark fallback (used only if logo.png is missing) */
.logo-wm { font-family: 'Sora'; font-weight: 800; letter-spacing: 1px; color: #fff; font-size: 22px; display: inline-flex; gap: 8px; align-items: center; }
.logo-wm b { background: linear-gradient(120deg, #fff, var(--blue-bright)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.logo-wm.xl { font-size: 50px; position: relative; z-index: 3; }

/* --------------------------- PREMIUM POLISH ------------------------ */
.site-header.scrolled { background: rgba(5,8,16,0.72); box-shadow: 0 10px 40px -22px rgba(0,0,0,0.85); }

/* gradient hairline that intensifies on hover (premium glass edge) */
.product-card::after, .review::after, .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, rgba(140,190,255,0.42), transparent 40%, transparent 60%, rgba(54,224,255,0.26));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0.55; transition: opacity .45s;
}
.product-card:hover::after, .review:hover::after, .card:hover::after { opacity: 1; }

/* soft glow behind gradient headings */
.grad-text { filter: drop-shadow(0 2px 18px rgba(43,155,255,0.28)); }

/* glassy eyebrow chips */
.eyebrow { backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); }

/* product card — clickable media, reveal label, add-to-basket */
.pc-media { display: block; }
.pc-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(4,6,13,0.62));
  opacity: 0.85; transition: opacity .4s;
}
.product-card:hover .pc-media::after { opacity: 1; }
.pc-view {
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  font-family: 'Sora'; font-size: 12px; font-weight: 600; letter-spacing: .3px; color: #fff;
  padding: 7px 12px; border-radius: 9px; background: rgba(8,12,24,0.6); border: 1px solid var(--stroke-2);
  backdrop-filter: blur(6px); opacity: 0; transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.product-card:hover .pc-view { opacity: 1; transform: none; }
.pc-title { display: block; color: inherit; }
.pc-title h3 { transition: color .3s; }
.product-card:hover .pc-title h3 { color: var(--blue-bright); }
.pc-add { white-space: nowrap; }
.pc-add svg { width: 16px; height: 16px; }
.pc-price { font-size: 25px; }

/* =====================================================================
   MOTION SYSTEM v2 — pointer light, magnetism, nav rail, hero HUD,
   mobile sheet, gallery + FAQ + checkout polish.
   ===================================================================== */

/* ---- slim scroll-progress indicator (top of viewport) ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 2px; z-index: 80;
  transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; will-change: transform;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-bright));
  box-shadow: 0 0 12px var(--blue-glow);
}

/* ---- nav: active state + sliding light rail (desktop) ---- */
.nav-links { position: relative; }
.nav-links a.active { color: var(--white); }
.nav-rail {
  position: absolute; left: 0; bottom: 8px; width: 0; height: 2px; border-radius: 2px;
  opacity: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue), var(--blue-bright));
  box-shadow: 0 0 12px var(--blue-glow);
  transition: transform .42s var(--ease), width .42s var(--ease), opacity .3s ease;
}

/* ---- cart badge motion (entrance + hover) ---- */
.cart-badge { animation: cartPop .55s var(--ease) both; }
.hdr-cart:hover .cart-badge { animation: cartBounce .6s var(--ease); }

/* ---- mobile nav backdrop + burger morph + scroll lock (global) ---- */
.nav-backdrop {
  position: fixed; inset: 0; z-index: 50; opacity: 0; pointer-events: none;
  background: rgba(3,5,10,0.62); backdrop-filter: blur(3px);
  transition: opacity .35s ease;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
body.nav-locked { overflow: hidden; }
/* keep logo + close button crisp above the open sheet */
body.nav-locked .site-header { background: rgba(6,9,18,0.96); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--stroke); }
.nav-burger span { transition: transform .35s var(--ease), opacity .2s ease; }
.nav-burger.is-open { border-color: var(--blue); }
.nav-burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---- hero: pointer spotlight beam + floating HUD chips ---- */
.hero-beam {
  position: absolute; inset: 6%; z-index: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(44% 44% at var(--hx, 50%) var(--hy, 50%),
    rgba(60,180,255,0.32), rgba(60,180,255,0.07) 52%, transparent 72%);
  filter: blur(10px); mix-blend-mode: screen;
}
.hud-chip { position: absolute; z-index: 4; pointer-events: none; will-change: transform; }
.hud-inner {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(14,20,38,0.94), rgba(9,13,26,0.9));
  border: 1px solid var(--stroke-2); backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px -18px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.05);
  font-family: 'Sora', sans-serif; white-space: nowrap;
  animation: chipFloat 6s ease-in-out infinite;
}
.hud-inner .ic {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(43,155,255,0.22), rgba(10,79,209,0.12));
  border: 1px solid var(--stroke-2); color: var(--blue-bright);
}
.hud-inner .ic svg { width: 15px; height: 15px; }
.hud-inner .hud-tx { display: flex; flex-direction: column; }
.hud-inner b { font-size: 12.5px; color: #fff; line-height: 1.1; font-weight: 700; }
.hud-inner i { font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-dim); font-style: normal; margin-top: 3px; }
.hud-perf   { top: 7%;    left: -2%; }
.hud-secure { top: 40%;   right: 1%; }
.hud-fw     { bottom: 8%; left: 6%;  }
.hud-secure .hud-inner { animation-delay: 1.3s; }
.hud-fw .hud-inner     { animation-delay: 2.4s; }

/* ---- magnetic large CTAs ---- */
.btn-lg.magnetic {
  transform: translate3d(var(--bx, 0px), var(--by, 0px), 0);
  transition: transform .3s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn-lg.magnetic:active { transform: translate3d(var(--bx, 0px), var(--by, 0px), 0) scale(.98); }

/* ---- product card: animated border light-sweep on hover ---- */
.product-card::after { background-size: 220% 100%; }
.product-card:hover::after { opacity: 1; animation: borderShimmer 3.2s linear infinite; }

/* ---- package gallery crossfade ---- */
.gallery-main { position: relative; }
.gallery-main > * { transition: opacity .3s var(--ease), transform .45s var(--ease); }
.gallery-main.swap-out > * { opacity: 0; transform: scale(1.05); }
.gallery-main.swap-in  > * { opacity: 0; transform: scale(.96); }
.gallery-thumbs .thumb { transition: opacity .3s, border-color .3s, transform .3s var(--ease); }
.gallery-thumbs .thumb:hover { transform: translateY(-2px); }

/* video thumbnail (play button) + embedded YouTube player */
.gallery-thumbs .thumb-video { position: relative; background: #05070d; }
.gallery-thumbs .thumb-video img { opacity: .82; }
.gallery-thumbs .thumb-video::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(43,155,255,.4), transparent 62%); opacity: 0; transition: opacity .3s; }
.gallery-thumbs .thumb-video:hover::after { opacity: 1; }
.thumb-play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.thumb-play svg { width: 15px; height: 15px; color: #fff; padding: 9px 8px 9px 11px; background: var(--blue); border-radius: 50%; box-shadow: 0 6px 20px -4px rgba(43,155,255,.75); transition: transform .25s var(--ease), background .25s; }
.gallery-thumbs .thumb-video:hover .thumb-play svg { transform: scale(1.16); background: var(--blue-bright); }
.gallery-video { position: absolute; inset: 0; }
.gallery-video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---- generic pointer spotlight overlay (gallery, buy panel, etc.) ---- */
.spot-layer {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .45s var(--ease);
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(90,185,255,0.13), transparent 46%);
}
.spot-on .spot-layer { opacity: 1; }

/* ---- package buy panel: secure note with pulsing lock ---- */
.price-note { display: inline-flex; align-items: center; gap: 7px; }
.price-note svg { width: 15px; height: 15px; color: var(--blue-bright); flex: 0 0 auto; }

/* ---- FAQ answer reveal + question hover ---- */
.faq-q { transition: color .25s ease; }
.faq-q:hover { color: var(--blue-bright); }
.faq-a p { opacity: 0; transform: translateY(-6px); transition: opacity .35s ease .04s, transform .4s var(--ease) .04s; }
.faq-item.open .faq-a p { opacity: 1; transform: none; }

/* ---- checkout trust motion (decorative only; Tebex injects #checkout) ---- */
.checkout-shell { max-width: 760px; margin: 0 auto; }
.checkout-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 22px; }
.ct-item {
  display: inline-flex; align-items: center; gap: 8px; font-family: 'Sora', sans-serif;
  font-size: 13px; color: var(--silver); padding: 9px 14px; border-radius: 11px;
  border: 1px solid var(--stroke-2); background: rgba(255,255,255,0.025);
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.ct-item:hover { border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.ct-item svg { width: 16px; height: 16px; color: var(--blue-bright); flex: 0 0 auto; }
.ct-item .pulse-lock { animation: lockPulse 2.4s ease-in-out infinite; }
.checkout-region { position: relative; overflow: hidden; }
.checkout-region::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(120deg, transparent, var(--blue) 50%, transparent) 0 0 / 220% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5;
  animation: borderShimmer 4.5s linear infinite;
}
.checkout-foot { text-align: center; color: var(--text-dim); font-size: 12.5px; margin-top: 16px; }

/* ---- checkout order summary (basket review) ---- */
.co-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--stroke); }
.co-row:last-of-type { border-bottom: 0; }
.co-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.co-thumb {
  width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(43,155,255,.18), rgba(10,79,209,.1)); border: 1px solid var(--stroke-2); color: var(--blue-bright);
}
.co-thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-thumb svg { width: 22px; height: 22px; }
.co-meta { min-width: 0; }
.co-meta b { display: block; color: var(--white); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-meta span { font-size: 12.5px; color: var(--text-dim); }
.co-price { font-family: 'Sora', sans-serif; font-weight: 700; color: #fff; flex: 0 0 auto; }
.co-total { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--stroke-2); }
.co-total > span:first-child { color: var(--text-dim); font-size: 14px; }
.co-total .amt { font-size: 32px; }

/* ---- basket controls (quantity +/- , remove) ---- */
.basket-header { display: none; }
.co-row.basket-item { gap: 14px; flex-wrap: wrap; }
.co-meta b a { color: var(--white); transition: color .25s; }
.co-meta b a:hover { color: var(--blue-bright); }
.quantity-field { display: inline-flex; align-items: center; flex: 0 0 auto; border: 1px solid var(--stroke-2); border-radius: 10px; overflow: hidden; }
.qty-btn { width: 32px; height: 34px; display: grid; place-items: center; font-size: 17px; font-weight: 700; line-height: 1; color: var(--silver); background: rgba(255,255,255,0.03); border: 0; cursor: pointer; transition: background .2s, color .2s; }
.qty-btn:hover:not([disabled]) { background: rgba(43,155,255,0.14); color: #fff; }
.qty-btn[disabled] { opacity: .35; cursor: not-allowed; }
.quantity { width: 46px; height: 34px; text-align: center; border: 0; border-left: 1px solid var(--stroke); border-right: 1px solid var(--stroke); background: transparent; color: var(--white); font-family: 'Sora', sans-serif; font-size: 14px; -moz-appearance: textfield; }
.quantity::-webkit-outer-spin-button, .quantity::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co-remove { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--stroke); color: var(--text-dim); transition: border-color .25s, color .25s, background .25s; }
.co-remove:hover { border-color: #ff5470; color: #ff7088; background: rgba(255,84,112,0.08); }
.co-remove svg { width: 15px; height: 15px; }

/* ---- mini-cart popup (floating, top-right, animated "wow") ---- */
.cart-backdrop { position: fixed; inset: 0; z-index: 95; background: transparent; opacity: 0; pointer-events: none; }
.cart-backdrop.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 82px; right: 22px;
  width: 372px; max-width: calc(100vw - 28px); max-height: min(74vh, 620px);
  z-index: 96; display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(15,23,46,0.97), rgba(10,16,32,0.98));
  border: 1px solid var(--stroke-2); border-radius: 18px;
  box-shadow: 0 30px 80px -26px rgba(0,0,0,0.9), 0 0 46px -22px var(--blue-glow), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(20px) saturate(150%);
  transform-origin: top right; opacity: 0; transform: translateY(-14px) scale(.92); pointer-events: none;
  transition: opacity .25s var(--ease), transform .42s cubic-bezier(.18,1.25,.4,1);
}
.cart-drawer::before { /* animated glowing top edge */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-bright), transparent) 0 0 / 200% 100%;
  animation: borderShimmer 3s linear infinite;
}
.cart-drawer.open { opacity: 1; transform: none; pointer-events: auto; }
.cart-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--stroke); }
.cart-drawer-head h3 { font-size: 15.5px; color: var(--white); font-family: 'Sora', sans-serif; display: flex; align-items: center; gap: 9px; }
.cart-drawer-head h3 svg { width: 18px; height: 18px; color: var(--blue-bright); }
.cart-drawer-close { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--stroke-2); color: var(--silver); transition: border-color .25s, color .25s, background .25s, transform .3s var(--ease); }
.cart-drawer-close:hover { border-color: var(--blue); color: #fff; background: rgba(43,155,255,0.1); transform: rotate(90deg); }
.cart-drawer-close svg { width: 16px; height: 16px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 6px 18px 18px; }
.cart-drawer-body .basket-header, .cart-drawer-body .checkout-trust, .cart-drawer-body .head, .cart-drawer-body .checkout-foot { display: none !important; }
.cart-drawer-body .co-row.basket-item { padding: 14px 0; gap: 10px; animation: cartItemIn .45s var(--ease) both; }
.cart-drawer-body .basket-item:nth-child(2) { animation-delay: .06s; }
.cart-drawer-body .basket-item:nth-child(3) { animation-delay: .12s; }
.cart-drawer-body .basket-item:nth-child(n+4) { animation-delay: .18s; }
.cart-drawer-body .co-thumb { width: 42px; height: 42px; }
.cart-drawer-body .co-total { margin-top: 14px; padding-top: 14px; }
.cart-drawer-body .co-total .amt { font-size: 24px; }
.cart-drawer-body .checkout { margin-top: 16px !important; }
.cart-drawer.loading .cart-drawer-body { opacity: .45; pointer-events: none; }
.cart-empty { text-align: center; color: var(--text-dim); padding: 40px 14px; font-size: 14px; }
.cart-empty .btn { margin-top: 16px; }
.pc-add.loading, .checkout.loading { opacity: .6; pointer-events: none; }
@keyframes cartItemIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* login-required toast notification */
.toast-note {
  position: fixed; left: 50%; bottom: 26px; z-index: 120;
  display: flex; align-items: center; gap: 12px; padding: 13px 15px;
  background: linear-gradient(180deg, rgba(16,24,48,0.98), rgba(11,17,34,0.98));
  border: 1px solid var(--stroke-2); border-radius: 13px;
  box-shadow: 0 22px 50px -18px rgba(0,0,0,0.85), 0 0 40px -22px var(--blue-glow);
  color: var(--white); font-size: 14px; font-family: 'Sora', sans-serif;
  transform: translateX(-50%) translateY(26px); opacity: 0;
  transition: opacity .3s ease, transform .45s cubic-bezier(.18,1.2,.4,1); max-width: calc(100vw - 28px);
}
.toast-note.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-note svg { width: 18px; height: 18px; color: var(--blue-bright); flex: 0 0 auto; }
.toast-note .btn { padding: 8px 13px; font-size: 12.5px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .cart-drawer, .toast-note { transition: none; } .cart-drawer-body .basket-item { animation: none; } .cart-drawer::before { animation: none; } }

/* ---- forms (login / package options) ---- */
.auth-wrap { display: grid; place-items: center; min-height: 52vh; }
.auth-card {
  position: relative; width: 100%; max-width: 460px; padding: 38px 34px; overflow: hidden;
  border-radius: 22px; text-align: left;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--stroke-2); box-shadow: var(--shadow);
}
.auth-card::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: 22px; pointer-events: none;
  background: linear-gradient(140deg, var(--blue), transparent 42%, transparent 60%, var(--blue-deep));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6;
}
.auth-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(43,155,255,0.2), rgba(10,79,209,0.1));
  border: 1px solid var(--stroke-2); color: var(--blue-bright);
}
.auth-icon svg { width: 24px; height: 24px; }

.field { margin-bottom: 16px; }
.field-label { display: block; font-family: 'Sora', sans-serif; font-size: 12.5px; color: var(--silver); letter-spacing: .3px; margin-bottom: 8px; }
.field-input {
  width: 100%; padding: 14px 15px; border-radius: 12px; font-family: 'Inter', sans-serif; font-size: 15px;
  color: var(--white); background: rgba(255,255,255,0.03); border: 1px solid var(--stroke-2);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.field-input::placeholder { color: var(--text-dim); }
.field-input:focus {
  outline: none; border-color: var(--blue); background: rgba(43,155,255,0.06);
  box-shadow: 0 0 0 3px rgba(43,155,255,0.14);
}
select.field-input {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234db4ff' stroke-width='2'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.opt-field { margin-bottom: 18px; }
.opt-note { font-size: 12.5px; color: var(--text-dim); margin-top: 10px; }

/* generic feature list (also used outside .price-card, e.g. options.html) */
.feats { list-style: none; display: grid; gap: 12px; }
.feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text); }
.feats li svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; margin-top: 2px; }

/* ---- CMS page typography (arbitrary HTML body) ---- */
.cms-content { color: var(--text); line-height: 1.8; font-size: 15.5px; }
.cms-content > *:first-child { margin-top: 0; }
.cms-content h1, .cms-content h2, .cms-content h3, .cms-content h4 { color: var(--white); margin: 28px 0 12px; line-height: 1.2; }
.cms-content h1 { font-size: 30px; } .cms-content h2 { font-size: 24px; } .cms-content h3 { font-size: 19px; }
.cms-content p { margin: 0 0 16px; }
.cms-content a { color: var(--blue-bright); text-decoration: underline; text-underline-offset: 3px; }
.cms-content a:hover { color: var(--blue); }
.cms-content ul, .cms-content ol { margin: 0 0 16px; padding-left: 22px; }
.cms-content li { margin: 6px 0; }
.cms-content img { border-radius: var(--radius-sm); border: 1px solid var(--stroke); margin: 12px 0; }
.cms-content blockquote { margin: 18px 0; padding: 14px 20px; border-left: 3px solid var(--blue); background: rgba(43,155,255,0.05); border-radius: 0 12px 12px 0; color: var(--silver); }
.cms-content code { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .9em; background: rgba(255,255,255,0.05); padding: 2px 7px; border-radius: 6px; border: 1px solid var(--stroke); }
.cms-content hr { border: 0; border-top: 1px solid var(--stroke); margin: 28px 0; }

/* ---- motion keyframes (v2) ---- */
@keyframes orbPulse      { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }
@keyframes chipFloat     { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes cartPop       { 0% { transform: scale(0); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes cartBounce    { 0%,100% { transform: translateY(0) scale(1); } 35% { transform: translateY(-4px) scale(1.1); } }
@keyframes borderShimmer { to { background-position: 220% 0; } }
@keyframes lockPulse     { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

/* ---- mobile nav sheet ---- */
@media (max-width: 820px) {
  .nav-links {
    position: fixed; left: 0; right: 0; top: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    padding: calc(76px + 16px) 20px 24px;
    background: linear-gradient(180deg, rgba(8,11,22,0.97), rgba(6,9,18,0.95));
    backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--stroke-2);
    box-shadow: 0 34px 70px -28px rgba(0,0,0,0.85);
    transform: translateY(-102%); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .5s var(--ease), opacity .35s ease, visibility .35s;
    z-index: 55;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a {
    font-size: 16px; padding: 14px 16px; border-radius: 12px;
    border: 1px solid var(--stroke); background: rgba(255,255,255,0.02);
    opacity: 0; transform: translateY(10px);
  }
  .nav-links.open a { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .45s var(--ease); }
  .nav-links.open a:nth-child(1) { transition-delay: .07s; }
  .nav-links.open a:nth-child(2) { transition-delay: .12s; }
  .nav-links.open a:nth-child(3) { transition-delay: .17s; }
  .nav-links.open a:nth-child(4) { transition-delay: .22s; }
  .nav-links.open a:nth-child(5) { transition-delay: .27s; }
  .nav-links.open a:nth-child(6) { transition-delay: .32s; }
  .nav-links a:hover { border-color: var(--blue); background: rgba(43,155,255,0.07); color: #fff; }
  .nav-rail { display: none; }
}

/* =====================================================================
   PERFORMANCE — pause ambient motion off-tab, skip offscreen rendering
   ===================================================================== */
/* When the tab is hidden, stop all looping ambient animation (saves CPU/GPU
   and battery). Re-enabled the moment the tab becomes visible again. */
body.anim-paused .bg-aurora,
body.anim-paused .bg-blob,
body.anim-paused .bg-grid::before,
body.anim-paused .bg-grid::after,
body.anim-paused .hero-beam,
body.anim-paused .hero-stage .ring,
body.anim-paused .hero-stage .glow,
body.anim-paused .hero-logo,
body.anim-paused .hero-logo-glow,
body.anim-paused .hero-orb,
body.anim-paused .hud-inner,
body.anim-paused .marquee-track,
body.anim-paused .catalog-track,
body.anim-paused .eyebrow .dot,
body.anim-paused .pulse-lock { animation-play-state: paused !important; }

/* Marquees stop scrolling while completely off-screen (set by JS). */
.marquee-off .marquee-track,
.marquee-off .catalog-track { animation-play-state: paused !important; }

/* Footer is always last — let the browser skip its rendering until near view. */
.site-footer { content-visibility: auto; contain-intrinsic-size: auto 480px; }

/* --------------------------- RESPONSIVE ---------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { max-width: 440px; margin: 0 auto; }
  .feature-grid, .reviews-row, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .product-hero { grid-template-columns: 1fr; }
  .product-hero > * { min-width: 0; }
  .buy-panel { position: static; }
}
@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .nav-burger { display: block; }
  .why-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hdr-currency { display: none; }
  .acc-name { display: none; }
  .hdr-pill { height: 38px; padding: 0 10px; gap: 5px; }
  .hud-chip { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .feature-grid, .reviews-row, .footer-grid, .catalog-grid { grid-template-columns: 1fr; }
  .shot { width: 300px; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .price-card { padding: 28px 22px; }
  .price-tag .amt { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .scroll-progress { display: none; }
  .bg-grid::before, .bg-grid::after, .hero-beam { display: none; }
  .hud-chip, .hero-orb, .product-card, .btn-lg.magnetic { transform: none !important; }
}
