/* ============================================================
   ZFX 山海证券 · 外汇返佣落地页
   规范目录：css/style.css
   配色：浅蓝 #2E7FD4 / 天蓝 #5BA0E4 / 浅蓝底 #EAF4FE / 金色 #D4AF6A
   原则：窄屏优先（375px 起），桌面在 min-width:768px 扩展
   ============================================================ */

:root {
  --blue: #2E7FD4;
  --blue-deep: #1B5FA8;
  --blue-light: #5BA0E4;
  --blue-soft: #EAF4FE;
  --blue-soft-2: #D9EBFC;
  --gold: #D4AF6A;
  --gold-light: #E8C987;
  --gold-deep: #B8914B;
  --ink: #12365F;
  --text: #3D5A7E;
  --muted: #7B92B0;
  --bg-light: #FFFFFF;
  --bg-soft: #F0F7FD;
  --bg-gray: #EAF2FB;
  --line: #D8E6F5;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(46, 127, 212, .12);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: scale(.97); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: #12365F;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(212, 175, 106, .38);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(212, 175, 106, .5); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(46, 127, 212, .32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(46, 127, 212, .45); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(46, 127, 212, .55);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-outline {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-xl { padding: 17px 48px; font-size: 18px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 127, 212, .18);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(46, 127, 212, .16); }

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { display: inline-flex; flex: 0 0 auto; }
.logo-mark img { display: block; width: 42px; height: 42px; border-radius: 9px; }
.footer-brand .logo-mark img { width: 34px; height: 34px; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: .5px; }
.logo-text em { font-style: normal; color: var(--blue); font-weight: 700; margin-left: 2px; }

.main-nav {
  display: none;
  position: fixed;
  inset: 66px 0 auto 0;
  background: #fff;
  border-top: 1px solid rgba(46, 127, 212, .18);
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 2px;
}
.main-nav.open { display: flex; }
.main-nav a {
  padding: 12px 8px;
  color: var(--ink);
  font-size: 15px;
  border-bottom: 1px solid rgba(46, 127, 212, .1);
  transition: color .2s ease, padding-left .2s ease;
}
.main-nav a:hover { color: var(--blue); padding-left: 14px; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #DCEBFC 0%, var(--blue-soft) 55%, #F2F8FF 100%);
  color: var(--ink);
  padding: 96px 0 48px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.orb-1 { width: 460px; height: 460px; background: #9CC6F2; top: -160px; right: -120px; }
.orb-2 { width: 380px; height: 380px; background: rgba(212, 175, 106, .4); bottom: -120px; left: -100px; }
.orb-3 { width: 260px; height: 260px; background: #C3DBF6; top: 30%; left: 45%; opacity: .5; }
.grid-line {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 127, 212, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 127, 212, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.7), transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.7), transparent 78%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-copy { max-width: 640px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold-deep);
  border: 1px solid rgba(184, 145, 75, .45);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 20px;
  background: rgba(212, 175, 106, .14);
}

.hero-title {
  font-size: 40px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--ink);
}
.hero-title .gold {
  background: linear-gradient(120deg, #E0B96F, var(--gold) 55%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

#hero ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 460px;
}
#hero ul li {
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(46, 127, 212, .2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
#hero ul li strong { display: block; font-size: 24px; color: var(--blue); font-weight: 800; }
#hero ul li .hs-label { font-size: 13px; color: var(--muted); }

.hero-media { position: relative; width: 100%; max-width: 420px; margin: 0 auto; }
.hero-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 20px;
  border: 1px solid rgba(46, 127, 212, .3);
  box-shadow: 0 24px 56px rgba(46, 127, 212, .25);
}
.hero-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(27, 95, 168, .92);
  border: 1px solid rgba(212, 175, 106, .55);
  color: var(--gold-light);
  font-size: 12px;
  line-height: 1.6;
  padding: 8px 16px;
  max-width: 78%;
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

/* ---------- Section 通用 ---------- */
.section { padding: 64px 0; }

.section-light { background: var(--bg-light); }
.section-dark {
  background: linear-gradient(160deg, var(--blue-soft-2) 0%, var(--blue-soft) 100%);
  color: var(--ink);
}
.section-gray { background: var(--bg-gray); }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 42px; }

.sec-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-deep);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.sec-kicker-dark { color: var(--blue); }

