/* =====================================================
   SUBZERO — Premium ice bath, single product site
   Theme tokens, glassmorphism, RTL, animations
   ===================================================== */

:root {
  /* Brand */
  --c-ice-50:  #f4fbff;
  --c-ice-100: #e3f3ff;
  --c-ice-200: #b8e0ff;
  --c-ice-300: #78d8ff;
  --c-ice-400: #3ab8f0;
  --c-ice-500: #0e8ed1;
  --c-ice-600: #0e5bb1;
  --c-deep:    #04111f;
  --c-deep-2:  #061b30;

  /* Default = dark */
  --bg:           #04111f;
  --bg-2:         #061b30;
  --bg-3:         #08263f;
  --surface:      rgba(255,255,255,0.04);
  --surface-2:    rgba(255,255,255,0.06);
  --border:       rgba(255,255,255,0.10);
  --border-2:     rgba(255,255,255,0.18);
  --text:         #eaf6ff;
  --text-soft:    rgba(234,246,255,0.72);
  --text-mute:    rgba(234,246,255,0.50);
  --accent:       #78d8ff;
  --accent-2:     #3ab8f0;
  --accent-deep:  #0e5bb1;
  --shadow-1:     0 20px 60px -20px rgba(0, 80, 160, 0.45);
  --shadow-2:     0 30px 80px -10px rgba(0, 0, 0, 0.55);
  --grad-text:    linear-gradient(120deg, #ffffff 0%, #b8e0ff 40%, #3ab8f0 100%);
  --grad-cta:     linear-gradient(135deg, #ffffff 0%, #b8e0ff 100%);
  --grad-cta-h:   linear-gradient(135deg, #b8e0ff 0%, #78d8ff 100%);
  --hero-grad:    radial-gradient(1200px 600px at 70% 20%, rgba(58,184,240,0.35), transparent 60%),
                   radial-gradient(900px 600px at 20% 80%, rgba(14,91,177,0.45), transparent 60%),
                   linear-gradient(180deg, #04111f 0%, #061b30 100%);

  --font-en: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-ar: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 220ms;
  --t-mid:  450ms;
  --t-slow: 800ms;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 56px);
}

/* Light theme */
[data-theme="light"] {
  --bg:        #f4fbff;
  --bg-2:      #e8f3fb;
  --bg-3:      #dbeaf5;
  --surface:   rgba(255,255,255,0.65);
  --surface-2: rgba(255,255,255,0.85);
  --border:    rgba(14,91,177,0.12);
  --border-2:  rgba(14,91,177,0.22);
  --text:      #04111f;
  --text-soft: rgba(4,17,31,0.74);
  --text-mute: rgba(4,17,31,0.55);
  --accent:    #0e5bb1;
  --accent-2:  #0e8ed1;
  --accent-deep:#04111f;
  --shadow-1:  0 20px 60px -20px rgba(14, 91, 177, 0.30);
  --shadow-2:  0 30px 80px -10px rgba(14, 91, 177, 0.18);
  --grad-text: linear-gradient(120deg, #04111f 0%, #0e5bb1 50%, #0e8ed1 100%);
  --grad-cta:  linear-gradient(135deg, #04111f 0%, #0e5bb1 100%);
  --grad-cta-h:linear-gradient(135deg, #0e5bb1 0%, #0e8ed1 100%);
  --hero-grad: radial-gradient(1200px 600px at 70% 20%, rgba(58,184,240,0.30), transparent 60%),
               radial-gradient(900px 600px at 20% 80%, rgba(14,91,177,0.20), transparent 60%),
               linear-gradient(180deg, #f4fbff 0%, #e8f3fb 100%);
}

/* =====================================================
   BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
html[lang="ar"] body { font-family: var(--font-ar); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--accent); color: var(--bg); }

/* Smooth theme + dir transitions */
.transitioning, .transitioning * {
  transition: background-color 350ms var(--ease),
              color 350ms var(--ease),
              border-color 350ms var(--ease),
              box-shadow 350ms var(--ease) !important;
}

/* =====================================================
   AMBIENT BACKGROUND
   ===================================================== */
.ambient {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  overflow: hidden;
  background: var(--hero-grad);
}
.aurora {
  position: absolute; border-radius: 50%; filter: blur(80px);
  opacity: 0.55; mix-blend-mode: screen;
  animation: float 18s ease-in-out infinite;
}
.aurora-1 { width: 520px; height: 520px; top: -120px; left: -120px;
  background: radial-gradient(circle at 30% 30%, #3ab8f0, transparent 60%); }
.aurora-2 { width: 700px; height: 700px; bottom: -200px; right: -150px;
  background: radial-gradient(circle at 50% 50%, #0e5bb1, transparent 65%);
  animation-delay: -7s; }
.aurora-3 { width: 460px; height: 460px; top: 35%; left: 50%;
  background: radial-gradient(circle at 50% 50%, #78d8ff, transparent 65%);
  animation-delay: -12s; opacity: 0.35; }

[data-theme="light"] .aurora { mix-blend-mode: multiply; opacity: 0.32; }

@keyframes float {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,-30px) scale(1.08); }
}

.grain {
  position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* =====================================================
   PAGE LOADER — cinematic 3-stage intro
   ===================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  color: var(--c-ice-200);
  font-family: var(--font-display);
}
.loader.is-done { pointer-events: none; }
body.is-loading { overflow: hidden; }

/* Curtain halves — slide apart at the end to unveil page */
.loader-half {
  position: fixed; left: 0; right: 0;
  height: 50vh;
  background: #04111f;
  background-image:
    radial-gradient(60% 80% at 50% 100%, rgba(58,184,240,0.20), transparent 60%),
    linear-gradient(180deg, #051324 0%, #03101e 100%);
  z-index: 1;
  transition: transform 1200ms cubic-bezier(0.83, 0, 0.17, 1);
  will-change: transform;
  transform: translateZ(0);
}
.loader-top { top: 0; }
.loader-bot { bottom: 0; }
.loader.is-splitting .loader-top { transform: translateY(-100%); }
.loader.is-splitting .loader-bot { transform: translateY(100%); }

/* Subtle ambient inside loader */
.loader-ambient {
  position: fixed; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
  transition: opacity 600ms var(--ease);
}
.loader.is-splitting .loader-ambient { opacity: 0; }
.loader-aurora {
  position: absolute; border-radius: 50%; filter: blur(80px);
  mix-blend-mode: screen;
}
.la-1 {
  width: 520px; height: 520px; top: 10%; left: -10%;
  background: radial-gradient(circle, rgba(120,216,255,0.45), transparent 60%);
  animation: float 14s ease-in-out infinite;
}
.la-2 {
  width: 600px; height: 600px; bottom: 5%; right: -10%;
  background: radial-gradient(circle, rgba(14,91,177,0.55), transparent 60%);
  animation: float 18s ease-in-out -7s infinite;
}

/* Hairline crosshair behind everything (like a calibration UI) */
.loader::before, .loader::after {
  content: '';
  position: fixed; z-index: 2; pointer-events: none;
  background: rgba(255,255,255,0.04);
  transition: opacity 500ms var(--ease);
}
.loader::before { left: 0; right: 0; top: 50%; height: 1px; }
.loader::after  { top: 0; bottom: 0; left: 50%; width: 1px; }
.loader.is-splitting::before, .loader.is-splitting::after { opacity: 0; }

/* Stages */
.loader-stage {
  position: fixed; inset: 0; z-index: 3;
  display: grid; place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 650ms var(--ease);
  will-change: opacity;
}
.loader-stage.is-active { opacity: 1; }
.loader.is-splitting .loader-stage { opacity: 0; transition-duration: 400ms; }

/* ===== STAGE 1: COUNTER ===== */
.stage-counter {
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-content: center; justify-items: center;
  padding: 60px 24px;
  gap: 32px;
}

.loader-tag {
  align-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(120,216,255,0.25);
  border-radius: 999px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--c-ice-200);
  background: rgba(120,216,255,0.06);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.loader-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-ice-300);
  box-shadow: 0 0 12px var(--c-ice-300);
  animation: blink 1.2s ease-in-out infinite;
}

.loader-counter {
  display: inline-flex; align-items: baseline; gap: 6px;
  line-height: 0.85;
  color: #fff;
}
.counter-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 22vw, 240px);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 0%, #b8e0ff 60%, #3ab8f0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.counter-pct {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--c-ice-300);
  opacity: 0.6;
  transform: translateY(-0.2em);
}

.loader-bar {
  align-self: start;
  position: relative;
  width: min(420px, 70vw); height: 2px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
  border-radius: 2px;
}
.loader-bar-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--c-ice-300), var(--c-ice-400));
  box-shadow: 0 0 16px var(--c-ice-400);
  transition: width 80ms linear;
}
.loader-meta {
  align-self: start; margin-top: -16px;
  width: min(420px, 70vw);
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(184,224,255,0.55);
}
.loader-dots i {
  font-style: normal;
  display: inline-block;
  animation: dotBlink 1.2s ease-in-out infinite;
}
.loader-dots i:nth-child(2) { animation-delay: 0.2s; }
.loader-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotBlink {
  0%, 100% { opacity: 0.2; }
  50%      { opacity: 1; }
}

/* Counter stage exit — gentle scale + fade (no blur to avoid GPU jank) */
.stage-counter.is-leaving .loader-tag,
.stage-counter.is-leaving .loader-bar,
.stage-counter.is-leaving .loader-meta { opacity: 0; transition: opacity 400ms var(--ease); }
.stage-counter.is-leaving .loader-counter { animation: counterExit 500ms cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes counterExit {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.05); }
}

/* ===== STAGE 2: BRAND MARK + WORD RISE + SHIMMER ===== */
.stage-brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
}

.loader-mark {
  width: clamp(140px, 18vw, 200px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(120,216,255,0.45));
  /* Logo fades + scales in as a single piece (more elegant than stroke-draw on a complex silhouette) */
  opacity: 0;
  transform: scale(0.86) translate3d(0, 12px, 0);
  will-change: opacity, transform;
}
.stage-brand.is-active .loader-mark {
  animation: markIn 1100ms cubic-bezier(0.22, 1, 0.36, 1) 100ms forwards;
}
@keyframes markIn {
  0%   { opacity: 0; transform: scale(0.86) translate3d(0, 12px, 0); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}

/* The SUBZERO band cut-out text inside the SVG — keep it crisp */
.mark-text { font-family: var(--font-display), 'Inter', sans-serif; }

/* "STEP INTO SUB ZERO" — word mask rise */
.loader-brand {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.32em;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 8.5vw, 104px);
  letter-spacing: 0.04em;
  line-height: 1;
  color: #ffffff;
}

.brand-mask {
  display: inline-block;
  overflow: hidden;
  /* small bleed so descenders / accents don't clip */
  padding: 0.08em 0 0.06em;
  vertical-align: bottom;
}

/* The actual word that rises out of its mask */
.loader-word {
  display: inline-block;
  transform: translate3d(0, 120%, 0);
  opacity: 0;
  will-change: transform, opacity;
  color: #ffffff;
}
.stage-brand.is-active .loader-word {
  animation: wordRise 1000ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* The stagger — 130ms between each word, kicking in after the iceberg mark draws */
.stage-brand.is-active .loader-a { animation-delay: 600ms; }
.stage-brand.is-active .loader-b { animation-delay: 730ms; }
.stage-brand.is-active .loader-c { animation-delay: 860ms; color: var(--c-ice-300); }
.stage-brand.is-active .loader-d {
  animation-delay: 990ms;
  background: linear-gradient(180deg, #ffffff 0%, #78d8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

@keyframes wordRise {
  0%   { transform: translate3d(0, 120%, 0); opacity: 0; }
  55%  { opacity: 1; }
  100% { transform: translate3d(0, 0, 0);    opacity: 1; }
}

/* Horizontal cyan light wipe across the wordmark */
.brand-shimmer {
  position: absolute;
  top: 0; left: -40%;
  width: 30%;
  height: 100%;
  background: linear-gradient(115deg,
    transparent 0%,
    rgba(255,255,255,0.0) 38%,
    rgba(255,255,255,0.55) 50%,
    rgba(120,216,255,0.0) 62%,
    transparent 100%);
  /* screen blends much smoother than overlay (no flicker on filter:blur layers) */
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}
.stage-brand.is-active .brand-shimmer {
  animation: shimmer 850ms cubic-bezier(0.45, 0, 0.55, 1) 1700ms forwards;
}
@keyframes shimmer {
  0%   { opacity: 0; transform: translate3d(0%, 0, 0); }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(450%, 0, 0); }
}
[dir="rtl"] .stage-brand.is-active .brand-shimmer { animation: shimmerRtl 850ms cubic-bezier(0.45, 0, 0.55, 1) 1700ms forwards; }
@keyframes shimmerRtl {
  0%   { opacity: 0; transform: translate3d(0%, 0, 0); }
  25%  { opacity: 1; }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: translate3d(-450%, 0, 0); }
}

/* Tagline rises in last */
.loader-tagline { margin: 0; }
.tagline-mask {
  display: inline-block; overflow: hidden;
  padding: 0.1em 0 0.05em;
}
.tagline-line {
  display: inline-block;
  transform: translate3d(0, 120%, 0);
  opacity: 0;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.4em; text-transform: uppercase;
  color: rgba(184,224,255,0.7);
  will-change: transform, opacity;
}
.stage-brand.is-active .tagline-line {
  animation: tagRise 900ms cubic-bezier(0.22, 1, 0.36, 1) 1850ms forwards;
}
@keyframes tagRise {
  0%   { transform: translate3d(0, 120%, 0); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translate3d(0, 0, 0);    opacity: 1; }
}

/* AR-specific loader sizing/weight overrides live in the ARABIC TYPOGRAPHY POLISH block at end of file */

/* Reduced motion: skip animations, just show the brand mark */
@media (prefers-reduced-motion: reduce) {
  .loader-mark { opacity: 1; transform: none; animation: none !important; }
  .loader-word, .tagline-line { transform: none; opacity: 1; animation: none !important; }
  .brand-shimmer { display: none; }
  .stage-counter.is-leaving .loader-counter { animation: none; opacity: 0; }
  .loader-half { transition-duration: 400ms; }
}

/* =====================================================
   NAV
   ===================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px var(--pad);
  transition: padding var(--t-mid) var(--ease), background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.nav-inner {
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 12px 18px;
  background: rgba(8, 24, 40, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all var(--t-mid) var(--ease);
}
[data-theme="light"] .nav-inner { background: rgba(255,255,255,0.72); }

.nav.scrolled .nav-inner {
  background: rgba(4, 17, 31, 0.78);
  box-shadow: var(--shadow-1);
}
[data-theme="light"] .nav.scrolled .nav-inner { background: rgba(255,255,255,0.92); }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text);
}
.brand-mark { color: var(--accent); }
.brand-text { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.18em; font-size: 14px; }

.nav-links {
  display: flex; gap: 28px;
}
.nav-links a {
  font-size: 14px; color: var(--text-soft); position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--ease);
}
[dir="rtl"] .nav-links a::after { transform-origin: right; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--text-soft);
  border: 1px solid var(--border);
  transition: all var(--t-fast) var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-2); transform: translateY(-1px); }

.ic-sun, .ic-sound-off { display: none; }
[data-theme="light"] .ic-moon { display: none; }
[data-theme="light"] .ic-sun { display: block; }
.sound-on .ic-sound-on { display: none; }
.sound-on .ic-sound-off { display: block; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-soft);
  transition: all var(--t-fast) var(--ease);
}
.lang-toggle:hover { color: var(--text); border-color: var(--border-2); }
.lang-divider { opacity: 0.4; }
html[lang="en"] .lang-en { color: var(--accent); }
html[lang="ar"] .lang-ar { color: var(--accent); }

.menu-btn { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.menu-btn span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--t-fast) var(--ease); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  transition: transform var(--t-fast) var(--ease), background var(--t-mid) var(--ease), color var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  white-space: nowrap;
  overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 700ms var(--ease);
}
.btn:hover::before { transform: translateX(120%); }
[dir="rtl"] .btn::before { transform: translateX(120%); }
[dir="rtl"] .btn:hover::before { transform: translateX(-120%); }

.btn-primary {
  background: var(--grad-cta);
  color: var(--c-deep);
  box-shadow: 0 12px 30px -10px rgba(120, 216, 255, 0.55);
}
.btn-primary:hover { background: var(--grad-cta-h); transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(120, 216, 255, 0.7); }
[data-theme="light"] .btn-primary { color: #f4fbff; box-shadow: 0 12px 30px -10px rgba(14,91,177,0.45); }

.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(3px); }

.nav-cta { padding: 10px 18px; font-size: 13px; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px var(--pad) 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  overflow: hidden;
}
.mist {
  position: absolute; border-radius: 50%; filter: blur(60px);
  opacity: 0.4; mix-blend-mode: screen;
  animation: drift 20s ease-in-out infinite;
}
.mist-1 { width: 600px; height: 600px; top: -10%; right: -10%; background: radial-gradient(circle, rgba(120,216,255,0.5), transparent 70%); }
.mist-2 { width: 700px; height: 700px; bottom: -20%; left: -15%; background: radial-gradient(circle, rgba(14,91,177,0.5), transparent 70%); animation-delay: -10s; }
.mist-3 { width: 400px; height: 400px; top: 40%; left: 50%; background: radial-gradient(circle, rgba(58,184,240,0.4), transparent 70%); animation-delay: -5s; }

@keyframes drift {
  0%,100% { transform: translate(0,0); }
  33%     { transform: translate(50px,-40px); }
  66%     { transform: translate(-40px,30px); }
}

[data-theme="light"] .mist { mix-blend-mode: multiply; opacity: 0.25; }

/* Floating ice shards */
.ice-shards { position: absolute; inset: 0; }
.ice-shards span {
  position: absolute;
  width: 8px; height: 8px;
  background: linear-gradient(135deg, #fff, var(--c-ice-200));
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.5;
  animation: rise 15s linear infinite;
}
.ice-shards span:nth-child(1) { left: 5%;  width: 6px;  height: 6px;  animation-duration: 14s; animation-delay: -2s; }
.ice-shards span:nth-child(2) { left: 12%; width: 10px; height: 10px; animation-duration: 18s; animation-delay: -5s; }
.ice-shards span:nth-child(3) { left: 22%; width: 5px;  height: 5px;  animation-duration: 16s; animation-delay: -8s; }
.ice-shards span:nth-child(4) { left: 30%; width: 8px;  height: 8px;  animation-duration: 20s; animation-delay: -1s; }
.ice-shards span:nth-child(5) { left: 38%; width: 6px;  height: 6px;  animation-duration: 13s; animation-delay: -10s; }
.ice-shards span:nth-child(6) { left: 47%; width: 11px; height: 11px; animation-duration: 22s; animation-delay: -3s; }
.ice-shards span:nth-child(7) { left: 55%; width: 7px;  height: 7px;  animation-duration: 17s; animation-delay: -7s; }
.ice-shards span:nth-child(8) { left: 63%; width: 5px;  height: 5px;  animation-duration: 19s; animation-delay: -12s; }
.ice-shards span:nth-child(9) { left: 70%; width: 9px;  height: 9px;  animation-duration: 15s; animation-delay: -4s; }
.ice-shards span:nth-child(10){ left: 78%; width: 6px;  height: 6px;  animation-duration: 21s; animation-delay: -9s; }
.ice-shards span:nth-child(11){ left: 85%; width: 8px;  height: 8px;  animation-duration: 18s; animation-delay: -6s; }
.ice-shards span:nth-child(12){ left: 90%; width: 5px;  height: 5px;  animation-duration: 14s; animation-delay: -11s; }
.ice-shards span:nth-child(13){ left: 17%; width: 4px;  height: 4px;  animation-duration: 23s; animation-delay: -14s; }
.ice-shards span:nth-child(14){ left: 50%; width: 4px;  height: 4px;  animation-duration: 25s; animation-delay: -2s; }
.ice-shards span:nth-child(15){ left: 75%; width: 4px;  height: 4px;  animation-duration: 26s; animation-delay: -16s; }

@keyframes rise {
  0%   { transform: translateY(110vh) rotate(0deg);  opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.hero-grid {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.95; letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 28px;
}
.hero-title .line { display: block; }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--text-soft);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 540px; margin: 0 0 36px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-meta { display: flex; gap: 36px; flex-wrap: wrap; }
.meta-item { display: flex; flex-direction: column; }
.meta-item strong {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.meta-item strong small { font-size: 14px; opacity: 0.7; }
.meta-item span { font-size: 12px; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 4/5; max-width: 540px; justify-self: end; width: 100%; }
.hero-product {
  position: relative; z-index: 2;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2);
  animation: gentle 8s var(--ease) infinite;
}
@keyframes gentle {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.halo {
  position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(circle at 50% 50%, rgba(120,216,255,0.5), transparent 60%);
  filter: blur(60px); opacity: 0.7;
  animation: float 12s ease-in-out infinite;
}
.ring {
  position: absolute; inset: 0; border-radius: var(--radius-xl);
  border: 1px solid var(--border-2);
  z-index: 1;
}
.ring-1 { transform: rotate(-3deg) scale(1.04); opacity: 0.5; }
.ring-2 { transform: rotate(3deg) scale(1.08); opacity: 0.25; }

.float-tag {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(8, 24, 40, 0.7);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  animation: tagFloat 6s var(--ease) infinite;
}
[data-theme="light"] .float-tag { background: rgba(255,255,255,0.85); }
.float-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 12px #4ade80;
  animation: blink 1.6s ease-in-out infinite;
}
.float-tag .dot.dot-blue { background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.float-tag strong { display: block; font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em; text-transform: uppercase; }
.float-tag em { font-style: normal; font-weight: 600; font-family: var(--font-display); font-size: 14px; }
.tag-top { top: 8%; left: -8%; animation-delay: -2s; }
.tag-bot { bottom: 12%; right: -8%; animation-delay: -4s; }
[dir="rtl"] .tag-top { left: auto; right: -8%; }
[dir="rtl"] .tag-bot { right: auto; left: -8%; }

@keyframes tagFloat {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%     { opacity: 0.4; }
}

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.3em;
  color: var(--text-mute); text-transform: uppercase;
}
.cue-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--accent), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =====================================================
   MARQUEE
   ===================================================== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  background: var(--surface);
}
.marquee-track {
  display: flex; gap: 56px; align-items: center;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  letter-spacing: 0.25em;
  font-size: 13px;
  color: var(--text-mute);
}
.marquee-track span:first-child,
.marquee-track span:nth-child(8) { color: var(--accent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .marquee-track { animation-direction: reverse; }

/* =====================================================
   SECTIONS COMMON
   ===================================================== */
.section {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}
.section-head {
  max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px);
  text-align: center;
}
.kicker {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em;
  color: var(--accent); text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 700;
  margin: 14px 0 18px;
}
.section-title span { display: inline; }
.section-title span + span { margin-left: 0.3em; }
[dir="rtl"] .section-title span + span { margin-left: 0; margin-right: 0.3em; }
.section-sub { color: var(--text-soft); font-size: 17px; max-width: 580px; margin: 0 auto; }

/* =====================================================
   PRODUCT SHOWCASE — 3D STAGE
   ===================================================== */
.showcase {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center;
}
.showcase-stage {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(120,216,255,0.18), transparent 60%),
    linear-gradient(180deg, rgba(8,38,63,0.7), rgba(4,17,31,0.4));
  box-shadow: var(--shadow-2);
}
[data-theme="light"] .showcase-stage {
  background:
    radial-gradient(120% 80% at 50% 110%, rgba(120,216,255,0.25), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(232,243,251,0.35));
}
.stage-glow {
  position: absolute; inset: -20%; z-index: 0;
  background: radial-gradient(circle at 50% 30%, rgba(120,216,255,0.35), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}

/* Real WebGL canvas */
.product-3d {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  display: block;
  cursor: grab;
  opacity: 0;
  transition: opacity 900ms var(--ease);
  touch-action: none; /* let pointer events handle drag */
}
.product-3d.ready { opacity: 1; }

.stage-fallback {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 1;
  transition: opacity 900ms var(--ease);
}
.product-3d.ready ~ .stage-fallback { opacity: 0; }

.drag-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(8,24,40,0.6);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0;
  animation: hintIn 600ms var(--ease) 1.2s forwards, hintOut 800ms var(--ease) 6s forwards;
  pointer-events: none;
}
.drag-hint svg { color: var(--accent); }
[data-theme="light"] .drag-hint { background: rgba(255,255,255,0.85); }
@keyframes hintIn  { to { opacity: 1; } }
@keyframes hintOut { to { opacity: 0; transform: translateX(-50%) translateY(8px); } }

.stage-tag {
  position: absolute; top: 18px; left: 18px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(120,216,255,0.12);
  border: 1px solid rgba(120,216,255,0.35);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent);
}
.stage-tag span:first-child {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}
[dir="rtl"] .stage-tag { left: auto; right: 18px; }

/* 3D-projected hotspots: position is set by JS each frame */
.hotspot-3d {
  position: absolute; left: 0; top: 0;
  z-index: 5;
  transition: opacity 200ms var(--ease);
  will-change: transform, opacity;
}

.hotspot {
  position: absolute; z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--c-deep);
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(120,216,255,0.6), 0 6px 20px rgba(0,0,0,0.3);
  animation: ping 2.4s var(--ease) infinite;
  transition: transform var(--t-fast) var(--ease);
}
.hotspot:hover { transform: translate(-50%, -50%) scale(1.15); }
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(120,216,255,0.7), 0 6px 20px rgba(0,0,0,0.3); }
  70%  { box-shadow: 0 0 0 16px rgba(120,216,255,0), 0 6px 20px rgba(0,0,0,0.3); }
  100% { box-shadow: 0 0 0 0 rgba(120,216,255,0), 0 6px 20px rgba(0,0,0,0.3); }
}

