/* ============================================================
   Apex Payment — 官网设计系统（纯静态，无构建依赖）
   视觉语法：安静的近白底色 / 深藏青文字 / 1px 细边框 /
   柔和分层阴影；渐变只用于装饰细线与 hero 光带（Stripe 式克制）。
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-var.woff2") format("woff2-variations");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- 设计令牌 ---------- */
:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI",
    Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas,
    monospace;

  /* 表面 */
  --paper: #ffffff;
  --tint: #f6f8fb;
  --tint-2: #eef2f7;

  /* 文字（藏青系，不用纯黑） */
  --ink: #0a2540;
  --ink-2: #3f5063;
  --ink-3: #66788d;
  --ink-4: #8b9aae;

  /* 线 */
  --line: #e5eaf1;
  --line-2: #d7dfe9;

  /* 品牌祖母绿 + 极光渐变（绿→青→蓝，避开千篇一律的蓝紫） */
  --brand: #0b8268;
  --brand-deep: #075e4c;
  --brand-tint: #e7f5f0;
  --aurora: linear-gradient(100deg, #0ba878 0%, #12b3b0 42%, #3e8ef0 100%);

  /* 深色区 */
  --deep: #0a2540;
  --deep-2: #071c31;
  --deep-line: rgba(255, 255, 255, 0.1);

  /* 功能色（沿用业界验证过的支付功能色） */
  --ok: #09825d;
  --ok-tint: #e5f4ee;
  --warn: #c44109;
  --warn-tint: #fdf0e7;
  --err: #df1b41;
  --err-tint: #fdebee;
  --info: #1a73e8;
  --info-tint: #e9f2fe;

  /* 阴影（柔和、纵向、分层、微蓝） */
  --sh-1: 0 1px 2px rgba(14, 30, 52, 0.05), 0 2px 8px rgba(14, 30, 52, 0.05);
  --sh-2: 0 2px 6px rgba(50, 50, 93, 0.08), 0 8px 24px rgba(14, 30, 52, 0.09);
  --sh-3: 0 6px 16px rgba(50, 50, 93, 0.12), 0 24px 56px rgba(14, 30, 52, 0.16);
  --sh-pop: 0 10px 40px -8px rgba(50, 50, 93, 0.25),
    0 24px 70px -12px rgba(14, 30, 52, 0.28);

  /* 布局 */
  --radius: 16px;
  --radius-s: 10px;
  --w: 1120px;
  --gutter: 24px;
  --header-h: 68px;
}

/* ---------- 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.022em;
}
p {
  margin: 0;
}
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  color: var(--brand-deep);
}
img,
svg {
  display: block;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
::selection {
  background: rgba(11, 130, 104, 0.16);
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 双语切换（CSS 原生隐藏，无闪烁） ---------- */
html[data-lang="zh"] [data-en] {
  display: none !important;
}
html[data-lang="en"] [data-zh] {
  display: none !important;
}

/* ---------- 通用布局 ---------- */
.container {
  max-width: var(--w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: 96px 0;
}
.section--tint {
  background: var(--tint);
}
.section--deep {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
}
.section--deep h2,
.section--deep h3 {
  color: #fff;
}
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  margin: 14px 0 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--ink-3);
}
.section--deep .section-head p {
  color: rgba(255, 255, 255, 0.6);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--aurora);
}
.section--deep .eyebrow {
  color: #35c39b;
}

/* 细渐变顶线（深色区/卡片的品牌_signature） */
.g-top {
  position: relative;
}
.g-top::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--aurora);
  opacity: 0.85;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}
