* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部 */
header {
    background: linear-gradient(135deg, #ffffff 0%, #f3f5f8 100%);
    color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

/* 导航 */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav ul li a:hover, nav ul li a.active {
    background-color: rgb(101, 180, 231);
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #5664f5;
    cursor: pointer;
}

/* CTA区域 */
.cta-section {
    padding: 100px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222831;
}

.cta-container p {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    background-color: #ff6b35;
    color: white;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary :hover {
    background-color: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    background-color: #00c9a7;
    color: white;
}

.btn-secondary:hover {
    background-color: #00b393;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #ff6b35;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff6b35;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* 二维码模态框样式 */
.qrcode-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.qrcode-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-image: url("../images/sq-bg.png");
    background-repeat: no-repeat; /* 禁止图片重复 */
    background-position: center center; /* 图片居中显示 */
    background-size: contain; /* 等比例缩放，覆盖整个容器 */
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.qrcode-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border: none;
    font-size: 1rem;
    color: #458cf8;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: #f8f9fa;
    color: #222831;
}

.qrcode-container {
    text-align: center;
}

.qrcode-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a6dff;
    margin-bottom: 20px;
}

.qrcode-img {
    width: 200px;
    height: 200px;
    margin: 115px auto 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}

.qrcode-img img {
    width: 200px;
    height: 200px;
}

.qrcode-desc {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 1rem;
}

.services-grid-com {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.service-item-com {
    text-align: center;
    padding: 15px 10px;
    border-radius: 8px;
/*    transition: all 0.3s ease;
    cursor: pointer;*/
}

/*.service-item:hover {
    background-color: #e8f1ff;
    transform: translateY(-5px);
}*/

.service-icon-com {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background-color: #e8f1ff;;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1a6dff;
}

.service-name-com {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222831;
}

.modal-footer {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #0c4a9c;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
    }

    .footer-column {
        min-width: 100%;
    }

    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    .qrcode-img {
        margin: 110px auto 25px;
    }

    .qrcode-img img {
        width: 180px;
        height: 180px;
    }

    .service-name-com {
        font-size: 0.7rem;
        font-weight: 500;
        color: #222831;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        margin-top: 60px;
    }

    .qrcode-title {
        font-size: 1rem;
    }
}
