@charset "UTF-8";
/* ==========================================================================
   怪兽智科官网主题样式（合肥怪兽智能科技有限公司 · AI 培训）

   配色：深墨蓝 + 电光蓝 + 青色渐变，浅色顶栏配深色文字 logo。
   所有色值都收在下面「1. 设计令牌」里，换肤只改那一块。

   页面区块与 class 的对应关系：
     .hdr      顶栏
     .hero     首屏（含留资表单 / 卖点标签 / 快捷入口条）
     .pain__*  痛点（为什么用不起来）
     .tier__*  课程体系三档（个人 / 进阶 / 企业，中间一档深色主推）
     .fs__*    图文模块（企业内训 / 智能体落地 / 课后陪跑）
     .mock__*  示意图（纯 CSS：对话 / 内训方案 / 智能体 / 结业证书）
     .step__*  交付流程（深色四步）
     .cat__*   课程目录（8 门课的清单卡）
     .coach__* 讲师团队
     .gain__*  学员成果（学完能做出什么）
     .faq__*   常见问题
     .pt__*    合作共创
     .ab__*    关于我们
     .ft__*    页脚
     .fbar     悬浮栏
     .dlg__*   留资弹窗

   改样式时的两条约定：
     1. 不要再往选择器里写死颜色，统一用 :root 里的变量；
     2. 「深色底上的强调色」必须用提亮版本（#8fc0ff / #6ea8ff），
        主色 #2f6bff 压在深蓝上对比不足，会看不清。
   ========================================================================== */

/* ==========================================================================
   1. 设计令牌
   ========================================================================== */
:root {
  /* 主色 */
  --navy: #0a1231; /* 顶栏 / Hero 底色 */
  --navy-2: #111c3d; /* Hero 下方快捷条 */
  --navy-3: #070e26; /* 深色区块 */
  --brand: #2f6bff; /* 主按钮 */
  --brand-2: #22d3ee; /* 辅助色 / 渐变末端 */
  --green: #12c48b;
  --blue: #2f6bff;

  /* 文字 */
  --ink: #333333;
  --ink-2: #666666;
  --ink-3: #999999;
  --ink-4: #c6c6cf;

  /* 面 */
  --page: #f3f8fc;
  --line: #e4e7ef;
  --white: #ffffff;

  /* 尺寸 */
  --container: 1200px;
  --header-h: 72px;

  /* 圆角 / 阴影 */
  --r-card: 16px;
  --r-btn: 10px;
  --r-sm: 8px;
  --sh-card: 0 0 16px 1px rgba(0, 0, 0, 0.08);
  --sh-btn: 0 10px 22px rgba(47, 107, 255, 0.28);
  --sh-float: 0 8px 32px rgba(8, 16, 42, 0.16);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* 锚点跳转时避开固定顶栏 */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ==========================================================================
   3. 布局
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
}

.section--tight {
  padding: 50px 0;
}

/* 顶栏是 fixed 的，这里让出它的高度；
   Hero 与顶栏同为深蓝，所以视觉上是连成一片的 */
.site-main {
  padding-top: var(--header-h);
}

/* 区块标题 */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.section-head__sub {
  margin-top: 12px;
  font-size: 15px;
  color: var(--ink-2);
}

.section-head--light .section-head__title {
  color: var(--white);
}

.section-head--light .section-head__sub {
  color: rgba(255, 255, 255, 0.68);
}

/* ==========================================================================
   4. 按钮
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--r-btn);
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--sh-btn);
}

.btn--primary:hover {
  background: #4a80ff;
  transform: translateY(-2px);
}

.btn--lg {
  font-size: 20px;
  padding: 12px 36px;
}

.btn--md {
  font-size: 15px;
  padding: 10px 28px;
}

.btn--sm {
  font-size: 13px;
  padding: 6px 18px;
  border-radius: var(--r-sm);
  box-shadow: none;
}

.btn--sm:hover {
  transform: none;
}

/* ==========================================================================
   5. 卡片
   ========================================================================== */
.card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(8, 16, 42, 0.14);
}

/* 图标：AppIcon.vue 里 .app-icon { flex: none } */
.app-icon {
  flex: none;
}

/* ==========================================================================
   6. 进入视口时的上浮动画
   --------------------------------------------------------------------------
   .reveal 类由 app.js 在挂载时添加，**不要写死在模板里**：
   JS 失效时元素不带这个类，内容照常可见，不会白屏。
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .card--hover:hover {
    transform: none;
  }
}

/* 打印时全部展开，避免印出空白 */
@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   7. 无障碍
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   8. 顶栏
   ========================================================================== */
.hdr {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  /* 浅色顶栏：官方 logo 是深色（#071b37），只能配浅底 */
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hdr__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 24px;
}

/* ---------- Logo ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

/* 官方 logo 原始比例约 3.27:1，按高度定尺寸 */
.logo__img {
  display: block;
  height: 46px;
  width: auto;
}

/* logo 缺失时的兜底标识 */
.logo__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.logo__badge {
  font-style: normal;
  font-size: 12.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(8, 16, 42, 0.07);
  color: var(--ink-2);
  white-space: nowrap;
}

