/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.6;
    background: #F8F5F0;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    display: block;
}

/* 容器通用 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 999;
}
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 24px;
    font-weight: 600;
    color: #6B5FB0;
}
.nav-menu {
    display: flex;
    gap: 30px;
}
.nav-menu a {
    font-size: 15px;
    color: #333;
    transition: color 0.3s;
}
.nav-menu a:hover,
.nav-menu a.active {
    color: #6B5FB0;
}
.btn-verify {
    background: #6B5FB0;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 20px;
}

/* 首屏Banner */
.banner {
    background: linear-gradient(135deg, #E0DCF5 0%, #D4E4F7 100%);
    padding: 80px 0;
    text-align: center;
}
.banner h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}
.banner p {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}
.banner .compliance-tip {
    font-size: 13px;
    color: #666;
    margin: 20px 0 30px;
}
.banner-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.btn-primary {
    background: #6B5FB0;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    border: none;
    cursor: pointer;
}
.btn-secondary {
    background: #fff;
    color: #6B5FB0;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 15px;
    border: 1px solid #6B5FB0;
    cursor: pointer;
}

/* 通用板块标题 */
.section {
    padding: 70px 0;
}
.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 15px;
}

/* 4列网格通用 */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.grid-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
}
.grid-card h3 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: #333;
}
.grid-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* 科普文章卡片 */
.article-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-card .img-box {
    height: 180px;
    background: #E0DCF5;
}
.article-card .text-box {
    padding: 20px;
}
.article-card h4 {
    font-size: 17px;
    margin-bottom: 10px;
    line-height: 1.5;
}
.article-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.more-btn-wrap {
    text-align: center;
    margin-top: 40px;
}

/* 正品验证板块 */
.verify-section {
    background: #fff;
}
.verify-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: #F8F5F0;
    border-radius: 12px;
    padding: 40px;
}
.verify-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #6B5FB0;
}
.verify-item p {
    color: #555;
    margin-bottom: 20px;
}

/* 底部页脚 */
.footer {
    background: #2D2D2D;
    color: #aaa;
    padding: 50px 0 20px;
    font-size: 14px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}
.footer h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
}
.footer li {
    margin-bottom: 10px;
}
.footer .compliance {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
}

/* 响应式适配 */
@media (max-width: 900px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .verify-box {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .banner h1 {
        font-size: 28px;
    }
}
@media (max-width: 600px) {
    .grid-4,
    .article-list {
        grid-template-columns: 1fr;
    }
    .nav-menu {
        display: none;
    }
}