/* ── ROOT DESIGN TOKENS ── */
:root {
  --bg: #060709;
  --bg-card: rgba(18, 20, 26, 0.7);
  --cyan: #00f0ff;
  --cyan-bright: #66f4ff;
  --amber: #ff5500;
  --text: #f0f4f8;
  --text-dim: rgba(240, 244, 248, 0.6);
  --border-light: rgba(255, 255, 255, 0.1);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', var(--font-main);
}

/* ── RESET & BASE STYLES ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
#loader.done { opacity: 0; pointer-events: none; }
.loader-content { text-align: center; }
.brand-logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800; letter-spacing: 0.3em;
  color: var(--text); margin-bottom: 24px;
}
.brand-logo span { color: var(--cyan); margin-left: 8px; font-size: 14px; letter-spacing: 0.4em; }
.progress-bar-container {
  width: 220px; height: 3px; background: rgba(0, 240, 255, 0.15);
  border-radius: 10px; overflow: hidden; margin: 0 auto 16px;
}
.progress-bar {
  width: 0%; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--amber));
  transition: width 0.2s ease;
}
.loader-status {
  font-size: 11px; letter-spacing: 0.2em; color: var(--text-dim); text-transform: uppercase;
}

/* ── STICKY NAV BAR ── */
#brandnav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5vw;
  background: rgba(6, 7, 9, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  opacity: 0; pointer-events: none; transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
#brandnav.on { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-brand {
  font-family: var(--font-display); font-size: 16px; font-weight: 800;
  letter-spacing: 0.2em; color: var(--text); text-decoration: none;
}
.nav-brand span { color: var(--cyan); font-size: 11px; }
.nav-links { display: flex; gap: 2.2vw; }
.nav-links a {
  color: var(--text-dim); text-decoration: none; font-size: 12px;
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--cyan); }
.nav-actions { display: flex; gap: 12px; }
.nav-btn-secondary {
  background: rgba(12, 16, 24, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 3px 0 rgba(0, 240, 255, 0.2);
  transition: all 0.25s ease;
}
.nav-btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 240, 255, 0.4), 0 4px 0 rgba(0, 240, 255, 0.4);
}
.nav-btn-primary {
  background: linear-gradient(135deg, #00f0ff, #0088ff);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #000;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  box-shadow: 
    0 0 18px rgba(0, 240, 255, 0.8),
    0 0 35px rgba(0, 136, 255, 0.5),
    0 4px 0 #0055aa;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: blueNeonPulse 2.5s infinite ease-in-out;
}
.nav-btn-primary:hover {
  transform: translateY(-3px) scale(1.06);
  background: linear-gradient(135deg, #66f4ff, #00a2ff);
  box-shadow: 
    0 0 28px rgba(0, 240, 255, 1),
    0 0 50px rgba(0, 162, 255, 0.8),
    0 6px 0 #0044aa;
}
.nav-btn-primary:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), 0 1px 0 #0044aa;
}

/* ── SCROLL STAGE & CANVAS ── */
#track { height: 800vh; position: relative; }
#stage {
  position: sticky; top: 0; height: 100vh; width: 100%;
  overflow: hidden; background: var(--bg);
}
#filmCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
#vignette {
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 70% at 50% 50%, transparent 40%, rgba(6, 7, 9, 0.95) 98%),
    linear-gradient(to right, rgba(6, 7, 9, 0.9), transparent 20%, transparent 80%, rgba(6, 7, 9, 0.9));
}

