/* =================================================================
   FOOTER STYLES - Scoped to #ai_footer
   ================================================================= */

#ai_footer {
    padding-top: 4rem;
    padding-bottom: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Footer Grid */
#ai_footer .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    #ai_footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #ai_footer .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Logo Section */
#ai_footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

#ai_footer .footer-logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ai_footer .footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
}

#ai_footer .footer-logo-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

#ai_footer .footer-description {
    opacity: 0.7;
    margin-bottom: 1rem;
    line-height: 1.75;
}

/* Social Links */
#ai_footer .footer-social-links {
    display: flex;
    gap: 0.75rem;
}

#ai_footer .footer-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.1);
    transition: all 0.3s;
    text-decoration: none;
}

#ai_footer .footer-social-link:hover {
    background: var(--brand-accent);
}

#ai_footer .footer-social-link i {
    transition: color 0.3s;
}

#ai_footer .footer-social-link:hover i {
    color: white !important;
}

/* Footer Sections */
#ai_footer .footer-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

#ai_footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

#ai_footer .footer-links li {
    margin-bottom: 0.75rem;
}

#ai_footer .footer-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
}

#ai_footer .footer-link:hover {
    opacity: 1;
    color: var(--brand-accent) !important;
}

#ai_footer .footer-link i {
    font-size: 0.75rem;
    margin-right: 0.5rem;
}

/* Contact Info */
#ai_footer .footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

#ai_footer .footer-contact-icon {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
}

#ai_footer .footer-contact-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

#ai_footer .footer-contact-value {
    text-decoration: none;
    transition: color 0.3s;
}

#ai_footer .footer-contact-value:hover {
    color: var(--brand-accent) !important;
}

/* Newsletter */
#ai_footer .footer-newsletter {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

#ai_footer .footer-newsletter-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#ai_footer .footer-newsletter-subtitle {
    font-size: 0.875rem;
    opacity: 0.7;
    margin-bottom: 1rem;
}

#ai_footer .footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

#ai_footer .footer-newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

#ai_footer .footer-newsletter-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    background: rgba(255, 255, 255, 0.15);
}

#ai_footer .footer-newsletter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

#ai_footer .footer-newsletter-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Bottom Bar */
#ai_footer .footer-bottom {
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#ai_footer .footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    #ai_footer .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

#ai_footer .footer-copyright {
    font-size: 0.875rem;
    opacity: 0.6;
}

#ai_footer .footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

#ai_footer .footer-bottom-link {
    font-size: 0.875rem;
    opacity: 0.6;
    text-decoration: none;
    transition: opacity 0.3s;
}

#ai_footer .footer-bottom-link:hover {
    opacity: 1;
}
