/* ============================================================================
   官网首页样式（web/admin/static/home.css）—— 方向 C · 深色组件墙 · 动效版
   ----------------------------------------------------------------------------
   业主 2026-11-05 05:46+08 确认按方向 C 落地。本文件只作用于 .home-page 与
   .hp-* 类，不影响 /admin/、/portal/、/cashier/ 或任何控制台模板。

   边界：
     - 不引入任何外部资源（字体、图片、脚本），不新增网络请求。字体只用系统
       字体栈（"Inter" / "JetBrains Mono" 仅在访客本机已安装时生效，不下载）。
     - 页面不带内联 style / script：所有样式都在本文件。
     - 动效全部是 CSS 动画；prefers-reduced-motion: reduce 时全部关闭，并把
       轮播 / 跑马灯 / 逐行出现等「靠动画才露出」的内容改为静态完整展示。
     - 文字对比度：正文与说明文字对其真实底色均 ≥ 4.5:1（最淡的说明色
       #8E8E9C 对 #0F0F13 / #17171D 为 5.9 / 5.5）；白字所在的渐变色块
       只用深一档的色值（#1D4ED8 / #2563EB / #6D28D9 / #7C3AED / #BE185D /
       #0E7490，白字对比 5.2–7.1）。
     - 触控目标：按钮、导航与页脚链接、FAQ 标题高度 ≥ 44px；焦点环可见。
   ============================================================================ */

@property --hp-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

html:has(> body.home-page) { background: #07070A; color-scheme: dark; }

.home-page {
  /* —— 表面 —— */
  --hp-bg: #07070A;
  --hp-tile: #0F0F13;
  --hp-tile-2: #17171D;
  --hp-tile-3: #0B0B10;
  --hp-line: #1E1E25;
  --hp-line-2: #2A2A33;
  --hp-line-3: #34343F;

  /* —— 文字 —— */
  --hp-text: #FAFAFA;
  --hp-text-2: #D4D4DC;
  --hp-muted: #B4B4C0;
  --hp-subtle: #A1A1AA;
  --hp-faint: #8E8E9C;

  /* —— 强调色 —— */
  --hp-ac: #3B82F6;
  --hp-ac-strong: #2563EB;
  --hp-ac-deep: #1D4ED8;
  --hp-violet: #8B5CF6;
  --hp-violet-strong: #7C3AED;
  --hp-violet-deep: #6D28D9;
  --hp-pink: #EC4899;
  --hp-pink-deep: #BE185D;
  --hp-cyan: #22D3EE;
  --hp-cyan-deep: #0E7490;
  --hp-green: #22C55E;
  --hp-amber: #F59E0B;

  /* —— 排版 —— */
  --hp-font: Inter, system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --hp-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --hp-max: 1200px;
  --hp-gutter: 24px;

  margin: 0;
  background: var(--hp-bg);
  color: var(--hp-text);
  font-family: var(--hp-font);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

/* admin.css 是浅色控制台样式表，这里把官网需要的基座规则覆盖回深色。 */
.home-page a { color: inherit; text-decoration: none; }
.home-page a:hover { text-decoration: none; }
.home-page h1, .home-page h2, .home-page h3 { margin: 0; letter-spacing: -.02em; overflow-wrap: normal; word-break: normal; }
.home-page p { margin: 0; }
.home-page dl, .home-page dd, .home-page dt { margin: 0; }
.home-page ul, .home-page ol { margin: 0; padding: 0; list-style: none; }
.home-page code, .hp-mono { font-family: var(--hp-font-mono); }
.home-page code { font-size: inherit; }
.home-page button { min-height: 44px; }
.home-page :focus-visible {
  outline: 2px solid #93C5FD;
  outline-offset: 3px;
  border-radius: 8px;
}
@media (prefers-reduced-motion: no-preference) {
  html:has(> body.home-page) { scroll-behavior: smooth; }
}
[id] { scroll-margin-top: 84px; }

.hp-skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  padding: 12px 16px; background: var(--hp-ac-deep); color: #fff; border-radius: 0 0 12px 0;
}
.hp-skip:focus { left: 0; }

.hp-wrap { max-width: var(--hp-max); margin: 0 auto; padding: 0 var(--hp-gutter); box-sizing: border-box; }
.hp-wrap-narrow { max-width: 808px; }

/* ---------------------------------------------------------------- 公告条（流光） */
.hp-bar {
  position: relative; z-index: 41;
  background: linear-gradient(90deg, var(--hp-ac-deep), var(--hp-violet-deep), var(--hp-pink-deep), var(--hp-cyan-deep), var(--hp-ac-deep));
  background-size: 300% 100%;
  animation: hp-shift 8s linear infinite;
  color: #fff;
}
/* 选择器带 .home-page：上面的 `.home-page p { margin: 0; }`（0,1,1）比单类 .hp-bar-inner（0,1,0）更具体，
   会把 margin: 0 auto 压成 0，视口宽于 --hp-max 时整条文字贴左。提到（0,2,0）让居中生效。 */
.home-page .hp-bar-inner {
  max-width: var(--hp-max); margin: 0 auto; padding: 0 var(--hp-gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 8px;
  font-size: 13px; font-weight: 500; line-height: 1.45; text-align: center;
}
.hp-bar-inner > span { padding: 6px 0; }
.hp-bar-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 700; color: #fff; }
.hp-bar-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@keyframes hp-shift { to { background-position: 300% 0; } }

/* ---------------------------------------------------------------- 导航 */
.hp-nav {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  transition: border-color .24s ease, background .24s ease;
}
.hp-nav.is-stuck {
  background: rgba(7, 7, 10, .86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--hp-line);
}
.hp-nav-inner {
  max-width: var(--hp-max); margin: 0 auto; box-sizing: border-box;
  padding: 12px var(--hp-gutter);
  display: flex; align-items: center; gap: 28px;
}
.hp-brand { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; min-height: 44px; color: var(--hp-text); }
.hp-brand-mark {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--hp-ac-strong), var(--hp-violet-strong));
  color: #fff; font-size: 13px; font-weight: 800; line-height: 1;
}
.hp-brand-text {
  min-width: 0; max-width: min(32vw, 32ch); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 16px; font-weight: 700; letter-spacing: -.01em;
}
.hp-nav-links { display: flex; gap: 22px; font-size: 14px; }
.hp-nav-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hp-subtle); transition: color .14s ease; }
.hp-nav-links a:hover { color: var(--hp-text); }
.hp-nav-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; flex: 0 0 auto; }
.hp-mobile-nav { display: none; position: relative; flex: 0 0 auto; }
.hp-mobile-nav > summary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 0 14px; box-sizing: border-box;
  border: 1px solid var(--hp-line-2); border-radius: 10px;
  color: var(--hp-text-2); background: var(--hp-tile);
  cursor: pointer; font-size: 13px; list-style: none; white-space: nowrap;
}
.hp-mobile-nav > summary::-webkit-details-marker { display: none; }
.hp-mobile-nav > summary::marker { content: ''; }
.hp-mobile-nav > summary:hover { color: var(--hp-text); border-color: var(--hp-line-3); }
.hp-mobile-nav-chevron { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-top: -3px; }
.hp-mobile-nav[open] .hp-mobile-nav-chevron { transform: rotate(225deg); margin-top: 3px; }
.hp-mobile-nav:not([open]) .hp-nav-links { display: none; }
.hp-mobile-nav .hp-nav-links {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 50; display: flex;
  flex-direction: column; gap: 2px; width: min(260px, calc(100vw - 32px)); margin: 0; box-sizing: border-box;
  padding: 8px; border: 1px solid var(--hp-line-2); border-radius: 12px;
  background: var(--hp-tile); box-shadow: 0 16px 36px rgba(0,0,0,.5);
}
.hp-mobile-nav .hp-nav-links a { display: flex; padding: 0 12px; border-radius: 8px; color: var(--hp-text-2); }
.hp-mobile-nav .hp-nav-links a:hover { background: var(--hp-tile-2); }

