/* 简洁的白色Footer样式 */
.footer {
    background-color: #ffffff;
    padding-top: 60px ;
   
    border-top: 1px solid #e5e5e5;
}

.footer-container {
    
    margin: 0 auto;
    padding: 0 170px;
}

/* 主要内容区域 */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 通用列样式 */
.footer-company,
.footer-products,
.footer-resources,
.footer-contact {
    display: flex;
    flex-direction: column;
}

/* 标题样式 */
.footer-company h4,
.footer-products h4,
.footer-resources h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

/* 列表样式 */
.footer-company ul,
.footer-products ul,
.footer-resources ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-company ul li,
.footer-products ul li,
.footer-resources ul li {
    margin-bottom: 12px;
}

.footer-company ul li a,
.footer-products ul li a,
.footer-resources ul li a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.footer-company ul li a:hover,
.footer-products ul li a:hover,
.footer-resources ul li a:hover {
    color: #333333;
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-info p {
    margin: 0;
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
}

.contact-info span {
    color: #333333;
    /* font-weight: 500; */
}

/* 底部区域 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px  0;
    border-top: 1px solid #e5e5e5;
}

/* 版权信息 */
.footer-copyright {
    flex: 1;
}

.footer-copyright p {
    margin: 0;
    color: #333333;
    font-size: 14px;
    line-height: 1.5;
}

/* 社交媒体图标 */
.footer-social {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* 各社交媒体图标颜色 */
.social-icon.facebook {
    background-color: #1877f2;
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.youtube {
    background-color: #ff0000;
}

.social-icon.linkedin {
    background-color: #0077b5;
}

/* 为社交图标添加图标样式 */
.social-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon.facebook::after {
    content: 'f';
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
}

.social-icon.instagram::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid white;
    border-radius: 4px;
    position: relative;
}

.social-icon.instagram::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border: 2px solid white;
    border-radius: 50%;
    z-index: 1;
}

.social-icon.twitter::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: rotate(-20deg);
}

.social-icon.youtube::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 10px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin-left: 2px;
}

.social-icon.linkedin::after {
    content: 'in';
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 12px;
    text-transform: lowercase;
}

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

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 30px;
        margin-top: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 16px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-bottom {
        gap: 15px;
    }
    
    .footer-social {
        gap: 12px;
        justify-content: center;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
    }
}
