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

/* 全局基础样式 */
body {
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    text-align: center; /* 全局文字居中 */
    background-color: #f9f9f9;
}

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

/* 通用区块标题样式 */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

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

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* 通用按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

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

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

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

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

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

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #4a90e2;
}

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

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

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

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

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

.hero-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
}

.hero-btn {
    background: linear-gradient(to right, #4a90e2, #5cb85c);
    font-size: 18px;
    padding: 14px 32px;
    border-radius: 50px;
}

.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.15);
}

/* 公司简介图文区块 */
.intro {
    padding: 0 0 80px;
}

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

.intro-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.intro-card-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.intro-card-content {
    padding: 20px;
    text-align: left;
}

.intro-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
}

.intro-card-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 门店助手下载区块 */
.download {
    padding: 80px 0;
    background-color: #f0f5f9;
    margin-bottom: 80px;
}

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

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

.download-desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.7;
}

.download-btns {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 300px;
}

.download-btn {
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    justify-content: flex-start;
    padding: 16px 20px;
    border-radius: 10px;
}

.download-btn .btn-icon {
    margin-right: 15px;
}

.download-btn .btn-text {
    font-size: 18px;
}

.apple-btn:hover {
    background: #f8f8f8;
    border-color: #4a90e2;
    color: #4a90e2;
}

.android-btn:hover {
    background: #f8f8f8;
    border-color: #5cb85c;
    color: #5cb85c;
}

.reg-btn:hover {
    background: #f8f8f8;
    border-color: #f0ad4e;
    color: #f0ad4e;
}

.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.15);
}

/* 门店助手折叠区块 */
.assistant-intro {
    padding: 0 0 80px;
}

.collapse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px 0;
    border-bottom: 1px solid #e0e0e0;
}

.collapse-icon {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease;
}

.collapse-content {
    padding: 20px 0;
    text-align: left;
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    display: none;
}

.collapse-content.active {
    display: block;
}

.collapse-icon.rotate {
    transform: rotate(180deg);
}

/* 常见问题占位 */
.faq-placeholder {
    padding: 0 0 40px;
}

/* 关注我们&APP下载区块 */
.follow-download {
    padding: 40px 0 80px;
    background-color: #fff;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

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

.block-title {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.qrcode-img {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.app-download-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-btn {
    background: linear-gradient(to right, #4a90e2, #5cb85c);
    justify-content: flex-start;
    padding: 12px 20px;
    width: 200px;
}

.app-icon {
    margin-right: 10px;
}

.app-text {
    font-size: 16px;
}

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

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

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

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

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

.footer-item {
    margin-bottom: 12px;
}

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

.footer-link:hover {
    color: #4a90e2;
}

.footer-extra {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.extra-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 30px;
}

.extra-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.extra-link:hover {
    color: #4a90e2;
}

.footer-copyright {
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #999;
    font-size: 14px;
}

/* 响应式适配 - 平板（768px） */
@media (max-width: 768px) {
    /* 页头汉堡菜单 */
    .hamburger {
        display: block;
    }

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

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

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

    .nav-item {
        padding: 10px 15px;
        background-color: #f5f5f5;
        border-radius: 8px;
    }

    /* 横幅区域 */
    .hero-inner {
        flex-direction: column;
    }

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

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

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

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

    .download-btns {
        max-width: 100%;
        align-items: center;
    }

    /* 关注我们&APP下载 */
    .follow-download-inner {
        flex-direction: column;
    }

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

    .extra-list {
        flex-wrap: wrap;
        gap: 20px;
    }
}

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

    /* 页尾 */
    .footer-main {
        grid-template-columns: 1fr;
    }

    /* 字体适配 */
    .hero-title {
        font-size: 28px;
    }

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