/* ==========================================
   基础变量
========================================== */

:root{
    --primary:#2563eb;
    --primary-dark:#1d4ed8;

    --text:#111827;
    --text-light:#6b7280;

    --bg:#ffffff;
    --bg-soft:#f8fafc;

    --border:#e5e7eb;

    --success:#10b981;
    --warning:#f59e0b;

    --radius:16px;
    --shadow:
        0 10px 30px rgba(15,23,42,.06);
}

/* ==========================================
   Reset
========================================== */

.compare-container{
    background:#fff;
    color:var(--text);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        sans-serif;
}

.compare-container *{
    box-sizing:border-box;
}

.compare-container a{
    text-decoration:none;
}

/* ==========================================
   Container
========================================== */

.compare-container,
.container{
    max-width:1200px;
    margin:auto;
    padding:0px;
}

/* ==========================================
   Breadcrumbs
========================================== */

.breadcrumbs{
    padding:18px 0;
    font-size:14px;
}

.breadcrumbs-inner{
    color:#6b7280;
}

.breadcrumbs a{
    color:#6b7280;
}

.breadcrumbs a:hover{
    color:var(--primary);
}

.sep{
    margin:0 8px;
}

/* ==========================================
   HERO
========================================== */

.hero-full{
    width:100vw;
    margin-left:calc(-50vw + 50%);
    position:relative;
    overflow:hidden;

    background:
    radial-gradient(circle at top left,
    rgba(37,99,235,.25),
    transparent 40%),

    radial-gradient(circle at right,
    rgba(59,130,246,.15),
    transparent 40%),

    linear-gradient(
    135deg,
    #07111f,
    #0f172a
    );
}

.hero-full::before{
    content:"";
    position:absolute;
    inset:0;

    background-image:
    linear-gradient(
        rgba(255,255,255,.03) 1px,
        transparent 1px
    ),
    linear-gradient(
        90deg,
        rgba(255,255,255,.03) 1px,
        transparent 1px
    );

    background-size:60px 60px;
}

.hero{
    background:none !important;
    max-width:1200px;
    margin:auto;
    padding:90px 20px;
    text-align:center;
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:48px;
    font-weight:800;
    color:#fff;
    line-height:1.25;
    margin-bottom:18px;
}

.subtitle{
    max-width:760px;
    margin:auto;
    color:rgba(255,255,255,.78);
    font-size:17px;
    line-height:1.8;
}

/* ==========================================
   CTA
========================================== */

