/* === FOOTER BASE === */
.site-footer {
    background: linear-gradient(180deg, #0b0f1a 0%, #05070f 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 60px 40px 30px;
    color: #94a3b8;
    font-size: var(--text-base);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* === FOOTER TOP === */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 30px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: var(--text-lg);
}

    .footer-logo img {
        max-height: 40px;
    }

.footer-tagline {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: #94a3b8;
    max-width: 280px;
}

/* Links Grid */
.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.link-column h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin: 0 0 16px;
}

/* Default Links */
.link-column a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    font-size: var(--text-base);
    padding: 6px 0;
    transition: color 0.2s ease;
}

    .link-column a:hover {
        color: #5b7cff;
    }

    /* Links with Icons - FIX for alignment */
    .link-column a.link-with-icon {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
    }

.link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #64748b;
    transition: color 0.2s ease;
}

.link-with-icon:hover .link-icon {
    color: #5b7cff;
}

/* === FOOTER BOTTOM === */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright p {
    font-size: var(--text-sm);
    color: #64748b;
    margin: 0;
}

.beta-badge {
    display: inline-block;
    background: rgba(91, 124, 255, 0.15);
    color: #5b7cff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/* Support Credit */
.support-credit {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-sm);
    color: #64748b;
}

.support-company {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #94a3b8;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .support-company:hover {
        color: #5b7cff;
    }

/* Bi Logic Logo Placeholder */
.bi-logic-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(91, 124, 255, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(91, 124, 255, 0.3);
    border-radius: 8px;
}

.bi-logic-icon {
    font-size: 1.1rem;
    color: #5b7cff;
    font-weight: 300;
}

.bi-logic-text {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    padding-bottom: 4px;
}

.company-location {
    color: #64748b;
    font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 20px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .support-credit {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        font-size: var(--text-base);
    }

    .footer-tagline {
        font-size: var(--text-sm);
    }

    .copyright p,
    .support-credit {
        font-size: var(--text-xs);
    }

    .bi-logic-logo {
        padding: 4px 10px;
    }

    .bi-logic-text {
        font-size: 0.85rem;
    }


    .link-column a {
        font-size: var(--text-sm);
    }

    .link-icon {
        width: 16px;
        height: 16px;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    .link-column a,
    .support-company {
        transition: none !important;
    }
}
