/* =========================
  2026 外汇返佣决策中心 UI（白底内容版）
========================= */

/* ========== 基础 ========== */

:root {
    --bg-dark: #0b1220;
    --primary: #2563eb;
    --text: #0f172a;
    --muted: #475569;
    --border: #e5e7eb;
    --card: #ffffff;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.7;
}

main.forex-rebate {
    width: 100%;
}

/* ========== container ========== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

.breadcrumbs {
    font-size: 13px;
    color: #777;
    margin: 15px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list a {
    color: #666;
    text-decoration: none;
    transition: 0.2s;
}

.breadcrumb-list a:hover {
    color: #0a66c2;
    text-decoration: underline;
}

.breadcrumb-list .sep {
    color: #aaa;
}

.breadcrumb-list .current {
    color: #111;
    font-weight: 500;
}

/* =========================
  HERO（唯一深色区域）
========================= */

.broker-hero {
    width: 100%;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,0.25), transparent 45%),
        linear-gradient(135deg, #0b1220, #0f1b2d);
    color: #fff;
    padding: 90px 0 60px;
    text-align: center;
}

.broker-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.broker-subtitle {
    max-width: 780px;
    margin: 0 auto 26px;
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
}

/* CTA */

.broker-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.15);
}

/* =========================
  白底统一区块
========================= */

.section {
    padding: 70px 0;
    background: #ffffff;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #0f172a;
}

/* =====================================================
什么是外汇返佣（知识解释区）
===================================================== */

.what-is-rebate {
    background: #ffffff; /* 保持白底，增强信息权重 */
    padding: 60px 20px;
    font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.what-is-rebate .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 标题（信息层级清晰） */
.what-is-rebate h2 {
    font-size: 1.9rem;
	text-align:center;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    position: relative;
    padding-left: 14px;
}

/* 左侧强调线（知识块标识） */
.what-is-rebate h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 70%;
    background: #0073e6;
    border-radius: 2px;
}

/* 段落（定义内容强化可读性） */
.what-is-rebate p {
    font-size: 1.1rem;
    line-height: 1.8;
	text-align:center;
    color: #374151;
    margin-bottom: 20px;
}

/* 列表容器（卡片化处理） */
.what-is-rebate ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 列表项（卡片式信息点） */
.what-is-rebate ul li {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
    color: #1f2937;
    position: relative;
    padding-left: 36px;
    transition: all 0.2s ease;
}

/* 左侧小点强化（信息结构） */
.what-is-rebate ul li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    top: 14px;
    color: #0073e6;
    font-weight: bold;
}

/* hover 轻微提升交互感 */
.what-is-rebate ul li:hover {
    background: #eef6ff;
    border-color: #cfe3ff;
    transform: translateY(-1px);
}

/* =========================
移动端优化
========================= */
@media (max-width: 768px) {

    .what-is-rebate {
        padding: 40px 15px;
    }

    .what-is-rebate h2 {
        font-size: 1.5rem;
    }

    .what-is-rebate p {
        font-size: 1rem;
    }

    .what-is-rebate ul li {
        font-size: 0.95rem;
        padding: 12px 14px 12px 34px;
    }
}


/* =====================================================
热门返佣平台对比区
===================================================== */

.top-platforms {
    background: #f9fafb;
    padding: 60px 20px;
    font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

.top-platforms .container {
    max-width: 1200px;
    margin: 0 auto;
}

.top-platforms h2 {
    font-size: 1.9rem;
	text-align:center;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    position: relative;
    padding-left: 14px;
}

.top-platforms h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 70%;
    background: #0073e6;
    border-radius: 2px;
}

.top-platforms p {
    font-size: 1.1rem;
	text-align:center;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 30px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    text-align: center;
    font-size: 1rem;
    color: #1f2937;
}

.compare-table th {
    background: #e0f2ff;
    font-weight: 600;
}

.compare-table td a.btn-link {
    display: inline-block;
    background: #0073e6;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.compare-table td a.btn-link:hover {
    background: #005bb5;
}