.hero-cta{
    margin-top:35px;
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.cta-primary{
    background:var(--primary);
    color:#fff;
    padding:14px 28px;
    border-radius:999px;
    font-weight:700;
    transition:.25s;
}

.cta-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

.cta-secondary{
    border:1px solid rgba(255,255,255,.2);
    color:#fff;
    padding:14px 28px;
    border-radius:999px;
}

.cta-secondary:hover{
    background:rgba(255,255,255,.08);
}

/* ==========================================
   Section
========================================== */

.block,
.section{
    padding:20px 0;
}

.block h2,
.section-title h2{
    font-size:32px;
    font-weight:800;
    margin-bottom:15px;
    color:#0f172a;
}

.section-title{
    text-align:center;
    margin-bottom:40px;
}

.section-title p{
    color:var(--text-light);
    max-width:700px;
    margin:auto;
}

/* ==========================================
   AI BOX
========================================== */

.ai-box{
    background:#eff6ff;
    border:1px solid #bfdbfe;
    border-radius:16px;
    padding:22px;
    margin:25px 0;
}

.ai-box p{
    margin:0;
}

.highlight{
    text-align:center;
}

.formula{
    margin-top:12px;
    font-size:24px;
    font-weight:700;
    color:var(--primary);
}

/* ==========================================
   外汇返佣排行榜
========================================== */

.rebate-rank{
    padding:20px 0;
    background:#fff;
}

.rebate-rank .container{
    max-width:1200px;
    margin:0 auto;
}

/* =========================
   标题
========================= */

.rebate-rank .section-title{
    text-align:center;
    margin-bottom:40px;
}

.rebate-rank .section-title h2{
    font-size:34px;
    font-weight:800;
    color:#111827;
	text-align:center;
    margin:0 0 12px;
    line-height:1.3;
}

.rebate-rank .section-title{
    margin:0;
    color:#6b7280;
    font-size:16px;
	text-align:center;
}

/* =========================
   表格容器
========================= */

.table-wrap{
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #e5e7eb;
    box-shadow:
        0 10px 40px rgba(15,23,42,.06);
    margin-bottom:50px;
}

/* =========================
   表格
========================= */

.rebate-table{
    width:100%;
    border-collapse:collapse;
}

.rebate-table thead{
    background:#0f172a;
}

.rebate-table th{
    color:#fff;
    font-size:14px;
    font-weight:700;
    padding:18px 15px;
    text-align:center;
    letter-spacing:.3px;
}

.rebate-table td{
    padding:18px 15px;
    border-bottom:1px solid #edf2f7;
    text-align:center;
    vertical-align:middle;
    font-size:15px;
    color:#1f2937;
}

.rebate-table tbody tr{
    transition:.25s;
}

.rebate-table tbody tr:hover{
    background:#f8fafc;
}

.rebate-table tbody tr:last-child td{
    border-bottom:none;
}

/* =========================
   排名
========================= */

.rebate-table tbody td:first-child{
    font-size:20px;
    font-weight:800;
    color:#111827;
    width:70px;
}

.rebate-table tbody tr:nth-child(1) td:first-child{
    color:#f59e0b;
}

.rebate-table tbody tr:nth-child(2) td:first-child{
    color:#64748b;
}

.rebate-table tbody tr:nth-child(3) td:first-child{
    color:#d97706;
}

/* =========================
   平台名称
========================= */

.broker-name{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.broker-name img{
    width:34px;
    height:34px;
    border-radius:50%;
    object-fit:cover;
    border:1px solid #e5e7eb;
    background:#fff;
}

.broker-name span{
    font-weight:700;
    color:#111827;
}

/* =========================
   标签
========================= */

.tag{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:24px;
    padding:0 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
}

.tag.top{
    background:#fef3c7;
    color:#b45309;
}

.tag.hot{
    background:#fee2e2;
    color:#dc2626;
}

.tag.newbie{
    background:#dbeafe;
    color:#2563eb;
}

/* =========================
   开户按钮
========================= */

.table-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
    background:linear-gradient(
        135deg,
        #2563eb,
        #1d4ed8
    );
    transition:.25s;
}

.table-btn:hover{
    transform:translateY(-2px);
    box-shadow:
        0 10px 20px rgba(37,99,235,.25);
}

/* =========================
   介绍区
========================= */

.broker-rank-content{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(340px,1fr));
    gap:24px;
}

/* =========================
   卡片
========================= */

.rank-snippet{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    padding:28px;
    transition:.25s;
    position:relative;
    overflow:hidden;
}

.rank-snippet:before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:
    linear-gradient(
        90deg,
        #2563eb,
        #06b6d4
    );
}

.rank-snippet:hover{
    transform:translateY(-5px);
    box-shadow:
        0 20px 40px rgba(15,23,42,.08);
}

.rank-snippet h3{
    margin:0 0 16px;
    font-size:22px;
    font-weight:800;
    color:#111827;
    line-height:1.4;
}

.rank-snippet p{
    margin:0;
    color:#4b5563;
    line-height:1.9;
    font-size:15px;
}

/* =========================
   开户按钮
========================= */

.broker-open-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:20px;
    padding:12px 22px;
    border-radius:12px;
    text-decoration:none;
    font-weight:700;
    color:#fff;
    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e293b
    );
    transition:.25s;
}

.broker-open-btn:hover{
    transform:translateY(-2px);
    box-shadow:
        0 10px 24px rgba(15,23,42,.18);
}

/* =========================
   无数据
========================= */

.no-data{
    text-align:center;
    padding:60px 20px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:18px;
    color:#64748b;
}

/* =========================
   手机端
========================= */

@media (max-width:768px){

    .rebate-rank{
        padding:50px 0;
    }

    .rebate-rank .section-title h2{
        font-size:26px;
    }

    .table-wrap{
        overflow-x:auto;
        border-radius:16px;
    }

    .rebate-table{
        min-width:900px;
    }

    .broker-rank-content{
        grid-template-columns:1fr;
        gap:18px;
    }

    .rank-snippet{
        padding:22px;
    }

    .rank-snippet h3{
        font-size:20px;
    }
}

