/* ==========================================================================
   KPay — Design System (dark / blue)
   动画原则：只动 transform / opacity / filter，保证 GPU 合成层渲染
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* brand blues */
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;

  /* surfaces */
  --bg:        #0a1628;
  --bg-soft:   #0c1a30;
  --bg-card:   rgba(15, 30, 60, .55);
  --bg-card-solid: #0f1e3c;
  --border:        rgba(148, 184, 255, .14);
  --border-strong: rgba(96, 165, 250, .35);

  /* text */
  --text:        #f2f6ff;
  --text-soft:   rgba(226, 236, 255, .78);
  --text-muted:  rgba(190, 208, 240, .55);
  --text-faint:  rgba(170, 192, 230, .38);

  /* accents */
  --primary:        var(--blue-500);
  --primary-light:  var(--blue-300);
  --primary-dark:   var(--blue-700);
  --success: #4ade80;
  --gold:   #fbbf24;

  /* effects */
  --glow-primary: 0 8px 30px rgba(37, 99, 235, .45);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;

  /* theme-aware surfaces */
  --nav-bg: rgba(10, 22, 40, .72);
  --nav-bg-solid: rgba(8, 18, 34, .92);
  --overlay-bg: rgba(12, 26, 48, .96);
  --surface-glass: rgba(15, 30, 60, .45);
  --surface-glass-strong: rgba(20, 40, 80, .55);
  --bank-item-bg: linear-gradient(160deg, rgba(235, 242, 255, .96), rgba(216, 230, 252, .94));
  --bank-item-border: rgba(96, 165, 250, .28);
  --wall-bg: linear-gradient(180deg, rgba(12, 24, 46, .3), rgba(12, 24, 46, .5));
  --grid-line: rgba(59, 130, 246, .05);
  --btn2-border: rgba(226, 236, 255, .22);
  --shadow-deep: rgba(4, 12, 28, .5);
  --card-shadow: 0 16px 48px rgba(4, 12, 28, .55);
  --noise-opacity: .03;
  --orb-boost: 1;

  /* partner cards（logo 含白色元素，深色卡底两主题通用） */
  --partner-card-bg: linear-gradient(160deg, rgba(40, 68, 128, .97), rgba(22, 42, 86, .97));
  --partner-card-border: rgba(110, 168, 254, .45);
  --partner-ghost-bg: rgba(36, 62, 118, .55);
  --partner-ghost-border: rgba(110, 168, 254, .2);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans", "Noto Sans SC", sans-serif;

  --nav-h: 72px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
strong { color: var(--text); }
::selection { background: rgba(59, 130, 246, .35); color: #fff; }

/* scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(96, 165, 250, .25); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(96, 165, 250, .45); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 96px 24px; overflow: hidden; }
.muted { color: var(--text-muted); }
.primary-light { color: var(--primary-light); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  width: 100%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform: scaleX(0); transform-origin: 0 50%;
  will-change: transform;
}

/* ---------- Navbar ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 32px;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.site-nav[data-scrolled="true"] {
  background: var(--nav-bg-solid);
  border-bottom-color: var(--border);
}
.nav-inner {
  width: 100%; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(41, 169, 240, .45);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-name {
  font-weight: 900; font-size: 20px; letter-spacing: .01em;
  background: linear-gradient(92deg, #fff 20%, var(--blue-300) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 8px 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  transition: color .25s var(--ease-out);
}
.nav-link:hover { color: var(--text); }
.nav-link[aria-current="page"] { color: var(--text); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
}
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* locale switcher */
.locale-switch { position: relative; }
.locale-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-glass);
  font-size: 13px; font-weight: 600; color: var(--text-soft);
  transition: border-color .25s, background .25s;
}
.locale-btn:hover { border-color: var(--border-strong); background: var(--surface-glass-strong); }
.locale-btn .flag { font-size: 15px; line-height: 1; }
.locale-btn .caret { transition: transform .3s var(--ease-out); }
.locale-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.locale-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px;
  padding: 6px; border-radius: var(--radius-md);
  background: var(--overlay-bg);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: 0 16px 48px var(--shadow-deep);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s var(--ease-out), transform .22s var(--ease-out), visibility .22s;
}
.locale-menu[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.locale-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-soft);
  transition: background .2s, color .2s;
}
.locale-item:hover { background: rgba(59, 130, 246, .12); color: var(--text); }
.locale-item[data-active="true"] { color: var(--primary-light); background: rgba(59, 130, 246, .1); }

