.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 64px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid #333333;
}

.footer-section {
    
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333333;
    border-radius: 50%;
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin-bottom: 24px;
}

.footer-links {
    
}

.footer-link {
    display: block;
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 14px;
    color: #cccccc;
}

.footer-contact-icon {
    margin-right: 12px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    color: #cccccc;
}

.footer-bottom-link {
    color: #cccccc;
    margin: 0 8px;
    transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
    color: var(--primary-color);
}

.footer-divider {
    margin: 0 8px;
    color: #666666;
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #1470D9;
    transform: translateY(-4px);
    color: white;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 48px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        font-size: 12px;
    }
    
    .footer-divider {
        display: none;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}
