/* ============================================================
   北京友行友派科技有限公司 官网 - 共享样式
   深色品牌风 · 活动社交配色
   ============================================================ */

:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-soft-2: #1d212b;
  --fg: #f5f6f8;
  --muted: #9aa3b2;
  --accent: #ff7a59;
  --accent-2: #a78bfa;
  --accent-3: #38bdf8;
  --accent-4: #f472b6;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
}

* { 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", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }

.wrap { width: min(1080px, 90vw); margin: 0 auto; }

main { flex: 1; }

/* ---------------- Header / Nav ---------------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 17, 21, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------------- Buttons ---------------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 122, 89, 0.28);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.btn-ghost:hover { gap: 14px; color: var(--fg); }

/* ---------------- Hero / Banner ---------------- */
.hero {
  display: flex;
  align-items: center;
  padding: 110px 0 96px;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(167, 139, 250, 0.10), transparent),
    radial-gradient(600px 400px at 10% 120%, rgba(255, 122, 89, 0.09), transparent);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 .hl { color: var(--accent); }
.hero p {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------------- Page header (内页标题) ---------------- */
.page-head {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 85% -40%, rgba(167, 139, 250, 0.08), transparent);
}
.page-head h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 800; margin-bottom: 12px; }
.page-head p { color: var(--muted); font-size: 18px; max-width: 680px; }
.breadcrumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--fg); }

