/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:    #00d4bb;
  --purple:  #8b5cf6;
  --yellow:  #f4c430;
  --pink:    #e879f9;
  --green:   #39ff14;
  --red:     #e55353;
  --bg:      #07070f;
  --bg2:     #0d0d1a;
  --bg3:     #12121f;
  --text:    #c8d6e5;
  --muted:   #5a6a7e;
  --border:  rgba(255,255,255,0.07);

  --glow-teal:   0 0 8px rgba(0,212,187,0.6), 0 0 24px rgba(0,212,187,0.25);
  --glow-purple: 0 0 8px rgba(139,92,246,0.6), 0 0 24px rgba(139,92,246,0.25);
  --glow-yellow: 0 0 8px rgba(244,196,48,0.6), 0 0 24px rgba(244,196,48,0.25);
  --glow-pink:   0 0 8px rgba(232,121,249,0.6), 0 0 24px rgba(232,121,249,0.25);

  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
  --font-display: 'Orbitron', 'Share Tech Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 14px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── SCROLLBAR ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ─── SSMK ITCH.IO ANNOUNCEMENT BAR ─────────────────────────── */
.ssmk-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 1.5rem;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(90deg, rgba(18,3,5,0.97), rgba(42,6,10,0.97), rgba(18,3,5,0.97));
  border-bottom: 1px solid rgba(255,60,60,0.55);
  animation: ssmkGlow 2.4s ease-in-out infinite;
}
@keyframes ssmkGlow {
  0%,100% { box-shadow: 0 0 12px rgba(255,40,40,0.35), inset 0 0 26px rgba(255,30,30,0.12); }
  50%     { box-shadow: 0 0 24px rgba(255,55,55,0.75), inset 0 0 34px rgba(255,40,40,0.22); }
}
.ssmk-bar-scan {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,70,70,0.14), transparent);
  transform: translateX(-100%);
  animation: ssmkSweep 4.5s linear infinite;
  pointer-events: none;
}
@keyframes ssmkSweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.ssmk-bar-text {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.1em; white-space: nowrap;
  color: #ffd9d9;
}
.ssmk-bar-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  color: #180000; background: #ff3b3b;
  padding: 2px 8px;
  box-shadow: 0 0 12px rgba(255,50,50,0.85);
  animation: blink 1.6s ease-in-out infinite;
}
.ssmk-bar-text strong {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  color: #ff5b5b;
  letter-spacing: 0.12em;
  text-shadow: 0 0 8px rgba(255,45,45,0.9), 0 0 22px rgba(255,20,20,0.55);
}
.ssmk-bar-sub { color: #b98a8a; font-size: 11px; }
.ssmk-bar-btn {
  font-size: 11px; letter-spacing: 0.12em; white-space: nowrap;
  color: #ff6b6b;
  border: 1px solid rgba(255,75,75,0.6);
  padding: 4px 13px;
  transition: all 0.2s;
}
.ssmk-bar:hover .ssmk-bar-btn {
  background: rgba(255,55,55,0.16);
  box-shadow: 0 0 14px rgba(255,55,55,0.6);
  color: #fff;
}

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 38px; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 56px;
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,212,187,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}
.logo-icon { display: flex; align-items: center; }
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,212,187,0.5));
}
.logo-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-shadow: var(--glow-teal);
  white-space: nowrap;
}
.hero-watermark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.07;
  filter: hue-rotate(0deg) saturate(0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-cta {
  color: var(--teal) !important;
  border: 1px solid var(--teal);
  padding: 5px 14px;
  transition: background 0.2s, box-shadow 0.2s !important;
  white-space: nowrap;
}
.nav-cta:hover {
  background: rgba(0,212,187,0.1) !important;
  box-shadow: var(--glow-teal) !important;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid rgba(0,212,187,0.3);
  padding: 4px 10px;
}
.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: var(--glow-teal);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 10px 24px;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  color: var(--teal);
  border-color: var(--teal);
  background: rgba(0,212,187,0.06);
}
.btn-primary:hover {
  background: rgba(0,212,187,0.14);
  box-shadow: var(--glow-teal);
}
.btn-secondary {
  color: var(--muted);
  border-color: rgba(255,255,255,0.15);
}
.btn-secondary:hover {
  color: var(--text);
  border-color: rgba(255,255,255,0.35);
}
.btn-large { padding: 13px 32px; font-size: 13px; }

