:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg:        #03050c;
  --bg-2:      #060a13;
  /* Glass surfaces: white overlays on the dark blob-lit background */
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.05);
  --text:      #eef2fb;
  --text-dim:  #a1abc4;
  --text-mut:  #6a7590;
  --blue:      #3e8bff;
  --blue-2:    #7fb0ff;
  --cyan:      #22d3ee;
  --glow:      rgba(62, 139, 255, 0.35);
  --ok:        #4ade80;
  --warn:      #f5c451;
  --err:       #f47272;
}
html { background: var(--bg); }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

.display, h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-optical-sizing: auto;
}

body {
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

/* ---------- BACKGROUND FX ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-fx .blob {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(140px);
  will-change: transform;
  mix-blend-mode: screen;
}
.bg-fx .blob.b1 {
  background: #1e5fd0;
  top: -220px;
  left: -180px;
  opacity: 0.22;
  animation: drift1 24s ease-in-out infinite alternate;
}
.bg-fx .blob.b2 {
  background: #0d9ec5;
  top: 32%;
  right: -220px;
  opacity: 0.14;
  animation: drift2 28s ease-in-out infinite alternate;
}
.bg-fx .blob.b3 {
  background: #5030b8;
  bottom: -240px;
  left: 42%;
  opacity: 0.16;
  animation: drift3 32s ease-in-out infinite alternate;
}
/* Vignette to keep edges dark */
.bg-fx::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(3,5,12,0.9) 100%),
    linear-gradient(180deg, transparent 60%, rgba(3,5,12,0.7) 100%);
  pointer-events: none;
}
@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(140px, 90px) scale(1.12); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-120px, 70px) scale(0.9); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(80px, -110px) scale(1.1); }
}

