/* ============================================================
   SilverGen Technologies — company website
   "AI-powered. People-driven."
   SilvERP theme tokens ported from the product design system
   (silverp-retail/frontend/src/salesflow/theme/tokens.ts)
   ============================================================ */

/* ---------- Theme: Default (SilverGen / SilvERP Brand) ---------- */
:root,
html[data-theme='brand'] {
  --bg: #eef1f6;
  --bg-2: #e3e8f0;
  --panel: #ffffff;
  --panel-2: #f4f6fb;
  --border: #dde3ee;
  --border-strong: #cbd3e2;
  --text: #141a26;
  --muted: #5a6577;
  --faint: #8b95a8;
  --accent: #2456d6;
  --accent-hover: #1d49bd;
  --accent-contrast: #ffffff;
  --accent-soft: #e2e9fb;
  --accent-text: #2049c2;
  --positive: #1f8a5b;
  --positive-soft: #e1f2ea;
  --warning: #b3791b;
  --warning-soft: #f7eed9;
  --danger: #c4453d;
  --danger-soft: #fbe7e5;
  --gold: #b08317;
  --silver: #8793a6;
  --rail: #0e1830;
  --rail-grad: linear-gradient(180deg, #16213f 0%, #0a1124 100%);
  --rail-text: #dfe5f2;
  --rail-muted: #7683a0;
  --rail-border: rgba(255, 255, 255, 0.08);
  --rail-accent: #5b83eb;
  --hero-grad: radial-gradient(ellipse 120% 90% at 50% -10%, rgba(20, 33, 66, 0.86) 0%, rgba(13, 22, 46, 0.92) 45%, rgba(8, 13, 30, 0.97) 100%);
  --hero-text: #f2f5fc;
  --hero-muted: #a7b3cd;
  --radius: 13px;
  --radius-sm: 9px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 60, 0.06);
  --shadow: 0 6px 22px -10px rgba(20, 40, 90, 0.18);
  --shadow-lg: 0 20px 46px -18px rgba(20, 40, 90, 0.26);
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --head-weight: 700;
  --head-tracking: -0.02em;
}

/* ---------- Theme: Refined Classic ---------- */
html[data-theme='classic'] {
  --bg: #f4f4f6;
  --bg-2: #ececed;
  --panel: #ffffff;
  --panel-2: #f7f7f9;
  --border: #e4e4e9;
  --border-strong: #d3d3da;
  --text: #1b1b1f;
  --muted: #6c6c78;
  --faint: #9a9aa6;
  --accent: #5b5bd6;
  --accent-hover: #4a4ac4;
  --accent-contrast: #ffffff;
  --accent-soft: #ececfb;
  --accent-text: #4a4ac4;
  --positive: #1f8a5b;
  --positive-soft: #e3f3ea;
  --warning: #b3791b;
  --warning-soft: #f8efdc;
  --danger: #c4453d;
  --danger-soft: #fbe8e6;
  --gold: #b08317;
  --silver: #7a8590;
  --rail: #0c0c10;
  --rail-grad: linear-gradient(180deg, #141419 0%, #0a0a0d 100%);
  --rail-text: #e8e8ee;
  --rail-muted: #7a7a86;
  --rail-border: rgba(255, 255, 255, 0.07);
  --rail-accent: #7b7bf0;
  --hero-grad: radial-gradient(ellipse 120% 90% at 50% -10%, rgba(30, 30, 42, 0.88) 0%, rgba(18, 18, 24, 0.93) 50%, rgba(9, 9, 12, 0.97) 100%);
  --hero-text: #f0f0f5;
  --hero-muted: #a3a3b2;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 30, 0.05);
  --shadow: 0 4px 16px -6px rgba(20, 20, 40, 0.12);
  --shadow-lg: 0 18px 40px -16px rgba(20, 20, 40, 0.22);
  --font-head: 'Spectral', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --head-weight: 600;
  --head-tracking: -0.01em;
}

/* ---------- Theme: Bright Counter ---------- */
html[data-theme='bright'] {
  --bg: #fbfbfa;
  --bg-2: #f4f5f3;
  --panel: #ffffff;
  --panel-2: #f7f8f6;
  --border: #e9eae6;
  --border-strong: #dcded8;
  --text: #16201b;
  --muted: #5f6b64;
  --faint: #98a299;
  --accent: #0b8a6a;
  --accent-hover: #0a755a;
  --accent-contrast: #ffffff;
  --accent-soft: #e2f4ee;
  --accent-text: #0a755a;
  --positive: #0b8a6a;
  --positive-soft: #e2f4ee;
  --warning: #bf7d12;
  --warning-soft: #fbf0d9;
  --danger: #cf4b3f;
  --danger-soft: #fce9e6;
  --gold: #b08317;
  --silver: #7a8590;
  --rail: #102b22;
  --rail-grad: linear-gradient(180deg, #14352a 0%, #0b211a 100%);
  --rail-text: #e3f0ea;
  --rail-muted: #8aa698;
  --rail-border: rgba(255, 255, 255, 0.08);
  --rail-accent: #34c498;
  --hero-grad: radial-gradient(ellipse 120% 90% at 50% -10%, rgba(20, 56, 46, 0.88) 0%, rgba(13, 38, 31, 0.93) 50%, rgba(8, 25, 20, 0.97) 100%);
  --hero-text: #effaf5;
  --hero-muted: #9ec4b4;
  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(30, 40, 35, 0.05);
  --shadow: 0 6px 22px -10px rgba(20, 50, 40, 0.16);
  --shadow-lg: 0 22px 48px -20px rgba(20, 60, 45, 0.22);
  --font-head: 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --head-weight: 700;
  --head-tracking: -0.02em;
}

/* ---------- Theme: Bullion Terminal (all dark) ---------- */
html[data-theme='terminal'] {
  --bg: #0d0e12;
  --bg-2: #0a0b0e;
  --panel: #16181e;
  --panel-2: #1b1e25;
  --border: #262a33;
  --border-strong: #343a45;
  --text: #e9eaee;
  --muted: #9197a3;
  --faint: #646b78;
  --accent: #d8a838;
  --accent-hover: #e6b94a;
  --accent-contrast: #1a1505;
  --accent-soft: rgba(216, 168, 56, 0.14);
  --accent-text: #e6bb55;
  --positive: #43c08a;
  --positive-soft: rgba(67, 192, 138, 0.14);
  --warning: #e0a93c;
  --warning-soft: rgba(224, 169, 60, 0.14);
  --danger: #e5675c;
  --danger-soft: rgba(229, 103, 92, 0.14);
  --gold: #d8a838;
  --silver: #aab4c0;
  --rail: #0a0b0e;
  --rail-grad: linear-gradient(180deg, #111319 0%, #08090c 100%);
  --rail-text: #d7dae1;
  --rail-muted: #6c727e;
  --rail-border: rgba(255, 255, 255, 0.06);
  --rail-accent: #d8a838;
  --hero-grad: radial-gradient(ellipse 120% 90% at 50% -10%, rgba(30, 25, 14, 0.88) 0%, rgba(17, 16, 18, 0.93) 50%, rgba(8, 9, 12, 0.97) 100%);
  --hero-text: #f0ead8;
  --hero-muted: #a89f88;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 44px -18px rgba(0, 0, 0, 0.7);
  --font-head: 'Hanken Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --head-weight: 650;
  --head-tracking: -0.01em;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking);
  line-height: 1.15;
}

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

.mono { font-family: var(--font-mono); }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

section { padding: 96px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* dark sections share rail palette */
.dark-section { background: var(--rail); color: var(--rail-text); }
.dark-section .section-head h2 { color: var(--rail-text); }
.dark-section .section-head p { color: var(--rail-muted); }

/* ---------- Reveal on scroll (hidden state only when JS runs) ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

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

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 200;
  pointer-events: none;
}

/* ============================================================
   Bullion ticker
   ============================================================ */
.ticker {
  background: var(--rail);
  color: var(--rail-text);
  border-bottom: 1px solid var(--rail-border);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12.5px;
  position: relative;
  z-index: 60;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 26px;
  white-space: nowrap;
  border-right: 1px solid var(--rail-border);
}
.ticker-item .sym { color: var(--gold); font-weight: 600; }
.ticker-item .up { color: var(--positive); }
.ticker-item .down { color: var(--danger); }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--rail) 90%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rail-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo .wordmark { line-height: 1.05; }
/* Metallic silver→blue wordmark — echoes the logo's chrome lettering and its
   blue hue while staying legible on the dark navy rail. */
.nav-logo .wordmark b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.16em;
  color: #cdd9f2; /* fallback if background-clip:text unsupported */
  background: linear-gradient(180deg, #eef3fd 0%, #bccff4 44%, #6f97e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-logo .wordmark span {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.42em;
  color: #8aa1cf;
  font-weight: 700;
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--rail-muted); font-size: 13.5px; font-weight: 600; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.current { color: var(--rail-text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-contrast); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--rail-text); border-color: var(--rail-border); }
.btn-ghost:hover { border-color: var(--rail-accent); color: var(--rail-accent); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* command-palette trigger */
.palette-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rail-border);
  color: var(--rail-muted);
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 12px;
  transition: color 0.2s, border-color 0.2s;
}
.palette-btn:hover { color: var(--rail-text); border-color: var(--rail-accent); }
.palette-btn kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1px 5px;
}

