/* MAINDSOFT.APP - Custom Styles */

/* Animaciones personalizadas */
@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(120deg);
  }
  66% {
    transform: translateY(5px) rotate(240deg);
  }
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 0.1;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(239, 68, 68, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.8), 0 0 30px rgba(239, 68, 68, 0.6);
  }
}

@keyframes gradient-shift {
  0%, 100% {
    transform: translateX(0%) translateY(0%) rotate(0deg);
  }
  25% {
    transform: translateX(5%) translateY(-5%) rotate(90deg);
  }
  50% {
    transform: translateX(-5%) translateY(-10%) rotate(180deg);
  }
  75% {
    transform: translateX(-10%) translateY(5%) rotate(270deg);
  }
}

@keyframes reverse-spin {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes data-flow {
  0% {
    opacity: 0;
    transform: translateX(-100%);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

/* Clases de animación */
.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

.animate-bounce-slow {
  animation: bounce-slow 4s ease-in-out infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

.animate-gradient-shift {
  animation: gradient-shift 15s ease-in-out infinite;
}

.animate-reverse-spin {
  animation: reverse-spin 25s linear infinite;
}

.animate-data-flow {
  animation: data-flow 8s linear infinite;
}

/* Estilos personalizados adicionales */
.container {
  max-width: 1200px;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Hero background blur effects */
.blur-3xl {
  filter: blur(64px);
}

.blur-2xl {
  filter: blur(40px);
}

/* Mix blend mode support */
.mix-blend-multiply {
  mix-blend-mode: multiply;
}

/* Responsive font scaling */
@media (max-width: 768px) {
  .text-responsive-hero {
    font-size: 2.5rem;
    line-height: 1.1;
  }
}

@media (min-width: 768px) {
  .text-responsive-hero {
    font-size: 4.5rem;
    line-height: 1;
  }
}

/* Button hover effects */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mobile menu animations */
.mobile-menu-enter {
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.mobile-menu-exit {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-exit-active {
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Particle effects */
.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Focus states for accessibility */
button:focus,
a:focus {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}