/* ============================================================
   成迈迈官网 · 首页专属样式（v5.0 Editorial 编辑杂志感 · 暖色纸感）
   —— 不使用黑色背景
   说明：本文件覆盖/增强 styles.css 的基础样式，仅用于首页 index.html
   ============================================================ */

/* ---------- 首页设计 Token ---------- */
.h-page {
  --paper: #FAF5EE;          /* 纸感米白主背景 */
  --paper-2: #F4EDE3;        /* 深一档纸感 */
  --ink: #3B322B;            /* 深暖棕主文字 */
  --ink-soft: #8A8076;       /* 暖灰次要文字 */
  --red: #C00000;            /* 品牌红 */
  --red-deep: #8B0000;       /* 深红 */
  --red-soft: #F7E9E9;       /* 浅红底 */
  --gold: #D97A26;           /* 橙金点缀 */
  --line: #E5DCCF;           /* 暖色分隔线 */
}

.h-page {
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

/* 覆盖 styles.css 的深色全局背景 */
.h-page body, .h-page { background: var(--paper); color: var(--ink); }

/* ========== 顶部导航（浅色纸感胶囊） ========== */
.h-page .nav {
  background: rgba(250, 245, 238, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 6px 30px rgba(59, 50, 43, 0.08);
}
.h-page .nav-brand { color: var(--ink); }
.h-page .nav-brand .red { color: var(--red); }
.h-page .nav-brand-icon {
  background: var(--red); color: #fff;
}
.h-page .nav-links a { color: var(--ink-soft); }
.h-page .nav-links a:hover { color: var(--red); background: var(--red-soft); }
.h-page .nav-links a.active { background: var(--red); color: #fff; }
.h-page .nav-cta { background: var(--red); color: #fff; }
.h-page .nav-cta:hover { background: var(--red-deep); }
.h-page .mobile-menu { background: var(--paper); }
.h-page .mobile-menu a { color: var(--ink); border-color: var(--line); }
.h-page .mobile-menu a:hover, .h-page .mobile-menu a.active { color: var(--red); }

/* ========== Hero（非对称编辑感） ========== */
.h-page .hero {
  background: var(--paper);
  padding: 40px 0 0;
  overflow: hidden;
  position: relative;
}
.h-page .hero::before { display: none; }

/* 装饰：右上红色大圆点 + 左下衬线英文 */
.h-page .hero-dot {
  position: absolute; top: 60px; right: 8%;
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--red); opacity: 0.08; pointer-events: none;
}
.h-page .hero-serif {
  position: absolute; top: 30px; left: 3%;
  font-family: Georgia, serif; font-size: 13px; letter-spacing: 0.35em;
  color: var(--gold); text-transform: uppercase; font-style: italic;
}

/* 单列布局：上文字、下横版照片（整张居中） */
.h-page .hero-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.h-page .hero-text { text-align: center; }
.h-page .hero { padding: 64px 0 48px; }
.h-page .hero-text { position: relative; z-index: 2; text-align: center; }
@media (max-width: 767px) {
  .h-page .hero-grid { padding: 0 20px; gap: 36px; }
}

/* 编辑感小标签（红色方括号风格） */
.h-page .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 22px;
  font-family: Georgia, serif;
}
.h-page .hero-eyebrow::before {
  content: ""; width: 34px; height: 3px; background: var(--red); display: inline-block;
}

/* 标题：杂志排版——衬线数字 + 粗体中文 + 红线强调（130% 字号） */
.h-page .hero-title {
  font-size: clamp(42px, 5.7vw, 69px);
  font-weight: 800; line-height: 1.16; letter-spacing: -0.01em;
  color: var(--ink);
}
.h-page .hero-title .num {
  font-family: Georgia, serif; color: var(--red);
  font-size: 1.05em; margin-right: 8px; font-style: italic;
}
.h-page .hero-title .accent { color: var(--red); position: relative; display: inline-block; }
.h-page .hero-title .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 8px; background: var(--red-soft); z-index: -1;
}

.h-page .hero-subline {
  margin-top: 20px; font-size: 16px; color: var(--ink-soft);
  max-width: 560px; line-height: 1.8;
}

/* 要点 chips（编辑感标签） */
.h-page .hero-points {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.h-page .hero-points li {
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  font-size: 13px; font-weight: 600; padding: 6px 14px;
  border-radius: 2px;
}

/* 按钮：红底 + 描边 */
.h-page .btn-primary { background: var(--red); color: #fff; border-radius: 2px; }
.h-page .btn-primary:hover { background: var(--red-deep); }
.h-page .btn-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); border-radius: 2px; }
.h-page .btn-outline:hover { background: var(--red-soft); }
.h-page .hero .btn-primary, .h-page .hero .btn-outline { background: var(--red); color: #fff; border-radius: 2px; }
.h-page .hero .btn-outline { background: transparent; color: var(--red); border: 1.5px solid var(--red); }
.h-page .hero .btn-outline:hover { background: var(--red-soft); }

/* 照片区：居中横版 16:9（纯阴影装饰） */
.h-page .hero-photo { position: relative; padding: 0; display: flex; justify-content: center; align-items: center; margin: 0 auto; max-width: 100%; overflow: visible; }
.h-page .hero-photo::before { content: none; }
.h-page .hero-photo img {
  width: 100%; max-width: 780px; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(59, 50, 43, 0.35), 0 8px 20px rgba(59, 50, 43, 0.18);
  position: relative; z-index: 1;
  border: 4px solid #fff;
  display: block;
}

/* ========== 通用区块（编辑感） ========== */
.h-page .section { padding: 88px 0; }
.h-page .section-eyebrow {
  font-family: Georgia, serif; font-size: 12.5px; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase; font-weight: 600; margin-bottom: 10px;
  display: inline-block;
}
.h-page .section-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; color: var(--ink); }
.h-page .section-title .accent, .h-page .section-title .red { color: var(--red); }
.h-page .section-desc { color: var(--ink-soft); }

/* ========== 数据条（编辑感横排，非居中四列） ========== */
.h-page .stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--line);
  margin: 0 auto; max-width: 1200px; padding: 0 32px;
}
.h-page .stats-strip > div {
  padding: 28px 16px 24px; border-right: 1px solid var(--line);
}
.h-page .stats-strip > div:last-child { border-right: none; }
.h-page .stats-strip .stat-num {
  font-family: Georgia, serif; font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 700; color: var(--red); line-height: 1;
}
.h-page .stats-strip .stat-label {
  font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; letter-spacing: 0.05em;
}

