/* ============================================================
   SwitchGlass — Smart PDLC Film
   Design system: glassmorphism, light/dark theming
   ============================================================ */

/* Tokens per DESIGN.md — light "Clear" / dark "Private".
   Meaning-bearing accents stay constant across modes:
   clarity blue, privacy violet, spark amber. */
:root {
  --accent: #0EA5FF;        /* clarity blue */
  --accent-2: #7C5CFC;      /* privacy violet */
  --spark: #FFAA1D;         /* electricity moment — use sparingly */
  --grad: linear-gradient(135deg, var(--accent), var(--accent-2));

  --bg: #F7F9FB;
  --bg-2: #EFF3F8;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-solid: #FFFFFF;
  --border: #E3E8EF;
  --text: #0B1220;
  --text-2: #5B6472;
  --text-3: #8B94A3;
  --shadow: 0 10px 40px -12px rgba(11, 18, 32, 0.14);
  --shadow-lg: 0 30px 80px -20px rgba(11, 18, 32, 0.24);
  --frost-tint: rgba(255, 255, 255, 0.55);
  --nav-bg: rgba(247, 249, 251, 0.72);
  --hero-glow-1: rgba(14, 165, 255, 0.14);
  --hero-glow-2: rgba(124, 92, 252, 0.12);
  --dot-color: rgba(11, 18, 32, 0.10);

  --radius: 18px;
  --radius-sm: 12px;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); /* toggles/switches only */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);        /* everything else */
  --font-display: "Jost", "Futura", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", Consolas, monospace;
  --font: var(--font-body);
}

[data-theme="dark"] {
  --accent: #38C6FF;
  --accent-2: #8B7CFA;
  --spark: #FFC24B;

  --bg: #05070C;
  --bg-2: #090D16;
  --surface: rgba(13, 18, 32, 0.55);
  --surface-solid: #0D1220;
  --border: rgba(255, 255, 255, 0.08);
  --text: #F3F6FB;
  --text-2: #95A0B4;
  --text-3: #64748F;
  --shadow: 0 10px 40px -12px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --frost-tint: rgba(150, 175, 215, 0.26);
  --nav-bg: rgba(5, 7, 12, 0.72);
  --hero-glow-1: rgba(56, 198, 255, 0.10);
  --hero-glow-2: rgba(139, 124, 250, 0.12);
  --dot-color: rgba(243, 246, 251, 0.09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background 0.45s ease, color 0.45s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(6, 182, 212, 0.3); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.03em; }

.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }

/* Signature motif: electric dot-grid backdrop (hero + CTA sections only) */
.dot-grid {
  background-image: radial-gradient(var(--dot-color) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
}

/* Signature motif: voltage border-beam (interactive/primary elements on hover) */
.border-beam { position: relative; }
.border-beam::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit;
  padding: 1.5px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--beam-angle, 0deg),
    transparent 0 78%, var(--spark) 88%, transparent 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity 0.3s;
}
.border-beam:hover::before, .border-beam:focus-visible::before { opacity: 1; animation: beamSpin 2.4s linear infinite; }
@property --beam-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes beamSpin { to { --beam-angle: 360deg; } }

/* Signature motif: frost-to-clear hover panel */
.frost-hover { position: relative; overflow: hidden; }
.frost-hover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  background: var(--frost-tint);
  transition: backdrop-filter 0.42s var(--ease-out), background 0.42s var(--ease-out), opacity 0.42s var(--ease-out);
}
.frost-hover:hover::after, .frost-hover:focus-within::after { backdrop-filter: blur(0px); background: transparent; opacity: 0; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- ambient background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(700px 500px at 12% -5%, var(--hero-glow-1), transparent 60%),
    radial-gradient(800px 600px at 95% 10%, var(--hero-glow-2), transparent 60%),
    radial-gradient(900px 700px at 50% 110%, var(--hero-glow-1), transparent 65%);
  transition: opacity 0.45s ease;
}

