@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    font-family: 'Inter', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-gradient {
    background: linear-gradient(180deg, rgba(147, 51, 234, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.card-shadow {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gradient-card {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
}

.gradient-card-alt {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-gradient {
    background: linear-gradient(135deg, #7c3aed 0%, #3b82f6 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.4);
}

.cookie-banner {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 100;
    min-width: 800px;
    padding: 2rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Fix dropdown hover gap issue */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    z-index: 100;
    min-width: 800px;
    padding: 2rem;
}

/* Create invisible bridge to prevent dropdown from disappearing */
.dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    z-index: 99;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu-small {
    min-width: 250px;
    padding: 1rem;
}

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

.mobile-dropdown-toggle svg {
    transition: transform 0.2s ease;
}

.mobile-dropdown-toggle svg.rotate-180 {
    transform: rotate(180deg);
}

/* Enhanced responsive dropdowns */
@media (max-width: 1023px) {
    .dropdown-menu {
        position: static;
        transform: none;
        margin-top: 0;
        min-width: auto;
        padding: 1rem;
        box-shadow: none;
        border: none;
        background: transparent;
    }
    
    .dropdown:hover .dropdown-menu {
        display: none;
    }
}

/* Smooth transitions for all interactive elements */
.transition-all {
    transition: all 0.2s ease;
}

/* Enhanced backdrop blur for modern look */
.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

/* Improved focus states for accessibility */
button:focus,
a:focus {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

/* Mobile menu animations */
#mobile-menu {
    transition: all 0.3s ease;
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced hero section animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 0 30px rgba(124, 58, 237, 0.6); }
}

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

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Improved shadow effects */
.shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Better hover effects for hero elements */
.hero-element {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-element:hover {
    transform: translateY(-5px) scale(1.02);
}
