/* ============================================================
   万州科技 Vantech — 深色重构版 共享样式
   视觉语言：Sellix 跨境金融落地页（深空黑底 / 玻璃面板 /
   白色胶囊按钮 / 遮罩式标题入场 / 双视频交叉淡化背景）
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #000000;
  --ink: #ffffff;
  --ink-muted: #ededed;
  --body-ink: #f6f6f6;
  --text-soft: rgba(255, 255, 255, .68);   /* 长文正文 */
  --text-faint: rgba(255, 255, 255, .52);  /* 次要说明 */
  --panel: #181818;
  --panel-deep: rgba(10, 10, 12, .86);
  --glass: rgba(0, 0, 0, .78);
  --glass-hover: rgba(0, 0, 0, .66);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --white-btn: #fdfdfd;
  --btn-ink: #050505;
  --accent: #7ec8ff;                       /* 品牌冰蓝（原 #7FC4FF） */
  --accent-soft: rgba(126, 200, 255, .13);
  --accent-grad: linear-gradient(90deg, #7ec8ff, #a78bfa);
  --violet: #a78bfa;
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 64px;
  --max-w: 1200px;
  --e-reveal: cubic-bezier(.16, 1, .3, 1);
  --e-soft: cubic-bezier(.25, .8, .3, 1);
  --font: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont,
          'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Segoe UI', Roboto, sans-serif;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
img, svg { display: block; }
::selection { background: rgba(167, 139, 250, .35); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #26262a; border-radius: 6px; border: 2px solid #050505; }
::-webkit-scrollbar-thumb:hover { background: #38383e; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 99px;
}

/* ---------- 布局工具 ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(126, 200, 255, .35);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0 0 16px;
  color: var(--ink);
}
.section-head p { color: var(--text-soft); font-size: 16px; margin: 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn-lg { height: 48px; padding: 0 26px; font-size: 15px; letter-spacing: -.2px; }
.btn-primary { background: var(--white-btn); color: var(--btn-ink); }
.btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
.btn-ghost {
  background: var(--glass);
  color: #d9d9d9;
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: var(--glass-hover); border-color: var(--line-strong); transform: translateY(-2px); }
.btn-nav {
  height: 36px;
  padding: 0 18px;
  border-radius: 18px;
  background: var(--white-btn);
  color: var(--btn-ink);
  font-size: 13px;
  font-weight: 500;
}
.btn-nav:hover { background: #fff; }
.arw { flex: 0 0 auto; display: block; width: 13px; height: 11px; }

/* ---------- 顶部滚动进度条 ---------- */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent-grad);
  z-index: 1001;
  pointer-events: none;
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--panel-deep);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.nav-in {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
/* 原 logo 为深海军蓝配色（专为浅色底设计），深色主题下映射为浅色双档灰度 */
.logo-img {
  height: 56px;
  width: auto;
  filter: grayscale(1) invert(1);
}

.nav-links { display: flex; align-items: center; gap: 26px; margin: 0 auto; }
.nav-links > a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 6px 0;
  transition: color .18s ease;
}
.nav-links > a:hover { color: #fff; }
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent-grad);
  border-radius: 2px;
  transition: width .25s ease;
}
.nav-links > a:hover::after, .nav-links > a.active::after { width: 100%; }
.nav-links > a.active { color: #fff; font-weight: 600; }

/* 服务项目下拉 */
.dd { position: relative; }
.dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color .18s ease;
}
.dd-btn:hover { color: #fff; }
.dd-btn .chev {
  width: 10px; height: 10px;
  transition: transform .25s ease;
}
.dd.open .dd-btn { color: #fff; }
.dd.open .dd-btn .chev { transform: rotate(180deg); }
.dd-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 236px;
  background: var(--panel-deep);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(-50%) translateY(-6px) scale(.985);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.dd.open .dd-menu {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
.dd-menu a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 11px 14px;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease;
}
.dd-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* 汉堡按钮 */
.burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 38px;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  padding: 0;
}
.burger span { display: block; width: 16px; height: 1.5px; background: #ededed; border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px; height: 1.5px;
  background: #ededed;
  border-radius: 2px;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

/* ---------- 移动端菜单面板 ---------- */
.menu {
  display: none;
  position: fixed;
  top: calc(var(--nav-h) + 8px);
  right: 16px;
  width: min(320px, calc(100vw - 32px));
  max-height: calc(100dvh - var(--nav-h) - 24px);
  overflow-y: auto;
  background: var(--panel-deep);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 10px 8px 12px;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  transform-origin: top right;
  z-index: 1002;
}
.menu.open { display: flex; animation: menuIn .18s ease both; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
  to { opacity: 1; transform: none; }
}
.menu a {
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background .18s ease, color .18s ease;
}
.menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.menu .divider { height: 1px; background: rgba(255, 255, 255, .08); margin: 8px 14px; }
.menu .m-start {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--white-btn);
  color: var(--btn-ink);
  margin: 6px 8px 0;
  padding: 13px 16px;
  border-radius: 14px;
  font-weight: 600;
}
.menu .m-start:hover { background: #fff; color: var(--btn-ink); }

/* ============================================================
   视频背景（双副本交叉淡化，同 Sellix）
   ============================================================ */
.vbg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: max(100vw, calc(100dvh * 1.6));
  height: max(62.5vw, 100dvh);
  background-color: #000;
  overflow: hidden;
}
@supports not (height: 100dvh) {
  .vbg { width: max(100vw, calc(100vh * 1.6)); height: max(62.5vw, 100vh); }
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 51% 8%;
  display: block;
  background-color: #000;
  pointer-events: none;
  opacity: 0;
  transition: opacity .9s linear;
}
.bg-video.is-active { opacity: 1; }
/* 底部渐变压暗，与后续纯黑内容区无缝衔接 */
.vbg-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .72) 88%, #000 100%);
}

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: #000;
}
@supports not (height: 100dvh) { .hero { min-height: 100vh; } }
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 150px 24px 130px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(126, 200, 255, .4);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 30px;
}
.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(42px, 6.4vw, 82px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}
.hero h1 .ln { display: block; }
.hero h1 .ln-i { display: block; }
.hero h1 .accent {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .subtitle {
  font-size: clamp(15.5px, 1.9vw, 18px);
  font-weight: 300;
  color: var(--body-ink);
  max-width: 640px;
  margin: 0 auto 38px;
  line-height: 1.75;
}
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero .stat b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.hero .stat span { font-size: 13px; color: var(--text-faint); }
.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, .55);
  font-size: 11px;
  letter-spacing: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.scroll-hint .mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 12px;
  position: relative;
}
.scroll-hint .mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 3px; height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { opacity: 0; }
}