.hotspot-tip {
  position: fixed; z-index: 200;
  padding: 10px 14px; max-width: 240px;
  background: rgba(8, 24, 40, 0.95);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text);
  pointer-events: none;
  opacity: 0; transform: translate(-50%, -10px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
  box-shadow: var(--shadow-1);
}
.hotspot-tip.show { opacity: 1; transform: translate(-50%, -16px); }
[data-theme="light"] .hotspot-tip { background: rgba(255,255,255,0.95); color: var(--text); }

/* Showcase features */
.showcase-features { display: flex; flex-direction: column; gap: 22px; }
.feature {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: flex-start;
  padding: 22px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.feature:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.feature-ic {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(120,216,255,0.2), rgba(14,91,177,0.2));
  display: grid; place-items: center;
  color: var(--accent);
  border: 1px solid var(--border-2);
}
.feature h3 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin: 0 0 6px; }
.feature p { font-size: 14px; color: var(--text-soft); margin: 0; }
.inline-cta { align-self: flex-start; margin-top: 8px; }

/* =====================================================
   BENEFITS
   ===================================================== */
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.benefit-card {
  position: relative;
  padding: 32px 26px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease), background var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.benefit-card::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(120,216,255,0.15), transparent 60%);
  opacity: 0; transition: opacity var(--t-mid) var(--ease);
}
.benefit-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.benefit-card:hover::before { opacity: 1; }
.benefit-card > * { position: relative; z-index: 1; }