/* ---------------------------------------------------------------- 按钮 */
.hp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; box-sizing: border-box;
  border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font: inherit; font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background .14s ease, border-color .14s ease, filter .14s ease, transform .3s ease;
}
.hp-btn-lg { min-height: 48px; padding: 0 22px; border-radius: 12px; font-size: 15px; }
.hp-btn-sm { min-height: 44px; padding: 0 12px; font-size: 13px; }
.hp-btn-block { display: flex; width: 100%; margin-top: 26px; }
.home-page .hp-btn-primary {
  background: linear-gradient(135deg, var(--hp-ac-strong), var(--hp-violet-strong)); color: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, .45);
}
.home-page .hp-btn-primary:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--hp-ac-strong), var(--hp-violet-strong)); }
.home-page .hp-btn-light { background: #FAFAFA; color: #07070A; }
.home-page .hp-btn-light:hover { background: #E4E4EA; }
.home-page .hp-btn-glass { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: var(--hp-text); font-weight: 500; }
.home-page .hp-btn-glass:hover { background: rgba(255,255,255,.09); }
.home-page .hp-btn-ghost { background: transparent; color: var(--hp-text); border-color: var(--hp-line-2); font-weight: 500; }
.home-page .hp-btn-ghost:hover { background: var(--hp-tile-2); border-color: var(--hp-line-3); }
.home-page .hp-btn-outline { background: transparent; color: var(--hp-text); border-color: var(--hp-line-2); font-weight: 500; }
.home-page .hp-btn-outline:hover { background: var(--hp-tile-2); }
.home-page .hp-btn-grad { background: linear-gradient(135deg, var(--hp-violet-strong), var(--hp-pink-deep)); color: #fff; }
.home-page .hp-btn-grad:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--hp-violet-strong), var(--hp-pink-deep)); }
.home-page .hp-btn:active { filter: brightness(.92); }
.hp-linklike {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: var(--hp-faint);
}
.hp-linklike:hover { color: var(--hp-text); }
/* admin.css 的全局 `button` 规则（min-height 42px、圆角、hover 底色）会落到这个「像链接的按钮」上，
   使页脚「申请接入」比同排链接高出一截、悬停还会冒出主色底 ⇒ 在此逐项归零（2026-11-04 首页修第 6 项）。
   触控高度由所在容器统一给（页脚 nav 的每一项都是 ≥44px 的行内块，见「页脚」）。 */
.hp-linklike { min-height: 0; line-height: inherit; border-radius: 0; }
.hp-linklike:hover, .hp-linklike:active { background: none; }

