.footer {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 2rem 2rem 0 0;
    border-top: 1px solid var(--border-color);
    background: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, 0.08), transparent);
    padding: 3rem 1.5rem;
}

[data-theme="dark"] .footer {
    background: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, 0.05), transparent);
}

@media (min-width: 768px) {
    .footer {
        border-radius: 3rem 3rem 0 0;
        padding: 4rem 1.5rem;
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 33.333333%;
    height: 1px;
    background: rgba(var(--text-rgb), 0.2);
    border-radius: 9999px;
    filter: blur(1px);
}

.footer-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-brand-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
}

.footer-brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.footer-brand-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0 1rem 0;
    max-width: 400px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.footer-copyright {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 0;
        gap: 3rem;
    }
}

.footer-section {
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-section {
        margin-bottom: 0;
    }
}

.footer-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-section-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--text-color);
}

.footer-link.footer-link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.footer-link.footer-link-disabled:hover {
    color: var(--gray-600);
}

.footer-link i {
    margin-right: 0.5rem;
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
}

/* Animation classes */
.footer-animated {
    opacity: 0;
    transform: translateY(-8px);
    filter: blur(4px);
    animation: footerFadeIn 0.8s ease-out forwards;
}

.footer-animated.delay-1 {
    animation-delay: 0.1s;
}

.footer-animated.delay-2 {
    animation-delay: 0.2s;
}

.footer-animated.delay-3 {
    animation-delay: 0.3s;
}

.footer-animated.delay-4 {
    animation-delay: 0.4s;
}

@keyframes footerFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer {
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 2rem 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}