/* ==========================
   HERO BOTTOM FADE
========================== */
#home {
  position: relative;
  overflow: hidden;
}

#home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.98));
  pointer-events: none;
}

/* ==========================
   HERO PARTICLES / LIGHTS
========================== */
.hero-particles {
  position: absolute;
  inset: 0;
  max-width: 1100px;
  margin: 0 auto;
  pointer-events: none;
  z-index: 2;
}

.hero-particles span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.95), transparent);
  opacity: 0.6;
  filter: blur(1px);
  animation: floatParticle 18s ease-in-out infinite;
}

.hero-particles span:nth-child(2) {
  width: 10px;
  height: 10px;
  animation-duration: 22s;
  animation-delay: -4s;
  opacity: 0.5;
}

.hero-particles span:nth-child(3) {
  width: 12px;
  height: 12px;
  animation-duration: 26s;
  animation-delay: -8s;
  opacity: 0.4;
}

@keyframes floatParticle {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate3d(40px, -40px, 0);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-20px, -80px, 0);
    opacity: 0.3;
  }
}

/* ==========================
   HERO HORIZONTAL SOUND WAVE
========================== */
.hero-soundwave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12%;
  display: flex;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-soundwave-svg {
  width: 80%;
  max-width: 1100px;
  height: 140px;
}

.hero-soundwave-path {
  fill: none;
  stroke: url(#heroWaveGrad);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 14 18;
  animation: heroWaveMove 5s linear infinite;
}

.hero-soundwave-glow {
  fill: none;
  stroke: url(#heroWaveGrad);
  stroke-width: 22;
  opacity: 0.15;
  filter: blur(22px);
  animation: heroWaveMove 10s linear infinite;
}

@keyframes heroWaveMove {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -260;
  }
}

/* ==========================
   HERO – MULTI-LAYER WAVES
========================== */
.hero-waves {
  position: absolute;
  bottom: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: 190%;
  height: 260px;
  pointer-events: none;
  z-index: 6;
  mix-blend-mode: screen;
  opacity: 0.9;
}

.hero-waves svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wave {
  fill: none;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}

.wave-1 {
  stroke-width: 3;
  opacity: 0.9;
  animation: waveMove1 14s linear infinite;
}

.wave-2 {
  stroke-width: 2;
  opacity: 0.55;
  animation: waveMove2 18s linear infinite reverse;
}

.wave-3 {
  stroke-width: 4;
  opacity: 0.35;
  animation: waveMove3 26s linear infinite;
}

@keyframes waveMove1 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-260px);
  }
}

@keyframes waveMove2 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(220px);
  }
}

@keyframes waveMove3 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-140px);
  }
}

/* ==========================
   DASHBOARD GLOW + PARALLAX
========================== */
.dashboard-shell {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  transition: transform 0.4s ease-out;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.35), transparent 55%),
    radial-gradient(circle at bottom right, rgba(129, 140, 248, 0.45), transparent 60%);
  z-index: -1;
  filter: blur(30px);
  opacity: 0.9;
}

/* used for JS parallax target */
#dashboardMockup {
  will-change: transform;
}
