﻿/* 页脚样式 */
.footer {
    background: var(--bg-dark);
    color: var(--text-inverse);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-inverse);
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-inverse);
}

.footer-section p {
    color: var(--text-tertiary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.footer-section ul li a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--text-inverse);
}

.footer-section ul li i {
    margin-right: 0.5rem;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-secondary);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* 平板端优化：768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.4rem;
        font-size: 0.85rem;
    }
}

/* 移动端优化：0px - 767px */
@media (max-width: 767px) {
    .footer {
        padding: 20px 0 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .footer-section p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        line-height: 1.4;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0;
        font-size: 0.8rem;
    }
    
    .footer-section ul li a {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 0.8rem;
        font-size: 0.75rem;
    }
}