/* ---------- 导航 ---------- */
.nav {
  flex: 1;
  min-width: 0;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 38px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

/*
 * 浅色顶栏下，金色不能直接做文字色（#FFC106 在白底上对比度约 1.6:1，读不清）。
 * 改用「金色底纹 + 深色文字」保留品牌色，同时保证可读性。
 */
.nav__item:hover .nav__link,
.nav__item.is-open .nav__link {
  color: var(--navy);
  background: rgba(47, 107, 255, 0.1);
}

.nav__caret {
  transition: transform 0.2s var(--ease);
}

.nav__item.is-open .nav__caret {
  transform: rotate(180deg);
}

/* ---------- 下拉 ---------- */
.drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 14px;
  width: 560px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(8, 16, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}

.nav__item.is-open .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.drop__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/*
 * 项少的下拉（比如「新闻文章」下只挂了几个分类）。
 * 默认那 560px 的双列宽度是给「课程体系」这种 4-7 项的菜单留的，
 * 三两个分类塞进去会撑出一大片空白。
 */
.drop--slim {
  width: 248px;
}

.drop--slim .drop__grid {
  grid-template-columns: 1fr;
}

.drop__item {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.15s var(--ease);
}

.drop__item:hover {
  background: var(--page);
}

.drop__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.drop__desc {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 右侧 ---------- */
.hdr__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

/* 金色底 + 深色字：白底上金色做文字读不清，做成按钮反而更醒目 */
.hotline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: background-color 0.2s var(--ease);
}

.hotline:hover {
  background: #4a80ff;
}

.burger {
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.burger span {
  position: relative;
}

.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -6px;
}

.burger span::after {
  top: 6px;
}

.burger span.is-x {
  background: transparent;
}

.burger span.is-x::before {
  transform: translateY(6px) rotate(45deg);
}

.burger span.is-x::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 移动端抽屉 ---------- */
.drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(8, 16, 42, 0.12);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.drawer__sub {
  background: var(--page);
}

.drawer__sub a {
  display: block;
  padding: 11px 20px 11px 34px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

.drawer__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 20px;
}

.drawer__tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.is-flip {
  transform: rotate(180deg);
}

@media (max-width: 1180px) {
  .nav__link {
    padding: 0 10px;
    font-size: 14px;
  }

  .hotline span {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav,
  .hotline {
    display: none;
  }

  .burger {
    display: grid;
  }

  .drawer {
    display: block;
  }

  .hdr__inner {
    justify-content: space-between;
  }
}

/* ==========================================================================
   9. Hero（首屏）
   --------------------------------------------------------------------------
   整块铺一张课堂实景当背景，文字压在上面 —— 不做图片卡片、不做圆角框，
   图是环境，不是插画。

   背景图本身左半边就是暗的（生成时按这个构图出的），
   再叠一层从左到右的深蓝渐变兜底，保证任何屏宽下标题都够对比。
   ========================================================================== */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

/* 背景图：偏右对齐，右侧是人物与屏幕，左侧留白给标题 */
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("assets/img/hero-bg.jpg") center right / cover no-repeat;
  pointer-events: none;
}

/* 压暗层：左边近乎实色，右边让人物透出来 */
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      96deg,
      var(--navy) 0%,
      rgba(10, 18, 49, 0.98) 30%,
      rgba(10, 18, 49, 0.88) 50%,
      rgba(10, 18, 49, 0.55) 72%,
      rgba(7, 14, 38, 0.4) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 14, 38, 0.78) 0%,
      rgba(7, 14, 38, 0.05) 34%,
      rgba(10, 18, 49, 0.24) 72%,
      var(--navy) 100%
    );
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 高度够了背景图才不会被压成一条缝，人也能看全 */
  min-height: 620px;
  padding-top: 96px;
  padding-bottom: 84px;
}

/* 左栏文案：只占住左侧那一半，右边留给背景里的人 */
.hero__copy {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.74);
}

/* 小绿点：暗示「在开课」，比写「火热招生」克制 */
.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
  flex: none;
}

.hero__title {
  margin-top: 22px;
  font-weight: 700;
  color: var(--white);
}

/* 品牌 + 业务：字号小一档，梯度只给这一行 */
.hero__title-top {
  display: block;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.3;
  letter-spacing: 2.5px;
}

.hero__title-top em {
  font-style: normal;
  /* 蓝→青渐变字；不支持 background-clip 的浏览器回落到纯蓝 */
  color: var(--brand);
  background: linear-gradient(100deg, #7ea8ff 0%, #4d8dff 42%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 真正的钩子：字号最大的一行，压在品牌之上 */
.hero__hook {
  display: block;
  margin-top: 10px;
  font-size: clamp(27px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: 0.5px;
}

.hero__sub {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 留资表单 ---------- */
.quick {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
  margin-top: 30px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
}

.quick__input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--white);
  font-size: 16px;
}

.quick__input::placeholder {
  color: var(--ink-4);
}

.quick__input:focus {
  outline: 2px solid var(--brand);
  outline-offset: 0;
}

.quick__btn {
  flex: none;
  height: 50px;
  padding: 0 34px;
  font-size: 18px;
}

.quick__btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.quick__hint,
.quick__err {
  margin-top: 12px;
  font-size: 13px;
}

.quick__hint {
  color: rgba(255, 255, 255, 0.45);
}

.quick__err {
  color: #ff8f7a;
}

/* ---------- 首屏提交成功 ---------- */
.qd {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 520px;
  margin-top: 30px;
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(18, 196, 139, 0.12);
  border: 1px solid rgba(18, 196, 139, 0.35);
  text-align: left;
}

.qd__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  flex: none;
}

.qd__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
}

.qd__text em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

.qd__text a {
  font-weight: 700;
  color: #8fc0ff;
}

[hidden] {
  display: none !important;
}

/* ---------- 卖点标签（首屏底部信任条） ---------- */
.hero__trust {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__trust-inner {
  padding: 18px 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
}

.chips__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
}

.chips__item .app-icon {
  color: var(--green);
}

/* ---------- 快捷入口条 ---------- */
.quickbar {
  position: relative;
  background: var(--navy-2);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.quickbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 56px;
}