/* nav CTA */
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; font-size: 13.5px; font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--glow-primary);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  will-change: transform;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 34px rgba(37, 99, 235, .6); }

/* mobile menu */
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; }
.menu-toggle span {
  width: 22px; height: 2px; border-radius: 1px;
  background: var(--text-soft);
  transition: transform .3s var(--ease-out), opacity .3s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 90;
  padding: 16px 24px 28px;
  background: rgba(8, 18, 34, .97);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), visibility .3s;
}
.mobile-menu[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  display: block; padding: 14px 8px;
  font-size: 16px; font-weight: 600; color: var(--text-soft);
  border-bottom: 1px solid rgba(148, 184, 255, .08);
}
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 34px; border-radius: 999px;
  font-size: 15px; font-weight: 800; letter-spacing: .01em;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              border-color .25s, background .25s;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  color: #fff; box-shadow: var(--glow-primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37, 99, 235, .65); }
.btn-primary .arrow { transition: transform .25s var(--ease-out); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--btn2-border);
  color: var(--text-soft);
  font-weight: 600; font-size: 14px;
}
.btn-secondary:hover { border-color: var(--border-strong); background: rgba(59, 130, 246, .08); color: var(--text); }

/* ---------- Badges / pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(96, 165, 250, .3);
  color: var(--primary-light);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 10px var(--success);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.8); } }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .35s var(--ease-out), border-color .35s, box-shadow .35s var(--ease-out);
  will-change: transform;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 48px var(--shadow-deep), 0 0 0 1px rgba(96, 165, 250, .08);
}
.card-glow {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
              rgba(59, 130, 246, .14), transparent 65%);
  opacity: 0; transition: opacity .35s;
}
.card:hover .card-glow { opacity: 1; }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.sec-head h2, .sec-head h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 900; letter-spacing: -.025em; line-height: 1.12;
  margin-bottom: 18px;
}
.sec-head p { font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--text-muted); }

/* ---------- Reveal system（滚动入场） ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: transform, opacity;
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Ambient orbs（氛围光，低频漂移） ---------- */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  will-change: transform;
}
.orb-blue  { background: radial-gradient(circle, rgba(59, 130, 246, .4), transparent 72%); }
.orb-deep  { background: radial-gradient(circle, rgba(29, 78, 216, .34), transparent 72%); }
.orb-soft  { background: radial-gradient(circle, rgba(96, 165, 250, .18), transparent 72%); }

@keyframes drift-a {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1); }
  50%      { transform: translate3d(calc(var(--px, 0px) + 40px), calc(var(--py, 0px) + 30px), 0) scale(1.06); }
}
@keyframes drift-b {
  0%, 100% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1); }
  50%      { transform: translate3d(calc(var(--px, 0px) - 36px), calc(var(--py, 0px) - 24px), 0) scale(.96); }
}
.drift-a { animation: drift-a 14s ease-in-out infinite; }
.drift-b { animation: drift-b 17s ease-in-out infinite; }

/* faint grid */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}