/* ─── FEATURED TRAILER ──────────────────────────────────────── */
.trailer-section {
  position: relative;
  padding: 4.5rem 2.5rem;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trailer-glow {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 70vw; height: 60%;
  background: radial-gradient(ellipse at center, rgba(0,212,187,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.trailer-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}
.trailer-head { text-align: center; margin-bottom: 2rem; }
.trailer-head .section-tag { justify-content: center; }
.trailer-head .section-title { margin: 0.4rem 0 0; }
.trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0,212,187,0.35);
  box-shadow: 0 0 30px rgba(0,212,187,0.18), inset 0 0 40px rgba(0,0,0,0.4);
}
.trailer-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── SECTION COMMON ─────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.section-num {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--teal);
  opacity: 0.4;
  margin-top: 6px;
  letter-spacing: 0.1em;
}
.section-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 6px;
  opacity: 0.8;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.05em;
}
.section-desc {
  max-width: 600px;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.highlight-teal   { color: var(--teal);   text-shadow: var(--glow-teal);   }
.highlight-purple { color: var(--purple); text-shadow: var(--glow-purple); }
.highlight-yellow { color: var(--yellow); text-shadow: var(--glow-yellow); }
.highlight-pink   { color: var(--pink);   text-shadow: var(--glow-pink);   }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 94px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,187,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,187,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.hero-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, var(--bg) 100%);
}

.hero-bg-glyph {
  position: absolute;
  width: min(700px, 90vw);
  height: min(700px, 90vw);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: slow-spin 60s linear infinite;
}
@keyframes slow-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--teal);
  border: 1px solid rgba(0,212,187,0.3);
  padding: 5px 14px;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: var(--glow-teal);
  animation: blink 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.title-neon {
  display: block;
  color: var(--teal);
  text-shadow: 0 0 20px rgba(0,212,187,0.8), 0 0 60px rgba(0,212,187,0.4), 0 0 120px rgba(0,212,187,0.15);
}
.title-engine {
  display: block;
  color: #fff;
  text-shadow: 0 0 30px rgba(255,255,255,0.15);
}

.hero-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal);
  text-shadow: var(--glow-teal);
}
.stat-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop { 0%,100%{opacity:0.5;transform:scaleY(1)} 50%{opacity:1;transform:scaleY(1.2)} }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features {
  padding: 3.75rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 1.5px;
}

.feature-card {
  position: relative;
  background: var(--bg2);
  padding: 1.3rem 1.3rem 1.4rem;
  border: 1px solid var(--border);
  transition: transform 0.2s, background 0.2s;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover { transform: translateY(-2px); background: var(--bg3); }
.feature-card:hover::before { opacity: 1; }

.card-teal   { border-top: 2px solid var(--teal);   }
.card-purple { border-top: 2px solid var(--purple); }
.card-yellow { border-top: 2px solid var(--yellow); }
.card-pink   { border-top: 2px solid var(--pink);   }

.card-teal:hover   { box-shadow: inset 0 0 40px rgba(0,212,187,0.04); }
.card-purple:hover { box-shadow: inset 0 0 40px rgba(139,92,246,0.04); }
.card-yellow:hover { box-shadow: inset 0 0 40px rgba(244,196,48,0.04); }
.card-pink:hover   { box-shadow: inset 0 0 40px rgba(232,121,249,0.04); }

.card-num {
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.15em;
  margin-bottom: 0.6rem;
  opacity: 0.5;
}
.card-icon {
  margin-bottom: 0.6rem;
}
.card-teal   .card-icon { color: var(--teal);   }
.card-purple .card-icon { color: var(--purple); }
.card-yellow .card-icon { color: var(--yellow); }
.card-pink   .card-icon { color: var(--pink);   }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.card-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 3px 8px;
  display: inline-block;
}
.card-teal   .card-tag { color: var(--teal);   border: 1px solid rgba(0,212,187,0.25); }
.card-purple .card-tag { color: var(--purple); border: 1px solid rgba(139,92,246,0.25); }
.card-yellow .card-tag { color: var(--yellow); border: 1px solid rgba(244,196,48,0.25); }
.card-pink   .card-tag { color: var(--pink);   border: 1px solid rgba(232,121,249,0.25); }