.quickbar__label {
  flex: none;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.quickbar__list {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.quickbar__list::-webkit-scrollbar {
  display: none;
}

.quickbar__list a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  white-space: nowrap;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.quickbar__list a:hover {
  color: #8fc0ff;
  background: rgba(255, 255, 255, 0.06);
}

.quickbar__caret {
  transform: rotate(-90deg);
  opacity: 0.5;
}

@media (max-width: 1080px) {
  .hero__inner {
    min-height: 560px;
    padding-top: 76px;
    padding-bottom: 62px;
  }

  .hero__copy {
    max-width: 540px;
  }
}

@media (max-width: 768px) {
  /* 手机上不撑高度，否则 flex 居中会在标题上方留一大片空 */
  .hero__inner {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 44px;
    padding-bottom: 178px;
  }

  .hero__badge {
    padding: 5px 12px;
    font-size: 11.5px;
  }

  .hero__title {
    margin-top: 16px;
  }

  .hero__title-top {
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .hero__hook {
    margin-top: 8px;
    font-size: 27px;
  }

  .hero__sub {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.85;
  }

  .quick {
    flex-direction: column;
    /* column 下用 stretch 让子元素自然撑满，不靠 width:100% 兜 */
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    margin-top: 24px;
    max-width: none;
  }

  /*
   * 关键：必须撤掉 flex:1。
   * column 布局的主轴是垂直方向，flex-basis:0% 会覆盖 height，
   * 输入框的 50px 会被吃掉、塌缩成内容高度，而按钮是 flex:none 保持 50px，
   * 结果就是一瘦一胖。
   */
  .quick__input,
  .quick__btn {
    flex: none;
    width: 100%;
    height: 52px;
  }

  .quick__input {
    padding: 0 16px;
  }

  .quick__btn {
    padding: 0;
  }

  .chips {
    justify-content: flex-start;
    gap: 10px 18px;
  }

  .chips__item {
    font-size: 12.5px;
  }

  .hero__trust-inner {
    padding: 14px 0;
  }

  /*
   * 手机屏太窄，整张图铺满只会变成一团黑。
   * 改成「上半纯深色放文案 + 下方露出一条实景」：
   * 背景图只占最后 340px（= 178 文案留白 + 信任条 + 快捷条），
   * 文案区因此是实色，读起来最稳。数值改动时两边要一起调。
   */
  .hero__bg {
    top: auto;
    bottom: 0;
    height: 340px;
    background-position: center 38%;
  }

  .hero__veil {
    background: linear-gradient(
      180deg,
      var(--navy) 0,
      var(--navy) calc(100% - 340px),
      rgba(10, 18, 49, 0.3) calc(100% - 300px),
      rgba(10, 18, 49, 0.55) 100%
    );
  }

  /* 信任条要盖住下面透出来的图，否则白字压在亮面上看不清 */
  .hero__trust {
    background: var(--navy);
  }

  .quickbar__label {
    display: none;
  }
}

/* ==========================================================================
   10. 痛点 —— “为什么用不起来”
   ========================================================================== */
.pain {
  position: relative;
  padding: 78px 0 34px;
  background: var(--white);
  overflow: hidden;
}

/* 承接首屏的深蓝：顶部留一层极淡的光，白底才不会白得发空 */
.pain::before {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: 1100px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(47, 107, 255, 0.08), transparent 72%);
  pointer-events: none;
}

.pain > .container {
  position: relative;
  z-index: 1;
}

.pain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pain__item {
  padding: 24px 22px 24px;
  border: 1px solid #eaeef6;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(8, 16, 42, 0.03);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.pain__item:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 107, 255, 0.24);
  box-shadow: 0 10px 24px rgba(8, 16, 42, 0.08);
}

.pain__no {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background: rgba(47, 107, 255, 0.08);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--brand);
}

.pain__title {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.pain__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

@media (max-width: 1080px) {
  .pain__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .pain {
    padding: 46px 0 20px;
  }

  .pain__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   11. 课程体系 —— 三档（个人 / 进阶 / 企业）
   --------------------------------------------------------------------------
   中间那档默认主推：深色卡 + 蓝底标签，视觉上明显比两侧重一档。
   整块用极淡的径向光 + 细网格垫底，把三张白卡从背景上「托」起来。
   ========================================================================== */
.tier {
  position: relative;
  background: var(--page);
  overflow: hidden;
}

.tier::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(47, 107, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 255, 0.038) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}

.tier > .container {
  position: relative;
  z-index: 1;
}

.tier__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.tier__card {
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  border: 1px solid #e8ecf6;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(8, 16, 42, 0.04);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.tier__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(8, 16, 42, 0.14);
}

.tier__tag {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(47, 107, 255, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.tier__name {
  margin-top: 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.tier__sub {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.tier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.tier__meta li {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--page);
  font-size: 12px;
  color: var(--ink-2);
}

.tier__points {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  /* 撑开中段，让三张卡的按钮落在同一水平线上 */
  flex: 1;
}

.tier__points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink);
}

.tier__points .app-icon {
  margin-top: 3px;
  color: var(--brand);
  flex: none;
}

.tier__cta {
  margin-top: 22px;
  width: 100%;
}

/* ---------- 主推档（深色） ---------- */
.tier__card--featured {
  border-color: transparent;
  background: linear-gradient(160deg, #13224b 0%, #0a1231 100%);
  box-shadow: 0 18px 42px rgba(8, 16, 42, 0.28);
}

.tier__card--featured:hover {
  box-shadow: 0 22px 50px rgba(8, 16, 42, 0.34);
}

.tier__card--featured .tier__tag {
  background: var(--brand);
  color: var(--white);
}

.tier__card--featured .tier__name {
  color: var(--white);
}

.tier__card--featured .tier__sub,
.tier__card--featured .tier__points li {
  color: rgba(255, 255, 255, 0.76);
}

.tier__card--featured .tier__points .app-icon {
  color: #6ea8ff;
}

.tier__card--featured .tier__meta {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.tier__card--featured .tier__meta li {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1080px) {
  .tier__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tier__card {
    padding: 24px 20px;
  }

  .tier__name {
    font-size: 20px;
  }
}
/* ==========================================================================
   12. 图文模块 —— 文字 + 示意图左右交替
   --------------------------------------------------------------------------
   三块用三种底色交代三种「场景」：
     dark  企业内训 —— 课堂实景压得很暗，像一间刚下课的教室
     warm  智能体落地 —— 虚化的办公空间，浅到只看得见「场」
     plain 课后陪跑 —— 白底为主，右侧露出学员自己练习的画面
   ========================================================================== */
.fs {
  padding: 88px 0;
}

/* 白底 + 右侧实景：左边留白给文字，右边透出人和屏幕 */
.fs--plain {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.fs--plain::before {
  content: "";
  position: absolute;
  inset: 0;
  /*
   * 必须 top 对齐：这张照片里人物的头顶本来就贴着画面上沿，
   * 用 center 会纵向裁掉十几像素，把人头切平。
   */
  background: url("assets/img/fs-practice.jpg") center top / cover no-repeat;
  pointer-events: none;
}

/* 左实右透：文字所在的左半边接近纯白，图只在右侧慢慢透出来 */
.fs--plain::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--white) 0%,
    var(--white) 42%,
    rgba(255, 255, 255, 0.9) 58%,
    rgba(255, 255, 255, 0.6) 100%
  );
  pointer-events: none;
}

.fs--plain > .container {
  position: relative;
  z-index: 1;
}

/* 浅色图文块：压一张虚化的办公空间，做出「场」的感觉又不抢字 */
.fs--warm {
  position: relative;
  background: linear-gradient(165deg, #f5f8ff 0%, #eef4ff 58%, #eef7fb 100%);
  overflow: hidden;
}

.fs--warm::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/section-office.jpg") center / cover no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

/* 白色渐变压在图上面，保证正文对比度 */
.fs--warm::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 248, 255, 0.7) 0%,
    rgba(238, 244, 255, 0.62) 58%,
    rgba(238, 247, 251, 0.78) 100%
  );
  pointer-events: none;
}

.fs--warm > .container {
  position: relative;
  z-index: 1;
}

/* 深色图文块：企业内训这一屏用课堂实景垫底 */
.fs--dark {
  position: relative;
  background: var(--navy-3);
  overflow: hidden;
}

.fs--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/hero-classroom.jpg") center 40% / cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.fs--dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    96deg,
    var(--navy-3) 0%,
    rgba(7, 14, 38, 0.9) 40%,
    rgba(7, 14, 38, 0.58) 100%
  ),
    linear-gradient(
      180deg,
      rgba(7, 14, 38, 0.55) 0%,
      transparent 30%,
      transparent 72%,
      rgba(7, 14, 38, 0.65) 100%
    );
  pointer-events: none;
}