/* ---------- custom cursor glow ---------- */
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.09), transparent 65%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* ============================ NAV ============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.45s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em;
}
.logo svg { width: 32px; height: 32px; }
.logo .lg-accent {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active {
  color: #fff; background: var(--grad);
  box-shadow: 0 4px 18px -4px rgba(59, 130, 246, 0.5);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; font-size: 1.1rem;
  transition: transform 0.4s var(--ease-spring), background 0.3s;
  position: relative; overflow: hidden;
}
.theme-toggle:hover { transform: rotate(25deg) scale(1.08); }
.theme-toggle .tt-icon { transition: transform 0.5s var(--ease-spring), opacity 0.3s; position: absolute; }
.theme-toggle .tt-sun { opacity: 0; transform: translateY(120%); }
.theme-toggle .tt-moon { opacity: 1; transform: translateY(0); }
[data-theme="dark"] .theme-toggle .tt-sun { opacity: 1; transform: translateY(0); }
[data-theme="dark"] .theme-toggle .tt-moon { opacity: 0; transform: translateY(-120%); }

.hamburger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: none;
  font-weight: 700; font-size: 1rem;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 26px -8px rgba(59, 130, 246, 0.65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -8px rgba(59, 130, 246, 0.75); }
.btn-ghost {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ============================ HERO ============================ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 130px 0 70px; position: relative;
}
#particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px;
  align-items: center; position: relative; z-index: 1;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 700; color: var(--text-2);
  backdrop-filter: blur(8px);
  animation: fadeUp 0.8s var(--ease-out) both;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 10px #22c55e;
  animation: pulse 1.8s infinite;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.1rem); font-weight: 900;
  margin: 20px 0 18px;
  animation: fadeUp 0.8s 0.1s var(--ease-out) both;
}
.hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 1.15rem; color: var(--text-2); max-width: 520px;
  animation: fadeUp 0.8s 0.2s var(--ease-out) both;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; animation: fadeUp 0.8s 0.3s var(--ease-out) both; }

