/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Landing Page Animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
  }
  75% {
    transform: translateY(-30px) translateX(5px);
  }
}

@keyframes float-reverse {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(15px) translateX(-15px);
  }
  50% {
    transform: translateY(25px) translateX(15px);
  }
  75% {
    transform: translateY(10px) translateX(-10px);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-15px) translateX(8px);
  }
  66% {
    transform: translateY(-8px) translateX(-8px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fade-in-up 0.8s ease-out forwards;
  opacity: 0;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient 3s ease infinite;
}

.animation-delay-100 {
  animation-delay: 0.1s;
}

.animation-delay-200 {
  animation-delay: 0.2s;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-400 {
  animation-delay: 0.4s;
}

.animation-delay-500 {
  animation-delay: 0.5s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

/* Floating Shapes */
.floating-shape {
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
}

.floating-shape.shape-1 {
  animation: float 25s ease-in-out infinite;
  animation-delay: 0s;
}

.floating-shape.shape-2 {
  animation: float-reverse 30s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-shape.shape-3 {
  animation: float-slow 35s ease-in-out infinite;
  animation-delay: 4s;
}

.floating-shape.shape-4 {
  animation: float 28s ease-in-out infinite;
  animation-delay: 6s;
}

/* Floating Particles */
.floating-particle {
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
}

.floating-particle.particle-1 {
  animation: float 12s ease-in-out infinite;
  animation-delay: 0s;
}

.floating-particle.particle-2 {
  animation: float-reverse 18s ease-in-out infinite;
  animation-delay: 1s;
}

.floating-particle.particle-3 {
  animation: float 14s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-particle.particle-4 {
  animation: float-reverse 16s ease-in-out infinite;
  animation-delay: 3s;
}

.floating-particle.particle-5 {
  animation: float-slow 20s ease-in-out infinite;
  animation-delay: 4s;
}

/* Feature Cards */
.feature-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  border-color: rgba(8, 145, 178, 0.3);
}

/* Smooth Scroll Behavior */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-in-up,
  .animate-gradient,
  .floating-shape,
  .floating-particle {
    animation: none;
  }

  .animate-fade-in-up {
    opacity: 1;
  }
}
