/* =========================================================
   ALPHA — THEME v3  ·  "Liquid Gold" cinematic edition
   Apple-product-launch aesthetic. Loads AFTER styles.css + fx.css,
   so it elevates the entire look while every commerce hook
   (.product/.mini/.tile/.chip/.modal-card/.cart-*) keeps working.
   Design system grounded in UI/UX Pro Max:
     pattern = Horizontal/Pinned Scroll Journey + Bento Showcase
     style   = Liquid Glass · color = premium light + gold/silver
   ========================================================= */

:root {
  /* refined luxury tokens (layered on the existing gold identity) */
  --bg: #f4f4f6;
  --bg-2: #e9e9ee;
  --ink: #14141a;
  --muted: #5f5f68;

  --gold-grad: linear-gradient(135deg, #f7e6b0 0%, #e3c25a 30%, #c9a227 62%, #9c7a16 100%);
  --gold-line: linear-gradient(90deg, transparent, rgba(201,162,39,.55), transparent);

  --glass: rgba(255,255,255,.62);
  --glass-brd: rgba(255,255,255,.7);
  --glass-blur: saturate(180%) blur(22px);

  --ease-cine: cubic-bezier(.16,1,.3,1);
  --shadow-glow: 0 24px 80px rgba(201,162,39,.18);

  --container: 1240px;

  /* display-grade type */
  --font-display: "Tajawal", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, sans-serif;
}

html { scroll-behavior: auto; } /* Lenis owns smooth scrolling now */

body { font-size: 17.5px; letter-spacing: -.004em; }

/* ===== Elevated type scale — bigger, tighter, more dramatic ===== */
h1 { font-weight: 900; letter-spacing: -.035em; line-height: 1.06; }
.hero-h1 { font-size: clamp(2.7rem, 7.4vw, 5.6rem); line-height: 1.04; }
h2 { font-weight: 900; letter-spacing: -.03em; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; }
.section-head { max-width: 820px; margin-bottom: 64px; }
.section-head p { font-size: clamp(1.1rem, 2.2vw, 1.34rem); }
.kicker { background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-color: rgba(201,162,39,.35); letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; }

/* the gold-text shimmer — richer, with a soft glow */
.gold-text { filter: drop-shadow(0 1px 10px rgba(201,162,39,.18)); }
/* Gold words must FULLY contain Arabic glyphs (ق/ج/ة + hamza/shadda) or they clip.
   inline-block makes the gradient box wrap the whole glyph; generous padding gives
   the descenders/marks room. */
h1 .gold-text, h2 .gold-text, .hero-h1 .gold-text, .chapter h2 .gold-text {
  display: inline-block; line-height: 1.55 !important; padding: .22em .06em .38em !important;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sp-spec b, .snum, .k-word { line-height: 1.5 !important; padding-bottom: .32em; }
/* PERF: the gold shimmer + drop-shadow ran continuously on ~20 elements (constant
   repaint = lag). Keep the shimmer only on the hero; everything else stays static gold. */
.gold-text { animation: none; filter: none; }
.hero-h1 .gold-text { animation: goldsweep 6s linear infinite; }
h1, h2, .hero-h1, .chapter h2, .section-head, .sp-specs, .stats-band { overflow: visible; }

/* ===== Glassy header ===== */
.site-header.scrolled { background: rgba(255,255,255,.55); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: rgba(255,255,255,.5); box-shadow: 0 10px 40px rgba(20,20,30,.06); }
.nav { height: 74px; }
.brand .txt { font-size: 1.22rem; letter-spacing: .05em; }
.icon-btn { background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-color: var(--glass-brd); }

/* ===== Buttons — glossier gold, deeper press ===== */
.btn { font-weight: 800; border-radius: 999px; }
.btn-gold { box-shadow: 0 10px 30px rgba(201,162,39,.34), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-gold:hover { box-shadow: 0 18px 48px rgba(201,162,39,.5), inset 0 1px 0 rgba(255,255,255,.7); }
.btn-soft { background: var(--glass); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-color: var(--glass-brd); }
.btn-lg { padding: 18px 38px; font-size: 1.1rem; min-height: 60px; }

/* ===== HERO — more cinematic spacing + layered depth ===== */
.hero { padding: 120px 0 90px; min-height: 92vh; display: flex; align-items: center; }
.hero .container { width: 100%; }
.hero-bg.ready { opacity: .5; }
.hero-bg-veil { background: radial-gradient(120% 90% at 50% 0%, rgba(244,244,246,.35), rgba(244,244,246,.78) 55%, var(--bg) 90%); }
.logo-badge { border-radius: 36px; box-shadow: 0 40px 100px rgba(201,162,39,.3), 0 8px 30px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.8); }
.logo-media { width: clamp(160px, 40vw, 210px); }
.hero-sub { font-size: clamp(1.15rem, 2.4vw, 1.5rem); max-width: 680px; }
.hero-actions { gap: 16px; margin-top: 8px; }
/* glow ring behind the headline + kinetic word-reveal support */
.hero-h1 { position: relative; perspective: 900px; }
.hero-h1 .w { display: inline-block; will-change: transform, opacity; }
.hero-h1 .gold-text.w { padding-bottom: .1em; } /* keep descenders clear when inline-block */

/* ===== Glass-look cards — NO backdrop-filter (there are ~300 of these; per-frame
   backdrop blur on that many elements destroys scroll perf). Translucent bg gives
   the same look for a fraction of the cost. ===== */
.feature, .pay, .review, .mini, .product, .stats-band, .qa, .jstep {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--glass-brd);
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 50px rgba(20,20,35,.07);
}
html[data-theme="dark"] .feature, html[data-theme="dark"] .pay, html[data-theme="dark"] .review,
html[data-theme="dark"] .mini, html[data-theme="dark"] .product, html[data-theme="dark"] .stats-band,
html[data-theme="dark"] .qa, html[data-theme="dark"] .jstep { background: rgba(20,20,26,.88); }
.feature { border-radius: 24px; padding: 34px; }
.feature:hover { transform: translateY(-8px); box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--shadow-glow); }
.feature .fi { width: 58px; height: 58px; border-radius: 17px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.product { border-radius: 22px; }
.product:hover { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, var(--shadow-glow); }
.mini { border-radius: 22px; }
.tile { box-shadow: 0 6px 18px rgba(20,20,35,.08), inset 0 1px 0 rgba(255,255,255,.7); }

/* ===== Section rhythm + gold hairline dividers ===== */
.section { padding: 128px 0; }
@media (max-width:700px){ .section{ padding: 84px 0; } }
.section-head { position: relative; }
.section-head::after { content: ""; display: block; width: 120px; height: 2px; margin: 26px auto 0; background: var(--gold-line); }

/* ===== Stats band — grander ===== */
.stats-band { border-radius: 30px; padding: 48px 32px; }
.snum { font-size: clamp(2.3rem,4.4vw,3.2rem); }

/* =========================================================
   NEW SECTION 1 — CINEMATIC INTRO (richer wow on open)
   ========================================================= */
.intro { background: radial-gradient(circle at 50% 50%, #1a150b 0%, #000 72%); display: grid; place-items: center; }
.intro::before { width: 120vmax; height: 120vmax; background: radial-gradient(circle, rgba(201,162,39,.22), transparent 58%);
  top: 50%; left: 50%; margin: -60vmax 0 0 -60vmax; } /* center via margin so introGlow's transform stays free */
.intro-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.intro-logo { width: 148px; border-radius: 32px; box-shadow: 0 30px 90px rgba(201,162,39,.55); }
.intro-inner::after { content: "FOR ORIGINAL SOFTWARE"; display: block; margin-top: 18px;
  font-size: .64rem; letter-spacing: .42em; color: #d8b14a; font-weight: 800; opacity: 0;
  animation: introTag 1s ease 0.7s forwards; }
@keyframes introTag { to { opacity: .9; } }
.intro-bar { width: 200px; }

/* =========================================================
   NEW SECTION 2 — PINNED "CHAPTERS" (Apple-ad scroll story)
   ========================================================= */
.chapters { position: relative; }
.chapters .chapter-stage { position: relative; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; place-items: center; background: #07070a; }
.chapter-stage video, .chapter-stage .stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; }
.chapter-stage .stage-fallback { background:
  radial-gradient(60% 80% at 70% 20%, rgba(201,162,39,.5), transparent 60%),
  radial-gradient(50% 70% at 20% 80%, rgba(150,160,175,.4), transparent 60%), #0a0a0f; }
.chapter-stage .stage-veil { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 100% at 50% 50%, rgba(0,0,0,.25), rgba(0,0,0,.72)); }
.chapter-grain { position: absolute; inset: 0; z-index: 2; opacity: .06; pointer-events: none; mix-blend-mode: screen;
  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='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.chapter-track { position: relative; z-index: 3; width: min(1040px, 90vw); text-align: center; }
.chapter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transform: translateY(40px) scale(.96); will-change: transform, opacity; }
.chapter:first-child { position: relative; } /* reserve height */
.chapter .ch-num { font-size: 1.05rem; color: rgba(255,255,255,.5); font-weight: 800; letter-spacing: .3em; margin-bottom: 2px; }
.chapter .ch-kicker { font-size: clamp(.9rem, 1.8vw, 1.12rem); letter-spacing: .2em; text-transform: uppercase; color: #f1d488; font-weight: 800; }
.chapter h2 { color: #fff; font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.06; text-shadow: 0 8px 40px rgba(0,0,0,.5); margin-top: 2px; }
.chapter h2 .gold-text { -webkit-text-fill-color: transparent; }
.chapter p { color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 2.2vw, 1.42rem); font-weight: 500; max-width: 620px; margin: 6px auto 0; }
/* progress rail */
.chapter-rail { position: absolute; z-index: 4; inset-inline-end: 28px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px; }
.chapter-rail i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); transition: all .4s var(--ease-cine); }
.chapter-rail i.on { background: var(--gold-grad); transform: scale(1.5); box-shadow: 0 0 14px rgba(201,162,39,.8); }
@media (max-width:600px){ .chapter-rail{ inset-inline-end: 14px; } }

/* =========================================================
   NEW SECTION 3 — BENTO SHOWCASE (Apple-style modular grid)
   ========================================================= */
.bento { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
@media (min-width: 760px){ .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; } }
.bento-cell { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; cursor: pointer;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--glass-brd); box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 18px 50px rgba(20,20,35,.07);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease-cine), box-shadow .5s var(--ease-cine), border-color .4s; }
.bento-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: rgba(201,162,39,.5); }
.bento-cell .be-glow { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,30%), rgba(201,162,39,.18), transparent 60%); }
.bento-cell:hover .be-glow { opacity: 1; }
.bento-cell .be-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--gold-grad); color: #2a2008; box-shadow: 0 10px 24px rgba(201,162,39,.3); }
.bento-cell .be-ic svg { width: 26px; height: 26px; }
.bento-cell h3 { font-size: 1.25rem; margin-bottom: 2px; }
.bento-cell .be-count { color: var(--muted); font-weight: 700; font-size: .9rem; }
.bento-cell .be-go { position: absolute; inset-inline-end: 22px; top: 24px; color: var(--gold-deep); opacity: .5; transition: transform .4s var(--ease-cine), opacity .4s; }
.bento-cell:hover .be-go { opacity: 1; transform: translateX(-6px); }
[dir="rtl"] .bento-cell:hover .be-go { transform: translateX(6px); }
/* feature spans for visual rhythm */
.bento-cell.span-2 { grid-column: span 2; }
.bento-cell.tall { grid-row: span 2; }
@media (max-width:759px){ .bento-cell.tall { grid-row: span 1; } .bento-cell.span-2 { grid-column: span 2; } }
/* big faint watermark icon — indicates the category at a glance */
.bento-cell .be-wm { position: absolute; inset-inline-start: -6%; bottom: -14%; width: 56%; z-index: 0;
  opacity: .07; pointer-events: none; color: var(--ink); transform: rotate(-8deg); }