/* --- interactive hero glass demo --- */
.glass-demo {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  aspect-ratio: 4/3; isolation: isolate;
  animation: fadeUp 0.9s 0.25s var(--ease-out) both;
  transform-style: preserve-3d;
}
.glass-demo .gd-scene {
  position: absolute; inset: 0;
  background: url("../assets/images/hero-office.jpg") center/cover,
    linear-gradient(160deg, #1e3a5f, #2d6a8f 50%, #7fb2c9);
}
.glass-demo .gd-frost {
  position: absolute; inset: 0; z-index: 2;
  backdrop-filter: blur(var(--frost-blur, 22px)) saturate(0.85);
  -webkit-backdrop-filter: blur(var(--frost-blur, 22px)) saturate(0.85);
  background: var(--frost-tint);
  transition: backdrop-filter 0.5s ease, background 0.5s ease, opacity 0.5s ease;
}
.glass-demo.is-clear .gd-frost { backdrop-filter: blur(0px) saturate(1); background: rgba(255,255,255,0.02); }
.glass-demo .gd-sheen {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.22) 45%, transparent 60%);
  transform: translateX(-120%);
}
.glass-demo:hover .gd-sheen { animation: sheen 1.4s ease; }
.gd-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(5, 12, 25, 0.72));
  color: #fff;
}
.gd-state { font-weight: 800; font-size: 0.95rem; letter-spacing: 0.06em; text-transform: uppercase; }
.gd-state .st-clear { color: #4ade80; display: none; }
.gd-state .st-frost { color: #93c5fd; }
.glass-demo.is-clear .st-clear { display: inline; }
.glass-demo.is-clear .st-frost { display: none; }

.power-switch {
  width: 74px; height: 38px; border-radius: 999px; border: none;
  background: rgba(255,255,255,0.25); position: relative;
  transition: background 0.35s;
  flex-shrink: 0;
}
.power-switch::after {
  content: "⚡"; position: absolute; top: 4px; left: 4px;
  width: 30px; height: 30px; border-radius: 50%;
  background: #fff; color: #0b1a2e;
  display: grid; place-items: center; font-size: 0.85rem;
  transition: transform 0.35s var(--ease-spring);
}
.power-switch.on { background: #22c55e; }
.power-switch.on::after { transform: translateX(36px); }

.gd-slider { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 220px; }
.gd-slider input[type="range"] { flex: 1; accent-color: var(--accent); }
.gd-slider label { font-size: 0.78rem; font-weight: 700; opacity: 0.85; white-space: nowrap; }

/* floating chips around demo */
.hero-chip {
  position: absolute; z-index: 5;
  padding: 10px 16px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
  font-size: 0.82rem; font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
.hero-chip b { display: block; font-size: 1.05rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-chip.c1 { top: -18px; right: 8%; animation-delay: 0.4s; }
.hero-chip.c2 { bottom: 22%; left: -26px; animation-delay: 1.2s; }

/* ============================ SECTIONS ============================ */
section { padding: 96px 0; position: relative; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.sec-eyebrow {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 850; }
.sec-head p { color: var(--text-2); margin-top: 14px; font-size: 1.05rem; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; } .reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; } .reveal-d4 { transition-delay: 0.4s; }

/* ---------- stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.stat-card {
  text-align: center; padding: 30px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-spring);
}
.stat-card:hover { transform: translateY(-6px); }
.stat-card .num {
  font-size: 2.4rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card .lbl { font-size: 0.88rem; color: var(--text-2); font-weight: 600; margin-top: 4px; }

/* ---------- science / how it works ---------- */
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.molecule-panel {
  border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--surface-solid); border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
#moleculeCanvas { width: 100%; height: 380px; display: block; }
.mol-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-top: 1px solid var(--border);
}
.mol-label { font-weight: 800; font-size: 0.92rem; }
.mol-label small { display: block; font-weight: 500; color: var(--text-3); }

.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  display: flex; gap: 18px; padding: 20px; border-radius: var(--radius-sm);
  border: 1px solid transparent; transition: background 0.3s, border 0.3s, transform 0.3s;
  cursor: default;
}
.step:hover { background: var(--surface); border-color: var(--border); transform: translateX(6px); }
.step-n {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 900; font-size: 1.15rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -6px rgba(59, 130, 246, 0.55);
}
.step h4 { font-size: 1.08rem; margin-bottom: 4px; }
.step p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  padding: 32px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
  transition: transform 0.15s ease-out, box-shadow 0.3s;
  transform-style: preserve-3d; will-change: transform;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(6,182,212,0.12), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.feature-card:hover::before { opacity: 1; }
.feature-card .f-icon {
  width: 56px; height: 56px; border-radius: 16px; font-size: 1.5rem;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad); color: white;
  box-shadow: 0 10px 24px -8px rgba(59, 130, 246, 0.6);
  transform: translateZ(30px);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-2); font-size: 0.95rem; }

/* ---------- before / after comparator ---------- */
.compare {
  position: relative; border-radius: 24px; overflow: hidden;
  aspect-ratio: 21/9; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); user-select: none; touch-action: none;
  cursor: ew-resize; isolation: isolate;
}
.compare .cmp-img {
  position: absolute; inset: 0;
  background: url("../assets/images/compare-room.jpg") center/cover,
    linear-gradient(150deg, #24435f, #3d7ea6 55%, #a8cfdd);
}
.compare .cmp-frost {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--cut, 50%));
  backdrop-filter: blur(20px) saturate(0.85);
  -webkit-backdrop-filter: blur(20px) saturate(0.85);
  background: var(--frost-tint);
}
.compare .cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--cut, 50%);
  width: 4px; background: #fff; z-index: 3;
  box-shadow: 0 0 20px rgba(0,0,0,0.35); transform: translateX(-50%);
}
.compare .cmp-handle::after {
  content: "⇄"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: #0b1a2e; font-size: 1.25rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.cmp-tag {
  position: absolute; top: 18px; z-index: 2;
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(5, 12, 25, 0.6); color: #fff; backdrop-filter: blur(6px);
}
.cmp-tag.left { left: 18px; } .cmp-tag.right { right: 18px; }