.fs--dark > .container {
  position: relative;
  z-index: 1;
}

.fs__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

/* 视觉区在左：交换列顺序 */
.fs__inner.is-reverse .fs__text {
  order: 2;
}

.fs__inner.is-reverse .fs__visual {
  order: 1;
}

/* ---------- 文本 ---------- */
.fs__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.fs__sub {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.fs__list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.fs__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.fs__list .app-icon {
  margin-top: 3px;
  color: var(--green);
}

.fs__cta {
  margin-top: 30px;
}

/* ---------- 深色主题 ---------- */
.fs--dark .fs__title {
  color: var(--white);
}

.fs--dark .fs__sub,
.fs--dark .fs__list li {
  color: rgba(255, 255, 255, 0.76);
}

.fs--dark .fs__list .app-icon {
  color: #6ea8ff;
}

/* ---------- 视觉区 ---------- */
.fs__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 320px;
}

/* 深色主题下给视觉区一层柔和底光 */
.fs--dark .fs__visual::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(44, 107, 234, 0.35), transparent 68%);
  pointer-events: none;
}

.fs__visual > * {
  position: relative;
}

@media (max-width: 980px) {
  .fs {
    padding: 60px 0;
  }

  /*
   * 窄屏是单栏，图铺满会盖到文字上。
   * 改成「上面纯白放文字 + 下面一条实景」，和首屏手机端的处理一致。
   */
  .fs--plain::before {
    inset: auto 0 0 0;
    height: 46%;
    background-position: center 32%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .fs--plain::after {
    background: linear-gradient(
      180deg,
      var(--white) 0%,
      var(--white) 48%,
      rgba(255, 255, 255, 0.82) 64%,
      rgba(255, 255, 255, 0.52) 100%
    );
  }

  .fs__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  /* 移动端统一「先文后图」 */
  .fs__inner.is-reverse .fs__text,
  .fs__inner.is-reverse .fs__visual {
    order: initial;
  }

  .fs__title {
    font-size: 23px;
  }

  .fs__sub,
  .fs__list li {
    font-size: 14px;
  }

  .fs__visual {
    min-height: 260px;
  }

  .fs__cta {
    margin-top: 24px;
  }
}

/* ==========================================================================
   13. 示意图 —— 纯 CSS 绘制，不依赖图片
   --------------------------------------------------------------------------
   四种形态，对应 functions.php 的 sqk_mock()：
     .mock--chat   AI 对话（手机聊天气泡）
     .mock--plan   企业内训方案（文档卡）
     .mock--agent  智能体流程（节点图）
     .mock--cert   结业证书
   都按 .fs__visual 的尺寸设计（桌面 320px 高、移动端 260px），
   深色区块里也是同一套节点，靠阴影和描边拉出层次。
   ========================================================================== */
.mock {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 300px;
}

/* 悬浮小标签（「12 套提示词模板」之类），压在图形右下角 */
.mock__tag {
  position: absolute;
  right: -14px;
  bottom: -6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 20px;
  background: var(--white);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(8, 16, 42, 0.18);
}

.mock__tag .app-icon {
  color: var(--brand);
}

/* ---------- ① AI 对话 ---------- */
.phone {
  flex: none;
  width: 196px;
  height: 356px;
  padding: 8px;
  border-radius: 28px;
  background: linear-gradient(160deg, #1b2a49, #0a1428);
  box-shadow: 0 22px 44px rgba(8, 16, 42, 0.28);
}

.phone__screen {
  height: 100%;
  border-radius: 21px;
  background: var(--white);
  overflow: hidden;
}

.phone__screen--chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 12px;
}

.chat__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.chat__avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(150deg, #2f6bff, #22d3ee);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.chat__title {
  width: 62px;
  height: 7px;
  border-radius: 4px;
  background: var(--line);
}

.chat__bubble {
  max-width: 88%;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 11.5px;
  line-height: 1.6;
}

.chat__bubble--me {
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  background: var(--brand);
  color: var(--white);
}

.chat__bubble--sm {
  padding: 6px 9px;
  font-size: 11px;
}

/*
 * 输入框贴底：气泡内容不长，底部会空出一大块。
 * 加一条输入框既补满版面，也更像真实的对话界面；margin-top:auto 把它推到屏幕底部。
 */
.chat__input {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 7px 8px;
  border-radius: 16px;
  background: #f1f5fb;
}

.chat__input span {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #dbe4f0;
}

.chat__input i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
}

