/* ============================================================
   官网 · 独立分页通用样式 V1.0
   用途：首页以外的独立页面（关于 / 升级 / AI 伙伴 / 加盟 / 联系…）
   色彩：全部引用《华栋字能品牌视觉色彩体系规范 V1.0》12 色令牌，
        本文件不新增规范外色值。
   ============================================================ */


/* ---------- 毛笔书法装饰字（马善政楷体 · 子集 29KB · OFL 开源可商用） ---------- */
@font-face {
  font-family: 'HDZ MaShanZheng';
  src: url('/assets/fonts/hdz-calli.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* ---------- 页面标题块（墨底） ---------- */
.phead {
  background: linear-gradient(135deg, var(--ink) 0%, #171512 100%);
  color: var(--paper);
  padding: 48px 0 42px;
  position: relative;
  overflow: hidden;
}
.phead::after {
  content: ''; position: absolute; right: 4%; top: -30px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1px solid var(--line-strong); opacity: .22;
}
.phead .wrap { position: relative; z-index: 1; }
.phead .eyebrow {
  display: inline-block; font-size: 12.5px; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 8px;
}
.phead h1 { font-size: 27px; margin: 0 0 8px; letter-spacing: 1px; }
.phead .plead { margin: 0; color: var(--line); font-size: 14.5px; max-width: 620px; }
.phead .pseal {
  position: absolute; right: 40px; top: 50%; z-index: 2;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-family: 'HDZ MaShanZheng', 'Kaiti SC', 'STKaiti', 'KaiTi', 'Songti SC', serif;
  color: var(--cinnabar); opacity: .92;
  pointer-events: none;
}
.phead .pseal span { display: block; font-size: 84px; line-height: 1; }
.phead .pseal span:last-child { transform: translateX(-10px) rotate(-2deg); }

/* ---------- 正文分区 ---------- */
.psec { padding: 26px 0 4px; }
.psec + .psec { border-top: 1px solid var(--line-3); }
.psec h2 {
  font-size: 19px; margin: 0 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.psec h2::before {
  content: ''; width: 3px; height: 17px; border-radius: 2px;
  background: var(--cinnabar); display: inline-block;
}
.psec p { margin: 0 0 11px; color: var(--ink-2); }
.psec p:last-child { margin-bottom: 0; }
.plead2 { color: var(--ink-3); font-size: 14.5px; }

/* ---------- 三栏要点 ---------- */
.pgrid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.pcard {
  background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 14px;
}
.pcard b { display: block; font-size: 15px; margin-bottom: 5px; color: var(--ink); }
.pcard span { font-size: 13.5px; color: var(--ink-3); }

/* ---------- 两栏对照 ---------- */
.pgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.pcol {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 16px;
  box-shadow: 0 2px 8px rgba(32, 30, 26, .05);
}
.pcol h3 { margin: 0 0 10px; font-size: 16px; color: var(--ink); }
.pcol ul { margin: 0; padding-left: 19px; }
.pcol li { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }
.pcol li b { color: var(--cinnabar-d); }

/* ---------- 数据条 ---------- */
.pstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.pstat {
  background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 14px; text-align: center;
}
.pstat b { display: block; font-size: 24px; color: var(--cinnabar-d); }
.pstat span { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 卡片列表（AI 伙伴） ---------- */
.at-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.at-card {
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 14px;
  box-shadow: 0 2px 8px rgba(32, 30, 26, .05);
}
.at-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.at-name { font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: 1px; }
.at-zi { font-size: 11.5px; color: var(--ink-3); }
.at-role {
  display: inline-block; margin: 8px 0 6px; font-size: 12px;
  color: var(--gold); border: 1px solid var(--gold);
  border-radius: 20px; padding: 1px 9px;
}
.at-duty { font-size: 13.5px; color: var(--ink-2); margin: 0; }
.at-word {
  margin-top: 9px; padding-top: 8px; border-top: 1px dashed var(--line-3);
  font-size: 13px; color: var(--jade);
}
.at-rule {
  margin-top: 16px; background: var(--jade-bg); border: 1px solid var(--jade-line);
  border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--ink-2);
}

/* ---------- 提示条 ---------- */
.pnote {
  background: var(--jade-bg); border: 1px solid var(--jade-line);
  border-radius: 10px; padding: 11px 13px; font-size: 14px; color: var(--ink-2);
  margin-top: 12px;
}
.pwarn {
  background: var(--rattan); border-radius: 10px; padding: 11px 13px;
  font-size: 14px; color: var(--ink); margin-top: 12px;
}
.pending { display: inline-block; font-size: 13px; color: var(--ink-3); }

/* ---------- 底部「接着看」 ---------- */
.pmore { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.pmore a {
  display: block; background: var(--paper-2); border: 1px solid var(--line-2);
  border-radius: 11px; padding: 12px 14px; font-size: 14.5px; font-weight: 600;
  color: var(--ink);
}
.pmore a span { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.pmore a:hover { border-color: var(--line-strong); color: var(--cinnabar); }

/* ---------- 首页入口区（首页只做导航，不做长内容） ---------- */
.sec-entry { padding: 58px 0 10px; background: var(--paper); }
.sec-why { padding: 58px 0; background: var(--paper-2); border-top: 1px solid var(--line); margin-top: 34px; }
.pcard.entry {
  display: block; text-decoration: none; color: var(--ink);
  opacity: 0; transform: translateY(12px); transition: .45s;
}
.pcard.entry.in { opacity: 1; transform: none; }
.pcard.entry:hover { border-color: var(--line-strong); }
.pcard.entry:hover b { color: var(--cinnabar); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .pgrid3 { grid-template-columns: 1fr; }
  .pgrid2 { grid-template-columns: 1fr; }
  .pstats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .phead { padding: 26px 0 22px; }
  .phead h1 { font-size: 23px; }
  .phead .pseal { right: 14px; opacity: .8; }
  .phead .pseal span { font-size: 44px; }
  .phead .pseal span:last-child { transform: translateX(-6px) rotate(-2deg); }
  .phead .plead { padding-right: 92px; }
}
