/* ============================================================
   layout.css — 容器、栅格、区块布局
   只放结构性布局：吸顶导航容器、区块容器、栅格排列
   ============================================================ */

/* ---------- 01 顶部导航容器（吸顶） ---------- */
header {
    background: rgba(26, 19, 25, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 70px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    position: relative;
}

/* ---------- 02 区块容器 ---------- */
.rd-section {
    background-color: var(--bg-light);
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 5%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.products {
    background: #F4F1F4;
    min-height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 5%;
    box-sizing: border-box;
}

.wechat-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- 03 栅格 ---------- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: var(--white);
    padding: 18px 15px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    margin-bottom: 18px;
    border-bottom: 3px solid var(--accent-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

/* ---------- 04 宣传素材版块 ---------- */
.promo-banner {
    max-width: 1200px;
    margin: 0 auto;
}

.promo-features {
    max-width: 1060px;
    margin: 28px auto 0;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.promo-feature {
    display: grid;
    grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

/* 偶数行图右文左，形成左右交替 */
.promo-feature:nth-of-type(even) .promo-feature-img {
    order: 2;
}

/* ---------- 05 代理价目表版块 ---------- */
.price-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.price-retail {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1200px;
    margin: 26px auto 0;
}

.price-detail {
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 30px;
    align-items: stretch;
    max-width: 1200px;
    margin: 30px auto 0;
}

/* ---------- 06 合作流程版块 ---------- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.step-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-block {
    max-width: 820px;
    margin: 40px auto 0;
}
