/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* 标题样式层级 */
h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 0.6rem;
}

p {
    text-align: left;
    margin-bottom: 1rem;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #4285f4, #3367d6);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, #3367d6, #2850b8);
}

/* 页头样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4285f4;
}

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

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

/* 导航菜单 */
.nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

.nav-item a:hover {
    color: #4285f4;
}

/* 横幅区域 */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
}

.hero-wrap {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-desc {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero-img {
    flex: 1;
}

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

/* 优势区块通用样式 */
.advantages {
    padding: 4rem 0;
}

.section-title {
    color: #222;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.advantage-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.advantage-icon {
    margin-bottom: 1rem;
}

.advantage-title {
    color: #222;
}

.advantage-desc {
    color: #666;
    font-size: 0.95rem;
}

/* 下载区块 */
.download-section {
    padding: 4rem 0;
    background: #f9fafc;
}

.download-wrap {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.download-content {
    flex: 1;
}

.download-title {
    color: #222;
    margin-bottom: 1rem;
}

.download-desc {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.download-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.download-btn {
    gap: 1rem;
    padding: 1rem 2.5rem;
    width: 100%;
    max-width: 280px;
}

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

.download-img {
    flex: 1;
}

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

/* 文章区块 */
.article-section {
    padding: 4rem 0;
}

.article-wrap {
    background: #f0f5ff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.article-title {
    color: #222;
    margin-bottom: 1.5rem;
}

.article-content {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* 常见问题区块 */
.faq-section {
    padding: 4rem 0;
    background: #f5f7fa;
}

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

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9fafc;
}

.faq-question span {
    font-size: 1.05rem;
    font-weight: 500;
    text-align: left;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-answer p {
    padding: 1rem 0;
    color: #666;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* 页尾样式 */
.footer {
    padding: 4rem 0 2rem;
    background: #222;
    color: #fff;
}

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

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

.footer-links a:hover {
    color: #4285f4;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: left;
}

.footer-col-list {
    list-style: none;
    text-align: left;
}

.footer-col-list li {
    margin-bottom: 0.8rem;
}

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

.footer-col-list a:hover {
    color: #4285f4;
}

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

.copyright {
    color: #999;
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .hero-wrap, .download-wrap {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-content, .hero-img, .download-content, .download-img {
        width: 100%;
    }

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

@media (max-width: 768px) {
    /* 汉堡菜单显示 */
    .hamburger {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding: 2rem;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 99;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-item {
        padding: 1rem;
        background: #f5f7fa;
        border-radius: 8px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

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

    .download-btns {
        align-items: center;
    }

    .download-btn {
        max-width: 100%;
    }

    .article-wrap {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.9rem;
    }
}