/* ===== SUBTLE HOVER ANIMATIONS ===== */

/* Button Hover Effects */
.btn, .start-button, .plan-btn, .feature-cta-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-origin: center !important;
}

.btn:hover, .start-button:hover, .plan-btn:hover, .feature-cta-btn:hover {
    transform: translateY(-2px) scale(1.02) !important;
    filter: brightness(1.1) !important;
}

.btn:active, .start-button:active, .plan-btn:active, .feature-cta-btn:active {
    transform: translateY(0) scale(0.98) !important;
    transition: all 0.1s ease !important;
}

/* Card Hover Effects */
.feature-card, .plan, .testimonial-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    transform-origin: center !important;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 217, 61, 0.3) !important;
}

.plan:hover {
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.plan.popular:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 20px 45px rgba(255, 217, 61, 0.2) !important;
}

/* Link Hover Effects */
a, .nav-link {
    transition: all 0.3s ease !important;
    position: relative !important;
}

a:hover, .nav-link:hover {
    color: #FFD93D !important;
    text-shadow: 0 0 8px rgba(255, 217, 61, 0.3) !important;
}

/* Footer links with subtle underline animation */
.footer a {
    position: relative !important;
    overflow: hidden !important;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFD93D, #A7F0BA);
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

/* Icon Hover Effects */
.fas, .fab, i[class*="fa-"] {
    transition: all 0.3s ease !important;
}

.fas:hover, .fab:hover, i[class*="fa-"]:hover {
    transform: scale(1.1) rotate(5deg) !important;
    filter: drop-shadow(0 4px 8px rgba(255, 217, 61, 0.3)) !important;
}

/* Theme Toggle Hover */
.theme-toggle-landing {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.theme-toggle-landing:hover {
    transform: translateY(-2px) !important;
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Theme Option Hover Enhanced */
.theme-option-landing {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.theme-option-landing:hover {
    transform: translateY(-4px) scale(1.08) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.theme-preview-landing {
    transition: all 0.3s ease !important;
}

.theme-option-landing:hover .theme-preview-landing {
    transform: scale(1.15) rotate(5deg) !important;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3) !important;
}

/* Input Field Hover Effects */
input, textarea, select {
    transition: all 0.3s ease !important;
}

input:hover, textarea:hover, select:hover {
    border-color: rgba(255, 217, 61, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(255, 217, 61, 0.1) !important;
}

input:focus, textarea:focus, select:focus {
    border-color: #FFD93D !important;
    box-shadow: 0 0 0 3px rgba(255, 217, 61, 0.2) !important;
    transform: scale(1.01) !important;
}

/* Testimonial Hover Effects */
.testimonial-card:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Logo Hover Effect */
.logo, .brand-logo {
    transition: all 0.3s ease !important;
}

.logo:hover, .brand-logo:hover {
    transform: scale(1.05) rotate(-2deg) !important;
    filter: drop-shadow(0 4px 12px rgba(167, 240, 186, 0.3)) !important;
}

/* Navigation Hover Effects */
.navbar-nav .nav-link {
    position: relative !important;
    overflow: hidden !important;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 217, 61, 0.1), transparent);
    transition: left 0.5s ease;
}

.navbar-nav .nav-link:hover::before {
    left: 100%;
}

/* Modal and Dropdown Hover Effects */
.modal-content, .dropdown-menu {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.modal-content:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
}

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

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Pulse effect for important elements */
@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.pulse-on-hover:hover {
    animation: subtle-pulse 2s ease-in-out infinite;
}

/* Glow effect for premium elements */
.premium-glow:hover {
    box-shadow: 
        0 0 20px rgba(255, 217, 61, 0.3),
        0 0 40px rgba(255, 217, 61, 0.1) !important;
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mobile touch optimization */
@media (max-width: 768px) {
    .btn:hover, .start-button:hover, .plan-btn:hover {
        transform: scale(1.02) !important;
    }
    
    .feature-card:hover, .plan:hover {
        transform: translateY(-4px) scale(1.01) !important;
    }
}