/* Twinkling star layer */
.bg-fx .stars-layer {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 12% 24%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 33% 78%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 55% 12%, rgba(255,255,255,0.6), transparent 60%),
    radial-gradient(1.5px 1.5px at 78% 63%, rgba(190,220,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 88% 40%, rgba(255,255,255,0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 20% 88%, rgba(200,225,255,0.7), transparent 60%),
    radial-gradient(1px 1px at 68% 30%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(1px 1px at 45% 55%, rgba(200,225,255,0.6), transparent 60%),
    radial-gradient(1px 1px at 5% 60%, rgba(255,255,255,0.4), transparent 60%);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-fx .blob, .bg-fx .stars-layer { animation: none; }
}

.mono { font-family: 'JetBrains Mono', 'Consolas', ui-monospace, monospace; }

a { color: var(--blue-2); text-decoration: none; }
a:hover { color: var(--cyan); }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: var(--text); margin: 0; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(44px, 6.5vw, 80px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
h3 { font-size: 20px; letter-spacing: -0.01em; }

/* ---------- NAV (floating glass pill) ---------- */
body { padding-top: 88px; }
.nav {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  box-shadow: 0 20px 60px -22px rgba(0,0,0,0.8),
              inset 0 1px 0 rgba(255,255,255,0.06);
  max-width: calc(100vw - 24px);
  transition: top 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav:hover {
  box-shadow: 0 24px 64px -20px rgba(62,139,255,0.35),
              inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav-inner {
  padding: 6px 6px 6px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.nav .brand, .nav-link, .nav-meta, .nav .btn {
  white-space: nowrap;
  flex-shrink: 0;
}
.nav .brand { margin-right: 14px; }
.nav-links { margin-right: 6px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 30px; height: 30px;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  border-radius: 6px;
  box-shadow: 0 0 20px var(--glow);
}
.brand .v { color: var(--text-mut); font-weight: 400; font-size: 12px; margin-left: 2px; font-family: 'JetBrains Mono', monospace; }
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 20px;
}
.nav-link {
  color: var(--text-dim);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav-link.active { color: var(--text); background: rgba(62,139,255,0.15); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-meta { color: var(--text-mut); font-size: 11.5px; font-family: 'JetBrains Mono', monospace; }
.nav .brand { font-size: 17px; }
.nav .brand-mark { width: 28px; height: 28px; font-size: 13px; border-radius: 8px; }
.nav .btn { border-radius: 100px; padding: 8px 16px; font-size: 13px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.12s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 26px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--blue-2);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--text-mut); color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-danger {
  background: transparent;
  border-color: rgba(244,114,114,0.35);
  color: var(--err);
}
.btn-danger:hover { background: rgba(244,114,114,0.1); color: var(--err); }

/* ---------- LAYOUT ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- HERO ---------- */
.hero {
  padding: 40px 28px 60px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* Two-column hero (default now) */
.hero.split {
  max-width: 1200px;
  text-align: left;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero.split h1 { text-align: left; }
.hero.split .tag { margin-left: 0; margin-right: 0; }
.hero.split .hero-cta { justify-content: flex-start; }
.hero.split .hero-note { text-align: left; }
@media (max-width: 900px) {
  .hero.split { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero.split h1 { text-align: center; }
  .hero.split .hero-cta { justify-content: center; }
  .hero.split .hero-note { text-align: center; }
}

/* Hero visual (frameless — no window, no chrome) */
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  overflow: visible;
  animation: heroFloat 8s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-visual .chrome { display: none; }
.hero-visual > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* Fallback scenes (CSS-only, per page) */
.hv-scene { position: absolute; inset: 0; overflow: hidden; border-radius: 18px; }
.hv-cards { border-radius: 0; overflow: visible; }

/* Empty-state file-path hint on module thumbs */
.module-thumb .thumb-hint {
  position: absolute;
  bottom: 10px; left: 10px;
  z-index: 2;
  padding: 3px 8px;
  background: rgba(0,0,0,0.55);
  color: rgba(255,255,255,0.85);
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
}

/* HOME — three fanned "polaroid" cards */
.hv-fan {
  border-radius: 0;
  overflow: visible;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.fan-card {
  position: absolute;
  width: 44%;
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 80px -25px rgba(0,0,0,0.7),
              inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  animation: fanFloat 6s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1);
  transform-origin: bottom center;
}
.fc1 { transform: rotate(-9deg) translate(-58%, 4%); z-index: 1; animation-delay: 0s; }
.fc2 { transform: rotate(0deg) translate(0, -6%);   z-index: 3; animation-delay: -2s; }
.fc3 { transform: rotate(9deg)  translate(58%, 4%); z-index: 2; animation-delay: -4s; }
@keyframes fanFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}
.hv-fan:hover .fc1 { transform: rotate(-14deg) translate(-72%, 0%); }
.hv-fan:hover .fc3 { transform: rotate(14deg)  translate(72%, 0%); }
.hv-fan:hover .fc2 { transform: rotate(0deg)   translate(0, -14%); }

.fc-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.fc-bg-1 {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.35), transparent 60%),
    linear-gradient(160deg, #ff5e88 0%, #b342ff 55%, #4b1d99 100%);
}
.fc-bg-2 {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.28), transparent 60%),
    linear-gradient(135deg, #22d3ee 0%, #3e8bff 55%, #6d5bff 100%);
}
.fc-bg-3 {
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,0.28), transparent 60%),
    linear-gradient(160deg, #4ade80 0%, #22d3ee 55%, #1e5fd0 100%);
}
.fc-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.45));
}

/* Big centered module icon */
.fc-icon {
  position: absolute;
  top: 22%; left: 50%;
  transform: translate(-50%, 0);
  width: 78px;
  height: 78px;
  z-index: 2;
  color: #fff;
  display: grid; place-items: center;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
  animation: fcIconFloat 4s ease-in-out infinite;
}
.fc-icon svg { width: 100%; height: 100%; }
@keyframes fcIconFloat {
  0%, 100% { transform: translate(-50%, 0) rotate(0deg); }
  50%      { transform: translate(-50%, -6px) rotate(4deg); }
}
.fc2 .fc-icon { animation-delay: -1.3s; }
.fc3 .fc-icon { animation-delay: -2.6s; }
@media (prefers-reduced-motion: reduce) { .fc-icon { animation: none; } }

.fc-body {
  position: absolute;
  bottom: 16px; left: 18px; right: 18px;
  z-index: 2;
  color: #fff;
}
.fc-eye {
  font-size: 10.5px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.fc-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fc-sub {
  color: rgba(255,255,255,0.85);
  font-size: 12.5px;
  margin-top: 3px;
}

/* SHADERS — three preset cards */
.hv-cards {
  padding: 8px 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hv-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: var(--surface-2);
  box-shadow: 0 20px 40px -18px rgba(0,0,0,0.6);
  transition: transform 0.3s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.3s ease;
  animation: cardFloat 5s ease-in-out infinite;
}
.hv-cards .hv-card:nth-child(1) { animation-delay: 0s; }
.hv-cards .hv-card:nth-child(2) { animation-delay: -1.6s; }
.hv-cards .hv-card:nth-child(3) { animation-delay: -3.2s; }
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hv-card:hover { transform: translateY(-14px); box-shadow: 0 30px 50px -18px var(--glow); }
.hv-card > img,
.hv-card .fill {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* shader fallbacks */
.hv-card .fill-1 { background: linear-gradient(160deg, #ff7a5c 0%, #6d4bff 55%, #0e1524 100%); }
.hv-card .fill-2 { background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.55), transparent 30%), linear-gradient(180deg, #ffd1e5, #a5d8ff 60%, #e0f4ff); }
.hv-card .fill-3 { background: repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 4px), linear-gradient(180deg, #1c1c1c, #000); }
/* copier fallbacks */
.hv-card .fill-c1 { background: linear-gradient(135deg, #22d3ee 0%, #3e8bff 50%, #6d5bff 100%); }
.hv-card .fill-c2 { background: linear-gradient(180deg, #0f172a 0%, #1e3a5f 55%, #22d3ee 100%); }
.hv-card .fill-c3 { background: linear-gradient(160deg, #3e8bff 0%, #0a1428 100%); }
/* bot fallbacks */
.hv-card .fill-b1 { background: linear-gradient(135deg, #4ade80 0%, #22d3ee 100%); }
.hv-card .fill-b2 { background: linear-gradient(180deg, #a855f7 0%, #3e8bff 100%); }
.hv-card .fill-b3 { background: linear-gradient(135deg, #fbbf24 0%, #f472b6 100%); }

.hv-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.55));
  pointer-events: none;
}
.hv-card .hint {
  position: absolute;
  bottom: 8px; left: 6px; right: 6px;
  color: rgba(255,255,255,0.92);
  font-size: 9px;
  line-height: 1.25;
  padding: 4px 6px;
  background: rgba(0,0,0,0.62);
  border-radius: 4px;
  text-align: center;
  z-index: 2;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* Hint overlay for hero-visual scenes (visible on hover) */
.hv-scene { position: absolute; }
.hv-hint {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%) translateY(6px);
  padding: 4px 10px;
  background: rgba(0,0,0,0.65);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  font-size: 10.5px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.hero-visual:hover .hv-hint { opacity: 1; transform: translateX(-50%) translateY(0); }

/* SHADERS — sky / mountains / water */
.hv-shaders {
  background: linear-gradient(180deg, #274b8a 0%, #7c5aa8 45%, #ec7891 68%, #0a1428 100%);
}
.hv-shaders .sun {
  position: absolute;
  top: 22%; left: 62%;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #ffddaa 40%, transparent 70%);
  filter: blur(1px);
  animation: sunDrift 8s ease-in-out infinite;
}
@keyframes sunDrift {
  0%, 100% { transform: translate(0,0); }
  50%      { transform: translate(-20px, 8px); }
}
.hv-shaders .mountain {
  position: absolute; bottom: 34%; left: 0; right: 0; height: 34%;
  background: linear-gradient(180deg, #1a2138, #0a0d14);
  clip-path: polygon(0 100%, 15% 45%, 30% 70%, 50% 25%, 70% 60%, 85% 35%, 100% 55%, 100% 100%);
}
.hv-shaders .water {
  position: absolute; bottom: 0; left: 0; right: 0; height: 34%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 6px),
    linear-gradient(180deg, rgba(62,139,255,0.4), rgba(10,20,40,0.9));
  animation: waterShimmer 3s linear infinite;
}
@keyframes waterShimmer {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 0 -12px, 0 0; }
}

/* COPIER — dual panels with animated copy line */
.hv-copier { padding: 22px; display: grid; grid-template-columns: 1fr 40px 1fr; gap: 12px; align-items: stretch; }
.hv-copier .col {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.hv-copier .col .h {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: var(--text-mut);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 4px;
}
.hv-copier .col.dst .h { color: var(--cyan); }
.hv-copier .col .l {
  height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px;
  animation: fillLine 3s ease-in-out infinite;
}
.hv-copier .col .l.w1 { width: 80%; }
.hv-copier .col .l.w2 { width: 55%; animation-delay: -0.3s; }
.hv-copier .col .l.w3 { width: 90%; animation-delay: -0.6s; }
.hv-copier .col .l.w4 { width: 40%; animation-delay: -0.9s; }
@keyframes fillLine {
  0%, 100% { background: rgba(255,255,255,0.08); }
  50%      { background: rgba(62,139,255,0.6); }
}
.hv-copier .arrow {
  display: grid; place-items: center;
  color: var(--cyan);
  font-size: 26px;
  animation: arrowSlide 1.5s ease-in-out infinite;
}
@keyframes arrowSlide {
  0%, 100% { transform: translateX(-6px); opacity: 0.6; }
  50%      { transform: translateX(6px); opacity: 1; }
}

/* BOT — follower list with counter */
.hv-bot { padding: 22px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.hv-bot .row {
  display: grid; grid-template-columns: 30px 1fr auto; gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
}
.hv-bot .row .av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.hv-bot .row .av.av-img { background: var(--surface-2); }
.hv-bot .row .av.av-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-bot .row .n { font-size: 12px; color: var(--text); font-weight: 600; }
.hv-bot .row .h { font-size: 10.5px; color: var(--text-mut); font-family: 'JetBrains Mono', monospace; display: block; }
.hv-bot .row .s {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; padding: 2px 8px; border-radius: 100px;
  background: rgba(74,222,128,0.18); color: var(--ok);
  border: 1px solid rgba(74,222,128,0.3);
}
.hv-bot .row.wait .s { background: rgba(245,196,81,0.16); color: var(--warn); border-color: rgba(245,196,81,0.3); }
.hv-bot .counter {
  position: absolute; right: 20px; top: 60px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 10px 24px -6px var(--glow);
  animation: bump 2.5s ease-in-out infinite;
}
@keyframes bump {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(62,139,255,0.1);
  border: 1px solid rgba(62,139,255,0.25);
  border-radius: 100px;
  font-size: 12.5px;
  color: var(--blue-2);
  font-weight: 500;
  margin-bottom: 22px;
  font-family: 'JetBrains Mono', monospace;
}
.hero-eyebrow .d {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
}
.hero h1 { margin-bottom: 20px; }
.hero .tag {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.5;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 20px;
  color: var(--text-mut);
  font-size: 13px;
  font-family: 'JetBrains Mono', monospace;
}
.hero-note .ok { color: var(--ok); }

/* ---------- BEFORE / AFTER ---------- */
.compare {
  max-width: 1000px;
  margin: 60px auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6);
}
.compare-view {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}
.compare-side {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.compare-side.before {
  background:
    linear-gradient(180deg, #2a2f3e 0%, #171a24 100%);
}
.compare-side.after {
  clip-path: inset(0 0 0 50%);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,220,180,0.25), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255,150,180,0.15), transparent 45%),
    linear-gradient(180deg, #1a3866 0%, #0a1428 100%);
}
.compare-scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.compare-scene .mountain {
  position: absolute; bottom: 30%; left: 0; right: 0; height: 45%;
  background: linear-gradient(180deg, #1a2138, #0a0d14);
  clip-path: polygon(0 100%, 15% 50%, 30% 70%, 50% 30%, 70% 65%, 85% 40%, 100% 55%, 100% 100%);
}
.compare-scene .sun {
  position: absolute; top: 15%; right: 25%;
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, #fff, #ffddaa 40%, transparent 70%);
  filter: blur(1px);
  opacity: 0;
  transition: opacity 0.2s;
}
.compare-side.after .compare-scene .sun { opacity: 1; }
.compare-scene .water {
  position: absolute; bottom: 0; left: 0; right: 0; height: 30%;
  background: linear-gradient(180deg, rgba(62,139,255,0.35), rgba(10,20,40,0.9));
}
.compare-side.before .compare-scene .water {
  background: linear-gradient(180deg, #1a1f2c, #0a0d14);
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
}
.compare-handle::before {
  content: "⇔";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.compare-label {
  position: absolute;
  top: 18px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(4px);
}
.compare-label.left { left: 18px; }
.compare-label.right { right: 18px; }

/* ---------- SECTION ---------- */
section.block { padding: 80px 28px; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-eye {
  display: inline-block;
  color: var(--blue-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 17px; margin: 0; }

/* ---------- FEATURES ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.15s, border-color 0.15s;
}
.feature:hover { transform: translateY(-3px); border-color: var(--blue); }
.feature-ico {
  width: 44px; height: 44px;
  background: rgba(62,139,255,0.14);
  border: 1px solid rgba(62,139,255,0.28);
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--blue-2);
  margin-bottom: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--text-dim); font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- MODULES (home) ---------- */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.module {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}
.module:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 20px 40px -20px var(--glow); }
.module-thumb {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.module-thumb > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.module-thumb.shaders {
  background:
    radial-gradient(circle at 30% 30%, #ffddaa, transparent 40%),
    radial-gradient(circle at 70% 60%, #ff88aa, transparent 45%),
    linear-gradient(180deg, #1e3a72 0%, #0a1428 100%);
}
.module-thumb.copier {
  background:
    linear-gradient(135deg, #22d3ee 0%, #3e8bff 50%, #6d5bff 100%);
  position: relative;
}
.module-thumb.copier::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.15) 0 40px, transparent 40px 80px);
}
.module-thumb.bot {
  background:
    radial-gradient(circle at 20% 40%, #4ade80, transparent 40%),
    radial-gradient(circle at 80% 60%, #22d3ee, transparent 45%),
    linear-gradient(180deg, #0a1e2e 0%, #05101c 100%);
}
.module-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.module-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.module-desc { color: var(--text-dim); font-size: 14px; margin: 0 0 18px; line-height: 1.55; flex: 1; }
.module-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-2);
  font-weight: 600;
  font-size: 14px;
}
.module-link:hover { color: var(--cyan); gap: 10px; }

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
  position: relative;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--blue-2);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-num::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--blue);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 13.5px; margin: 0; line-height: 1.55; }

/* ---------- INSTALL PANEL ---------- */
.install-panel {
  max-width: 720px;
  margin: 40px auto 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.install-tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.install-tab {
  padding: 12px 20px;
  background: transparent;
  border: none;
  color: var(--text-mut);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  border-right: 1px solid var(--line);
  transition: color 0.15s, background 0.15s;
}
.install-tab:hover { color: var(--text); }
.install-tab.active { color: var(--text); background: var(--surface); border-bottom: 2px solid var(--blue); margin-bottom: -1px; }
.install-cmd {
  padding: 18px 22px;
  background: #05080f;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.install-cmd .prompt { color: var(--blue-2); margin-right: 10px; }
.install-cmd .cmd-text { user-select: all; color: var(--text); }
.copy-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-dim);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-family: inherit;
  transition: all 0.15s;
}
.copy-btn:hover { color: var(--text); border-color: var(--text-mut); }
.copy-btn.done { color: var(--ok); border-color: var(--ok); }

/* ---------- COMPACT WINDOWS DOWNLOAD ---------- */
.dl-hero {
  max-width: 420px;
  margin: 32px auto 0;
  text-align: center;
}
.dl-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.15s, box-shadow 0.15s;
}
.dl-hero-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 18px 42px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,0.3);
}
.dl-tile {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.dl-tile svg { width: 18px; height: 18px; }
.dl-info { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.dl-title { font-weight: 700; font-size: 15px; }
.dl-sub {
  color: rgba(255,255,255,0.75);
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 1px;
}
.dl-arrow { display: none; }
.dl-note {
  margin-top: 14px;
  color: var(--text-mut);
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
}

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gal-item {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  transition: transform 0.15s, border-color 0.15s;
}
.gal-item:hover { transform: scale(1.02); border-color: var(--blue); }
.gal-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.5));
}
.gal-label {
  position: absolute;
  bottom: 12px; left: 14px;
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 1;
  font-weight: 600;
}
.gal-1 { background: linear-gradient(135deg, #ff7a5c 0%, #6d4bff 55%, #0a0d14 100%); }
.gal-2 { background: linear-gradient(135deg, #ffcbea, #a5d8ff 60%, #e0f4ff); }
.gal-3 { background: repeating-linear-gradient(0deg, #1c1c1c 0 3px, #000 3px 5px), linear-gradient(180deg, #222, #000); }
.gal-4 { background: linear-gradient(180deg, #ff71ce, #b967ff 40%, #01cdfe); }
.gal-5 { background: linear-gradient(180deg, #7ea9c7, #5b7d95 45%, #3d5468); }
.gal-6 { background: radial-gradient(circle at 40% 30%, #ffe7a3, transparent 40%), linear-gradient(180deg, #1a3866, #05101c); }

/* ---------- TESTIMONIALS ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.stars {
  color: var(--warn);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.review p {
  color: var(--text);
  font-size: 15px;
  margin: 0 0 18px;
  line-height: 1.55;
}
.review-who {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rev-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  flex-shrink: 0;
}
.rev-name { font-weight: 600; font-size: 13.5px; }
.rev-role { color: var(--text-mut); font-size: 12px; font-family: 'JetBrains Mono', monospace; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.faq-q {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 15.5px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .caret { color: var(--text-mut); transition: transform 0.2s; }
.faq-item.open .faq-q .caret { transform: rotate(45deg); color: var(--blue-2); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-dim);
  font-size: 14.5px;
  padding: 0 22px;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }

/* ---------- DOWNLOADS ---------- */
.downloads-block {
  max-width: 900px;
  margin: 0 auto;
}
.dl-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
.dl-row {
  display: grid;
  grid-template-columns: 40px 1fr auto auto auto;
  gap: 16px;
  padding: 16px 20px;
  align-items: center;
  border-bottom: 1px solid var(--line-2);
}
.dl-row:last-child { border-bottom: none; }
.dl-ico {
  width: 40px; height: 40px;
  background: rgba(62,139,255,0.12);
  border: 1px solid rgba(62,139,255,0.25);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--blue-2);
}
.dl-name { color: var(--text); font-weight: 600; font-size: 14.5px; }
.dl-desc { color: var(--text-mut); font-size: 12.5px; margin-top: 2px; }
.dl-size, .dl-date { color: var(--text-mut); font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.dl-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--text-mut);
  font-size: 14px;
}

/* ---------- SPEC TABLE ---------- */
.spec-table {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-2);
  align-items: baseline;
  gap: 16px;
}
.spec-row:last-child { border-bottom: none; }
.spec-key {
  color: var(--text-mut);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.spec-val { color: var(--text); font-size: 14.5px; }
.spec-val code {
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--blue-2);
  font-size: 12.5px;
  font-family: 'JetBrains Mono', monospace;
}
.chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(62,139,255,0.12);
  border: 1px solid rgba(62,139,255,0.25);
  color: var(--blue-2);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin-right: 6px;
}
.chip.ok { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.25); color: var(--ok); }

/* ---------- ADMIN ---------- */
.admin-login {
  max-width: 380px;
  margin: 80px auto;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.admin-login h2 { margin-bottom: 6px; }
.admin-login .sub { color: var(--text-mut); font-size: 13px; margin: 0 0 20px; }
.admin-hint {
  background: rgba(62,139,255,0.08);
  border: 1px solid rgba(62,139,255,0.2);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.field { display: block; margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mut);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--glow);
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.admin-header h1 { font-size: 36px; margin-bottom: 6px; }
.admin-header .meta { color: var(--text-mut); font-family: 'JetBrains Mono', monospace; font-size: 12.5px; margin-bottom: 8px; }
.admin-header p { color: var(--text-dim); margin: 0; max-width: 560px; }

.admin-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin-bottom: 24px;
  width: fit-content;
}
.admin-tab {
  padding: 8px 16px;
  background: transparent;
  color: var(--text-mut);
  font-size: 13.5px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 500;
}
.admin-tab:hover { color: var(--text); }
.admin-tab.active { background: var(--blue); color: #fff; }

.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
}
.upload-area {
  border: 2px dashed var(--line);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  color: var(--text-mut);
  background: var(--bg-2);
  transition: border-color 0.15s, background 0.15s;
  margin-bottom: 16px;
  cursor: pointer;
}
.upload-area:hover, .upload-area.drag {
  border-color: var(--blue);
  background: rgba(62,139,255,0.05);
  color: var(--text);
}
.upload-area strong { color: var(--blue-2); }
.upload-area .filename {
  margin-top: 10px;
  color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.admin-files {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 20px;
}
.admin-files th {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-mut);
  font-weight: 600;
}
.admin-files td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
.admin-files tr:last-child td { border-bottom: none; }
.admin-files .empty {
  text-align: center;
  color: var(--text-mut);
  padding: 30px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

/* ---------- ADMIN AVATARS ---------- */
.av-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.av-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.15s;
}
.av-card:hover { border-color: var(--text-mut); }
.av-preview {
  width: 52px; height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--line);
}
.av-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }
.av-fallback {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
.av-meta { flex: 1; min-width: 0; }
.av-name { color: var(--text); font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-role { color: var(--text-mut); font-size: 11px; font-family: 'JetBrains Mono', monospace; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ---------- FLASH ---------- */
.flash-wrap {
  position: fixed;
  top: 80px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flash {
  background: var(--surface);
  border: 1px solid var(--blue);
  border-left-width: 3px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--text);
  max-width: 320px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  animation: slideIn 0.25s ease;
}
.flash.err { border-color: var(--err); }
.flash.ok { border-color: var(--ok); }
@keyframes slideIn {
  from { transform: translateX(20px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---------- FOOTER (Roshade-style, compact) ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  margin-top: 40px;
  background: rgba(6, 10, 19, 0.6);
  backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 26px;
  align-items: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
}
.footer-brand .fbm {
  width: 22px; height: 22px;
  background: var(--blue);
  border-radius: 6px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 11px;
  box-shadow: 0 0 12px var(--glow);
}
.footer-links { font-size: 12.5px; gap: 16px; }
.footer-dis { font-size: 12px; }
.footer-dis {
  color: var(--text-mut);
  font-size: 12.5px;
  text-align: center;
}
.footer-links {
  display: flex;
  gap: 18px;
  color: var(--text-mut);
  font-size: 13px;
}
.footer-links a { color: var(--text-mut); }
.footer-links a:hover { color: var(--blue-2); }

/* ---------- STICKY CTA (scroll-triggered pill) ---------- */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(160%);
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 20px;
  background: rgba(10, 15, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: 100px;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.7),
              0 0 0 1px rgba(255,255,255,0.02) inset;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.3s ease;
  opacity: 0;
  max-width: calc(100vw - 32px);
}
.sticky-cta.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.sticky-mark {
  width: 30px; height: 30px;
  background: var(--blue);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 16px var(--glow);
  flex-shrink: 0;
}
.sticky-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.sticky-title {
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-title .dim { color: var(--text-mut); font-weight: 500; }
.sticky-sub {
  color: var(--text-mut);
  font-size: 11.5px;
  font-family: 'JetBrains Mono', monospace;
  margin-top: 2px;
  white-space: nowrap;
}
.sticky-btn {
  padding: 9px 18px;
  background: var(--blue);
  color: #fff;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 6px 20px -6px var(--glow);
  transition: background 0.15s, box-shadow 0.15s;
  flex-shrink: 0;
}
.sticky-btn:hover {
  background: var(--blue-2);
  color: #fff;
  box-shadow: 0 8px 24px -6px var(--glow);
}
@media (max-width: 600px) {
  .sticky-cta { padding: 8px 8px 8px 16px; gap: 10px; }
  .sticky-sub { display: none; }
  .sticky-btn { padding: 8px 14px; font-size: 12.5px; }
}

/* ---------- AVATAR TEXT ---------- */
.rev-avatar {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  overflow: hidden;
}
.rev-avatar.av-img { padding: 0; background: var(--surface-2); }
.rev-avatar.av-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rev-avatar { position: relative; }
.rev-avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: inherit;
  pointer-events: none;
}

/* ---------- MORE LIVE POLISH ---------- */
/* Hero title with a slow moving highlight */
.hero h1 {
  background: linear-gradient(90deg, #fff 0%, #d4e3ff 40%, #6ba6ff 55%, #d4e3ff 70%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* Feature icons float on hover */
.feature:hover .feature-ico {
  transform: translateY(-3px) rotate(-4deg);
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.feature-ico { transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s, color 0.2s, border-color 0.2s; }

/* Module thumb zoom on hover */
.module-thumb { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
.module:hover .module-thumb { transform: scale(1.06); }
.module { overflow: hidden; }

/* Hero eyebrow dot pulse */
.hero-eyebrow .d { animation: dotPulse 1.8s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 10px var(--cyan); transform: scale(1); }
  50%      { box-shadow: 0 0 22px var(--cyan); transform: scale(1.25); }
}

/* Step cards get a slow-rotating accent border on hover */
.step { transition: transform 0.2s, border-color 0.2s; }
.step:hover { transform: translateY(-3px); border-color: var(--blue); }

@media (prefers-reduced-motion: reduce) {
  .hero h1, .hero-eyebrow .d { animation: none; }
}

/* ---------- CAROUSEL ---------- */
.carousel {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.car-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 4px;
}
.car-track::-webkit-scrollbar { display: none; }
.car-slide {
  flex: 0 0 auto;
  width: min(720px, 86%);
  aspect-ratio: 16/9;
  scroll-snap-align: center;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.55);
}
.car-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.car-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--text-mut);
  background:
    linear-gradient(135deg, rgba(62,139,255,0.08), transparent 55%),
    var(--surface);
  overflow: hidden;
}
.car-ph::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.car-ph .lbl {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(0,0,0,0.35);
}
.car-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(10,13,20,0.85);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  display: grid; place-items: center;
  backdrop-filter: blur(10px);
  z-index: 5;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, transform 0.12s;
}
.car-nav:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-50%) scale(1.08); }
.car-nav.prev { left: 8px; }
.car-nav.next { right: 8px; }
.car-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}
.car-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s, width 0.15s, border-radius 0.15s;
}
.car-dot.on { background: var(--blue); width: 24px; border-radius: 4px; }

/* ---------- REVIEWS WITH IMAGES (shaders) — compact ---------- */
.reviews.big {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.reviews.big .review {
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.review-img {
  aspect-ratio: 3/2;
  border-radius: 8px;
  margin: 0 0 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(62,139,255,0.14), transparent 60%),
    var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
  display: grid; place-items: center;
}
.review-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.review-img .ph {
  color: var(--text-mut);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
}
.reviews.big .stars {
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.reviews.big .review p {
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}
.reviews.big .review-who {
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line-2);
}
.reviews.big .rev-avatar {
  width: 30px; height: 30px;
}
.reviews.big .rev-name { font-size: 12.5px; }
.reviews.big .rev-role { font-size: 11px; }
.rev-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue-2);
  font-size: 11px;
  margin-left: 4px;
}
.rev-user-line { display: flex; align-items: center; gap: 4px; }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- LIVING DOWNLOAD BUTTON ---------- */
.dl-hero-btn {
  animation: dlPulse 3.2s ease-in-out infinite;
}
@keyframes dlPulse {
  0%, 100% { box-shadow: 0 20px 48px -14px var(--glow), inset 0 1px 0 rgba(255,255,255,0.25); }
  50%      { box-shadow: 0 26px 64px -12px rgba(62,139,255,0.6), inset 0 1px 0 rgba(255,255,255,0.3); }
}
@media (prefers-reduced-motion: reduce) {
  .dl-hero-btn { animation: none; }
}

/* ---------- MOBILE ---------- */
@media (max-width: 900px) {
  body { padding-top: 76px; }
  .nav { top: 10px; }
  .nav-inner { padding: 6px 6px 6px 14px; gap: 10px; }
  .nav-links, .nav-meta { display: none; }
  .hero { padding: 30px 20px 40px; }
  .features, .modules, .steps, .reviews, .gallery { grid-template-columns: 1fr; }
  section.block { padding: 50px 20px; }
  .compare { margin: 30px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .spec-row { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 1fr; gap: 6px; }
  .dl-ico { display: none; }
  .admin-tabs { overflow-x: auto; width: 100%; }
  .reviews.big { grid-template-columns: 1fr; }
  .car-slide { width: 92%; }
  .car-nav.prev { left: 4px; }
  .car-nav.next { right: 4px; }
}
@media (min-width: 900px) and (max-width: 1120px) {
  .reviews.big { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GLASS + EXTRA MOTION
   ============================================================ */

/* Universal glass finish on card-like surfaces */
.feature, .module, .step, .review, .panel, .install-panel, .dl-list,
.spec-table, .admin-panel, .admin-tabs, .av-card, .compare, .car-slide {
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.04);
}
.feature, .module, .step, .review {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
}
.feature:hover, .module:hover, .step:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

/* Cursor spotlight on cards (drives --mx / --my via JS) */
.feature, .module, .step, .review {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.feature::before, .module::before, .step::before, .review::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(120, 175, 255, 0.14),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  z-index: -1;
}
.feature:hover::before, .module:hover::before,
.step:hover::before, .review:hover::before { opacity: 1; }

/* Subtle animated grid */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
  animation: gridDrift 60s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 44px 44px, 44px 44px; }
}

/* Eyebrow gently floats */
.hero-eyebrow { animation: eyebrowFloat 5s ease-in-out infinite; }
@keyframes eyebrowFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Module thumbs get a slow shifting sheen */
.module-thumb {
  position: relative;
  overflow: hidden;
}
.module-thumb::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
  animation: sheen 6s linear infinite;
}
@keyframes sheen {
  from { transform: translateX(-60%); }
  to   { transform: translateX(60%); }
}

/* Module-link chevron slides on hover */
.module-link { transition: gap 0.2s ease, color 0.2s ease; }
.module-link svg { transition: transform 0.2s ease; }
.module:hover .module-link { color: var(--cyan); }
.module:hover .module-link svg { transform: translateX(4px); }

/* Feature icons continuously breathe */
.feature-ico { animation: iconBreath 4s ease-in-out infinite; }
@keyframes iconBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}
.feature:hover .feature-ico { animation: none; }

/* Section eyebrow reveal glow */
.section-eye {
  position: relative;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(62,139,255,0.08);
  border: 1px solid rgba(62,139,255,0.18);
}

/* CTA buttons get a running shimmer */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.5s linear infinite;
}
@keyframes btnShine {
  0%   { left: -70%; }
  60%  { left: 130%; }
  100% { left: 130%; }
}

/* Download pill inherits it too */
.dl-hero-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3.5s linear infinite;
  pointer-events: none;
}
.dl-hero-btn { position: relative; overflow: hidden; }

/* Nav-link underline slide on hover */
.nav-link { position: relative; }
.nav-link::before {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--blue-2);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.2,0.8,0.2,1);
  border-radius: 2px;
  opacity: 0.8;
}
.nav-link:hover::before { transform: scaleX(1); }
.nav-link.active::before { transform: scaleX(0); }

/* Stagger reveals inside a grid */
.features .reveal:nth-child(1) { transition-delay: 0s; }
.features .reveal:nth-child(2) { transition-delay: 0.06s; }
.features .reveal:nth-child(3) { transition-delay: 0.12s; }
.features .reveal:nth-child(4) { transition-delay: 0.18s; }
.modules  .reveal:nth-child(1) { transition-delay: 0s; }
.modules  .reveal:nth-child(2) { transition-delay: 0.08s; }
.modules  .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps    .reveal:nth-child(1) { transition-delay: 0s; }
.steps    .reveal:nth-child(2) { transition-delay: 0.06s; }
.steps    .reveal:nth-child(3) { transition-delay: 0.12s; }
.steps    .reveal:nth-child(4) { transition-delay: 0.18s; }
.reviews  .reveal:nth-child(1) { transition-delay: 0s; }
.reviews  .reveal:nth-child(2) { transition-delay: 0.06s; }
.reviews  .reveal:nth-child(3) { transition-delay: 0.12s; }
.reviews  .reveal:nth-child(4) { transition-delay: 0.18s; }
.reviews  .reveal:nth-child(5) { transition-delay: 0.24s; }
.reviews  .reveal:nth-child(6) { transition-delay: 0.30s; }

/* FAQ items pop when opened */
.faq-item { transition: transform 0.2s, border-color 0.2s, background 0.2s; }
.faq-item:hover { transform: translateX(2px); border-color: var(--blue); }
.faq-item.open { background: linear-gradient(180deg, rgba(62,139,255,0.06), rgba(255,255,255,0.02)); }

/* Hero-note dot pulses */
.hero-note .ok { animation: dotPulse 1.8s ease-in-out infinite; display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .module-thumb::after, .feature-ico,
  .btn-primary::after, .dl-hero-btn::after, body::after,
  .hero-note .ok { animation: none; }
}
