/* 底部样式 */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: auto;
}

/* 下载APP模块（集中到组件样式，保证跨页一致） */
.app-download-section { padding: var(--spacing-xxl) 0; background: linear-gradient(135deg, #f8f4ff 0%, #e8e0ff 100%); }
.app-download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing-xxl); align-items: center; }
.app-download-content { padding-right: var(--spacing-lg); }
.app-download-title { font-size: 2.5rem; font-weight: 700; color: var(--text-primary); margin-bottom: var(--spacing-lg); line-height: 1.2; }
.app-download-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--spacing-xl); }
.app-download-buttons { display: flex; gap: var(--spacing-md); margin-bottom: var(--spacing-lg); }
.app-download-btn { display: inline-block; transition: transform 0.3s ease; }
.app-download-btn:hover { transform: translateY(-2px); }
.app-download-btn img { display: block; height: 60px !important; width: auto !important; max-width: 260px; }
.app-download-pro-link { font-size: 0.95rem; color: var(--text-secondary); }
.app-download-pro-link a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.app-download-pro-link a:hover { text-decoration: underline; }
.app-download-phone { display: flex; justify-content: center; align-items: center; }
.app-download-hero { width: 100%; max-width: 260px; height: auto; display: block; border-radius: 24px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
@media (max-width: 768px){
    .app-download-grid { grid-template-columns: 1fr; gap: var(--spacing-xl); }
    .app-download-content { padding-right: 0; text-align: center; }
    .app-download-title { font-size: 2rem; }
    .app-download-buttons { justify-content: center; }
    .app-download-btn img { height: 50px !important; }
}
@media (max-width: 480px){
    .app-download-title { font-size: 1.8rem; }
    .app-download-desc { font-size: 1rem; }
    .app-download-btn img { height: 50px; }
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
    font-size: var(--font-size-lg);
    font-weight: bold;
    margin-bottom: var(--spacing-lg);
    color: white;
}

.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    font-size: var(--font-size-sm);
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-links img { width: 18px; height: 18px; display: block; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--font-size-sm);
}

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

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