.btn--primary {
  background: var(--deep);
  color: #fff;
}
.btn--primary:hover {
  background: #0e3355;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sh-2);
}
.btn--brand {
  background: var(--brand);
  color: #fff;
}
.btn--brand:hover {
  background: var(--brand-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(11, 130, 104, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover {
  border-color: var(--ink-4);
  transform: translateY(-1px);
}
.btn--ghostlight {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.btn--ghostlight:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 14px;
}
.btn .arrow {
  transition: transform 0.18s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}
.site-header__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: -0.02em;
}
.brand:hover {
  color: var(--ink);
}
.brand b {
  font-weight: 800;
}
.brand .brand-sub {
  color: var(--ink-3);
  font-weight: 500;
}
.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.site-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease, background 0.15s ease;
}
.site-nav a:hover {
  color: var(--ink);
  background: var(--tint-2);
}
.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  background: var(--tint-2);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 4px 11px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button.is-active {
  background: var(--deep);
  color: #fff;
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg {
  width: 18px;
  height: 18px;
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 10px var(--gutter) 18px;
}
.mobile-nav a {
  display: block;
  padding: 11px 4px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--tint-2);
}
.mobile-nav .btn {
  margin-top: 14px;
  width: 100%;
}
.mobile-nav.is-open {
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 110px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg .aurora-blob {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 780px;
  height: 560px;
  background: var(--aurora);
  filter: blur(110px);
  opacity: 0.16;
  transform: rotate(-14deg);
  border-radius: 50%;
}
.hero-bg .gridlines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(10, 37, 64, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 37, 64, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 60% 10%, #000 30%, transparent 75%);
}
.hero-in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin: 18px 0 20px;
}
.hero .lede {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 46ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  padding: 0;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--ink-3);
  font-weight: 500;
}
.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

/* ---------- 产品模型图（商户后台示意） ---------- */
.mock {
  position: relative;
}
.mock-window {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--sh-pop);
  overflow: hidden;
  font-size: 12.5px;
}
.mock-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
}
.mock-titlebar .dots {
  display: inline-flex;
  gap: 5px;
}
.mock-titlebar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-2);
}
.mock-titlebar .dots i:first-child {
  background: #f6b3ad;
}
.mock-titlebar .dots i:nth-child(2) {
  background: #f5d38f;
}
.mock-titlebar .dots i:nth-child(3) {
  background: #a8dcb5;
}
.mock-titlebar .url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-4);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 10px;
}
.mock-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 120px);
}
.mock-kpis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mock-kpi {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.mock-kpi .k-label {
  font-size: 11px;
  color: var(--ink-4);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.mock-kpi .k-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.mock-kpi .k-sub {
  font-size: 10.5px;
  color: var(--ok);
  font-weight: 600;
}
.mock-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.mock-panel h5 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--tint-2);
  font-variant-numeric: tabular-nums;
}
.mock-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.mock-row .o-id {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-3);
}
.mock-row .o-amt {
  font-weight: 600;
  color: var(--ink);
  font-size: 12px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pill i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pill--paid {
  color: var(--ok);
  background: var(--ok-tint);
}
.pill--pending {
  color: var(--warn);
  background: var(--warn-tint);
}
.pill--info {
  color: var(--info);
  background: var(--info-tint);
}
.pill--neutral {
  color: var(--ink-3);
  background: var(--tint-2);
}
.flagchip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 18px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--deep);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
/* 悬浮的 Pix 收款卡 / USDT 到账卡 */
.float-card {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--sh-3);
  padding: 14px;
  font-size: 12px;
}
.float-card h6 {
  margin: 0 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.float-card--pix {
  left: -34px;
  bottom: -46px;
  width: 190px;
  transform: rotate(-2.5deg);
}
.float-card--usdt {
  right: -26px;
  top: -38px;
  width: 236px;
  transform: rotate(1.8deg);
}
.float-card .fc-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.float-card .fc-meta {
  color: var(--ink-3);
  font-size: 11px;
  margin-top: 3px;
}
.float-card .fc-hash {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-4);
  word-break: break-all;
}
.qr {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 5px;
  background: #fff;
}
.fc-split {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ---------- 能力卡片 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.cap-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.cap-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.section--tint .cap-card {
  background: var(--paper);
}
.cap-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--line-2);
}
.cap-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: var(--brand-tint);
  color: var(--brand);
}
.cap-icon svg {
  width: 21px;
  height: 21px;
}
.cap-card h3 {
  font-size: 18.5px;
  margin-bottom: 8px;
}
.cap-card p {
  font-size: 14.5px;
  color: var(--ink-3);
}
.cap-card .cap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.cap-tags span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
}