/* ---------------- Generic section ---------------- */
.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .eyebrow {
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.section-head .sub { color: var(--muted); font-size: 19px; }
.section-foot { text-align: center; margin-top: 40px; }

/* ---------------- Cards grid ---------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card .icon { font-size: 38px; margin-bottom: 16px; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }
.card .kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-2);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* ---------------- 资讯动态（列表 / 卡片 / 正文） ---------------- */
.news-list { display: flex; flex-direction: column; gap: 18px; }
.news-item {
  display: grid;
  grid-template-columns: 110px 200px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 26px;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-item:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.news-item .date-block { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.news-item .date-block .day { font-size: 30px; font-weight: 800; color: var(--fg); line-height: 1.1; }
.news-item .date-block .ym { font-size: 13px; color: var(--muted); }
.news-item h3 { font-size: 20px; margin-bottom: 8px; }
.news-item p { color: var(--muted); font-size: 15px; }
.news-item .arrow { color: var(--muted); font-size: 22px; transition: color 0.2s ease, transform 0.2s ease; }
.news-item:hover .arrow { color: var(--accent); transform: translateX(4px); }
.news-thumb { width: 200px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; }

/* 分类标签。色值取自本站 accent，不要照抄 ydxf 的黄/绿 */
.tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tag-official  { background: rgba(255, 122, 89, 0.14);  color: var(--accent);   }
.tag-corporate { background: rgba(167, 139, 250, 0.16); color: var(--accent-2); }
.tag-venue     { background: rgba(56, 189, 248, 0.16);  color: var(--accent-3); }
.tag-company   { background: rgba(244, 114, 182, 0.16); color: var(--accent-4); }

/* 筛选 chip */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.chip {
  border: 1px solid var(--line-strong); color: var(--muted);
  padding: 7px 16px; border-radius: 999px; font-size: 14px; cursor: pointer;
  background: transparent; font-family: inherit; transition: all .2s ease;
}
.chip:hover { color: var(--fg); }
.chip.active { background: var(--accent); color: #1a1a1a; border-color: var(--accent); font-weight: 600; }

/* 首页最新资讯卡片 */
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.news-card .pad { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .meta { color: var(--muted); font-size: 13.5px; margin-bottom: 10px; }
.news-card h3 { font-size: 19px; margin-bottom: 10px; line-height: 1.4; }
.news-card p { color: var(--muted); font-size: 15px; flex: 1; }
.news-card .more { margin-top: 16px; color: var(--accent-2); font-size: 14px; font-weight: 600; }

/* 详情页正文 */
.article { padding: 56px 0 72px; }
.article .meta { color: var(--muted); font-size: 14.5px; margin: 14px 0 28px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.article h1 { font-size: clamp(28px, 4.5vw, 42px); line-height: 1.3; margin-bottom: 6px; }
.article .body { max-width: 760px; }
.article .body h2 { font-size: 24px; margin: 36px 0 14px; }
.article .body p { color: #d6dae2; font-size: 17px; line-height: 1.85; margin-bottom: 18px; }
.article .body ul { color: #d6dae2; font-size: 17px; margin: 0 0 18px 22px; }
.article .body li { margin-bottom: 8px; line-height: 1.8; }
.article .body blockquote {
  border-left: 3px solid var(--accent);
  padding: 6px 18px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}
.article-img { width: 100%; border-radius: 12px; margin: 26px 0; display: block; }
.article-img-cap { color: var(--muted); font-size: 13.5px; text-align: center; margin: -14px 0 26px; }
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  max-width: 760px;
}
.article-nav a { color: var(--muted); font-size: 15px; }
.article-nav a:hover { color: var(--accent); }

/* ---------------- 付费研报 ---------------- */
.report-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.report-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.report-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 18px 44px rgba(255, 122, 89, 0.16);
}
.report-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.report-card .pad { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.report-card h3 { font-size: 20px; line-height: 1.4; margin-bottom: 10px; }
.report-card p { color: var(--muted); font-size: 15px; flex: 1; }
.report-card .rmeta { color: var(--muted); font-size: 13px; margin-top: 16px; }
.report-card .no { color: var(--muted); font-size: 12.5px; letter-spacing: 1px; margin-bottom: 8px; }

/* 价格角标——付费感主要靠它 */
.price-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 17px;
  padding: 7px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* 第五个分类标签：实心金，和另外四个「浅底彩字」拉开质感 */
.tag-report {
  background: linear-gradient(135deg, #ffd166, #ff9f43);
  color: #1a1a1a;
}

/* 研报详情页 */
.report-hero { width: 100%; max-width: 760px; border-radius: 14px; margin-bottom: 26px; display: block; }
.report-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  max-width: 760px;
  margin: 26px 0;
}
.report-meta div { background: var(--bg-soft); padding: 16px 18px; }
.report-meta dt { color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.report-meta dd { font-size: 15px; font-weight: 600; }

.toc { max-width: 760px; counter-reset: toc; list-style: none; }
.toc li {
  counter-increment: toc;
  position: relative;
  padding: 12px 0 12px 44px;
  border-bottom: 1px solid var(--line);
  color: #d6dae2;
  font-size: 16px;
}
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}
.toc li span { color: var(--muted); font-size: 14px; display: block; margin-top: 2px; }

.excerpt {
  max-width: 760px;
  background: var(--bg-soft);
  border-left: 3px solid var(--accent-2);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 24px 0;
}
.excerpt p { color: #d6dae2; font-size: 16px; line-height: 1.85; margin-bottom: 14px; }
.excerpt p:last-child { margin-bottom: 0; }
.excerpt .cap { color: var(--muted); font-size: 13px; font-style: italic; }

.buy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 760px;
  background: var(--bg-soft-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 32px 0;
}
.buy-bar .amt { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.buy-bar .amt small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.buy-bar .hint { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

.notice {
  max-width: 760px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 122, 89, 0.06);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 26px 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.8;
}
.notice strong { color: var(--fg); }

/* ---------------- Split (图文两栏) ---------------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 18px; }
.split p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
}
.stat .num { font-size: 32px; font-weight: 800; color: var(--accent); }
.stat .label { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ---------------- Timeline ---------------- */
.timeline { border-left: 2px solid var(--line); margin-left: 8px; padding-left: 28px; }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -36px; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.15);
}
.tl-item .year { color: var(--accent-2); font-weight: 700; font-size: 15px; }
.tl-item h4 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 15px; }

/* ---------------- Contact ---------------- */
.contact-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}
.contact-card .icon { font-size: 34px; margin-bottom: 14px; }
.contact-card h3 { font-size: 18px; margin-bottom: 8px; }
.contact-card p { color: var(--muted); font-size: 15.5px; word-break: break-all; }
.contact-card a:hover { color: var(--accent); }

/* 白底二维码盒子（微信二维码在深色底上需要白衬底才好扫） */
.qr-box {
  display: inline-block;
  background: #fff;
  border-radius: 16px;
  padding: 14px;
}
.qr-box img { display: block; width: 100%; max-width: 240px; height: auto; border-radius: 8px; }
.qr-cap { color: var(--muted); font-size: 14px; margin-top: 14px; }

/* ---------------- Footer ---------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--bg-soft);
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-col .brand { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.footer-col .brand span { color: var(--accent); }
.footer-col p, .footer-col a { color: var(--muted); font-size: 14px; line-height: 2; display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-col h5 { color: var(--fg); font-size: 15px; margin-bottom: 8px; }
.footer-bottom {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 2;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------------- Responsive ---------------- */
/* 导航 8 项，中等宽度下会挤（iPad 竖屏 768px 时 .wrap 只有 ~691px） */
@media (max-width: 1000px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 14px; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .grid, .grid-2 { grid-template-columns: 1fr; }
  .news-cards { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; gap: 14px; }
  .news-item .date-block { display: none; }
  .news-item .arrow { display: none; }
  .news-thumb { width: 100%; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .hero { padding: 72px 0 56px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

/* ============================================================
   首页动效 + 数据条 + 跑马灯
   ============================================================ */

/* ---------- 首页 Hero 多彩极光背景 ---------- */
.hero-rich {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 130px 0 110px;
  background: var(--bg);
}
.hero-rich .wrap { position: relative; z-index: 2; }
.aurora { position: absolute; inset: -20% -10%; z-index: 0; filter: blur(60px); pointer-events: none; }
.aurora span {
  position: absolute;
  display: block;
  border-radius: 50%;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.aurora .a1 { width: 480px; height: 480px; left: 4%;  top: -8%;  background: var(--accent);   animation: drift1 16s ease-in-out infinite; }
.aurora .a2 { width: 520px; height: 520px; right: 2%; top: -16%; background: var(--accent-2); animation: drift2 19s ease-in-out infinite; }
.aurora .a3 { width: 440px; height: 440px; left: 28%; bottom: -28%; background: var(--accent-3); animation: drift3 22s ease-in-out infinite; }
.aurora .a4 { width: 400px; height: 400px; right: 18%; bottom: -22%; background: var(--accent-4); animation: drift1 18s ease-in-out infinite reverse; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,30px) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,40px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-40px) scale(1.15); } }

/* 顶部细网格质感 */
.hero-rich::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* 浮动彩色光点 */
.floaties { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.floaties i {
  position: absolute; display: block; width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}
.floaties i:nth-child(1){ left: 12%; top: 30%; color: var(--accent);   animation: floaty 7s ease-in-out infinite; }
.floaties i:nth-child(2){ left: 82%; top: 26%; color: var(--accent-2); animation: floaty 9s ease-in-out infinite 0.5s; }
.floaties i:nth-child(3){ left: 68%; top: 64%; color: var(--accent-3); animation: floaty 8s ease-in-out infinite 1s; width:7px;height:7px; }
.floaties i:nth-child(4){ left: 24%; top: 70%; color: var(--accent-4); animation: floaty 10s ease-in-out infinite 0.3s; width:8px;height:8px; }
.floaties i:nth-child(5){ left: 46%; top: 18%; color: var(--accent-2); animation: floaty 6.5s ease-in-out infinite 0.8s; width:6px;height:6px; }
@keyframes floaty { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-22px); opacity: 1; } }

/* 渐变标题 + 关键词轮播 */
.hero-rich h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-4) 45%, var(--accent-2) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rotator {
  display: inline-block; position: relative; color: var(--accent);
  min-width: 2.2em;
  transition: transform .35s ease, opacity .35s ease;
}
.rotator.rotate-out { transform: translateY(-40%); opacity: 0; }
.rotator.rotate-in  { animation: rotateIn .4s ease; }
@keyframes rotateIn { from { transform: translateY(40%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* hero 关键词 chips */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-chips .chip-tag {
  font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 14px;
  background: rgba(255,255,255,0.02);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.hero-chips .chip-tag:hover { color: var(--fg); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- 能力跑马灯 ---------- */
.marquee {
  width: min(1080px, 90vw); margin: 28px auto;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg-soft);
  overflow: hidden; padding: 18px 0;
}
.marquee-track { display: flex; width: max-content; animation: scrollx 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 28px; font-size: 18px; font-weight: 600; color: var(--muted);
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 13px; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 数据条（计数） ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stats-band .stat-box { text-align: center; padding: 12px; }
.stats-band .big {
  font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-4));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats-band .cap { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* ---------- 滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   会员充值
   ============================================================ */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
  align-items: start;
}
.plan {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan.featured {
  border-color: rgba(255, 122, 89, 0.45);
  background:
    radial-gradient(500px 260px at 50% -30%, rgba(255, 122, 89, 0.10), transparent),
    var(--bg-soft);
}
.plan .ribbon {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 12.5px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
}
.plan .tier { font-size: 15px; color: var(--accent-2); font-weight: 600; letter-spacing: 0.5px; }
.plan h3 { font-size: 26px; margin: 6px 0 18px; }
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}
.plan .price .cur { font-size: 22px; font-weight: 700; color: var(--accent); }
.plan .price .amt { font-size: 46px; font-weight: 800; color: var(--accent); line-height: 1; }
.plan .price .per { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan .benefits { list-style: none; margin-bottom: 28px; }
.plan .benefits li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  color: #d6dae2;
  font-size: 15.5px;
  line-height: 1.65;
}
.plan .benefits li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent-2);
  font-weight: 700;
}
.plan .benefits li strong { color: var(--fg); font-weight: 600; }
.plan .buy-btn { width: 100%; justify-content: center; }

/* 充值流程步骤 */
.steps { display: grid; gap: 18px; }
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: start;
}
.step .no {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 122, 89, 0.12);
  border: 1px solid rgba(255, 122, 89, 0.35);
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}
.step h4 { font-size: 17px; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step p strong { color: var(--fg); }

/* 常见问题 */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 28px;
}
.faq-item h4 { font-size: 17px; margin-bottom: 8px; color: var(--fg); }
.faq-item h4::before { content: "Q "; color: var(--accent); font-weight: 800; }
.faq-item p { color: var(--muted); font-size: 15.5px; }

/* ---------- 支付浮层 ---------- */
.pay-modal {
  position: fixed; inset: 0; z-index: 999;
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.pay-modal.open { display: flex; }
.pay-modal-mask { position: absolute; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(2px); }
.pay-modal-box {
  position: relative;
  width: min(360px, 92vw);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 30px 26px 26px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.pay-modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: var(--muted);
  font-size: 28px; line-height: 1; cursor: pointer; padding: 0;
}
.pay-modal-close:hover { color: var(--fg); }
.pay-amount { font-size: 17px; color: var(--muted); }
.pay-amount strong { font-size: 32px; color: var(--accent); font-weight: 800; }
.pay-service { margin-top: 6px; color: var(--accent-2); font-weight: 600; }
.pay-qr { background: #fff; border-radius: 14px; padding: 14px; display: inline-block; margin: 18px 0 14px; }
.pay-qr img { width: 200px; height: auto; display: block; border-radius: 8px; }
.pay-tip { font-size: 13px; color: var(--muted); margin: 4px 0; line-height: 1.6; }
.pay-tip strong { color: var(--fg); }
.buy-btn { cursor: pointer; font: inherit; border: none; }

@media (max-width: 860px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hero-rich { padding: 84px 0 64px; }
}

/* 尊重减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .aurora span, .floaties i, .marquee-track { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
