/* =========================================================
   聚财量化看盘系统 · 官网设计系统
   主题：深色金融质感 + 暗金高级感
   ========================================================= */

:root {
  --bg: #060912;
  --bg-2: #0a0f1c;
  --bg-3: #0e1525;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(232, 179, 57, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);
  --gold: #e8b339;
  --gold-2: #f6d27a;
  --gold-deep: #c8951f;
  --gold-grad: linear-gradient(135deg, #f6d27a 0%, #e8b339 45%, #c8951f 100%);
  --text: #eef1f6;
  --text-2: #c4cad6;
  --muted: #8b93a6;
  --muted-2: #5c6678;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1240px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 50px -8px rgba(232, 179, 57, 0.35);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 背景：径向光晕 + 细网格 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 12% -8%, rgba(232, 179, 57, 0.10), transparent 60%),
    radial-gradient(800px 600px at 95% 0%, rgba(80, 120, 220, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ 布局 ============ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(232, 179, 57, 0.06);
  margin-bottom: 20px;
}
h1, h2, h3 { line-height: 1.25; font-weight: 800; letter-spacing: -0.5px; }
h2.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; }

.grad-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 18, 0.72);
  border-bottom: 1px solid var(--border-soft);
  transition: all .3s ease;
}
.nav.scrolled { background: rgba(6, 9, 18, 0.92); box-shadow: 0 10px 40px -20px #000; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 19px; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--gold-grad);
  display: grid; place-items: center;
  color: #1a1305; font-weight: 900; font-size: 18px;
  box-shadow: var(--glow);
}
.brand b { color: var(--gold-2); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 9px 15px; border-radius: 10px; font-size: 15px; color: var(--text-2);
  transition: all .2s; font-weight: 500;
}
.nav-links a:hover { color: var(--gold-2); background: rgba(255,255,255,0.04); }
.nav-links a.active { color: var(--gold-2); background: rgba(232,179,57,0.10); }
.nav-cta {
  padding: 10px 20px; border-radius: 11px;
  background: var(--gold-grad); color: #1a1305 !important;
  font-weight: 800; box-shadow: var(--glow);
}
.nav-cta:hover { filter: brightness(1.08); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 26px; cursor: pointer; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: 0; transition: all .25s; white-space: nowrap;
}
.btn-gold { background: var(--gold-grad); color: #1a1305; box-shadow: var(--glow); }
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-soft); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn-lg { padding: 17px 38px; font-size: 17px; }

/* ============ Hero ============ */
.hero { padding: 170px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 900; letter-spacing: -1.5px; }
.hero h1 .line2 { display: block; }
.hero p.lead { font-size: 19px; color: var(--text-2); margin: 26px 0 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--gold-2); margin-bottom: 26px;
  padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px;
  background: rgba(232,179,57,0.06);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #36d399; box-shadow: 0 0 10px #36d399; }

/* Hero 视觉卡 */
.hero-visual { position: relative; }
.glass-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 26px;
  backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.quote-card .qc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.quote-card .qc-head .sym { font-weight: 800; font-size: 18px; }