/* ---------- 资金工作流 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  counter-reset: flow;
}
.flow-node {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.flow-node .fn-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: 0.08em;
}
.flow-node h4 {
  font-size: 16px;
  margin: 10px 0 6px;
}
.flow-node p {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.55;
}
.flow-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -15px;
  width: 14px;
  height: 14px;
  border-top: 2px solid var(--line-2);
  border-right: 2px solid var(--line-2);
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}
.flow-node:last-child::after {
  display: none;
}
.flow--5 {
  grid-template-columns: repeat(5, 1fr);
}
.webhook-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ---------- 代码块 ---------- */
.codeblock {
  background: var(--deep-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.codeblock__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.codeblock__bar .dots {
  display: inline-flex;
  gap: 5px;
}
.codeblock__bar .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.codeblock__bar .fname {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.55);
}
.copy-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.codeblock pre {
  margin: 0;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.75px;
  line-height: 1.75;
  color: #c9d6e4;
}
.codeblock code .tk-cmd {
  color: #8fd6b4;
}
.codeblock code .tk-flag {
  color: #7ea8c9;
}
.codeblock code .tk-key {
  color: #7dd3fc;
}
.codeblock code .tk-str {
  color: #a7e8c0;
}
.codeblock code .tk-num {
  color: #f5c887;
}
.codeblock code .tk-cmt {
  color: #5b7186;
  font-style: italic;
}
.codeblock code .tk-punc {
  color: #93a8bd;
}
.codeblock code .tk-hdr {
  color: #c4b5fd;
}

/* API 分区左右布局 */
.api-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px;
  align-items: center;
}
.check-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: none;
  margin-top: 2px;
}
.check-list b {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 国家/覆盖 ---------- */
.geo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.geo-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.geo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.geo-card .gc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.geo-card h3 {
  font-size: 17px;
}
.geo-card .gc-code {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-4);
  letter-spacing: 0.08em;
}
.geo-card ul li {
  font-size: 13.5px;
  color: var(--ink-3);
  padding: 6px 0;
  border-top: 1px solid var(--tint-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.geo-note {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--info-tint);
  border: 1px solid #d4e5fb;
  color: #235d9c;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.6;
}
.geo-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
}

/* ---------- 信任/合规 ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--deep-line);
}
.trust-card h3 {
  font-size: 16.5px;
  margin: 14px 0 8px;
}
.trust-card p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
}
.trust-card .cap-icon {
  background: rgba(53, 195, 155, 0.12);
  color: #35c39b;
  margin-bottom: 0;
}

/* ---------- 页面小 Hero（子页面） ---------- */
.page-hero {
  position: relative;
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 60% 90% at 85% -10%, rgba(18, 179, 176, 0.1), transparent 60%),
    radial-gradient(ellipse 50% 80% at 8% -20%, rgba(11, 168, 120, 0.12), transparent 60%),
    var(--tint);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 16px 0 14px;
}
.page-hero .lede {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 62ch;
}
.crumbs {
  font-size: 13px;
  color: var(--ink-4);
  font-weight: 500;
}
.crumbs a {
  color: var(--ink-3);
}
.crumbs a:hover {
  color: var(--ink);
}

