/* 底部区域样式 - 优化版 */
.site-footer {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important;
    color: white !important;
    margin-top: 80px;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.site-footer * {
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    width: 100% !important;
    position: relative;
    z-index: 1;
}

/* 主要内容区域 - 优化网格布局 */
.footer-main {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important; /* 优化比例 */
    gap: 50px !important;
    padding: 70px 0 50px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    width: 100% !important;
    align-items: start;
}

/* 品牌信息 - 优化版 */
.footer-brand {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    padding-right: 20px;
}

.brand-name {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: white !important;
    line-height: 1.2 !important;
    position: relative;
    padding-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.brand-name:hover::after {
    width: 80px;
}

.brand-desc {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.social-links {
    display: flex !important;
    gap: 16px !important;
    margin-top: 12px !important;
}

.social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: #4fc3f7;
}



/* 联系信息区域 - 优化版 */
.footer-contact {
    display: flex !important;
    flex-direction: column !important;
    gap: 28px !important;
    width: 100% !important;
    background: transparent;
    border-radius: 0;
    padding: 24px;
    border: none;
    backdrop-filter: none;
}

.contact-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 0 16px 0 !important;
    color: white !important;
    position: relative;
    padding-bottom: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4fc3f7, #29b6f6);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.contact-title:hover::after {
    width: 60px;
}

.contact-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6 !important;
    padding: 12px 16px;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    border: none;
}

.contact-item:hover {
    background: transparent !important;
    transform: none;
    border: none;
    color: rgba(255, 255, 255, 0.95) !important;
    box-shadow: none;
}

.contact-item svg {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    color: #4fc3f7 !important;
    background: rgba(79, 195, 247, 0.15);
    padding: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover svg {
    background: rgba(79, 195, 247, 0.25);
    transform: scale(1.1);
}



/* 底部版权信息 - 优化版 */
.footer-bottom {
    padding: 32px 0 !important;
    text-align: center !important;
    background: transparent !important;
    position: relative;
    overflow: hidden;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    background: transparent;
    display: none;
}

.footer-copyright {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.footer-copyright p {
    margin: 0 !important;
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.footer-legal {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    padding: 0;
    border-radius: 0;
    font-weight: 500;
    background: transparent;
}

.footer-legal a:hover {
    color: #4fc3f7 !important;
    background: transparent;
    transform: none;
}

.legal-separator {
    color: rgba(255, 255, 255, 0.6) !important;
    font-weight: 300;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr !important; /* 保持2列布局 */
        gap: 30px !important;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 16px !important;
    }
    
    .footer-main {
        grid-template-columns: 1fr !important; /* 在移动设备上改为单列 */
        gap: 30px !important;
        padding: 40px 0 30px !important;
    }
    
    .footer-contact {
        align-items: center !important;
    }
    
    .footer-copyright {
        flex-direction: row !important;
        text-align: center !important;
        gap: 15px !important;
        flex-wrap: wrap;
        justify-content: center !important;
    }
    
    .footer-legal {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 30px 0 20px !important;
        gap: 25px !important;
    }
    
    .brand-name {
        font-size: 1.3rem !important;
    }
    
    .nav-title,
    .contact-title {
        font-size: 1rem !important;
    }
    
    
    .social-link {
        width: 36px !important;
        height: 36px !important;
    }
}

/* 强制重置可能冲突的样式 */
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    margin: 0 !important;
    padding: 0 !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.site-footer ul,
.site-footer ol {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.site-footer a {
    text-decoration: none !important;
    color: inherit !important;
}

.site-footer img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

/* 确保布局优先级 */
#colophon.site-footer {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%) !important;
}

#colophon .footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
}