/* ---------- applications ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/4.6; box-shadow: var(--shadow);
  border: 1px solid var(--border); cursor: pointer;
}
.app-card .ac-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease-out);
}
.app-card:hover .ac-img { transform: scale(1.08); }
.app-card .ac-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px; color: #fff;
  background: linear-gradient(transparent 30%, rgba(4, 10, 22, 0.88));
}
.app-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.app-card p {
  font-size: 0.9rem; opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.45s, max-height 0.45s; color: #cbd5e1;
}
.app-card:hover p { opacity: 1; max-height: 120px; }
.app-card .ac-num {
  position: absolute; top: 18px; right: 20px;
  font-size: 0.8rem; font-weight: 800; color: #fff;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(8px);
}
/* gradient fallbacks per application (visible until images exist) */
.ac-home    { background-image: url("../assets/images/app-home.jpg"),    linear-gradient(160deg, #7c5cbf, #b08bd8); }
.ac-office  { background-image: url("../assets/images/app-office.jpg"),  linear-gradient(160deg, #1d4e6b, #4a90b8); }
.ac-health  { background-image: url("../assets/images/app-health.jpg"),  linear-gradient(160deg, #1a6b5a, #52b8a0); }
.ac-hotel   { background-image: url("../assets/images/app-hotel.jpg"),   linear-gradient(160deg, #8f5c2e, #d8a86b); }
.ac-retail  { background-image: url("../assets/images/app-retail.jpg"),  linear-gradient(160deg, #8f2e5c, #d86ba8); }
.ac-auto    { background-image: url("../assets/images/app-auto.jpg"),    linear-gradient(160deg, #2e3a8f, #6b7cd8); }

/* ---------- testimonials ---------- */
.testi-wrap { position: relative; max-width: 780px; margin: 0 auto; }
.testi-track { overflow: hidden; border-radius: var(--radius); }
.testi-slides { display: flex; transition: transform 0.6s var(--ease-out); }
.testi {
  flex: 0 0 100%; padding: 44px 48px; text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.testi .quote { font-size: 1.18rem; font-weight: 500; font-style: italic; color: var(--text); }
.testi .who { margin-top: 22px; font-weight: 800; }
.testi .role { color: var(--text-3); font-size: 0.88rem; font-weight: 600; }
.testi .stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 14px; }
.testi-nav { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.testi-dot {
  width: 10px; height: 10px; border-radius: 999px; border: none;
  background: var(--border); transition: width 0.3s, background 0.3s;
}
.testi-dot.active { width: 30px; background: var(--accent); }
.testi-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface-solid);
  font-size: 1.1rem; color: var(--text); box-shadow: var(--shadow); z-index: 2;
  transition: transform 0.25s var(--ease-spring);
}
.testi-arrow:hover { transform: translateY(-50%) scale(1.12); }
.testi-arrow.prev { left: -24px; } .testi-arrow.next { right: -24px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(12px); overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.open { box-shadow: var(--shadow); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none;
  font-size: 1.02rem; font-weight: 700; color: var(--text); text-align: left; gap: 12px;
}
.faq-q .chev { transition: transform 0.35s var(--ease-spring); font-size: 0.85rem; color: var(--accent); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-out);
  color: var(--text-2); font-size: 0.96rem;
}
.faq-a > div { padding: 0 24px 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: 28px; padding: 64px 48px; text-align: center;
  background: var(--grad); color: #fff; position: relative; overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(59, 130, 246, 0.55);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.14);
}
.cta-band::before { width: 300px; height: 300px; top: -140px; left: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -100px; right: -60px; }
.cta-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); position: relative; z-index: 1; }
.cta-band p { margin: 12px auto 30px; max-width: 520px; opacity: 0.92; position: relative; z-index: 1; }
.cta-band .btn { background: #fff; color: #1e3a8a; position: relative; z-index: 1; }
.cta-band .btn:hover { transform: translateY(-3px) scale(1.03); }

/* ============================ FOOTER ============================ */
footer {
  border-top: 1px solid var(--border); padding: 60px 0 30px;
  background: var(--bg-2); transition: background 0.45s;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid ul a { color: var(--text-2); font-size: 0.92rem; transition: color 0.2s; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-about p { color: var(--text-2); font-size: 0.92rem; margin-top: 12px; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--text-3); font-size: 0.85rem;
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform 0.25s var(--ease-spring), background 0.25s, color 0.25s;
}
.socials a:hover { transform: translateY(-4px); background: var(--accent); color: #fff; }

/* ============================ GAMES PAGE ============================ */
.page-hero { padding: 150px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 900; }
.page-hero h1 .grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color: var(--text-2); max-width: 620px; margin: 16px auto 0; font-size: 1.08rem; }

.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.game-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.game-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.game-card .g-emoji { font-size: 2.6rem; }
.game-card h3 { font-size: 1.25rem; }
.game-card p { color: var(--text-2); font-size: 0.93rem; flex: 1; }
.game-card .g-best {
  font-size: 0.82rem; font-weight: 700; color: var(--accent);
  display: flex; align-items: center; gap: 6px;
}
.game-card .btn { align-self: flex-start; padding: 11px 24px; font-size: 0.92rem; }
.game-card .g-diff {
  position: absolute; top: 20px; right: 20px; font-size: 0.72rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px; letter-spacing: 0.08em; text-transform: uppercase;
}
.g-diff.easy { background: rgba(34,197,94,0.15); color: #16a34a; }
.g-diff.med  { background: rgba(245,158,11,0.15); color: #d97706; }
.g-diff.hard { background: rgba(239,68,68,0.15); color: #dc2626; }
[data-theme="dark"] .g-diff.easy { color: #4ade80; }
[data-theme="dark"] .g-diff.med { color: #fbbf24; }
[data-theme="dark"] .g-diff.hard { color: #f87171; }

/* game modal */
.game-modal {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.game-modal.open { display: flex; }
.gm-backdrop {
  position: absolute; inset: 0; background: rgba(4, 8, 18, 0.7);
  backdrop-filter: blur(8px);
}
.gm-panel {
  position: relative; z-index: 1; width: min(860px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: var(--surface-solid); border: 1px solid var(--border);
  border-radius: 24px; box-shadow: var(--shadow-lg);
  animation: modalIn 0.4s var(--ease-spring);
}
.gm-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 26px; border-bottom: 1px solid var(--border);
  position: sticky; top: 0; background: var(--surface-solid); z-index: 5;
}
.gm-head h3 { font-size: 1.2rem; }
.gm-close {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); font-size: 1rem; color: var(--text);
  transition: transform 0.25s, background 0.25s;
}
.gm-close:hover { transform: rotate(90deg); background: #ef4444; color: #fff; }
.gm-body { padding: 26px; }
.gm-hud {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px;
}
.hud-chip {
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 0.88rem;
  background: var(--surface); border: 1px solid var(--border);
}
.hud-chip span { color: var(--accent); }

/* reaction game */
.rx-arena {
  border-radius: var(--radius); aspect-ratio: 16/8.5; position: relative;
  overflow: hidden; cursor: pointer; border: 1px solid var(--border);
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(150deg, #24435f, #3d7ea6 55%, #a8cfdd);
}
.rx-arena .rx-frost {
  position: absolute; inset: 0;
  backdrop-filter: blur(22px); background: var(--frost-tint);
  transition: backdrop-filter 0.18s, background 0.18s;
}
.rx-arena.clear .rx-frost { backdrop-filter: blur(0px); background: transparent; }
.rx-arena .rx-msg {
  position: relative; z-index: 2; color: #fff; font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); padding: 0 30px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}
.rx-arena.tooearly { background: linear-gradient(150deg, #7f1d1d, #b91c1c); }

/* memory game */
.mem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mem-card { aspect-ratio: 1; perspective: 600px; cursor: pointer; border: none; background: none; }
.mem-inner {
  width: 100%; height: 100%; position: relative;
  transform-style: preserve-3d; transition: transform 0.5s var(--ease-spring);
}
.mem-card.flipped .mem-inner, .mem-card.matched .mem-inner { transform: rotateY(180deg); }
.mem-face {
  position: absolute; inset: 0; border-radius: 14px;
  display: grid; place-items: center; font-size: clamp(1.4rem, 4vw, 2.2rem);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border: 1px solid var(--border);
}
.mem-front {
  background: linear-gradient(140deg, rgba(148, 190, 233, 0.55), rgba(190, 215, 240, 0.75));
  backdrop-filter: blur(6px);
}
[data-theme="dark"] .mem-front { background: linear-gradient(140deg, rgba(40, 65, 105, 0.8), rgba(25, 42, 70, 0.9)); }
.mem-front::after { content: "❄"; opacity: 0.5; font-size: 1.3rem; }
.mem-back { background: var(--surface-solid); transform: rotateY(180deg); }
.mem-card.matched .mem-back { background: rgba(34, 197, 94, 0.18); border-color: #22c55e; }
.mem-card.matched { animation: matchPop 0.5s var(--ease-spring); }

/* simon game */
.simon-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 420px; margin: 0 auto;
}
.simon-tile {
  aspect-ratio: 1.5; border-radius: 18px; border: 1px solid var(--border);
  background: var(--surface); backdrop-filter: blur(8px);
  font-size: 2rem; transition: transform 0.15s, box-shadow 0.2s, background 0.15s;
  position: relative; overflow: hidden;
}
.simon-tile:hover { transform: scale(1.03); }
.simon-tile.lit {
  transform: scale(1.06);
}
.simon-tile[data-c="0"].lit { background: #06b6d4; box-shadow: 0 0 40px #06b6d4; }
.simon-tile[data-c="1"].lit { background: #3b82f6; box-shadow: 0 0 40px #3b82f6; }
.simon-tile[data-c="2"].lit { background: #8b5cf6; box-shadow: 0 0 40px #8b5cf6; }
.simon-tile[data-c="3"].lit { background: #22c55e; box-shadow: 0 0 40px #22c55e; }
.simon-status { text-align: center; font-weight: 800; margin-bottom: 16px; min-height: 1.6em; }

/* quiz */
.quiz-q { font-size: 1.15rem; font-weight: 800; margin-bottom: 20px; }
.quiz-opts { display: grid; gap: 12px; }
.quiz-opt {
  text-align: left; padding: 16px 20px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface);
  font-size: 0.98rem; font-weight: 600; color: var(--text);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.quiz-opt:hover:not(:disabled) { transform: translateX(6px); border-color: var(--accent); }
.quiz-opt.correct { background: rgba(34,197,94,0.16); border-color: #22c55e; }
.quiz-opt.wrong { background: rgba(239,68,68,0.16); border-color: #ef4444; }
.quiz-expl {
  margin-top: 16px; padding: 14px 18px; border-radius: 12px;
  background: var(--surface); border-left: 3px solid var(--accent);
  font-size: 0.92rem; color: var(--text-2);
}
.quiz-bar { height: 8px; border-radius: 99px; background: var(--border); margin-bottom: 22px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; background: var(--grad); border-radius: 99px; transition: width 0.4s var(--ease-out); }

/* breaker */
#breakerCanvas {
  width: 100%; border-radius: var(--radius); display: block;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, #0c1a30, #12253f);
  touch-action: none;
}

/* game result overlay */
.g-result {
  text-align: center; padding: 36px 20px;
}
.g-result .big { font-size: 3rem; }
.g-result h4 { font-size: 1.5rem; margin: 10px 0 6px; }
.g-result p { color: var(--text-2); margin-bottom: 22px; }

/* ============================ GALLERY ============================ */
.filter-bar { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-2); font-weight: 700; font-size: 0.9rem;
  transition: all 0.25s;
}
.filter-btn:hover { color: var(--text); transform: translateY(-2px); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; }

.masonry { columns: 3; column-gap: 20px; }
.masonry-item {
  break-inside: avoid; margin-bottom: 20px; border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: zoom-in;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-spring), opacity 0.35s;
}
.masonry-item:hover { transform: scale(1.02); }
.masonry-item.hidden { display: none; }
.masonry-item img { width: 100%; transition: transform 0.6s var(--ease-out); }
.masonry-item:hover img { transform: scale(1.07); }
.masonry-item .mi-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(4,10,22,0.85));
  color: #fff; font-weight: 700; font-size: 0.92rem;
  opacity: 0; transition: opacity 0.35s;
}
.masonry-item:hover .mi-cap { opacity: 1; }

.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center;
  background: rgba(3, 7, 16, 0.92); backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw; max-height: 82vh; border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  animation: modalIn 0.35s var(--ease-spring);
}
.lb-cap { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); color: #cbd5e1; font-weight: 600; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1);
  color: #fff; font-size: 1.2rem; transition: background 0.25s, transform 0.25s;
}
.lb-btn:hover { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ============================ CONTACT ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.panel {
  padding: 36px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.panel h3 { font-size: 1.35rem; margin-bottom: 6px; }
.panel > p { color: var(--text-2); margin-bottom: 26px; font-size: 0.95rem; }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-solid);
  color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #ef4444; font-size: 0.8rem; font-weight: 600; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #ef4444; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* quote calculator */
.calc-slider { margin-bottom: 22px; }
.calc-slider .cs-top { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.calc-slider .cs-val { color: var(--accent); font-weight: 900; }
.calc-slider input[type="range"] {
  width: 100%; accent-color: var(--accent); height: 6px;
}
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.seg button {
  padding: 12px 8px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-solid); font-weight: 700; font-size: 0.87rem; color: var(--text-2);
  transition: all 0.25s;
}
.seg button.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 18px -6px rgba(59,130,246,0.6); }
.calc-extras { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.check {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  font-weight: 600; font-size: 0.92rem; color: var(--text-2);
}
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.quote-out {
  padding: 26px; border-radius: var(--radius-sm); text-align: center;
  background: var(--grad); color: #fff;
}
.quote-out .q-label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.quote-out .q-price { font-size: 2.3rem; font-weight: 900; margin: 6px 0; }
.quote-out .q-note { font-size: 0.8rem; opacity: 0.85; }

.form-success {
  text-align: center; padding: 40px 20px; display: none;
}
.form-success .big { font-size: 3.4rem; animation: matchPop 0.6s var(--ease-spring); }
.form-success h4 { font-size: 1.4rem; margin: 12px 0 8px; }
.form-success p { color: var(--text-2); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.cc {
  padding: 26px 20px; border-radius: var(--radius-sm); text-align: center;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-spring);
}
.cc:hover { transform: translateY(-6px); }
.cc .cc-i { font-size: 1.7rem; margin-bottom: 10px; }
.cc h4 { font-size: 0.98rem; margin-bottom: 4px; }
.cc p { color: var(--text-2); font-size: 0.88rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 140%);
  padding: 14px 26px; border-radius: 999px; z-index: 400;
  background: var(--text); color: var(--bg); font-weight: 700; font-size: 0.92rem;
  box-shadow: var(--shadow-lg); transition: transform 0.5s var(--ease-spring);
  white-space: nowrap;
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- confetti canvas ---------- */
#confettiCanvas { position: fixed; inset: 0; z-index: 500; pointer-events: none; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--grad); color: #fff; font-size: 1.1rem;
  box-shadow: 0 10px 30px -8px rgba(59,130,246,0.7);
  opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s var(--ease-spring);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { transform: translateY(-4px) scale(1.08); }

/* ============================ ANIMATIONS ============================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes sheen { to { transform: translateX(120%); } }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9) translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes matchPop { 0% { transform: scale(1); } 45% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1000px) {
  .hero-grid, .science-grid, .contact-grid { grid-template-columns: 1fr; }
  .features-grid, .apps-grid, .games-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .hero { padding-top: 110px; }
  .hero-chip.c2 { left: 0; }
  .testi-arrow.prev { left: 6px; } .testi-arrow.next { right: 6px; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--nav-bg); backdrop-filter: blur(20px);
    padding: 16px; border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform 0.4s var(--ease-out);
  }
  .nav-links.open { transform: none; }
  .nav-links a { text-align: center; padding: 13px; }
  .hamburger { display: flex; }
  .features-grid, .apps-grid, .games-grid, .stats,
  .field-row, .contact-cards, .footer-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  section { padding: 64px 0; }
  .cta-band { padding: 44px 24px; }
  .compare { aspect-ratio: 16/10; }
  .panel { padding: 24px; }
  .mem-grid { gap: 8px; }
}

/* ============================================================
   BOLD LAYER — Nike-energy rebrand. Jost geometric display type,
   uppercase headlines, oversized numerals, real image pairs.
   Appended last so these rules win over the base system above.
   ============================================================ */

/* ---------- display typography ---------- */
h1, h2, h3 { text-transform: uppercase; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem); font-weight: 800;
  line-height: 0.96; letter-spacing: -0.01em;
}
.sec-head { max-width: 880px; }
.sec-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 800; line-height: 0.98; }
.page-hero h1 { font-size: clamp(3rem, 8.5vw, 6.6rem); font-weight: 800; line-height: 0.94; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
.footer-grid h4 {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem;
  font-family: var(--font-display);
}
.display-hero {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: 0.94; letter-spacing: -0.01em; font-size: clamp(3rem, 9vw, 7.5rem);
}

.logo { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; }
.nav-links a {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; letter-spacing: 0.07em; font-size: 0.86rem; border-radius: 10px;
}

.btn {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.07em; font-weight: 800; font-size: 0.95rem;
  border-radius: 14px; padding: 16px 30px;
}

/* eyebrows become bar-kickers (no pill chrome) */
.sec-eyebrow, .kicker {
  background: none; border: none; border-radius: 0; padding: 0;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 12px;
}
.sec-eyebrow::before, .kicker::before {
  content: ""; width: 34px; height: 3px; background: var(--grad); flex-shrink: 0;
}
.hero-eyebrow {
  background: none; border: none; border-radius: 0; padding: 0;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent);
  backdrop-filter: none;
}

/* ---------- stats: giant editorial numerals, no card chrome ---------- */
.stat-card {
  background: none; border: none; backdrop-filter: none; box-shadow: none;
  border-left: 3px solid var(--border); border-radius: 0;
  text-align: left; padding: 8px 24px;
}
.stat-card:hover { transform: none; border-left-color: var(--accent); }
.stat-card .num {
  font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -0.02em; line-height: 1;
}
.stat-card .lbl { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; margin-top: 8px; }

/* ---------- marquee strip ---------- */
.marquee {
  overflow: hidden; white-space: nowrap; padding: 22px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  user-select: none;
}
.marquee-track {
  display: inline-flex; align-items: baseline; gap: 52px; padding-right: 52px;
  animation: marqueeScroll 28s linear infinite; will-change: transform;
}
.marquee span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  text-transform: uppercase; letter-spacing: 0.02em; line-height: 1;
}
.marquee .outline { color: transparent; -webkit-text-stroke: 1.5px var(--text-3); }
.marquee .accent { color: var(--accent); }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- switch-compare: real photo pair, clear vs frosted ----------
   Two identical shots — glass clear vs glass frosted — split at --cut.
   The glass IN the photo switches; no fake blur overlay. */
.switch-compare {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 16/9; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  user-select: none; touch-action: none; cursor: ew-resize; isolation: isolate;
  background: var(--bg-2);
}
.switch-compare img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; pointer-events: none; margin: 0;
}
.switch-compare .sc-frost { clip-path: inset(0 0 0 var(--cut, 50%)); }
.switch-compare .cmp-handle {
  position: absolute; top: 0; bottom: 0; left: var(--cut, 50%);
  width: 4px; background: #fff; z-index: 3;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35); transform: translateX(-50%);
}
.switch-compare .cmp-handle::after {
  content: "⇄"; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: #0b1a2e; font-size: 1.25rem;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.switch-compare .cmp-handle:focus-visible { outline: none; }
.switch-compare .cmp-handle:focus-visible::after { box-shadow: 0 0 0 4px var(--accent), 0 8px 24px rgba(0, 0, 0, 0.3); }

/* ---------- use-case rows (alternating editorial blocks) ---------- */
.uc-row {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(30px, 4vw, 54px) 0;
}
.uc-row.flip .uc-media { order: 2; }
.uc-media .switch-compare { aspect-ratio: 16/9; }
.uc-num {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(3.2rem, 6.5vw, 5.4rem);
  color: transparent; -webkit-text-stroke: 2px var(--text-3);
}
.uc-copy h3 {
  font-size: clamp(1.8rem, 3.3vw, 2.6rem); font-weight: 800;
  line-height: 0.98; margin: 12px 0 14px;
}
.uc-copy p { color: var(--text-2); max-width: 480px; }
.uc-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; font-size: 0.9rem; color: var(--accent);
}
.uc-link svg, .uc-link .arr { transition: transform 0.3s var(--ease-out); }
.uc-link:hover .arr { transform: translateX(6px); }

/* ---------- hero glass demo now uses the real photo pair ---------- */
.glass-demo .gd-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; margin: 0;
}
.glass-demo .gd-photo.frost { opacity: var(--frost-op, 1); z-index: 1; }

/* ---------- responsive for new components ---------- */
@media (max-width: 1000px) {
  .uc-row { grid-template-columns: 1fr; gap: 22px; }
  .uc-row.flip .uc-media { order: 0; }
  .stats { gap: 8px; }
}
@media (max-width: 680px) {
  .switch-compare, .uc-media .switch-compare { aspect-ratio: 16/10; }
  .marquee-track { gap: 30px; padding-right: 30px; }
}

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