.b-ic {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(120,216,255,0.2), rgba(14,91,177,0.2));
  display: grid; place-items: center; color: var(--accent);
  border: 1px solid var(--border-2);
  margin-bottom: 22px;
}
.benefit-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.benefit-card p { font-size: 14px; color: var(--text-soft); margin: 0 0 22px; }
.b-stat {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 18px; border-top: 1px solid var(--border);
}
.b-stat strong {
  font-family: var(--font-display); font-size: 26px; font-weight: 700;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.b-stat em { font-style: normal; font-size: 12px; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase; }

/* =====================================================
   LIFESTYLE
   ===================================================== */
.lifestyle-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 360px 360px;
  gap: 22px;
}
.life-img {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: transform var(--t-mid) var(--ease);
}
.life-img:hover { transform: scale(1.01); }
.life-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.life-img:hover img { transform: scale(1.06); }

.life-big  { grid-row: 1 / span 2; }
.life-tall { }
.life-wide { }

.life-badge {
  position: absolute; top: 18px; left: 18px;
  padding: 8px 14px; background: rgba(8,24,40,0.7);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
}
[dir="rtl"] .life-badge { left: auto; right: 18px; }
[data-theme="light"] .life-badge { background: rgba(255,255,255,0.85); }

.life-copy {
  grid-column: 2 / span 2;
  padding: 36px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; justify-content: center;
  text-align: left;
}
[dir="rtl"] .life-copy { text-align: right; }
.life-copy .section-title { margin-top: 10px; font-size: clamp(28px, 3.5vw, 44px); }
.life-copy p { color: var(--text-soft); margin: 0 0 22px; font-size: 16px; }

