/* CSS Custom para LP Dark Premium */
/* Estilos complementares ao Tailwind CSS v4 */

/* Variáveis CSS para tema dark */
:root {
  --color-primary: #05ff00;
  --color-primary-dark: #04cc00;
  --color-secondary: #ff0080;
  --color-bg-dark: #000000;
  --color-bg-medium: #0a0a0a;
  --color-text-primary: #ffffff;
  --color-text-secondary: #cccccc;
}

/* Animações customizadas */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

/* Classes utilitárias */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

/* Scrollbar customizada */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #05ff00;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #04cc00;
}

/* Efeitos de hover para cards */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(5, 255, 0, 0.3),
              0 10px 10px -5px rgba(5, 255, 0, 0.2);
}

/* Gradientes customizados */
.gradient-text {
  background: linear-gradient(135deg, #05ff00 0%, #7b2ff7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-border {
  background: linear-gradient(135deg, #05ff00 0%, #ff0080 100%);
  padding: 1px;
  border-radius: 0.5rem;
}

/* Glassmorphism effect */
.glass {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(5, 255, 0, 0.1);
}

/* Loading animation */
.loading-spinner {
  border: 3px solid rgba(5, 255, 0, 0.1);
  border-top: 3px solid #05ff00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Focus styles para acessibilidade */
.focus-ring:focus {
  outline: 2px solid #05ff00;
  outline-offset: 2px;
}

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

/* Selection color */
::selection {
  background-color: rgba(5, 255, 0, 0.3);
  color: #ffffff;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Performance optimizations */
.will-change-transform {
  will-change: transform;
}

.gpu-accelerated {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Transições suaves */
* {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.nav-pill {
  position: relative;
  color: #ffffff;
  transition: all 0.3s ease;
}

.nav-pill:hover {
  color: #05ff00;
  transform: translateY(-2px);
}

.nav-pill.active {
  background: linear-gradient(135deg, #05ff00 0%, #7b2ff7 100%);
  color: #000000;
  box-shadow: 0 4px 15px rgba(5, 255, 0, 0.4);
}

.mobile-nav-pill {
  color: #ffffff;
  transition: all 0.3s ease;
}

.mobile-nav-pill:hover {
  background: rgba(5, 255, 0, 0.2);
  color: #05ff00;
  border-color: rgba(5, 255, 0, 0.3);
}

header {
  transition: all 0.3s ease;
}

@media (max-width: 1024px) {
  #mobileMenu {
    animation: slideDown 0.3s ease-out;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carrossel de Depoimentos */
.testimonials-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll 40s linear infinite;
  width: fit-content;
}

.testimonial-card {
  min-width: 350px;
  max-width: 350px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.3);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-350px * 10 - 240px));
  }
}

/* Pausar animação ao hover */
.testimonials-carousel:hover .testimonials-track {
  animation-play-state: paused;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 280px;
    max-width: 280px;
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-280px * 10 - 240px));
    }
  }
}