/* FlowPilot Landing Page - Custom Styles */

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

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

/* Intersection observer animation triggers */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navbar scroll effect */
#navbar.scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Hero gradient animation */
.hero-gradient {
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Pricing card hover */
#pricing .rounded-2xl {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pricing .rounded-2xl:hover {
  transform: translateY(-4px);
}

/* Feature cards hover */
#features .group:hover {
  border-color: #dbeafe;
}

/* Mobile menu transitions */
#mobileMenu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

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

/* Bar chart animation in hero */
.hero-bar {
  transition: height 1s ease-out;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Select option styling */
select option {
  background: #1e2a4a;
  color: white;
}

/* Smooth scroll for all browsers */
html {
  scroll-padding-top: 80px;
}

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

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

::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
