/* Advanced Hero Particle & Gradient System */

.hero-particle-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Gradient overlay removed - using video background instead */
/* .hero-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(147, 51, 234, 0.4) 0%,
    rgba(79, 70, 229, 0.35) 25%,
    rgba(59, 130, 246, 0.3) 50%,
    rgba(99, 102, 241, 0.25) 75%,
    rgba(147, 51, 234, 0.3) 100%
  );
  background-size: 300% 300%;
  animation: gradientShift 25s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
} */

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 50%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Particle Canvas */
.particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* AI Neural Network Lines */
.neural-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.neural-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(147, 51, 234, 0.4) 50%,
    transparent 100%
  );
  animation: neuralPulse 3s ease-in-out infinite;
  opacity: 0;
}

@keyframes neuralPulse {
  0%, 100% {
    opacity: 0;
    transform: scaleX(0);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}









/* Performance optimizations for mobile */
@media (max-width: 768px) {
  .hero-gradient-overlay {
    animation-duration: 30s; /* Much slower animation on mobile */
  }
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .hero-gradient-overlay,
  .neural-line {
    animation: none;
  }
  
  .hero-gradient-overlay {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3) 0%, rgba(99, 102, 241, 0.25) 100%);
  }
}