/* =====================================================
   COMPARISON
   ===================================================== */
.compare-table {
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cmp-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  padding: 20px 30px;
  border-bottom: 1px solid var(--border);
  align-items: center;
  font-size: 15px;
  transition: background var(--t-fast) var(--ease);
}
.cmp-row:last-child { border-bottom: 0; }
.cmp-row:not(.cmp-head):hover { background: var(--surface-2); }
.cmp-row > div { color: var(--text-soft); }
.cmp-row > div:first-child { color: var(--text); font-weight: 500; }
.cmp-us {
  position: relative;
  color: var(--text) !important;
  display: flex; align-items: center; gap: 8px;
}
.cmp-us strong { font-family: var(--font-display); }
.cmp-head {
  background: var(--surface-2);
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.06em; font-size: 12px; text-transform: uppercase;
}
.cmp-head > div { color: var(--text-mute) !important; }
.cmp-head .cmp-us { color: var(--accent) !important; }

/* =====================================================
   REVIEWS
   ===================================================== */
.rating-row {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 14px;
  padding: 8px 18px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px; color: var(--text-soft);
}
.stars { color: #ffc857; letter-spacing: 2px; font-size: 14px; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.review {
  padding: 32px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid) var(--ease);
}
.review:hover { transform: translateY(-4px); border-color: var(--border-2); }
.review .stars { font-size: 16px; }
.review p {
  font-size: 17px; line-height: 1.5;
  margin: 16px 0 22px;
  color: var(--text);
  font-family: var(--font-display); font-weight: 400;
}
[dir="rtl"] .review p { font-family: var(--font-ar); }

