/* 页脚样式 */
.footer {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.footer h5 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer h6 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer h6::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 2px;
}

/* 页脚链接样式 */
.footer-links {
    padding-left: 0;
}

.footer-link {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-link i {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6 !important;
    padding-left: 8px;
    transform: translateX(4px);
}

.footer-link:hover i {
    opacity: 1;
    color: #3b82f6;
}

/* 联系方式样式 */
.footer-contact {
    padding-left: 0;
}

.footer-contact .footer-link {
    font-size: 0.95rem;
}

.footer-contact i {
    min-width: 24px;
}

/* 社交链接样式 */
.social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-link:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.social-link img {
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: scale(1.1);
}

/* 版权信息样式 */
.footer hr {
    border-color: rgba(59, 130, 246, 0.15) !important;
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
}
.scroll-progress.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top i {
    font-size: 24px;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

/* 响应式优化 */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 !important;
    }
    
    .footer h5 {
        font-size: 1.25rem;
    }
    
    .footer h6 {
        font-size: 0.9rem;
        margin-top: 1.5rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}
