/* Website footer: brand, link columns and a bottom bar */
footer.site-footer {
    text-align: left;
    padding: 64px 24px 0;
    margin-top: 80px;
    background: linear-gradient(180deg, rgba(14, 15, 26, 0.95), rgba(22, 23, 45, 0.98));
    border-top: 1px solid rgba(91, 46, 255, 0.25);
    position: relative;
}

footer.site-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 80%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), var(--purple), transparent);
}

.site-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #5B2EFF, #00CFFF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

footer.site-footer a.site-footer-logo:hover {
    text-shadow: none;
}

.site-footer-brand p {
    margin: 14px 0 22px;
    max-width: 340px;
    color: #9aa0a6;
    font-size: 14px;
    line-height: 1.7;
}

.site-footer-socials {
    display: flex;
    gap: 10px;
}

footer.site-footer .site-footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cfd6d9;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    transition: all 0.2s ease;
}

footer.site-footer .site-footer-socials a:hover {
    color: #0e0f1a;
    background: var(--neon-blue);
    border-color: var(--neon-blue);
    box-shadow: 0 0 18px rgba(0, 207, 255, 0.45);
    text-shadow: none;
    transform: translateY(-2px);
}

.site-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.site-footer-col h4 {
    margin: 4px 0 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

footer.site-footer .site-footer-col a {
    color: #9aa0a6;
    font-size: 14px;
    font-weight: 400;
    width: fit-content;
}

footer.site-footer .site-footer-col a:hover {
    color: var(--neon-blue);
    text-shadow: none;
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #7d838c;
    font-size: 13px;
}

footer.site-footer .site-footer-bottom a {
    font-weight: 500;
}

@media (max-width: 860px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 32px 24px;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 520px) {
    footer.site-footer {
        padding-top: 48px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