.who { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--c-deep); font-weight: 700; font-family: var(--font-display);
  display: grid; place-items: center;
}
.avatar-2 { background: linear-gradient(135deg, #ffd1ba, #ff9a76); }
.avatar-3 { background: linear-gradient(135deg, #c1f0c1, #4caf50); }
.avatar-4 { background: linear-gradient(135deg, #d6c1ff, #8b5cf6); }
.who strong { display: block; font-size: 14px; }
.who em { font-style: normal; font-size: 12px; color: var(--text-mute); letter-spacing: 0.04em; }

/* =====================================================
   PRICING
   ===================================================== */
.pricing-wrap {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.price-card {
  position: relative;
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.pc-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% -20%, rgba(120,216,255,0.4), transparent 50%);
}
.pc-badge {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  padding: 6px 14px; background: var(--accent); color: var(--c-deep);
  border-radius: 999px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
}
[dir="rtl"] .pc-badge { right: auto; left: 18px; }

.pc-image {
  position: relative; z-index: 1;
  aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}
.pc-image img { width: 100%; height: 100%; object-fit: cover; }

.pc-body { position: relative; z-index: 1; padding: 32px; }
.pc-body h3 { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin: 0; letter-spacing: 0.04em; }
.pc-body h3 span { font-weight: 400; opacity: 0.7; }
.pc-tag { color: var(--text-soft); margin: 6px 0 22px; }

.pc-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.pc-old {
  text-decoration: line-through; color: var(--text-mute); font-size: 18px;
  font-family: var(--font-display); font-feature-settings: 'tnum' 1;
}
.pc-old .pc-cur {
  display: inline-block; font-size: 11px; letter-spacing: 0.16em;
  margin-right: 4px; opacity: 0.85; text-decoration: none;
}
.pc-new {
  font-family: var(--font-display); font-weight: 700; font-size: 48px; letter-spacing: -0.02em;
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-feature-settings: 'tnum' 1;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.pc-new .pc-cur {
  font-size: 14px; letter-spacing: 0.18em; font-weight: 600;
  -webkit-text-fill-color: initial; color: var(--accent); background: none;
  transform: translateY(-2px);
}
.pc-save {
  padding: 4px 10px; border: 1px solid var(--accent); border-radius: 999px;
  font-size: 11px; font-family: var(--font-display); letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase;
}

.pc-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-list li {
  position: relative; padding-left: 24px;
  font-size: 14px; color: var(--text-soft);
}
.pc-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(120,216,255,0.15); color: var(--accent);
  display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
[dir="rtl"] .pc-list li { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .pc-list li::before { left: auto; right: 0; }

.pay-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 14px 0; margin-bottom: 18px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  font-size: 12px; color: var(--text-mute); letter-spacing: 0.06em; text-transform: uppercase;
}
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span {
  padding: 4px 10px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: 11px; letter-spacing: 0.05em; color: var(--text-soft); text-transform: none;
  font-family: var(--font-display); font-weight: 600;
}

.pc-foot { margin: 14px 0 0; font-size: 12px; color: var(--text-mute); text-align: center; }

.journey-cta { padding: 20px; }
.journey-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px); line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; margin: 0 0 16px;
}
.journey-cta p { color: var(--text-soft); font-size: 16px; margin: 0; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--surface);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
}
.faq-item[open] { border-color: var(--border-2); background: var(--surface-2); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ic {
  position: relative;
  width: 24px; height: 24px;
  flex-shrink: 0;
}
.faq-ic::before, .faq-ic::after {
  content: ''; position: absolute;
  background: var(--accent); border-radius: 2px;
  transition: transform var(--t-mid) var(--ease);
}
.faq-ic::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-ic::after  { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-ic::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { padding: 0 26px 24px; color: var(--text-soft); animation: faqIn 400ms var(--ease); }
.faq-a p { margin: 0; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 80px var(--pad) 40px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}
[data-theme="light"] .footer { background: linear-gradient(180deg, transparent, rgba(14,91,177,0.04)); }

.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 50px;
}
.foot-brand { max-width: 320px; }
.brand-foot .brand-text { font-size: 16px; }
.foot-brand p { margin: 14px 0 0; color: var(--text-soft); font-size: 14px; }

.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.foot-col h4 {
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 16px;
}
.foot-col a { display: block; padding: 6px 0; font-size: 14px; color: var(--text-soft); transition: color var(--t-fast) var(--ease); }
.foot-col a:hover { color: var(--text); }

.foot-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 18px;
}
[dir="rtl"] .foot-actions { align-items: flex-start; }
.lang-foot { font-size: 11px; padding: 8px 12px; }

.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-soft);
  transition: all var(--t-fast) var(--ease);
}
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.foot-bottom {
  grid-column: 1 / -1;
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-mute); letter-spacing: 0.04em;
}

/* =====================================================
   REVEAL ANIMATIONS
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger nested children inside hero/section heads */
.section-head.reveal .kicker     { transition-delay: 60ms; }
.section-head.reveal .section-title { transition-delay: 140ms; }
.section-head.reveal .section-sub   { transition-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =====================================================
   COLD SESSION (interactive widget)
   ===================================================== */
.session { position: relative; overflow: hidden; }
.session-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.aurora-s1 {
  position: absolute; width: 600px; height: 600px;
  top: -20%; left: -10%; border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(120,216,255,0.25), transparent 60%);
  mix-blend-mode: screen; animation: float 22s ease-in-out infinite;
}
.aurora-s2 {
  position: absolute; width: 700px; height: 700px;
  bottom: -25%; right: -15%; border-radius: 50%; filter: blur(80px);
  background: radial-gradient(circle, rgba(14,91,177,0.30), transparent 60%);
  mix-blend-mode: screen; animation: float 26s ease-in-out -10s infinite;
}
[data-theme="light"] .aurora-s1, [data-theme="light"] .aurora-s2 { mix-blend-mode: multiply; opacity: 0.4; }

.session-stage {
  position: relative; z-index: 1;
  max-width: 880px; margin: 0 auto;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}

/* Floating live-stat cards around the widget */
.session-stat {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(8,24,40,0.6);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 600ms var(--ease), border-color 400ms var(--ease);
  animation: tagFloat 6s var(--ease) infinite;
}
[data-theme="light"] .session-stat { background: rgba(255,255,255,0.85); }
.session-stat .stat-ic {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(120,216,255,0.18), rgba(14,91,177,0.18));
  border: 1px solid var(--border-2);
  color: var(--accent);
}
.session-stat strong {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  display: flex; align-items: baseline; gap: 4px;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.session-stat strong em { font-style: normal; font-size: 11px; opacity: 0.7; }
.session-stat span {
  display: block; font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.session-stat.is-pulsing { animation: statPulse 600ms var(--ease); }
@keyframes statPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); border-color: var(--accent); box-shadow: 0 0 30px rgba(120,216,255,0.4); }
  100% { transform: scale(1); }
}