.quote-card .qc-head .tag { font-size: 12px; color: var(--gold-2); border: 1px solid var(--border); padding: 3px 10px; border-radius: 999px; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price-big { font-size: 38px; font-weight: 900; font-variant-numeric: tabular-nums; }
.up { color: #ff5b5b; }   /* 国内习惯：涨=红 */
.down { color: #2ec28a; } /* 跌=绿 */
.price-chg { font-size: 15px; font-weight: 700; }
.spark { margin-top: 14px; width: 100%; height: 70px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.mini-stats .ms { background: var(--surface-2); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.mini-stats .ms .v { font-size: 20px; font-weight: 800; color: var(--gold-2); }
.mini-stats .ms .l { font-size: 12px; color: var(--muted); }

/* ============ 数据条 ============ */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
  padding: 40px 0;
}
.stat .num { font-size: clamp(30px, 4vw, 46px); font-weight: 900; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lab { color: var(--muted); font-size: 15px; margin-top: 4px; }

/* ============ 卡片网格 ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 32px 28px; transition: all .3s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at 100% 0%, rgba(232,179,57,0.10), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.feature-card:hover { transform: translateY(-6px); border-color: var(--border); }
.feature-card:hover::before { opacity: 1; }
.feature-card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(232,179,57,0.12); border: 1px solid var(--border);
  font-size: 26px; margin-bottom: 20px;
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* ============ 步骤 ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step .n { font-size: 46px; font-weight: 900; color: rgba(232,179,57,0.25); line-height: 1; margin-bottom: 12px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ============ 表格 ============ */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-soft); border-radius: var(--radius); }
table.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
table.cmp th, table.cmp td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--border-soft); }
table.cmp thead th { background: var(--surface-2); font-weight: 800; font-size: 15px; }
table.cmp thead th:first-child { text-align: left; }
table.cmp td:first-child { text-align: left; color: var(--text-2); font-weight: 600; }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp .y { color: #36d399; font-weight: 800; }
table.cmp .n { color: var(--muted-2); }
table.cmp .hl { background: rgba(232,179,57,0.06); }

/* ============ 定价 ============ */
.price-card {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: var(--radius); padding: 34px 28px; display: flex; flex-direction: column;
  transition: all .3s; position: relative;
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border); }
.price-card.featured { border-color: var(--gold); box-shadow: var(--glow); }
.price-card .plan { font-size: 17px; color: var(--gold-2); font-weight: 800; letter-spacing: 1px; }
.price-card .desc { color: var(--muted); font-size: 14px; margin: 6px 0 18px; min-height: 40px; }
.price-card .amt { font-size: 44px; font-weight: 900; }
.price-card .amt small { font-size: 16px; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin: 22px 0 26px; flex: 1; }
.price-card li { padding: 9px 0; color: var(--text-2); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.price-card li .ck { color: var(--gold); font-weight: 900; }
.price-card li.off { color: var(--muted-2); }
.price-card li.off .ck { color: var(--muted-2); }
.ribbon { position: absolute; top: -12px; right: 22px; background: var(--gold-grad); color: #1a1305; font-weight: 800; font-size: 13px; padding: 5px 14px; border-radius: 999px; box-shadow: var(--glow); }

/* ============ 留言 ============ */
.form-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 36px; max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 8px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border-radius: 11px;
  background: var(--bg-3); border: 1px solid var(--border-soft);
  color: var(--text); font-family: inherit; font-size: 15px; transition: all .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,179,57,0.12); }
.field textarea { resize: vertical; min-height: 120px; }
.msg-list { margin-top: 40px; display: grid; gap: 16px; }
.msg-item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 20px 22px; }
.msg-item .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.msg-item .who { font-weight: 700; color: var(--gold-2); }
.msg-item .when { font-size: 13px; color: var(--muted-2); }
.msg-item .body { color: var(--text-2); font-size: 15px; white-space: pre-wrap; word-break: break-word; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--gold-grad); color: #1a1305; font-weight: 800; padding: 14px 26px; border-radius: 12px; box-shadow: var(--shadow); transition: transform .4s; z-index: 200; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============ 下载 ============ */
.dl-card { display: flex; align-items: center; gap: 22px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px 28px; margin-bottom: 18px; transition: all .3s; }
.dl-card:hover { border-color: var(--border); transform: translateX(4px); }
.dl-ic { width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; background: rgba(232,179,57,0.12); border: 1px solid var(--border); font-size: 28px; flex-shrink: 0; }
.dl-info { flex: 1; }
.dl-info h3 { font-size: 18px; margin-bottom: 4px; }
.dl-info p { color: var(--muted); font-size: 14px; }
.dl-meta { font-size: 13px; color: var(--muted-2); margin-top: 6px; }
.req-box { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; }
.req-box h3 { font-size: 18px; margin-bottom: 14px; color: var(--gold-2); }
.req-box li { color: var(--text-2); margin: 8px 0 8px 18px; }
.dl-card.featured-dl { border-color: var(--gold); box-shadow: var(--glow); }
.dl-tag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--gold-2); background: rgba(232,179,57,0.12); border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px; margin-bottom: 8px; letter-spacing: .5px; }

