/* ===== 首页（大厂化落地页） ===== */
.home { background: var(--color-background); color: var(--color-text); }

/* ---------- 顶部导航：白色底、深色文字、品牌酒红重点元素 ---------- */
.home-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 13px 32px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .25s, padding .25s;
}
.home-nav.scrolled { padding: 10px 32px; box-shadow: 0 4px 16px rgba(17, 24, 39, .06); }
.home-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--color-text-primary); text-decoration: none; justify-self: start; white-space: nowrap; }
.home-brand img { width: 30px; height: 30px; border-radius: 8px; }
.home-navlinks { display: flex; gap: 18px; justify-self: center; justify-content: center; min-width: 0; }
.home-navlinks a { color: var(--color-text-secondary); text-decoration: none; font-size: 14px; white-space: nowrap; }
.home-navlinks a:hover { color: var(--color-primary); }
.home-navlinks a[aria-current="page"] { color: var(--color-primary); font-weight: 700; }
.home-navactions { display: flex; gap: 10px; align-items: center; justify-self: end; justify-content: flex-end; }
.home-navactions .btn { padding: 7px 16px; font-size: 14px; }
.home-navactions .nav-user { color: var(--color-text-primary); font-size: 14px; }

/* ---------- Hero：深酒红→柔和绛红渐变 + 淡墨远山 + 书院剪影（均为独立素材，装饰层不拦截交互） ---------- */
.hero {
  --hero-wine: #7A1B38;
  --hero-wine-deep: #65142C;
  --hero-cream: #FBF3E9;
  position: relative; padding: 128px 32px 176px; color: var(--hero-cream); overflow: hidden;
  background-color: #992232;
  background-image: url('/images/hero-backdrop.svg?v=44a3a098');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.hero-scenery { position: absolute; inset: 0; pointer-events: none; }
.hero-bld { position: absolute; bottom: 0; background-repeat: no-repeat; background-position: center bottom; background-size: contain; }
.hero-bld-l { left: -24px; width: min(30vw, 400px); height: min(26vw, 340px); background-image: url('/images/hero-academy-left.svg?v=42c4db93'); }
.hero-bld-r { right: -16px; width: min(27vw, 360px); height: min(24vw, 320px); background-image: url('/images/hero-academy-right.svg?v=cf5ed6ed'); }
/* Hero 底部为利落收边（无白色渐隐带），与下方内容区直接衔接 */
.hero-inner { position: relative; z-index: 1; max-width: var(--width-content); margin: 0 auto; text-align: center; }
.hero-kicker { font-size: 13px; letter-spacing: .18em; color: rgba(251, 243, 233, .72); margin: 0 0 12px; }
.hero-btn { display: inline-block; padding: 13px 30px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.hero-btn.primary { background: #fff; color: #7A1B38; }
.hero-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.hero-btn.ghost { background: transparent; color: var(--hero-cream); border-color: rgba(251, 243, 233, .5); }
.hero-btn.ghost:hover { background: rgba(251, 243, 233, .12); }

/* ===== Hero 内的 AI 输入区（home 专用类，不从 ai-center.css 引入，避免冲突） ===== */
.home-aic-hero-title { margin: 0 0 6px; font-size: 40px; font-weight: 800; color: var(--hero-cream); letter-spacing: .02em; line-height: 1.25; text-align: center; }
.home-aic-hero-sub { font-size: 15px; color: rgba(251, 243, 233, .82); margin: 0 0 16px; text-align: center; }

/* 模式切换 */
.home-aic-seg { display: inline-flex; gap: 4px; padding: 4px; background: rgba(251, 243, 233, .14); border-radius: var(--radius-control); margin-bottom: 12px; }
.home-aic-seg button { border: 0; background: transparent; color: rgba(251, 243, 233, .82); font-size: 14px; font-weight: 600; padding: 7px 18px; border-radius: 4px; cursor: pointer; transition: background .15s, color .15s; }
.home-aic-seg button:hover { background: rgba(251, 243, 233, .12); color: var(--hero-cream); }
.home-aic-seg button.on { background: var(--hero-cream); color: var(--hero-wine); }

/* 功能按钮条：克制的半透明白 */
.home-aic-feats { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; margin-bottom: 12px; }
.home-aic-feats[hidden] { display: none; }
.home-aic-feats button { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; border: 1px solid rgba(251, 243, 233, .34); border-left-width: 0; background: rgba(251, 243, 233, .12); padding: 6px 12px; color: var(--hero-cream); font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.home-aic-feats button:first-child { border-left-width: 1px; }
.home-aic-feats button:hover { background: rgba(251, 243, 233, .2); color: var(--hero-cream); }
.home-aic-feats button.on { background: var(--hero-cream); color: var(--hero-wine); }

/* 大输入卡：纸面（跟随皮肤：日间=纯白，宣纸=暖白） */
.home-aic-card { display: flex; flex-direction: column; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .55); background: var(--color-surface); box-shadow: var(--shadow-overlay); transition: border-color .15s, box-shadow .15s; max-width: 820px; margin: 0 auto; }
.home-aic-card:focus-within { border-color: #fff; box-shadow: 0 0 0 4px rgba(251, 243, 233, .28), var(--shadow-overlay); }
.home-aic-card textarea { display: block; width: 100%; border: 0; outline: none; resize: none; background: transparent; color: #33262B; padding: 16px 18px 4px; min-height: 96px; max-height: 220px; font: inherit; font-size: 16px; line-height: 1.7; }
.home-aic-card textarea::placeholder { color: #8A7568; }
.home-aic-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 8px 12px 12px 16px; }
.home-aic-send { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--hero-wine); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, transform .1s; }
.home-aic-send:hover { background: var(--hero-wine-deep); transform: translateY(-1px); }
.home-aic-send svg { width: 18px; height: 18px; }

/* 悬浮引导按钮：签到左边（与 sz-checkin-fab 对齐） */
.sz-guide-fab {
  position: fixed;
  top: calc(var(--header, 58px) + 12px);
  /* 签到按钮 right:18px，宽约 140px，引导按钮放它左边 gap:8px */
  right: calc(18px + 140px + 8px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: var(--radius-control);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-foreground, #fff);
  background: var(--color-primary, var(--color-primary));
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.sz-guide-fab:hover { background: var(--color-primary-hover, var(--color-primary-hover)); transform: translateY(-1px); }
.sz-guide-fab[hidden] { display: none; }

/* 未登录价值锁定条 */
.hero-unlock {
  margin-top: 24px;
  background: rgba(251, 243, 233, .12);
  border: 1px solid rgba(251, 243, 233, .24);
  border-radius: 8px;
  padding: 18px 22px;
  text-align: left;
  max-width: 620px;
}
.hu-title {
  font-size: 13px;
  font-weight: 700;
  color: #EFC98F;
  letter-spacing: .03em;
  margin-bottom: 10px;
}
.hu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 18px;
}
.hu-list li {
  font-size: 13px;
  color: rgba(251, 243, 233, .88);
  line-height: 1.55;
}
.hu-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-unlock .hero-btn.primary { background: #EFC98F; color: #4A1522; border-color: #EFC98F; }
.hero-unlock .hero-btn.primary:hover { background: #E3B873; border-color: #E3B873; }
.hero-unlock .hero-btn.ghost { border-color: rgba(251, 243, 233, .4); color: var(--hero-cream); }
.hero-unlock .hero-btn.ghost:hover { border-color: var(--hero-cream); }
.hu-note { font-size: 12px; color: rgba(251, 243, 233, .72); margin: 0 0 12px; line-height: 1.55; }

/* 游客免费体验入口（首页 Hero，未登录时由 home.js 渲染） */
.hero-guest {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  max-width: 620px;
}
.hg-label {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(251, 243, 233, .72);
  margin-bottom: 2px;
}
.hg-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-control);
  border: 1px solid rgba(251, 243, 233, .28);
  background: rgba(251, 243, 233, .06);
  color: var(--hero-cream);
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.hg-item:hover { background: rgba(251, 243, 233, .14); border-color: rgba(251, 243, 233, .5); }
.hg-item em { font-style: normal; font-size: 11px; color: #EFC98F; }
.hg-save {
  border: 1px solid #EFC98F;
  background: transparent;
  color: #EFC98F;
  font: inherit;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: var(--radius-control);
  cursor: pointer;
}
.hg-save:hover { background: rgba(239, 201, 143, .14); }
@media (max-width: 560px) {
  .hu-list { grid-template-columns: 1fr; gap: 5px; }
}

/* ---------- 平台资源统计：Hero 下方暖纸白浅色带，弱化视觉权重 ---------- */
.home-stats { background: var(--color-surface); border-bottom: 1px solid var(--color-border); }
.hs-inner { max-width: var(--width-content); margin: 0 auto; padding: 22px 32px; display: flex; justify-content: center; gap: 20px 44px; flex-wrap: wrap; }
.hs-inner > div { display: flex; align-items: baseline; gap: 7px; }
.hs-inner b { font-size: 19px; font-weight: 700; color: #7A2440; font-variant-numeric: tabular-nums; }
.hs-inner span { font-size: 13px; color: #8A7A70; }

/* ============================================================
   产品能力展示长页（首屏以下）· 首页 V3.1
   ============================================================ */
.pd-inner { max-width: var(--width-content); margin: 0 auto; padding: 0 32px; }

/* ---------- 吸顶「功能导览」（不遮挡全站导航） ---------- */
.pd-nav {
  position: fixed; top: var(--header, 58px); left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 28px;
  min-height: 44px; padding: 0 24px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(-110%);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.pd-nav.show { opacity: 1; transform: none; pointer-events: auto; }
.pd-nav a {
  position: relative;
  color: var(--color-text-secondary);
  text-decoration: none; font-size: 14px; font-weight: 600;
  white-space: nowrap; padding: 4px 0;
}
.pd-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transition: transform .2s ease;
}
.pd-nav a:hover, .pd-nav a.on { color: var(--color-primary); }
.pd-nav a:hover::after, .pd-nav a.on::after { transform: scaleX(1); }

/* ---------- 第二屏：教学工作流 ---------- */
.workflow { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 80px 0 72px; }
.pd-h2 { text-align: center; margin: 0 0 12px; font-size: 33px; font-weight: 800; color: var(--color-text-primary); letter-spacing: .01em; }
.pd-p { text-align: center; margin: 0 auto 52px; font-size: 16px; color: var(--color-text-secondary); line-height: 1.7; max-width: 660px; }
.wf-track {
  list-style: none; margin: 0; padding: 8px 0 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 4px;
}
.wf-node { flex: 1 1 0; min-width: 0; }
.wf-node a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: inherit; }
.wf-circle {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: color-mix(in srgb, var(--c) 12%, #fff);
  color: var(--c);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wf-circle svg { width: 26px; height: 26px; }
.wf-num {
  position: absolute; top: -6px; right: -6px;
  min-width: 22px; height: 22px; padding: 0 5px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff; background: var(--c);
  border: 2px solid #fff; box-sizing: content-box;
}
.wf-node a:hover .wf-circle { transform: translateY(-4px); box-shadow: 0 10px 22px color-mix(in srgb, var(--c) 22%, transparent); }
.wf-node b { font-size: 16px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 5px; }
.wf-d { font-size: 12px; line-height: 1.55; color: var(--color-text-secondary); padding: 0 4px; }
.wf-sep { flex: 0 0 14px; color: var(--color-border-strong); font-size: 22px; line-height: 60px; text-align: center; }
.wf-note { text-align: center; margin: 40px 0 0; font-size: 12px; color: var(--color-text-tertiary); }

/* ---------- 通用模块 ---------- */
.mod { scroll-margin-top: 110px; }
.mod-alt { background: var(--color-background); }
.mod-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: center;
  padding-top: 88px; padding-bottom: 88px;
}
.mod-a { padding: 0; }
.mod-a.reverse .mod-media { order: -1; }
.mod-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.mod-num {
  font-size: 13px; font-weight: 800; letter-spacing: .1em;
  color: var(--color-primary);
}
.mod-label { font-size: 14px; font-weight: 700; color: var(--color-text-secondary); }
.mod-badge {
  font-size: 12px; font-weight: 600; color: var(--color-primary);
  background: var(--color-primary-soft); border-radius: 4px; padding: 2px 8px;
}
.mod-badge.desktop { color: var(--color-gold-deep); background: var(--color-gold-soft); }
.mod-title { margin: 0 0 14px; font-size: 31px; font-weight: 800; color: var(--color-text-primary); line-height: 1.25; letter-spacing: .01em; }
.mod-desc { margin: 0 0 26px; font-size: 16px; line-height: 1.75; color: var(--color-text-secondary); }

/* 能力要点 chips */
.mod-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 28px; }
.mp {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border: 1px solid var(--color-border); border-radius: var(--radius-control);
  background: var(--color-surface); min-width: 0;
}
.mp-ic { flex: none; width: 30px; height: 30px; border-radius: var(--radius-control); display: grid; place-items: center; color: var(--color-primary); background: var(--color-primary-soft); }
.mp-ic svg { width: 17px; height: 17px; }
.mp b { display: block; font-size: 14px; font-weight: 700; color: var(--color-text-primary); line-height: 1.3; }
.mp span { display: block; font-size: 12px; color: var(--color-text-secondary); line-height: 1.3; }

/* 八步步骤行 */
.mod-steprow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.msr {
  flex: 1 1 auto; min-width: 72px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 6px; border: 1px solid var(--color-border); border-radius: var(--radius-control);
  background: var(--color-surface);
}
.msr-ic { width: 30px; height: 30px; border-radius: var(--radius-control); display: grid; place-items: center; color: var(--color-primary); background: var(--color-primary-soft); }
.msr-ic svg { width: 17px; height: 17px; }
.msr b { font-size: 12px; font-weight: 600; color: var(--color-text-secondary); }

/* 行动按钮 */
.mod-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-control);
  background: var(--color-primary); color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.mod-cta:hover { background: var(--color-primary-hover); transform: translateY(-2px); }
.mod-cta.ghost { background: transparent; color: var(--color-primary); border: 1px solid var(--color-primary); }
.mod-cta.ghost:hover { background: var(--color-primary-soft); transform: translateY(-2px); }

/* 浏览器窗口框 */
.win {
  border-radius: 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-overlay);
}
.win-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 9px 13px; background: #f4f5f8; border-bottom: 1px solid var(--color-border);
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot.r { background: var(--color-primary); } .win-dot.y { background: #f59e0b; } .win-dot.g { background: #22c55e; }
.win-url {
  flex: 1; margin-left: 8px; font-size: 12px; color: var(--color-text-secondary);
  background: #fff; border: 1px solid var(--color-border); border-radius: 5px;
  padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win img { width: 100%; display: block; }
.win-media { display: block; }

/* 原生桌面应用截图：不套浏览器窗框，仅做窗口式描边与圆角（图内自带应用标题栏） */
.native-win {
  max-width: 820px;
  border-radius: 8px; overflow: hidden;
  background: #fff; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-overlay);
}
.native-win img { width: 100%; display: block; cursor: zoom-in; }

/* ---------- 模板 B：分步骤 ---------- */
.mod-b { padding: 88px 0; }
.mod-b .mod-head { justify-content: center; }
.mod-b .mod-title { text-align: center; }
.mod-b .mod-desc { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.steps { list-style: none; margin: 40px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 52px; }
/* 覆盖 app.css 全局 .steps li 样式（首页展示步骤不套标签边框） */
#pdShowcase .steps li { border: none; border-radius: 0; padding: 0; font-size: inherit; color: inherit; cursor: default; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 24px; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: -36px;
  width: 2px; background: var(--color-border);
}
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary); color: #fff;
  font-size: 22px; font-weight: 800; z-index: 1;
}
.step-body b { display: block; font-size: 19px; font-weight: 700; color: var(--color-text-primary); margin: 2px 0 8px; }
.step-body > p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--color-text-secondary); max-width: 760px; }
.step-win { max-width: 820px; }
.step-plain .step-body > p { margin-bottom: 0; }
.step-plain::before { bottom: -36px; }
.mod-platform-note {
  text-align: center; margin: 36px 0 20px; font-size: 13px;
  color: var(--color-gold-deep); background: var(--color-gold-soft);
  border-radius: var(--radius-control); padding: 10px 16px;
}
.mod-b .mod-cta-wrap { text-align: center; margin-top: 40px; }

/* ---------- 模板 C：精简矩阵 ---------- */
.mod-c { padding: 88px 0; background: var(--color-surface); }
.matrix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.mx-item {
  display: flex; flex-direction: column;
  padding: 28px 26px; border: 1px solid var(--color-border); border-radius: var(--radius-control);
  background: var(--color-surface); text-decoration: none; color: inherit;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.mx-item:hover { transform: translateY(-3px); border-color: var(--color-primary); box-shadow: 0 16px 36px rgba(17, 24, 39, .08); }
.mx-ic { width: 46px; height: 46px; border-radius: var(--radius-control); display: grid; place-items: center; color: var(--color-primary); background: var(--color-primary-soft); margin-bottom: 16px; }
.mx-ic svg { width: 24px; height: 24px; }
.mx-item b { font-size: 18px; font-weight: 700; color: var(--color-text-primary); margin-bottom: 8px; }
.mx-item p { margin: 0 0 18px; font-size: 13px; line-height: 1.7; color: var(--color-text-secondary); flex: 1; }
.mx-go { font-size: 13px; font-weight: 700; color: var(--color-primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .mod-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 64px; }
  .mod-a.reverse .mod-media { order: 0; }
  .mod-title { font-size: 26px; }
  .pd-h2 { font-size: 27px; }
  .matrix { grid-template-columns: 1fr; }
  .wf-track { flex-wrap: wrap; gap: 24px; }
  .wf-node { flex: 1 1 30%; }
  .wf-sep { display: none; }
  .pd-nav { gap: 16px; overflow-x: auto; justify-content: flex-start; }
  .step { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .step-num { width: 44px; height: 44px; font-size: 18px; }
  .step:not(:last-child)::before { left: 21px; }
}
@media (max-width: 560px) {
  .pd-inner { padding: 0 18px; }
  .workflow { padding: 60px 0 56px; }
  .mod-b, .mod-c { padding: 60px 0; }
  .mod-points { grid-template-columns: 1fr; }
  .wf-node { flex: 1 1 45%; }
  .steps { gap: 44px; }
}

/* ---------- Final CTA + footer ---------- */
.final-cta { background: var(--color-primary-active); color: #fff; padding: 84px 32px 0; }
.final-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.final-inner h2 { font-size: 36px; font-weight: 800; margin: 0 0 12px; }
.final-inner p { color: rgba(251, 243, 233, .85); font-size: 16px; margin: 0 0 30px; }
.cta-entry { margin-bottom: 22px; }
.code-entry { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.code-entry input { width: 200px; padding: 13px 16px; border-radius: 8px; border: 1px solid rgba(251, 243, 233, .4); background: rgba(251, 243, 233, .12); color: var(--hero-cream, #FBF3E9); font-size: 15px; text-transform: uppercase; text-align: center; }
.code-entry input::placeholder { color: rgba(251, 243, 233, .6); text-transform: none; }
.home-footer { margin-top: 70px; border-top: 1px solid rgba(251, 243, 233, .18); padding: 34px 0 30px; text-align: center; }
.hf-brand { display: flex; align-items: center; justify-content: center; gap: 9px; font-weight: 800; font-size: 18px; }
.hf-brand img { width: 26px; height: 26px; border-radius: 7px; }
.hf-links { display: flex; gap: 22px; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
.hf-links a { color: rgba(251, 243, 233, .82); text-decoration: none; font-size: 14px; }
.hf-links a:hover { color: #fff; }
.hf-copy { font-size: 13px; color: rgba(251, 243, 233, .6); margin: 0; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 截图点击放大灯箱 */
.pd-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 40px; background: rgba(15, 18, 25, .82);
  backdrop-filter: blur(4px);
}
.pd-lightbox.show { display: flex; }
.pd-lightbox img {
  max-width: 100%; max-height: 100%;
  border-radius: 8px; background: #fff;
  box-shadow: var(--shadow-overlay);
}
.pl-close {
  position: absolute; top: 18px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  border: none; background: rgba(255, 255, 255, .16); color: #fff;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.pl-close:hover { background: rgba(255, 255, 255, .28); }
.win img { cursor: zoom-in; }
@media (max-width: 560px) { .pd-lightbox { padding: 18px; } }

/* ---------- Hero / 统计带响应式 ---------- */
/* 三列 grid 居中后，中列链接在窄视口先收间距与字号，900px 以下整体隐藏 */
@media (max-width: 1240px) {
  .home-navlinks { gap: 11px; }
  .home-navlinks a { font-size: 13px; }
}
@media (max-width: 1080px) {
  .home-navlinks { gap: 8px; }
  .home-navlinks a { font-size: 12px; }
}
@media (max-width: 900px) {
  .hero { padding: 128px 24px 150px; }
  .hero-bld-r { display: none; }
  .hero-bld-l { width: 46vw; height: 38vw; opacity: .7; }
  .home-navlinks { display: none; }
}
@media (max-width: 560px) {
  .hero { padding: 118px 18px 132px; }
  .hero-scenery { display: none; }
  .hero-kicker { letter-spacing: .1em; }
  .home-aic-hero-title { font-size: 30px; }
  .final-inner h2 { font-size: 28px; }
  .home-nav { padding: 12px 18px; }
  .hs-inner { gap: 14px 24px; padding: 18px; }
}

/* ===== 今日工作引导弹窗（仅登录教师可见入口，见 js/daily-guide.js） ===== */
#dailyGuideEntry { font: inherit; }
.dg-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: rgba(17, 24, 39, 0.45);
}
.dg-mask[hidden] { display: none; }
.dg-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-overlay);
  box-shadow: var(--shadow-overlay);
  padding: var(--space-6);
}
.dg-close {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  border-radius: var(--radius-control);
  color: var(--color-text-tertiary);
  cursor: pointer;
}
.dg-close:hover { background: rgba(17, 24, 39, 0.06); color: var(--color-text-primary); }
.dg-close svg { width: 18px; height: 18px; }
.dg-head h2 { margin: 0; font-size: 22px; color: var(--color-text-primary); }
.dg-head p { margin: var(--space-1) 0 0; font-size: 14px; color: var(--color-text-secondary); }
.dg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.dg-card {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 68px;
  padding: var(--space-3) var(--space-4);
  text-align: left;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.dg-card:hover { border-color: var(--color-primary); }
.dg-card:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.dg-ico { flex: none; display: flex; color: var(--color-primary); }
.dg-ico svg { width: 22px; height: 22px; }
.dg-body { flex: 1; min-width: 0; }
.dg-body b { display: block; font-size: 15px; color: var(--color-text-primary); }
.dg-body i { display: block; margin-top: 2px; font-style: normal; font-size: 13px; color: var(--color-text-secondary); }
.dg-go { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--color-text-tertiary); }
.dg-go svg { width: 14px; height: 14px; }
.dg-card:hover .dg-go { color: var(--color-primary); }
.dg-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-tertiary);
}
.dg-later {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 13px;
  color: var(--color-text-secondary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dg-later:hover { color: var(--color-primary); }
@media (max-width: 640px) {
  .dg-mask { align-items: flex-end; padding: 0; }
  .dg-modal {
    width: 100%;
    max-height: 88vh;
    border-radius: var(--radius-overlay) var(--radius-overlay) 0 0;
    border-bottom: none;
    padding: var(--space-4);
  }
  .dg-grid { grid-template-columns: 1fr; gap: var(--space-2); }
}
