/* ============================================
   底部区域样式 - 商务专业风
   ============================================ */

/* 主页脚 */
.site-footer {
    background: var(--business-dark);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    color: white;
    text-decoration: none;
}

.footer-description {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--business-gold);
    transform: translateY(-3px);
}

/* 底部导航 */
.footer-nav h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
}

.footer-nav a:hover {
    color: var(--business-gold);
    padding-left: 5px;
}

/* 底部标签云 */
.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-tag:hover {
    background: var(--business-gold);
    color: white;
    transform: scale(1.05);
}

/* 联系方式 */
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
}

/* 底部版权 */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--business-gold);
}

/* 返回顶部按钮（页脚版） */
.footer-back-top {
    width: 50px;
    height: 50px;
    background: var(--business-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.footer-back-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(201, 169, 97, 0.4);
}

/* 订阅框 */
.footer-subscribe {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.footer-subscribe h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: white;
}

.footer-subscribe-form {
    display: flex;
    gap: 10px;
}

.footer-subscribe-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.footer-subscribe-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe-form button {
    background: var(--business-gold);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-subscribe-form button:hover {
    transform: scale(1.05);
}

/* 友情链接 */
.footer-links-section {
    grid-column: 1 / -1;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.footer-link-item {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.footer-link-item:hover {
    color: var(--business-gold);
    padding-left: 5px;
}

/* 二维码区域 */
.footer-qrcode {
    text-align: center;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 10px;
    background: white;
    padding: 8px;
}

.footer-qrcode p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

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

    .footer-links-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-qrcode img {
        width: 100px;
        height: 100px;
    }
}

/* 暗黑模式适配 */
.dark-mode .site-footer {
    background: #1a1a1a;
}

.dark-mode .footer-social a,
.dark-mode .footer-nav a:hover {
    background: #333;
}

.dark-mode .footer-subscribe {
    background: rgba(255, 255, 255, 0.05);
}

/* 动画效果 */
.footer-nav a,
.footer-tag,
.footer-link-item {
    position: relative;
    overflow: hidden;
}

.footer-nav a::before,
.footer-tag::before,
.footer-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.footer-nav a:hover::before,
.footer-tag:hover::before,
.footer-link-item:hover::before {
    left: 100%;
}