/* 源码买断引导条 */
.src-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 46px; padding: 30px 34px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(232,179,57,0.10), rgba(232,179,57,0.03)); border: 1px solid var(--gold); box-shadow: var(--glow); }
.src-cta h3 { font-size: 20px; color: var(--gold-2); margin-bottom: 8px; }
.src-cta p { color: var(--text-2); font-size: 15px; max-width: 720px; }
.src-cta p b { color: var(--gold-2); }

/* 温馨提示（参考站风格） */
.tip-box { margin-top: 30px; background: var(--surface); border: 1px solid rgba(255,120,90,0.22); border-left: 4px solid #ff8a6a; border-radius: var(--radius); padding: 26px 30px; }
.tip-box h3 { color: #ff8a6a; font-size: 18px; margin-bottom: 12px; }
.tip-box li { color: var(--text-2); margin: 9px 0 9px 20px; font-size: 14px; line-height: 1.7; }
.tip-box b { color: var(--gold-2); }

/* 源码买断区块 */
.src-buy { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: var(--glow); overflow: hidden; }
.src-buy-main { padding: 38px 40px; }
.src-buy-main h3 { font-size: 22px; margin: 4px 0 12px; }
.src-sub { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 20px; max-width: 640px; }
.src-feats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.src-feats li { color: var(--text-2); font-size: 15px; display: flex; gap: 10px; align-items: flex-start; }
.src-feats li .ck { color: var(--gold); font-weight: 900; }
.src-buy-side { padding: 38px 36px; background: linear-gradient(160deg, rgba(232,179,57,0.10), rgba(232,179,57,0.03)); border-left: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.amt-big { font-size: 46px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.amt-note { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.src-buy-side .m-note { margin-top: 16px; font-size: 12px; color: var(--muted-2); }

/* ============ 风险提示 ============ */
.risk-box { background: var(--surface); border: 1px solid rgba(255,120,90,0.25); border-radius: var(--radius); padding: 36px; }
.risk-box h3 { color: #ff8a6a; font-size: 20px; margin: 22px 0 10px; }
.risk-box h3:first-child { margin-top: 0; }
.risk-box p, .risk-box li { color: var(--text-2); font-size: 15px; margin: 6px 0; }
.risk-box ul { margin-left: 20px; }

/* ============ 更新日志 ============ */
.changelog { max-width: 860px; margin: 0 auto; }
.cl-item { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border-soft); }
.cl-item:last-child { border-bottom: 0; }
.cl-ver { text-align: right; }
.cl-ver .v { font-size: 18px; font-weight: 800; color: var(--gold-2); }
.cl-ver .d { font-size: 13px; color: var(--muted-2); margin-top: 4px; }
.cl-body h3 { font-size: 18px; margin-bottom: 10px; }
.cl-body ul { list-style: none; }
.cl-body li { padding: 6px 0 6px 22px; position: relative; color: var(--text-2); font-size: 15px; }
.cl-body li::before { content: "▹"; position: absolute; left: 0; color: var(--gold); }
.tag-new { display: inline-block; font-size: 11px; background: rgba(54,211,153,0.15); color: #36d399; padding: 2px 9px; border-radius: 999px; margin-left: 8px; font-weight: 700; }
.tag-fix { display: inline-block; font-size: 11px; background: rgba(120,150,255,0.15); color: #8aa0ff; padding: 2px 9px; border-radius: 999px; margin-left: 8px; font-weight: 700; }

/* ============ FAQ ============ */
.faq-item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 22px 24px; margin-bottom: 14px; }
.faq-item .q { font-weight: 700; font-size: 17px; color: var(--text); display: flex; gap: 12px; }
.faq-item .q .qm { color: var(--gold); font-weight: 900; }
.faq-item .a { color: var(--muted); font-size: 15px; margin-top: 10px; padding-left: 30px; }

/* ============ CTA 横幅 ============ */
.cta-banner {
  text-align: center; padding: 70px 40px; border-radius: 28px;
  background: linear-gradient(135deg, rgba(232,179,57,0.14), rgba(232,179,57,0.03));
  border: 1px solid var(--border); position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 14px; }
.cta-banner p { color: var(--text-2); margin-bottom: 28px; font-size: 17px; }

/* ============ 页脚 ============ */
.footer { border-top: 1px solid var(--border-soft); padding: 60px 0 30px; margin-top: 40px; background: rgba(6,9,18,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer p.desc { color: var(--muted); font-size: 14px; max-width: 320px; }
.footer h4 { font-size: 15px; margin-bottom: 16px; color: var(--gold-2); }
.footer ul { list-style: none; }
.footer ul li { margin: 9px 0; }
.footer ul li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.footer ul li a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid var(--border-soft); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted-2); font-size: 13px; }
.footer-bottom a { color: var(--muted); }

/* ============ 支付弹窗 ============ */
.modal-mask { position: fixed; inset: 0; background: rgba(2,4,10,0.78); backdrop-filter: blur(6px); z-index: 300; display: none; place-items: center; padding: 20px; }
.modal-mask.show { display: grid; }
.modal { background: var(--bg-3); border: 1px solid var(--border); border-radius: 22px; padding: 36px; max-width: 460px; width: 100%; box-shadow: var(--shadow); position: relative; animation: pop .3s ease; }
@keyframes pop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .close { position: absolute; top: 16px; right: 18px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; }
.modal h3 { font-size: 22px; margin-bottom: 6px; }
.modal .plan-sel { color: var(--gold-2); font-weight: 800; }
.modal .pay-amt { font-size: 34px; font-weight: 900; margin: 14px 0; }
.pay-methods { display: grid; gap: 12px; margin: 18px 0; }
.pay-m { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--border-soft); border-radius: 12px; cursor: pointer; transition: all .2s; }
.pay-m:hover { border-color: var(--gold); background: rgba(232,179,57,0.06); }
.pay-m.sel { border-color: var(--gold); background: rgba(232,179,57,0.10); }
.pay-m .pm-ic { font-size: 24px; }
.pay-m .pm-name { font-weight: 700; }
.pay-m .pm-sub { font-size: 13px; color: var(--muted); }
.qr-box { text-align: center; margin-top: 10px; display: none; }
.qr-box.show { display: block; }
.qr-img { width: 200px; height: 200px; margin: 0 auto 12px; border-radius: 14px; background: repeating-conic-gradient(#0a0f1c 0% 25%, #fff 0% 50%) 50% / 18px 18px; border: 6px solid #fff; }
.modal .m-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: rgba(6,9,18,0.97); padding: 16px; border-bottom: 1px solid var(--border-soft); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-toggle { display: block; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .grid-3, .grid-2, .steps, .grid-4 { grid-template-columns: 1fr; }
  .cl-item { grid-template-columns: 1fr; gap: 8px; }
  .cl-ver { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 70px 0; }
}
@media (max-width: 520px) {
  .dl-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============ 前台交互组件（site.js：登录/注册 · 支付 · 公告 · 导航用户态） ============ */
.hidden { display: none !important; }

.jc-modal-mask {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(2,4,10,0.80); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.jc-modal-mask.hidden { display: none; }
.jc-modal {
  position: relative; width: 100%; max-width: 440px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 22px; padding: 34px 32px; box-shadow: var(--shadow);
  animation: jcpop .3s ease;
}
@keyframes jcpop { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.jc-modal.pay { max-width: 480px; }
.jc-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--muted); font-size: 26px; cursor: pointer; line-height: 1; }
.jc-close:hover { color: var(--gold-2); }
.jc-modal h3 { font-size: 21px; margin-bottom: 18px; }
.jc-modal input, .jc-modal textarea {
  width: 100%; padding: 13px 15px; margin-bottom: 12px; border-radius: 11px;
  background: var(--bg); border: 1px solid var(--border-soft); color: var(--text);
  font-family: inherit; font-size: 15px; transition: all .2s;
}
.jc-modal input:focus, .jc-modal textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232,179,57,0.12); }
.jc-modal textarea { resize: vertical; min-height: 70px; }
.jc-row { display: flex; gap: 10px; align-items: stretch; }
.jc-row input { flex: 1; margin-bottom: 12px; }
.jc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 0; border-radius: 11px; font-weight: 700; font-size: 15px;
  cursor: pointer; transition: all .22s; width: 100%;
}
.jc-btn.gold { background: var(--gold-grad); color: #1a1305; box-shadow: var(--glow); }
.jc-btn.gold:hover { filter: brightness(1.07); }
.jc-btn.ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-soft); margin-bottom: 12px; white-space: nowrap; }
.jc-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 12px; padding: 5px; }
.jc-tabs span { flex: 1; text-align: center; padding: 9px 0; border-radius: 9px; font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; transition: all .2s; }
.jc-tabs span.active { background: var(--gold-grad); color: #1a1305; }
.jc-pane { display: block; }
.jc-pane.hidden { display: none; }
.jc-err { color: #ff8a6a; font-size: 13px; min-height: 18px; margin-top: -4px; margin-bottom: 8px; }
.jc-sub { text-align: center; margin-top: 10px; }
.jc-sub a { color: var(--gold-2); font-size: 14px; cursor: pointer; }

/* 支付弹窗 */
.jc-pay-amt { font-size: 34px; font-weight: 900; margin: 6px 0 16px; color: var(--gold-2); }
.jc-pay-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.jc-pm { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--border-soft); border-radius: 12px; cursor: pointer; transition: all .2s; }
.jc-pm:hover { border-color: var(--gold); background: rgba(232,179,57,0.06); }
.jc-pm.sel { border-color: var(--gold); background: rgba(232,179,57,0.10); }
.jc-pm .pm-ic { font-size: 22px; }
.jc-pm .pm-name { font-weight: 700; font-size: 15px; }
.jc-pay-qr { text-align: center; margin: 6px 0 12px; }
.jc-pay-qr .qr-img { width: 190px; height: 190px; margin: 0 auto 10px; border-radius: 14px; background: repeating-conic-gradient(#0a0f1c 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 6px solid #fff; }
.jc-pay-hint { color: var(--muted); font-size: 13px; }
.jc-pay-note { color: var(--muted); font-size: 13px; text-align: center; margin-top: 10px; min-height: 18px; }

/* 公告横幅 */
.jc-banner { display: flex; align-items: center; gap: 10px; padding: 12px 20px; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--border-soft); }
.jc-banner .jc-b-ic { font-size: 16px; }
.jc-banner.lv-info { background: rgba(232,179,57,0.10); color: var(--gold-2); }
.jc-banner.lv-warn { background: rgba(255,160,60,0.12); color: #ffb15a; }
.jc-banner.lv-danger { background: rgba(255,90,90,0.12); color: #ff8a8a; }

/* 导航用户态 */
#nav-user { display: inline-flex; align-items: center; gap: 10px; margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--border-soft); }
#nav-user .nu-name { font-size: 14px; color: var(--gold-2); font-weight: 700; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#nav-user .nu-link { font-size: 14px; color: var(--text-2); cursor: pointer; }
#nav-user .nu-link:hover { color: var(--gold-2); }
#nav-user .nu-link.gold { color: var(--gold-2); font-weight: 700; }

/* 移动端：导航用户态融入竖排菜单 */
@media (max-width: 860px) {
  #nav-user { margin: 6px 0 0; padding: 12px 12px 0; border-left: 0; border-top: 1px solid var(--border-soft); flex-wrap: wrap; }
}
