/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局样式 */
body {
    font-family: "Microsoft Yahei", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题样式层级 */
h1 {
    font-size: 24px;
    font-weight: 700;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    margin-bottom: 12px;
    text-align: left;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, #2c8ef8, #1e6fe8);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to right, #1e6fe8, #2c8ef8);
}

/* 通用区块标题 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #2c8ef8, #1e6fe8);
}

.section-title p {
    color: #666;
    font-size: 18px;
    text-align: center;
}

/* 页头样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.header-logo h1 {
    color: #2c8ef8;
    font-size: 22px;
}

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

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

/* 导航菜单 */
.header-nav ul {
    display: flex;
    list-style: none;
}

.header-nav li {
    margin-left: 30px;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-nav a:hover {
    color: #2c8ef8;
}

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

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

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #2c8ef8;
}

.hero-text p {
    font-size: 20px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.hero-btn {
    font-size: 18px;
    padding: 15px 30px;
}

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

.hero-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 介绍区块样式 */
.intro {
    padding: 40px 0 60px;
    background-color: #fff;
}

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

.intro-item {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.intro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

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

/* 下载区块样式 */
.download {
    padding: 60px 0;
    background: linear-gradient(135deg, #e4eaf5 0%, #f5f7fa 100%);
}

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

.download-text {
    flex: 1;
    text-align: center;
}

.download-text h2 {
    color: #2c8ef8;
    margin-bottom: 20px;
}

.download-text p {
    color: #666;
    margin-bottom: 30px;
    text-align: left;
    padding: 0 20px;
}

.download-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
}

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

.apple-btn {
    background: linear-gradient(to right, #666, #333);
}

.android-btn {
    background: linear-gradient(to right, #4caf50, #388e3c);
}

.reg-btn {
    background: linear-gradient(to right, #ff9800, #f57c00);
}

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

.download-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* 文章区块样式 */
.article {
    padding: 60px 0;
    background-color: #eef2f7;
}

.article-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-content h2 {
    text-align: center;
    color: #2c8ef8;
    margin-bottom: 24px;
}

/* 常见问题区块样式 */
.faq {
    padding: 60px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

.faq-question span {
    font-size: 18px;
    font-weight: 500;
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* 优势区块样式 */
.advantage {
    padding: 40px 0 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4eaf5 100%);
}

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

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

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

/* 页尾样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c8ef8;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #2c8ef8;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #2c8ef8;
}

.footer-qrcode img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
}

.footer-links {
    text-align: center;
    margin-bottom: 30px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2c8ef8;
}

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

/* 响应式样式 - 平板（768px以下） */
@media (max-width: 768px) {
    /* 页头 */
    .hamburger {
        display: block;
    }

    .header-nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        transition: left 0.3s ease;
        z-index: 998;
    }

    .header-nav.show {
        left: 0;
    }

    .header-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .header-nav li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
        background-color: #f8f9fa;
        padding-left: 15px;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    /* 横幅 */
    .hero-content {
        flex-direction: column;
    }

    /* 介绍区块 */
    .intro-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 下载区块 */
    .download-content {
        flex-direction: column;
    }

    /* 优势区块 */
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 页尾 */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式样式 - 手机（480px以下） */
@media (max-width: 480px) {
    /* 介绍区块 */
    .intro-grid {
        grid-template-columns: 1fr;
    }

    /* 优势区块 */
    .advantage-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links a {
        display: inline-block;
        margin: 5px 8px;
    }

    /* 下载按钮 */
    .download-btns {
        flex-direction: column;
        align-items: center;
    }
}