/**
 * 公共页脚样式
 * 所有页面共用统一样式
 */

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-dark);
    padding: 48px 24px 0;
}

.footer-container {
    max-width: 1352px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-contact {
    max-width: 512px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0052D9 0%, #155DFC 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-icon img {
    width: 24px;
    height: 24px;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-title {
    font-size: 15px;
    font-weight: 500;
    color: white;
    line-height: 1.25;
}

.footer-logo-subtitle {
    font-size: 11px;
    font-weight: 400;
    color: white;
    opacity: 0.7;
    line-height: 1.25;
}

.footer-desc {
    font-size: 13px;
    font-weight: 400;
    color: white;
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.8;
}

.contact-item img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 13px;
    font-weight: 400;
    color: white;
}

.footer-title {
    font-size: 15px;
    font-weight: 500;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.footer-links a {
    font-size: 13px;
    font-weight: 400;
    color: white;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    text-decoration: none;
}

.footer-links a:hover {
    opacity: 1;
}

/* 版权信息 */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 12px;
    font-weight: 400;
    color: white;
    opacity: 0.6;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-bottom-links a {
    font-size: 12px;
    font-weight: 400;
    color: white;
    opacity: 0.6;
    transition: opacity var(--transition-fast);
    text-decoration: none;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

.footer-bottom-links span {
    font-size: 12px;
    font-weight: 400;
    color: white;
    opacity: 0.6;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-contact {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-contact {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
