/* 底部样式 */
.footer {
    background: #1f2533;
    color: #fff;
}

/* 服务保障区域 */
.footer-service {
    padding: 40px 0;
}

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

/* 简化服务项布局 */
.footer-service .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-service .footer-container > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-service img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* 修改service-info的布局 */
.service-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-info h4 {
    font-size: 16px;
    color: #fff;
    margin: 0;
    font-weight: 500;
    line-height: 1;
}

.service-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    position: relative;
    padding-left: 10px;
    line-height: 1;
}

/* 添加分隔点 */
.service-info p::before {
    content: '·';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .footer-service .footer-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .service-item {
        width: calc(50% - 10px);
    }
}

/* 主要内容区域 */
.footer-main {
    padding: 30px 0 10px 0;
}

.footer-main .footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-left {
    flex-shrink: 0;
}

.footer-logo {
    width: 160px;
    margin-bottom: 20px;
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
}

.contact-info .phone {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.contact-info .time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

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

.link-group h5 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.link-group ul {
    list-style: none;
    padding: 0;
}

.link-group ul li {
    margin-bottom: 12px;
}

.link-group ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.link-group ul a:hover {
    color: #007bff;
}

.qrcode-group {
    text-align: center;
}

.qrcode-group img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.qrcode-group p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* 底部版权信息 */
.footer-bottom {
    padding: 20px 0;
    font-size: 12px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: calc(100% - 40px);
    height: 1px;
    background: #e0e0e7;
    opacity: 0.1;
    box-shadow: 0 0 10px rgba(224, 224, 231, 0.2);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p,
.company-info p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

/* 响应式布局 */
@media screen and (max-width: 1200px) {
    .footer-links {
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    .footer-service .footer-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .service-item {
        width: calc(50% - 10px);
    }

    .footer-main .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }

    .link-group {
        width: calc(50% - 15px);
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .copyright {
        margin-bottom: 10px;
    }
}

/* 分割线 */
.footer-divider {
    height: 1px;
    background: #e0e0e7;
    opacity: 0.1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    box-shadow: 0 0 10px rgba(224, 224, 231, 0.2);
}

/* 添加动态发光效果 */
.footer-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(224, 224, 231, 0.3),
        rgba(224, 224, 231, 0.5),
        rgba(224, 224, 231, 0.3),
        transparent
    );
    animation: glowLine 3s ease-in-out infinite;
}

/* 底部版权信息的分割线也添加相同效果 */
.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    max-width: calc(100% - 40px);
    height: 1px;
    background: #e0e0e7;
    opacity: 0.1;
    box-shadow: 0 0 10px rgba(224, 224, 231, 0.2);
}

/* 发光动画 */
@keyframes glowLine {
    0%, 100% {
        opacity: 0.1;
        box-shadow: 0 0 5px rgba(224, 224, 231, 0.2);
    }
    50% {
        opacity: 0.2;
        box-shadow: 0 0 15px rgba(224, 224, 231, 0.4);
    }
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .footer-divider {
        margin: 0 20px;
    }
}

/* 在已有样式后添加 */
.friend-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
}

.friend-links span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.friend-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.friend-links a:hover {
    color: rgba(255, 255, 255, 0.7);
}

@media screen and (max-width: 768px) {
    .friend-links {
        padding: 15px 0;
    }
}
