/* 页脚样式 */
footer {
    background-color: #333;
    color: #fff;
    padding: 140px 355px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section {
    /* flex: 1 1 200px; */
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.qr-code-container {
    display: inline-block;
    text-align: center;
    margin-right: 30px;
    margin-bottom: 20px;
    vertical-align: top;
}

.qr-code {
    width: 130px;
    height: 130px;
    background-color: white;
    display: block;
    margin-bottom: 8px;
    border: 1px solid #eee;
}

.qr-code-container span {
    font-size: 14px;
    color: #ccc;
    display: block;
    line-height: 1.2;
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    padding-top: 10px;
    border-top: 1px solid #555;
}

/* 默认隐藏移动端footer，在移动端显示 */
.mobile-footer {
    display: none;
}

@media (max-width: 768px) {
    .mobile-footer {
        display: block;
    }

    /* 移动端隐藏桌面版footer */
    footer:not(.mobile-footer) {
        display: none;
    }
}

/* 移动端专用footer样式 */
.mobile-footer {
    background-color: #333;
    color: #fff;
    padding: 20px 15px;
}

.mobile-footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.mobile-contact-info {
    flex: 1 1 60%;
    min-width: 200px;
}

.mobile-contact-info h1 {
    font-family: PingFang SC;
    font-size: 16px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0px;

    font-variation-settings: "opsz" auto;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.mobile-contact-info span {
    display: block;
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0px;

    font-variation-settings: "opsz" auto;
    color: #00BA00;
    margin-bottom: 10px;
}

.mobile-contact-info p {
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: 600;
    line-height: 100%;
    letter-spacing: 0px;

    font-variation-settings: "opsz" auto;
    color: #FFFFFF;
}

.mobile-qr-codes {
    flex: 1 1 35%;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.mobile-footer-nav {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
}

.nav-item {
    text-align: center;
}

.nav-icon {
    display: block;
    width: 30px;
    height: 30px;
    margin: 0 auto 5px;
    background-color: #555;
    border-radius: 50%;
}

/* 响应式适配 */
@media (max-width: 768px) {
    footer {
        padding: 30px 20px;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-section {
        flex: 1 1 100%;
        margin-bottom: 15px;
    }
    
    .qr-code-container {
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
}