* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
}

/* 顶部导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 88px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    width: 100%;
    padding: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1920px;
    padding: 0;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    height: 48px;
    padding-left: 21px;
    min-width: 200px;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    font-weight: 600;
    gap: 30px;
    color: #333;
}

.nav-spacer {
    display: block;
    min-width: 200px;
    flex-shrink: 0;
}

.nav-menu li {
    margin: 0;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
    line-height: 88px;
    padding-right: 24px;
    display: inline-block;
    background: url('../images/select.png') no-repeat right center;
    background-size: 12px 8px;
}

.nav-menu a.no-arrow {
    background: none !important;
    padding-right: 0 !important;
}

/* 二级菜单样式 */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    padding: 10px 0;
    min-width: 200px;
    z-index: 1000;
    margin: 0;
    padding: 0;
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.sub-menu li {
    margin: 0;
    width: 100%;
    list-style: none;
}

.sub-menu a {
    display: block;
    line-height: 40px;
    padding: 0 20px;
    background: none;
    font-size: 14px;
    color: #666;
    text-align: left;
    text-decoration: none;
}

.sub-menu a:hover {
    background-color: #f5f7fa;
    color: #1a73e8;
}

.nav-menu a:hover {
    /* color: #1a73e8; */
}

/* 主横幅区域 */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    aspect-ratio: 1920 / 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 600px;
    margin-top: -88px;
    padding-top: 88px;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/index_bg.png');
    background-size:100%; 
    /* animation: moveBackground 20s linear infinite; */
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    margin-top: -200px;
}

.hero h1 {
    font-size: 74px;
    font-weight: normal;
    margin-bottom: 24px;
    color: #333;
    line-height: 1.2;
}

.hero p {
    font-size: 52px;
    font-weight: normal;
    color: #666;
    margin-bottom: 48px;
    line-height: 1.5;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    font-size: 18px;
    color: #666;
}

.hero-feature::before {
    content: '';
    background-image: url('../images/index_list.png');
    background-size: 40px 40px;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    display: inline-block;
    vertical-align: middle;
}

.cta-button {
    display: inline-block;
    background-color: #1a73e8;
    color: white;
    padding: 18px 56px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(26, 115, 232, 0.4);
    margin-bottom: 24px;
}

.cta-button:hover {
    background-color: #1557b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.4);
}

.download-link {
    display: block;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.download-link:hover {
    color: #1a73e8;
    text-decoration: underline;
}

/* 蓝色方块装饰 */
.blue-blocks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.blue-block {
    position: absolute;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.3) 0%, rgba(26, 115, 232, 0.1) 100%);
    transform: rotate(45deg);
    animation: float 6s ease-in-out infinite;
}

.blue-block:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.blue-block:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 70%;
    animation-delay: 2s;
}

.blue-block:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: rotate(45deg) translateY(0px); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

/* 页脚 */
footer {
    /* background-color: #f5f5f5; */
    height: 420px;
    padding: 60px 0 24px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1920px;
    margin: 0 auto 48px;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    text-align: left;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 24px;
    color: #333;
    font-weight: bold;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 16px;
}

.footer-section ul li a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    transition: color 0.3s;
    line-height: 1.4;
}

.footer-section ul li a:hover {
    color: #1a73e8;
}

.company-info {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.company-info img {
    height: 48px;
    margin-right: 12px;
}

.company-info span {
    font-size: 24px;
    font-weight: bold;
    color: #1a73e8;
}

.contact-info {
    font-size: 16px;
    color: #666;
    line-height: 2.2;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
    border: 2px solid #e0e0e0;
}

.qrcode p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #999;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
    color: #999;
    max-width: 1920px;
    margin: 0 auto;
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    width: 740px;
    height: 462px;
    border: 1px solid #1a73e8;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    padding: 0;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #999;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    width: 20px;
    height: 20px;
    text-align: center;
    z-index: 1001;
}

.close:hover, .close:focus {
    color: #333;
    text-decoration: none;
}

.modal-body {
    padding: 0;
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    position: relative;
}

.left-section {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.modal-logo {
    width: 148px;
    height: auto;
    margin: 0;
}

.contact-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.consultation-title {
    font-size: 22px;
    color: #666;
    margin: 0;
    text-align: left;
}

.phone-number {
    font-size: 22px;
    font-weight: bold;
    color: #1a73e8;
    margin: 0;
    text-align: left;
    text-decoration: underline;
}

.working-time {
    font-size: 22px;
    color: #666;
    margin: 0;
    text-align: left;
}

.working-hours {
    font-size: 22px;
    color: #666;
    margin: 0;
    text-align: left;
}

.right-section {
    flex: 1;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.qr-code {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.qr-image {
    width: 180px;
    height: 180px;
    margin: 0;
    border: 1px solid #e0e0e0;
    background-color: white;
    padding: 10px;
}

.qr-code p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .modal-content {
        width: 90%;
        margin: 25% auto;
    }

    .modal-body {
        flex-direction: column;
        text-align: center;
    }

    .consultation-title, .phone-number, .working-hours {
        text-align: center;
    }
}