/* ─── STORYBOARD SECTION ─────────────────────────────────────── */
.storyboard-section {
  padding: 3.75rem 2.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.storyboard-section .section-header,
.storyboard-section .section-desc {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}
.storyboard-section .section-desc { margin-bottom: 1.75rem; }

.storyboard-demo {
  max-width: 1100px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sb-node {
  position: relative;
  width: 160px;
  min-height: 160px;
  border: 1px solid;
  background: var(--bg3);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  transition: box-shadow 0.3s;
}
.sb-node:hover { box-shadow: 0 0 20px currentColor; }
.node-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-family: var(--font-display);
}
.node-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 8px;
}
.node-type {
  font-size: 9px;
  letter-spacing: 0.15em;
  opacity: 0.5;
}
.node-flow {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
.node-icon {
  width: 60px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-blue   { color: var(--teal);   border-color: rgba(0,212,187,0.4); }
.node-purple { color: var(--purple); border-color: rgba(139,92,246,0.4); }
.node-yellow { color: var(--yellow); border-color: rgba(244,196,48,0.4); }
.node-teal   { color: var(--teal);   border-color: rgba(0,212,187,0.4); }

.active-node {
  border-color: var(--yellow) !important;
  box-shadow: 0 0 16px rgba(244,196,48,0.3);
}

/* node icon content */
.splash-screen {
  width: 42px; height: 30px;
  border: 1px solid currentColor;
  position: relative;
}
.splash-screen::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}
.menu-lines {
  display: flex; flex-direction: column; gap: 5px;
}
.menu-lines span {
  display: block;
  width: 28px; height: 2px;
  background: currentColor;
  opacity: 0.8;
}
.loader-ring {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: currentColor;
  border-right-color: currentColor;
  animation: spin 1.2s linear infinite;
  opacity: 0.9;
}
@keyframes spin { to { transform: rotate(360deg); } }
.player-sprite {
  width: 24px; height: 32px;
  background: currentColor;
  opacity: 0.8;
  clip-path: polygon(50% 0%, 80% 30%, 80% 70%, 50% 100%, 20% 70%, 20% 30%);
}

.sb-connector {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.connector-line {
  width: 24px;
  height: 1px;
  background: var(--muted);
  opacity: 0.4;
}
.connector-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  opacity: 0.5;
}

.storyboard-features {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.sb-feature {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.sb-feat-icon {
  color: var(--teal);
  font-weight: bold;
  flex-shrink: 0;
}

/* ─── SCREENSHOTS / GALLERY ─────────────────────────────────── */
.screenshots-section {
  padding: 3.75rem 0 3rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.gallery-header {
  max-width: 1400px;
  margin: 0 auto 1.5rem;
  padding: 0 2.5rem;
}
.gallery-header .section-header { margin-bottom: 0; }

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2.5rem 0;
}
.gallery-btn {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(0,212,187,0.35);
  color: var(--teal);
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  font-family: var(--font-mono);
}
.gallery-btn:hover {
  background: rgba(0,212,187,0.1);
  box-shadow: var(--glow-teal);
}
.gallery-btn:disabled {
  opacity: 0.2;
  cursor: default;
  box-shadow: none;
  background: transparent;
}

.gallery-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.gallery-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
}
.gallery-dot.active {
  background: var(--teal);
  opacity: 1;
  transform: scale(1.4);
  box-shadow: var(--glow-teal);
}

/* Track */
.gallery-track-wrap {
  width: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}
.gallery-track-wrap:active { cursor: grabbing; }

.gallery-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Slides */
.gallery-slide {
  flex: 0 0 85%;
  max-width: 1200px;
  padding: 0 2.5rem;
  box-sizing: border-box;
}
@media (min-width: 1100px) {
  .gallery-slide { flex: 0 0 80%; }
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg3);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  transition: border-color 0.3s;
}
.gallery-img-wrap:hover { border-color: rgba(0,212,187,0.3); }

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.9) saturate(1.1);
}
.gallery-slide.is-active .gallery-img-wrap img {
  filter: brightness(1) saturate(1.2);
}
.gallery-img-wrap:hover img {
  transform: scale(1.02);
}

