/* ============ 内页通用样式（/ebagent /agency 等推广分页共用） ============ */

/* Hero 首屏 */
.page-hero {
    width: 100%;
    max-width: 1440px;
    margin: 60px auto 0;
    padding: 70px 20px 60px;
    box-sizing: border-box;
    text-align: center;
}

.page-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero-svg {
    width: 72px;
    height: 72px;
    fill: currentColor;
    color: var(--text-color);
}

.page-hero-title {
    margin-top: 1.2rem;
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--text-color);
}

.page-hero-desc {
    margin-top: 1.2rem;
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--text-color-2);
    text-align: center;
}

.page-hero-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-color-2);
}

/* 通用区块 */
.page-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}

.page-section-alt {
    max-width: none;
    background: var(--bg-2);
    box-shadow: var(--shadow);
}

.page-section-alt>* {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-section-title {
    font-size: 30px;
    font-weight: 300;
    text-align: center;
    color: var(--text-color);
}

.page-section-desc {
    padding: 10px 0 6px;
    text-align: center;
    font-size: 15px;
    color: var(--text-color-2);
}

/* 卡片网格 */
.page-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.page-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px;
    transition: all .3s;
}

.page-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 15px 0 rgba(68, 93, 127, 0.24);
}

.page-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.page-card-desc {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-color-2);
}

/* 架构图 */
.page-arch {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.page-arch-node {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 30px;
    min-width: 260px;
    text-align: center;
}

.page-arch-node-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.page-arch-node-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color-2);
}

.page-arch-arrow {
    font-size: 15px;
    color: var(--text-color-2);
    white-space: nowrap;
}

/* 政策/流程列表 */
.page-list {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.page-list-item {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 18px;
    text-align: center;
}

.page-list-item-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: var(--button-bg-color);
    color: var(--button-text-color);
    font-size: 18px;
    font-weight: 600;
}

.page-list-item-title {
    margin-top: 14px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-color);
}

.page-list-item-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color-2);
}

/* 微信二维码申请块 */
.page-qr {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-qr-img {
    width: 180px;
    height: 180px;
    padding: 10px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.page-qr-img img {
    width: 100%;
    height: 100%;
    display: block;
}

.page-qr-info {
    text-align: left;
    color: var(--text-color-2);
    font-size: 15px;
    line-height: 2;
}

.page-qr-info b {
    color: var(--text-color);
    font-size: 18px;
}

/* 表格（政策对比等） */
.page-table {
    width: 100%;
    margin-top: 24px;
    border-collapse: collapse;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.page-table th,
.page-table td {
    padding: 14px 16px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}

.page-table th {
    background: var(--button-bg-color);
    color: var(--button-text-color);
    font-weight: 600;
}

.page-table td {
    color: var(--text-color-2);
}

.page-table tr:last-child td {
    border-bottom: none;
}

/* 移动端适配 */
@media screen and (max-width: 767px) {
    .page-hero {
        padding: 40px 1rem 30px;
    }

    .page-hero-title {
        font-size: 1.9rem;
    }

    .page-hero-desc {
        font-size: 1rem;
    }

    .page-section {
        padding: 30px 1rem;
    }

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

    .page-grid {
        grid-template-columns: 1fr;
    }

    .page-list {
        grid-template-columns: 1fr 1fr;
    }

    .page-arch {
        flex-direction: column;
    }

    .page-arch-arrow {
        transform: rotate(90deg);
    }

    .page-qr {
        flex-direction: column;
        gap: 20px;
    }

    .page-qr-info {
        text-align: center;
    }

    .page-table {
        display: block;
        overflow-x: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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