.chat__bubble--ai {
  display: grid;
  gap: 6px;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  background: #f1f5fb;
}

/* 用几条横线示意「正在生成的内容」 */
.chat__bubble--ai i {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #cfdaea;
}

.chat__bubble--ai i.is-short {
  width: 62%;
}

.chat__tag {
  display: inline-block;
  white-space: nowrap;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(18, 196, 139, 0.14);
  color: #0a8f66;
  font-size: 9.5px;
  font-weight: 700;
}

/* ---------- ② 企业内训方案 ---------- */
.plan {
  width: 288px;
  max-width: 100%;
  padding: 20px 18px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 46px rgba(8, 16, 42, 0.22);
}

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plan__badge {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(47, 107, 255, 0.12);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
}

.plan__state {
  font-size: 11px;
  color: #0a8f66;
}

.plan__title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.plan__list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.plan__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.plan__list .app-icon {
  color: var(--green);
}

.plan__foot {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.plan__line {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--line);
}

.plan__line--short {
  flex: none;
  width: 32%;
  background: #d7e3f5;
}

/* ---------- ③ 智能体流程 ---------- */
.agent {
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 300px;
}

.agent__node {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(8, 16, 42, 0.14);
}

.agent__node--brand {
  background: linear-gradient(150deg, #2f6bff, #1d4ed8);
  color: var(--white);
}

.agent__node--ok {
  border: 1px dashed rgba(18, 196, 139, 0.55);
  background: rgba(18, 196, 139, 0.12);
  color: #077a56;
  box-shadow: none;
}

.agent__row {
  display: flex;
  gap: 10px;
}

/* 连接线：两像素宽的虚线，节点一多也不会糊成一片 */
.agent__link {
  width: 2px;
  height: 20px;
  background: repeating-linear-gradient(
    180deg,
    rgba(47, 107, 255, 0.5) 0 4px,
    transparent 4px 8px
  );
}

/* ---------- ④ 结业证书 ---------- */
.cert {
  position: relative;
  width: 306px;
  max-width: 100%;
  padding: 26px 24px 20px;
  border: 1px solid #e6ecf7;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 22px 48px rgba(8, 16, 42, 0.18);
  text-align: center;
}

/* 内圈细边，证书的那点仪式感全靠它 */
.cert::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(47, 107, 255, 0.16);
  border-radius: 9px;
  pointer-events: none;
}

.cert__seal {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(47, 107, 255, 0.1);
  color: var(--brand);
}

.cert__kicker {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--ink-3);
}

.cert__name {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.cert__line {
  display: block;
  width: 70%;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--line);
}

.cert__line--short {
  width: 46%;
  margin-top: 8px;
  background: #dde7f5;
}

.cert__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.cert__sig {
  width: 62px;
  height: 8px;
  border-radius: 4px;
  background: repeating-linear-gradient(
    90deg,
    #c8d3e4 0 3px,
    transparent 3px 6px
  );
}

.cert__year {
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ink-3);
}

@media (max-width: 768px) {
  .mock {
    min-height: 250px;
    gap: 12px;
  }

  .phone {
    width: 158px;
    height: 292px;
  }

  .chat__bubble {
    font-size: 11px;
  }

  .plan,
  .cert {
    width: 100%;
    max-width: 300px;
  }

  .plan {
    padding: 16px 14px;
  }

  .cert {
    padding: 20px 16px 16px;
  }

  .agent {
    max-width: 100%;
  }

  .agent__node {
    padding: 8px 13px;
    font-size: 12px;
  }

  .mock__tag {
    display: none;
  }
}

/* ==========================================================================
   14. 交付流程 —— 深色四步
   ========================================================================== */
.step {
  position: relative;
  padding: 76px 0 84px;
  background: var(--navy-3);
  overflow: hidden;
}

/* 交付流程：网格光路垫底，和首屏是同一套视觉语言 */
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/img/hero-mesh.jpg") center / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
}

.step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 14, 38, 0.6) 0%,
    rgba(7, 14, 38, 0.45) 42%,
    rgba(7, 14, 38, 0.82) 100%
  );
  pointer-events: none;
}

.step > .container {
  position: relative;
  z-index: 1;
}

.step__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step__item {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.step__item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
}

/* 步骤之间的箭头，最后一格不画 */
.step__item::after {
  content: '';
  position: absolute;
  top: 42px;
  right: -13px;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.22);
  border-right: 2px solid rgba(255, 255, 255, 0.22);
  transform: rotate(45deg);
}

.step__item:last-child::after {
  display: none;
}

.step__no {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, #2f6bff, #22d3ee);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.step__name {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.step__desc {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
}

.step__foot {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

@media (max-width: 980px) {
  .step {
    padding: 52px 0 58px;
  }

  .step__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .step__item::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .step__list {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   15. 课程目录 —— 8 门课的清单式卡片
   --------------------------------------------------------------------------
   整块是 button（点任意位置都能唤起留资弹窗），所以内部一律用 span，
   不能放 h3/p —— 块级元素进 button 在部分老浏览器里会出现诡异的重排。
   ========================================================================== */
.cat {
  background: var(--white);
}

.cat__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cat__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid #e9edf6;
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.cat__item:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 107, 255, 0.3);
  box-shadow: 0 12px 26px rgba(8, 16, 42, 0.09);
}

.cat__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 107, 255, 0.09);
  color: var(--brand);
  flex: none;
}