/* Caption below image */
.gallery-caption {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 0;
  flex-wrap: wrap;
}
.shot-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--teal);
  border: 1px solid rgba(0,212,187,0.35);
  padding: 3px 9px;
  white-space: nowrap;
}
.gallery-caption-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
}
.gallery-caption-desc {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}

@media (max-width: 640px) {
  .gallery-slide { flex: 0 0 92%; padding: 0 1rem; }
  .gallery-caption-desc { display: none; }
}

/* ─── EDITOR SECTION ─────────────────────────────────────────── */
.editor-section {
  padding: 3.75rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.editor-inner {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: center;
}
.editor-text .section-num { margin-bottom: 0.5rem; }
.editor-text .section-tag { margin-bottom: 0.5rem; }
.editor-text .section-title { margin-bottom: 1.5rem; }
.editor-text .section-desc { margin-bottom: 1.5rem; }

.editor-feats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.editor-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.feat-bullet {
  width: 5px; height: 5px;
  background: var(--teal);
  box-shadow: var(--glow-teal);
  flex-shrink: 0;
}

/* Editor screenshot */
.editor-preview { position: relative; }
.video-hint {
  display: none;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 0.6rem;
  letter-spacing: 0.08em;
  opacity: 0.6;
}
.editor-screenshot {
  border: 1px solid rgba(0,212,187,0.2);
  box-shadow: 0 0 40px rgba(0,212,187,0.06);
  overflow: hidden;
  line-height: 0;
}
.editor-screenshot img,
.editor-screenshot video {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95) saturate(1.1);
  transition: filter 0.3s;
}
.editor-screenshot:hover img,
.editor-screenshot:hover video { filter: brightness(1) saturate(1.2); }

.editor-mock {
  background: var(--bg2);
  border: 1px solid rgba(0,212,187,0.2);
  box-shadow: 0 0 40px rgba(0,212,187,0.05);
  overflow: hidden;
  font-size: 10px;
}
.mock-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 12px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.mock-scene-name { font-family: var(--font-display); font-size: 10px; color: #fff; letter-spacing: 0.1em; }
.mock-type { color: var(--muted); font-size: 9px; letter-spacing: 0.1em; }
.mock-btn {
  margin-left: auto;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 2px 10px;
  font-size: 9px;
  letter-spacing: 0.1em;
  box-shadow: var(--glow-teal);
}
.mock-info { color: var(--muted); font-size: 9px; letter-spacing: 0.08em; }

.mock-body { display: flex; height: 280px; }
.mock-sidebar-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 6px;
  background: var(--bg3);
  border-right: 1px solid var(--border);
}
.mock-room {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid transparent;
  cursor: pointer;
}
.active-room {
  color: var(--teal);
  border-color: rgba(0,212,187,0.4);
  background: rgba(0,212,187,0.06);
}

