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

/* 基础样式 */
body {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    background-color: #f9fafc;
}

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

/* 标题样式 */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.section-title h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4e6ef2, #6887ff);
    border-radius: 3px;
}

.section-title .subtitle {
    font-size: 16px;
    color: #666;
}

/* 按钮通用样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    background: linear-gradient(to right, #4e6ef2, #6887ff);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(78, 110, 242, 0.2);
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(78, 110, 242, 0.3);
    background: linear-gradient(to right, #3e5ed2, #5877ef);
}

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

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #4e6ef2;
    text-decoration: none;
}

/* 桌面端导航 */
.nav-desktop ul {
    display: flex;
    list-style: none;
}

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

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

.nav-desktop a:hover {
    color: #4e6ef2;
}

/* 移动端汉堡菜单 */
.hamburger-btn {
    display: none;
    cursor: pointer;
}

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

.nav-mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

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

.nav-mobile-close {
    text-align: right;
    margin-bottom: 30px;
    cursor: pointer;
}

.nav-mobile ul {
    list-style: none;
}

.nav-mobile li {
    margin-bottom: 15px;
    background-color: #f5f7ff;
    padding: 12px 15px;
    border-radius: 6px;
}

.nav-mobile a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

.nav-mobile a:hover {
    color: #4e6ef2;
}

/* 横幅区域样式 */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
}

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

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

.hero-title {
    font-size: 36px;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

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

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

/* 彩店助手优势区块 */
.advantages {
    padding: 80px 0;
    background-color: #fff;
}

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

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

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

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

.advantage-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 15px;
}

.advantage-desc {
    font-size: 14px;
    color: #666;
    text-align: left;
    line-height: 1.6;
}

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

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

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

.download-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.download-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.download-btn {
    width: 220px;
    padding: 15px 20px;
    gap: 10px;
}

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

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

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

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

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

.article-content p {
    margin-bottom: 20px;
    color: #555;
    text-align: left;
    line-height: 1.8;
}

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

/* 常见问题区块样式 */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7ff 0%, #eef1ff 100%);
}

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

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

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #222;
}

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

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    display: none;
    text-align: left;
}

.faq-answer.active {
    display: block;
}

/* 门店助手优势前景区块 */
.store-prospects {
    padding: 80px 0;
    background-color: #fff;
}

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

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

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

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

.prospect-title {
    font-size: 18px;
    color: #222;
    margin-bottom: 15px;
}

.prospect-desc {
    font-size: 14px;
    color: #666;
    text-align: left;
    line-height: 1.6;
}

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

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

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

.footer-links a:hover {
    color: #4e6ef2;
}

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

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

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

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

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

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

.footer-col a:hover {
    color: #4e6ef2;
}

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

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

/* 响应式适配 */
@media (max-width: 992px) {
    /* 导航适配 */
    .nav-desktop {
        display: none;
    }
    .hamburger-btn {
        display: block;
    }

    /* 横幅适配 */
    .hero-inner {
        flex-direction: column;
    }
    .hero-title {
        font-size: 30px;
    }

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

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

    /* 门店助手前景适配 */
    .prospects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 576px) {
    /* 优势区块适配 */
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    /* 门店助手前景适配 */
    .prospects-grid {
        grid-template-columns: 1fr;
    }

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

    /* 文章区块适配 */
    .article-content {
        padding: 20px;
    }

    /* 按钮适配 */
    .download-btn {
        width: 180px;
        padding: 12px 15px;
    }

    /* 标题适配 */
    .section-title h2 {
        font-size: 24px;
    }
}