/* theme pill */
.theme-pill {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rail-border);
  border-radius: 999px;
  padding: 4px;
}
.theme-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; padding: 0; transition: transform 0.18s, border-color 0.18s; }
.theme-dot:hover { transform: scale(1.15); }
.theme-dot.active { border-color: #ffffff; }
.theme-dot[data-set='brand'] { background: linear-gradient(135deg, #0e1830 50%, #2456d6 50%); }
.theme-dot[data-set='classic'] { background: linear-gradient(135deg, #0c0c10 50%, #5b5bd6 50%); }
.theme-dot[data-set='bright'] { background: linear-gradient(135deg, #ffffff 50%, #0b8a6a 50%); }
.theme-dot[data-set='terminal'] { background: linear-gradient(135deg, #0a0b0e 50%, #d8a838 50%); }

.nav-burger { display: none; background: none; border: none; color: var(--rail-text); width: 40px; height: 40px; }

/* ============================================================
   Command palette
   ============================================================ */
.palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 12, 24, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 20px;
}
.palette-overlay.open { display: flex; }
.palette {
  width: min(560px, 100%);
  background: var(--panel);
  color: var(--text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  animation: palette-in 0.18s ease;
}
@keyframes palette-in { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }
.palette input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.palette-list { max-height: 320px; overflow-y: auto; padding: 8px; }
.palette-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 9px;
  padding: 11px 12px;
  font-size: 14px;
  color: var(--text);
}
.palette-item .pi-kind {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.palette-item svg { width: 16px; height: 16px; color: var(--accent-text); flex-shrink: 0; }
.palette-item:hover, .palette-item.sel { background: var(--accent-soft); }
.palette-empty { padding: 24px; text-align: center; color: var(--faint); font-size: 14px; }

/* ============================================================
   Hero — liquid silver
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--hero-text);
  padding: 110px 0 130px;
  background-image: url('../assets/silver-texture.jpg');
  background-size: cover;
  background-position: center;
}
.hero::before { content: ''; position: absolute; inset: 0; background: var(--hero-grad); }
/* moving sheen */
.hero::after {
  content: '';
  position: absolute;
  inset: -50% -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.07) 50%, transparent 58%);
  animation: sheen 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sheen { 0%, 100% { transform: translateX(-30%); } 50% { transform: translateX(30%); } }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hero-muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 26px;
  background: rgba(255, 255, 255, 0.05);
}
.hero-badge .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--positive); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(67, 192, 138, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(67, 192, 138, 0); }
}
.hero h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 22px; }
.hero h1 .grad {
  background: linear-gradient(100deg, #c9d6f2, #7fa3e8 40%, var(--rail-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 700;
}
.hero-sub { color: var(--hero-muted); font-size: 18px; max-width: 560px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-meta div { font-size: 13px; color: var(--hero-muted); }
.hero-meta strong { display: block; font-size: 22px; color: var(--hero-text); font-family: var(--font-head); }

/* emblem orbit visual */
.hero-emblem { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-emblem .emblem-img {
  width: min(330px, 70%);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
  animation: emblem-float 7s ease-in-out infinite;
  position: relative;
  z-index: 2;
}
@keyframes emblem-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.orbit { position: absolute; border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 50%; animation: orbit-spin 40s linear infinite; }
.orbit-1 { width: 420px; height: 420px; }
.orbit-2 { width: 540px; height: 540px; animation-duration: 65s; animation-direction: reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.orbit .sat {
  position: absolute;
  top: -17px;
  left: calc(50% - 17px);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--rail-grad);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #cdd9f2;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}
.orbit .sat svg { width: 15px; height: 15px; }
.orbit .sat.s2 { top: auto; bottom: -17px; }
.orbit .sat.s3 { top: calc(50% - 17px); left: -17px; }
.orbit .sat.s4 { top: calc(50% - 17px); left: auto; right: -17px; }

/* ============================================================
   Stats strip
   ============================================================ */
.stats { background: var(--rail); border-top: 1px solid var(--rail-border); color: var(--rail-text); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 44px); color: var(--rail-accent); }
.stat span { color: var(--rail-muted); font-size: 13.5px; font-weight: 600; }

/* ============================================================
   Purpose / who we are
   ============================================================ */
.purpose-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
.purpose-copy h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.purpose-copy p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.pillars { display: grid; gap: 16px; }
.pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.pillar:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.pillar .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; flex-shrink: 0; }
.pillar .ico svg { width: 21px; height: 21px; }
.pillar h4 { font-size: 16px; margin-bottom: 3px; }
.pillar p { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   Vision & Mission
   ============================================================ */
.vm-section { background: var(--bg-2); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.vm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.vm-card .vm-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.22em; color: var(--accent-text); text-transform: uppercase; padding-right: 72px; }
.vm-card h3 { font-size: 24px; margin: 10px 0 14px; padding-right: 72px; }
.vm-card p { color: var(--muted); font-size: 15.5px; }
.vm-card .vm-ico {
  position: absolute;
  right: 26px;
  top: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  display: grid;
  place-items: center;
}
.vm-card .vm-ico svg { width: 24px; height: 24px; }

/* ============================================================
   Problem → Answer comparison slider
   ============================================================ */
.compare-wrap { max-width: 980px; margin: 0 auto; }
.compare {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9.4;
  user-select: none;
  touch-action: none;
  background: #131722;
}
.cmp-side { position: absolute; inset: 0; padding: clamp(14px, 3vw, 30px); }
.cmp-before { background: linear-gradient(160deg, #2a2530, #1c1922); color: #e8e2da; }
.cmp-after { background: linear-gradient(160deg, #122042, #0c1530); color: #e8eefc; clip-path: inset(0 0 0 var(--cut, 50%)); }
.cmp-tag {
  position: absolute;
  top: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 3;
}
.cmp-before .cmp-tag { left: 16px; background: rgba(229, 103, 92, 0.18); color: #f2a59e; border: 1px solid rgba(229, 103, 92, 0.4); }
.cmp-after .cmp-tag { right: 16px; background: rgba(67, 192, 138, 0.16); color: #7fe0b4; border: 1px solid rgba(67, 192, 138, 0.4); }

/* chaos side */
.chaos-note {
  position: absolute;
  background: #efe6c8;
  color: #3d3624;
  font-size: clamp(8.5px, 1.15vw, 12px);
  font-weight: 700;
  padding: 1% 1.4%;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  line-height: 1.35;
}
.chaos-note small { display: block; font-weight: 500; color: #6e6248; font-size: 0.86em; }
.chaos-note.bad { background: #f4d7d3; color: #5a221d; }
.chaos-note.bad small { color: #8a4f49; }
.chaos-link { position: absolute; inset: 0; width: 100%; height: 100%; }
.chaos-link path { stroke: rgba(229, 103, 92, 0.55); stroke-width: 1.6; stroke-dasharray: 5 6; fill: none; }
.cmp-caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  font-size: clamp(10px, 1.3vw, 13px);
  color: rgba(255, 255, 255, 0.62);
  z-index: 3;
}
.cmp-after .cmp-caption { text-align: right; }

/* clean side */
.clean-board { position: absolute; inset: 11% 4% 12%; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: auto 1fr; gap: 2%; }
.clean-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(127, 163, 232, 0.3);
  border-radius: 10px;
  padding: 2% 3%;
  font-size: clamp(8.5px, 1.15vw, 12.5px);
  font-weight: 700;
  color: #dbe6fb;
}
.clean-card small { display: block; font-weight: 500; color: #8fa3cc; font-size: 0.86em; }
.clean-card.wide { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 2%; }
.clean-card .ok { color: #7fe0b4; }

/* handle */
.cmp-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--cut, 50%);
  width: 0;
  z-index: 5;
}
.cmp-handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: linear-gradient(180deg, var(--gold), #fff, var(--gold)); }
.cmp-knob {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #1c2a4f;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  cursor: ew-resize;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -1px;
}
.compare-hint { text-align: center; color: var(--faint); font-size: 13px; margin-top: 14px; }

/* problem chips under the slider */
.problem-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.pp {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 4px solid var(--danger);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.pp.fix { border-left-color: var(--positive); }
.pp h5 { font-size: 14px; margin-bottom: 5px; font-family: var(--font-head); }
.pp p { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   SilvERP product section
   ============================================================ */
.product-intro { display: flex; align-items: center; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.product-intro img { height: 64px; width: auto; }
.product-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 18px 0 50px; }
.product-chip {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 999px;
  padding: 7px 16px;
}

.modules-section { background: var(--bg-2); }
.module-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.mf {
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 9px 20px;
  transition: all 0.2s;
}
.mf:hover { border-color: var(--accent); color: var(--accent-text); }
.mf.active { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }

.comb-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.comb {
  display: flex;
  flex-direction: column;
  align-items: center;
  --hex-w: clamp(78px, 9vw, 118px);
  --hex-h: calc(var(--hex-w) * 1.1547);
}
.comb-row { display: flex; gap: 7px; }
.comb-row + .comb-row { margin-top: calc(var(--hex-h) * -0.225); }
.hex { position: relative; width: var(--hex-w); height: var(--hex-h); flex-shrink: 0; }
.hex-ring, .hex-tile { position: absolute; clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); }
.hex-ring { inset: 0; background: color-mix(in srgb, var(--silver) 34%, transparent); transition: background 0.25s; }
.hex.selected .hex-ring,
.hex.in-config .hex-ring { background: var(--gold); }
/* Muted steel-blue tile — softer than the royal-blue accent so the comb reads
   as calm metal rather than a wall of loud blue. */
.hex-tile {
  inset: 3px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: linear-gradient(135deg, #51678f 0%, #38486a 100%);
  color: #eef2f9;
  transition: filter 0.2s, opacity 0.3s, transform 0.2s;
  padding: 6px;
}
.hex.in-config .hex-tile { background: linear-gradient(135deg, #5d76a0 0%, #3f5379 100%); }
.hex-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 8%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.1) 35%, transparent 60%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}
.hex-tile:hover { filter: brightness(1.14); }
.hex-tile svg { width: 21px; height: 21px; position: relative; }
.hex-tile span { position: relative; font-size: clamp(9px, 0.85vw, 11.5px); font-weight: 700; text-align: center; line-height: 1.15; letter-spacing: 0.02em; }
.hex.dim .hex-tile { opacity: 0.18; filter: grayscale(0.8); }
.hex.dim .hex-ring { background: color-mix(in srgb, var(--gold) 12%, transparent); }

.module-detail {
  position: sticky;
  top: 96px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 30px;
  min-height: 320px;
}
.module-detail .md-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 16px; }
.module-detail .md-ico svg { width: 26px; height: 26px; }
.module-detail .md-cat { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.module-detail h3 { font-size: 24px; margin: 6px 0 12px; }
.module-detail p { color: var(--muted); font-size: 15px; }
.module-detail ul { margin-top: 16px; list-style: none; }
.module-detail li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text); padding: 5px 0; }
.module-detail li::before { content: '✓'; color: var(--positive); font-weight: 800; flex-shrink: 0; }
.md-fade { animation: md-in 0.32s ease; }
@keyframes md-in { from { opacity: 0; transform: translateY(8px); } }

/* ============================================================
   Metal journey
   ============================================================ */
.journey-svg-wrap {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 40px);
  overflow-x: auto;
}
.journey-svg { width: 100%; min-width: 760px; height: auto; display: block; }
.j-node-circle { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.j-node-icon { fill: none; stroke: var(--accent-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.j-label { font-family: var(--font-head); font-weight: 700; font-size: 15px; fill: var(--text); }
.j-sub { font-family: var(--font-body); font-size: 11px; fill: var(--muted); }
.j-path { fill: none; stroke: var(--border-strong); stroke-width: 2.5; }
.j-flow { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 10 14; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }

.journey-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.jp { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.jp .num { font-family: var(--font-mono); color: var(--accent-text); font-size: 13px; font-weight: 700; }
.jp h4 { margin: 8px 0 8px; font-size: 17px; }
.jp p { color: var(--muted); font-size: 14px; }

/* ============================================================
   Tours — two complete "videos"
   ============================================================ */
.tour-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 36px; flex-wrap: wrap; }
.tour-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--rail-border);
  color: var(--rail-muted);
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 26px;
  transition: all 0.2s;
}
.tour-tab svg { width: 17px; height: 17px; }
.tour-tab:hover { color: var(--rail-text); border-color: var(--rail-accent); }
.tour-tab.active { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.tour-pane { display: none; }
.tour-pane.active { display: block; }

.player {
  max-width: 940px;
  margin: 0 auto;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--rail-border);
  position: relative;
}
.player-screen { position: relative; aspect-ratio: 16 / 9; background: #0a0f1e; overflow: hidden; }
.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene.live { opacity: 1; transform: scale(1); }

.scene-caption {
  position: absolute;
  left: 24px;
  bottom: 58px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 16px;
  max-width: 72%;
}
.scene-caption .t { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff; }
.scene-caption .s { font-size: 12px; color: rgba(255, 255, 255, 0.65); }

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: rgba(5, 9, 20, 0.55);
  backdrop-filter: blur(3px);
  border: none;
  transition: opacity 0.4s;
}
.player-overlay.hidden { opacity: 0; pointer-events: none; }
.play-orb {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 14px color-mix(in srgb, var(--accent) 25%, transparent), 0 24px 50px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s;
}
.player-overlay:hover .play-orb { transform: scale(1.08); }
.play-orb svg { width: 34px; height: 34px; margin-left: 4px; }
.player-overlay .ov-label { position: absolute; margin-top: 132px; color: #fff; font-weight: 700; font-size: 14px; letter-spacing: 0.04em; }

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
}
.pc-btn {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pc-btn:hover { background: rgba(255, 255, 255, 0.24); }
.pc-btn svg { width: 16px; height: 16px; }
.segments { flex: 1; display: flex; gap: 6px; }
.seg { flex: 1; height: 22px; display: flex; align-items: center; background: none; border: none; padding: 0; }
.seg i { display: block; width: 100%; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.22); overflow: hidden; position: relative; }
.seg i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: calc(var(--p, 0) * 100%);
  background: var(--accent);
  border-radius: 99px;
}
.pc-time { font-family: var(--font-mono); font-size: 11.5px; color: rgba(255, 255, 255, 0.7); flex-shrink: 0; }

/* --- shared scene internals --- */
.mock-bg-net { position: absolute; inset: 0; opacity: 0.2; }
.s-card { background: #fff; color: #141a26; border-radius: 14px; box-shadow: 0 30px 60px -16px rgba(0, 0, 0, 0.6); position: relative; z-index: 2; }
.s-head { font-size: 11px; font-weight: 800; color: #141a26; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.s-chip { font-size: 9px; font-weight: 800; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.s-chip.ok { background: #e1f2ea; color: #1f8a5b; }
.s-chip.warn { background: #f7eed9; color: #b3791b; }
.s-chip.bad { background: #fbe7e5; color: #c4453d; }
.s-chip.info { background: #e2e9fb; color: #2049c2; }

@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes line-in { to { opacity: 1; transform: none; } }
@keyframes btn-press { 50% { transform: scale(0.96); filter: brightness(0.92); } }
@keyframes caret { 50% { opacity: 0; } }

/* scene: login */
.login-card { width: min(320px, 70%); padding: 28px; }
.login-card img { height: 30px; width: auto; margin: 0 auto 18px; }
.fake-input {
  height: 38px;
  border: 1.5px solid #dde3ee;
  border-radius: 9px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12.5px;
  color: #5a6577;
  gap: 8px;
  overflow: hidden;
}
.fake-input .type-text::after { content: ''; border-right: 1.5px solid #2456d6; animation: caret 0.9s steps(1) infinite; margin-left: 1px; }
.fake-btn { height: 40px; background: var(--accent); border-radius: 9px; color: var(--accent-contrast); display: grid; place-items: center; font-weight: 700; font-size: 13.5px; }
.scene.live .fake-btn { animation: btn-press 0.5s ease 3.2s; }

/* scene: honeycomb workspace */
.mini-comb { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
.mini-comb .row { display: flex; gap: 5px; }
.mini-comb .row + .row { margin-top: -16px; }
.mini-comb .row.off { margin-left: 39px; }
.mini-hex {
  width: 74px;
  height: 85px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.6);
}
.mini-hex svg { width: 15px; height: 15px; }
.scene.live .mini-hex { animation: hex-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) forwards; animation-delay: calc(var(--i) * 0.09s); }
@keyframes hex-pop { to { opacity: 1; transform: scale(1); } }
.scene.live .mini-hex.target { animation: hex-pop 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.4) forwards, hex-glow 1.2s ease 2.8s infinite; animation-delay: calc(var(--i) * 0.09s), 2.8s; }
@keyframes hex-glow { 50% { filter: brightness(1.35) drop-shadow(0 0 14px var(--accent)); } }

/* scene: dashboard */
.mini-dash { width: min(620px, 88%); padding: 0; overflow: hidden; }
.mini-dash .md-top { background: #0e1830; color: #dfe5f2; font-size: 11px; font-weight: 700; padding: 9px 14px; display: flex; gap: 8px; align-items: center; }
.mini-dash .md-top img { height: 14px; width: auto; }
.mini-dash .md-body { padding: 14px; background: #eef1f6; }
.mini-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.mini-kpi { background: #fff; border: 1px solid #dde3ee; border-radius: 8px; padding: 8px 10px; }
.mini-kpi .l { font-size: 7.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #8b95a8; font-weight: 800; }
.mini-kpi .v { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: #141a26; }
.mini-chart { background: #fff; border: 1px solid #dde3ee; border-radius: 8px; padding: 10px; }
.mini-chart svg { width: 100%; height: 90px; display: block; }
.scene.live .mini-chart .line2 { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.6s ease forwards 0.8s; }
.branch-chips { display: flex; gap: 6px; margin-top: 8px; }
.branch-chip { flex: 1; background: #fff; border: 1px solid #dde3ee; border-radius: 7px; font-size: 8.5px; font-weight: 700; color: #5a6577; text-align: center; padding: 6px 2px; opacity: 0; transform: translateY(8px); }
.scene.live .branch-chip { animation: line-in 0.4s ease forwards; animation-delay: calc(1.4s + var(--i) * 0.3s); }
.branch-chip b { display: block; font-family: var(--font-mono); font-size: 11px; color: #141a26; }

/* scene: POS sale */
.mini-pos { width: min(600px, 88%); display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; }
.pos-left { padding: 16px; border-right: 1px solid #eef1f6; }
.pos-left .ph { font-size: 11px; font-weight: 800; color: #141a26; margin-bottom: 10px; display: flex; justify-content: space-between; }
.pos-left .rate { font-family: var(--font-mono); font-size: 10px; color: #1f8a5b; font-weight: 700; }
.pos-line {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  padding: 7px 8px;
  border-radius: 6px;
  background: #f4f6fb;
  margin-bottom: 6px;
  color: #141a26;
  opacity: 0;
  transform: translateX(-12px);
}
.scene.live .pos-line { animation: line-in 0.45s ease forwards; animation-delay: calc(0.7s + var(--i) * 0.5s); }
.pos-line .m { font-family: var(--font-mono); font-weight: 700; }
.pos-line.tender { background: #e2e9fb; color: #2049c2; font-weight: 700; }
.pos-right { padding: 16px; background: #fafbfd; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.pos-right .tot-l { font-size: 9px; color: #8b95a8; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.pos-right .tot-v { font-family: var(--font-mono); font-size: 21px; font-weight: 800; color: #141a26; }
.pos-pay { background: #1f8a5b; color: #fff; border-radius: 8px; text-align: center; font-size: 12px; font-weight: 800; padding: 10px; }
.scene.live .pos-pay { animation: btn-press 0.5s ease 3.8s; }
.pos-irn { font-size: 9px; color: #1f8a5b; font-weight: 700; text-align: center; opacity: 0; }
.scene.live .pos-irn { animation: fadein 0.5s ease forwards 4.4s; }

/* scene: customer & KYC */
.cust-card { width: min(540px, 86%); padding: 18px; }
.cust-search { height: 34px; border: 1.5px solid #dde3ee; border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: 11.5px; color: #5a6577; margin-bottom: 12px; }
.cust-row { display: flex; align-items: center; gap: 12px; background: #f4f6fb; border-radius: 9px; padding: 11px 12px; opacity: 0; transform: translateY(10px); }
.scene.live .cust-row { animation: line-in 0.45s ease forwards 1.3s; }
.cust-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #2456d6, #1d49bd); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; }
.cust-row .cr-name { font-size: 12px; font-weight: 800; color: #141a26; }
.cust-row .cr-sub { font-size: 9.5px; color: #8b95a8; }
.cust-row .chips { margin-left: auto; display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.cust-row .chips .s-chip { opacity: 0; }
.scene.live .cust-row .chips .s-chip { animation: fadein 0.4s ease forwards; }
.scene.live .cust-row .chips .s-chip:nth-child(1) { animation-delay: 2s; }
.scene.live .cust-row .chips .s-chip:nth-child(2) { animation-delay: 2.5s; }
.scene.live .cust-row .chips .s-chip:nth-child(3) { animation-delay: 3s; }
.cust-history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 12px; }
.cust-hist { background: #fff; border: 1px solid #dde3ee; border-radius: 7px; padding: 7px 9px; font-size: 8px; font-weight: 800; color: #8b95a8; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0; }
.scene.live .cust-hist { animation: fadein 0.4s ease forwards; animation-delay: calc(3.4s + var(--i) * 0.25s); }
.cust-hist b { display: block; font-family: var(--font-mono); font-size: 12px; color: #141a26; text-transform: none; letter-spacing: 0; }

/* scene: rate lock */
.rate-card { width: min(440px, 80%); padding: 20px; }
.rate-big { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; }
.rate-big .rv { font-family: var(--font-mono); font-size: 30px; font-weight: 800; color: #141a26; }
.rate-big .ru { font-size: 11px; color: #8b95a8; font-weight: 700; }
.rate-src { font-size: 9.5px; color: #1f8a5b; font-weight: 700; margin-bottom: 14px; }
.rate-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 14px; }
.rate-mini { background: #f4f6fb; border-radius: 7px; padding: 7px 10px; font-size: 9px; font-weight: 800; color: #8b95a8; text-transform: uppercase; }
.rate-mini b { display: block; font-family: var(--font-mono); font-size: 12.5px; color: #141a26; }
.rate-lock-btn { height: 38px; background: #2456d6; color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 12.5px; font-weight: 800; }
.scene.live .rate-lock-btn { animation: btn-press 0.5s ease 2.6s; }
.rate-stamp {
  margin-top: 10px;
  border: 1.5px dashed #1f8a5b;
  color: #1f8a5b;
  border-radius: 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 8px;
  opacity: 0;
  transform: scale(1.15);
}
.scene.live .rate-stamp { animation: stamp-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3) forwards 3.2s; }
@keyframes stamp-in { to { opacity: 1; transform: scale(1); } }

/* scene: buyback with XRF gauge */
.buyback-card { width: min(600px, 88%); display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; }
.bb-left { padding: 16px; border-right: 1px solid #eef1f6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.gauge { width: 120px; height: 120px; position: relative; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-bg { fill: none; stroke: #eef1f6; stroke-width: 10; }
.gauge .g-fg { fill: none; stroke: #2456d6; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.scene.live .gauge .g-fg { animation: gauge-sweep 1.8s cubic-bezier(0.3, 0.8, 0.4, 1) forwards 1s; }
@keyframes gauge-sweep { to { stroke-dashoffset: 33; } } /* ≈ 90% sweep */
.gauge .g-val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-mono); font-weight: 800; font-size: 19px; color: #141a26; }
.bb-left .g-cap { font-size: 9px; font-weight: 800; color: #8b95a8; text-transform: uppercase; letter-spacing: 0.07em; text-align: center; }
.bb-right { padding: 16px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.bb-line { display: flex; justify-content: space-between; font-size: 10.5px; color: #141a26; background: #f4f6fb; border-radius: 6px; padding: 7px 9px; opacity: 0; transform: translateX(12px); }
.scene.live .bb-line { animation: line-in 0.4s ease forwards; animation-delay: calc(1.6s + var(--i) * 0.45s); }
.bb-line .m { font-family: var(--font-mono); font-weight: 700; }
.bb-approve { display: flex; gap: 7px; align-items: center; margin-top: 4px; opacity: 0; }
.scene.live .bb-approve { animation: fadein 0.5s ease forwards 4s; }

/* scene: metal passbook */
.passbook { width: min(560px, 86%); padding: 18px; }
.pb-bal { display: flex; gap: 10px; margin: 12px 0; }
.pb-acct { flex: 1; border-radius: 9px; padding: 11px 12px; color: #fff; }
.pb-acct .l { font-size: 8.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.pb-acct .v { font-family: var(--font-mono); font-size: 16px; font-weight: 800; }
.pb-acct.au { background: linear-gradient(135deg, #b08317, #8a6712); }
.pb-acct.ag { background: linear-gradient(135deg, #5a6577, #424b59); }
.pb-acct.inr { background: linear-gradient(135deg, #2456d6, #1d49bd); }
.pb-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; font-size: 10px; padding: 6px 8px; border-radius: 6px; color: #141a26; opacity: 0; transform: translateY(8px); }
.pb-row:nth-child(odd) { background: #f4f6fb; }
.scene.live .pb-row { animation: line-in 0.4s ease forwards; animation-delay: calc(1.2s + var(--i) * 0.45s); }
.pb-row .ref { font-family: var(--font-mono); color: #8b95a8; font-size: 9px; }
.pb-row .amt { font-family: var(--font-mono); font-weight: 800; }
.pb-row .amt.cr { color: #1f8a5b; }
.pb-row .amt.dr { color: #c4453d; }

/* scene: offline POS */
.offline-card { width: min(580px, 88%); padding: 0; overflow: hidden; }
.off-banner {
  background: #c4453d;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
}
.scene.live .off-banner { animation: fadein 0.3s ease forwards 1.2s, banner-sync 0.4s ease forwards 5s; }
@keyframes banner-sync { to { background: #1f8a5b; } }
.off-banner .ob-off, .off-banner .ob-on { display: inline-flex; align-items: center; gap: 7px; }
.off-banner .ob-on { display: none; }
.scene.live .off-banner .ob-off { animation: hide-at 0.1s steps(1) forwards 5s; }
.scene.live .off-banner .ob-on { animation: show-at 0.1s steps(1) forwards 5s; }
@keyframes hide-at { to { display: none; } }
@keyframes show-at { to { display: inline-flex; } }
.off-body { padding: 14px 16px; }
.off-line { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; background: #f4f6fb; border-radius: 6px; padding: 7px 9px; margin-bottom: 6px; color: #141a26; opacity: 0; transform: translateX(-12px); }
.scene.live .off-line { animation: line-in 0.4s ease forwards; animation-delay: calc(1.8s + var(--i) * 0.8s); }
.off-line .s-chip.warn { animation: none; }
.scene.live .off-line .s-chip.warn { animation: chip-sync 0.3s steps(1) forwards 5.2s; }
@keyframes chip-sync { to { background: #e1f2ea; color: #1f8a5b; } }
.off-note { font-size: 9px; color: #8b95a8; text-align: center; padding-bottom: 12px; opacity: 0; }
.scene.live .off-note { animation: fadein 0.5s ease forwards 5.6s; }

/* scene: assay / intake (manufacturing) */
.assay-card { width: min(600px, 88%); display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden; }
.as-left { padding: 16px; border-right: 1px solid #eef1f6; }
.as-reading { background: #0e1830; border-radius: 9px; color: #7fe0b4; font-family: var(--font-mono); font-size: 10px; padding: 12px; margin-top: 10px; line-height: 1.9; }
.as-reading .dim2 { color: #5a6c8f; }
.as-reading .big { font-size: 16px; font-weight: 700; color: #fff; }
.as-right { padding: 16px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }

/* scene: batch / lot creation */
.batch-card { width: min(560px, 86%); padding: 18px; }
.batch-items { display: grid; gap: 6px; margin: 12px 0; }
.batch-row { display: flex; justify-content: space-between; font-size: 10.5px; background: #f4f6fb; border-radius: 6px; padding: 7px 9px; color: #141a26; opacity: 0; transform: translateX(-12px); }
.scene.live .batch-row { animation: line-in 0.4s ease forwards; animation-delay: calc(0.8s + var(--i) * 0.5s); }
.batch-row .m { font-family: var(--font-mono); font-weight: 700; }
.batch-create { height: 36px; background: #2456d6; color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.scene.live .batch-create { animation: btn-press 0.5s ease 3.4s; }
.batch-id { margin-top: 10px; text-align: center; font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: #2049c2; opacity: 0; }
.scene.live .batch-id { animation: fadein 0.5s ease forwards 4s; }

/* scene: operations stepper & yield */
.ops-card { width: min(580px, 88%); padding: 20px; }
.stepper { display: flex; align-items: center; gap: 0; margin: 18px 0 16px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; width: 86px; }
.step .dot2 { width: 30px; height: 30px; border-radius: 50%; border: 2.5px solid #dde3ee; background: #fff; display: grid; place-items: center; color: #8b95a8; font-size: 11px; font-weight: 800; transition: none; }
.step .sl { font-size: 9px; font-weight: 800; color: #8b95a8; text-transform: uppercase; letter-spacing: 0.05em; }
.step-bar { flex: 1; height: 3px; background: #dde3ee; position: relative; overflow: hidden; border-radius: 2px; }
.step-bar i { position: absolute; inset: 0; background: #1f8a5b; transform: scaleX(0); transform-origin: left; }
.scene.live .step-bar:nth-of-type(2) i { animation: bar-fill 0.9s ease forwards 1.2s; }
.scene.live .step-bar:nth-of-type(4) i { animation: bar-fill 0.9s ease forwards 2.4s; }
.scene.live .step-bar:nth-of-type(6) i { animation: bar-fill 0.9s ease forwards 3.6s; }
@keyframes bar-fill { to { transform: scaleX(1); } }
.scene.live .step:nth-of-type(1) .dot2 { animation: dot-on 0.3s steps(1) forwards 0.8s; }
.scene.live .step:nth-of-type(3) .dot2 { animation: dot-on 0.3s steps(1) forwards 2s; }
.scene.live .step:nth-of-type(5) .dot2 { animation: dot-on 0.3s steps(1) forwards 3.2s; }
.scene.live .step:nth-of-type(7) .dot2 { animation: dot-on 0.3s steps(1) forwards 4.4s; }
@keyframes dot-on { to { border-color: #1f8a5b; background: #1f8a5b; color: #fff; } }
.yield-bar { background: #f4f6fb; border-radius: 8px; padding: 12px; }
.yield-bar .yl { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 800; color: #8b95a8; text-transform: uppercase; margin-bottom: 7px; }
.yield-bar .yl b { color: #1f8a5b; font-family: var(--font-mono); font-size: 12px; }
.yield-track { height: 9px; border-radius: 99px; background: #dde3ee; overflow: hidden; }
.yield-track i { display: block; height: 100%; width: 98.6%; background: linear-gradient(90deg, #1f8a5b, #43c08a); border-radius: 99px; transform: scaleX(0); transform-origin: left; }
.scene.live .yield-track i { animation: bar-fill 1.6s cubic-bezier(0.2, 0.8, 0.3, 1) forwards 4.6s; }

/* scene: genealogy tree */
.gene-card { width: min(560px, 86%); padding: 18px; }
.gene-svg { width: 100%; height: 200px; display: block; }
.gene-svg .gl { stroke: #cbd3e2; stroke-width: 1.8; fill: none; stroke-dasharray: 200; stroke-dashoffset: 200; }
.scene.live .gene-svg .gl { animation: draw 1s ease forwards; }
.scene.live .gene-svg .gl.d1 { animation-delay: 1s; }
.scene.live .gene-svg .gl.d2 { animation-delay: 1.5s; }
.scene.live .gene-svg .gl.d3 { animation-delay: 2s; }
.gene-svg .gn { opacity: 0; }
.scene.live .gene-svg .gn { animation: fadein 0.5s ease forwards; }
.scene.live .gene-svg .gn.d0 { animation-delay: 0.5s; }
.scene.live .gene-svg .gn.d1 { animation-delay: 1.4s; }
.scene.live .gene-svg .gn.d2 { animation-delay: 1.9s; }
.scene.live .gene-svg .gn.d3 { animation-delay: 2.4s; }
.gene-svg rect { fill: #f4f6fb; stroke: #dde3ee; }
.gene-svg rect.hot { fill: #e2e9fb; stroke: #2456d6; }
.gene-svg text { font-family: 'IBM Plex Mono', monospace; font-size: 9.5px; fill: #141a26; font-weight: 600; }
.gene-svg .sub2 { font-size: 8px; fill: #8b95a8; }

/* scene: GRN / vault receipt */
.grn-card { width: min(560px, 86%); padding: 18px; }
.grn-rows { display: grid; gap: 6px; margin: 12px 0; }
.grn-approve { height: 36px; background: #1f8a5b; color: #fff; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.scene.live .grn-approve { animation: btn-press 0.5s ease 3.4s; }
.grn-post { margin-top: 10px; text-align: center; font-size: 10px; font-weight: 800; color: #1f8a5b; opacity: 0; }
.scene.live .grn-post { animation: fadein 0.5s ease forwards 4s; }

/* scene: themes montage */
.theme-monte { display: flex; gap: 16px; position: relative; z-index: 2; }
.tm-card { width: 130px; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(20px); }
.scene.live .tm-card { animation: line-in 0.5s ease forwards; animation-delay: calc(0.4s + var(--i) * 0.4s); }
.tm-top { height: 64px; display: flex; }
.tm-rail-strip { width: 26%; }
.tm-canvas { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 7px; }
.tm-canvas i { display: block; height: 7px; border-radius: 3px; }
.tm-name { background: #10131c; color: #cfd6e4; font-size: 9.5px; font-weight: 700; text-align: center; padding: 7px 4px; }

/* ============================================================
   Theme showcase
   ============================================================ */
.themes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.theme-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  text-align: left;
  padding: 0;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.theme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.theme-card.active { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-lg); }
.tc-preview { height: 130px; display: flex; }
.tc-rail { width: 24%; padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; }
.tc-rail i { display: block; height: 5px; border-radius: 3px; opacity: 0.5; }
.tc-rail i:first-child { opacity: 1; }
.tc-body { flex: 1; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.tc-body .tc-kpi-row { display: flex; gap: 6px; }
.tc-body .tc-kpi { flex: 1; height: 26px; border-radius: 6px; }
.tc-body .tc-chart { flex: 1; border-radius: 6px; position: relative; overflow: hidden; }
.tc-info { padding: 16px 18px 18px; border-top: 1px solid var(--border); }
.tc-info h4 { font-size: 16px; margin-bottom: 4px; color: var(--text); }
.tc-info p { font-size: 12.5px; color: var(--muted); }
.tc-info .tc-apply { margin-top: 12px; font-size: 12px; font-weight: 800; color: var(--accent-text); letter-spacing: 0.04em; display: inline-block; }
.theme-card.active .tc-apply::after { content: ' · ACTIVE'; color: var(--positive); }

/* ============================================================
   Why SilverGen — 10 pillars
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--rail-border);
  border-radius: var(--radius);
  padding: 22px 18px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.why-card:hover { transform: translateY(-5px); border-color: var(--rail-accent); background: rgba(255, 255, 255, 0.08); }
.why-card .num { font-family: var(--font-mono); font-size: 11px; color: var(--rail-accent); font-weight: 700; }
.why-card .ico { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: var(--rail-accent); display: grid; place-items: center; margin: 12px 0; }
.why-card .ico svg { width: 18px; height: 18px; }
.why-card h4 { font-size: 14.5px; color: var(--rail-text); margin-bottom: 6px; }
.why-card p { font-size: 12px; color: var(--rail-muted); line-height: 1.5; }

/* ============================================================
   Services
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-card::after {
  content: '';
  position: absolute;
  right: -36px;
  top: -36px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--accent-soft);
  opacity: 0.6;
  transition: transform 0.3s;
}
.svc-card:hover::after { transform: scale(1.3); }
.svc-card .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 18px; position: relative; z-index: 1; }
.svc-card .ico svg { width: 23px; height: 23px; }
.svc-card h4 { font-size: 17px; margin-bottom: 9px; position: relative; z-index: 1; }
.svc-card p { color: var(--muted); font-size: 14px; position: relative; z-index: 1; }

/* ============================================================
   Architecture
   ============================================================ */
.arch-section { background: var(--bg-2); }
.arch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arch-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s; }
.arch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.arch-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 16px; }
.arch-card .ico svg { width: 22px; height: 22px; }
.arch-card h4 { font-size: 17px; margin-bottom: 8px; }
.arch-card p { color: var(--muted); font-size: 14px; }
.arch-card code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--accent-text);
}

/* ============================================================
   Engagement: deployment + journey timeline
   ============================================================ */
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 72px; }
.deploy-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.deploy-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.deploy-card .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin: 0 auto 16px; }
.deploy-card .ico svg { width: 25px; height: 25px; }
.deploy-card h4 { font-size: 17px; margin-bottom: 8px; }
.deploy-card p { color: var(--muted); font-size: 13.5px; }
.deploy-card .dc-note { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); border-radius: 999px; padding: 5px 13px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.timeline::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 4%;
  right: 4%;
  height: 3px;
  background: var(--border-strong);
  border-radius: 2px;
}
.tl-step { position: relative; text-align: center; padding-top: 52px; }
.tl-step .tl-dot {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-contrast);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 0 0 5px var(--bg);
  z-index: 1;
}
.tl-step h5 { font-family: var(--font-head); font-size: 13.5px; margin-bottom: 5px; }
.tl-step p { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.tl-step.pilot .tl-dot { background: var(--gold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--accent); font-size: 22px; font-weight: 400; transition: transform 0.25s; flex-shrink: 0; }
.faq[open] summary .plus { transform: rotate(45deg); }
.faq .a { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--rail-grad);
  color: var(--rail-text);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--rail-muted); max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-band .hex-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 0L56 25v50L28 100L0 75V25z' fill='none' stroke='%23ffffff' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 56px 100px;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .cta-emblem { position: absolute; right: -60px; bottom: -80px; width: 280px; opacity: 0.1; transform: rotate(-12deg); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--rail); color: var(--rail-muted); padding: 64px 0 32px; border-top: 1px solid var(--rail-border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
/* Footer brand lockup — emblem + metallic wordmark (the navy PNG wordmark was
   invisible on the dark footer, so the wordmark is rendered as legible text). */
.footer-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-lockup img { height: 56px; width: auto; flex-shrink: 0; }
.footer-lockup .wordmark { line-height: 1.08; }
.footer-lockup .wordmark b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 23px;
  letter-spacing: 0.14em;
  color: #cdd9f2;
  background: linear-gradient(180deg, #eef3fd 0%, #bccff4 44%, #6f97e6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-lockup .wordmark > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.40em;
  color: #8aa1cf;
  font-weight: 700;
}
.footer-lockup .lockup-tag {
  display: block;
  margin-top: 5px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: 0.01em;
  color: var(--rail-muted);
}
.footer-brand p { font-size: 13.5px; max-width: 300px; }
.footer h5 { color: var(--rail-text); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-family: var(--font-head); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 9px; }
.footer li a { font-size: 13.5px; transition: color 0.2s; }
.footer li a:hover { color: var(--rail-accent); }
.footer-bottom {
  border-top: 1px solid var(--rail-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
}

/* ============================================================
   AI assistant dock
   ============================================================ */
.ai-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rail-grad);
  color: var(--rail-text);
  border: 1px solid var(--rail-border);
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s;
}
.ai-fab:hover { transform: translateY(-3px); }
.ai-fab .spark { color: var(--gold); animation: spark-tw 2.2s ease-in-out infinite; }
@keyframes spark-tw { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: 0.7; } }
.ai-fab svg { width: 17px; height: 17px; }

.ai-panel {
  position: fixed;
  right: 22px;
  bottom: 86px;
  z-index: 150;
  width: min(380px, calc(100vw - 44px));
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: none;
  flex-direction: column;
  max-height: min(560px, calc(100vh - 130px));
}
.ai-panel.open { display: flex; animation: palette-in 0.2s ease; }
.ai-head { background: var(--rail-grad); color: var(--rail-text); padding: 14px 18px; display: flex; align-items: center; gap: 11px; }
.ai-head img { height: 26px; width: auto; }
.ai-head .t { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.ai-head .s { font-size: 10.5px; color: var(--rail-muted); }
.ai-head .ai-close { margin-left: auto; background: none; border: none; color: var(--rail-muted); font-size: 19px; line-height: 1; }
.ai-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 180px; }
.ai-msg { max-width: 88%; font-size: 13px; line-height: 1.55; padding: 10px 14px; border-radius: 14px; white-space: pre-line; }
.ai-msg.bot { background: var(--panel-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; }
.ai-msg.user { background: var(--accent); color: var(--accent-contrast); border-bottom-right-radius: 4px; align-self: flex-end; }
.ai-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: typing-b 1s ease-in-out infinite; }
.ai-typing i:nth-child(2) { animation-delay: 0.15s; }
.ai-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-b { 30% { transform: translateY(-5px); opacity: 0.5; } }
.ai-chips { padding: 0 16px 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.ai-chip {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 999px;
  padding: 6px 13px;
}
.ai-chip:hover { background: var(--accent); color: var(--accent-contrast); }
.ai-input { display: flex; gap: 8px; border-top: 1px solid var(--border); padding: 12px; }
.ai-input input {
  flex: 1;
  border: 1.5px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: var(--font-body);
  outline: none;
}
.ai-input input:focus { border-color: var(--accent); }
.ai-input button { background: var(--accent); color: var(--accent-contrast); border: none; border-radius: 10px; width: 42px; display: grid; place-items: center; }
.ai-input button svg { width: 16px; height: 16px; }
.ai-disclaim { font-size: 9.5px; color: var(--faint); text-align: center; padding: 0 12px 10px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--rail);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--rail-border);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: grid; place-items: center; }
  .palette-btn span { display: none; }
}

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-emblem { min-height: 300px; }
  .orbit-1 { width: 320px; height: 320px; }
  .orbit-2 { width: 420px; height: 420px; }
  .purpose-grid, .vm-grid { grid-template-columns: 1fr; }
  .comb-layout { grid-template-columns: 1fr; }
  .module-detail { position: static; }
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid, .arch-grid, .deploy-grid, .journey-points, .problem-points { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav-actions .btn { display: none; }
  .palette-btn kbd { display: none; }
  .theme-pill { display: none; }
  .nav-logo .wordmark b { font-size: 14px; }
  .nav-logo img { height: 34px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid, .arch-grid, .deploy-grid, .journey-points, .problem-points, .themes-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .theme-monte { transform: scale(0.7); }
  .mini-pos, .buyback-card, .assay-card { grid-template-columns: 1fr; }
  .pos-right { padding-top: 0; }
  /* widest row is 6 hexes + 5×7px gaps inside a (100vw − 48px) container */
  .comb { --hex-w: clamp(38px, calc((100vw - 83px) / 6), 88px); }
  .footer-grid { grid-template-columns: 1fr; }
  .compare { aspect-ratio: 4 / 4.4; }
  .ai-panel { right: 12px; bottom: 80px; }
  .ai-fab { right: 12px; bottom: 14px; padding: 12px 16px; }
}

@media (max-width: 540px) {
  .hex-tile span { display: none; }
  .hex-tile svg { width: 17px; height: 17px; }
}

/* ============================================================
   v3 — Visual-first stage, overlays, brand banner, gallery
   ============================================================ */

/* ---------- Brand banner (replaces price ticker) ---------- */
.brand-banner {
  background: var(--rail);
  color: var(--rail-text);
  border-bottom: 1px solid var(--rail-border);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: 34px;
  position: relative;
  z-index: 60;
  overflow: hidden;
}
.bb-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.bb-msg {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  white-space: nowrap;
  color: var(--rail-muted);
}
.bb-msg.on { opacity: 1; transform: none; }
.bb-msg b { color: var(--gold); font-weight: 600; }
.bb-msg .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--rail-accent); }

/* ---------- Stage ---------- */
.stage {
  position: relative;
  min-height: calc(100vh - 104px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 40px 16px 56px;
  overflow: hidden;
  background-image: url('../assets/silver-texture.jpg');
  background-size: cover;
  background-position: center;
}
.stage::before { content: ''; position: absolute; inset: 0; background: var(--hero-grad); }
.stage::after {
  content: '';
  position: absolute;
  inset: -50% -20%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.06) 50%, transparent 58%);
  animation: sheen 9s ease-in-out infinite;
  pointer-events: none;
}
.stage-tagline {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(11px, 1.4vw, 14px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--hero-muted);
  text-align: center;
}
.stage-tagline b { color: var(--gold); font-weight: 700; }
.stage-hint {
  position: relative;
  z-index: 2;
  color: var(--hero-muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  opacity: 0.85;
}
.stage-hint .pulse-ring { width: 9px; height: 9px; border-radius: 50%; background: var(--rail-accent); animation: pulse 2s infinite; }

/* honeycomb of tiles */
.stage-comb { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; --tw: clamp(132px, 16.2vw, 218px); --th: calc(var(--tw) * 1.1547); }
.stage-row { display: flex; gap: 10px; }
.stage-row + .stage-row { margin-top: calc(var(--th) * -0.205); }

.tile {
  position: relative;
  width: var(--tw);
  height: var(--th);
  border: none;
  background: none;
  padding: 0;
  flex-shrink: 0;
}
.tile-ring, .tile-face {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.tile-ring { inset: 0; background: color-mix(in srgb, var(--silver) 40%, transparent); transition: background 0.3s; }
.tile-face {
  inset: 3px;
  background: linear-gradient(160deg, #18233f 0%, #0b1228 100%);
  overflow: hidden;
  transition: filter 0.25s;
  display: grid;
  place-items: center;
}
.tile-face .shot-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  filter: saturate(0.85);
  transition: opacity 0.3s, transform 6s ease;
}
.tile-face::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,255,255,0.13), transparent 55%), linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
}
.tile:hover .tile-face, .tile:focus-visible .tile-face { filter: brightness(1.22); }
.tile:hover { z-index: 5; }
.tile:hover .tile-ring, .tile:focus-visible .tile-ring { background: var(--gold); }
.tile:hover .tile-face .shot-bg { opacity: 0.5; transform: scale(1.07); }
.tile-art { position: relative; z-index: 2; width: 72%; height: 60%; display: grid; place-items: center; pointer-events: none; }
.tile-art svg { width: 100%; height: 100%; overflow: visible; }
.whisper {
  position: absolute;
  bottom: 17%;
  left: 50%;
  transform: translate(-50%, 8px);
  z-index: 3;
  font-family: var(--font-head);
  font-size: clamp(9px, 1vw, 12.5px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.tile:hover .whisper, .tile:focus-visible .whisper { opacity: 1; transform: translate(-50%, 0); }

/* entrance */
html.js .tile { opacity: 0; transform: scale(0.7); }
html.js .tile.born { opacity: 1; transform: scale(1); transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2), transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.2); }

/* ---------- Tile vignette animations ---------- */
.va-stroke { fill: none; stroke: #aec4ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.va-gold { stroke: var(--gold); }
.va-fill { fill: #aec4ff; }

/* emblem tile */
.tile-emblem img { width: 74%; filter: drop-shadow(0 12px 26px rgba(0,0,0,0.6)); animation: emblem-float 7s ease-in-out infinite; }
.tile-emblem .t-orbit { position: absolute; width: 86%; height: 86%; border: 1px dashed rgba(255,255,255,0.25); border-radius: 50%; animation: orbit-spin 30s linear infinite; }
.tile-emblem .t-orbit i { position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* flame (manufacturing) */
.v-flame .f1, .v-flame .f2, .v-flame .f3 { transform-origin: 50% 100%; }
.v-flame .f1 { animation: flame-flicker 1.6s ease-in-out infinite; }
.v-flame .f2 { animation: flame-flicker 1.2s ease-in-out infinite 0.3s; }
.v-flame .f3 { animation: flame-flicker 0.9s ease-in-out infinite 0.6s; }
@keyframes flame-flicker { 0%, 100% { transform: scaleY(1) scaleX(1); } 35% { transform: scaleY(1.12) scaleX(0.94); } 70% { transform: scaleY(0.92) scaleX(1.06); } }
.v-spark { animation: spark-rise 2.4s linear infinite; opacity: 0; }
.v-spark.s2 { animation-delay: 0.8s; }
.v-spark.s3 { animation-delay: 1.6s; }
@keyframes spark-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-46px); opacity: 0; } }

/* counter (retail) — coins dropping */
.v-coin { animation: coin-drop 2.6s cubic-bezier(0.3, 0, 0.4, 1) infinite; opacity: 0; }
.v-coin.c2 { animation-delay: 0.9s; }
.v-coin.c3 { animation-delay: 1.7s; }
@keyframes coin-drop { 0% { transform: translateY(-34px); opacity: 0; } 20% { opacity: 1; } 55% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }

/* honeycomb pulse (product) */
.v-cell { animation: cell-pulse 2.8s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.v-cell.k1 { animation-delay: 0.35s; }
.v-cell.k2 { animation-delay: 0.7s; }
.v-cell.k3 { animation-delay: 1.05s; }
.v-cell.k4 { animation-delay: 1.4s; }
.v-cell.k5 { animation-delay: 1.75s; }
.v-cell.k6 { animation-delay: 2.1s; }
@keyframes cell-pulse { 0%, 100% { fill-opacity: 0.15; } 50% { fill-opacity: 0.85; } }

/* chain of custody — dot travelling node to node */
.v-chain-dot { animation: chain-run 3.2s linear infinite; }
@keyframes chain-run {
  0% { transform: translate(0, 0); } 22% { transform: translate(34px, -20px); }
  28% { transform: translate(34px, -20px); } 50% { transform: translate(68px, 0); }
  56% { transform: translate(68px, 0); } 78% { transform: translate(102px, -20px); }
  84% { transform: translate(102px, -20px); } 100% { transform: translate(136px, 0); }
}
.v-chain-line { stroke-dasharray: 6 8; animation: flow 1.4s linear infinite; }

/* vault wheel */
.v-wheel { animation: wheel-turn 6s cubic-bezier(0.45, 0, 0.25, 1) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes wheel-turn { 0%, 18% { transform: rotate(0); } 48%, 68% { transform: rotate(120deg); } 98%, 100% { transform: rotate(360deg); } }
.v-bolt { animation: bolt-blink 6s steps(1) infinite; }
@keyframes bolt-blink { 0%, 45% { fill: #46506b; } 50%, 95% { fill: #43c08a; } }

/* compass needle (services) */
.v-needle { animation: needle-swing 3.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes needle-swing { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(26deg); } }

/* gem sparkle (why) */
.v-gem { animation: gem-glow 2.6s ease-in-out infinite; }
@keyframes gem-glow { 0%, 100% { filter: drop-shadow(0 0 2px rgba(216,168,56,0.3)); } 50% { filter: drop-shadow(0 0 14px rgba(216,168,56,0.95)); } }
.v-twinkle { animation: twinkle 2.6s ease-in-out infinite; opacity: 0.2; transform-origin: center; transform-box: fill-box; }
.v-twinkle.t2 { animation-delay: 0.8s; }
.v-twinkle.t3 { animation-delay: 1.5s; }
@keyframes twinkle { 50% { opacity: 1; transform: scale(1.45); } }

/* rocket path (engagement) */
.v-rocket { animation: rocket-climb 3.4s ease-in-out infinite; }
@keyframes rocket-climb { 0% { transform: translate(0, 0); } 55% { transform: translate(44px, -38px); } 100% { transform: translate(96px, -58px); opacity: 0; } }
.v-trail { stroke-dasharray: 4 7; animation: flow 1.1s linear infinite; }

/* signal rings (contact) */
.v-ring { animation: ring-out 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; opacity: 0; }
.v-ring.r2 { animation-delay: 0.8s; }
.v-ring.r3 { animation-delay: 1.6s; }
@keyframes ring-out { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.7); opacity: 0; } }

/* film frames (gallery) */
.v-frame { animation: frame-cycle 4.4s steps(1) infinite; opacity: 0; }
.v-frame.f2 { animation-delay: 1.46s; }
.v-frame.f3 { animation-delay: 2.93s; }
@keyframes frame-cycle { 0%, 32% { opacity: 1; } 33%, 100% { opacity: 0; } }
.v-play-pulse { animation: gem-glow 2s ease-in-out infinite; }

/* question mark bounce (faq inside contact) */

/* ---------- Overlay system ---------- */
body.ov-open { overflow: hidden; }
.overlay-root {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(6, 10, 22, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.overlay-root.open { display: flex; }
.ov-sheet {
  position: relative;
  width: min(1220px, 100vw);
  height: 94vh;
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: 0 -30px 90px rgba(0, 0, 0, 0.55);
  overflow-y: auto;
  overscroll-behavior: contain;
  animation: sheet-up 0.42s cubic-bezier(0.2, 0.9, 0.3, 1);
}
@keyframes sheet-up { from { transform: translateY(6%); opacity: 0.4; } }
.ov-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(18px, 3vw, 36px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.ov-top img { height: 26px; width: auto; }
.ov-top .ov-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.ov-close {
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--panel);
  color: var(--text);
  font-size: 19px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.ov-close:hover { background: var(--danger-soft); color: var(--danger); border-color: var(--danger); }
.ov-body { padding: 8px 0 64px; }
.ov-panel { padding: 36px clamp(18px, 4vw, 52px) 0; }
.ov-panel section { padding: 40px 0; }
.ov-panel .container { width: 100%; }
/* dark sub-blocks inside light sheet */
.ov-dark {
  background: var(--rail);
  color: var(--rail-text);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  margin: 24px 0;
}
.ov-dark .section-head h2 { color: var(--rail-text); }
.ov-dark .section-head p { color: var(--rail-muted); }

/* ---------- Real-system gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shot-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: #0e1830;
  padding: 0;
}
.shot-card img { width: 100%; aspect-ratio: 16/9.4; object-fit: cover; object-position: top; transition: transform 0.5s ease; display: block; }
.shot-card:hover img { transform: scale(1.06); }
.shot-card .sc-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(8, 13, 28, 0.78);
  color: #e6ecfa;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 7px;
  padding: 5px 11px;
  backdrop-filter: blur(4px);
}
.shot-card .sc-live {
  position: absolute;
  right: 10px;
  top: 10px;
  background: rgba(31, 138, 91, 0.92);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  border-radius: 999px;
  padding: 4px 10px;
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 320;
  background: rgba(4, 7, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3vh 3vw;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 40px 120px rgba(0,0,0,0.8); }

/* ---------- Real-screenshot scenes in tours ---------- */
.scene.shot-scene { background: #0a0f1e; }
.scene.shot-scene .shot-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.scene.shot-scene.live .shot-img { animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-3%, -4%); } }
.scene .live-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(31, 138, 91, 0.92);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.scene .live-chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.6s infinite; }

/* tours strip under players */
.shots-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }

/* ---------- nav logo overlap guard ---------- */
.nav-logo { flex-shrink: 0; }
.nav-logo img { flex-shrink: 0; }
.nav-logo .wordmark { white-space: nowrap; }

/* ---------- v3 responsive ---------- */
@media (max-width: 1080px) {
  .stage-comb { --tw: clamp(120px, 21vw, 190px); }
}
@media (max-width: 760px) {
  .stage { min-height: 0; padding: 34px 10px 48px; }
  .stage-comb { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: 12px; --tw: clamp(128px, 42vw, 168px); }
  .stage-row { display: contents; }
  .stage-row + .stage-row { margin-top: 0; }
  html.js .tile { opacity: 1; transform: none; }
  .gallery-grid, .shots-strip { grid-template-columns: 1fr; }
  .ov-sheet { height: 96vh; border-radius: 14px 14px 0 0; }
  .whisper { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   v4 — configuration picker right panel + retail dashboard
   ============================================================ */

/* ---- Configuration summary in the module-detail box ---- */
.module-detail .md-ico svg { width: 26px; height: 26px; }
.cfg-mods { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0 4px; }
.cfg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  border-radius: 999px;
  padding: 6px 12px;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.cfg-chip svg { width: 13px; height: 13px; }
.cfg-chip:hover { background: var(--accent); color: var(--accent-contrast); transform: translateY(-1px); }
.cfg-hint { margin-top: 14px; font-size: 12.5px; color: var(--faint); }
.cfg-note {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.cfg-note b { color: var(--text); }
.cfg-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--accent-text);
  font-weight: 700;
  font-size: 12.5px;
  padding: 0 0 14px;
}
.cfg-back svg { width: 14px; height: 14px; }
.cfg-back:hover { text-decoration: underline; }

/* ---- Retail dashboard on the "after" side of the comparison ---- */
.cmp-dash {
  position: absolute;
  inset: 12% 3.5% 10%;
  display: flex;
  flex-direction: column;
  gap: 1.6%;
  font-family: var(--font-body);
  color: #e8eefc;
}
.cd-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: clamp(9px, 1.15vw, 13px);
  font-weight: 800;
  color: #dbe6fb;
}
.cd-top span { color: #7fe0b4; font-family: var(--font-mono); font-size: 0.82em; white-space: nowrap; }

.cd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6%; }
.cd-kpi {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(127, 163, 232, 0.28);
  border-radius: 7px;
  padding: 1.6% 2.4%;
}
.cd-kpi .l { font-size: clamp(6.5px, 0.82vw, 9px); color: #8fa3cc; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.cd-kpi .v { font-family: var(--font-mono); font-size: clamp(11px, 1.5vw, 17px); font-weight: 800; color: #fff; line-height: 1.25; }
.cd-kpi .d { font-size: clamp(6.5px, 0.8vw, 9px); font-weight: 800; color: #8fa3cc; }
.cd-kpi .d.up { color: #7fe0b4; }
.cd-kpi .d.down { color: #f2a59e; }

.cd-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(127, 163, 232, 0.24);
  border-radius: 8px;
  padding: 1.8% 2%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.cd-card .h {
  font-size: clamp(7px, 0.88vw, 10px);
  color: #aebfe0;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4%;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cd-pill { background: rgba(67, 192, 138, 0.2); color: #7fe0b4; border-radius: 999px; padding: 1px 8px; font-size: 0.85em; }

.cd-mid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.6%; flex: 1.25; min-height: 0; }
.cd-chart svg { width: 100%; flex: 1; min-height: 0; }
.cd-metal { justify-content: center; gap: 7%; }
.cd-bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px; font-size: clamp(6.5px, 0.82vw, 9.5px); color: #c7d4ee; }
.cd-bar span { white-space: nowrap; }
.cd-bar i { height: 5px; border-radius: 99px; background: linear-gradient(90deg, #7fa3e8, #aec4ff); display: block; }
.cd-bar b { font-family: var(--font-mono); color: #fff; white-space: nowrap; }

.cd-low { display: grid; grid-template-columns: 1.25fr 1fr; gap: 1.6%; flex: 1; min-height: 0; }
.cd-brow, .cd-frow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(6.5px, 0.82vw, 9.5px);
  color: #c7d4ee;
  padding: 2.4% 0;
  border-top: 1px solid rgba(127, 163, 232, 0.14);
}
.cd-branches .cd-brow:first-of-type, .cd-feed .cd-frow:first-of-type { border-top: none; }
.cd-brow span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-brow b { font-family: var(--font-mono); color: #fff; }
.cd-brow em { font-style: normal; font-weight: 800; font-size: 0.9em; }
.cd-brow em.up, .cd-frow .t.sale { color: #7fe0b4; }
.cd-brow em.down { color: #f2a59e; }
.cd-frow .t {
  font-weight: 800;
  font-size: 0.82em;
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0;
}
.cd-frow .t.sale { background: rgba(67, 192, 138, 0.18); color: #7fe0b4; }
.cd-frow .t.buy { background: rgba(91, 131, 235, 0.2); color: #aec4ff; }
.cd-frow .t.irn { background: rgba(216, 168, 56, 0.2); color: #e6bb55; }
.cd-frow .t.kyc { background: rgba(255, 255, 255, 0.1); color: #c7d4ee; }
.cd-frow { justify-content: flex-start; }
.cd-frow em { margin-left: auto; font-style: normal; color: #8fa3cc; font-family: var(--font-mono); font-size: 0.88em; }

@media (max-width: 720px) {
  .cmp-dash { inset: 13% 3% 9%; gap: 2.4%; }
  .cd-mid, .cd-low { grid-template-columns: 1fr; }
  .cd-metal, .cd-feed { display: none; } /* keep it readable on the near-square mobile compare */
}

/* ============================================================
   v5 — intro video modal
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 340;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  background: rgba(5, 9, 20, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-modal.open { display: flex; animation: palette-in 0.22s ease; }
.vmod-inner {
  position: relative;
  width: min(1040px, 100%);
  aspect-ratio: 16 / 9;
  max-height: 92vh;
}
.vmod-video {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 40px 110px -24px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--rail-border);
  display: block;
}
.vmod-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--rail-border);
  background: var(--rail);
  color: var(--rail-text);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  transition: background 0.2s, transform 0.2s;
}
.vmod-close:hover { background: var(--accent); color: var(--accent-contrast); transform: scale(1.06); }

@media (max-width: 720px) {
  .vmod-close { top: -10px; right: -6px; width: 38px; height: 38px; font-size: 20px; }
}

/* ============================================================
   v6 — real "after" dashboard image + prominent hero film CTA
   ============================================================ */
.cmp-after-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }

.btn-film { font-size: 18px; padding: 18px 40px; animation: filmPulse 2.6s ease-in-out infinite; }
.btn-film svg { width: 20px; height: 20px; }
@keyframes filmPulse {
  0%, 100% { box-shadow: 0 10px 28px -8px rgba(36, 86, 214, 0.55); }
  50% { box-shadow: 0 10px 34px -6px rgba(36, 86, 214, 0.9), 0 0 0 7px rgba(36, 86, 214, 0.12); }
}