/* ── TELEMETRY HUD OVERLAY ── */
#telemetryOverlay {
  position: absolute; inset: 6vh 6vw; z-index: 8; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity 0.5s ease;
}
#telemetryOverlay.active { opacity: 1; }
.hud-top {
  display: flex; justify-content: space-between; align-items: center;
  font-family: monospace; font-size: 12px; color: var(--cyan);
}
.hud-tag { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.rec-dot { width: 10px; height: 10px; background: var(--amber); border-radius: 50%; display: inline-block; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hud-center-cross {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border: 1px solid rgba(0, 240, 255, 0.4); border-radius: 50%;
}
.hud-center-cross::before {
  content: ""; position: absolute; top: 50%; left: -8px; right: -8px; height: 1px; background: rgba(0,240,255,0.4);
}
.hud-center-cross::after {
  content: ""; position: absolute; left: 50%; top: -8px; bottom: -8px; width: 1px; background: rgba(0,240,255,0.4);
}
.hud-bottom { display: flex; gap: 24px; font-family: monospace; font-size: 12px; color: var(--cyan); }
.hud-meter { background: rgba(0,240,255,0.08); padding: 6px 12px; border-radius: 4px; border: 1px solid rgba(0,240,255,0.2); }
.hud-meter .lbl { color: var(--text-dim); margin-right: 6px; }

/* ── CAPTIONS ── */
.caption {
  position: absolute; z-index: 10; opacity: 0; pointer-events: none;
  will-change: opacity, transform; transition: opacity 0.5s ease, transform 0.5s ease;
}
.chapter-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.35em; color: var(--cyan);
  text-transform: uppercase; margin-bottom: 12px; display: block;
}
.caption h1 {
  font-family: var(--font-display); font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-transform: uppercase;
}
.caption h2 {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 56px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.1;
}
.caption p {
  margin-top: 16px; font-size: clamp(14px, 1.3vw, 18px); color: var(--text-dim);
  font-weight: 400; line-height: 1.6; max-width: 38ch;
}
.accent-text { color: var(--cyan); }

.cap-center { left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; }
.cap-center p { margin-left: auto; margin-right: auto; }
.cap-left { left: 8vw; top: 50%; transform: translateY(-50%); }
.cap-right { right: 8vw; top: 50%; transform: translateY(-50%); text-align: right; }
.cap-right p { margin-left: auto; }

.hero-cta-group { margin-top: 28px; display: flex; gap: 16px; justify-content: center; pointer-events: auto; }

/* ── 3D & BLUE NEON LIGHT BUTTON STYLING ── */

@keyframes blueNeonPulse {
  0%, 100% {
    box-shadow: 
      0 0 18px rgba(0, 240, 255, 0.9),
      0 0 35px rgba(0, 136, 255, 0.65),
      0 0 60px rgba(0, 240, 255, 0.4),
      inset 0 2px 4px rgba(255, 255, 255, 0.6),
      0 6px 0 #0055bb;
  }
  50% {
    box-shadow: 
      0 0 28px rgba(0, 240, 255, 1),
      0 0 50px rgba(0, 162, 255, 0.85),
      0 0 85px rgba(0, 240, 255, 0.65),
      inset 0 2px 6px rgba(255, 255, 255, 0.8),
      0 8px 0 #0066dd;
  }
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

/* Primary Pre-Order CTA (Electric Blue Neon + 3D) */
.primary-cta {
  background: linear-gradient(135deg, #00f0ff 0%, #0088ff 50%, #0055ff 100%);
  color: #020612;
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 0 20px rgba(0, 240, 255, 0.9),
    0 0 40px rgba(0, 136, 255, 0.6),
    0 0 60px rgba(0, 240, 255, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.6),
    0 6px 0 #0044aa;
  animation: blueNeonPulse 2.5s infinite ease-in-out;
}

/* Blue Neon Light Aura Behind Pre-Order Buttons */
.primary-cta::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 100px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.85), rgba(0, 136, 255, 0.45), transparent 70%);
  z-index: -1;
  filter: blur(12px);
  opacity: 0.85;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.primary-cta:hover {
  transform: translateY(-5px) translateZ(14px) scale(1.05);
  background: linear-gradient(135deg, #66f4ff 0%, #00a2ff 50%, #0066ff 100%);
  color: #000000;
  box-shadow: 
    0 0 32px rgba(0, 240, 255, 1),
    0 0 65px rgba(0, 162, 255, 0.95),
    0 0 95px rgba(0, 240, 255, 0.75),
    inset 0 2px 8px rgba(255, 255, 255, 0.9),
    0 10px 0 #003399;
}

.primary-cta:hover::before {
  opacity: 1;
  filter: blur(18px);
}

.primary-cta:active {
  transform: translateY(2px) translateZ(2px) scale(0.98);
  box-shadow: 
    0 0 15px rgba(0, 240, 255, 0.8),
    0 0 30px rgba(0, 136, 255, 0.5),
    0 2px 0 #003399;
}

/* Secondary Action Buttons (3D Glassmorphism) */
.secondary-cta {
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.9), rgba(8, 10, 15, 0.95));
  color: var(--text);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow: 
    0 6px 18px rgba(0, 0, 0, 0.6),
    0 0 12px rgba(0, 240, 255, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.2),
    0 5px 0 rgba(0, 240, 255, 0.3);
}