/* ========== 左右交替价值主张（编辑感） ========== */
.h-page .alt-row { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; margin-bottom: 88px; }
.h-page .alt-row.reverse .alt-visual { order: 2; }
.h-page .alt-visual {
  background: #fff; border: 1px solid var(--line);
  border-radius: 4px; box-shadow: 12px 12px 0 rgba(192, 0, 0, 0.08);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 64px; color: var(--red);
}
.h-page .alt-tag {
  display: inline-block; background: var(--red-soft); color: var(--red-deep);
  font-size: 12.5px; font-weight: 700; padding: 4px 14px; letter-spacing: 0.05em;
  border-radius: 2px; margin-bottom: 14px;
}
.h-page .alt-title { font-size: 30px; font-weight: 800; line-height: 1.35; margin-bottom: 16px; color: var(--ink); }
.h-page .alt-title .accent { color: var(--red); }
.h-page .alt-desc { color: var(--ink-soft); font-size: 15.5px; line-height: 1.9; }

/* ========== 方法论三卡（左侧红粗边 + 大编号） ========== */
.h-page .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.h-page .card {
  background: #fff; border-radius: 4px;
  border: 1px solid var(--line); border-left: 5px solid var(--red);
  box-shadow: 0 10px 30px rgba(59, 50, 43, 0.07);
  padding: 34px 28px; position: relative; transition: all 0.25s;
}
.h-page .card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(192, 0, 0, 0.12); }
.h-page .card-num {
  position: absolute; top: 22px; right: 24px;
  font-family: Georgia, serif; font-size: 34px; color: var(--red-soft); font-weight: 700;
}
.h-page .card-icon {
  width: 52px; height: 52px; border-radius: 4px;
  background: var(--red-soft); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.h-page .card-title { font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.h-page .card-title .accent { color: var(--red); }
.h-page .card-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.75; }
.h-page .card-link { color: var(--red); font-weight: 700; font-size: 14px; margin-top: 14px; display: inline-block; }
.h-page .card-link::after { content: " →"; }

/* ========== 课程横向卡条 ========== */
.h-page .course-strip-card {
  background: #fff; border-radius: 4px;
  border: 1px solid var(--line); border-top: 4px solid var(--red);
  min-width: 0; width: 100%;
  padding: 36px 32px; min-height: 200px;
  transition: all 0.25s;
  text-align: center;
  box-sizing: border-box;
}
.h-page #courseStrip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: visible;
  padding: 8px 0 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.h-page .course-strip-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(192,0,0,0.1); }