/* ---------- Bank marquee wall（三行双向滚动 · 全宽铺满） ---------- */
.bankwall {
  position: relative;
  width: 100%;
  padding: 40px 0;
  background: var(--wall-bg);
  overflow: hidden;
}
/* 行容器：真正的 grid gap 在这里（三行 marquee 的父级） */
#bankwall-grid { display: grid; gap: 30px; }
.bank-marquee {
  overflow: hidden;
  /* 上下预留 hover 溢出空间（上浮 + 光晕），负 margin 抵消不影响布局 */
  padding: 52px 0;
  margin: -52px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.bank-track {
  display: flex;
  width: max-content;
  animation: bank-scroll 52s linear infinite;
  will-change: transform;
}
.bank-marquee[data-dir="right"] .bank-track { animation-name: bank-scroll-rev; }
/* 中间行稍慢，制造层次 */
.bank-marquee[data-dir="right"] .bank-track { animation-duration: 58s; }
/* hover 整墙同步暂停 */
.bankwall:hover .bank-track { animation-play-state: paused; }
@keyframes bank-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes bank-scroll-rev {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.bank-item {
  flex-shrink: 0;
  width: 264px;
  margin-right: 30px;   /* 水平间距 = 行间距 */
  display: grid; place-items: center;
  height: 96px;
  border-radius: var(--radius-md);
  /* 浅色小卡：原色 logo（多为深色字）在浅底上完全可辨 */
  background: var(--bank-item-bg);
  border: 1px solid var(--bank-item-border);
  box-shadow: 0 6px 18px var(--shadow-deep);
  transition: border-color .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: transform;
}
.bank-item img {
  max-height: 52px; max-width: 190px;
  object-fit: contain;
  transition: transform .35s var(--ease-out);
  will-change: transform;
}
.bank-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 14px 34px var(--shadow-deep), 0 0 0 1px rgba(96, 165, 250, .25);
}
.bank-item:hover img { transform: scale(1.06); }

@media (max-width: 640px) {
  .bankwall { padding: 24px 0; }
  #bankwall-grid { gap: 20px; }
  .bank-track { animation-duration: 38s; }
  .bank-marquee[data-dir="right"] .bank-track { animation-duration: 42s; }
  .bank-item { width: 188px; height: 72px; margin-right: 20px; }
  .bank-item img { max-height: 36px; max-width: 132px; }
}

/* ---------- CTA section ---------- */
.cta-sec { text-align: center; padding: 140px 24px; }
.cta-sec .orb { opacity: .8; }
.cta-inner { position: relative; z-index: 5; max-width: 720px; margin: 0 auto; }
.cta-inner h2 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.08;
  margin-bottom: 20px;
}
.cta-inner p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: var(--text-muted); margin-bottom: 44px; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 72px 24px 32px;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto 48px;
  display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 40px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 260px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: 14px; color: var(--text-muted);
  transition: color .2s;
}
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--text-faint);
}
.footer-status { display: flex; align-items: center; gap: 8px; }
.footer-status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding: 72px 20px; }
  .site-nav { padding: 0 20px; }
  .nav-cta { padding: 8px 15px; font-size: 12.5px; }
  .locale-btn { padding: 7px 11px; }
  .cta-sec { padding: 100px 20px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; max-width: 340px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Theme toggle ---------- */
.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  background: var(--surface-glass);
  color: var(--text-soft);
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease-out);
}
.theme-toggle:hover {
  border-color: var(--border-strong);
  background: var(--surface-glass-strong);
  color: var(--text);
  transform: rotate(15deg);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ==========================================================================
   LIGHT THEME
   ========================================================================== */
html[data-theme="light"] {
  --bg:            #eef4ff;
  --bg-soft:       #e4edfb;
  --bg-card:       rgba(255, 255, 255, .74);
  --bg-card-solid: #ffffff;
  --border:        rgba(37, 99, 235, .16);
  --border-strong: rgba(37, 99, 235, .45);
  --text:          #0e1d38;
  --text-soft:     #23375e;
  --text-muted:    rgba(45, 70, 112, .74);
  --text-faint:    rgba(62, 90, 132, .5);
  --primary-light: var(--blue-700);
  --nav-bg:        rgba(246, 250, 255, .82);
  --nav-bg-solid:  rgba(240, 246, 255, .96);
  --overlay-bg:    rgba(250, 252, 255, .98);
  --surface-glass: rgba(255, 255, 255, .6);
  --surface-glass-strong: rgba(228, 238, 255, .85);
  --bank-item-bg:  linear-gradient(160deg, #ffffff, #eef4ff);
  --bank-item-border: rgba(37, 99, 235, .22);
  --wall-bg:       linear-gradient(180deg, rgba(37, 99, 235, .05), rgba(37, 99, 235, .1));
  --grid-line:     rgba(37, 99, 235, .09);
  --btn2-border:   rgba(37, 99, 235, .3);
  --shadow-deep:   rgba(30, 64, 148, .16);
  --card-shadow:   0 16px 48px rgba(30, 64, 148, .14);
  --glow-primary:  0 8px 30px rgba(37, 99, 235, .3);
  --noise-opacity: .02;
  /* partner cards：白天模式下用品牌蓝渐变（白字 logo 在蓝底上同样清晰） */
  --partner-card-bg: linear-gradient(160deg, #3f8bf7, #1d4ed8);
  --partner-card-border: rgba(255, 255, 255, .45);
  --partner-ghost-bg: rgba(59, 130, 246, .35);
  --partner-ghost-border: rgba(59, 130, 246, .25);
  color-scheme: light;
}

/* chrome */
html[data-theme="light"] .brand-name {
  background: linear-gradient(92deg, #0e1d38 20%, var(--blue-700) 90%);
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .mobile-menu { background: rgba(246, 250, 255, .97); }
html[data-theme="light"] .locale-item:hover { background: rgba(37, 99, 235, .08); }
html[data-theme="light"] .locale-item[data-active="true"] { color: var(--blue-700); background: rgba(37, 99, 235, .1); }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(37, 99, 235, .3); }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(37, 99, 235, .5); }
html[data-theme="light"] ::selection { background: rgba(37, 99, 235, .22); color: #0e1d38; }

/* orbs & atmosphere */
html[data-theme="light"] .orb-blue { background: radial-gradient(circle, rgba(59, 130, 246, .18), transparent 72%); }
html[data-theme="light"] .orb-deep { background: radial-gradient(circle, rgba(29, 78, 216, .14), transparent 72%); }
html[data-theme="light"] .orb-soft { background: radial-gradient(circle, rgba(96, 165, 250, .12), transparent 72%); }
html[data-theme="light"] .hero-noise { opacity: .015; }
html[data-theme="light"] .hero-noise { opacity: var(--noise-opacity); }
html[data-theme="light"] .hero-spotlight {
  background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 50%), rgba(37, 99, 235, .08), transparent 65%);
}
html[data-theme="light"] .card-glow {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, .08), transparent 65%);
}
html[data-theme="light"] .hero::after {
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, .45), transparent);
}
html[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, .1), transparent 70%);
}

