/* ==================== 跨浏览器CSS重置 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 所有文字统一字体家族，避免浏览器差异 */
html, body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-size-adjust: 100%;
}

/* 统一标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

/* 统一图片 */
img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

/* 统一链接 */
a {
    color: inherit;
    text-decoration: none;
}

/* 统一列表 */
ul, ol {
    list-style: none;
}

/* 统一输入框 */
input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
}

/* ==================== 颜色变量（蓝色主题） ==================== */
:root {
    --primary: #1b5fa8;
    --primary-light: #2563b0;
    --primary-dark: #0d3a6e;
    --primary-bg: #e8f0fa;
    --primary-bg2: #f0f5fc;
    --primary-bg3: #f5f8fd;
    --accent: #e67e22;
    --accent-hover: #d35400;
    --text: #222222;
    --text-light: #555555;
    --text-muted: #888888;
    --border: #dce3ef;
    --white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.25s ease;
}

/* ==================== 通用布局 ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 28px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230,126,34,0.35);
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    /* 字号放大 */
    height: 60px;
    width: auto;
}

.company-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.company-line1 {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    white-space: nowrap;
}

.company-line2 {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-menu .btn-buy {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius);
    border-bottom: none !important;
    font-size: 15px;
    font-weight: 600;
}

.nav-menu .btn-buy:hover {
    background: var(--accent-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
}

.mobile-menu {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 12px 24px 20px;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.mobile-menu .mobile-buy {
    display: inline-block;
    margin-top: 12px;
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: var(--radius);
    border-bottom: none;
}

/* ==================== Hero首屏 ==================== */
.hero {
    position: relative;
    padding-top: 72px;
    min-height: 100vh;
    background: linear-gradient(150deg, #e8f0fa 0%, #d4e2f5 50%, #c8d8ee 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(27,95,168,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 40px;
    padding-bottom: 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    padding: 20px 0;
}

.hero-text h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-text h2 {
    font-size: 36px;
    color: var(--primary-dark);
    margin-bottom: 16px;
    text-align: left;
    font-weight: 700;
}

.hero-slogan {
    font-size: 22px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 28px;
}

.hero-price {
    margin-bottom: 28px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hero-price .price-label {
    font-size: 15px;
    color: var(--text-muted);
}

.hero-price .price-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
}

.hero-price .price-unit {
    font-size: 15px;
    color: var(--text-muted);
}

.hero-btn {
    font-size: 16px;
    padding: 14px 40px;
}

/* 海报轮播 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.poster-carousel {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.poster-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 1279 / 1741;
}

.poster-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.poster-slide.active {
    opacity: 1;
}

.poster-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.poster-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.92);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.poster-btn:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.poster-prev { left: 10px; }
.poster-next { right: 10px; }

.poster-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.poster-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.3);
}

.poster-dots .dot.active {
    background: var(--accent);
    border-color: var(--white);
}

/* ==================== 痛点共鸣 ==================== */
.pain-points {
    background: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pain-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--primary-bg2);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.pain-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: var(--primary);
    color: var(--white);
}

.pain-item:hover h3,
.pain-item:hover p {
    color: var(--white);
}

.pain-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.pain-item h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.pain-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ==================== 产品展示 ==================== */
.product {
    background: var(--primary-bg3);
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-image-main {
    display: flex;
    justify-content: center;
}

.product-image-main img {
    max-width: 100%;
    max-height: 420px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.product-info h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.product-en {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.product-specs {
    margin-bottom: 28px;
}

.spec-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.spec-label {
    width: 72px;
    font-size: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.spec-value {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

.current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-right: 20px;
}

/* ==================== 核心成分 ==================== */
.ingredients {
    background: var(--white);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ingredient-item {
    text-align: center;
    padding: 36px 20px;
    background: var(--primary-bg2);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.ingredient-item:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.ingredient-item:hover h3,
.ingredient-item:hover p {
    color: var(--white);
}

.ingredient-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.ingredient-item h3 {
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.ingredient-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ==================== 品牌故事 ==================== */
.brand-story {
    background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
}

.brand-story h2 {
    color: var(--white);
}

.story-content {
    max-width: 820px;
    margin: 0 auto;
}

.story-intro {
    font-size: 18px;
    color: #a8c8f0;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.8;
}

.story-text p {
    font-size: 15px;
    color: #d8e8f8;
    margin-bottom: 20px;
    line-height: 1.9;
}

.story-text strong {
    color: var(--white);
    font-weight: 600;
}

.story-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 14px;
    color: #a8c8f0;
}

/* ==================== 招募代理 ==================== */
.recruit-section {
    background: var(--primary-bg2);
}

.recruit-poster {
    max-width: 560px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.recruit-poster img {
    width: 100%;
    display: block;
}

.recruit-info {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.recruit-info > p {
    font-size: 15px;
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.7;
}

.adv-title {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 12px;
}

.recruit-list {
    list-style: none;
    text-align: left;
    max-width: 580px;
    margin: 0 auto 32px;
    padding: 24px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.recruit-list li {
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

.recruit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 16px;
    top: 10px;
}

/* ==================== CTA ==================== */
.cta-section {
    background: var(--white);
}

.cta-content {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 14px;
}

.cta-content > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 28px;
}

.cta-price {
    margin-bottom: 28px;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}

.cta-price .price-label {
    font-size: 15px;
    color: var(--text-muted);
}

.cta-price .price-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--accent);
}

.cta-price .price-unit {
    font-size: 15px;
    color: var(--text-muted);
}

.cta-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== 页脚 ==================== */
footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 64px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-logo-box {
    display: inline-block;
    background: var(--white);
    padding: 10px 18px;
    border-radius: var(--radius);
}

.footer-logo {
    height: 48px;
    display: block;
}

.footer-brand > p {
    font-size: 14px;
    color: #a8c8f0;
    margin-top: 14px;
}

.footer-contact h4 {
    font-size: 17px;
    color: var(--white);
    margin-bottom: 18px;
    font-weight: 600;
}

.footer-contact p {
    font-size: 14px;
    color: #a8c8f0;
    margin-bottom: 8px;
    line-height: 1.6;
}

.contact-phone {
    font-size: 16px !important;
    color: var(--white) !important;
    font-weight: 600;
    margin-top: 12px !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.footer-bottom p {
    font-size: 13px;
    color: #7ba8d8;
}

/* ==================== 回到顶部 ==================== */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
    line-height: 1;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ==================== 浮动购买按钮 ==================== */
.float-buy {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: var(--accent);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(230,126,34,0.4);
    transition: var(--transition);
    z-index: 999;
}

.float-buy:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,126,34,0.5);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
    .company-info {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

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

    .hero-price {
        justify-content: center;
    }

    .poster-carousel {
        max-width: 320px;
        margin: 0 auto;
    }

    .product-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

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

    .story-stats {
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    section {
        padding: 60px 0;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 36px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-container {
        height: 60px;
    }

    .hero {
        padding-top: 60px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-slogan {
        font-size: 18px;
    }

    .hero-price .price-value {
        font-size: 32px;
    }

    .pain-grid,
    .ingredients-grid {
        grid-template-columns: 1fr;
    }

    .story-stats {
        flex-direction: column;
        gap: 20px;
    }

    .back-to-top {
        bottom: 80px;
        right: 16px;
    }

    .float-buy {
        left: 16px;
        right: 16px;
        bottom: 16px;
        text-align: center;
    }
}