.stat-bpm     { top: 6%;  left: 4%;  animation-delay: -1s; }
.stat-temp    { top: 6%;  right: 4%; animation-delay: -3s; }
.stat-cal     { bottom: 6%; left: 4%; animation-delay: -5s; }
.stat-elapsed { bottom: 6%; right: 4%; animation-delay: -2s; }
[dir="rtl"] .stat-bpm     { left: auto; right: 4%; }
[dir="rtl"] .stat-temp    { right: auto; left: 4%; }
[dir="rtl"] .stat-cal     { left: auto; right: 4%; }
[dir="rtl"] .stat-elapsed { right: auto; left: 4%; }

/* Big circular widget */
.session-widget {
  position: relative; z-index: 2;
  width: clamp(260px, 50vw, 440px);
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.widget-halo {
  position: absolute; inset: -15%;
  background: radial-gradient(circle, rgba(120,216,255,0.45), transparent 60%);
  filter: blur(60px); opacity: 0.6;
  z-index: -1;
  animation: float 12s ease-in-out infinite;
}
.session.is-running .widget-halo { animation: haloBreathe 16s var(--ease) infinite; opacity: 0.8; }
@keyframes haloBreathe {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  25%      { transform: scale(1.18); opacity: 0.95; }   /* inhale 4s */
  50%      { transform: scale(1.18); opacity: 0.95; }   /* hold 4s */
  75%      { transform: scale(0.92); opacity: 0.55; }   /* exhale 4s */
}

.session-progress {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
[dir="rtl"] .session-progress { transform: rotate(-90deg) scaleX(-1); }

.prog-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 4;
}
.prog-fill {
  fill: none;
  stroke: url(#progGrad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 628.318; /* 2*pi*100 */
  stroke-dashoffset: 628.318;
  transition: stroke-dashoffset 1s linear;
  filter: drop-shadow(0 0 12px rgba(120,216,255,0.6));
}

/* Pulsing breath orb behind the content */
.breath-orb {
  position: absolute;
  width: 64%; height: 64%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,216,255,0.35), rgba(120,216,255,0.04) 60%, transparent 70%);
  transform: scale(0.7);
  transition: transform 4s var(--ease), background 1s var(--ease);
}
.session.is-running .breath-orb { animation: breathe 16s var(--ease) infinite; }
@keyframes breathe {
  0%   { transform: scale(0.7); }
  25%  { transform: scale(1.0); }
  50%  { transform: scale(1.0); }
  75%  { transform: scale(0.7); }
  100% { transform: scale(0.7); }
}

/* States */
.session-content {
  position: relative; z-index: 1;
  width: 80%; aspect-ratio: 1/1;
  border-radius: 50%;
  display: grid; place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.05), transparent 60%),
    rgba(8,24,40,0.55);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 60px rgba(120,216,255,0.08);
}
[data-theme="light"] .session-content { background: rgba(255,255,255,0.7); }

.session-state {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: 6px;
  text-align: center; padding: 30px;
  opacity: 0; pointer-events: none;
  transform: scale(0.92);
  transition: opacity 350ms var(--ease), transform 350ms var(--ease);
}
.session-state.is-active { opacity: 1; pointer-events: auto; transform: scale(1); }

/* Idle */
.state-idle { display: flex; flex-direction: column; justify-content: center; }
.session-play {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--grad-cta);
  color: var(--c-deep);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(120,216,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.4);
  transition: transform 300ms var(--ease-snap), box-shadow 300ms var(--ease);
  margin-bottom: 10px;
}
.session-play:hover { transform: scale(1.06); box-shadow: 0 16px 40px -8px rgba(120,216,255,0.7); }
.session-play:active { transform: scale(0.96); }
.session-play svg { transform: translateX(2px); }
[data-theme="light"] .session-play { color: #f4fbff; }
.state-idle span { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.06em; color: var(--text); }
.state-idle em { font-style: normal; font-size: 11px; color: var(--text-mute); letter-spacing: 0.18em; text-transform: uppercase; }

/* Active */
.state-active { display: flex; flex-direction: column; justify-content: center; }
.session-time {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(46px, 7vw, 72px); letter-spacing: -0.02em;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums;
}
.session-breath {
  margin-top: 8px;
  font-family: var(--font-display); font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent);
  transition: opacity 400ms var(--ease);
}
.session-stop {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
}
.session-stop:hover { color: var(--text); border-color: var(--border-2); }