.h-page .csc-top { justify-content: center; }
.h-page .csc-count {
  background: var(--red-soft); color: var(--red); font-weight: 700;
  font-size: 12px; padding: 3px 10px; border-radius: 2px;
}
.h-page .csc-title { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.h-page .csc-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.h-page .filter-chip {
  border: 1px solid var(--line); color: var(--ink-soft); border-radius: 2px; background: #fff;
}
.h-page .filter-chip:hover { border-color: var(--red); color: var(--red); }
.h-page .filter-chip.active { background: var(--red); color: #fff; border-color: var(--red); }
.h-page .course-strip::-webkit-scrollbar-thumb { background: var(--red); }
.h-page .course-strip::-webkit-scrollbar-track { background: var(--paper-2); }
@media (max-width: 1023px) {
  .h-page #courseStrip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .h-page #courseStrip { grid-template-columns: 1fr; }
  .h-page .course-strip-card { width: 100%; max-width: none; padding: 28px 24px; min-height: auto; }
}

/* ========== 我的书 ========== */
.h-page .book-cover {
  background: linear-gradient(180deg, #fff, var(--red-soft));
  border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 14px 16px 40px rgba(59,50,43,0.2);
  color: var(--red);
}
.h-page .book-cover-name { color: var(--ink); }
.h-page .book-cover-divider { background: var(--red); }
.h-page .book-info h2 .red { color: var(--red); }
.h-page .book-slogan { color: var(--red); }
.h-page .book-stat { background: #fff; border: 1px solid var(--line); border-radius: 2px; }
.h-page .book-stat-num { color: var(--red); font-family: Georgia, serif; }

/* ========== 底部 CTA（全宽红条，杂志封底感） ========== */
.h-page .cta-band {
  background: var(--red);
  color: #fff;
  padding: 64px 0;
  position: relative; overflow: hidden;
}
.h-page .cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 30px solid rgba(255,255,255,0.08);
}
.h-page .cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(28px, 4vw, 44px); }
.h-page .cta-band h2 .accent { color: #ffd9a8; }
.h-page .cta-band p { color: rgba(255,255,255,0.85); }
.h-page .cta-band .btn-primary { background: #fff; color: var(--red); border-radius: 2px; }
.h-page .cta-band .btn-primary:hover { background: #fff3f0; }
.h-page .cta-band .btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); border-radius: 2px; }
.h-page .cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ========== 页脚（浅色） ========== */
.h-page .footer { background: var(--paper-2); border-top: 1px solid var(--line); color: var(--ink-soft); padding: 48px 0 24px; }
.h-page .footer-brand { color: var(--ink); margin-bottom: 14px; }
.h-page .footer-brand .red { color: var(--red); }
.h-page .footer-desc, .h-page .footer-links a { color: var(--ink-soft); }
.h-page .footer-links a:hover { color: var(--red); }
.h-page .footer h4 { color: var(--ink); }
.h-page .footer-top { display: none; }
.h-page .footer-brand-block { margin-bottom: 0; }
.h-page .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; padding: 0 0 24px; }
.h-page .footer-brand-col { grid-row: span 2; }
.h-page .footer-col h4 { margin-bottom: 14px; font-size: 14px; letter-spacing: 0.1em; }
.h-page .footer-col ul.footer-links li { padding: 5px 0; }
.h-page .footer-col p.footer-desc { font-size: 13.5px; line-height: 1.7; }
.h-page .qr-box { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.h-page .qr-box .qr-img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.h-page .qr-box:hover .qr-img {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(59,50,43,0.18);
}
.h-page .qr-box > div { font-size: 12px; color: var(--ink); font-weight: 600; }
.h-page .footer-qr { display: flex; gap: 14px; flex-wrap: wrap; }
.h-page .footer-bottom { color: var(--ink-soft); border-color: var(--line); padding-top: 20px; margin-top: 8px; }
@media (max-width: 1023px) {
  .h-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .h-page .footer-brand-col { grid-row: auto; grid-column: span 2; }
  .h-page .footer-qr-col { grid-column: span 2; }
}
@media (max-width: 767px) {
  .h-page .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .h-page .footer-brand-col { grid-row: auto; grid-column: span 2; }
  .h-page .footer-qr-col { grid-column: span 2; }
  .h-page .footer-qr { justify-content: flex-start; }
}

/* 二维码放大弹窗 */
#qrZoomModal { z-index: 9999; }
.h-page .qr-zoom-modal { max-width: 460px; }
.h-page .qr-zoom-modal h3 { text-align: center; }
.h-page .qr-zoom-modal p { text-align: center; color: var(--ink-soft); margin-bottom: 18px; }
.h-page .qr-zoom-img { display: flex; justify-content: center; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 4px; }
.h-page .qr-zoom-img img { width: 100%; max-width: 360px; height: auto; display: block; }
@media (max-width: 767px) {
  .h-page .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .h-page .footer-qr { justify-content: flex-start; }
}

/* ========== AI 问答 / 弹窗（浅色覆盖） ========== */
.h-page .qa-panel { background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(59,50,43,0.2); }
.h-page .qa-head { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.h-page .qa-body { background: var(--paper); }
.h-page .qa-msg.ai { background: #fff; border-color: var(--line); color: var(--ink); }
.h-page .qa-msg.user { background: var(--red); }
.h-page .qa-source { background: var(--red-soft); color: var(--red-deep); border-left-color: var(--red); }
.h-page .qa-warning { background: var(--red-soft); border-color: var(--red); color: var(--red-deep); }
.h-page .qa-warning strong { color: var(--red); }
.h-page .qa-chip { color: var(--red); border-color: var(--red); background: #fff; }
.h-page .qa-chip:hover { background: var(--red-soft); }
.h-page .qa-input { border-color: var(--line); background: #fff; color: var(--ink); }
.h-page .qa-input:focus { border-color: var(--red); }
.h-page .qa-send { background: var(--red); }
.h-page .qa-input-bar { background: #fff; border-color: var(--line); }
.h-page .qa-float { background: linear-gradient(135deg, var(--red), var(--red-deep)); }
.h-page .modal { background: #fff; border: 1px solid var(--line); }
.h-page .modal h3 { color: var(--ink); }
.h-page .modal p { color: var(--ink-soft); }
.h-page .modal-qr { background: var(--paper); border-color: var(--line); }
.h-page .modal-wechat-id { background: var(--red-soft); color: var(--red); }

/* ========== 响应式 ========== */
@media (max-width: 1023px) {
  .h-page .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .h-page .hero-photo { justify-content: center; padding: 24px 0 40px; }
  .h-page .hero-photo img { max-width: 340px; height: 440px; }
  .h-page .alt-row { grid-template-columns: 1fr; gap: 40px; }
  .h-page .alt-row.reverse .alt-visual { order: 0; }
  .h-page .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .h-page .stats-strip > div:nth-child(2) { border-right: none; }
  .h-page .stats-strip > div { border-bottom: 1px solid var(--line); }
  .h-page .cards-3 { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .h-page .hero-grid { padding: 0 20px; }
  .h-page .hero-title { font-size: 28px; line-height: 1.2; word-break: keep-all; overflow-wrap: break-word; }
  .h-page .hero-subline { font-size: 13px; line-height: 1.6; }
  .h-page .hero-photo img { max-width: 260px; height: 340px; }
  .h-page .section { padding: 56px 0; }
  .h-page .stats-strip { grid-template-columns: 1fr 1fr; padding: 0 20px; }
  .h-page .stats-strip .stat-num { font-size: 36px; }
  .h-page .alt-row { margin-bottom: 56px; }
  .h-page .alt-visual { max-width: 240px; margin: 0 auto; }
  .h-page .cta-band { padding: 48px 0; }
  .h-page .hero-dot { width: 64px; height: 64px; }
  .h-page .hero-points { grid-template-columns: 1fr; max-width: 320px; gap: 8px; }
  .h-page .hero-points li { font-size: 13px; padding: 8px 14px; }
  .h-page .hero-actions { padding: 0 16px; }
  .h-page .hero-actions .btn { font-size: 14px; padding: 14px 8px; }
  .h-page .book-stage { aspect-ratio: 4/5; max-width: 320px; }
  .h-page .book-thumbs { max-width: 320px; gap: 8px; }
  .h-page .book-thumbs .book-thumb { width: 60px; height: 75px; }
}

/* ========== 副标字号（原 65% 再缩 50% ≈ 0.325em，用户指定） ========== */
.h-page .hero-title .accent-sm {
  font-size: 0.325em;
  letter-spacing: 0.01em;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.2em;
}

/* ========== 书籍轮播图（替代原空白相框） ========== */
.h-page .book-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  margin: 0 auto;
}
.h-page .book-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--paper-2);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(59,50,43,0.18);
  /* 装饰：左下角红色书脊条 */
}
.h-page .book-stage::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 18px;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  z-index: 3;
}
.h-page .book-stage::after {
  content: "";
  position: absolute; left: 18px; top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.5);
  z-index: 3;
}
.h-page .book-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.04);
}
.h-page .book-img.active {
  opacity: 1;
  transform: scale(1);
}
.h-page .book-caption {
  position: absolute; left: 32px; right: 12px; bottom: 12px;
  background: rgba(58,40,30,0.78);
  color: #FAF5EE;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 3px;
  z-index: 4;
  backdrop-filter: blur(4px);
}
.h-page .book-caption .bc-chap {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.h-page .book-thumbs {
  display: flex; gap: 10px;
  width: 100%; max-width: 380px;
  justify-content: center;
}
.h-page .book-thumb {
  flex: 0 0 70px;
  width: 70px; height: 88px;
  border: 2px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.25s ease;
  opacity: 0.55;
}
.h-page .book-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.h-page .book-thumb:hover { opacity: 0.85; transform: translateY(-2px); }
.h-page .book-thumb.active {
  border-color: var(--red);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(192,0,0,0.18);
}
.h-page .book-dots {
  display: flex; gap: 6px;
  margin-top: 2px;
}
.h-page .book-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
  transition: all 0.3s ease;
}
.h-page .book-dot.active {
  background: var(--red);
  width: 18px; border-radius: 3px;
}
.h-page .book-nav {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250,245,238,0.95);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(59,50,43,0.15);
}
.h-page .book-nav:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.h-page .book-nav.prev { left: -10px; }
.h-page .book-nav.next { right: -10px; }

/* ========== 副标：成老师独创·版权局登记 + 双验·三滤·四维 填报法（同一行） ========== */
.h-page .hero-subline {
  margin-top: 16px;
  margin-bottom: 22px;
  font-size: 20.8px;
  color: var(--red);
  font-weight: 700;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: 100%;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.h-page .hero-subline .hs-line {
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--red-soft);
  padding: 4px 12px;
  border-radius: 3px;
}
.h-page .hero-subline .hs-line::before {
  display: none;
}
.h-page .hero-subline .hs-divider {
  color: var(--line);
  font-size: 14px;
  font-weight: 300;
  user-select: none;
}
.h-page .hero-subline .hs-highlight {
  color: var(--red);
  font-weight: 700;
  white-space: nowrap;
}

/* chips 行：副标下的两 chip 居中显示 */
.h-page .hs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 24px;
  text-align: center;
  width: 100%;
}

/* ========== chips 两行（3+3 排版）直角边框，每行固定 3 个 + 横向间距 ========== */
.h-page .hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 18px;
  margin: 0 auto 28px;
  padding: 0;
  list-style: none;
  max-width: 540px;
  text-align: center;
  justify-content: center;
}
.h-page .hero-points li {
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== AI 助手按钮（与加我微信同级）直角边框 ========== */
.h-page .btn-ai {
  background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
  color: #FAF5EE;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  position: relative;
  overflow: hidden;
}
.h-page .btn-ai::after {
  content: "AI";
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: 1px;
  letter-spacing: 0.05em;
}
.h-page .btn-ai:hover {
  background: linear-gradient(135deg, var(--red-deep) 0%, #2B2B2B 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ========== alt-visual 改为 AI 图片 ========== */
.h-page .alt-visual {
  max-width: 380px;
  margin: 0 auto;
  font-size: 64px;
  color: var(--red);
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(59,50,43,0.12);
  position: relative;
}
.h-page .alt-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.h-page .alt-visual::before {
  display: none;
}

/* ========== card-icon 改为 AI 图片 ========== */
.h-page .card-icon {
  width: 100%;
  height: 160px;
  margin-bottom: 18px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.h-page .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.h-page .card-icon::before { display: none; }