.secondary-cta:hover {
  transform: translateY(-4px) translateZ(10px) scale(1.03);
  border-color: var(--cyan);
  color: var(--cyan-bright);
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(0, 240, 255, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    0 8px 0 rgba(0, 240, 255, 0.5);
}

.secondary-cta:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 2px 0 rgba(0, 240, 255, 0.3);
}

/* ── SCROLL CUE ── */
#scroll-cue {
  position: absolute; bottom: 4vh; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-dim); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  transition: opacity 0.5s ease;
}
.cue-line {
  width: 1px; height: 32px; background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: cueAnim 1.8s ease-in-out infinite;
}
@keyframes cueAnim { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: 0.3; } }

/* ── BRAND PAGE BELOW THE FILM ── */
.bp { position: relative; padding: 12vh 7vw; max-width: 1400px; margin: 0 auto; }
.bp .kicker { font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; font-weight: 700; }
.bp h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; font-size: clamp(32px, 4.5vw, 64px); }
.bp p.lead { color: var(--text-dim); font-size: clamp(15px, 1.2vw, 18px); line-height: 1.7; max-width: 46ch; }

[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(.2,.6,.2,1), transform 0.8s cubic-bezier(.2,.6,.2,1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

.bp-manifesto { text-align: center; padding: 20vh 7vw; }
.bp-manifesto h2 { font-size: clamp(38px, 6vw, 96px); max-width: 18ch; margin: 0 auto; }

.bp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.bp-split.flip > :first-child { order: 2; }
@media (max-width: 850px) { .bp-split { grid-template-columns: 1fr; } .bp-split.flip > :first-child { order: 0; } }

.img-wrapper { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-light); }
.img-wrapper img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.img-wrapper:hover img { transform: scale(1.03); }
.img-overlay-tag {
  position: absolute; bottom: 16px; left: 16px; background: rgba(6,7,9,0.8);
  border: 1px solid rgba(0,240,255,0.3); color: var(--cyan); padding: 6px 14px;
  border-radius: 100px; font-size: 10px; font-weight: 700; letter-spacing: 0.15em; backdrop-filter: blur(8px);
}

.spec-pills { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.spec-pills span {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-light);
  padding: 6px 14px; border-radius: 100px; font-size: 12px; color: var(--text-dim);
}

/* ── PERFORMANCE STATS ── */
.bp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 6vw; text-align: center; padding: 8vh 0; border-y: 1px solid var(--border-light); }
.bp-stats .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5.5vw, 80px); color: var(--cyan); }
.bp-stats .lbl { margin-top: 6px; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim); }

