/* ============================================================
   MSFX · 多资产交易平台 — 静态站点共享样式
   设计令牌沿用 Ardot 画布：藏青 + 金 + 浅灰 机构风
   ============================================================ */

:root {
  /* 颜色 */
  --navy:        #0B1A2E;   /* 藏青 主色 */
  --navy-deep:   #071322;   /* 深底 */
  --gold:        #fcd535;   /* 金 强调 */
  --gold-soft:   #E7D6B0;
  --surface:     #F8FAFC;   /* 浅底 */
  --white:       #FFFFFF;
  --ink:         #475569;   /* 正文 */
  --ink-2:       #64748B;   /* 次级文字 */
  --ink-3:       #94A3B8;   /* 占位/弱 */
  --line:        #E2E8F0;
  --line-soft:   #EEF2F6;
  --blue-tint:   #EAF0F8;

  /* 字体 */
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Microsoft YaHei", sans-serif;

  /* 布局 */
  --maxw: 1440px;
  --pad-x: 64px;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow-card: 0 12px 32px rgba(11, 26, 46, .06);
  --shadow-hover: 0 18px 44px rgba(11, 26, 46, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ===================== Hero ===================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(201,169,106,.18), transparent 70%);
  border-radius: 50%;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 760px;
  margin-bottom: 18px;
}
.hero p.sub {
  font-size: 17px;
  color: #C7D2E0;
  max-width: 620px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===================== 区块通用 ===================== */
.section { padding: 72px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--gold); display: inline-block; margin-bottom: 12px;
}
.section-head h2 {
  font-size: 32px; font-weight: 800; color: var(--navy);
  line-height: 1.25; margin-bottom: 12px;
}
.section-head p { font-size: 16px; color: var(--ink-2); }

/* ===================== 数据条 Stats ===================== */
.stats {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: 34px; font-weight: 800; color: var(--gold);
  line-height: 1.1; margin-bottom: 6px;
}
.stat .label { font-size: 14px; color: #B9C5D6; }

/* ===================== 卡片网格 ===================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.card .ico {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--blue-tint);
  color: var(--navy);
  border-radius: 12px;
  font-size: 22px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card .tag {
  display: inline-block; margin-top: 14px;
  font-size: 12.5px; font-weight: 600; color: var(--gold);
}

/* 特性双卡（Mission / WhyUs） */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.feature-card .badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--gold);
  background: var(--blue-tint);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.feature-card p { color: var(--ink-2); font-size: 15px; }

/* 监管牌 */
.reg-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reg-badge {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
}
.reg-badge .shield {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
  border-radius: 8px; font-size: 16px;
}
.reg-badge .name { font-weight: 700; color: var(--navy); font-size: 15px; }
.reg-badge .desc { font-size: 12.5px; color: var(--ink-3); }

