/* --- GLOBAL SITE FOOTER --- */
.site-footer {
    background: #0a0a0a;
    padding: 80px 5vw 40px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 100px;
    font-family: 'Inter', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.footer-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 35vw;
    line-height: 1;
    color: rgba(255, 255, 255, 0.035);
    pointer-events: none;
    user-select: none;
    z-index: 1;
    letter-spacing: -0.8vw;
    white-space: nowrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    align-items: start;
    width: 100%;
}

.footer-brand-cell {
    display: flex;
    flex-direction: column;
}

.footer-brand-cell .logo-lockup {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    justify-content: flex-start;
}

.footer-brand-cell .logo-icon {
    width: 65px;
    height: 65px;
}

.footer-brand-cell .logo-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

.footer-brand-cell .logo-top-text {
    font-family: 'Exo 2', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.footer-brand-cell .logo-bottom-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand-cell .logo-separator {
    color: #00a8b5;
    font-weight: 900;
}

.footer-brand-cell .logo-bottom-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #00a8b5;
}

.brand-mission {
    margin: 25px 0;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 400px;
    text-align: left;
}

.system-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 168, 181, 0.1);
    border: 1px solid rgba(0, 168, 181, 0.2);
    padding: 10px 20px;
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #00a8b5;
    font-weight: 700;
    width: fit-content;
}

.status-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00a8b5;
    border-radius: 50%;
    box-shadow: 0 0 12px #00a8b5;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.4; }
    100% { transform: scale(1); opacity: 1; }
}

.footer-nav-cell {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.nav-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 900;
    color: #00a8b5;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-nav-cell a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.footer-nav-cell a:hover {
    color: #ffffff;
}

.footer-bottom-bar {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    position: relative;
    width: 100%;
}

.technical-hash {
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.5;
}

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

@media (max-width: 768px) {
    .site-footer {
        padding: 60px 8vw 30px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand-cell {
        align-items: center;
    }

    .brand-mission {
        max-width: 100%;
        text-align: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav-cell {
        align-items: center;
        text-align: center;
    }
    
    .footer-brand-cell .logo-text-stack {
        text-align: center;
    }
}