/* hero typography */
html[data-theme="light"] .hero-title .line-1 {
  background: linear-gradient(180deg, #14233f 20%, #2d4d94 100%);
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .hero-title .line-2 { color: var(--blue-800); }
html[data-theme="light"] .hero-title .accent {
  background: linear-gradient(92deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--blue-600) 100%);
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .hero-title .accent::before {
  background: linear-gradient(90deg, transparent, var(--blue-600), transparent);
}
html[data-theme="light"] .hero-story { color: var(--text-muted); }
html[data-theme="light"] .hero-story .hook { color: var(--text); }
html[data-theme="light"] .hero-story .attitude { color: var(--blue-700); }
html[data-theme="light"] .hero-title .accent::after {
  background: linear-gradient(90deg, var(--blue-500), var(--blue-800));
}

/* floating metric cards（白玻璃） */
html[data-theme="light"] .metric-card {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(37, 99, 235, .3);
  box-shadow: 0 16px 44px var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .metric-card:hover {
  background: rgba(255, 255, 255, .98);
  border-color: rgba(37, 99, 235, .55);
  box-shadow: 0 18px 52px var(--shadow-deep), 0 0 34px rgba(37, 99, 235, .25);
}
html[data-theme="light"] .metric-card small,
html[data-theme="light"] .metric-card span { color: var(--text-muted); }
html[data-theme="light"] .metric-card strong {
  background: linear-gradient(110deg, var(--blue-600) 25%, var(--blue-900) 50%, var(--blue-500) 75%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .hero-notes li { color: var(--text-muted); }
html[data-theme="light"] .hero-notes li::before { color: var(--blue-700); }

/* stats watermark & values */
html[data-theme="light"] .stats-watermark { color: rgba(37, 99, 235, .07); }
html[data-theme="light"] .stat-row strong {
  background: linear-gradient(180deg, #16233f 30%, var(--blue-700));
  -webkit-background-clip: text; background-clip: text;
}

/* security */
html[data-theme="light"] .cert {
  color: var(--blue-700);
  background: rgba(255, 255, 255, .92);
  border-color: rgba(37, 99, 235, .25);
}
html[data-theme="light"] .security-live { color: var(--blue-700); }
html[data-theme="light"] .security-item[data-active="true"] {
  background: rgba(37, 99, 235, .08);
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 0 32px rgba(37, 99, 235, .1);
}

/* testimonials（demo 页仍用） */
html[data-theme="light"] .testimonial-card p { color: var(--text-soft); }
html[data-theme="light"] .testimonial-card footer { border-top-color: var(--border); }
html[data-theme="light"] .testimonial-card footer small { color: var(--text-muted); }

/* CTA */
html[data-theme="light"] .cta-inner h2 {
  background: linear-gradient(100deg, #14233f 32%, var(--blue-700) 50%, #14233f 68%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .cta-rings i { border-color: rgba(37, 99, 235, .3); }

/* fees */
html[data-theme="light"] .fee-stat p.num {
  background: linear-gradient(180deg, #16233f 30%, var(--blue-700));
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .fee-stat:not(:last-child)::after { background: rgba(37, 99, 235, .14); }
html[data-theme="light"] .fee-note { background: rgba(255, 255, 255, .7); border-color: var(--border); }
html[data-theme="light"] .fee-note.primary { color: var(--blue-700); background: rgba(37, 99, 235, .08); }
html[data-theme="light"] .tier-row.head { background: rgba(37, 99, 235, .08); color: var(--blue-800); }
html[data-theme="light"] .tier-row:not(.head):hover { background: rgba(37, 99, 235, .05); }
html[data-theme="light"] .tier-rate { color: var(--blue-800); background: rgba(37, 99, 235, .1); }
html[data-theme="light"] .fee-card .fee-card-glow { background: radial-gradient(ellipse, rgba(37, 99, 235, .1), transparent 70%); }
html[data-theme="light"] .fee-rate-value { color: var(--blue-800); background: rgba(37, 99, 235, .08); }
html[data-theme="light"] .fee-feature { background: rgba(255, 255, 255, .6); border-color: var(--border); }
html[data-theme="light"] .fee-deposit::before {
  background: radial-gradient(ellipse, rgba(37, 99, 235, .1), transparent 70%);
}

/* demo（轮播截图保持深色画框） */
html[data-theme="light"] .car-frame {
  background: #0f1e3c;
  border-color: rgba(37, 99, 235, .3);
  box-shadow: 0 24px 64px rgba(30, 64, 148, .18);
}
html[data-theme="light"] .car-slide[data-active="true"] .car-frame {
  border-color: rgba(37, 99, 235, .5);
  box-shadow: 0 28px 80px rgba(37, 99, 235, .2);
}
html[data-theme="light"] .car-tag {
  color: var(--blue-100);
  background: rgba(10, 22, 40, .82);
  border-color: rgba(96, 165, 250, .35);
}
html[data-theme="light"] .car-nav {
  color: var(--blue-700);
  background: rgba(255, 255, 255, .85);
  border-color: rgba(37, 99, 235, .3);
}
html[data-theme="light"] .car-nav:hover { background: rgba(37, 99, 235, .15); }
html[data-theme="light"] .car-dot { background: rgba(37, 99, 235, .25); }

/* merchant */
html[data-theme="light"] .step-num { box-shadow: 0 6px 20px rgba(37, 99, 235, .25); }
html[data-theme="light"] .formula {
  color: #1a2f5a;
  background: rgba(238, 244, 255, .9);
  border-color: rgba(37, 99, 235, .2);
}
html[data-theme="light"] .agency-badge {
  color: var(--blue-800);
  background: rgba(37, 99, 235, .08);
  border-color: rgba(37, 99, 235, .25);
}
html[data-theme="light"] .contact-card .c-icon {
  color: var(--blue-700);
  background: rgba(37, 99, 235, .08);
}
html[data-theme="light"] .contact-card .c-value { color: var(--blue-800); }

/* partners（中央标题渐变 + 卡片阴影适配） */
html[data-theme="light"] .partners-center h2 {
  background: linear-gradient(180deg, #14233f 30%, #2d4d94);
  -webkit-background-clip: text; background-clip: text;
}
html[data-theme="light"] .partner-card {
  box-shadow: 0 14px 40px rgba(30, 64, 148, .3), inset 0 1px 0 rgba(255, 255, 255, .25);
}
html[data-theme="light"] .partner-card:hover {
  box-shadow:
    0 20px 52px rgba(30, 64, 148, .35),
    0 0 40px rgba(37, 99, 235, .45);
}

/* page heroes（内页标题渐变） */
html[data-theme="light"] .page-hero-inner h1,
html[data-theme="light"] .page-hero-inner .kicker { color: var(--text); -webkit-background-clip: initial; background-clip: initial; }
html[data-theme="light"] .page-hero-inner h1 {
  background: linear-gradient(180deg, #14233f 25%, #2d4d94);
  -webkit-background-clip: text; background-clip: text;
}

