:root {
  --brand: #1e6fff;
  --brand-dark: #0f56d6;
  --brand-soft: #eaf2ff;
  --ink: #16203a;
  --muted: #5d6b85;
  --line: #e6eaf2;
  --bg: #f6f8fc;
  --card: #ffffff;
  --ok: #16b585;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 42, 92, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #56a0ff);
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; border: none; cursor: pointer;
  padding: 11px 22px; border-radius: 11px; font-size: 15px; font-weight: 600;
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn.lg { padding: 15px 32px; font-size: 17px; border-radius: 13px; }

/* Hero */
.hero { padding: 84px 0 70px; text-align: center;
  background: radial-gradient(1100px 420px at 50% -80px, #dcebff 0%, rgba(220,235,255,0) 70%); }
.hero h1 { font-size: 46px; line-height: 1.2; letter-spacing: -.5px; }
.hero .sub { font-size: 19px; color: var(--muted); margin: 18px auto 30px; max-width: 640px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 64px 0; }
.section-title { text-align: center; font-size: 32px; margin-bottom: 8px; letter-spacing: -.3px; }
.section-desc { text-align: center; color: var(--muted); margin-bottom: 40px; }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-soft);
  display: grid; place-items: center; font-size: 22px; margin-bottom: 14px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Chains */
.chains { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: 14.5px; color: var(--ink);
}

/* Steps */
.steps { counter-reset: step; max-width: 760px; margin: 0 auto; }
.step { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: none; }
.step .num {
  flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--brand);
  color: #fff; font-weight: 700; display: grid; place-items: center;
}
.step h4 { font-size: 16.5px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* Download */
.download-box { text-align: center; background: linear-gradient(135deg, #1e6fff, #4d94ff);
  color: #fff; border-radius: 20px; padding: 54px 24px; }
.download-box h2 { font-size: 30px; margin-bottom: 10px; }
.download-box p { opacity: .92; margin-bottom: 26px; }
.download-box .btn { background: #fff; color: var(--brand); }
.download-box .ver { margin-top: 16px; font-size: 14px; opacity: .9; }

/* Privacy callout */
.notice { background: #eafaf3; border: 1px solid #c9efdf; color: #116b4c;
  border-radius: var(--radius); padding: 20px 24px; max-width: 820px; margin: 0 auto; }
.notice strong { display: block; margin-bottom: 6px; }
ul.list { margin: 8px 0 0 20px; color: var(--muted); }
ul.list li { margin: 6px 0; }

/* Footer */
.site-footer { background: #0f1830; color: #aab6d0; padding: 44px 0 30px; margin-top: 40px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: #aab6d0; }
.site-footer .small { font-size: 13px; margin-top: 18px; opacity: .8; }

@media (max-width: 820px) {
  .hero h1 { font-size: 34px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 520px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}
/* 公链logo横向滚动带（从右到左缓慢滚动，无缝循环） */
.chains-marquee { overflow: hidden; padding: 30px 0; min-height: 100px; touch-action: none; position: relative; z-index: 1; cursor: grab; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-group { display: flex; gap: 36px; padding-right: 36px; }
.chain-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 80px; flex-shrink: 0; }
.chain-logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; background: #f0f2f5; }
.chain-name { font-size: 12px; color: #666; white-space: nowrap; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* 去掉 hover 暂停，改用 JS 控制（点击暂停5秒后自动继续） */