/* Done */
.state-done { display: flex; flex-direction: column; justify-content: center; }
.done-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(120,216,255,0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  display: grid; place-items: center; margin: 0 auto 12px;
  animation: pulse 1.4s var(--ease) infinite;
}
.state-done strong { font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; }
.state-done span { font-size: 12px; color: var(--text-mute); margin-bottom: 14px; }
.done-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-sm { padding: 9px 16px; font-size: 12px; }

/* =====================================================
   AUDIO VISUALIZER (in sound button)
   ===================================================== */
.icon-btn-sound { position: relative; }
.audio-vis {
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center; gap: 2px;
  border-radius: inherit;
}
.audio-vis i {
  width: 2px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  animation: visBar 0.9s ease-in-out infinite;
}
.audio-vis i:nth-child(1) { animation-delay: 0.0s; }
.audio-vis i:nth-child(2) { animation-delay: 0.15s; }
.audio-vis i:nth-child(3) { animation-delay: 0.3s; }
.audio-vis i:nth-child(4) { animation-delay: 0.45s; }
@keyframes visBar {
  0%, 100% { height: 4px; }
  50%      { height: 14px; }
}
.icon-btn-sound.sound-on .ic-sound-on,
.icon-btn-sound.sound-on .ic-sound-off { display: none; }
.icon-btn-sound.sound-on .audio-vis { display: flex; }

/* =====================================================
   FLOATING TEMPERATURE GAUGE (scroll-driven)
   ===================================================== */
.temp-gauge {
  position: fixed; z-index: 90;
  bottom: 24px; right: 24px;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(8,24,40,0.65);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--gauge-color, var(--border-2));
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4), 0 0 24px -6px var(--gauge-color, transparent);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease), border-color 600ms var(--ease), box-shadow 600ms var(--ease);
  --gauge-color: rgba(255, 162, 96, 0.5);
}
.temp-gauge.is-visible { opacity: 1; transform: translateY(0); }
[data-theme="light"] .temp-gauge { background: rgba(255,255,255,0.92); }
[dir="rtl"] .temp-gauge { right: auto; left: 24px; }

.gauge-thermo {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--gauge-color);
  display: grid; place-items: center;
  overflow: hidden;
}
.gauge-fill {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent calc(100% - var(--fill, 30%)), var(--gauge-color, var(--accent)) calc(100% - var(--fill, 30%)));
  transition: background 600ms var(--ease);
}
.gauge-thermo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,0.2), transparent 50%);
  pointer-events: none;
}

.gauge-readout strong {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  display: block; line-height: 1;
  color: var(--gauge-color);
  font-variant-numeric: tabular-nums;
}
.gauge-readout strong em { font-style: normal; font-size: 10px; opacity: 0.7; }
.gauge-readout span {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute);
}

/* =====================================================
   CUSTOM CURSOR (desktop only, opt-in via body class)
   ===================================================== */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9000;
  pointer-events: none; mix-blend-mode: difference;
  display: none;
}
body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring { display: block; }
body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor [role="button"] { cursor: none; }
/* still show grab cursor on the 3D canvas */
body.has-custom-cursor .product-3d { cursor: none; }

.cursor-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: width 200ms var(--ease), height 200ms var(--ease), background 200ms var(--ease);
}
.cursor-ring {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1.5px solid #ffffff;
  transform: translate(-50%, -50%);
  transition: width 240ms var(--ease-snap), height 240ms var(--ease-snap),
              border-color 200ms var(--ease), background 200ms var(--ease),
              opacity 200ms var(--ease);
  display: grid; place-items: center;
}
.cursor-label {
  font-family: var(--font-display); font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: #000; opacity: 0;
  transition: opacity 200ms var(--ease);
}
body.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.95);
}
body.cursor-hover .cursor-dot { width: 0; height: 0; }
body.cursor-grab .cursor-ring {
  width: 70px; height: 70px;
  background: rgba(120,216,255,0.95);
  border-color: rgba(120,216,255,0.95);
  mix-blend-mode: normal;
}
body.cursor-grab .cursor-dot { display: none; }
body.cursor-grab .cursor-label { opacity: 1; }
body.cursor-pressed .cursor-ring { transform: translate(-50%, -50%) scale(0.85); }

/* =====================================================
   RTL FIXES
   ===================================================== */
