/* Custom animations and styles */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out forwards;
}

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

.animate-count-up {
  animation: countUp 0.5s ease-out forwards;
}

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0B1220;
}

::-webkit-scrollbar-thumb {
  background: #2C3B5B;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #06D6A0;
}

/* Active nav link */
.nav-link--active {
  color: #06D6A0;
}

/* Burger menu animation */
.burger-menu {
  transition: transform 0.3s ease;
}

.burger-menu.active {
  transform: rotate(90deg);
}

/* Cookie consent animations */
.cookie-consent-enter {
  animation: slideInUp 0.4s ease-out forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Card hover effects */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(6, 214, 160, 0.2);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #06D6A0 0%, #05B98A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Loading state */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* FAQ accordion */
.faq-list .faq-answer {
  display: none;
}

.faq-list .faq-item--open .faq-answer {
  display: block;
}

.faq-list .faq-question {
  cursor: pointer;
  user-select: none;
}

.faq-list .faq-question:hover {
  color: #06D6A0;
}

.faq-list .faq-item--open .faq-chevron {
  transform: rotate(180deg);
}