/* ── PROMPTS SECTION ── */
.bp-prompts-section { background: rgba(12, 14, 20, 0.6); border-radius: 20px; border: 1px solid var(--border-light); padding: 8vh 5vw; margin: 8vh auto; }
.prompts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.prompt-card {
  background: rgba(6, 7, 9, 0.9); border: 1px solid var(--border-light);
  border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color 0.3s ease;
}
.prompt-card:hover { border-color: rgba(0,240,255,0.4); }
.prompt-header { display: flex; justify-content: space-between; align-items: center; }
.prompt-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.15em; color: var(--cyan); }
.prompt-duration { font-size: 10px; font-weight: 700; background: rgba(255,85,0,0.2); color: var(--amber); padding: 2px 8px; border-radius: 4px; }
.prompt-card h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.prompt-desc { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.prompt-box {
  background: #000; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
  padding: 12px; font-family: monospace; font-size: 11px; color: #a0aec0;
  display: flex; flex-direction: column; gap: 10px; margin-top: auto;
}
.prompt-box code { display: block; line-height: 1.5; word-break: break-word; }
.copy-prompt-btn {
  align-self: flex-end; background: rgba(0, 240, 255, 0.15); color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3); padding: 6px 14px; border-radius: 6px;
  font-size: 11px; font-weight: 700; cursor: pointer; transition: all 0.2s ease;
}
.copy-prompt-btn:hover { background: var(--cyan); color: #000; }

.video-dropzone-box {
  margin-top: 48px; background: rgba(0, 240, 255, 0.03); border: 2px dashed rgba(0, 240, 255, 0.2);
  border-radius: 16px; padding: 40px 24px; text-align: center;
}
.video-dropzone-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.video-dropzone-box p { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }

/* ── SPECS TABLE ── */
.bp-specs table { width: 100%; max-width: 800px; margin: 0 auto; border-collapse: collapse; }
.bp-specs td { padding: 18px 12px; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.bp-specs td:first-child { color: var(--text-dim); letter-spacing: 0.1em; text-transform: uppercase; font-size: 11px; font-weight: 700; width: 35%; }
.bp-specs td:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* ── COLOR SELECTOR ── */
.color-selector-group { display: flex; gap: 20px; justify-content: center; margin-top: 20px; }
.color-dot {
  width: 36px; height: 36px; border-radius: 50%; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.2s ease, border-color 0.2s ease;
}
.color-dot:hover { transform: scale(1.15); }
.color-dot.active { border-color: var(--cyan); transform: scale(1.15); box-shadow: 0 0 15px rgba(0,240,255,0.5); }

/* ── 3D GALLERY CARDS ── */
.bp-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.gallery-card-3d {
  position: relative;
  perspective: 1200px;
  cursor: pointer;
}

.gallery-card-3d.g1 { grid-column: span 7; aspect-ratio: 16/10; }
.gallery-card-3d.g2 { grid-column: span 5; aspect-ratio: 4/3; }
.gallery-card-3d.g3 { grid-column: span 5; aspect-ratio: 1/1; }
.gallery-card-3d.g4 { grid-column: span 7; aspect-ratio: 16/10; }
@media (max-width: 850px) { .gallery-card-3d { grid-column: span 12 !important; } }

.card-3d-inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.2);
  background: #080a0f;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.gallery-card-3d:hover .card-3d-inner {
  border-color: rgba(0, 240, 255, 0.7);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(0, 240, 255, 0.3);
}

.card-3d-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-card-3d:hover .card-3d-inner img {
  transform: translateZ(20px) scale(1.06);
  filter: brightness(1.1);
}

.glare-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.28) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  mix-blend-mode: overlay;
}

.gallery-card-3d:hover .glare-overlay {
  opacity: 1;
}

