/* =================================================================
   FOOTER - LocalMinds Pre-Launch Design
   ================================================================= */

#ai_footer {
    background: var(--color-dark-bg);
    padding: 3rem 0 0;
    position: relative;
    z-index: 15;
    border-top: none;
}

/* Container */
#ai_footer .footer-container {
    max-width: 100%;
    margin: 0;
    padding: 0 var(--space-large);
}

/* Main Footer Content */
#ai_footer .footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-dark-border);
}

@media (max-width: 768px) {
    #ai_footer .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Footer Brand */
#ai_footer .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#ai_footer .footer-logo {
    display: block;
    text-decoration: none;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    #ai_footer .footer-logo {
        text-align: center;
    }
}

#ai_footer .footer-logo-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--brand-primary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
    margin-top: 0.5rem;
}

#ai_footer .footer-tagline {
    font-size: 1rem;
    color: var(--color-dark-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

#ai_footer .footer-social {
    display: flex;
    gap: 12px;
}

@media (max-width: 768px) {
    #ai_footer .footer-social {
        justify-content: center;
    }
}

#ai_footer .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-dark-surface);
    border: 1px solid var(--color-dark-border);
    border-radius: 8px;
    color: var(--color-dark-text);
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

#ai_footer .social-link:hover {
    background: var(--brand-primary);
    color: var(--color-white);
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 111, 230, 0.3);
}

/* Footer Column */
#ai_footer .footer-column h2 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-dark-text);
    margin: 0 0 1.5rem 0;
}

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

#ai_footer .footer-links a {
    font-size: 0.9375rem;
    color: var(--color-dark-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

#ai_footer .footer-links a:hover {
    color: var(--brand-primary);
}

/* Footer Bottom */
#ai_footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    #ai_footer .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

#ai_footer .footer-copyright {
    font-size: 0.875rem;
    color: var(--color-dark-text-muted);
}

#ai_footer .footer-legal {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 768px) {
    #ai_footer .footer-legal {
        justify-content: center;
    }
}

#ai_footer .footer-legal a {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

#ai_footer .footer-legal a:hover {
    color: var(--brand-primary);
}

/* Powered by LocalMinds Badge */
#ai_footer .powered-by {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--color-dark-text-muted);
}

#ai_footer .footer-heart {
    color: var(--brand-accent);
    font-size: 1rem;
}

/* Full Width Brand at Bottom - Our Revolution Style */
#ai_footer .footer-brand-large {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
    background: var(--color-dark-bg);
    padding: 0;
    text-align: center;
    overflow: hidden;
    height: clamp(200px, 28vw, 380px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-top: 3rem;
}

#ai_footer .footer-brand-large p {
    font-family: var(--font-heading);
    font-size: clamp(8rem, 16vw, 20rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--color-dark-text);
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
    font-style: normal;
    width: 100%;
}

@media (max-width: 768px) {
    #ai_footer .footer-brand-large {
        height: clamp(140px, 35vw, 240px);
        padding: 0;
    }

    #ai_footer .footer-brand-large p {
        font-size: clamp(5rem, 18vw, 10rem);
        letter-spacing: 0.01em;
    }
}

#ai_footer .footer-credit a {
    color: var(--brand-primary);
    font-weight: 600;
    text-decoration: none;
}
