/* Navbar Component Styles */

/* Mega menu animations */
.mega-menu {
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.group:hover .mega-menu {
  transform: translateY(0);
}

/* Trial banner styles */
#trial-banner {
  position: relative;
  z-index: 1000;
}

/* Dropdown arrow rotation */
.dropdown-arrow {
  transition: transform 0.2s ease;
}

.group:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* Marketplace badge - shimmer animation */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.marketplace-badge {
  background: linear-gradient(90deg, 
    rgba(255,191,105,0.1) 0%, 
    rgba(255,191,105,0.3) 50%, 
    rgba(255,191,105,0.1) 100%);
  background-size: 200% auto;
  animation: shimmer 3s linear infinite;
  transition: all 0.3s ease;
}

.marketplace-badge:hover {
  background: rgba(255,191,105,0.2);
  animation: none;
  transform: translateY(-1px);
}

/* Enhanced CTA Button Styles */

/* Login Button - Simple and Clean */
.login-btn {
  will-change: transform;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.login-btn:hover {
  transform: translateY(-1px);
}

/* Start Free Trial Button - Accent Yellow with Gradient */
.trial-btn {
  background: linear-gradient(135deg, #ffbf69 0%, #fbbf24 100%);
  will-change: transform;
  transition: all 0.3s ease;
  display: inline-block !important;
}

.trial-btn:hover {
  box-shadow: 0 6px 16px rgba(251, 191, 36, 0.3);
  transform: translateY(-2px);
}

/* Button focus states for accessibility */
.login-btn:focus,
.trial-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Mobile Menu Styles */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.mobile-menu.active {
  max-height: 100vh;
}

/* Mobile dropdown content */
.mobile-dropdown-content {
  transition: all 0.3s ease;
}

/* IMPORTANT: Ensure CTA buttons are visible on desktop */
@media (min-width: 1024px) {
  nav .hidden.lg\:flex {
    display: flex !important;
  }
  
  .login-btn,
  .trial-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile responsive adjustments */
@media (max-width: 1024px) {
  .hidden.lg\:flex {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  
  .login-btn,
  .trial-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Smooth hover transitions for links */
nav a,
nav button {
  transition: all 0.2s ease;
}

/* Business type icons hover effect */
.mega-menu li a svg {
  transition: transform 0.2s ease;
}

.mega-menu li a:hover svg {
  transform: scale(1.1);
}