.cat__body {
  display: block;
  min-width: 0;
}

.cat__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.cat__desc {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-2);
}

.cat__meta {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--page);
  font-size: 11.5px;
  color: var(--ink-3);
}

.cat__foot {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

@media (max-width: 980px) {
  .cat__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cat__item {
    padding: 16px 18px;
  }
}
/* ==========================================================================
   16. 讲师团队 —— 上半页唯一的深色中途站
   --------------------------------------------------------------------------
   前面连着好几屏浅色，到这里插一块深色，滚动时有个停顿。
   背景是讲台 + 大屏的虚化实景，人物压成剪影，不抢卡片里的字。
   ========================================================================== */
.coach {
  position: relative;
  background: var(--navy);
  overflow: hidden;
}

/* 图只占右半边并横向渐隐：左边留给标题，右边露出讲台，不做整幅铺底 */
.coach::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  background: url("assets/img/coach-stage.jpg") center / cover no-repeat;
  opacity: 0.88;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 38%, #000 76%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 38%, #000 76%);
  pointer-events: none;
}

.coach::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--navy) 0%,
    rgba(10, 18, 49, 0.38) 26%,
    rgba(10, 18, 49, 0.46) 72%,
    var(--navy) 100%
  );
  pointer-events: none;
}

.coach > .container {
  position: relative;
  z-index: 1;
}

.coach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 深色底上的卡片改用半透明玻璃，白卡会像三块贴上去的纸 */
.coach__card {
  padding: 26px 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(8, 15, 38, 0.58);
  box-shadow: none;
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

.coach__card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(10, 18, 49, 0.7);
  box-shadow: 0 14px 30px rgba(3, 8, 28, 0.34);
}

.coach__avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(150deg, #2f6bff, #22d3ee);
  color: var(--white);
}

.coach__role {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
}

.coach__tag {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #8fc0ff;
}

.coach__desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .coach__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ==========================================================================
   17. 学员成果 —— “学完能做出什么”
   ========================================================================== */
.gain {
  background: var(--page);
}

.gain__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gain__item {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 20px;
  border: 1px solid #e9edf6;
  box-shadow: 0 1px 2px rgba(8, 16, 42, 0.03);
}

.gain__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(47, 107, 255, 0.09);
  color: var(--brand);
}

.gain__title {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.gain__desc {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

/* 底部的课程归属：margin-top:auto 让四张卡的标签贴底对齐 */
.gain__tag {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 1080px) {
  .gain__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .gain__grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================================================
   18. 常见问题
   ========================================================================== */
.faq {
  background: var(--white);
}

.faq__list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid #e9edf6;
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq__item:hover {
  border-color: rgba(47, 107, 255, 0.22);
}

.faq__item.is-open {
  border-color: rgba(47, 107, 255, 0.26);
  box-shadow: 0 10px 24px rgba(8, 16, 42, 0.07);
}

.faq__q-wrap {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition: color 0.15s var(--ease);
}

.faq__q:hover {
  color: var(--blue);
}

.faq__item.is-open .faq__q {
  color: var(--blue);
}

.faq__mark {
  flex: none;
  color: var(--ink-3);
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}

.faq__item.is-open .faq__mark {
  transform: rotate(135deg);
  color: var(--blue);
}

/* 用 grid-template-rows 0fr→1fr 做高度自适应动画 */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

/* .faq__a 的直接子元素必须 overflow:hidden，0fr→1fr 的折叠才成立 */
.faq__a p {
  overflow: hidden;
  padding: 0 22px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink-2);
  transition: padding 0.28s var(--ease);
}

.faq__item.is-open .faq__a p {
  padding-bottom: 20px;
}

.faq__foot {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

@media (max-width: 768px) {
  .faq__q {
    padding: 15px 16px;
    font-size: 14.5px;
  }

  .faq__a p {
    padding: 0 16px;
    font-size: 13.5px;
  }

  .faq__item.is-open .faq__a p {
    padding-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq__a,
  .faq__mark,
  .faq__a p {
    transition: none;
  }
}

/* ==========================================================================
   19. 合作共创
   ========================================================================== */
.pt {
  background: var(--page);
}

/* CTA 卡铺一张深色的连接网络图，比纯色渐变更像「在铺一张网」 */
.pt__cta {
  position: relative;
  padding: 48px 28px;
  border-radius: 20px;
  background: url("assets/img/pt-mesh.jpg") center right / cover no-repeat, #0b1436;
  overflow: hidden;
  text-align: center;
}

.pt__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(9, 17, 45, 0.96) 0%,
      rgba(9, 17, 45, 0.87) 42%,
      rgba(9, 17, 45, 0.7) 100%
    ),
    radial-gradient(ellipse at 50% 0%, rgba(47, 107, 255, 0.28), transparent 62%);
  pointer-events: none;
}

.pt__cta > * {
  position: relative;
}

.pt__cta-text {
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 22px;
}

.pt__cta-tel {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

.pt__cta-tel a {
  font-weight: 700;
  color: #8fc0ff;
}

@media (max-width: 768px) {
  .pt__cta {
    padding: 32px 18px;
  }

  .pt__cta-text {
    font-size: 14px;
  }
}

/* ==========================================================================
   20. 关于我们
   ========================================================================== */
.ab {
  background: var(--white);
}

.ab__inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: start;
}

.ab__text p {
  font-size: 15px;
  line-height: 2;
  color: var(--ink-2);
  text-indent: 2em;
}

.ab__text p + p {
  margin-top: 16px;
}

/* ---------- 数字 ---------- */
.ab__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.ab__stats li {
  padding: 20px 16px;
  border: 1px solid #e9edf6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafd 0%, #f1f5fc 100%);
  text-align: center;
}

.ab__stats strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
}

.ab__stats strong span {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}

.ab__stats em {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--ink-2);
}

