.site-footer {
    background: linear-gradient(135deg, #2b2d31 0%, #1a1b1e 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 0;
    position: relative;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    animation: fadeInUp 0.8s ease;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text-wh);
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    color: var(--color-accent);
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--color-accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: var(--color-bg);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text-wh);
    max-width: 400px;
    margin: 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    animation: fadeInUp 0.8s 0.2s ease backwards;
}

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

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-wh);
    margin-bottom: 20px;
}

.footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-menu li a {
    color: var(--color-text-wh);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.4s ease backwards;
}

.footer-copyright p {
    font-size: 14px;
    color: var(--color-text-wh);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    order: 2;
}

.footer-legal a {
    color: var(--color-text-wh);
    text-decoration: none;
    transition: color 0.3s ease;
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    order: 3;
}

.badge-text {
    color: var(--color-text-wh);
}

.badge-highlight {
    color: var(--color-text-wh);
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.arrow-up {
    font-weight: 700;
    line-height: 1;
}

@media (min-width: 769px) {
    .site-footer {
        padding: 80px 0 0;
    }

    .footer-container {
        padding: 0 40px;
    }

    .footer-top {
        gap: 48px;
        padding-bottom: 60px;
    }

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

    .footer-bottom {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding: 32px 0;
    }

    .footer-legal {
        order: 0;
    }

    .footer-badge {
        order: 0;
    }

    .back-to-top {
        bottom: 40px;
        right: 40px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (min-width: 1025px) {
    .footer-top {
        grid-template-columns: 4fr 2fr;
        gap: 80px;
    }

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