.sec-title { font-size: 30px; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 12px; }
.sec-title-dark { color: var(--ink); }

.sec-desc { font-size: 15px; color: var(--muted); }
.sec-desc-dark { color: var(--text); }

/* ---------- 优势卡片 ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.feat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(46, 127, 212, .5);
}
.feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 34px, cover;
  overflow: hidden;
  background-image: linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep));
  color: var(--gold-light);
  margin-bottom: 16px;
}
.feat-icon.icon-1 { background-image: url('/static/zfx/images/feat-1.svg'), linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep)); }
.feat-icon.icon-2 { background-image: url('/static/zfx/images/feat-2.svg'), linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep)); }
.feat-icon.icon-3 { background-image: url('/static/zfx/images/feat-3.svg'), linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep)); }
.feat-icon.icon-4 { background-image: url('/static/zfx/images/feat-4.svg'), linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep)); }
.feat-icon.icon-5 { background-image: url('/static/zfx/images/feat-5.svg'), linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep)); }
.feat-icon.icon-6 { background-image: url('/static/zfx/images/feat-6.svg'), linear-gradient(135deg, var(--blue-light), var(--blue) 60%, var(--blue-deep)); }
.feat-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feat-card p { font-size: 14px; color: var(--text); }

/* ---------- 左右结构 ---------- */
.split {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.split-reverse { flex-direction: column; }

.split-media { width: 100%; max-width: 440px; }
.split-media img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(46, 127, 212, .28);
}
.section-light .split-media img {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.split-copy { flex: 1; min-width: 0; }
.split-copy .sec-kicker { margin-bottom: 12px; }
.split-copy .sec-title { margin-bottom: 12px; }
.split-copy .sec-desc { margin-bottom: 20px; }

#rebate ul, #service ul { margin-bottom: 26px; }
#rebate ul li, #service ul li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  border-bottom: 1px dashed rgba(46, 127, 212, .3);
}
#rebate ul li:last-child, #service ul li:last-child { border-bottom: 0; }
#rebate ul li::before, #service ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(46, 127, 212, .12);
  border: 2px solid var(--blue);
}
#rebate ul li::after, #service ul li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 23px;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
#rebate ul li strong, #service ul li strong { color: var(--ink); font-weight: 700; }
#rebate ul li strong { color: var(--blue-deep); }
#rebate ul li { color: var(--text); }
#rebate ul li::before { background: rgba(46, 127, 212, .12); }

/* ---------- 账户卡片 ---------- */
.acc-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.acc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.acc-card-hot {
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(212, 175, 106, .28);
}

.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.acc-head h3 { font-size: 20px; font-weight: 800; color: var(--ink); }

.acc-badge {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}
.acc-badge-gold {
  background: rgba(212, 175, 106, .15);
  color: var(--gold-deep);
  border-color: rgba(212, 175, 106, .5);
}

.acc-price { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.acc-price strong { font-size: 36px; color: var(--blue); font-weight: 800; margin-right: 4px; }

#accounts ul { margin-bottom: 24px; flex: 1; }
#accounts ul li {
  padding: 9px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
#accounts ul li:last-child { border-bottom: 0; }
#accounts ul li strong { color: var(--ink); font-weight: 700; }

/* ---------- 返佣标准表格（HTML 无 class，外观按 #standard 结构还原；提示文字在表格同一个 div 内） ---------- */
#standard .container > div:not(.sec-head):not(.sec-cta) {
  overflow: auto;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(46, 127, 212, .2);
}

#standard table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
}

#standard table thead th {
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 18px;
  border-right: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 2px solid var(--gold);
  white-space: nowrap;
  text-align: center;
}
#standard table thead th:last-child { border-right: 0; }

#standard table tbody td {
  padding: 14px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  transition: background .2s ease;
}
#standard table tbody td:first-child { font-weight: 700; color: var(--ink); }
#standard table tbody tr:nth-child(even) td { background: var(--bg-soft); }
#standard table tbody tr:hover td { background: rgba(46, 127, 212, .12); }
#standard table tbody td:last-child { border-right: 0; }
#standard table tbody tr:last-child td { border-bottom: 0; }

