/* =============================================================
   GXT 官网 · 前台高级感样式层（在 site.css 之后加载）
   深色首屏 + 大留白 + 精致卡片；保留原有功能类不变
   ============================================================= */

/* ---------- 基础 ---------- */
:root {
  --maxw: 1200px;
}
body { background: #fff; }

/* 主按钮：渐变 + 柔和投影 */
.btn--primary {
  background: linear-gradient(135deg, #2a5f92 0%, #1f4e79 100%);
  box-shadow: 0 6px 18px rgba(31, 78, 121, .22);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #356ea6 0%, #245a8a 100%);
  box-shadow: 0 10px 26px rgba(31, 78, 121, .28);
}

/* 通用区块留白与标题层级 */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section-head h2 { font-size: 30px; letter-spacing: -.4px; }
.section-head p { font-size: 15.5px; }

/* ---------- 页头 ---------- */
.site-header {
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(16, 24, 40, .07); }
.brand-mark {
  background: linear-gradient(140deg, #2a5f92, #16395a);
  box-shadow: 0 4px 12px rgba(31, 78, 121, .25);
}
.nav-link { color: var(--ink-2); }
.nav-link:hover { background: transparent; color: var(--brand); }
.nav-link.is-active { background: transparent; color: var(--brand); }
.header-member-nav { display: flex; align-items: center; gap: 2px; }
.header-member-nav-link { color: var(--muted); }
.header-member-nav-link:hover { background: transparent; color: var(--brand); }
.header-cta { display: none; }

/* ---------- 首屏：深色渐变 + 大标题 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -12%, rgba(94, 160, 220, .38), transparent 62%),
    radial-gradient(820px 430px at 88% 0%, rgba(126, 186, 238, .22), transparent 62%),
    linear-gradient(155deg, #0f2b45 0%, #173f64 48%, #0c2338 100%);
  color: #fff;
  padding: 116px 0 104px;
}
.hero-glow { display: none; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 22%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 22%, transparent 74%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -190px;
  transform: translateX(-50%);
  width: 920px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(126, 186, 238, .24), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy { animation: none; max-width: none; margin: 0 auto; }
.hero-badges { justify-content: center; margin-bottom: 22px; }
.hero-badge {
  color: #d9ecff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero-title {
  color: #fff;
  font-size: clamp(40px, 4.8vw, 62px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin-bottom: 20px;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .25);
}
.hero-lede {
  color: rgba(219, 233, 247, .92);
  font-size: 16.5px;
  line-height: 1.9;
  max-width: 780px;
  margin: 0 auto 34px;
  white-space: normal;
}
.hero-actions { justify-content: center; gap: 14px; margin-bottom: 0; }
.hero-actions .btn--ghost {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
}
.hero-actions .btn--ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

/* ---------- 首页区块 ---------- */
#features.section,
#download.section { padding: 96px 0; }
#download.section--plain {
  background: linear-gradient(180deg, #f6f9fc 0%, #eef3f9 100%);
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
#features .section-head,
#download .section-head { max-width: 760px; margin-bottom: 52px; }
#features .section-head h2,
#download .section-head h2 { font-size: 32px; letter-spacing: -.5px; }
#features .eyebrow,
#download .eyebrow { color: var(--brand-600); letter-spacing: .16em; }
.section-actions--center { justify-content: center; margin-top: 38px; }

/* 核心能力：大图标 + 悬浮卡片 */
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.feature-grid--4 .feature-card {
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.feature-grid--4 .feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(16, 24, 40, .12);
  border-color: transparent;
}
.feature-grid--4 .feature-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(140deg, #2a5f92, #16395a);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 78, 121, .22);
}
.feature-grid--4 .feature-card h3 { font-size: 17px; margin-bottom: 10px; }
.feature-grid--4 .feature-card .feature-summary {
  font-size: 14px;
  line-height: 1.78;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 最新版本：大卡片 */
#download .version-panel {
  max-width: 940px;
  margin: 0 auto;
  padding: 40px 44px;
  border-radius: 20px;
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .10);
}
#download .version-no { font-size: 28px; }
#download .version-items { grid-template-columns: 1fr 1fr; }

/* ---------- 内页 Hero：更饱满 ---------- */
.page-hero { padding: 44px 0 64px; position: relative; overflow: hidden; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse at 30% 0%, #000 20%, transparent 76%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.8px; }
.page-hero-lede { font-size: 16px; }

/* ---------- 页脚：深色收尾 ---------- */
.site-footer {
  background: linear-gradient(180deg, #0f2438 0%, #0b1c2d 100%);
  color: #a9c6e0;
  border-top: 0;
  padding: 52px 0 28px;
}
.footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.footer-brand-line { margin-bottom: 0; }
.footer-mark { background: linear-gradient(140deg, #2a5f92, #1f4e79); }
.footer-brand-text strong { color: #fff; }
.footer-ver { color: #d7e7f7; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 2px 20px; font-size: 14px; }
.footer-nav a { color: #a9c6e0; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 0;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #86a6c2;
}
.footer-copy { color: #86a6c2; margin: 0; }
.footer-note { color: #86a6c2; margin: 0; max-width: 720px; }
.footer-note a { color: #a9c6e0; text-decoration: underline; }
.footer-note a:hover { color: #fff; }
.footer-icp a { color: #86a6c2; }
.footer-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 24px;
  padding: 16px 0 0;
  font-size: 12.5px;
  color: #86a6c2;
  text-decoration: none;
}
.footer-stats:hover { color: #cfe4f7; }
.footer-stats span { white-space: nowrap; }
.footer-stats b {
  color: #e7f2ff;
  font-weight: 700;
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}
.footer-stats .footer-stats-more {
  margin-left: auto;
  color: #a9c6e0;
  font-weight: 600;
}
.footer-stats:hover .footer-stats-more { color: #fff; }

/* ---------- 公开网站统计页 ---------- */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.stat-cards--secondary { margin-bottom: 0; }
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .04);
}
.stat-card .stat-label { font-size: 13px; color: var(--muted); }
.stat-card .stat-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--ink);
  margin: 6px 0 2px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.stat-card .stat-unit { font-size: 12.5px; color: var(--muted-2); }
.stat-card .stat-sub { margin-top: 10px; font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.stats-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 30px;
  margin-top: 22px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .04);
  min-width: 0;
}
.stats-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.stats-panel-head h2 { font-size: 22px; letter-spacing: -.5px; margin: 2px 0 6px; }
.stats-panel-head p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.7; }
.stats-total { font-size: 13px; color: var(--muted); white-space: nowrap; }
.stats-total b { color: var(--brand); font-size: 18px; font-variant-numeric: tabular-nums; }
.chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 230px;
  padding-top: 6px;
  overflow-x: auto;
}
.chart-col {
  flex: 1 1 0;
  min-width: 38px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
.chart-bar {
  width: 100%;
  max-width: 44px;
  min-height: 2px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #5b9bd5, #2a5f92);
  transition: filter .15s ease;
}
.chart-col:hover .chart-bar { filter: brightness(1.12); }
.chart-value { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart-date { font-size: 11px; color: var(--muted-2); }
.stats-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 22px;
}
.stats-split .stats-panel { margin-top: 22px; }
.stats-notes { margin: 0; padding-left: 18px; font-size: 13.5px; color: var(--muted); line-height: 1.9; }

@media (max-width: 1023px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-split { grid-template-columns: minmax(0, 1fr); }
  .stats-split .stats-panel:last-child { margin-top: 0; }
}
@media (max-width: 767px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stat-card { padding: 18px; border-radius: 14px; }
  .stat-card .stat-value { font-size: 24px; }
  .stats-panel { padding: 20px; border-radius: 16px; }
  .chart { height: 180px; gap: 5px; }
  .chart-bar { max-width: 28px; }
  .footer-stats .footer-stats-more { margin-left: 0; }
}

/* ---------- 下载页 / 软件中心公共卡片 ---------- */
.tool-list { display: grid; gap: 20px; }
.tool-list .dl-card { margin: 0; }
.tool-list .dl-card--tool { border-left: 4px solid var(--brand-600); box-shadow: 0 2px 6px rgba(16, 24, 40, .04); }
.soft-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.soft-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .04);
  transition: transform .22s ease, box-shadow .22s ease;
}
.soft-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(16, 24, 40, .12); }
.soft-card .dl-badges { margin-bottom: 12px; }
.soft-card h3 { font-size: 18px; margin-bottom: 8px; }
.soft-card .soft-desc { font-size: 14px; line-height: 1.78; color: var(--muted); margin: 0; }
.soft-card .soft-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 16px;
}
.soft-card .dl-actions { margin-top: auto; padding-top: 20px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1023px) {
  .hero { padding: 92px 0 88px; }
  .section { padding: 72px 0; }
  #features.section,
  #download.section { padding: 76px 0; }
  .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .hero { padding: 64px 0 72px; }
  .hero::before { background-size: 40px 40px; }
  .hero::after { width: 560px; height: 260px; bottom: -140px; }
  .hero-title { font-size: 34px; letter-spacing: -1px; }
  .hero-lede { font-size: 15px; line-height: 1.85; margin-bottom: 26px; }
  .section { padding: 56px 0; }
  #features.section,
  #download.section { padding: 56px 0; }
  #features .section-head,
  #download .section-head { margin-bottom: 30px; }
  #features .section-head h2,
  #download .section-head h2 { font-size: 25px; }
  .feature-grid--4 { grid-template-columns: 1fr; gap: 14px; }
  .feature-grid--4 .feature-card { padding: 22px; }
  #download .version-panel { padding: 24px; border-radius: 16px; }
  #download .version-items { grid-template-columns: 1fr; }
  .page-hero { padding: 30px 0 40px; }
  .page-hero::before { background-size: 38px 38px; }
  .footer-simple { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom { flex-direction: column; }
  html.js .site-nav .header-member-nav { flex-direction: column; align-items: stretch; }
  .soft-grid { grid-template-columns: 1fr; gap: 14px; }
  .soft-card { padding: 20px; }
}

/* ---------- 会员等级 / 积分 / 排行 ---------- */
.nav-level {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0 6px;
  height: 18px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.member-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 34px;
}
.member-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .04);
}
.member-stat-label { font-size: 13px; color: var(--muted); }
.member-stat-value {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin: 8px 0 6px;
  letter-spacing: -.5px;
}
.member-stat-sub { font-size: 12.5px; color: var(--muted-2); line-height: 1.7; }
.member-stat-sub a { color: var(--brand); }
.level-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}
.level-progress {
  margin-top: 14px;
  height: 8px;
  border-radius: 999px;
  background: #eef2f6;
  overflow: hidden;
}
.level-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2a5f92, #4d8ec9);
}
.member-points { margin-top: 8px; }
.member-rank-me { font-size: 14px; color: var(--muted); }
.member-rank-me b { color: var(--brand); font-size: 16px; }
.rank-table .rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef2f6;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
}
.rank-table .rank-no--1 { background: linear-gradient(140deg, #f7c948, #d99a06); color: #fff; }
.rank-table .rank-no--2 { background: linear-gradient(140deg, #c9d3dd, #8f9aa6); color: #fff; }
.rank-table .rank-no--3 { background: linear-gradient(140deg, #e0a06a, #b06a31); color: #fff; }
.rank-table tr.is-me td { background: var(--brand-50); }

@media (max-width: 767px) {
  .member-stat-grid { grid-template-columns: 1fr; gap: 14px; }
  .member-stat-card { padding: 20px; }
  .member-stat-value { font-size: 23px; }
}


/* ---------- 网站统计服务 ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .04);
}
.step-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: linear-gradient(140deg, #2a5f92, #16395a);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
.step-card h3 { margin: 0 0 8px; font-size: 16px; }
.step-card p { margin: 0; font-size: 13.5px; line-height: 1.85; color: var(--muted); }
.step-card code { padding: 1px 5px; border-radius: 4px; background: #eef2f6; font-size: 12.5px; }
.code-block {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  border-radius: 12px;
  background: #0f2438;
  color: #d7e7f7;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-all;
}
.code-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.report-link { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.report-link input { flex: 1 1 300px; min-width: 0; }
.report-link .btn { flex: none; }
.site-list-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 767px) {
  .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .step-card { padding: 22px; }
}

/* ---------- 站长工具（权重 / 域名到期查询） ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tools-grid .stats-panel { margin-top: 0; }
.tool-form { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tool-form .input { flex: 1 1 220px; min-width: 0; }
.tool-result { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tool-result li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; padding-bottom: 9px; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.tool-result li span:first-child { flex: 0 0 64px; color: var(--muted); }
.tool-result li b { color: var(--ink); word-break: break-all; font-weight: 600; }
.tool-links-title { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.tool-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.text-danger { color: #c2410c; }
@media (max-width: 1023px) {
  .tools-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .tools-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 自建网站权重结果 ---------- */
.weight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4f8fc, #eaf2f9);
  border: 1px solid var(--line);
}
.weight-score { display: flex; align-items: baseline; gap: 8px; }
.weight-score b { font-size: 40px; line-height: 1; font-weight: 800; color: var(--brand); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.weight-score span { font-size: 13px; color: var(--muted); }
.weight-grade { font-size: 13px; color: var(--muted); }
.weight-grade b { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; padding: 0 10px; border-radius: 8px; font-size: 17px; font-weight: 800; color: #fff; background: linear-gradient(140deg, #2a5f92, #16395a); }
.weight-grade b.grade-S { background: linear-gradient(140deg, #d99a06, #b06a31); }
.weight-grade b.grade-A { background: linear-gradient(140deg, #2a5f92, #16395a); }
.weight-grade b.grade-B { background: linear-gradient(140deg, #4d8ec9, #2a5f92); }
.weight-grade b.grade-C { background: linear-gradient(140deg, #8fa3b5, #64798c); }
.weight-grade b.grade-D { background: linear-gradient(140deg, #b9c2cc, #8a97a5); }
.tool-result--metrics li { justify-content: flex-start; }
.tool-result--metrics li b { flex: 1 1 auto; font-weight: 500; color: var(--ink-2); }
.tool-result--metrics .metric-score { flex: 0 0 auto; font-style: normal; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tool-links-title { margin: 0 0 10px; font-size: 13.5px; color: var(--muted); }
.tool-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.text-danger { color: #c2410c; }

/* 站长工具结果标签防换行 */
.tool-result li span:first-child { flex: 0 0 84px; white-space: nowrap; }

/* 搜索引擎收录参考 chips */
.search-index { margin: 12px 0 4px; }
.search-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* 收录历史面板 */
.history-panel { margin-top: 18px; }

/* 详细来路 */
.referer-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.referer-url {
  margin-top: 4px;
  max-width: 360px;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* 报表：详细来路表格适配窄栏 */
table.data.referer-table { min-width: 0; }
table.data.referer-table th,
table.data.referer-table td { padding: 10px 10px; }
table.data.referer-table td:first-child { max-width: 190px; }
table.data.referer-table .referer-url { max-width: 180px; }

/* SVIP 金色标识 */
.level-chip--svip {
  background: linear-gradient(140deg, #f0b429, #d99a06);
  border-color: #d99a06;
  color: #fff;
  box-shadow: 0 2px 8px rgba(217, 154, 6, .25);
}

/* ============================================================
   科技感设计层（首页 Hero / 功能卡 / 区块标签）
   ============================================================ */
.hero.hero--tech {
  background:
    radial-gradient(900px 520px at 16% -10%, rgba(34, 211, 238, .26), transparent 60%),
    radial-gradient(760px 420px at 88% 6%, rgba(59, 130, 246, .26), transparent 62%),
    linear-gradient(160deg, #040a16 0%, #071a33 52%, #030913 100%);
  padding: 104px 0 92px;
  border-bottom: 1px solid rgba(56, 189, 248, .18);
}
.hero.hero--tech::before {
  background-image:
    linear-gradient(rgba(56, 189, 248, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, .12) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000 10%, transparent 78%);
  mask-image: radial-gradient(ellipse at 30% 0%, #000 10%, transparent 78%);
  animation: tech-grid-move 26s linear infinite;
}
.hero.hero--tech::after {
  left: auto;
  right: -180px;
  bottom: auto;
  top: 30px;
  transform: none;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(34, 211, 238, .20), transparent 66%);
  filter: blur(8px);
}
@keyframes tech-grid-move { to { background-position: 48px 48px; } }

.hero-inner--tech {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: 56px;
  max-width: 1200px;
  text-align: left;
}
.hero--tech .hero-copy { text-align: left; }
.hero--tech .hero-badges { justify-content: flex-start; gap: 10px; margin-bottom: 24px; }
.hero-badge--live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7ff3c0;
  border-color: rgba(52, 211, 153, .45);
  background: rgba(16, 185, 129, .12);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .18em;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: live-pulse 1.8s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}
.hero-badge--mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; }

.hero.hero--tech .hero-title {
  text-align: left;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.6px;
  margin-bottom: 22px;
  text-shadow: 0 0 42px rgba(34, 211, 238, .16);
}
.hero-title-accent { color: #22d3ee; text-shadow: 0 0 26px rgba(34, 211, 238, .85); }
.hero.hero--tech .hero-lede {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: 620px;
  color: rgba(203, 232, 255, .88);
}
.hero.hero--tech .hero-actions { justify-content: flex-start; }
.hero.hero--tech .btn--primary {
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 55%, #1d4ed8 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 34px rgba(34, 211, 238, .28);
}
.hero.hero--tech .btn--primary:hover {
  box-shadow: 0 14px 44px rgba(34, 211, 238, .42);
  transform: translateY(-1px);
}
.hero-metrics { display: flex; flex-wrap: wrap; gap: 30px; margin: 38px 0 0; padding: 0; list-style: none; }
.hero-metric-value {
  display: block;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 800;
  color: #7dd3fc;
  letter-spacing: -.5px;
  line-height: 1;
}
.hero-metric-value span { color: #22d3ee; }
.hero-metric-label {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(180, 210, 235, .75);
  letter-spacing: .12em;
}

.hero-visual { position: relative; min-width: 0; }
.tech-window {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, .30);
  background: rgba(5, 16, 30, .84);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(56, 189, 248, .08), 0 0 60px rgba(34, 211, 238, .10);
  animation: tech-float 7s ease-in-out infinite;
}
@keyframes tech-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.tech-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(56, 189, 248, .16);
  background: rgba(255, 255, 255, .03);
}
.tech-dot { width: 9px; height: 9px; border-radius: 50%; }
.tech-dot--r { background: #f87171; }
.tech-dot--y { background: #fbbf24; }
.tech-dot--g { background: #34d399; }
.tech-window-title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: rgba(148, 190, 225, .8);
}
.tech-code {
  margin: 0;
  padding: 20px 22px 26px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 2.1;
  color: #9bd8f5;
  white-space: pre;
  overflow-x: auto;
}
.tc-prompt { color: #22d3ee; }
.tc-ok { color: #34d399; }
.tc-dim { color: rgba(148, 180, 205, .78); }
.tc-ver { color: #7dd3fc; text-shadow: 0 0 14px rgba(34, 211, 238, .7); }
.tc-cursor { color: #22d3ee; animation: tc-blink 1.1s step-end infinite; }
@keyframes tc-blink { 50% { opacity: 0; } }
.tech-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(56, 189, 248, .10) 48%, transparent 52%);
  background-size: 100% 220%;
  animation: tech-scan-move 5.5s linear infinite;
}
@keyframes tech-scan-move {
  0% { background-position: 0 -120%; }
  100% { background-position: 0 220%; }
}
.tech-orbit {
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, .35);
  animation: tech-spin 18s linear infinite;
}
.tech-orbit::before,
.tech-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(34, 211, 238, .25);
  inset: 22px;
}
.tech-orbit::after { inset: 52px; border-style: dashed; }
@keyframes tech-spin { to { transform: rotate(360deg); } }

/* 区块标签 */
.tech-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  color: #0e7490;
  text-transform: uppercase;
}
.tech-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, #22d3ee, transparent);
}

/* 功能卡片：科技描边 + 编号 */
.feature-card.tech-card {
  position: relative;
  border: 1px solid rgba(13, 148, 136, .16);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card.tech-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 16px;
  height: 16px;
  border-top: 2px solid rgba(34, 211, 238, .55);
  border-left: 2px solid rgba(34, 211, 238, .55);
  border-top-left-radius: 6px;
  pointer-events: none;
}
.feature-card.tech-card::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 16px;
  height: 16px;
  border-bottom: 2px solid rgba(34, 211, 238, .55);
  border-right: 2px solid rgba(34, 211, 238, .55);
  border-bottom-right-radius: 6px;
  pointer-events: none;
}
.tech-card-index {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(14, 116, 144, .55);
}
.feature-card.tech-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .45);
  box-shadow: 0 18px 44px rgba(13, 148, 136, .16);
}

/* 版本面板科技描边 */
#download .version-panel {
  border: 1px solid rgba(13, 148, 136, .18);
  box-shadow: 0 20px 50px rgba(13, 148, 136, .08);
}

@media (max-width: 1023px) {
  .hero-inner--tech { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .hero--tech .hero-copy { text-align: center; }
  .hero.hero--tech .hero-title { text-align: center; }
  .hero--tech .hero-badges,
  .hero--tech .hero-lede,
  .hero.hero--tech .hero-actions { justify-content: center; text-align: center; margin-left: auto; margin-right: auto; }
  .hero-metrics { justify-content: center; }
  .hero-visual { max-width: 560px; margin: 0 auto; }
  .tech-orbit { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tech-window,
  .tech-scan,
  .tech-orbit,
  .hero.hero--tech::before,
  .live-dot,
  .tc-cursor { animation: none; }
}

/* ---------- 首页科技动效：粒子 / 聚光 / 打字 / 揭示 ---------- */
.tech-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .7;
}
.tech-spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .45s ease;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(34, 211, 238, .14), transparent 62%);
}
.tech-spotlight.is-on { opacity: 1; }
.hero-inner--tech { z-index: 2; }

.tech-code.is-animated { white-space: pre; }
.tc-line {
  display: block;
  opacity: 0;
  transform: translateX(-6px);
  animation: tc-line-in .32s ease forwards;
}
@keyframes tc-line-in {
  to { opacity: 1; transform: none; }
}

.tech-reveal-ready .tech-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease, box-shadow .25s ease, border-color .25s ease;
}
.tech-reveal-ready .tech-card.is-visible { opacity: 1; transform: none; }
.tech-reveal-ready .tech-card.is-visible:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  .tech-canvas,
  .tech-spotlight { display: none; }
  .tech-reveal-ready .tech-card { opacity: 1; transform: none; }
}

/* ---------- 首页下半部分：深色科技化 ---------- */
#features.section {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(56, 189, 248, .10), transparent 60%),
    #050c18;
  color: #dbe9f7;
}
#features .section-head h2 { color: #fff; }
#features .section-head p { color: rgba(190, 215, 235, .78); }
#features .tech-eyebrow { color: #38bdf8; }
#features .tech-eyebrow::before { background: linear-gradient(90deg, #22d3ee, transparent); }
#features .feature-card.tech-card {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(56, 189, 248, .18);
  box-shadow: none;
}
#features .feature-card.tech-card h3 { color: #eaf6ff; }
#features .feature-card.tech-card .feature-summary { color: rgba(190, 215, 235, .75); }
#features .feature-card.tech-card .ico { background: rgba(56, 189, 248, .12); color: #7dd3fc; }
#features .feature-card.tech-card:hover {
  background: rgba(56, 189, 248, .07);
  border-color: rgba(34, 211, 238, .45);
  box-shadow: 0 18px 44px rgba(8, 47, 73, .55);
}
#features .btn--ghost {
  color: #dbeafe;
  border-color: rgba(148, 197, 235, .35);
  background: transparent;
}
#features .btn--ghost:hover { color: #fff; border-color: rgba(125, 211, 252, .6); }
#features .empty-state { color: rgba(190, 215, 235, .8); }

#download.section--plain {
  background: linear-gradient(180deg, #050c18 0%, #071426 100%);
  border-top: 1px solid rgba(56, 189, 248, .12);
  color: #dbe9f7;
}
#download .section-head h2 { color: #fff; }
#download .section-head p { color: rgba(190, 215, 235, .78); }
#download .tech-eyebrow { color: #38bdf8; }
#download .tech-eyebrow::before { background: linear-gradient(90deg, #22d3ee, transparent); }
#download .version-panel {
  background: rgba(255, 255, 255, .035);
  border-color: rgba(56, 189, 248, .20);
  color: #dbe9f7;
}
#download .version-no { color: #fff; }
#download .version-title { color: rgba(190, 215, 235, .8); }
#download .version-meta { color: rgba(190, 215, 235, .7); }
#download .version-item-text { color: rgba(214, 232, 247, .92); }
#download .version-items { border-color: rgba(56, 189, 248, .12); }
#download .btn--ghost {
  color: #dbeafe;
  border-color: rgba(148, 197, 235, .35);
  background: transparent;
}
#download .btn--ghost:hover { color: #fff; border-color: rgba(125, 211, 252, .6); }
#download .empty-state { color: rgba(190, 215, 235, .8); }

@media (max-width: 767px) {
  .hero.hero--tech { padding: 76px 0 64px; }
  .hero-metrics { gap: 22px; }
  .hero-metric-value { font-size: 22px; }
}

/* 深色首页：版本标题徽标反色适配 */
#download .version-title {
  color: #bae6fd;
  background: rgba(56, 189, 248, .12);
  border-color: rgba(56, 189, 248, .28);
}

/* 软件详情页 */
.soft-detail-sub {
  margin: 30px 0 12px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

/* 商城 */
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shop-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; }
.shop-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0b429, #d99a06);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}
.shop-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); }
.shop-price { font-size: 30px; font-weight: 800; line-height: 1.1; color: var(--brand); }
.shop-unit { font-size: 12.5px; color: var(--muted); }
.shop-desc { font-size: 13.5px; line-height: 1.8; color: var(--ink-2); }
.shop-features { list-style: none; margin: 4px 0 10px; padding: 0; display: grid; gap: 6px; }
.shop-features li { font-size: 13px; line-height: 1.7; color: var(--ink-2); padding-left: 18px; position: relative; }
.shop-features li::before { content: "✓"; position: absolute; left: 0; color: #0e9f6e; font-weight: 700; }
.shop-card .btn { margin-top: auto; width: 100%; justify-content: center; }
@media (max-width: 1023px) {
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .shop-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 积分商城 */
.points-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--brand-50);
  font-size: 13.5px;
  color: var(--ink-2);
}
.points-bar b { color: var(--brand); font-size: 18px; font-family: var(--mono); }
.points-bar-sep { color: var(--muted-2); }
.points-cat-title {
  margin: 26px 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  padding-left: 10px;
  border-left: 3px solid var(--brand);
}
.points-unit { font-size: 13px; font-weight: 600; color: var(--muted); }
.shop-card .btn[disabled] { cursor: not-allowed; opacity: .65; }
