/* 扁平化页脚样式 */
.site-footer-flat {
    background: var(--dark-color);
    color: white;
    padding: 3rem 0 1.5rem;
    border-top: 4px solid var(--primary-color);
}

.footer-flat-content {
    position: relative;
    z-index: 1;
}

/* 扁平化品牌区域 */
.footer-brand-flat {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand-flat .brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: rgba(255, 255, 255, 255);
    font-size: 1.25rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

/* 扁平化链接 */
.footer-links-flat {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-flat li {
    margin-bottom: 0.75rem;
}

.footer-links-flat a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-links-flat a:hover {
    color: var(--primary-light);
    transform: translateX(3px);
}

/* 扁平化社交媒体 */
.social-icons-flat {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons-flat .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons-flat .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

/* 扁平化底部区域 */
.footer-bottom-flat {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-flat .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal-flat {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
}

.footer-legal-flat:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* 优化社交图标悬停效果 */
.social-icons-flat .social-icon-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    margin: 0 4px; /* 图标之间的间距 */
}

.social-icons-flat .social-icon-svg:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.social-icons-flat .social-icon-svg svg {
    display: block;
    fill: currentColor;
}

.social-icons-flat .social-icon-svg:hover svg {
    fill: white;
}

/* 图标组整体不添加额外外边距，由内部图标控制间距 */
.social-icons-flat.left-group,
.social-icons-flat.right-group {
    display: flex;
    gap: 8px; /* 组内图标间距，也可以使用 margin，这里使用 gap 更简洁 */
}

/* 统一半透明白色文字 */
.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* 联系信息区域样式 */
.contact-info {
    font-size: 0.95rem;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* 移动端适配：在小屏幕下品牌和图标组可能换行，确保居中 */
@media (max-width: 576px) {
    .footer-brand-flat {
        flex-wrap: wrap;
        justify-content: center !important;
    }
    .footer-brand-flat .brand-text {
        margin: 0 0 1rem 0 !important;
        width: 100%;
        text-align: center;
    }
    .social-icons-flat.left-group,
    .social-icons-flat.right-group {
        justify-content: center;
    }
}