/* 末行「返佣周期」说明行 */
#standard table tbody tr:last-child td {
  text-align: left;
  font-size: 13px;
  color: var(--blue-deep);
  background: rgba(212, 175, 106, .1) !important;
  font-weight: 600;
}

/* 表格下方提示（同一个 div 内） */
#standard table + p {
  margin: 0;
  padding: 14px 18px 18px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.sec-cta { text-align: center; margin-top: 30px; }

/* ---------- 开户指引步骤 ---------- */
#guide ol {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--text); }

/* ---------- 转户流程 ---------- */
#transfer ol { margin-bottom: 28px; counter-reset: num; }
#transfer ol li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(46, 127, 212, .3); }
#transfer ol li:last-child { border-bottom: 0; }
#transfer ol li::before {
  counter-increment: num;
  content: counter(num);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(46, 127, 212, .14);
  border: 1.5px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
  font-size: 14px;
}
#transfer ol li p { font-size: 14px; color: var(--text); }
#transfer ol li strong { color: var(--blue-deep); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: none; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(46, 127, 212, .55); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  transition: transform .25s ease, background .25s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
}
.faq-icon::before { left: 6px; right: 6px; top: 11px; height: 2px; }
.faq-icon::after { top: 6px; bottom: 6px; left: 11px; width: 2px; }
.faq-item[open] .faq-icon { transform: rotate(45deg); background: rgba(46, 127, 212, .15); }

.faq-body { padding: 0 20px 18px; }
.faq-body p { font-size: 14px; color: var(--text); }

/* ---------- 通栏 CTA ---------- */
.cta-banner {
  position: relative;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue) 55%, var(--blue-deep) 100%);
  color: #fff;
  padding: 72px 0;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .22), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(18, 54, 95, .35), transparent 50%);
  pointer-events: none;
}
.cta-inner { position: relative; }
.cta-title { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cta-sub { font-size: 16px; color: #EAF4FE; margin-bottom: 30px; }
.risk-tip {
  margin: 34px auto 0;
  max-width: 760px;
  font-size: 12px;
  line-height: 1.8;
  color: #DCEBFA;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 20px;
}

/* ---------- 页脚 ---------- */
.site-footer { background: #0D2B52; color: #B7CBE4; font-size: 14px; }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 48px 20px 32px;
}
.footer-brand p { margin-top: 14px; font-size: 13px; line-height: 1.9; color: #93A9C6; }

.footer-col h4 {
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  color: #B7CBE4;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-col a:hover { color: var(--gold-light); padding-left: 6px; }
.footer-col p { padding: 5px 0; color: #B7CBE4; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0 26px; }
.footer-bottom p { font-size: 12px; color: #7E96B8; line-height: 1.8; }
.footer-icp { margin-top: 2px; }
.footer-icp a { color: #7E96B8; text-decoration: none; border-bottom: 1px dotted rgba(126, 150, 184, .5); }
.footer-icp a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }
.footer-disclaimer { margin-top: 6px; }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 106, .55);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  box-shadow: 0 8px 20px rgba(27, 95, 168, .35);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--blue-deep); }
.back-top svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 滚动入场动画 ---------- */
.feat-card, .acc-card, .step, .split-media, .split-copy {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   桌面端扩展
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 16px; }

  .nav-wrap { height: 74px; }
  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 4px;
    background: transparent;
    border: 0;
    padding: 0;
  }
  .main-nav a {
    padding: 8px 7px;
    font-size: 15px;
    border-bottom: 0;
    border-radius: 8px;
  }
  .main-nav a:hover { background: rgba(46, 127, 212, .1); color: var(--blue); padding-left: 7px; }
  .nav-toggle { display: none; }

  .hero { padding: 118px 0 64px; }
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .hero-copy { flex: 1; }
  .hero-media { flex: 0 0 42%; max-width: 420px; margin: 0; }
  .hero-media img { height: 380px; }
  .hero-title { font-size: 48px; }
  .hero-sub { font-size: 17px; }
  #hero ul { grid-template-columns: repeat(4, 1fr); max-width: 520px; }

  .section { padding: 84px 0; }
  .sec-title { font-size: 34px; }
  .sec-desc { font-size: 16px; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .feat-card { padding: 30px 26px; }

  .split { flex-direction: row; gap: 56px; align-items: center; }
  .split-reverse { flex-direction: row-reverse; }
  .split-media { flex: 0 0 44%; max-width: 460px; }
  .split-media img { max-height: 460px; }

  #guide ol { grid-template-columns: repeat(4, 1fr); gap: 20px; }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 56px 20px 40px;
  }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 52px; }
  .hero-media { flex-basis: 40%; }
  .cta-title { font-size: 38px; }
}