/* ===================== Final CTA ===================== */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.cta p { color: #C7D2E0; font-size: 16px; margin-bottom: 26px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===================== 表单页（Login / Sign Up） ===================== */
.auth-wrap {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0;
}
.auth-card {
  width: 480px;
  max-width: calc(100% - 40px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.auth-card .title { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.auth-card .sub { font-size: 14px; color: var(--ink-2); margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 14px;
  font-family: var(--font);
  color: var(--navy);
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus { border-color: var(--gold); background: var(--white); }
.row-between {
  display: flex; align-items: center; justify-content: space-between;
  margin: 6px 0 22px; font-size: 13.5px;
}
.row-between label { display: flex; align-items: center; gap: 7px; color: var(--ink); cursor: pointer; }
.row-between a { color: var(--gold); font-weight: 600; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.auth-switch a { color: var(--gold); font-weight: 700; }
.auth-terms { font-size: 13px; color: var(--ink-2); margin: 4px 0 22px; line-height: 1.6; }
.auth-terms a { color: var(--gold); font-weight: 600; }

/* ===================== 响应式 ===================== */
@media (max-width: 1080px) {
  :root { --pad-x: 32px; }
  /* .main-nav 响应式由 common.css 统一接管（手风琴下拉），不要再 hide。
     .footer-top 也由 common.css 的 .site-footer .footer-top 规则接管，避免冲突。 */
  .grid-3, .reg-row { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .grid-3, .grid-2, .reg-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .auth-card { padding: 28px; }
}

/* ============================================================
   首页专属区块（对齐画布 11 区）
   ============================================================ */

/* S1 Hero 双栏 */
.hero-inner { display: flex; align-items: center; gap: 48px; }
.hero-content { flex: 0 1 540px; max-width: 560px; }
.hero h1 { font-size: 46px; }
.hero .sub-en { font-size: 18px; color: #E2E9F2; margin-bottom: 4px; font-weight: 500; }
.hero .sub-cn { font-size: 15px; color: #93A4B8; margin-bottom: 22px; }
.trade-pill {
  display: inline-flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 10px 18px; margin-bottom: 26px;
}
.trade-pill span { font-size: 13.5px; color: var(--white); }
.trade-pill small { font-size: 11px; color: #93A4B8; }
.hero-chart { flex: 1 1 520px; }
.hero-chart img {
  width: 100%; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

/* S2 Stats 5 列 */
.stats-grid { grid-template-columns: repeat(5, 1fr); text-align: left; gap: 32px; }
.stat { border-right: 1px solid rgba(255,255,255,.08); padding-right: 24px; }
.stat:last-child { border-right: none; }
.stat .num { font-size: 30px; }
.stat .en { font-size: 13px; font-weight: 600; color: #C7D2E0; margin-top: 6px; }
.stat .cn { font-size: 12px; color: #7E8FA6; margin-top: 2px; }

/* S3 App 展示 */
.app-inner { display: flex; align-items: center; gap: 56px; }
.app-left { flex: 1 1 560px; }
.app-features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 28px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; }
.feature-item .ico {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  font-size: 20px; background: var(--blue-tint); border-radius: 10px;
}
.feature-item h4 { font-size: 16px; color: var(--navy); font-weight: 700; }
.feature-item p { font-size: 13px; color: var(--ink-2); }

/* 手机样机（股票折线图） */
.phone-mockup {
  flex: none; width: 288px;
  background: linear-gradient(180deg, #0D1F38 0%, #071322 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 38px; padding: 14px 14px 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.07);
}
.pm-status { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 12px; }
.pm-brand { font-size: 13px; color: var(--gold); font-weight: 800; letter-spacing: .6px; }
.pm-live {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 600; color: #7E8FA6; text-transform: uppercase; letter-spacing: .8px;
}
.pm-live i {
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.18); animation: pmPulse 1.8s ease-in-out infinite;
}
@keyframes pmPulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.pm-quote { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 0 6px 12px; }
.pm-ticker { display: block; font-size: 13px; font-weight: 800; color: var(--white); letter-spacing: .5px; }
.pm-name { display: block; font-size: 10px; color: #7E8FA6; margin-top: 2px; }
.pm-price { text-align: right; }
.pm-price strong { display: block; font-size: 20px; font-weight: 800; color: var(--white); line-height: 1.2; }
.pm-chg {
  display: inline-block; margin-top: 3px; padding: 2px 6px; border-radius: 6px;
  font-size: 11px; font-weight: 700; color: #22c55e; background: rgba(34,197,94,.12);
}

.pm-chart { background: rgba(255,255,255,.03); border-radius: 14px; padding: 10px 8px 8px; }
.pm-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.pm-axis {
  display: flex; justify-content: space-between; margin-top: 6px;
  font-size: 9px; color: #5D6E85; letter-spacing: .3px;
}

.pm-ranges { display: flex; gap: 6px; margin-top: 12px; }
.pm-ranges span {
  flex: 1; text-align: center; padding: 6px 0; border-radius: 8px;
  font-size: 11px; font-weight: 600; color: #7E8FA6; background: #12233C;
}
.pm-ranges span.active { color: #0B1A2E; background: var(--gold); }

/* 折线绘制动画 */
.pm-line { stroke-dasharray: 290; stroke-dashoffset: 290; animation: pmDraw 1.8s .2s ease-out forwards; }
.pm-area { opacity: 0; animation: pmFade .9s .9s ease-out forwards; }
.pm-dot { opacity: 0; animation: pmFade .5s 1.6s ease-out forwards; }
@keyframes pmDraw { to { stroke-dashoffset: 0; } }
@keyframes pmFade { to { opacity: 1; } }

/* S4 Products 4 列 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.prod-card .icon-box {
  width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--blue-tint); border-radius: 12px; font-size: 22px; margin-bottom: 0;
}
.prod-card h3 { font-size: 19px; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.prod-card h3 small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.prod-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.prod-card .card-body { flex: 1 1 auto; min-width: 0; }

/* S5 WhyUs 卡片 */
.why-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--gold-soft); }
.why-card .ico {
  width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto;
  font-size: 22px; background: var(--blue-tint); border-radius: 12px; margin-bottom: 0;
}
.why-card h3 { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.why-card p { font-size: 13.5px; color: var(--ink-2); }
.why-card .card-body { flex: 1 1 auto; min-width: 0; }
.learn-more {
  display: inline-flex; align-items: center; margin-top: 32px;
  font-size: 14px; font-weight: 700; color: var(--gold);
  background: rgba(201,169,106,.12); border-radius: 999px; padding: 10px 22px;
}

/* S6 Steps */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; align-items: flex-start; gap: 16px; }
.step-badge {
  width: 44px; height: 44px; display: grid; place-items: center; flex: 0 0 auto;
  background: var(--gold); color: var(--navy); font-weight: 800; font-size: 18px;
  border-radius: 50%; margin-bottom: 0;
}
.step-card h3 { font-size: 18px; color: var(--navy); font-weight: 800; margin-bottom: 8px; }
.step-card h3 small { font-size: 13px; font-weight: 600; color: var(--ink-3); margin-left: 6px; }
.step-card p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; }
.step-card .card-body { flex: 1 1 auto; min-width: 0; }
.steps-cta { text-align: center; margin-top: 36px; }

/* S7 Liquidity */
.liquidity-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.liq-logo {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 16px; text-align: center;
  font-weight: 800; font-size: 17px; color: var(--navy);
  transition: border-color .2s ease, transform .2s ease;
}
.liq-logo:hover { border-color: var(--gold); transform: translateY(-3px); }

/* 旧版流动性合作机构 Logo 的 60 秒无限横向轮播。 */
.liquidity-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.liquidity-track {
  display: flex;
  width: max-content;
  animation: liquidity-loop 60s linear infinite;
}
.liquidity-track:hover { animation-play-state: paused; }
.liquidity-group {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
}
.liquidity-group img {
  width: 190px;
  height: 82px;
  flex: 0 0 190px;
  object-fit: contain;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.liquidity-group img:hover { border-color: var(--gold); transform: translateY(-3px); }
@keyframes liquidity-loop {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .liquidity-track { animation-play-state: paused; }
}

/* S8 Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.testi-card .quote { font-size: 14.5px; color: var(--ink); line-height: 1.7; }
.testi-card .divider { height: 1px; background: var(--line); margin: 18px 0; }
.testi-meta { display: flex; align-items: center; gap: 12px; }
.testi-meta .avatar {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: rgba(201,169,106,.15); color: var(--gold); font-weight: 800; border-radius: 50%;
}
.testi-meta .name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-meta .role { font-size: 12.5px; color: var(--ink-3); }

/* 评价横向无限滚动，保留卡片本身的视觉样式。 */
.testi-carousel {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.testi-track {
  display: flex;
  width: max-content;
  gap: 24px;
  animation: testimonials-loop 30s linear infinite;
}
.testi-track:hover { animation-play-state: paused; }
.testi-track .testi-card {
  width: min(420px, calc(100vw - 64px));
  flex: 0 0 min(420px, calc(100vw - 64px));
  display: flex;
  flex-direction: column;
}
.testi-track .testi-card .quote { order: 1; }
.testi-track .testi-card .divider { order: 2; width: 100%; }
.testi-track .testi-card .testi-meta { order: 3; }
.testi-meta .avatar {
  object-fit: cover;
  overflow: hidden;
}
@keyframes testimonials-loop {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation-play-state: paused; }
}

/* S9 As Seen On */
.as-seen-label {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--ink-2); margin-bottom: 28px;
}
.as-seen-label .line { width: 48px; height: 1px; background: var(--line); }
.as-seen-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; }
.media-logo { font-size: 22px; font-weight: 800; color: #94A3B8; }

/* ===================== 首页响应式补充 ===================== */
@media (max-width: 1080px) {
  :root { --pad-x: 32px; }
  .section { padding: 56px 0; }
  .stats { padding: 32px 0; }
  .hero-inner { flex-direction: column; align-items: stretch; }
  .hero-chart { order: -1; max-height: 300px; overflow: hidden; }
  .hero-chart img { max-height: 300px; object-fit: cover; }
  .hero h1 { font-size: 40px; }
  .app-inner { flex-direction: column; }
  .phone-mockup { align-self: center; }
  .grid-4, .grid-3, .grid-2, .steps-grid, .liquidity-grid, .testi-grid { gap: 18px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .liquidity-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat { border-right: none; padding-right: 0; }
}
@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .hero { padding: 48px 0; }
  .hero h1 { font-size: 30px; }
  .section { padding: 44px 0; }
  .stats { padding: 28px 0; }
  .app-features { grid-template-columns: 1fr; gap: 16px; }
  .grid-3, .grid-2, .grid-4, .steps-grid, .liquidity-grid, .testi-grid { gap: 14px; }
  .grid-4, .steps-grid, .liquidity-grid, .testi-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card, .prod-card, .why-card, .step-card, .testi-card { padding: 18px; }
  .feature-card { padding: 20px; }
  /* 标题与图片/内容之间的间隔再收紧 */
  .section-head { margin-bottom: 22px; }
  .hero-inner { gap: 20px; }
  .hero-content { flex: none; max-width: 100%; }
  .app-inner { gap: 28px; }
  /* hero 内容纵向压缩，避免手机端过长 */
  .hero .eyebrow { margin-bottom: 12px; }
  .hero h1 { font-size: 27px; line-height: 1.16; margin-bottom: 14px; }
  .hero .sub-en { font-size: 16px; margin-bottom: 2px; }
  .hero .sub-cn { font-size: 14px; margin-bottom: 16px; }
  .trade-pill { padding: 8px 14px; margin-bottom: 18px; }
  .trade-pill span { font-size: 12.5px; }
  .trade-pill small { font-size: 10.5px; }
  /* 首页 hero-chart 太长，移动端限高并裁切 */
  .hero-chart { max-height: 200px; overflow: hidden; }
  .hero-chart img { max-height: 200px; object-fit: cover; }
  .card .ico, .prod-card .icon-box, .why-card .ico { width: 42px; height: 42px; margin-bottom: 0; font-size: 20px; }
  .liquidity-carousel { mask-image: none; }
  .liquidity-group { gap: 16px; padding-right: 16px; }
  .liquidity-group img { width: 160px; height: 72px; flex-basis: 160px; padding: 10px 14px; }
  /* .site-footer .footer-bottom 响应式由 common.css @media (max-width:640px) 统一接管，不再重复 */

  .testi-carousel { mask-image: none; }
  .testi-track { gap: 16px; }
  .testi-track .testi-card {
    width: calc(100vw - 40px);
    flex-basis: calc(100vw - 40px);
  }
}

/* 超小屏（≤420px）：导航按钮进一步收紧，确保 Logo 与 Login/Sign Up 始终同一行 */
@media (max-width: 420px) {
  :root { --pad-x: 16px; }
  .hero { padding: 34px 0; }
  /* 超小屏 hero 内容进一步压缩 */
  .hero .eyebrow { margin-bottom: 10px; }
  .hero h1 { font-size: 24px; line-height: 1.14; }
  .hero .sub-en { font-size: 15px; }
  .hero .sub-cn { font-size: 13px; margin-bottom: 14px; }
  .trade-pill { padding: 7px 12px; margin-bottom: 15px; }
  .trade-pill span { font-size: 12px; }
  .trade-pill small { font-size: 10px; }
  .section { padding: 38px 0; }
  .stats { padding: 24px 0; }
  .grid-3, .grid-2, .grid-4, .steps-grid, .liquidity-grid, .testi-grid { gap: 12px; }
  .stats-grid { grid-template-columns: 1fr; }
  .card, .prod-card, .why-card, .step-card, .testi-card { padding: 16px; }
  .feature-card { padding: 18px; }
  .section-head { margin-bottom: 18px; }
  .hero-chart { max-height: 170px; }
  .hero-chart img { max-height: 170px; }
}

/* ============================================================
   Hero 浮动数据卡（覆盖在 hero-analyst 图上）
   ============================================================ */
.hero-chart { position: relative; }
.hero-chart-floating {
  position: absolute; inset: 0; pointer-events: none;
}
.hcf-row, .hcf-stat {
  position: absolute;
  background: rgba(11,26,46,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 4px;
}
.hcf-row {
  top: 22px; left: 22px;
  flex-direction: row; align-items: center; gap: 14px;
  padding: 10px 16px;
}
.hcf-row .hcf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,.22);
  animation: pmPulse 1.8s ease-in-out infinite;
}
.hcf-row .hcf-label {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  color: #22c55e; text-transform: uppercase;
}
.hcf-row .hcf-pairs {
  font-size: 13px; font-weight: 700; color: var(--white);
  padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18);
}
.hcf-stat {
  right: 22px; bottom: 22px;
  align-items: flex-start;
}
.hcf-stat-num {
  font-size: 26px; font-weight: 800; color: var(--gold);
  letter-spacing: -.5px; line-height: 1;
}
.hcf-stat-cap {
  font-size: 11px; color: #C7D2E0; letter-spacing: .8px;
  text-transform: uppercase; margin-top: 2px;
}

/* ============================================================
   S4 / S5 / S6 — 商务人员背景图区块（统一）
   视觉：满幅背景图 + 左侧暗色蒙版渐变 + 右侧留白放内容
   ============================================================ */
.section-products-bg,
.section-why-bg,
.section-onboarding-bg {
  position: relative;
  color: var(--white);
  padding: 80px 0;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.section-products-bg   { background-image: url("../img/bg-products-trading-floor.png"); }
.section-why-bg        { background-image: url("../img/bg-why-advisory.png"); background-position: right center; }
.section-onboarding-bg  { background-image: url("../img/bg-onboarding.png"); }

/* 统一蒙版：左侧深、右侧透，让文案区强可读、右侧人物留呼吸 */
.section-products-bg::before,
.section-why-bg::before,
.section-onboarding-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(7,18,33,.94) 0%,
    rgba(11,26,46,.85) 38%,
    rgba(11,26,46,.55) 70%,
    rgba(11,26,46,.30) 100%);
  pointer-events: none;
}
.section-why-bg::before {
  /* Why 区人物在右侧，文案靠左，蒙版方向保持一致 */
  background: linear-gradient(105deg,
    rgba(7,18,33,.92) 0%,
    rgba(11,26,46,.80) 40%,
    rgba(11,26,46,.55) 70%,
    rgba(11,26,46,.30) 100%);
}

.bg-section-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: center;
}
.bg-section-inner .section-head { margin-bottom: 0; }
.bg-section-inner .section-head h2 { color: var(--white); }
.bg-section-inner .section-head p { color: #C7D2E0; }

/* === S4 Products 极简列表 === */
.products-minimal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
}
.prod-minimal {
  display: block;
  padding: 0;
  background: none;
  border: none;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease;
}
.prod-minimal:hover { transform: translateY(-2px); }
.prod-minimal h3 {
  font-size: 22px; font-weight: 800; color: var(--gold);
  margin: 0 0 6px; letter-spacing: -.2px;
}
.prod-minimal p {
  font-size: 13.5px; color: var(--white); line-height: 1.55;
  margin: 0;
}

/* === S5 WhyUs 极简列表 === */
.why-minimal {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
}
.why-minimal li h3 {
  font-size: 18px; font-weight: 800; color: var(--gold);
  margin: 0 0 4px;
}
.why-minimal li p {
  font-size: 13.5px; color: var(--white); line-height: 1.55;
  margin: 0;
}

/* === S6 Onboarding 极简步骤 === */
.steps-minimal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 36px;
}
.step-min {
  display: flex; gap: 14px; align-items: flex-start;
}
.step-num {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800; font-size: 16px;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(252,213,53,.30);
}
.step-min h3 {
  font-size: 17px; font-weight: 800; color: var(--white);
  margin: 4px 0 4px;
}
.step-min p {
  font-size: 13.5px; color: #C7D2E0; line-height: 1.55;
  margin: 0;
}
.steps-minimal-cta {
  position: relative; z-index: 1;
  margin-top: 28px;
  grid-column: 1 / -1;   /* 跨整行，与上方两栏内容对齐 */
}
.steps-minimal-cta .btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 28px;
  font-size: 15px; font-weight: 800;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: .3px;
}

/* === 全站 CTA 按钮兜底：#fcd535 亮金 === */
.btn.btn-gold {
  background: #fcd535 !important;
  color: #0B1A2E !important;
  border: 1px solid transparent !important;
  font-weight: 800;
}
.btn.btn-gold:hover {
  background: #E7D6B0 !important;
  transform: translateY(-1px);
}

@media (max-width: 960px) {
  .section-products-bg,
  .section-why-bg,
  .section-onboarding-bg { padding: 64px 0; }
  .bg-section-inner { grid-template-columns: 1fr; gap: 28px; }
  .products-minimal,
  .why-minimal,
  .steps-minimal { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 900px) {
  /* 浮动数据卡在中等及以下屏幕隐藏，避免挤压主体图 */
  .hero-chart-floating { display: none; }
}

