/* ==========================================================================
   Sys-Metrics Comprehensive Unified Footer Stylesheet
   World Best Practice: Grid-based, responsive, cross-subdomain unified footer
   ========================================================================== */

.sm-global-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 80px;
    width: 100%;
    box-sizing: border-box;
}

.sm-global-footer .sm-footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sm-global-footer .sm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.sm-global-footer .sm-footer-brand h3 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}

.sm-global-footer .sm-footer-brand h3 img {
    width: 24px;
    height: 24px;
}

.sm-global-footer .sm-footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0 0 20px 0;
}

.sm-global-footer .sm-footer-col h4 {
    color: #f8fafc;
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sm-global-footer .sm-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sm-global-footer .sm-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.sm-global-footer .sm-footer-links a:hover {
    color: #10b981;
    transform: translateX(2px);
}

.sm-global-footer .sm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}

.sm-global-footer .sm-footer-bottom p {
    margin: 0;
}

.sm-global-footer .sm-footer-legal-links {
    display: flex;
    gap: 20px;
}

.sm-global-footer .sm-footer-legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.sm-global-footer .sm-footer-legal-links a:hover {
    color: #94a3b8;
}

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

@media (max-width: 640px) {
    .sm-global-footer .sm-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .sm-global-footer .sm-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
