/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", Arial, sans-serif;
}

/* 全局变量 */
:root {
    --primary-color: #2c68c8;
    --secondary-color: #f5f7fa;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --mobile-menu-bg: #f0f4fc;
}

/* 基础样式 */
body {
    color: var(--text-color);
    background-color: #f9f9f9;
    line-height: 1.6;
    font-size: 16px;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), #4a82e0);
    color: var(--white);
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    font-weight: 500;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

/* 页头样式 */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.header-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-icon {
    width: 30px;
    height: 30px;
}

/* 导航菜单 */
.nav-list {
    display: flex;
    gap: 30px;
}

.nav-item a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-item a:hover::after {
    width: 100%;
}

/* 横幅区域 */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9edf2 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-img {
    flex: 1;
    text-align: right;
}

.hero-img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 优势介绍区块 */
.advantages {
    padding: 80px 0;
    background-color: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantages-card {
    background-color: var(--secondary-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.advantages-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.advantages-icon {
    margin-bottom: 20px;
}

.advantages-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.advantages-card-desc {
    font-size: 14px;
    color: var(--text-light);
    text-align: left;
    line-height: 1.6;
}

/* 下载区块 */
.download {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.download-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-btns {
    flex: 1;
}

.download-desc {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    text-align: left;
}

.download-btn-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

.download-btn img {
    width: 60px;
    height: 60px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    background-color: #f8fbff;
}

.download-img {
    flex: 1;
    text-align: right;
}

.download-img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* 文章区块 */
.article {
    padding: 80px 0;
    background-color: #eef2f8;
}

.article-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    text-align: left;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* 常见问题区块 */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background-color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f8f9fc;
}

.faq-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 优势前景区块 */
.prospect {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.prospect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.prospect-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.prospect-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.prospect-icon {
    margin-bottom: 20px;
}

.prospect-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.prospect-card-desc {
    font-size: 14px;
    color: var(--text-light);
    text-align: left;
    line-height: 1.6;
}

/* 页尾样式 */
.footer {
    background-color: #2a303c;
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.footer-col-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-list a {
    color: #ccc;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col-list a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #999;
}

/* 响应式布局 - 平板（768px） */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-img {
        text-align: center;
        margin-top: 30px;
    }

    .advantages-grid, .prospect-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-content {
        flex-direction: column;
        text-align: center;
    }

    .download-img {
        text-align: center;
        margin-top: 30px;
    }

    .download-btn-group {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式布局 - 手机（767px） */
@media (max-width: 767px) {
    /* 汉堡菜单显示 */
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        right: 0;
        width: 0;
        height: calc(100vh - 70px);
        background-color: var(--mobile-menu-bg);
        overflow: hidden;
        transition: var(--transition);
        z-index: 998;
    }

    .nav.show {
        width: 250px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    .nav-item {
        padding: 15px 10px;
        border-bottom: 1px solid #e0e6f0;
        background-color: var(--white);
        margin-bottom: 5px;
        border-radius: 4px;
    }

    .hero-title {
        font-size: 28px;
    }

    .advantages-grid, .prospect-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-links {
        gap: 15px;
        font-size: 13px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .download-desc {
        text-align: center;
    }

    .article-content {
        padding: 20px;
    }
}

/* 小屏手机（480px） */
@media (max-width: 480px) {
    .header-logo a {
        font-size: 20px;
    }

    .hero {
        padding: 40px 0;
    }

    .advantages, .download, .article, .faq, .prospect {
        padding: 50px 0;
    }

    .download-btn {
        padding: 12px 20px;
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}