/* FOOTER STYLES - Shared across all pages */

/* FOOTER - DARK THEME */
.footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    background: var(--dark-surface);
    border-top: 1px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}

/* Footer Background Animation */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(139, 92, 246, 0.5) 25%,
        rgba(59, 130, 246, 0.8) 50%,
        rgba(139, 92, 246, 0.5) 75%,
        transparent 100%);
    animation: footerGlow 10s linear infinite;
}

@keyframes footerGlow {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    flex-wrap: wrap;
    gap: var(--spacing-xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo {
    width: 40px;
    height: 40px;
    position: relative;
}

.footer-logo::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(10px);
    animation: footerLogoGlow 4s ease-in-out infinite;
}

@keyframes footerLogoGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.9);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.footer-logo svg {
    width: 100%;
    height: 100%;
    fill: var(--accent-purple);
    position: relative;
    z-index: 1;
}

.footer-brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    display: flex;
    gap: var(--spacing-3xl);
    flex-wrap: wrap;
}

.footer-column h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-column a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--accent-purple);
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: var(--accent-purple);
    padding-left: 10px;
}

.footer-column a:hover::before {
    width: 8px;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--dark-border);
    text-align: center;
    color: var(--text-muted);
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.5;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-xl);
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column a::before {
        display: none;
    }
    
    .footer-column a:hover {
        padding-left: 0;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-brand {
        margin-bottom: 20px;
    }
    
    .footer-logo {
        width: 35px;
        height: 35px;
    }
    
    .footer-brand-text {
        font-size: 1.2rem;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-column h4 {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    
    .footer-column a {
        font-size: 0.9rem;
        padding: 4px 0;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.85rem;
    }
    
    /* Hide footer animations on mobile */
    .footer::before,
    .footer-logo::before {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-brand-text {
        font-size: 1.1rem;
    }
    
    .footer-column h4 {
        font-size: 0.8rem;
    }
    
    .footer-links {
        gap: 20px;
    }
}