/* ============================================
   HHPOKER Landing Page 0045 - Custom Styles
   Green Theme: #4d7c0f | #65a30d | #84cc16
   ============================================ */

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

/* Navbar scroll effect */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero section animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Feature cards hover effect */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
}

/* Counter animation */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.counter-visible {
  animation: countUp 0.6s ease-out forwards;
}

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

.faq-btn.active i {
  transform: rotate(180deg);
}

.faq-answer {
  transition: all 0.3s ease;
}

.faq-answer.hidden {
  display: none;
}

.faq-answer:not(.hidden) {
  display: block;
}

/* Pulse animation for CTA button */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(77, 124, 15, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(77, 124, 15, 0);
  }
}

.pulse-btn {
  animation: pulse 2s infinite;
}

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

.testimonial-card:hover {
  transform: translateY(-6px);
}

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

#mobileMenu.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobileMenu:not(.hidden) {
  max-height: 500px;
  opacity: 1;
}

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

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

::-webkit-scrollbar-thumb {
  background: #84cc16;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #65a30d;
}

/* Selection color */
::selection {
  background-color: #84cc16;
  color: white;
}

/* Gradient text utility */
.text-gradient-green {
  background: linear-gradient(135deg, #365314, #65a30d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shadow utility for green theme */
.shadow-green {
  box-shadow: 0 10px 40px rgba(77, 124, 15, 0.15);
}

/* Hover shadow green */
.hover\:shadow-green:hover {
  box-shadow: 0 20px 50px rgba(77, 124, 15, 0.25);
}

/* Table responsive wrapper */
@media (max-width: 768px) {
  .overflow-x-auto {
    -webkit-overflow-scrolling: touch;
  }

  h1 {
    font-size: 1.875rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }
}

/* Print styles */
@media print {
  nav, footer, .salesmartly-widget {
    display: none !important;
  }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #84cc16;
  outline-offset: 2px;
}

/* Link decoration reset */
a {
  text-decoration: none;
}