.compare-note {
    font-size: 0.95rem;
    color: #6b7280;
    margin-top: 15px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .top-platforms h2 {
        font-size: 1.6rem;
    }

    .top-platforms p {
        font-size: 1rem;
    }

    .compare-table th,
    .compare-table td {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

/* =====================================================
外汇返佣计算器模块
===================================================== */
.rebate-calculator {
    background: #f5f7fa;
    padding: 60px 20px;
    font-family: "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}

.rebate-calculator .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.rebate-calculator h2 {
    font-size: 1.9rem;
	text-align:center;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
}

.rebate-calculator p {
    font-size: 1.05rem;
	text-align:center;
    color: #374151;
    margin-bottom: 30px;
}

.calculator-box {
    background: #ffffff;
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1f2937;
}

.input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
}

button.btn-primary {
    background: #0073e6;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

button.btn-primary:hover {
    background: #005bb5;
}

.calculator-result {
    margin-top: 20px;
    font-size: 1.1rem;
    color: #111827;
}

.calculator-result p {
    margin: 5px 0;
}

/* 移动端自适应 */
@media (max-width: 600px) {
    .calculator-box {
        padding: 20px 15px;
    }
    .rebate-calculator h2 {
        font-size: 1.6rem;
    }
}

/* =====================================================
如何选择可靠的外汇返佣平台
===================================================== */

.choose-broker{
    background:#fff;
    padding:70px 0;
}

.choose-broker .container{
    max-width:1200px;
    margin:0 auto;
}

.choose-broker h2{
    font-size:32px;
	text-align:center;
    font-weight:700;
    color:#111827;
    margin-bottom:20px;
    line-height:1.3;
}

.choose-intro{
    font-size:16px;
	text-align:center;
    color:#4b5563;
    line-height:1.8;
    margin-bottom:35px;
}

.choose-list{
    margin:0;
    padding:0;
    counter-reset:item;
}

.choose-list li{
    list-style:none;
    position:relative;
    padding:22px 24px 22px 80px;
    margin-bottom:18px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    transition:.3s;
}

.choose-list li:hover{
    border-color:#2563eb;
    box-shadow:0 8px 24px rgba(37,99,235,.08);
}

.choose-list li::before{
    counter-increment:item;
    content:counter(item);
    position:absolute;
    left:24px;
    top:20px;
    width:36px;
    height:36px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    font-weight:700;
    text-align:center;
    line-height:36px;
    font-size:16px;
}

.choose-list strong{
    display:block;
    font-size:18px;
    color:#111827;
    margin-bottom:8px;
}

.choose-list span{
    display:block;
    color:#6b7280;
    line-height:1.7;
    font-size:15px;
}

.choose-summary{
    margin-top:30px;
    padding:20px 24px;
    background:#f8fafc;
    border-left:4px solid #2563eb;
    border-radius:10px;
    color:#374151;
    line-height:1.8;
}

@media (max-width:768px){

    .choose-broker{
        padding:50px 0;
    }

    .choose-broker h2{
        font-size:26px;
    }

    .choose-list li{
        padding:18px 18px 18px 70px;
    }

    .choose-list strong{
        font-size:16px;
    }
}

/* =====================================
热门返佣专区
===================================== */

.broker-grid-section{
    padding:70px 0;
    background:#fff;
}

.broker-grid-section h2{
    text-align:center;
    font-size:34px;
    font-weight:700;
    margin-bottom:15px;
    color:#111827;
}

.broker-grid-desc{
    text-align:center;
    max-width:760px;
    margin:0 auto 40px;
    color:#6b7280;
    line-height:1.8;
}

.broker-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:20px;
}

.broker-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:24px;
    text-align:center;
    text-decoration:none;
    transition:.3s;
}

.broker-card:hover{
    transform:translateY(-4px);
    border-color:#2563eb;
    box-shadow:0 10px 30px rgba(37,99,235,.12);
}

.broker-card img{
    max-height:42px;
    width:auto;
    margin-bottom:15px;
}

.broker-card span{
    display:block;
    font-size:17px;
    font-weight:600;
    color:#111827;
}

/* =========================
  FAQ
========================= */

.faq-section{
    padding:80px 0;
    background:#fff;
}

.faq-section .container > h2{
    text-align:center;
    font-size:34px;
    font-weight:700;
    margin-bottom:50px;
    color:#111827;
}

.faq-list{
    max-width:1200px;
    margin:auto;
}

.faq-item{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:14px;
    padding:24px 28px;
    margin-bottom:20px;
    transition:.3s;
}

.faq-item:hover{
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transform:translateY(-2px);
}

.faq-item h3{
    font-size:20px;
    margin-bottom:12px;
    color:#0f172a;
    font-weight:700;
}

.faq-item p{
    color:#475569;
    line-height:1.8;
    font-size:15px;
    margin:0;
}

/* =========================
  Broker入口（转化）
========================= */

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.grid a {
    display: block;
    padding: 14px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: #0f172a;
    transition: 0.2s;
}

.grid a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15,23,42,0.08);
}

/* =========================
  响应式
========================= */

@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .broker-hero {
        padding: 60px 0;
    }

    .section {
        padding: 45px 0;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   Related Links
========================== */

.broker-related{
    padding:80px 0;
    background:#fff;
}

.broker-related h2{
    text-align:center;
    font-size:34px;
    font-weight:700;
    color:#111827;
    margin-bottom:40px;
}

/* shortcode输出区域 */
.broker-related .container{
    max-width:1200px;
}

/* 链接容器 */
.broker-related p,
.broker-related div{
    line-height:normal;
}

/* 所有链接 */
.broker-related a{
    display:flex;
    align-items:center;
    justify-content:space-between;

    background:#fff;
    border:1px solid #e5e7eb;

    border-radius:14px;

    padding:18px 24px;
    margin-bottom:14px;

    text-decoration:none;
    color:#0f172a;

    font-size:16px;
    font-weight:600;

    transition:all .25s ease;
}

/* 箭头 */
.broker-related a::after{
    content:"→";
    color:#2563eb;
    font-size:18px;
    transition:.25s;
}

/* Hover效果 */
.broker-related a:hover{
    border-color:#2563eb;
    box-shadow:0 12px 30px rgba(37,99,235,.12);
    transform:translateY(-2px);
    color:#2563eb;
}

.broker-related a:hover::after{
    transform:translateX(4px);
}

/* 分组间距 */
.broker-related ul,
.broker-related ol{
    list-style:none;
    margin:0;
    padding:0;
}

/* 如果shortcode输出li */
.broker-related li{
    list-style:none;
    margin-bottom:14px;
}

/* 移动端 */
@media (max-width:768px){

    .broker-related{
        padding:60px 0;
    }

    .broker-related h2{
        font-size:28px;
        margin-bottom:30px;
    }

    .broker-related a{
        padding:16px 18px;
        font-size:15px;
    }

}