/* ---------- 牌照卡片 ---------- */
.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--warn-tint);
  border: 1px solid #f3d9c2;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #8a4a15;
  line-height: 1.6;
  margin-bottom: 34px;
}
.notice svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}
.license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.license-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--sh-1);
}
.license-card.is-placeholder {
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 90%);
}
.license-card .lc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.license-card .lc-region {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.license-card .lc-sub {
  font-size: 12.5px;
  color: var(--ink-4);
  font-weight: 500;
}
.license-card dl {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 9px 14px;
  font-size: 13.5px;
}
.license-card dt {
  color: var(--ink-4);
  font-weight: 500;
}
.license-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
.license-card dd.mono {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.01em;
}
.license-card .lc-badge {
  position: absolute;
  top: 18px;
  right: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge--ok {
  color: var(--ok);
  background: var(--ok-tint);
}
.badge--warn {
  color: var(--warn);
  background: var(--warn-tint);
}
.badge--demo {
  color: #9a6a1d;
  background: #faf3df;
  border: 1px dashed #e3cf9b;
}
.badge i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- 数据表 ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--sh-1);
  overflow-x: auto;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 620px;
}
table.data th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: var(--tint);
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--tint-2);
  color: var(--ink-2);
  vertical-align: top;
}
table.data tr:last-child td {
  border-bottom: 0;
}
table.data tr:hover td {
  background: #fbfcfe;
}
table.data td.mono,
.mono {
  font-family: var(--font-mono);
  font-size: 12.75px;
}
table.data td strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 12px;
  max-width: 780px;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
}
.faq details[open] {
  box-shadow: var(--sh-1);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after {
  transform: rotate(225deg);
}
.faq .faq-a {
  padding: 0 22px 20px;
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.7;
}

/* ---------- 公司信息（关于页） ---------- */
.fact-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--sh-1);
}
.fact-list .fact {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--tint-2);
  font-size: 14.5px;
}
.fact-list .fact:last-child {
  border-bottom: 0;
}
.fact-list .fact dt {
  color: var(--ink-4);
  font-weight: 500;
}
.fact-list .fact dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-card h3 {
  font-size: 16px;
  margin: 14px 0 6px;
}
.contact-card p {
  font-size: 13.5px;
  color: var(--ink-3);
}
.contact-card .c-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 14px;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  border-radius: 24px;
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -80px;
  width: 460px;
  height: 340px;
  background: var(--aurora);
  filter: blur(90px);
  opacity: 0.3;
  border-radius: 50%;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 10px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 15.5px;
  max-width: 52ch;
}
.cta-band .cta-actions {
  position: relative;
  display: flex;
  gap: 14px;
  flex: none;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--deep-2);
  color: rgba(255, 255, 255, 0.62);
  margin-top: 96px;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.site-footer .brand {
  color: #fff;
}
.site-footer .brand .brand-sub {
  color: rgba(255, 255, 255, 0.55);
}
.site-footer .f-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 30ch;
  margin: 14px 0 18px;
}
.site-footer .f-contact {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer .f-contact a {
  color: rgba(255, 255, 255, 0.8);
}
.site-footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 4px 0 16px;
}
.site-footer .f-links li {
  margin: 0 0 10px;
}
.site-footer .f-links a {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13.5px;
  transition: color 0.15s ease;
}
.site-footer .f-links a:hover {
  color: #fff;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0 34px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.42);
}
.footer-legal .f-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-legal .f-row .mono {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 滚动显现 ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.2, 0.6, 0.2, 1),
      transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
    transition-delay: var(--rd, 0ms);
  }
  [data-reveal].is-in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-in {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .hero {
    padding: 64px 0 90px;
  }
  .api-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .geo-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow,
  .flow--5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow-node::after {
    display: none;
  }
  .site-footer .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .float-card--pix {
    left: -8px;
    bottom: -30px;
  }
  .float-card--usdt {
    right: -6px;
    top: -30px;
  }
}
@media (max-width: 880px) {
  .site-nav,
  .header-actions .btn,
  .header-actions .lang-switch {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .section {
    padding: 68px 0;
  }
  .cap-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .webhook-grid {
    grid-template-columns: 1fr;
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 32px;
  }
  .mock-kpis {
    grid-template-columns: 1fr 1fr;
  }
  .mock-body {
    grid-template-columns: 1fr;
  }
  .fact-list .fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
@media (max-width: 620px) {
  .geo-grid,
  .trust-grid,
  .flow,
  .flow--5,
  .cap-grid--4 {
    grid-template-columns: 1fr;
  }
  .hero-cta .btn {
    width: 100%;
  }
  .float-card--usdt {
    display: none;
  }
  .section-head {
    margin-bottom: 34px;
  }
  .license-card dl {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
  .license-card dt {
    margin-top: 8px;
  }
}

/* 能力卡片底部链接 */
.cap-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
}
.cap-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}
.cap-link:hover svg {
  transform: translateX(3px);
}
