/* Premium mind-map synapse · tech background — dense fireworks */
.pm-synapse-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: #030308;
}
#pm-synapse-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 1;
  filter: drop-shadow(0 0 2px rgba(0, 212, 255, 0.35));
}

/* Hide side “bookmark” spine + HUD — flow lives in canvas only */
.neural-spine,
.journey-hud { display: none !important; }

.neon-ambient {
  z-index: 1;
  opacity: 0.92;
}
.neon-scanlines { opacity: 0.035; }
.neon-scan-sweep { opacity: 0.72; }

.shape-blur.b1 { opacity: 0.62; background: radial-gradient(circle, rgba(0, 212, 238, 0.28), transparent 70%); }
.shape-blur.b2 { opacity: 0.55; background: radial-gradient(circle, rgba(232, 50, 138, 0.22), transparent 70%); }
.shape-blur.b3 { opacity: 0.48; background: radial-gradient(circle, rgba(255, 201, 64, 0.16), transparent 70%); }

body {
  background: #050508;
}
main {
  position: relative;
  z-index: 2;
  isolation: isolate;
}
.section,
.hero,
.trust-bar,
.neural-journey,
.cta-band,
.form-section,
.adventure-home {
  background: rgba(6, 6, 14, 0.42);
  backdrop-filter: blur(5px);
}
.section-soft { background: rgba(8, 8, 18, 0.72); }
.section-dark { background: rgba(4, 4, 10, 0.78); }

/* Do NOT set position:relative on fixed UI — breaks dock, chat, util stack */
footer { position: relative; z-index: 2; }

.hero-8k-visual { opacity: 0.45; }

.journey-canvas-wrap,
#journey-neural-canvas { display: none !important; }

.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }

@keyframes hero8kPulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.55; transform: scale(1.02); }
}

.ambient-toggle.is-playing {
  border-color: rgba(0, 212, 238, 0.55);
  box-shadow: 0 0 28px rgba(0, 212, 238, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .pm-synapse-layer { display: none; }
  .hero-8k-visual { animation: none; }
}

@media (max-width: 768px) {
  .section, .hero { backdrop-filter: none; }
}