.mock-canvas {
  flex: 1;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(100,50,200,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,50,200,0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  background-color: #090916;
}
.canvas-grid { position: absolute; inset: 0; }

.light-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.light-glow-1 {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(0,212,187,0.18) 0%, transparent 70%);
  top: 30%; left: 15%;
}
.light-glow-2 {
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(57,255,20,0.15) 0%, transparent 70%);
  bottom: 20%; right: 20%;
}
.light-glow-3 {
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, transparent 70%);
  top: 50%; right: 30%;
}
.mock-player {
  position: absolute;
  width: 14px; height: 18px;
  background: var(--teal);
  opacity: 0.9;
  bottom: 30%; left: 45%;
  clip-path: polygon(50% 0%, 80% 30%, 80% 70%, 50% 100%, 20% 70%, 20% 30%);
  box-shadow: 0 0 6px var(--teal);
}
.mock-health-bar {
  position: absolute;
  top: 10px; left: 10px;
  width: 80px; height: 6px;
  background: rgba(255,255,255,0.1);
}
.health-fill {
  width: 100%; height: 100%;
  background: var(--teal);
  box-shadow: 0 0 4px var(--teal);
}
.mock-fps {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.mock-inspector {
  width: 130px;
  background: var(--bg3);
  border-left: 1px solid var(--border);
  padding: 8px 0;
  overflow: hidden;
}
.insp-title {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.15em;
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.insp-item {
  padding: 5px 10px;
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}
.insp-item:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.active-insp { color: var(--teal); background: rgba(0,212,187,0.06); }

/* ─── SYSTEMS SECTION ────────────────────────────────────────── */
.systems-section {
  padding: 3.75rem 2.5rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.systems-section .section-header,
.systems-section .section-desc {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
}
.systems-section .section-desc { margin-bottom: 1.75rem; }

.systems-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.system-row {
  background: var(--bg3);
  padding: 1.5rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.sys-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--teal);
  white-space: nowrap;
  margin-top: 2px;
  min-width: 110px;
}
.sys-config {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.sys-field {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 11px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding-bottom: 4px;
}
.field-key { color: var(--muted); }
.field-val { color: var(--text); letter-spacing: 0.05em; }
.teal-val   { color: var(--teal); }
.yellow-val { color: var(--yellow); }
.green-val  { color: var(--green); }

/* ─── WORKFLOW SECTION ───────────────────────────────────────── */
.workflow-section {
  padding: 3.75rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.wf-step {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  padding: 1rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.wf-num {
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0.15em;
  opacity: 0.5;
}
.wf-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wf-teal   { color: var(--teal);   border-color: rgba(0,212,187,0.35);   background: rgba(0,212,187,0.05); }
.wf-purple { color: var(--purple); border-color: rgba(139,92,246,0.35); background: rgba(139,92,246,0.05); }
.wf-yellow { color: var(--yellow); border-color: rgba(244,196,48,0.35);  background: rgba(244,196,48,0.05); }
.wf-pink   { color: var(--pink);   border-color: rgba(232,121,249,0.35); background: rgba(232,121,249,0.05); }

.wf-step h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}
.wf-step p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.wf-arrow {
  align-self: center;
  color: var(--muted);
  font-size: 18px;
  opacity: 0.3;
  padding: 0 0.5rem;
  margin-top: -1.5rem;
}

/* ─── DOWNLOAD SECTION ───────────────────────────────────────── */
.download-section {
  position: relative;
  padding: 4.5rem 2.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.dl-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,187,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,187,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.dl-glow-left {
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.dl-glow-right {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(0,212,187,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.dl-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  border: 1px solid rgba(244,196,48,0.3);
  padding: 5px 14px;
  margin-bottom: 2rem;
}
.dl-badge .badge-dot { background: var(--yellow); box-shadow: var(--glow-yellow); }
.dl-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.dl-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.dl-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.dl-platform {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.platform-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 3px 10px;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2.5rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-brand {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-tagline { font-size: 11px; color: var(--muted); }
.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 100px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.footer-col a {
  font-size: 11px;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-version {
  color: var(--teal);
  opacity: 0.5;
}

/* ─── LIGHTING SHOWCASE ──────────────────────────────────────── */
.lighting-showcase {
  padding: 1.5rem 2.5rem 3.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.lighting-showcase-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.lighting-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--teal);
  font-family: var(--font-mono);
}
.lighting-video-wrap {
  width: 100%;
  border: 1px solid rgba(0,212,187,0.2);
  box-shadow: 0 0 60px rgba(0,212,187,0.08);
  overflow: hidden;
  line-height: 0;
}
.lighting-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.95) saturate(1.1);
  transition: filter 0.3s;
}
.lighting-video-wrap:hover video {
  filter: brightness(1) saturate(1.2);
}
.lighting-caption {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ─── MOBILE BLOCK ───────────────────────────────────────────── */
.mobile-block {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,13,0.97);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.mobile-block.active { display: flex; }
.mb-inner {
  position: relative;
  width: 88vw;
  max-width: 380px;
  border: 1px solid rgba(255,40,40,0.5);
  box-shadow: 0 0 40px rgba(255,30,30,0.2), inset 0 0 60px rgba(255,20,20,0.04);
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  overflow: hidden;
}
.mb-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  z-index: 1;
}
.mb-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: rgba(255,30,30,0.12);
  border-bottom: 1px solid rgba(255,40,40,0.3);
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.mb-sys { color: rgba(255,255,255,0.4); }
.mb-err { color: #ff3030; animation: blink 1.2s step-start infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mb-icon {
  margin-top: 1.2rem;
  font-size: 2.5rem;
  color: #ff3030;
  text-shadow: 0 0 20px rgba(255,30,30,0.8);
  animation: pulse-red 2s ease-in-out infinite;
}
@keyframes pulse-red {
  0%,100% { text-shadow: 0 0 20px rgba(255,30,30,0.8); }
  50%      { text-shadow: 0 0 40px rgba(255,30,30,1), 0 0 80px rgba(255,30,30,0.4); }
}
.mb-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #ff3030;
  letter-spacing: 0.12em;
  position: relative;
}
/* Glitch effect */
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  overflow: hidden;
}
.glitch::before {
  color: #0ff;
  animation: glitch-top 2.5s infinite linear;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}
.glitch::after {
  color: #f0f;
  animation: glitch-bot 2.5s infinite linear;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}
@keyframes glitch-top {
  0%,90%,100% { transform: none; opacity: 1; }
  91%  { transform: translateX(-3px); opacity: 0.8; }
  93%  { transform: translateX(3px);  opacity: 0.8; }
  95%  { transform: translateX(-2px); opacity: 0.9; }
  97%  { transform: none; }
}
@keyframes glitch-bot {
  0%,88%,100% { transform: none; opacity: 1; }
  89% { transform: translateX(4px);  opacity: 0.7; }
  91% { transform: translateX(-4px); opacity: 0.7; }
  93% { transform: translateX(2px);  opacity: 0.9; }
  95% { transform: none; }
}
.mb-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255,48,48,0.7);
}
.mb-msg {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.7;
  opacity: 0.8;
}
.mb-terminal {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,40,40,0.2);
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mb-line {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
}
.mb-fail { color: #ff3030; font-weight: bold; }
.mb-close {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,48,48,0.7);
  background: none;
  border: 1px solid rgba(255,40,40,0.35);
  padding: 0.45rem 1.2rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-top: 0.2rem;
}
.mb-close:hover { color: #ff3030; border-color: #ff3030; }

/* ─── GAME MODAL ─────────────────────────────────────────────── */
.game-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,13,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.game-modal.active { display: flex; }
.game-modal-inner {
  width: 90vw;
  max-width: 1300px;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.game-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.game-modal-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--off-white);
}
.game-modal-close {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.game-modal-close:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.game-modal-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid rgba(0,212,187,0.25);
  box-shadow: 0 0 60px rgba(0,212,187,0.12);
  overflow: hidden;
  background: #05050d;
}
.game-modal-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
/* ─── EXPORT SECTION ─────────────────────────────────────────── */
.export-section {
  padding: 3.75rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.export-section .section-desc { margin-bottom: 1.75rem; max-width: 760px; }
.export-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.export-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.export-card.card-teal:hover   { box-shadow: inset 0 0 40px rgba(0,212,187,0.05); }
.export-card.card-purple:hover { box-shadow: inset 0 0 40px rgba(139,92,246,0.05); }
.export-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.export-platform {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--muted);
}
.export-card.card-teal   .export-platform { color: var(--teal);   }
.export-card.card-purple .export-platform { color: var(--purple); }
.export-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.export-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ─── MOBILE HUB ─────────────────────────────────────────────── */
.hub-section {
  position: relative;
  padding: 3.75rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}
.hub-glow {
  position: absolute;
  top: -20%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,212,187,0.10), transparent 65%);
  pointer-events: none;
}
.hub-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hub-text .section-desc { margin-bottom: 1.75rem; max-width: 560px; }
.hub-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.hub-feats li { display: flex; align-items: flex-start; gap: 1rem; }
.hub-feat-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  color: var(--teal);
  background: rgba(0,212,187,0.08);
  border: 1px solid rgba(0,212,187,0.25);
}
.hub-feat-icon svg { width: 22px; height: 22px; }
.hub-feat-icon.hub-feat-pink {
  color: var(--pink, #e879f9);
  background: rgba(232,121,249,0.08);
  border-color: rgba(232,121,249,0.25);
}
.hub-feats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 0.3rem;
}
.hub-feats span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.hub-open-btn { display: none; }
.hub-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
}
.hub-qr-frame {
  width: 200px;
  height: 200px;
  padding: 12px;
  border-radius: 12px;
  background: #0d0d1a;
  box-shadow: 0 0 30px -8px rgba(0,212,187,0.4);
}
.hub-qr-frame img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.hub-qr-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--teal);
}
.hub-qr-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.hub-qr-sub strong { color: #fff; font-weight: 700; }

/* ─── SUPPORT ────────────────────────────────────────────────── */
.support-section {
  position: relative;
  padding: 3.75rem 2.5rem 4.5rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
}
.support-glow {
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(0,212,187,0.09), transparent 65%);
  pointer-events: none;
}
.support-inner { position: relative; max-width: 720px; margin: 0 auto; }
.support-section .section-tag { justify-content: center; }
.support-section .section-title { margin: 0 auto; }
.support-section .section-desc { margin: 1.25rem auto 2.25rem; max-width: 560px; }
.support-card {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 1.75rem 2rem;
}
.support-qr-frame {
  width: 148px;
  height: 148px;
  flex: none;
  padding: 10px;
  border-radius: 12px;
  background: #0d0d1a;
  box-shadow: 0 0 26px -8px rgba(0,212,187,0.45);
}
.support-qr-frame img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.support-cta-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; }
.support-cta { display: inline-flex; align-items: center; gap: 0.6rem; }
.support-cta svg { width: 18px; height: 18px; }
.support-cashtag {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--teal);
}
.support-scan { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; }