/* ============================================================
   新闻页（列表 + 详情）
   ============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, #DCEBFC 0%, var(--blue-soft) 60%, #F2F8FF 100%);
  color: var(--ink);
  padding: 108px 0 44px;
  overflow: hidden;
}
.page-hero .orb { filter: blur(60px); opacity: .5; }
.page-hero h1 { font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.page-hero .page-sub { color: var(--text); font-size: 15px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb a:hover { color: var(--blue-deep); text-decoration: underline; }
.breadcrumb .sep { color: #B9C9DE; }

/* 列表布局 */
.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.news-filter button,
.news-filter a {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.news-filter button:hover,
.news-filter a:hover { border-color: var(--blue); color: var(--blue); }
.news-filter button.active,
.news-filter a.active {
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  border-color: transparent;
  color: #fff;
}
/* 列表页子分类模块：无子栏目（无分类链接）时整块隐藏 */
.news-filter-wrap:not(:has(.news-filter a)) { display: none; }

.news-list { display: flex; flex-direction: column; gap: 18px; }

.news-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(46, 127, 212, .55);
}
.news-card .thumb {
  flex-shrink: 0;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .thumb img { transform: scale(1.05); }

.news-card .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.tag-announce { background: rgba(46, 127, 212, .12); color: var(--blue-deep); }
.tag-analysis { background: rgba(212, 175, 106, .16); color: var(--gold-deep); }

.news-card h3 { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.45; margin-bottom: 8px; }
.news-card h3 a { transition: color .2s ease; }
.news-card h3 a:hover { color: var(--blue); }
.news-card .excerpt {
  font-size: 14px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.news-card .more { font-size: 14px; font-weight: 600; color: var(--blue); }

/* 分页 */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination a.active,
.pagination a.page-num-current {
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  border-color: transparent;
  color: #fff;
}
.pagination a.page-num-current { cursor: default; pointer-events: none; }

/* 侧边栏 */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.side-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.side-hot li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.side-hot li:last-child { border-bottom: 0; }
.side-hot a { display: flex; gap: 10px; font-size: 13px; color: var(--text); line-height: 1.5; transition: color .2s ease; }
.side-hot a:hover { color: var(--blue); }
.side-hot .num { flex-shrink: 0; font-weight: 800; color: var(--blue); }

.side-cta {
  position: relative;
  background: linear-gradient(160deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  border: 0;
  text-align: center;
  overflow: hidden;
}
.side-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.2), transparent 50%);
  pointer-events: none;
}
.side-cta h4 { color: #fff; border-bottom-color: var(--gold); }
.side-cta p { font-size: 13px; color: #EAF4FE; margin-bottom: 18px; }
.side-cta .btn { position: relative; }

.side-nav a { display: block; padding: 8px 0; font-size: 14px; color: var(--text); border-bottom: 1px dashed var(--line); transition: color .2s ease, padding-left .2s ease; }
.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover { color: var(--blue); padding-left: 6px; }

/* 正文下方广告位（整幅通栏，接上一篇/下一篇之上） */
.article-ad {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  margin: 34px 0 28px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  overflow: hidden;
}
.article-ad::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 88% 12%, rgba(255,255,255,.22), transparent 55%);
  pointer-events: none;
}
.article-ad-txt { position: relative; }
.article-ad .ad-eyebrow {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--gold-light); margin-bottom: 6px;
}
.article-ad h3 { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.article-ad .ad-sub { font-size: 13px; color: var(--blue-soft); margin: 0; }
.article-ad .btn { position: relative; }
/* 列表页：顶部广告位紧贴页头，压缩区块上方留白 */
.section-list { padding-top: 30px; }
/* 列表页顶部广告位与区块留白合并 */
.news-main > .article-ad:first-child { margin-top: 0; }

/* 相关文章推荐（两列网格，页面最下方） */
.article-related {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid var(--line);
}
.related-title {
  font-size: 20px; font-weight: 800; color: var(--ink);
  margin-bottom: 18px;
}
.related-grid {
  display: grid; grid-template-columns: 1fr; gap: 12px;
  list-style: none; padding: 0; margin: 0;
}
.related-grid a {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); font-size: 14px; line-height: 1.6;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.related-grid a:hover {
  border-color: var(--blue); box-shadow: 0 10px 24px rgba(46,127,212,.12);
  transform: translateY(-2px);
}
.related-grid .related-tag { font-size: 12px; font-weight: 700; color: var(--blue); }
.related-grid .related-name { font-weight: 600; color: var(--ink); }
.related-grid .related-date { font-size: 12px; color: var(--muted); }

/* 详情页正文 */
.article-wrap { max-width: 100%; font-size: 15px; line-height: 2; color: var(--text); }

.article-head { margin-bottom: 26px; }
.article-head h1 { font-size: 26px; line-height: 1.4; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); }