/* =====================
   Risk Section
===================== */

.risk-section{
    margin:20px 0;
}

.risk-section h2{
    text-align:center;
}

.section-intro{
    text-align:center;
    max-width:900px;
    margin:0 auto 40px;
    color:#64748b;
    line-height:1.8;
}

.risk-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:30px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.risk-card h3{
    margin:0 0 18px;
    font-size:22px;
    color:#0f172a;
}

.regulation-table{
    overflow-x:auto;
}

.regulation-table table{
    width:100%;
    border-collapse:collapse;
}

.regulation-table th{
    background:#0f172a;
    color:#fff;
    padding:14px;
    font-size:14px;
}

.regulation-table td{
    padding:14px;
    border-bottom:1px solid #e5e7eb;
    text-align:center;
}

.verify-box{
    background:#f8fafc;
    border-left:4px solid #2563eb;
    padding:20px;
    border-radius:12px;
    margin-top:20px;
}

.verify-box h4{
    margin-bottom:12px;
    color:#1e40af;
}

.verify-box ol{
    margin:0;
    padding-left:20px;
}

.verify-box li{
    margin-bottom:10px;
}

.safe-list,
.danger-list{
    margin:0;
    padding-left:20px;
}

.safe-list li{
    margin-bottom:12px;
    color:#166534;
}

.danger-list li{
    margin-bottom:12px;
    color:#b91c1c;
    font-weight:600;
}

.danger-card{
    border:1px solid #fecaca;
    background:#fff7f7;
}

.decision-box{
    background:linear-gradient(
        135deg,
        #eff6ff,
        #ffffff
    );
    border:1px solid #bfdbfe;
    border-radius:16px;
    padding:30px;
    margin-top:30px;
}

.decision-box h3{
    color:#1d4ed8;
    margin-bottom:20px;
}

.decision-box ul{
    margin:0;
    padding-left:20px;
}

.decision-box li{
    margin-bottom:14px;
    line-height:1.8;
}

@media(max-width:768px){

    .risk-card{
        padding:22px;
    }

    .risk-card h3{
        font-size:20px;
    }

}

/* ==========================================
   Ranking Table
========================================== */

.table-wrap{
    overflow:auto;
    background:#fff;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.rebate-table{
    width:100%;
    border-collapse:collapse;
}

.rebate-table thead{
    background:#0f172a;
}

.rebate-table th{
    color:#fff;
    padding:18px;
    font-size:14px;
    text-align:center;
}

.rebate-table td{
    padding:18px;
    text-align:center;
    border-bottom:1px solid #f1f5f9;
}

.rebate-table tbody tr:hover{
    background:#f8fafc;
}

.broker-name{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.broker-name img{
    border-radius:50%;
}

/* ==========================================
   Tags
========================================== */

.tag{
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
}

.top{
    background:#fef3c7;
    color:#92400e;
}

.hot{
    background:#dbeafe;
    color:#1e40af;
}

.newbie{
    background:#dcfce7;
    color:#166534;
}

/* ==========================================
   Buttons
========================================== */

.table-btn,
.broker-open-btn{
    display:inline-block;
    background:var(--primary);
    color:#fff;
    padding:10px 18px;
    border-radius:10px;
    font-weight:700;
    transition:.25s;
}

.table-btn:hover,
.broker-open-btn:hover{
    background:var(--primary-dark);
}

/* ==========================================
   Rank Content
========================================== */

.broker-rank-content{
    margin-top:40px;
    display:grid;
    gap:24px;
}

.rank-snippet{
    background:#fff;
    border:1px solid var(--border);
    border-radius:16px;
    padding:28px;
    box-shadow:var(--shadow);
}

.rank-snippet h3{
    margin-bottom:14px;
    font-size:22px;
}

/* ==========================================
   Compare Table
========================================== */

.compare-table{
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
}

.compare-table .row{
    display:grid;
    grid-template-columns:1fr 2fr 1.5fr;
}

.compare-table .row > div{
    padding:18px;
    border-bottom:1px solid var(--border);
}

.compare-table .header{
    background:#f8fafc;
    font-weight:700;
}

/* ==========================================
   Steps
========================================== */

.steps{
    list-style:none;
    margin:40px 0 0;
    padding:0;
}

.steps li{
    display:flex;
    gap:24px;
    padding:26px;
    margin-bottom:20px;

    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;

    box-shadow:var(--shadow);
}

.step-num{
    min-width:64px;
    width:64px;
    height:64px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );

    color:#fff;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:800;
    font-size:20px;
}

