/* =========================
   Base
========================= */
body .broker-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #222;
    line-height: 1.7;
    background: #f6f8fc;
}

.broker-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   HERO
========================= */
.broker-hero {
    background: #ffffff;
    padding: 40px 0;
    border-radius: 14px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.broker-header {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.broker-logo {
    width: 140px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #eee;
    padding: 6px;
    background: #fff;
}

.broker-title h1 {
    font-size: 28px;
    font-weight: 800;
    margin: 0;
    color: #111;
}

.broker-summary {
    margin-top: 8px;
    color: #666;
    font-size: 15px;
}

/* =========================
   TOP BAR（核心优化）
========================= */
.broker-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 左侧返佣信息 */
.broker-rebate-data {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.broker-rebate-data span {
    background: linear-gradient(135deg, #eef4ff, #f7f9ff);
    border: 1px solid #e3e9ff;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

/* 右侧 CTA */
.broker-cta {
    margin-left: auto;
}

.btn-cta {
    display: inline-block;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1a73e8, #0d5ed7);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 16px rgba(26,115,232,0.25);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26,115,232,0.35);
}

/* =========================
   SECTIONS
========================= */
.broker-rebate,
.broker-page-content,
.broker-faq,
.broker-related,
.author-bio {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

h2 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 18px;
    padding-left: 10px;
    border-left: 4px solid #1a73e8;
    color: #111;
}

/* =========================
   TABLE
========================= */
.rebate-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 10px;
}

.rebate-table th,
.rebate-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.rebate-table th {
    width: 35%;
    background: #f8faff;
    font-weight: 700;
    color: #333;
}

.rebate-table td {
    color: #111;
    font-weight: 500;
}

.rebate-table tr:hover {
    background: #fafcff;
}

/* =========================
   CONTENT
========================= */
.broker-page-content p {
    margin-bottom: 12px;
    color: #444;
}

/* =========================
   AUTHOR
========================= */
.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info strong {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.author-info p {
    margin: 6px 0;
    color: #666;
}

.author-info a {
    color: #1a73e8;
    font-weight: 600;
    text-decoration: none;
}

/* =========================
   LINKS
========================= */
.broker-related a {
    color: #1a73e8;
    text-decoration: none;
}

.broker-related a:hover {
    text-decoration: underline;
}

/* =========================
   MOBILE (重点优化转化)
========================= */
@media (max-width: 768px) {

    .broker-header {
        flex-direction: column;
        text-align: center;
    }

    .broker-top-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .broker-rebate-data {
        justify-content: center;
    }

    .broker-cta {
        margin-left: 0;
    }

    .btn-cta {
        width: 100%;
        text-align: center;
    }

    .broker-logo {
        width: 110px;
    }

    .rebate-table th {
        width: auto;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }
}