.article-cover { margin-bottom: 26px; }
.article-cover img { width: 100%; max-height: 380px; object-fit: cover; border-radius: var(--radius); }

/* 正文区不加包裹 div、不挂 class，样式按 article-wrap 结构作用到正文元素 */
.article-wrap p { margin-bottom: 18px; }
.article-wrap h2 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.article-wrap strong { color: var(--ink); font-weight: 700; }
.article-wrap blockquote {
  margin: 22px 0;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
  color: var(--muted);
}
/* 正文表格：与首页返佣标准表格同一套外观，HTML 不带 class */
.article-wrap table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  margin: 24px 0;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(46, 127, 212, .14);
}
.article-wrap table thead th {
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 16px;
  border-right: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 2px solid var(--gold);
  text-align: center;
}
.article-wrap table thead th:first-child { border-top-left-radius: var(--radius); }
.article-wrap table thead th:last-child { border-top-right-radius: var(--radius); border-right: 0; }
.article-wrap table tbody td {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.article-wrap table tbody td:first-child { font-weight: 700; color: var(--ink); }
.article-wrap table tbody tr:nth-child(even) td { background: var(--bg-soft); }
.article-wrap table tbody td:last-child { border-right: 0; }
.article-wrap table tbody tr:last-child td { border-bottom: 0; }
.article-wrap table tbody tr:last-child td:first-child { border-bottom-left-radius: var(--radius); }
.article-wrap table tbody tr:last-child td:last-child { border-bottom-right-radius: var(--radius); }

.article-pager {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article-pager a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  color: var(--text);
  transition: all .2s ease;
}
.article-pager a:hover { border-color: var(--blue); color: var(--blue); }
.article-pager .label { flex-shrink: 0; font-weight: 700; color: var(--ink); }
.article-pager a:hover .label { color: var(--blue); }
.article-pager .title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (min-width: 768px) {
  .page-hero { padding: 132px 0 52px; }
  .page-hero h1 { font-size: 38px; }

  .news-layout { grid-template-columns: 1fr 320px; gap: 40px; }
  .news-layout .sidebar {
    position: sticky;
    top: 84px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .news-layout .sidebar::-webkit-scrollbar { width: 6px; }
  .news-layout .sidebar::-webkit-scrollbar-thumb { background: rgba(46, 127, 212, .35); border-radius: 3px; }

  .news-card { flex-direction: row; align-items: stretch; padding: 20px; }
  .news-card .thumb { width: 240px; height: auto; min-height: 150px; }
  .news-card .info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  .news-card .more { margin-top: auto; }

  .article-head h1 { font-size: 30px; }
  .article-pager { flex-direction: row; justify-content: space-between; }
  .article-pager a { flex: 1; max-width: 46%; }
  .article-pager a.next { margin-left: auto; text-align: right; }

  /* 详情页：广告位横排、相关文章两列 */
  .article-ad { flex-direction: row; align-items: center; justify-content: space-between; gap: 28px; padding: 26px 30px; }
  .article-ad .btn { flex-shrink: 0; }
  .related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .section-list { padding-top: 36px; }
}

/* ============================================================
   首页资讯模块（常见问题下方）
   ============================================================ */
.news-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.news-strip-head .sec-head { margin-bottom: 0; }
.news-all {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}
.news-all:hover { background: var(--blue); color: #fff; }

.home-news-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.home-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(46, 127, 212, .55);
}
.home-news-card .hthumb { height: 170px; overflow: hidden; }
.home-news-card .hthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-news-card:hover .hthumb img { transform: scale(1.05); }
.home-news-card .hbody { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; min-width: 0; }
.home-news-card .hmeta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.home-news-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--ink); margin-bottom: 8px; }
.home-news-card h3 a { transition: color .2s ease; }
.home-news-card h3 a:hover { color: var(--blue); }
.home-news-card .hexcerpt {
  font-size: 13px;
  color: var(--text);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.home-news-card .hmore { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--blue); }