/* ============================================================
   服务卡片
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at 20% 0%, rgba(126, 200, 255, .10), transparent 70%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 200, 255, .35);
  background: rgba(255, 255, 255, .05);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.2px; }
.card p { color: var(--text-soft); font-size: 14.5px; margin: 0 0 20px; }
.card .more {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .more::after { content: "→"; transition: transform .25s ease; }
.card:hover .more::after { transform: translateX(4px); }

/* ============================================================
   核心优势
   ============================================================ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.adv {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.adv:hover { transform: translateY(-6px); border-color: rgba(126, 200, 255, .3); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.adv .icon {
  width: 62px; height: 62px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(126, 200, 255, .18), rgba(167, 139, 250, .18));
  color: var(--accent);
  display: grid;
  place-items: center;
}
.adv .icon svg { width: 28px; height: 28px; }
.adv h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.adv p { color: var(--text-soft); font-size: 14px; margin: 0; }

/* ============================================================
   对比表
   ============================================================ */
.compare-table {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 18px 28px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--text-soft);
}
.compare-row:last-child { border-bottom: none; }
.compare-row.head {
  background: linear-gradient(120deg, rgba(126, 200, 255, .16), rgba(167, 139, 250, .16));
  color: #fff;
  font-weight: 700;
}
.compare-row .col:first-child { color: var(--ink-muted); }
.compare-row .col:not(:first-child) { text-align: center; }
.compare-row .col .yes { color: var(--accent); font-weight: 700; }
.compare-row .col .no { color: var(--text-faint); }
.compare-row.ours { background: rgba(126, 200, 255, .05); }
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); }
.compare-wrap .compare-row { min-width: 560px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item.open { border-color: rgba(126, 200, 255, .3); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  font-family: inherit;
}
.faq-q .plus {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 400;
  transition: transform .3s ease, background .3s ease, color .3s ease;
}
.faq-item.open .plus { transform: rotate(45deg); background: var(--accent); color: #050505; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 24px; }
.faq-a p { padding-bottom: 20px; color: var(--text-soft); font-size: 14.5px; line-height: 1.8; margin: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta-panel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 76px 48px;
  overflow: hidden;
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 50% -10%, rgba(126, 200, 255, .16), transparent 70%),
    radial-gradient(500px 260px at 50% 115%, rgba(167, 139, 250, .14), transparent 70%);
  pointer-events: none;
}
.cta-panel h2 {
  position: relative;
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0 0 16px;
}
.cta-panel p {
  position: relative;
  color: var(--text-soft);
  font-size: 16px;
  margin: 0 0 34px;
}
.cta-panel .actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   页脚
   ============================================================ */
footer {
  background: #070708;
  border-top: 1px solid var(--line);
  padding: 68px 0 32px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid .brand p { color: var(--text-faint); font-size: 14px; margin: 16px 0 0; max-width: 280px; }
.footer-grid .logo-img { height: 72px; }
.footer-grid h4 { font-size: 14px; font-weight: 700; margin: 0 0 16px; color: var(--ink); }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--text-faint); font-size: 13.5px; transition: color .2s; }
.footer-grid ul li a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--text-faint); font-size: 13.5px; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-faint);
  font-size: 13px;
}

