/* ==========================================
   HERO ANIMATED GRADIENT BACKGROUND
   Subtle animated blue gradient with white dominant
   ========================================== */

/* Override hero background with animated gradient - white dominant, diagonal movement */
.pp-hero {
  background: linear-gradient(
    135deg,
    #FFFFFF 0%,
    #F8FAFC 25%,
    #e8eeff 45%,
    #F8FAFC 65%,
    #FFFFFF 85%,
    #FAFBFC 100%
  ) !important;
  background-size: 200% 200% !important;
  animation: gradient-diagonal-move 12s ease infinite !important;
}

@keyframes gradient-diagonal-move {
  0% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 100% 0%;
  }
}

/* Animated blur light orbs - MORE VISIBLE */
.pp-hero__blur-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.8;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

/* Primary blue light - BRIGHT and travels across hero */
.pp-hero__blur-light--primary {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(57, 66, 157, 0.6) 0%, rgba(99, 102, 241, 0.4) 40%, rgba(99, 102, 241, 0.2) 70%);
  top: -300px;
  right: 10%;
  animation: float-blur-primary 18s ease-in-out infinite;
}

/* Secondary blue light - BRIGHT, moves throughout */
.pp-hero__blur-light--secondary {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, rgba(79, 70, 229, 0.35) 50%, rgba(79, 70, 229, 0.2) 70%);
  bottom: -250px;
  left: 5%;
  animation: float-blur-secondary 14s ease-in-out infinite;
  animation-delay: 4s;
}

/* Accent light - BRIGHT travels dynamically */
.pp-hero__blur-light--accent {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.45) 0%, rgba(56, 189, 248, 0.3) 50%, rgba(56, 189, 248, 0.15) 70%);
  top: 30%;
  right: 25%;
  animation: float-blur-accent 10s ease-in-out infinite;
  animation-delay: 6s;
}

/* Dramatic movement animations - travels throughout hero */
@keyframes float-blur-primary {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translate(-300px, 200px) scale(1.2);
    opacity: 0.5;
  }
  50% {
    transform: translate(-150px, -250px) scale(0.9);
    opacity: 0.35;
  }
  75% {
    transform: translate(250px, 150px) scale(1.15);
    opacity: 0.45;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
}

@keyframes float-blur-secondary {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
  33% {
    transform: translate(350px, -200px) scale(1.25);
    opacity: 0.5;
  }
  66% {
    transform: translate(-250px, 300px) scale(0.85);
    opacity: 0.3;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.35;
  }
}

@keyframes float-blur-accent {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  20% {
    transform: translate(-200px, -150px) scale(1.3);
    opacity: 0.45;
  }
  40% {
    transform: translate(200px, 100px) scale(0.95);
    opacity: 0.35;
  }
  60% {
    transform: translate(-100px, 250px) scale(1.1);
    opacity: 0.4;
  }
  80% {
    transform: translate(300px, -100px) scale(1.2);
    opacity: 0.38;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
}

/* Enhanced pulsing glow effect on hero background */
.pp-hero::before {
  background: radial-gradient(circle, rgba(57, 66, 157, 0.15) 0%, rgba(99, 102, 241, 0.08) 50%, rgba(255, 255, 255, 0) 70%) !important;
  animation: pulse-glow-enhanced 6s ease-in-out infinite !important;
}

@keyframes pulse-glow-enhanced {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.15);
  }
}

/* Performance optimization for mobile */
@media (max-width: 768px) {
  .pp-hero__blur-light {
    filter: blur(60px);
    opacity: 0.25;
  }
  
  .pp-hero__blur-light--primary {
    width: 400px;
    height: 400px;
  }
  
  .pp-hero__blur-light--secondary {
    width: 300px;
    height: 300px;
  }
  
  .pp-hero__blur-light--accent {
    display: none; /* Hide smallest light on mobile for performance */
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .pp-hero__blur-light {
    animation: none !important;
    opacity: 0.2;
  }
  
  .pp-hero::before {
    animation: none !important;
  }
}