/* ---------- 优势清单 ---------- */
.ab__list {
  display: grid;
  gap: 12px;
}

.ab__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid #e9edf6;
  border-radius: 12px;
  background: #f8fafd;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.ab__list li:hover {
  transform: translateX(4px);
  border-color: rgba(47, 107, 255, 0.24);
}

.ab__check {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(18, 196, 139, 0.12);
  color: var(--green);
  flex: none;
}

@media (max-width: 980px) {
  .ab__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ab__text p {
    font-size: 14px;
    line-height: 1.9;
  }

  .ab__stats strong {
    font-size: 24px;
  }

  .ab__list li {
    padding: 13px 16px;
    font-size: 14px;
  }
}

/* ==========================================================================
   21. 页脚
   ========================================================================== */
.ft {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
}

.ft__top {
  display: grid;
  grid-template-columns: 300px 1fr 190px;
  gap: 48px;
  padding-top: 54px;
  padding-bottom: 44px;
}

/* ---------- 联系方式 ---------- */
/* 页脚是深色底，只能用反白 logo（assets/logo-reverse.png），深色版在这儿整片看不见 */
.ft__logo {
  display: inline-block;
  margin-bottom: 18px;
}

.ft__logo img {
  display: block;
  height: 38px;
  width: auto;
}

.ft__hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 26px;
  font-weight: 700;
  color: #7fb2ff;
  letter-spacing: 0.5px;
}

/*
 * 二维码 + 说明文字。
 * 原版是横排（图和文字并排），但那样得给文字限宽，限到 8em 后
 * 「微信扫一扫 联系我们」会断成「微信扫一扫 联系 / 我们」——
 * 正好把「联系/我们」这个短语拆开。这里改成竖排，文字换到图下方，
 * 既不用限宽也不会断错，且与上面「微信：」「电话：」几行的左对齐保持一致。
 */
.qr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
}

/*
 * 尺寸要和二维码本身一致。
 * 二维码图片自带约 6.5% 的 quiet zone（扫码必需的安全区），
 * 所以盒子不要再额外留白 —— 否则白边会叠成厚厚一圈，可扫面积也被压小。
 */
.qr__box {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  /* 图片是方形不透明的，裁掉圆角外的方角，避免白角露在深色底上 */
  overflow: hidden;
  flex: none;
}

/* 不再需要 max-width：文字到了图下方，一行放得下 */
.qr__cap {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.ft__meta {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.ft__meta span,
.ft__meta a {
  color: rgba(255, 255, 255, 0.92);
}

.ft__meta a:hover {
  color: #8fc0ff;
}

/* 地址较长，给足行高；与 JSON-LD 里的地址保持一致 */
.ft__addr {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.ft__addr span {
  color: rgba(255, 255, 255, 0.78);
}

.ft__hours {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 链接列 ---------- */
.ft__title {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.ft__links {
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

.ft__links--multi {
  grid-template-columns: repeat(auto-fill, minmax(122px, 1fr));
  gap: 10px 16px;
}

.ft__links a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.15s var(--ease);
}

.ft__links a:hover {
  color: #8fc0ff;
}

/* ---------- 版权条 ---------- */
.ft__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ft__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  padding-top: 20px;
  padding-bottom: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.ft__bottom-inner span {
  color: rgba(255, 255, 255, 0.72);
}

.ft__bottom-inner a:hover {
  color: #8fc0ff;
}

.ft__note {
  flex-basis: 100%;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 980px) {
  .ft__top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 40px;
  }

  .ft__hotline {
    font-size: 22px;
  }
}

/* ==========================================================================
   22. 咨询二维码
   --------------------------------------------------------------------------
   类名不要改成 .qr / .qr__box 这类通用名：页脚里已有同名规则，
   会顺着命中进来（曾因此多出 margin: 22px 0，把二维码在容器里顶偏）。
   ========================================================================== */
.wxqr {
  position: relative;
  display: grid;
  place-items: center;
}

.wxqr__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   23. 悬浮栏
   ========================================================================== */
.fbar {
  position: fixed;
  right: 14px;
  bottom: 90px;
  z-index: 90;
  display: grid;
  gap: 8px;
}

.fbar__wrap {
  position: relative;
}

.fbar__btn {
  position: relative;
  display: grid;
  place-items: center;
  gap: 1px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--sh-float);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.fbar__btn:hover {
  transform: translateX(-3px);
}

.fbar__btn--cta {
  background: var(--brand);
  color: var(--white);
}

.fbar__btn--cta:hover {
  background: #4a80ff;
}

.fbar__label {
  font-size: 11px;
  line-height: 1;
}

/* hover 时左侧浮出的提示气泡 */
.fbar__tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s var(--ease);
  pointer-events: none;
}

.fbar__btn:hover .fbar__tip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 二维码气泡。宽度要装得下 96px 的二维码：148 - 24(自身padding) - 16(盒子padding) = 108 */
.fbar__qr {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  width: 148px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--sh-float);
  text-align: center;
}

.fbar__qr-box {
  display: grid;
  place-items: center;
  padding: 8px;
  color: var(--navy);
}

.fbar__qr p {
  font-size: 12px;
  color: var(--ink-2);
}

@media (max-width: 768px) {
  .fbar {
    right: 10px;
    bottom: 24px;
  }

  .fbar__btn {
    width: 46px;
    height: 46px;
  }

  .fbar__tip {
    display: none;
  }
}

/* ==========================================================================
   24. 留资弹窗
   ========================================================================== */
.mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 16, 42, 0.55);
  backdrop-filter: blur(3px);
  overflow-y: auto;
}

.dlg {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 32px 30px 28px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(8, 16, 42, 0.3);
  text-align: center;
}

.dlg__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-3);
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.dlg__close:hover {
  background: var(--page);
  color: var(--ink);
}