/* ---------------------------------------------------------------- 通用小件 */
.hp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: var(--hp-tile-2); border: 1px solid var(--hp-line-2);
  font-size: 12px; line-height: 1.4; color: var(--hp-text-2); white-space: nowrap;
}
.hp-chip > span { color: var(--hp-faint); }
.hp-tile {
  position: relative; box-sizing: border-box;
  background: var(--hp-tile); border: 1px solid var(--hp-line); border-radius: 18px;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.hp-tile:hover { border-color: var(--hp-line-3); }
.hp-glowline {
  position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--hp-c, var(--hp-ac)), transparent); opacity: .9;
}
.hp-t-blue { --hp-c: #3B82F6; }
.hp-t-violet { --hp-c: #A78BFA; }
.hp-t-cyan { --hp-c: #22D3EE; }
.hp-t-green { --hp-c: #34D399; }
.hp-t-amber { --hp-c: #F59E0B; }
.hp-t-pink { --hp-c: #F472B6; }
.hp-t-rose { --hp-c: #EC4899; }
.hp-kicker { font-size: 13px; color: var(--hp-faint); }
.hp-keep { display: inline-block; }
.hp-grad-text {
  display: inline-block;
  background: linear-gradient(90deg, #93C5FD, #C4B5FD, #F9A8D4);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-demo-label { margin-top: 10px; font-family: var(--hp-font-mono); font-size: 11.5px; color: var(--hp-faint); }

/* ---------------------------------------------------------------- 首屏 */
.hp-hero { position: relative; overflow: hidden; padding: 80px 0 44px; text-align: center; }
.hp-hero-inner { position: relative; }
.hp-aurora { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hp-a1 { width: 520px; height: 340px; left: 8%; top: 30px; background: var(--hp-ac); animation: hp-drift1 14s ease-in-out infinite alternate; }
.hp-a2 { width: 460px; height: 320px; right: 6%; top: 60px; background: var(--hp-violet); animation: hp-drift2 16s ease-in-out infinite alternate; }
.hp-a3 { width: 380px; height: 260px; left: 38%; top: 220px; background: var(--hp-cyan); opacity: .28; animation: hp-drift1 18s ease-in-out infinite alternate-reverse; }
@keyframes hp-drift1 { to { transform: translate(120px, 40px) scale(1.15); } }
@keyframes hp-drift2 { to { transform: translate(-140px, 60px) scale(.9); } }
.hp-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hp-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--hp-line-2);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; color: var(--hp-text-2);
}
.hp-hero-tag i { width: 7px; height: 7px; border-radius: 9px; background: var(--hp-ac); box-shadow: 0 0 10px var(--hp-ac); }
.hp-display {
  margin: 26px 0 0 !important;
  font-size: clamp(40px, 8.4vw, 82px); line-height: 1.16; font-weight: 800; letter-spacing: -.02em;
}
.hp-hl {
  padding: 0 .17em; border-radius: 14px; color: #fff;
  background: linear-gradient(90deg, var(--hp-ac-strong), var(--hp-violet-strong), var(--hp-cyan-deep), var(--hp-ac-strong));
  background-size: 300% 100%;
  animation: hp-shift 6s linear infinite;
  box-shadow: 0 10px 40px rgba(37, 99, 235, .4);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hp-lede { margin: 26px auto 0 !important; max-width: 600px; font-size: 18px; line-height: 1.7; color: var(--hp-muted); }
.hp-amount { color: var(--hp-text); font-weight: 600; }
.hp-hero-actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* 灵动岛：三条通知轮流出现（CSS 轮播） */
.hp-island-wrap { margin: 36px auto 0; }
.hp-island {
  position: relative; box-sizing: border-box;
  width: min(360px, 100%); height: 48px;
  background: #000; border: 1px solid #23232B; border-radius: 999px;
  box-shadow: 0 20px 50px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden; text-align: left;
}
.home-page .hp-island { margin: 0 auto; } /* 压过 `.home-page ul { margin: 0 }` 才能居中 */
.hp-island li {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 10px;
  padding: 0 18px; font-size: 14px; color: var(--hp-text);
  opacity: 0; animation: hp-isl 9s infinite;
}
.hp-island li:nth-child(2) { animation-delay: 3s; }
.hp-island li:nth-child(3) { animation-delay: 6s; }
.hp-island b { margin-left: auto; font-weight: 700; }
.hp-island em { font-style: normal; color: var(--hp-faint); font-size: 12px; }
.hp-isl-ic {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 12px; font-weight: 800; color: #07070A;
}
.hp-isl-ok { background: var(--hp-green); }
.hp-isl-usdt { background: #A78BFA; }
.hp-isl-cb { background: var(--hp-cyan); }
.hp-isl-ok-t { color: #4ADE80; }
.hp-isl-usdt-t { color: #C4B5FD; }
.hp-isl-cb-t { color: #67E8F9; }
@keyframes hp-isl {
  0% { opacity: 0; transform: translateY(14px) scale(.96); }
  5%, 30% { opacity: 1; transform: none; }
  35%, 100% { opacity: 0; transform: translateY(-14px) scale(.96); }
}

/* ---------------------------------------------------------------- 跑马灯 */
.hp-marquee {
  padding: 8px 0 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.hp-marquee-track { display: flex; gap: 12px; width: max-content; animation: hp-mq 34s linear infinite; }
@keyframes hp-mq { to { transform: translateX(calc(-50% - 6px)); } }

/* ---------------------------------------------------------------- 数字卡 */
.hp-tiles-section { padding-top: 56px; }
.hp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.hp-tiles > dl { display: contents; }
.hp-metric { display: flex; flex-direction: column; padding: 22px 24px; }
.hp-metric dt { order: 1; font-size: 12.5px; color: var(--hp-faint); }
.hp-metric-value {
  order: 2; margin-top: 6px !important;
  font-size: clamp(26px, 3.2vw, 38px); line-height: 1.2; font-weight: 800; letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #fff 40%, #93C5FD 50%, #fff 60%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hp-shine 4s linear infinite;
  overflow-wrap: anywhere;
}
.hp-metric-value small { font-size: 15px; font-weight: 600; }
.hp-metric-value.is-compact {
  font-size: clamp(20px, 2.4vw, 30px); line-height: 1.3;
  background: linear-gradient(90deg, #93C5FD, #C4B5FD); -webkit-background-clip: text; background-clip: text;
  animation: none;
}
.hp-metric-value.is-green { background: none; color: #6EE7B7; animation: none; }
.hp-metric-value.is-green small { color: var(--hp-faint); }
.hp-metrics-static .hp-metric:first-child .hp-metric-value { background: none; color: var(--hp-text); animation: none; }
.hp-metrics-static .hp-metric:first-child .hp-metric-value small { color: var(--hp-faint); }
.hp-metric-note { order: 3; margin-top: 4px !important; font-size: 13px; color: var(--hp-faint); line-height: 1.5; }
.hp-metrics > .hp-metric:nth-child(4n+1) { --hp-c: #3B82F6; }
.hp-metrics > .hp-metric:nth-child(4n+2) { --hp-c: #A78BFA; }
.hp-metrics > .hp-metric:nth-child(4n+3) { --hp-c: #60A5FA; }
.hp-metrics > .hp-metric:nth-child(4n+4) { --hp-c: #C4B5FD; }
@keyframes hp-shine { from { background-position: 150% 0; } to { background-position: -100% 0; } }

/* ---------------------------------------------------------------- 区块 */
.hp-section { padding: 110px 0 0; }
.hp-head h2 { margin-top: 8px !important; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.25; font-weight: 800; }
.hp-head-center { text-align: center; }
.hp-head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.hp-head-aside { font-size: 14px; color: var(--hp-subtle); }
.hp-head-sub { margin-top: 12px !important; font-size: 16px; color: var(--hp-subtle); }

/* 运行数据板（只在有真实数据源时渲染） */
.hp-status-board, .hp-trust-grid {
  margin-top: 28px; display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.hp-status-cell, .hp-trust-cell {
  display: flex; flex-direction: column; gap: 4px; padding: 18px 20px;
  background: var(--hp-tile); border: 1px solid var(--hp-line); border-radius: 16px;
}
.hp-status-label, .hp-trust-cell span { font-size: 12.5px; color: var(--hp-faint); }
.hp-status-value, .hp-trust-cell strong { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--hp-text); }
.hp-status-sub, .hp-trust-cell em { font-style: normal; font-size: 12px; color: var(--hp-faint); }
.hp-status-list { margin-top: 12px; padding: 22px 24px; }
.hp-subhead { font-size: 15px; font-weight: 700; margin-bottom: 10px !important; }
.hp-status-list ul { display: grid; gap: 4px; }
.hp-sys { display: grid; grid-template-columns: 10px minmax(0, 8em) auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 36px; font-size: 13.5px; }
.hp-sys-dot { width: 8px; height: 8px; border-radius: 9px; background: var(--hp-faint); }
.hp-sys-ok { background: var(--hp-green); box-shadow: 0 0 8px var(--hp-green); }
.hp-sys-pending { background: var(--hp-amber); }
.hp-sys-state { color: var(--hp-text-2); }
.hp-sys-note { color: var(--hp-faint); font-size: 12.5px; }
.hp-state-note { margin-top: 10px !important; font-size: 12px; color: var(--hp-faint); }

/* ---------------------------------------------------------------- 资金流向（光束图） */
.hp-flow { margin: 36px 0 0; padding: 0; }
.hp-flow-stage { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 1100 / 340; }
.hp-flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hp-beam-base { fill: none; stroke: #23232B; stroke-width: 1.5; }
.hp-beam { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 70 900; animation: hp-dash 3.2s linear infinite; }
.hp-beam-2 { animation-delay: .8s; }
.hp-beam-3 { animation-delay: 1.6s; }
.hp-beam-4 { animation-delay: 2.4s; }
.hp-beam-o1 { animation-duration: 2.6s; }
.hp-beam-o2 { animation-duration: 2.6s; animation-delay: 1.3s; }
@keyframes hp-dash { from { stroke-dashoffset: 970; } to { stroke-dashoffset: 0; } }
.hp-flow-srcs, .hp-flow-dsts { display: contents; }

/* 收款端节点＝通道卡（标记 + 名称 + 实时徽标） */
.hp-channel {
  position: absolute; right: 79.1%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 8px; box-sizing: border-box;
  padding: 9px 12px; border-radius: 14px;
  background: var(--hp-tile); border: 1px solid var(--hp-line-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  white-space: nowrap;
}
.hp-channel[data-hp-src="alipay"] { top: 17.65%; }
.hp-channel[data-hp-src="wechat"] { top: 38.24%; }
.hp-channel[data-hp-src="douyin"] { top: 61.76%; }
.hp-channel[data-hp-src="usdt"] { top: 82.35%; }
.hp-channel h3 { font-size: 14px; font-weight: 600; letter-spacing: 0; }
.hp-channel-mark { flex: 0 0 auto; width: 20px; height: 20px; display: block; }
.hp-brand-img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
.hp-node-state:empty { display: none; }
.hp-pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; line-height: 1.5; white-space: nowrap;
  border: 1px solid var(--hp-line-2); color: var(--hp-text-2);
}
.hp-pill-ok { border-color: rgba(34,197,94,.45); color: #86EFAC; background: rgba(34,197,94,.10); }
.hp-pill-pending { border-color: rgba(245,158,11,.45); color: #FCD34D; background: rgba(245,158,11,.10); }
.hp-pill-unknown { color: var(--hp-faint); }

.hp-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 132px; height: 132px; box-sizing: border-box; padding: 2px; border-radius: 34px;
  background: conic-gradient(from var(--hp-ang), var(--hp-ac), var(--hp-violet), var(--hp-pink), var(--hp-cyan), var(--hp-ac));
  animation: hp-spin 4s linear infinite;
}
.hp-hub::after {
  content: ""; position: absolute; inset: -28px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.12); animation: hp-ring 2.4s ease-out infinite; pointer-events: none;
}
.hp-hub-in {
  width: 100%; height: 100%; border-radius: 32px; background: var(--hp-tile-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.hp-hub-in strong { font-size: 18px; font-weight: 800; }
.hp-hub-in span { margin-top: 4px; font-size: 11px; color: var(--hp-faint); font-weight: 500; }
@keyframes hp-spin { to { --hp-ang: 360deg; } }
@keyframes hp-ring { from { transform: scale(.7); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }

.hp-dst {
  position: absolute; left: 78.2%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px;
  background: var(--hp-tile); border: 1px solid var(--hp-line-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  animation: hp-float 5s ease-in-out infinite;
}
.hp-dst i { width: 10px; height: 10px; border-radius: 9px; background: var(--hp-c); box-shadow: 0 0 12px var(--hp-c); }
.hp-dst-alipay { top: 32.35%; --hp-c: #60A5FA; }
.hp-dst-usdt { top: 67.65%; --hp-c: #A78BFA; animation-delay: 1.2s; }
@keyframes hp-float { 0%, 100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 8px)); } }
.hp-flow-min { position: absolute; right: 6.4%; bottom: 7.6%; font-family: var(--hp-font-mono); font-size: 12px; color: var(--hp-faint); }
.hp-flow-foot { padding: 12px 20px 16px; border-top: 1px solid var(--hp-line); font-size: 12.5px; color: var(--hp-faint); line-height: 1.6; text-align: center; }

/* ---------------------------------------------------------------- 能力墙 */
.hp-wall { margin-top: 28px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hp-cap-tile:hover { transform: translateY(-4px); }
.hp-stage {
  position: relative; height: 200px; box-sizing: border-box; padding: 20px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--hp-c) 18%, transparent), transparent 70%);
}
.hp-stage-tag {
  position: absolute; top: 10px; right: 12px; z-index: 1;
  font-family: var(--hp-font-mono); font-size: 11px; color: var(--hp-faint);
}
.hp-cap { padding: 14px 16px 16px; border-top: 1px solid var(--hp-line); }
.hp-cap h3 { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.hp-cap h3 i { width: 8px; height: 8px; border-radius: 9px; background: var(--hp-c); box-shadow: 0 0 10px var(--hp-c); }
.hp-cap p { margin-top: 4px !important; font-size: 13px; line-height: 1.55; color: var(--hp-faint); }

.hp-picks { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.hp-pick { justify-content: space-between; animation: hp-pick 4.5s infinite; }
.hp-pick i { font-style: normal; color: var(--hp-faint); }
.hp-pick:nth-child(2) { animation-delay: 1.5s; }
.hp-pick:nth-child(3) { animation-delay: 3s; }
@keyframes hp-pick {
  0%, 30% { border-color: #3B82F6; color: #fff; box-shadow: 0 0 0 3px rgba(59,130,246,.2); }
  33%, 100% { border-color: #2A2A33; color: #D4D4DC; box-shadow: none; }
}

.hp-checks { width: 100%; font-size: 12px; line-height: 2.1; color: var(--hp-text-2); }
.hp-checks > div { display: flex; justify-content: space-between; }
.hp-chk { color: #4ADE80; opacity: 0; animation: hp-chk 5s infinite; }
.hp-chk.hp-d2 { animation-delay: .6s; }
.hp-chk.hp-d3 { animation-delay: 1.2s; }
.hp-blk { color: #F87171; opacity: 0; animation: hp-blk 5s infinite; }
@keyframes hp-chk { 0%, 8% { opacity: 0; transform: scale(.4); } 14%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; } }
@keyframes hp-blk { 0%, 30% { opacity: 0; } 36%, 80% { opacity: 1; text-shadow: 0 0 12px #F87171; } 90%, 100% { opacity: 0; } }

.hp-merge { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hp-req { font-size: 11px; animation: hp-merge 4s ease-in-out infinite; }
.hp-req.hp-r2 { animation-delay: .25s; }
.hp-req.hp-r3 { animation-delay: .5s; }
.hp-one { margin-top: 6px; border-color: #A78BFA; color: #fff; animation: hp-one 4s ease-in-out infinite; }
@keyframes hp-merge { 0%, 15% { transform: translateX(-30px); opacity: 0; } 30%, 60% { transform: none; opacity: 1; } 80%, 100% { transform: translateY(30px) scale(.8); opacity: 0; } }
@keyframes hp-one { 0%, 60% { transform: scale(.9); box-shadow: none; } 75%, 90% { transform: scale(1.08); box-shadow: 0 0 24px #A78BFA; } 100% { transform: scale(1); } }

.hp-retry { width: 100%; }
.hp-retry-dots { display: flex; align-items: center; justify-content: space-between; }
.hp-retry-dots span {
  width: 36px; height: 36px; box-sizing: border-box; border-radius: 999px; border: 2px solid #3F3F46;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--hp-text-2);
}
.hp-dot1, .hp-dot2 { animation: hp-retry 6s infinite; }
.hp-dot2 { animation-delay: 1.5s; }
.hp-retry-dots .hp-dot3 { font-size: 15px; font-weight: 800; color: transparent; animation: hp-okdot 6s infinite; animation-delay: 3s; }
.hp-retry-bar { margin-top: 14px; height: 2px; background: #23232B; }
.hp-fill { height: 2px; width: 0; background: linear-gradient(90deg, #F59E0B, #22C55E); animation: hp-fillw 6s infinite; }
.hp-retry-codes { margin-top: 10px; display: flex; justify-content: space-between; font-size: 11px; color: var(--hp-faint); }
.hp-retry-codes .is-ok { color: #4ADE80; }
@keyframes hp-retry { 0% { border-color: #3F3F46; background: transparent; } 8%, 100% { border-color: #F59E0B; background: rgba(245,158,11,.14); box-shadow: 0 0 14px rgba(245,158,11,.4); } }
@keyframes hp-okdot { 0% { background: transparent; border-color: #3F3F46; color: transparent; } 8%, 100% { background: #22C55E; border-color: #22C55E; color: #052e16; box-shadow: 0 0 18px #22C55E; } }
@keyframes hp-fillw { 0% { width: 0; } 55%, 100% { width: 100%; } }

.hp-ticker {
  width: 100%; height: 112px; overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.hp-ticker-track { display: flex; flex-direction: column; gap: 6px; font-size: 12px; animation: hp-tick 8s linear infinite; }
.hp-ticker-track > span { display: flex; justify-content: space-between; padding: 6px 8px; background: var(--hp-tile-2); border-radius: 6px; color: var(--hp-text-2); }
.hp-ticker-track i { font-style: normal; }
.hp-ticker-track .is-in { color: #4ADE80; }
.hp-ticker-track .is-out { color: #A78BFA; }
.hp-ticker-track .is-ref { color: #F472B6; }
@keyframes hp-tick { to { transform: translateY(calc(-50% - 3px)); } }

.hp-refund { width: 100%; }
.hp-refund-bar { height: 10px; border-radius: 9px; background: #1C1C22; overflow: hidden; }
.hp-rf { height: 100%; width: 0; background: linear-gradient(90deg, #EC4899, #F472B6); animation: hp-rf 5s ease-in-out infinite; }
@keyframes hp-rf { 0%, 15% { width: 0; } 55%, 100% { width: 100%; } }
.hp-refund-rows { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--hp-muted); }

.hp-scan { position: absolute; top: 0; bottom: 0; width: 60px; background: linear-gradient(90deg, transparent, rgba(236,72,153,.33), transparent); animation: hp-scan 3s ease-in-out infinite; }
@keyframes hp-scan { 0% { left: -60px; } 100% { left: 100%; } }
.hp-risk { position: relative; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.hp-risk .is-hot { border-color: #EC4899; color: #fff; }

.hp-mig { position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 9px; background: var(--hp-cyan); box-shadow: 0 0 14px var(--hp-cyan); animation: hp-mig 2.4s ease-in-out infinite; }
@keyframes hp-mig { 0% { left: 18%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 80%; opacity: 0; } }
.hp-epay { position: relative; text-align: center; }
.hp-epay-eps { font-size: 12px; color: var(--hp-faint); }
.hp-epay-arrow { margin-top: 12px; font-size: 22px; font-weight: 700; }
.hp-epay-arrow span { color: #34D399; }
.hp-epay-note { margin-top: 8px; font-size: 12px; color: #6EE7B7; }

/* ---------------------------------------------------------------- 结算方式 */
.hp-settle-grid { margin: 40px auto 0; max-width: 880px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hp-settle-card { padding: 30px; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.hp-settle-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hp-settle-head h3 { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.hp-chip-grad { background: linear-gradient(90deg, var(--hp-violet-strong), var(--hp-pink-deep)); border-color: transparent; color: #fff; }
.hp-settle-min { margin-top: 18px !important; font-size: clamp(34px, 4vw, 44px); line-height: 1.2; font-weight: 800; font-variant-numeric: tabular-nums; }
.hp-settle-min small { font-size: 15px; color: var(--hp-faint); font-weight: 500; }
.hp-settle-min.is-plain { font-size: 24px; }
.hp-settle-list { margin-top: 20px !important; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--hp-text-2); flex: 1 1 auto; }
.hp-settle-list li::before { content: "✓"; margin-right: 8px; }
.hp-tick-blue li::before { color: #60A5FA; }
.hp-tick-violet li::before { color: #C4B5FD; }
.hp-gb {
  position: relative; border-radius: 20px; padding: 1.5px;
  background: conic-gradient(from var(--hp-ang), var(--hp-ac), var(--hp-violet), var(--hp-pink), var(--hp-cyan), var(--hp-ac));
  animation: hp-spin 5s linear infinite;
}
.hp-settle-usdt { border-radius: 19px; background: var(--hp-tile); }
.hp-settle-note { margin-top: 16px !important; text-align: center; font-size: 13px; color: var(--hp-faint); }

/* ---------------------------------------------------------------- 开发者 */
.hp-dev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.hp-dev-copy { padding: 40px; }
.hp-dev-copy h2 { margin-top: 8px !important; font-size: clamp(26px, 3vw, 34px); line-height: 1.25; font-weight: 800; }
.hp-dev-steps { margin-top: 24px !important; display: flex; flex-direction: column; gap: 12px; font-size: 15px; color: var(--hp-text-2); }
.hp-dev-steps li { display: flex; gap: 12px; align-items: center; }
.hp-step { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.hp-step-1 { background: rgba(59,130,246,.14); color: #93C5FD; }
.hp-step-2 { background: rgba(139,92,246,.14); color: #C4B5FD; }
.hp-step-3 { background: rgba(34,197,94,.14); color: #86EFAC; }
.hp-dev-base {
  margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 0 0 0 14px; border: 1px solid var(--hp-line-2); border-radius: 12px; background: var(--hp-tile-3);
  font-size: 13px; color: var(--hp-faint);
}
.hp-dev-base code { color: var(--hp-text); font-size: 13px; }
.hp-copy {
  margin-left: auto; min-height: 44px; padding: 0 14px; cursor: pointer;
  background: transparent; border: 0; border-left: 1px solid var(--hp-line-2); border-radius: 0 12px 12px 0;
  color: #93C5FD; font: inherit; font-size: 13px; font-weight: 600;
}
.home-page .hp-copy:hover { background: var(--hp-tile-2); }
.hp-copy.is-done { color: #86EFAC; }
.hp-dev-sign { margin-top: 16px !important; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--hp-subtle); line-height: 1.6; }
.hp-dev-sign span { display: block; font-size: 12px; color: var(--hp-faint); }
.hp-dev-sign code { color: var(--hp-text-2); }
.hp-code-wrap { display: flex; flex-direction: column; min-width: 0; background: #0A0A0E; border-left: 1px solid var(--hp-line); }
.hp-code {
  margin: 0; padding: 32px; flex: 1 1 auto; overflow-x: auto;
  font-size: 13px; line-height: 1.95; color: var(--hp-text-2); white-space: pre; background: none; border: 0;
}
.hp-code code { font-family: inherit; }
.hp-ln { display: block; clip-path: inset(0 100% 0 0); animation: hp-type 9s steps(28) infinite; }
.hp-ln:nth-child(2) { animation-delay: .4s; }
.hp-ln:nth-child(3) { animation-delay: .8s; }
.hp-ln:nth-child(4) { animation-delay: 1.2s; }
.hp-ln:nth-child(5) { animation-delay: 1.6s; }
.hp-ln:nth-child(6) { animation-delay: 2s; }
.hp-ln:nth-child(7) { animation-delay: 2.4s; }
.hp-ln:nth-child(8) { animation-delay: 2.8s; }
.hp-ln:nth-child(9) { animation-delay: 3.2s; }
.hp-ln:nth-child(10) { animation-delay: 3.6s; }
.hp-ln:nth-child(11) { animation-delay: 4s; }
.hp-ln:nth-child(12) { animation-delay: 4.4s; }
@keyframes hp-type { 0% { clip-path: inset(0 100% 0 0); } 8%, 100% { clip-path: inset(0 0 0 0); } }
.hp-c-k { color: var(--hp-faint); }
.hp-c-f { color: #93C5FD; }
.hp-c-v { color: #86EFAC; }
.hp-c-ok { color: #4ADE80; }
.hp-caret { display: inline-block; width: 8px; height: 16px; background: var(--hp-ac); vertical-align: -3px; animation: hp-blink 1s steps(1) infinite; }
@keyframes hp-blink { 50% { opacity: 0; } }
.hp-code-foot { padding: 12px 32px 18px; border-top: 1px solid var(--hp-line); font-size: 12px; color: var(--hp-faint); }

/* ---------------------------------------------------------------- 常见问题 */
.hp-faq-title { text-align: center; font-size: clamp(28px, 3.2vw, 36px); font-weight: 800; }
.hp-faq-list { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.hp-faq-item { padding: 0 18px; }
.hp-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; cursor: pointer; list-style: none;
  font-size: 15px; font-weight: 600; color: var(--hp-text);
}
.hp-faq-item summary::-webkit-details-marker { display: none; }
.hp-faq-item summary::marker { content: ''; }
.hp-faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 18px; font-weight: 400; color: var(--hp-faint); }
.hp-faq-item[open] summary::after { content: "−"; }
.hp-faq-item p { padding: 0 0 16px; font-size: 14px; line-height: 1.7; color: var(--hp-subtle); }

/* ---------------------------------------------------------------- CTA */
.hp-cta-section { padding-bottom: 80px; }
.hp-cta {
  position: relative; overflow: hidden; border-radius: 28px; padding: 72px 24px; text-align: center;
  background: var(--hp-tile-3); border: 1px solid var(--hp-line);
}
.hp-cta-a1 { left: 10%; top: 40%; }
.hp-cta-a2 { right: 10%; top: 30%; }
.hp-cta-inner { position: relative; }
.hp-cta-inner h2 { font-size: clamp(30px, 5vw, 52px); line-height: 1.3; font-weight: 800; }
.hp-cta-inner p { margin-top: 16px !important; font-size: 16px; color: var(--hp-muted); }
.hp-cta-actions { margin-top: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- 页脚 */
.hp-footer { border-top: 1px solid var(--hp-line); }
.hp-footer-inner { padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; font-size: 13px; color: var(--hp-faint); }
.hp-footer-brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hp-footer-brand b { color: var(--hp-text); font-size: 14px; }
.hp-footer nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; }
.hp-footer nav > a, .hp-footer nav > button { display: inline-flex; align-items: center; min-height: 44px; color: var(--hp-faint); font-size: 13px; }
.hp-footer nav > a:hover, .hp-footer nav > button:hover { color: var(--hp-text); }

/* ---------------------------------------------------------------- 申请接入弹层 */
.hp-modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.hp-modal[hidden] { display: none; }
.hp-modal-scrim { position: absolute; inset: 0; background: rgba(3, 3, 6, .74); backdrop-filter: blur(6px); }
.hp-modal-panel {
  position: relative; box-sizing: border-box; width: min(520px, 100%);
  max-height: min(84vh, 720px); overflow-y: auto; padding: 32px;
  background: var(--hp-tile); border: 1px solid var(--hp-line-2); border-radius: 22px;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.9);
  animation: hp-modal-in .24s ease;
}
@keyframes hp-modal-in { from { opacity: 0; transform: translateY(10px) scale(.985); } }
.home-page .hp-modal-close {
  position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; min-height: 44px; padding: 0; cursor: pointer;
  background: transparent; border: 1px solid var(--hp-line-2); border-radius: 10px;
  color: var(--hp-subtle); font-size: 18px; line-height: 1;
}
.home-page .hp-modal-close:hover { color: var(--hp-text); background: var(--hp-tile-2); }
.hp-modal-panel h2 { font-size: 21px; font-weight: 700; margin: 0 56px 12px 0; }
.hp-modal-lede { color: var(--hp-subtle); font-size: 13.5px; margin-bottom: 24px !important; }
.hp-contacts { display: grid; gap: 8px; }
.hp-contact {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border: 1px solid var(--hp-line-2); border-radius: 12px; background: var(--hp-tile-2);
}
.hp-contact-kind { display: block; font-size: 11.5px; color: var(--hp-faint); }
.hp-contact-value { font-size: 14px; color: var(--hp-text); word-break: break-all; }
.hp-contact-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.hp-notice { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hp-line-2); background: var(--hp-tile-2); font-size: 13px; color: var(--hp-subtle); }
.hp-modal-foot { margin-top: 24px !important; font-size: 13px; color: var(--hp-subtle); }
.hp-modal-foot a { display: inline-flex; align-items: center; min-height: 44px; color: #93C5FD; }

/* ---------------------------------------------------------------- 入场（滚动显现） */
[data-hp-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .42s ease, transform .42s ease, border-color .3s ease;
}
[data-hp-reveal].is-in { opacity: 1; transform: none; }
.hp-cap-tile[data-hp-reveal].is-in:hover { transform: translateY(-4px); }

/* 无脚本时不能把内容藏死：JS 未运行则直接显示。 */
html:not(.hp-js) [data-hp-reveal] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- 减少动效 */
/* 全部动画与过渡关闭；原本靠动画才露出的内容改为静态完整展示。 */
@media (prefers-reduced-motion: reduce) {
  .home-page *, .home-page *::before, .home-page *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-hp-reveal] { opacity: 1; transform: none; }
  .hp-tile:hover, .hp-cap-tile:hover, .hp-cap-tile[data-hp-reveal].is-in:hover { transform: none; }
  /* 灵动岛：三条通知同时列出 */
  .hp-island { height: auto; border-radius: 24px; padding: 6px 0; }
  .hp-island li { position: static; opacity: 1; min-height: 40px; }
  /* 跑马灯：不滚动，全部能力换行展示 */
  .hp-marquee { -webkit-mask-image: none; mask-image: none; }
  .home-page .hp-marquee-track { width: auto; max-width: var(--hp-max); margin: 0 auto; padding: 0 var(--hp-gutter); box-sizing: border-box; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .hp-dup { display: none !important; }
  /* 组件墙小动画：停在「结果」帧 */
  .hp-chk, .hp-blk, .hp-req { opacity: 1; }
  .hp-fill, .hp-rf { width: 100%; }
  .hp-retry-dots .hp-dot1, .hp-retry-dots .hp-dot2 { border-color: #F59E0B; }
  .hp-retry-dots .hp-dot3 { background: #22C55E; border-color: #22C55E; color: #052e16; }
  .hp-ticker { height: auto; -webkit-mask-image: none; mask-image: none; }
  .hp-scan, .hp-mig { display: none; }
  .hp-ln { clip-path: none; }
  .hp-beam { stroke-dasharray: none; opacity: .5; }
  .hp-dst { transform: translateY(-50%); }
  .hp-hub::after { display: none; }
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1080px) {
  .hp-desktop-nav { display: none; }
  .hp-mobile-nav { display: block; }
  .hp-nav-inner { gap: 12px; }
  .hp-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hp-dev { grid-template-columns: minmax(0, 1fr); }
  .hp-code-wrap { border-left: 0; border-top: 1px solid var(--hp-line); }
}

/* 资金流向：窄屏改为竖排（收款 2×2 → 核心 → 结算 1×2），不再按比例缩放光束图 */
@media (max-width: 860px) {
  .hp-flow-stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 24px 16px 20px; box-sizing: border-box; }
  .hp-flow-svg { display: none; }
  .hp-flow-srcs, .hp-flow-dsts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; max-width: 420px; }
  .hp-channel, .hp-dst { position: static; transform: none; animation: none; justify-content: flex-start; min-width: 0; }
  .hp-channel { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 6px 8px; }
  .hp-node-state { grid-column: 1 / -1; }
  .hp-hub { position: relative; left: auto; top: auto; transform: none; width: 116px; height: 116px; margin: 56px 0; }
  .hp-hub-in { border-radius: 30px; }
  .hp-hub::before {
    content: ""; position: absolute; left: 50%; width: 2px; margin-left: -1px;
    top: -56px; height: calc(100% + 112px); z-index: -1;
    background: linear-gradient(#60A5FA, #A78BFA 45%, #F472B6 55%, #22D3EE);
    opacity: .6;
  }
  .hp-hub { isolation: isolate; }
  .hp-hub::after { inset: -18px; }
  .hp-flow-min { position: static; margin-top: 14px; }
}

@media (max-width: 760px) {
  .home-page { font-size: 14.5px; --hp-gutter: 16px; }
  .hp-nav-inner { flex-wrap: wrap; gap: 8px 12px; padding-top: 10px; padding-bottom: 10px; }
  .hp-brand { flex: 1 1 auto; max-width: calc(100% - 196px); }
  .hp-mobile-nav { flex: 1 0 100%; order: 3; }
  .hp-mobile-nav > summary { width: 100%; justify-content: space-between; }
  .hp-mobile-nav .hp-nav-links { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
  .hp-hero { padding: 56px 0 32px; }
  .hp-lede { font-size: 16px; }
  .hp-hero-actions .hp-btn { flex: 1 1 140px; }
  .hp-island li { font-size: 13px; padding: 0 14px; gap: 8px; }
  .hp-a1 { width: 320px; height: 240px; left: -10%; }
  .hp-a2 { width: 300px; height: 220px; right: -12%; }
  .hp-a3 { width: 240px; height: 180px; left: 30%; }
  .hp-tiles-section { padding-top: 40px; }
  .hp-metric { padding: 18px 16px; }
  .hp-section { padding-top: 76px; }
  .hp-settle-grid { grid-template-columns: minmax(0, 1fr); }
  .hp-settle-card { padding: 24px; }
  .hp-dev-copy { padding: 28px 20px; }
  .hp-code { padding: 20px; font-size: 12px; }
  .hp-code-foot { padding: 12px 20px 16px; }
  .hp-cta { padding: 52px 18px; border-radius: 22px; }
  .hp-cta-actions .hp-btn { flex: 1 1 140px; }
  .hp-cta-section { padding-bottom: 56px; }
  .hp-footer-inner { flex-direction: column; align-items: flex-start; }
  .hp-modal-panel { padding: 24px; }
  .hp-contact { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .hp-wall { grid-template-columns: minmax(0, 1fr); }
  .hp-stage { height: 180px; }
}

@media (max-width: 420px) {
  .hp-brand-text { max-width: min(30vw, 132px); }
  .hp-brand { max-width: calc(100% - 180px); }
  .hp-nav-actions .hp-btn { padding: 0 12px; }
}

@media (max-width: 360px) {
  .hp-nav-actions .hp-btn-ghost { display: none; }
  .hp-brand { max-width: calc(100% - 100px); }
  .hp-flow-srcs, .hp-flow-dsts { grid-template-columns: minmax(0, 1fr); }
}
