/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: white !important;
    padding: var(--spacing-3xl) 0 0 !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
}

/* Footer Brand */
.footer-brand {
    max-width: 400px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: white;
}

@media (max-width: 768px) {
    .footer-brand .logo {
        justify-content: center;
    }
}

.footer-brand .logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #60a5fa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    font-size: 1.05rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.social-link i {
    font-size: 1.1rem;
}

/* Footer Navigation */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

@media (max-width: 768px) {
    .footer-nav {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

.footer-column h4 {
    color: white;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    border-radius: 1px;
}

@media (max-width: 768px) {
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
        align-items: center;
    }
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Language Selector */
.footer-language .language-selector {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    margin-right: 0;
}

@media (max-width: 768px) {
    .footer-language {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.footer-language .lang-btn {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    padding: 8px 12px;
    min-width: 80px;
}

.footer-language .lang-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.footer-language .lang-btn.active {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-language .lang-btn .flag {
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .footer-language .lang-btn span:last-child {
        display: inline;
    }
}

/* Animations */
.footer-brand,
.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(2) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.2s;
}

.footer-column:nth-child(4) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}