/* ============================================================
   子页面横幅（视频背景的矮版 Hero）
   ============================================================ */
.page-hero {
  position: relative;
  min-height: clamp(420px, 60vh, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 140px 24px 90px;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
  font-size: clamp(34px, 5.4vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 18px;
}
.page-hero .subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, .8);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   联系我们
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}
.contact-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 52px 42px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.contact-card.telegram:hover { border-color: rgba(34, 158, 217, .5); }
.contact-card.whatsapp:hover { border-color: rgba(37, 211, 102, .5); }
.contact-card .icon {
  width: 78px; height: 78px;
  margin: 0 auto 26px;
  border-radius: 22px;
  display: grid;
  place-items: center;
}
.contact-card .icon svg { width: 38px; height: 38px; }
.contact-card.telegram .icon { background: rgba(34, 158, 217, .14); color: #4db8e8; }
.contact-card.whatsapp .icon { background: rgba(37, 211, 102, .14); color: #35e07a; }
.contact-card h3 { font-size: 24px; font-weight: 800; margin: 0 0 8px; }
.contact-card .note { color: var(--text-soft); font-size: 14.5px; margin: 0 0 30px; line-height: 1.7; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.btn-telegram { background: #229ED9; color: #fff; }
.btn-telegram:hover { background: #1B86BB; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(34, 158, 217, .3); }
.btn-telegram-outline { background: rgba(34, 158, 217, .08); color: #4db8e8; border: 1px solid rgba(34, 158, 217, .5); }
.btn-telegram-outline:hover { background: rgba(34, 158, 217, .16); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #04230f; }
.btn-whatsapp:hover { background: #1FB959; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37, 211, 102, .28); }
.btn-whatsapp-outline { background: rgba(37, 211, 102, .08); color: #35e07a; border: 1px solid rgba(37, 211, 102, .5); }
.btn-whatsapp-outline:hover { background: rgba(37, 211, 102, .16); transform: translateY(-2px); }
.contact-email {
  max-width: 960px;
  margin: 32px auto 0;
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 32px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-soft);
}
.contact-email a { color: var(--accent); font-weight: 600; }
.contact-email a:hover { text-decoration: underline; }

/* ============================================================
   协议文档
   ============================================================ */
.doc-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  max-width: 880px;
  margin: 0 auto;
  padding: 56px 60px;
}
.doc-meta {
  font-size: 14px;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.doc-meta b { color: var(--ink); font-weight: 600; }
.toc {
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}
.toc h4 { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--accent); margin: 0 0 14px; text-transform: uppercase; }
.toc ol { list-style: none; counter-reset: toc; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.toc ol li { counter-increment: toc; }
.toc ol li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
  transition: color .2s;
  padding: 4px 0;
}
.toc ol li a:hover { color: var(--accent); }
.toc ol li a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; color: var(--accent); font-weight: 700; }
.doc-content h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.3px;
  margin: 40px 0 14px;
  padding: 10px 0 10px 18px;
  position: relative;
}
.doc-content h2:first-child { margin-top: 0; }
.doc-content h2::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent-grad);
}
.doc-content p { color: var(--text-soft); margin-bottom: 14px; line-height: 1.9; font-size: 15px; }
.doc-content ul { margin: 0 0 16px; padding-left: 22px; list-style: none; }
.doc-content ul li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
.doc-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.doc-content strong { color: var(--ink); font-weight: 600; }
.doc-content a { color: var(--accent); border-bottom: 1px solid rgba(126, 200, 255, .35); }
.doc-content a:hover { border-bottom-color: var(--accent); }
.doc-content .lead { font-size: 15.5px; color: var(--body-ink); }

/* ============================================================
   404
   ============================================================ */
.nf {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}
@supports not (height: 100dvh) { .nf { min-height: 100vh; } }
.nf-bg {
  position: absolute;
  inset: 0;
  background:
    url(https://d2ol7oe51mr4n9.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/82e7eb75-c65f-490a-99b5-f3d1cad54200.webp) center 20% / cover no-repeat;
  opacity: .35;
}
.nf-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 75%);
}
.nf-inner { position: relative; z-index: 2; text-align: center; padding: 24px; }
.nf-code {
  font-size: clamp(96px, 20vw, 180px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 1;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}
.nf-inner p { color: var(--text-soft); font-size: 16px; margin: 0 0 34px; }

/* ============================================================
   滚动入场
   ============================================================ */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s var(--e-soft), transform .8s var(--e-soft);
  will-change: opacity, transform;
}
.rv.zoom { transform: scale(.94) translateY(20px); }
.rv.left { transform: translateX(-44px); }
.rv.right { transform: translateX(44px); }
.rv.in { opacity: 1; transform: none; }

/* ============================================================
   首页入场序列（遮罩行上升 + 抬升聚焦，同 Sellix 语言）
   ============================================================ */
html.anim .hero .ln { overflow: hidden; padding-top: .26em; margin-top: -.26em; }
html.anim .hero .ln-i { transform: translateY(100%); }
html.anim .hero .eyebrow, html.anim .hero .subtitle, html.anim .hero .actions .btn,
html.anim .hero .stats, html.anim .scroll-hint, html.anim .nav .logo,
html.anim .nav-links, html.anim .nav-actions { opacity: 0; }
html.anim .hero .ln-i, html.anim .hero .eyebrow, html.anim .hero .subtitle,
html.anim .hero .actions .btn, html.anim .hero .stats, html.anim .scroll-hint,
html.anim .nav .logo, html.anim .nav-links, html.anim .nav-actions { will-change: transform, opacity; }

@keyframes lineRise { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes heroSubIn {
  from { opacity: 0; transform: translateY(16px); filter: blur(4px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes pillIn {
  from { opacity: 0; transform: translateY(10px) scale(.972); }
  to { opacity: 1; transform: none; }
}
@keyframes liftIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

html.anim.go .hero .ln-i { animation: lineRise 1.05s var(--e-reveal) both; }
html.anim.go .hero .ln:nth-child(1) .ln-i { animation-delay: .12s; }
html.anim.go .hero .ln:nth-child(2) .ln-i { animation-delay: .22s; }
html.anim.go .hero .eyebrow { animation: liftIn .62s var(--e-soft) .46s both; }
html.anim.go .nav .logo { animation: liftIn .55s var(--e-soft) .54s both; }
html.anim.go .nav-links { animation: liftIn .55s var(--e-soft) .60s both; }
html.anim.go .nav-actions { animation: liftIn .55s var(--e-soft) .66s both; }
html.anim.go .hero .subtitle { animation: heroSubIn .85s var(--e-reveal) .58s both; }
html.anim.go .hero .actions .btn:nth-child(1) { animation: pillIn .70s var(--e-reveal) .90s both; }
html.anim.go .hero .actions .btn:nth-child(2) { animation: pillIn .70s var(--e-reveal) .97s both; }
html.anim.go .hero .actions .btn:nth-child(3) { animation: pillIn .70s var(--e-reveal) 1.04s both; }
html.anim.go .hero .stats { animation: pillIn .60s var(--e-soft) 1.12s both; }
html.anim.go .scroll-hint { animation: fadeIn .70s ease 1.24s both; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav-links, .dd { display: none; }
  .nav-actions .btn-nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 84px 0; }
  .cards, .adv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 40px 28px; }
  .doc-card { padding: 36px 24px; }
  .toc ol { grid-template-columns: 1fr; }
  .hero-inner { padding: 130px 20px 120px; }
  .hero .stats { gap: 26px; }
  .page-hero-inner { padding: 120px 20px 72px; }
  .cta-panel { padding: 56px 28px; }
  .compare-row { padding: 14px 16px; font-size: 13px; }
}

/* ---------- 减少动态（与脚本退出机制的双重保险） ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.anim .hero .ln { overflow: visible; padding-top: 0; margin-top: 0; }
  html.anim .hero .ln-i { transform: none; }
  html.anim .hero .eyebrow, html.anim .hero .subtitle, html.anim .hero .actions .btn,
  html.anim .hero .stats, html.anim .scroll-hint, html.anim .nav .logo,
  html.anim .nav-links, html.anim .nav-actions { opacity: 1; }
  .rv { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