.step-content h3{
    margin:0 0 8px;
}

.step-content p{
    margin:0;
    color:#6b7280;
}

/* =========================
   FAQ SECTION - 外汇返佣风格
========================= */

.faq-section{
    padding: 80px 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
}

.faq-section .section-title{
    text-align: center;
    margin-bottom: 50px;
}

.faq-section .section-title h2{
    font-size: 30px;
    font-weight: 700;
    color: #1b1f2a;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.faq-section .section-title p{
    font-size: 15px;
    color: #6b7280;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

/* =========================
   FAQ 容器
========================= */

.faq{
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   FAQ Item 卡片
========================= */

.faq-item{
    background: #ffffff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 16px;

    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: all 0.25s ease;
    position: relative;
}

/* hover 提升质感 */
.faq-item:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
    border-color: #dbe6f5;
}

/* =========================
   问题标题
========================= */

.faq-item h3{
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.5;

    display: flex;
    align-items: flex-start;
}

/* Q 标识 */
.faq-item h3::before{
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;
    border-radius: 6px;

    background: #2563eb;
    color: #fff;
    font-size: 12px;
    font-weight: 700;

    margin-right: 10px;
    flex-shrink: 0;
}

/* =========================
   答案内容
========================= */

.faq-item p{
    font-size: 14px;
    color: #4b5563;
    line-height: 1.75;
    margin: 0;
}

/* 强调文字 */
.faq-item p strong{
    color: #111827;
    font-weight: 600;
}

/* 换行列表优化 */
.faq-item p br{
    line-height: 2;
}

/* =========================
   FAQ 层级优化（视觉节奏）
========================= */

.faq-item:nth-child(odd){
    background: #ffffff;
}

.faq-item:nth-child(even){
    background: #fbfdff;
}

/* =========================
   移动端优化
========================= */

@media (max-width: 768px){

    .faq-section{
        padding: 50px 0;
    }

    .faq-section .section-title h2{
        font-size: 24px;
    }

    .faq-item{
        padding: 18px 16px;
        border-radius: 12px;
    }

    .faq-item h3{
        font-size: 15px;
    }

    .faq-item p{
        font-size: 13.5px;
    }
}

/* ==========================================
   Mobile
========================================== */

@media (max-width:768px){

    .hero{
        padding:70px 20px;
    }

    .hero h1{
        font-size:30px;
    }

    .subtitle{
        font-size:15px;
    }

    .grid-2,
    .grid-3{
        grid-template-columns:1fr;
    }

    .compare-table .row{
        grid-template-columns:1fr;
    }

    .steps li{
        flex-direction:column;
        gap:16px;
    }

    .step-num{
        width:56px;
        height:56px;
        min-width:56px;
    }
}

/* =========================
相关链接模块（broker-related）
========================= */
.broker-related {
    margin-top: 10px;
    padding: 10px 10px;
    background: linear-gradient(135deg, #0f172a, #111827);
    border-radius: 14px;
    color: #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.06);
}

/* 标题 */
.broker-related h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
    position: relative;
    padding-left: 12px;
}

/* 左侧强调线 */
.broker-related h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 18px;
    background: #3b82f6;
    border-radius: 2px;
}

/* shortcode 输出的链接容器 */
.broker-related ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 每一条链接 */
.broker-related li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all 0.2s ease;
}

/* hover 效果 */
.broker-related li:hover {
    background: rgba(255,255,255,0.03);
    padding-left: 6px;
}

/* 链接样式 */
.broker-related a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    display: inline-block;
    transition: color 0.2s ease;
}

/* hover 高亮 */
.broker-related a:hover {
    color: #60a5fa;
}

/* 强化“标题型链接”（很多三元标题会用 strong） */
.broker-related strong {
    color: #ffffff;
    font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
    .broker-related {
        padding: 18px;
        border-radius: 10px;
    }

    .broker-related h2 {
        font-size: 16px;
    }

    .broker-related a {
        font-size: 13px;
    }
}