.dlg__title {
  font-size: 23px;
  font-weight: 700;
  color: var(--ink);
}

.dlg__sub {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.dlg__sub strong {
  color: var(--brand-2);
}

/* ---------- 表单 ---------- */
.dlg__form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  text-align: left;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: #fafbfd;
  font-size: 15px;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.field input::placeholder {
  color: var(--ink-4);
}

.field input:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
}

.field input[aria-invalid='true'] {
  border-color: #ff2121;
}

.dlg__err {
  margin-top: -4px;
  font-size: 12.5px;
  color: #ff2121;
}

.dlg__intent {
  margin-top: -6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.dlg__submit {
  width: 100%;
  font-size: 17px;
  padding: 12px 0;
}

.dlg__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.dlg__agree {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--ink-4);
  text-align: center;
}

/* ---------- 成功态 ---------- */
.dlg__ok {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding-top: 8px;
}

.dlg__ok-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: rgba(18, 196, 139, 0.1);
  color: var(--green);
}

.dlg__tip {
  margin: 10px 0 18px;
  font-size: 13px;
  color: var(--ink-2);
}

.dlg__tip a {
  font-weight: 700;
  color: var(--brand-2);
}

/* ==========================================================================
   25. 博客侧：归档 / 文章 / 页面
   --------------------------------------------------------------------------
   nuxt 站是单页营销站，没有这部分，按同一套设计令牌新写。
   ========================================================================== */

/* ---------- 归档页头 ---------- */
.archive {
  padding: 44px 0 70px;
}

.archive-head {
  text-align: center;
  margin-bottom: 34px;
}

.archive-head__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.5px;
}

.archive-head__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- 文章卡片列表 ---------- */
.pcard-list {
  display: grid;
  gap: 18px;
}

.pcard {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 20px;
}

.pcard__thumb {
  display: grid;
  place-items: center;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(150deg, #111f4d, #1e3a8a);
  overflow: hidden;
}

.pcard__glyph {
  font-size: 34px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 2px;
}

.pcard__body {
  min-width: 0;
}

.entry-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.entry-title a:hover {
  color: var(--blue);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.entry-meta a:hover {
  color: var(--blue);
}

.pcard__excerpt {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.pcard__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

/* ---------- 正文排版 ---------- */
.entry {
  padding: 44px 0 70px;
}

.entry-shell {
  padding: 36px 40px 40px;
}

.entry-content {
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.entry-content > * + * {
  margin-top: 18px;
}

.entry-content h2 {
  margin-top: 36px;
  padding-left: 12px;
  border-left: 4px solid var(--brand);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}

.entry-content h3 {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.entry-content h4 {
  margin-top: 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.entry-content p {
  margin: 0;
}

.entry-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  list-style: revert;
}

.entry-content li + li {
  margin-top: 7px;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-card);
}

.entry-content blockquote {
  padding: 14px 20px;
  border-left: 4px solid var(--line);
  border-radius: 0 10px 10px 0;
  background: var(--page);
  color: var(--ink-2);
}

.entry-content code {
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(8, 16, 42, 0.06);
  font-family: Consolas, Monaco, 'Courier New', monospace;
  font-size: 0.9em;
}

.entry-content pre {
  padding: 16px 18px;
  border-radius: var(--r-card);
  background: #0d1b33;
  color: #e6edf7;
  overflow-x: auto;
}

.entry-content pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.entry-content th {
  background: var(--page);
  font-weight: 700;
}

.entry-content hr {
  height: 1px;
  border: 0;
  background: var(--line);
}

/* ---------- 上下篇 ---------- */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.post-nav a {
  display: block;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--sh-card);
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.15s var(--ease), transform 0.2s var(--ease);
}

.post-nav a:hover {
  color: var(--blue);
  transform: translateY(-3px);
}

.post-nav .is-next {
  text-align: right;
}

.post-nav .is-empty {
  box-shadow: none;
  background: none;
  color: var(--ink-4);
}

/* ---------- 分页 ---------- */
.pagenav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagenav li a,
.pagenav li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--sh-card);
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.pagenav li a:hover {
  color: var(--navy);
  background: rgba(47, 107, 255, 0.1);
}

.pagenav li.is-current span {
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
}

/* ---------- 空状态 ---------- */
.empty {
  padding: 60px 24px;
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: var(--sh-card);
  text-align: center;
}

.empty__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.empty__desc {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.empty__cta {
  margin-top: 22px;
}

/* ---------- 搜索框 ---------- */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 30px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: var(--white);
  font-size: 15px;
}

.search-form input:focus {
  outline: none;
  border-color: var(--brand);
}

/* ---------- 文章内标签 ---------- */
.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.entry-tags a {
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--page);
  font-size: 12.5px;
  color: var(--ink-2);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.entry-tags a:hover {
  color: var(--navy);
  background: rgba(47, 107, 255, 0.12);
}

/* ---------- 404 ---------- */
.nf {
  padding: 90px 0 100px;
  text-align: center;
}

.nf__code {
  font-size: 76px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  letter-spacing: 4px;
}

.nf__title {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.nf__desc {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-2);
}

.nf__cta {
  margin-top: 28px;
}

/* ---------- 博客侧响应式 ---------- */
@media (max-width: 980px) {
  .pcard {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pcard__thumb {
    height: 88px;
  }

  .entry-shell {
    padding: 24px 20px 26px;
  }

  .entry-content h2 {
    font-size: 19px;
  }

}

@media (max-width: 768px) {
  .archive,
  .entry {
    padding: 30px 0 52px;
  }

  .archive-head__title {
    font-size: 21px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav .is-next {
    text-align: left;
  }
}

/* ==========================================================================
   26. 全局响应式收尾
   ========================================================================== */
@media (max-width: 768px) {
  .section {
    padding: 46px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head__title {
    font-size: 22px;
  }

  .section-head__sub {
    font-size: 13px;
  }
}
