/* ===================================
   Universal Footer Styles
   =================================== */

.footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: #e2e8f0;
    padding: 4rem 0 0;
    margin-top: 4rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand */
.footer-brand {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-logo-text .gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: #cbd5e0;
    font-size: 0.938rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 300px;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    color: #cbd5e0;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: rgba(79, 70, 229, 0.2);
    color: #a78bfa;
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.938rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #a78bfa;
    padding-left: 0.25rem;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
}

.footer-copyright {
    color: #a0aec0;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.footer-legal a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #a78bfa;
}

.footer-legal .separator {
    color: #4a5568;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 0;
        margin-top: 3rem;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem 0;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-column {
        text-align: left;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal .separator {
        display: none;
    }
}