/* ============================================
   HOME PAGE STYLES
   ============================================ */

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

/* Hero section gradient animation */
#hero {
  background: linear-gradient(135deg, #2e9850 0%, #216d39 100%);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

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

/* CTA Button hover effects */
.cta-button {
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(46, 152, 80, 0.3);
}

/* Feature cards hover effect */
#features .bg-white {
  transition: all 0.3s ease;
}

#features .bg-white:hover {
  transform: translateY(-4px);
}

/* Pricing card popular badge */
#pricing .bg-primary {
  position: relative;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  #pricing .bg-primary {
    transform: scale(1);
  }
}

/* FAQ accordion */
.faq-question svg {
  transition: transform 0.3s ease;
}

.faq-question.active svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  max-height: 500px;
}

/* Mobile menu */
#mobileMenu {
  transition: all 0.3s ease;
}

#mobileMenu.active {
  display: block;
}

/* Gradient backgrounds for use cases */
.gradient-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.gradient-purple {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
}

.gradient-green {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }
  
  #stats .text-4xl {
    font-size: 2.5rem;
  }
}

/* Loading animation for images */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Smooth transitions for all interactive elements */
a, button {
  transition: all 0.2s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #216d39;
}