@media (min-width: 640px) {
  .home-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .home-news-grid { grid-template-columns: repeat(4, 1fr); }
}

/* 降低动态偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ============================================================
   PbootCMS 直出内容的结构选择器补充
   内容由后台字段直出，不挂 class，外观按既有结构还原
   ============================================================ */

/* 返佣账户类型：价格行（内容直出 <p><strong>$50</strong> 起</p>） */
#accounts .acc-card > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
#accounts .acc-card > p strong { font-size: 36px; color: var(--blue); font-weight: 800; margin-right: 4px; }

/* 开户指引：内容为 <ol><li><p><strong>标题</strong>——说明</p></li></ol> */
#guide ol li {
  position: relative;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px 26px;
  transition: transform .25s ease, box-shadow .25s ease;
}
#guide ol li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
#guide ol li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--blue-deep));
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 14px;
}
#guide ol li p { font-size: 14px; color: var(--text); }
#guide ol li strong { display: block; font-size: 17px; color: var(--ink); margin-bottom: 6px; font-weight: 700; }

/* 正文列表（内容直出，无 class） */
.article-wrap ul, .article-wrap ol { margin: 0 0 18px; padding-left: 22px; }
.article-wrap ul li, .article-wrap ol li { margin-bottom: 10px; font-size: 15px; color: var(--text); line-height: 1.9; }
.article-wrap ul li p, .article-wrap ol li p { margin-bottom: 0; }

/* 列表页不带分类筛选按钮时，列表上边距 */
.news-main > .news-list:first-child { margin-top: 0; }


/* 顶部导航：栏目名较长时不折行，保持原模板单行样式 */
.main-nav a { white-space: nowrap; }
@media (min-width: 768px) { .main-nav { gap: 5px; } }

/* 开户指引：标题段与说明段之间的间距 */
#guide ol li > p:first-of-type { margin-bottom: 0; }


/* 平板档（768-1023）：导航项放不下，恢复汉堡菜单，避免 10 项溢出 */
@media (min-width: 768px) and (max-width: 1023px) {
  .main-nav {
    display: none;
    position: fixed;
    inset: 66px 0 auto 0;
    background: #fff;
    border-top: 1px solid rgba(46, 127, 212, .18);
    padding: 12px 20px 20px;
    flex-direction: column;
    gap: 2px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-flex; }
  .main-nav a { padding: 12px 8px; font-size: 15px; border-radius: 0; border-bottom: 1px solid rgba(46, 127, 212, .1); }
}

/* 窄桌面（1024-1280）导航自适应收紧，保证 10 项 + logo + 按钮单行不溢出 */
@media (min-width: 1024px) and (max-width: 1280px) {
  .nav-wrap { gap: 10px; }
  .logo-text { font-size: 17px; }
  .logo-mark svg { width: 28px; height: 28px; }
  .main-nav { gap: 3px; padding-left: 0; padding-right: 0; }
  .main-nav a { padding: 8px 5px; font-size: 13px; }
  .nav-actions { gap: 8px; }
  .nav-actions .btn { padding: 8px 14px; font-size: 13px; }
}


/* 侧栏快捷导航：模板里的换行空白会撑出行高，容器字号归零消除匿名行盒 */
.side-nav { font-size: 0; }
.side-nav h4 { font-size: 16px; }
.side-nav a { font-size: 14px; }
