/* Glass Morphism Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-4px);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #06B6D4, #0EA5E9, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f172a 100%);
}

/* Navigation Links */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #06B6D4, #0EA5E9);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #06B6D4;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.bento-large {
    grid-column: span 7;
}

.bento-small {
    grid-column: span 5;
}

@media (max-width: 768px) {
    .bento-large, .bento-small {
        grid-column: span 12;
    }
}

/* Floating Badge Animation */
.floating-badge {
    animation: float 3s ease-in-out infinite;
}

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

/* Pill Buttons */
.pill-button {
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.pill-button:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 200px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

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

.dropdown-item {
    padding: 12px 20px;
    color: #d1d5db;
    transition: all 0.2s;
    border-radius: 8px;
    margin: 4px;
    display: block;
    text-decoration: none;
}

.dropdown-item:hover {
    background: rgba(6, 182, 212, 0.1);
    color: #06B6D4;
}

/* Chevron Arrow */
.chevron {
    display: inline-block;
    margin-left: 4px;
    font-size: 8px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.dropdown:hover .chevron {
    opacity: 0.8;
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
    .glass-card {
        background: rgba(26, 26, 46, 0.9);
    }

    .dropdown-content {
        background: rgba(0, 0, 0, 0.98);
    }
}
