/* 公共页脚样式 */
:root {
    --footer-bg: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --footer-text: #334155;
    --footer-text-light: #64748b;
    --footer-text-muted: #94a3b8;
    --footer-border: rgba(148, 163, 184, 0.2);
    --footer-glass-bg: rgba(255, 255, 255, 0.8);
    --footer-spacing-xs: 8px;
    --footer-spacing-sm: 12px;
    --footer-spacing-md: 16px;
    --footer-spacing-lg: 24px;
    --footer-spacing-xl: 32px;
    --footer-spacing-2xl: 48px;
    --footer-spacing-3xl: 64px;
}

/* 页脚主容器 */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: var(--footer-spacing-3xl) 0 var(--footer-spacing-lg);
    position: relative;
    z-index: 3;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--footer-border);
    margin-top: auto;
}

/* 页脚内容网格 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--footer-spacing-lg);
    margin-bottom: var(--footer-spacing-lg);
}

/* 页脚区块标题 */
.footer-section h3,
.footer-section h4 {
    font-weight: 600;
    margin-bottom: var(--footer-spacing-sm);
    color: var(--footer-text);
    font-size: 1.1rem;
}

/* 页脚列表样式 */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: var(--footer-spacing-xs);
    line-height: 1.5;
}

/* 页脚链接样式 */
.footer-section a {
    color: var(--footer-text-light);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--footer-text);
    transform: translateX(2px);
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--footer-text);
    transition: width 0.3s ease;
}

.footer-section a:hover::after {
    width: 100%;
}

/* 页脚联系信息 */
.footer-contact {
    text-align: center;
}

.footer-section p {
    color: var(--footer-text-light);
    line-height: 1.6;
    margin: var(--footer-spacing-xs) 0;
}

/* 微信二维码区域 */
.wechat-qr {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-top: var(--footer-spacing-md);
    backdrop-filter: blur(10px);
    text-align: center;
}

.footer-qr-code,
.wechat-qr img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.footer-qr-code:hover,
.wechat-qr img:hover {
    transform: scale(1.05);
}

.footer-qr-hint {
    font-size: 14px;
    color: var(--footer-text-muted);
    margin: 0;
}

/* 页脚底部 */
.footer-bottom {
    margin-top: var(--footer-spacing-xl);
    padding: var(--footer-spacing-md);
    text-align: center;
    color: var(--footer-text-muted);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    border-top: 1px solid var(--footer-border);
}      

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--footer-spacing-xl);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--footer-spacing-2xl) 0 var(--footer-spacing-md);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--footer-spacing-lg);
    }
    
    .footer-section {
        margin-bottom: var(--footer-spacing-md);
    }

    .wechat-qr {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--footer-spacing-xl) 0 var(--footer-spacing-sm);
    }
    
    .footer-content {
        gap: var(--footer-spacing-md);
    }
    
    .wechat-qr img {
        width: 100px;
        height: 100px;
    }
    
    .wechat-qr {
        padding: var(--footer-spacing-sm);
    }
}