.site-mobile-footer {
    padding: 1.25rem;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-mobile-footer p {
    font-size: 0.75rem;
    color: #79809a;
    margin: 0;
}

.site-footer {
    position: relative;
    margin-top: 3rem;
    padding: 3.5rem 0 2rem;
    border-top: 1px solid rgba(143, 156, 255, 0.18);
    background: linear-gradient(180deg, rgba(20, 23, 32, 0.98) 0%, rgba(8, 10, 15, 0.98) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 -24px 48px rgba(0, 0, 0, 0.28);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: min(1100px, calc(100% - 3rem));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(143, 156, 255, 0.28), transparent);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 3rem;
    margin-bottom: 0;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    max-width: 320px;
}

.site-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.site-footer-logo img {
    border-radius: 6px;
}

.site-footer-logo span {
    font-weight: 700;
    font-size: 1rem;
    color: #e8e8ec;
}

.site-footer-tagline {
    font-size: 0.875rem;
    color: #8f93a7;
    line-height: 1.6;
    margin: 0;
}

.site-footer-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #8b8b9e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.site-footer-col a {
    display: block;
    font-size: 0.875rem;
    color: #a1a6ba;
    text-decoration: none;
    padding: 0.3rem 0;
    transition: color 0.2s ease;
}

.site-footer-col a:hover {
    color: #f3f5ff;
}

.site-footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.site-footer-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.site-footer-meta p {
    font-size: 0.56rem;
    color: #79809a;
    margin: 0;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid rgba(143, 156, 255, 0.18);
    border-radius: 999px;
    color: #b7c0e4;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-social a:hover {
    color: #f5f7ff;
    border-color: rgba(85, 181, 255, 0.6);
    background: rgba(85, 181, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.site-footer-social .site-footer-icon {
    width: 13px;
    height: 13px;
    margin: 0;
}

@media (max-width: 960px) {
    .site-footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2rem;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .site-footer-brand {
        grid-column: span 2;
        max-width: 100%;
        margin-bottom: 1rem;
    }

    .site-footer-meta {
        align-items: center;
    }

    .site-footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding-top: 3rem;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .site-footer-brand {
        grid-column: span 1;
        margin-bottom: 0.5rem;
        max-width: 100%;
    }

    .site-footer-logo {
        justify-content: center;
    }

    .site-footer-tagline {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer-social a {
        width: 1.65rem;
        height: 1.65rem;
    }
}