/* Floating 3D Telemetry HUD Tag */
.hud-3d-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 5;
  background: rgba(6, 7, 10, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateZ(40px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  pointer-events: none;
}

.gallery-card-3d:hover .hud-3d-tag {
  transform: translateZ(50px) translateY(-4px);
  border-color: var(--cyan);
}

.hud-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.hud-specs {
  font-family: monospace;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

/* Corner Reticle Brackets */
.corner-borders span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid var(--cyan);
  pointer-events: none;
  z-index: 6;
  opacity: 0.6;
  transform: translateZ(35px);
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.gallery-card-3d:hover .corner-borders span {
  opacity: 1;
  border-color: var(--cyan-bright);
}

.corner-borders span:nth-child(1) { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.corner-borders span:nth-child(2) { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.corner-borders span:nth-child(3) { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.corner-borders span:nth-child(4) { bottom: 12px; right: 12px; border-left: none; border-top: none; }

/* ── 3D LIGHTBOX MODAL ── */
.lightbox-card-3d {
  background: #080a0f;
  border: 1px solid rgba(0, 240, 255, 0.4);
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  padding: 24px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.25);
}

.lightbox-img-wrapper {
  position: relative;
  width: 100%;
  max-height: 65vh;
  border-radius: 12px;
  overflow: hidden;
  perspective: 1000px;
}

.lightbox-img-wrapper img {
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease-out;
}

.lightbox-caption {
  margin-top: 18px;
  text-align: center;
}

.lightbox-caption h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.lightbox-caption p {
  font-family: monospace;
  font-size: 12px;
  color: var(--cyan);
  margin-top: 6px;
  letter-spacing: 0.1em;
}

.bp-ctaband { text-align: center; padding: 18vh 7vw; }

/* ── FOOTER ── */
footer.bp-footer { border-top: 1px solid var(--border-light); padding: 8vh 7vw 5vh; background: #030405; }
.bp-footer .cols { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 4vw; max-width: 1400px; margin: 0 auto; }
.footer-logo { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: 0.2em; }
.footer-logo span { color: var(--cyan); font-size: 12px; }
.bp-footer h4 { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; font-weight: 700; }
.bp-footer a { display: block; color: var(--text-dim); text-decoration: none; font-size: 13px; margin-bottom: 12px; transition: color 0.2s ease; }
.bp-footer a:hover { color: var(--text); }
.bp-footer .fine { margin-top: 6vh; text-align: center; font-size: 11px; letter-spacing: 0.15em; color: rgba(255,255,255,0.3); text-transform: uppercase; }

/* ── MODALS ── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000; background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal-card {
  background: #0d0f14; border: 1px solid var(--border-light); border-radius: 16px;
  width: 90%; max-width: 540px; padding: 32px; position: relative; transform: scale(0.95);
  transition: transform 0.3s ease;
}
.modal-backdrop.open .modal-card { transform: scale(1); }
.modal-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  color: var(--text-dim); font-size: 24px; cursor: pointer;
}
.modal-header h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.modal-header p { font-size: 13px; color: var(--text-dim); margin-bottom: 24px; }

.bundle-grid { display: flex; flex-direction: column; gap: 14px; }
.bundle-card {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-light);
  border-radius: 10px; padding: 18px; cursor: pointer; transition: all 0.2s ease;
}
.bundle-card:hover, .bundle-card.selected { border-color: var(--cyan); background: rgba(0, 240, 255, 0.05); }
.bundle-title { font-weight: 700; font-size: 15px; }
.bundle-price { font-family: var(--font-display); color: var(--cyan); font-weight: 800; font-size: 18px; margin: 4px 0; }
.bundle-card p { font-size: 12px; color: var(--text-dim); }

.modal-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border-light); }
.total-display { font-size: 14px; font-weight: 600; }
.total-display span { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--cyan); margin-left: 8px; }

/* ── 3D SCROLL TO TOP ARROW BUTTON ── */
.btn-3d-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 995;
  width: 56px;
  height: 56px;
  background: transparent;
  border: none;
  cursor: pointer;
  perspective: 1000px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.8);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-3d-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.btn-3d-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 26, 38, 0.95), rgba(6, 7, 9, 0.98));
  border: 1px solid rgba(0, 240, 255, 0.6);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(0, 240, 255, 0.35),
    inset 0 2px 4px rgba(255, 255, 255, 0.25);
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-3d-top:hover .btn-3d-inner {
  transform: translateZ(12px) rotateX(-15deg) scale(1.1);
  border-color: var(--cyan-bright);
  color: #ffffff;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.85),
    0 0 30px rgba(0, 240, 255, 0.7),
    inset 0 2px 6px rgba(255, 255, 255, 0.4);
}

.btn-3d-top:active .btn-3d-inner {
  transform: translateZ(4px) scale(0.95);
  box-shadow: 0 6px 16px rgba(0, 240, 255, 0.5);
}

.btn-3d-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.5), transparent 70%);
  opacity: 0.4;
  filter: blur(8px);
  z-index: -1;
  transition: opacity 0.3s ease;
}

.btn-3d-top:hover .btn-3d-glow {
  opacity: 1;
}