[dir="rtl"] .gradient-text { background: linear-gradient(-120deg, #ffffff 0%, #b8e0ff 40%, #3ab8f0 100%); -webkit-background-clip: text; background-clip: text; }
[data-theme="light"][dir="rtl"] .gradient-text { background: linear-gradient(-120deg, #04111f 0%, #0e5bb1 50%, #0e8ed1 100%); -webkit-background-clip: text; background-clip: text; }
[dir="rtl"] .section-head { text-align: center; }
[dir="rtl"] .nav-links a::after { transform-origin: right; }

/* =====================================================
   ARABIC TYPOGRAPHY POLISH
   - Cairo replaces all display fonts (incl. Latin numerals — Cairo supports both)
   - Letter-spacing reset everywhere (Arabic is a connected script — tracking
     literally breaks the joins between letters)
   - text-transform disabled (Arabic has no case)
   - Line-height bumped (Arabic dots & marks need vertical breathing room)
   - Numerical/brand chrome stays in Latin for global readability
   ===================================================== */
html[lang="ar"] {
  /* Redefine the variable so every element using --font-display switches to Cairo automatically */
  --font-display: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  font-feature-settings: 'kern', 'liga', 'calt';
}

html[lang="ar"] body {
  font-family: 'Cairo', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

/* Universal letter-spacing reset for all common typographic elements in AR */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4,
html[lang="ar"] p, html[lang="ar"] a, html[lang="ar"] button, html[lang="ar"] li,
html[lang="ar"] .eyebrow, html[lang="ar"] .section-tag, html[lang="ar"] .nav-links a,
html[lang="ar"] .btn, html[lang="ar"] .loader-tag, html[lang="ar"] .loader-meta,
html[lang="ar"] .stage-tag, html[lang="ar"] .float-tag em, html[lang="ar"] .float-tag,
html[lang="ar"] .feature h3, html[lang="ar"] .benefit-card h3, html[lang="ar"] .pc-body h3,
html[lang="ar"] .pc-badge, html[lang="ar"] .pc-period, html[lang="ar"] .pc-list li,
html[lang="ar"] .stat-label, html[lang="ar"] .stat-num, html[lang="ar"] .gauge-readout,
html[lang="ar"] .breath-label, html[lang="ar"] .session-stat, html[lang="ar"] .ic-tag,
html[lang="ar"] .footer h4, html[lang="ar"] .foot-bottom span, html[lang="ar"] .review p,
html[lang="ar"] .loader-brand, html[lang="ar"] .loader-word, html[lang="ar"] .tagline-line,
html[lang="ar"] .state-idle span, html[lang="ar"] .state-done strong,
html[lang="ar"] .session-stat span, html[lang="ar"] .marquee-track,
html[lang="ar"] .cmp-table th, html[lang="ar"] .cmp-table td,
html[lang="ar"] .faq-q, html[lang="ar"] .faq-a p,
html[lang="ar"] .hero-meta, html[lang="ar"] .meta-item {
  letter-spacing: 0;
  text-transform: none;
}

/* Heading & body weights — Arabic glyphs read lighter at the same numeric weight,
   so we step them up one notch for visual parity with the Latin layout */
html[lang="ar"] h1 { font-weight: 800; line-height: 1.25; }
html[lang="ar"] h2 { font-weight: 700; line-height: 1.3; }
html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 700; line-height: 1.4; }
html[lang="ar"] .hero-title { font-weight: 800; }
html[lang="ar"] .hero-sub,
html[lang="ar"] .review p,
html[lang="ar"] .faq-a p,
html[lang="ar"] .lifestyle p,
html[lang="ar"] .life-copy p { line-height: 1.85; font-weight: 400; }

/* The brand wordmark "SUBZERO" stays in Latin (international brand convention,
   like Apple/Tesla/Nike in Arabic media). Same for the loader system code. */
html[lang="ar"] .brand-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: 0.14em;
  font-weight: 700;
}

/* All numeric chrome in Latin tabular numerals — cleaner for prices/data */
html[lang="ar"] .counter-num,
html[lang="ar"] .pc-price,
html[lang="ar"] .stat-num,
html[lang="ar"] .gauge-readout span:first-child,
html[lang="ar"] .breath-stat-num,
html[lang="ar"] .timer {
  font-family: 'Inter', system-ui, sans-serif;
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.02em;
}
html[lang="ar"] .pc-cur {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  letter-spacing: 0.18em;
  font-weight: 600;
}

/* The Arabic loader words — give them a touch more weight so they read crisply */
html[lang="ar"] .loader-word { font-weight: 800; }
html[lang="ar"] .loader-brand { font-size: clamp(40px, 7.5vw, 88px); gap: 0.4em; }
html[lang="ar"] .tagline-line { font-size: 13px; }

/* Marquee in AR — letters are denser, give them air */
html[lang="ar"] .marquee-track { font-size: 13px; }

/* Section eyebrows — these usually have wide tracking + uppercase for Latin.
   In Arabic, neither makes sense; just give them slight weight + the accent color */
html[lang="ar"] .eyebrow,
html[lang="ar"] .section-tag {
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  font-size: 13px;
}

/* Buttons — Arabic typesets shorter than English in some places, so bump the size slightly */
html[lang="ar"] .btn {
  font-weight: 600;
  font-size: 14.5px;
}
html[lang="ar"] .btn-primary,
html[lang="ar"] .btn-ghost { font-weight: 700; }

/* Nav links — slight weight bump and slightly larger to feel substantial in Arabic */
html[lang="ar"] .nav-links a { font-weight: 500; font-size: 14.5px; }

/* Faq accordion — Arabic question marks need proper spacing */
html[lang="ar"] .faq-q { font-weight: 700; font-size: 17px; }

/* Make sure the Arabic word "اخطُ" / "ادخل" etc. are properly weighted in the loader */
html[lang="ar"] .loader-a,
html[lang="ar"] .loader-b,
html[lang="ar"] .loader-c,
html[lang="ar"] .loader-d { font-weight: 800; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .hero-grid, .showcase, .pricing-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { justify-self: center; max-width: 460px; }
  .lifestyle-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px auto;
  }
  .life-big { grid-row: 1 / 2; grid-column: 1 / -1; }
  .life-copy { grid-column: 1 / -1; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-actions { align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-cta { display: none; }
  .nav-inner { padding: 10px 14px; border-radius: 26px; }

  .hero { padding: 120px 18px 60px; min-height: auto; }
  .hero-meta { gap: 22px; }
  .meta-item strong { font-size: 22px; }
  .float-tag { padding: 8px 12px; }
  .tag-top { left: 0; }
  .tag-bot { right: 0; }
  [dir="rtl"] .tag-top { right: 0; left: auto; }
  [dir="rtl"] .tag-bot { left: 0; right: auto; }

  .reviews-grid { grid-template-columns: 1fr; }
  .pc-list { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1.1fr 1fr 1fr; padding: 14px 16px; font-size: 13px; gap: 8px; }
  .cmp-head { font-size: 10px; }
  .lifestyle-grid { grid-template-columns: 1fr; grid-template-rows: 240px 240px 240px auto; }
  .life-big { grid-column: 1; }
  .footer-inner { gap: 30px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 460px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .pc-body { padding: 22px; }
  .pc-new { font-size: 36px; }
  .scroll-cue { display: none; }
  .icon-btn { width: 32px; height: 32px; }
  .lang-toggle { padding: 7px 10px; font-size: 11px; }
}

/* Session widget responsive: shrink stat cards on mobile so they don't overlap */
@media (max-width: 760px) {
  .session-stage { aspect-ratio: 1 / 1.15; max-width: 520px; }
  .session-stat { padding: 10px 12px; gap: 8px; }
  .session-stat .stat-ic { width: 28px; height: 28px; }
  .session-stat strong { font-size: 14px; }
  .session-stat span { font-size: 9px; }
  .stat-bpm, .stat-cal { left: 0; }
  .stat-temp, .stat-elapsed { right: 0; }
  [dir="rtl"] .stat-bpm, [dir="rtl"] .stat-cal { left: auto; right: 0; }
  [dir="rtl"] .stat-temp, [dir="rtl"] .stat-elapsed { right: auto; left: 0; }

  .temp-gauge { bottom: 14px; right: 14px; padding: 6px 12px 6px 6px; }
  [dir="rtl"] .temp-gauge { right: auto; left: 14px; }
  .gauge-readout span { display: none; }

  /* Custom cursor disabled on touch */
  body.has-custom-cursor .cursor-dot,
  body.has-custom-cursor .cursor-ring { display: none; }
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button { cursor: auto; }
}

@media (hover: none), (pointer: coarse) {
  body.has-custom-cursor .cursor-dot,
  body.has-custom-cursor .cursor-ring { display: none; }
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button { cursor: auto; }
  .drag-hint { animation: none; opacity: 0; }
}

/* Mobile menu open state */
.nav.menu-open .nav-links {
  display: flex; flex-direction: column;
  position: absolute; top: calc(100% + 10px); left: var(--pad); right: var(--pad);
  padding: 20px;
  background: rgba(8, 24, 40, 0.95);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  gap: 14px;
}
[data-theme="light"] .nav.menu-open .nav-links { background: rgba(255,255,255,0.95); }
.nav.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
