/* Common Footer Styles */
.footer {
    background: var(--surface, #0f0825);
    color: var(--text-muted, #9ca3af);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border, rgba(139, 92, 246, 0.2));
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary, #8b5cf6), var(--secondary, #d946ef));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-muted, #9ca3af);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
    width: fit-content;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary, #8b5cf6), var(--secondary, #d946ef));
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary, #8b5cf6);
}

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

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border, rgba(139, 92, 246, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary, #8b5cf6);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary, #8b5cf6);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border, rgba(139, 92, 246, 0.1));
}

.footer-bottom p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Partners & Recognition Badges */
.footer-badges {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border, rgba(139, 92, 246, 0.1));
    border-bottom: 1px solid var(--border, rgba(139, 92, 246, 0.1));
}

.footer-badges-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary, #8b5cf6), var(--secondary, #d946ef));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.badge-link {
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-link.text-badge {
    color: var(--text-muted, #9ca3af);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--border, rgba(139, 92, 246, 0.2));
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.badge-link.text-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge-link.text-badge:hover::before {
    left: 100%;
}

.badge-link.text-badge:hover {
    color: var(--primary, #8b5cf6);
    border-color: var(--primary, #8b5cf6);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 92, 246, 0.3);
}

.badge-link.image-badge {
    filter: brightness(0.9) contrast(1.1);
    border-radius: 8px;
    overflow: hidden;
}

.badge-link.image-badge:hover {
    filter: brightness(1.1) contrast(1.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.badge-link.image-badge img {
    max-height: 54px;
    height: auto;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-badges {
        margin: 1.5rem 0;
        padding: 1.5rem 0;
    }
    
    .footer-badges-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .badges-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .badge-link.text-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
    
    .badge-link.image-badge img {
        max-height: 44px;
        max-width: 120px;
    }
}