@media (max-width: 900px) {
  .nav-status { display: none; }
  .export-grid { grid-template-columns: 1fr; }
  .hub-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hub-qr-card { display: none; }
  .hub-open-btn { display: inline-block; }
  .support-card { flex-direction: column; text-align: center; gap: 1.4rem; }
  .support-cta-col { align-items: center; }
  .nav-links { gap: 1.2rem; }
  .nav { padding: 0 1.25rem; }
  .editor-inner { grid-template-columns: 1fr; }
  .editor-screenshot { margin-left: -2.5rem; margin-right: -2.5rem; }
  .video-hint { display: block; }
  .lighting-video-wrap { margin-left: -2.5rem; margin-right: -2.5rem; width: calc(100% + 5rem); }
  .systems-grid { grid-template-columns: 1fr; }
  .storyboard-demo { gap: 0.25rem; }
  .sb-node { width: 130px; min-height: 140px; }
  .wf-arrow { display: none; }
  .workflow-steps { gap: 1rem; }
}

@media (max-width: 640px) {
  .ssmk-bar { gap: 8px; padding: 0 0.7rem; }
  .ssmk-bar-sub, .ssmk-bar-tag { display: none; }
  .ssmk-bar-text strong { font-size: 10px; letter-spacing: 0.08em; }
  .ssmk-bar-btn { padding: 4px 8px; font-size: 9px; letter-spacing: 0.08em; }
  .nav-links li:not(:last-child) { display: none; }
  .storyboard-demo { flex-direction: column; align-items: center; }
  .sb-connector { transform: rotate(90deg); }
  .storyboard-features { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1rem; }
  .stat-divider { display: none; }
}

/* ─── SCROLL FADE-IN ─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