.bento-cell .be-wm svg { width: 100%; height: auto; }
.bento-cell .be-glow, .bento-cell > *:not(.be-wm) { position: relative; z-index: 1; }
.bento-cell.is-hero .be-wm { color: #fff; opacity: .1; }
/* per-category background tints (subtle, on-brand, cheap — no images/video) */
.bento-cell[data-cat="design"]        { background: linear-gradient(135deg, rgba(255,90,120,.13), rgba(150,80,255,.12)), rgba(255,255,255,.9); }
.bento-cell[data-cat="arch3d"]        { background: linear-gradient(135deg, rgba(60,180,120,.14), rgba(40,120,90,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="productivity"]  { background: linear-gradient(135deg, rgba(60,130,220,.14), rgba(40,90,180,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="entertainment"] { background: linear-gradient(135deg, rgba(230,70,160,.14), rgba(150,60,220,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="security"]      { background: linear-gradient(135deg, rgba(40,190,170,.14), rgba(30,140,120,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="dev"]           { background: linear-gradient(135deg, rgba(120,130,150,.16), rgba(70,80,100,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="education"]     { background: linear-gradient(135deg, rgba(240,170,40,.16), rgba(200,120,30,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="media"]         { background: linear-gradient(135deg, rgba(220,60,200,.14), rgba(150,50,180,.10)), rgba(255,255,255,.9); }
.bento-cell[data-cat="all"]           { background: linear-gradient(135deg, rgba(201,162,39,.18), rgba(154,123,21,.10)), rgba(255,255,255,.9); }
html[data-theme="dark"] .bento-cell .be-wm { color: #fff; opacity: .08; }
.bento-cell.is-hero { background: linear-gradient(150deg, #14141a, #2a2410); border-color: rgba(201,162,39,.4); }
.bento-cell.is-hero h3, .bento-cell.is-hero .be-count { color: #fff; }
.bento-cell.is-hero .be-count { color: rgba(255,255,255,.7); }

/* ===== reveal-from helper for cinema.js batches ===== */
.cine-up { opacity: 0; transform: translateY(48px) scale(.97); }

/* =========================================================
   MAX MODE — custom cursor, horizontal pin panels, kinetic band
   ========================================================= */

/* ---------- Trailing gold cursor (desktop; native cursor kept for clarity) ---------- */
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: multiply; will-change: transform; }
.cursor-ring { width: 36px; height: 36px; border: 1.5px solid rgba(201,162,39,.55);
  transition: width .25s var(--ease-cine), height .25s var(--ease-cine), background .25s, border-color .25s, opacity .3s; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; background: var(--gold-deep); opacity: 0; transition: opacity .3s; }
.cursor-ring.show, .cursor-dot.show { opacity: 1; }
.cursor-ring.grow { width: 66px; height: 66px; background: rgba(201,162,39,.10); border-color: rgba(201,162,39,.8); }
html[data-theme="dark"] .cursor-ring, html[data-theme="dark"] .cursor-dot { mix-blend-mode: screen; }
html[data-theme="dark"] .cursor-ring { border-color: rgba(232,196,116,.7); }
html[data-theme="dark"] .cursor-dot { background: #e8c474; }

/* ---------- Horizontal pinned brand panels (Apple-style sideways scroll) ---------- */
.hpanels { position: relative; background: radial-gradient(78% 62% at 50% 44%, #16120a 0%, #06060a 70%); }
/* fade the top edge so it blends from the light bento above (no hard black line / void) */
.hpanels::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 160px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--bg), transparent); }
.hp-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; position: relative; }
.hp-pin::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 50%, rgba(201,162,39,.07), transparent 72%); }
.hp-track { position: relative; z-index: 1; display: flex; align-items: center; height: 86vh; padding-inline: 6vw; gap: 2.2vw; direction: ltr; will-change: transform; }
.hpanel { position: relative; flex: 0 0 min(82vw, 1080px); height: 100%; border-radius: 36px; overflow: hidden;
  display: flex; align-items: flex-end; padding: clamp(28px, 5vw, 60px); box-shadow: 0 40px 120px rgba(0,0,0,.5); }
.hpanel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.66), rgba(0,0,0,.05) 55%); z-index: 2; }
/* live moving footage behind each panel — brand gradient tints it via screen blend */
/* no mix-blend (it forced full-screen recompositing on scroll = lag); plain opacity */
.hp-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  opacity: .42; pointer-events: none; }
.hpanel .hp-in { position: relative; z-index: 3; direction: rtl; max-width: 620px; }
.hpanel .hp-tag { display: inline-block; font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 800;
  color: #ffd778; margin-bottom: 14px; }
.hpanel h3 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 12px; text-shadow: 0 10px 40px rgba(0,0,0,.5); }
.hpanel p { color: rgba(255,255,255,.85); font-size: clamp(1rem, 2vw, 1.28rem); font-weight: 500; margin-bottom: 22px; max-width: 30ch; }
.hpanel .btn { box-shadow: 0 12px 34px rgba(201,162,39,.4); }
.hpanel .hp-num { position: absolute; inset-inline-start: clamp(28px,5vw,60px); top: clamp(24px,4vw,44px); z-index: 3;
  font-size: clamp(3rem,8vw,6rem); font-weight: 900; color: rgba(255,255,255,.10); letter-spacing: -.04em; line-height: 1; }
.hp-t-ai    { background: radial-gradient(120% 120% at 80% 0%, #3a2f72, #0d0b1f); }
.hp-t-ms    { background: radial-gradient(120% 120% at 80% 0%, #0a4a7a, #051324); }
.hp-t-adobe { background: radial-gradient(120% 120% at 80% 0%, #7a1414, #1a0606); }
.hp-t-3d    { background: radial-gradient(120% 120% at 80% 0%, #1f5e3a, #06140d); }
.hp-t-gold  { background: radial-gradient(120% 120% at 80% 0%, #8a6a1f, #14100a); }
.hp-hint { position: absolute; z-index: 3; inset-inline-start: 50%; bottom: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 700; letter-spacing: .12em; display: flex; align-items: center; gap: 8px; }
.hp-hint svg { width: 18px; height: 18px; animation: hpHint 1.6s var(--ease-cine) infinite; }
@keyframes hpHint { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-6px); } }

/* ---------- Kinetic typography band (full-bleed moving words) ---------- */
.kinetic-band { overflow: hidden; padding: clamp(34px, 6vw, 70px) 0; background: var(--ink); position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  will-change: transform; transition: transform .45s var(--ease-cine); }
.kinetic-band .k-track { display: flex; gap: 52px; width: max-content; align-items: center; animation: scrollx 34s linear infinite; }
.kinetic-band .k-word { font-size: clamp(2.2rem, 7vw, 5.4rem); font-weight: 900; letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255,255,255,.42); }
.kinetic-band .k-word.fill { -webkit-text-stroke: 0; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.kinetic-band .k-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--gold-grad); flex: none; }
html[data-theme="dark"] .kinetic-band { background: #0d0d12; }

/* ---------- bento tilt prep ---------- */
.bento-cell { will-change: transform; transform-style: preserve-3d; }

/* ---------- Scroll-scrubbed cinematic showreel (Apple frame-by-frame) ---------- */
.showreel { position: relative; background: #000; }
.sr-pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.sr-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sr-veil { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(130% 110% at 50% 50%, rgba(0,0,0,.15), rgba(0,0,0,.72)); }
.sr-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .06; mix-blend-mode: screen;
  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='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sr-cap { position: relative; z-index: 3; text-align: center; padding: 0 18px; will-change: transform, opacity; }
.sr-cap .sr-kicker { display: block; letter-spacing: .42em; color: #e8c474; font-weight: 800; font-size: .82rem; margin-bottom: 14px; }
.sr-cap h2 { color: #fff; font-size: clamp(2.8rem, 9vw, 6.4rem); line-height: 1.02; text-shadow: 0 12px 50px rgba(0,0,0,.6); }
.sr-cap p { color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 2.3vw, 1.45rem); font-weight: 500; margin-top: 14px; }

/* ---------- "ALPHA CORE" product-spotlight (DRIP-style: glowing disc + big specs) ---------- */
.spotlight-pro { position: relative; overflow: hidden; background: #060609; color: #fff;
  padding: clamp(90px, 12vw, 170px) 0; text-align: center; }
.spotlight-pro .sp-bg { position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(58% 50% at 50% 40%, rgba(201,162,39,.22), transparent 62%); }
.spotlight-pro .sp-grain { position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none; mix-blend-mode: screen;
  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='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.spotlight-pro .container { position: relative; z-index: 2; }
.spotlight-pro .kicker { background: rgba(255,255,255,.06); border-color: rgba(201,162,39,.45); color: #e8c474; }
.spotlight-pro h2 { color: #fff; margin-bottom: clamp(36px, 6vw, 60px); }
.spotlight-pro h2 .gold-text { -webkit-text-fill-color: transparent; }

.sp-core { position: relative; width: clamp(240px, 40vw, 380px); aspect-ratio: 1; margin: 0 auto;
  display: grid; place-items: center; animation: spFloat 6s ease-in-out infinite; }
.sp-core .sp-glow { position: absolute; inset: -12%; border-radius: 50%; z-index: 0;
  background: radial-gradient(closest-side, rgba(201,162,39,.4), transparent 70%); filter: blur(34px); animation: spGlow 5s ease-in-out infinite; }
/* real ALPHA logo as a glowing badge (logo.png has a light background) */
.sp-core .sp-badge { position: absolute; inset: 16%; border-radius: 28px; overflow: hidden; z-index: 1; background: #fff;
  box-shadow: 0 30px 90px rgba(201,162,39,.45), inset 0 1px 0 rgba(255,255,255,.7); }
.sp-core .sp-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-core .sp-ring { position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 6%, rgba(232,196,116,.95) 12%, transparent 24% 50%, rgba(201,162,39,.9) 58%, transparent 72%);
  -webkit-mask: radial-gradient(closest-side, transparent 77%, #000 80%, #000 92%, transparent 95%);
  mask: radial-gradient(closest-side, transparent 77%, #000 80%, #000 92%, transparent 95%);
  animation: spin 14s linear infinite; }
.sp-core .sp-logo { position: absolute; z-index: 3; width: 36%; height: auto; filter: drop-shadow(0 8px 24px rgba(0,0,0,.55)); }
@keyframes spFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spGlow { 0%,100% { opacity: .55; transform: scale(1); } 50% { opacity: .95; transform: scale(1.06); } }

.sp-specs { display: flex; gap: clamp(22px, 6vw, 72px); justify-content: center; flex-wrap: wrap; margin-top: clamp(40px, 7vw, 70px); }
.sp-spec b { display: block; font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.sp-spec .suf { -webkit-text-fill-color: #e8c474; }
.sp-spec i { display: block; color: rgba(255,255,255,.68); font-style: normal; font-weight: 600; font-size: .96rem; letter-spacing: .03em; margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  .sp-core, .sp-core .sp-glow, .sp-core .sp-ring { animation: none !important; }
  .sp-core .sp-video { display: none; }
  .sp-core .sp-disc-fallback { display: block; }
}

/* ---------- Add-to-cart: flying gold orb + fab pulse + drawer stagger ---------- */
.fly-cart { position: fixed; width: 30px; height: 30px; border-radius: 50%; z-index: 9000; pointer-events: none;
  background: var(--gold-grad); box-shadow: 0 8px 24px rgba(201,162,39,.6), inset 0 1px 0 rgba(255,255,255,.6);
  transform: translate(-50%, -50%); }
.fab-cart.pulse::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(201,162,39,.6); animation: cartPulse .65s ease-out; }
@keyframes cartPulse { to { box-shadow: 0 0 0 20px rgba(201,162,39,0); } }
.cart-badge { transition: transform .3s var(--spring); }
.cart-badge.pop { animation: badgePop .45s var(--spring); }
@keyframes badgePop { 0% { transform: scale(1); } 45% { transform: scale(1.5); } 100% { transform: scale(1); } }
/* staggered item entrance when the drawer opens */
.cart-drawer.open .cart-item { animation: cartItemIn .45s var(--out) both; }
.cart-drawer.open .cart-item:nth-child(1) { animation-delay: .04s; }
.cart-drawer.open .cart-item:nth-child(2) { animation-delay: .09s; }
.cart-drawer.open .cart-item:nth-child(3) { animation-delay: .14s; }
.cart-drawer.open .cart-item:nth-child(4) { animation-delay: .19s; }
.cart-drawer.open .cart-item:nth-child(5) { animation-delay: .24s; }
.cart-drawer.open .cart-item:nth-child(n+6) { animation-delay: .29s; }
@keyframes cartItemIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.cart-panel { transition: transform var(--t-slow) var(--ease-cine); }
@media (prefers-reduced-motion: reduce) {
  .fly-cart { display: none !important; }
  .cart-drawer.open .cart-item { animation: none !important; }
}

/* =========================================================
   MOBILE LITE MODE — phones/touch: keep the design, cut the cost.
   (smooth-scroll, background videos, pinned scroll-scrub, blur, aurora
    are what made scrolling unstable + heated the phone.)
   ========================================================= */
@media (max-width: 820px), (pointer: coarse) {
  /* native, stable scrolling */
  html { scroll-behavior: smooth; }

  /* iOS / in-app-browser memory: only the hero + activation videos exist on phones
     (main.js strips the others' sources). Several video elements decoding during
     fast scroll exhausts tab memory → "a problem repeatedly occurred" crash. */
  .vband-video, .chapter-stage video, .hp-video { display: none !important; }

  /* drop the GPU-heavy full-screen layers */
  .aurora, .grain, .spotlight, .cursor-ring, .cursor-dot { display: none !important; }

  /* The cinematic pinned sections are desktop showpieces. Stacked on a phone they
     added ~9 screens of decoration before the products — hide them entirely:
     shorter page, less DOM, less memory. Their messages exist in WHY + bento.
     #alpha-core too: a 930px decorative disc with a continuously-rotating ring. */
  .chapters, .hpanels, #alpha-core { display: none !important; }

  /* skip layout/paint of everything offscreen — the #1 long-page cost on phones.
     intrinsic sizes = real measured heights @390px so anchor jumps stay accurate */
  #compare-section { content-visibility: auto; contain-intrinsic-size: auto 1010px; }
  #bento-section { content-visibility: auto; contain-intrinsic-size: auto 1580px; }
  #collections-section { content-visibility: auto; contain-intrinsic-size: auto 2160px; }
  #catalog-section { content-visibility: auto; contain-intrinsic-size: auto 8850px; }
  #how { content-visibility: auto; contain-intrinsic-size: auto 1030px; }
  #activation { content-visibility: auto; contain-intrinsic-size: auto 1450px; }
  #pay { content-visibility: auto; contain-intrinsic-size: auto 1150px; }
  #faq { content-visibility: auto; contain-intrinsic-size: auto 745px; }
  #reviews { content-visibility: auto; contain-intrinsic-size: auto 1125px; }
  .vband { content-visibility: auto; contain-intrinsic-size: auto 475px; }
  .site-footer { content-visibility: auto; contain-intrinsic-size: auto 1090px; }
  .product { content-visibility: auto; contain-intrinsic-size: auto 315px; }

  /* lighten remaining animation + make reveals feel immediate under the thumb */
  .marquee-track { animation-duration: 60s; }
  .reveal { transform: translateY(14px); transition-duration: .4s, .4s; }
  .product.reveal { transform: translateY(14px) scale(.99); transition-duration: .4s, .4s; }
  .section-head.reveal, .feature.reveal, .pay.reveal, .review.reveal { transform: translateY(14px); }
  .gold-text { animation: none !important; }
  /* kill continuous decorative loops that quietly heat the phone */
  .hero-fx { display: none; }
  .hero::before { animation: none !important; }
  .logo-badge .sheen { animation: none !important; }
  .product.is-best, .mini.is-best { animation: none !important; }
  .act-success { animation: none !important; }
}

/* ---------- Click ripple micro-interaction ---------- */
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0);
  pointer-events: none; mix-blend-mode: overlay; animation: rippleFx .62s var(--ease-cine) forwards; z-index: 5; }
@keyframes rippleFx { to { transform: scale(2.6); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .sr-pin { height: 64vh; }
  .sr-cap { opacity: 1 !important; transform: none !important; }
  .ripple { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-ring, .cursor-dot { display: none !important; }
  .hp-pin { height: auto; display: block; }
  .hp-track { flex-direction: column; height: auto; transform: none !important; padding: 24px; }
  .hpanel { flex: none; width: 100%; height: 60vh; margin-bottom: 16px; }
  .hp-video { display: none !important; }
  .hp-hint { display: none; }
  .kinetic-band .k-track { animation: none !important; flex-wrap: wrap; justify-content: center; }
  .kinetic-band { transform: none !important; }
}

/* ===== Dark theme harmony for new pieces ===== */
html[data-theme="dark"] {
  --bg: #07070a; --bg-2: #121218; --ink: #f3f1ea; --muted: #a6a6ad;
  --glass: rgba(22,22,28,.55); --glass-brd: rgba(255,255,255,.10);
}
html[data-theme="dark"] .site-header.scrolled { background: rgba(10,10,14,.55); }
html[data-theme="dark"] .hero-bg-veil { background: radial-gradient(120% 90% at 50% 0%, rgba(7,7,10,.2), rgba(7,7,10,.7) 55%, var(--bg) 90%); }
html[data-theme="dark"] .tile:not(.mono) { background: linear-gradient(150deg,#fff,#e9e9ee); }
html[data-theme="dark"] .bento-cell.is-hero { background: linear-gradient(150deg, #1a1407, #07070a); }

/* ===== Reduced motion: neutralize the new cinematic pieces ===== */
@media (prefers-reduced-motion: reduce) {
  .chapters .chapter-stage { height: auto; display: block; }
  .chapter { position: relative; opacity: 1 !important; transform: none !important; padding: 40px 0; }
  .chapter:first-child { position: relative; }
  .chapter-stage video { display: none; }
  .chapter-rail { display: none; }
  .cine-up { opacity: 1 !important; transform: none !important; }
  .intro-inner::after { animation: none; opacity: .9; }
}
