/* ==========================================================================
   旭日之光 · 课程中心  course.css
   设计基调：明亮科技感 —— 浅色渐变 + 柔光高光 + 通透质感
   禁止深色卡片 / 霓虹 / 赛博暗黑（客户明确拒绝沉重暗色）
   配色体系：策凌《课程卡片视觉规范 v1.0》A 版（标准版）
   —— 五卡等感知亮度校准（渐变中点亮度 0.896–0.904），色相 36°→280° 单调递增
   ========================================================================== */

/* ==========================================================================
   0. 五色主题 token
   --c1 / --c2    卡片渐变起止（极浅）
   --accent       主色：图形 / 装饰线条（不可用于小字，对卡底仅 3.4:1）
   --accent-soft  高光色
   --glow         光晕色
   --deep         深主色：所有文字 / 标签 / CTA（对卡底 ≥7.5:1）
   --title        课程名（≥10.8:1）
   --body         正文（≥6.1:1）
   --line/-hv     卡片描边（静止 / hover）
   --chip-bg/-line 标签底 / 标签描边
   --acc-rgb      主色 RGB 三元组，供 rgba() 组合光晕
   ========================================================================== */

[data-theme="amber"] {   /* 日出暖金 36° · 塔尖之上 */
  --c1:#fdf9ed; --c2:#f9ece0;
  --accent:#b07318; --accent-soft:rgba(176,115,24,.09); --glow:#f9a82e;
  --deep:#644416; --title:#403017; --body:#5f5648;
  --line:#ece1cf; --line-hv:#e1caa7;
  --chip-bg:#f6eee3; --chip-line:#e7d5ba;
  --acc-rgb:176,115,24; --glow-rgb:249,168,46;
}
[data-theme="sprout"] {  /* 新芽青绿 92° · 赋能型领导 */
  --c1:#f3faef; --c2:#e8f1dc;
  --accent:#598e2a; --accent-soft:rgba(89,142,42,.10); --glow:#72ce22;
  --deep:#35521b; --title:#28361c; --body:#505a47;
  --line:#dae7cf; --line-hv:#c0d4ae;
  --chip-bg:#ebf1e5; --chip-line:#cdddbf;
  --acc-rgb:89,142,42; --glow-rgb:114,206,34;
}
[data-theme="jade"] {    /* 青瓷玉色 164° · 慧性生命系统 */
  --c1:#effbf9; --c2:#def4ec;
  --accent:#269174; --accent-soft:rgba(38,145,116,.10); --glow:#1ad0a0;
  --deep:#1b5445; --title:#1b3931; --body:#475d57;
  --line:#cfe8e1; --line-hv:#add5ca;
  --chip-bg:#e5f2ee; --chip-line:#beded5;
  --acc-rgb:38,145,116; --glow-rgb:26,208,160;
}
[data-theme="steel"] {   /* 理性钢蓝 206° · 品类创新 */
  --c1:#f4f9fd; --c2:#e3f1f7;
  --accent:#2786ce; --accent-soft:rgba(39,134,206,.10); --glow:#78c0f6;
  --deep:#1d4e74; --title:#1e3546; --body:#4c5964;
  --line:#d7e4ed; --line-hv:#add1ec;
  --chip-bg:#e5f0f9; --chip-line:#bedbf0;
  --acc-rgb:39,134,206; --glow-rgb:120,192,246;
}
[data-theme="nebula"] {  /* 星河紫 280° · AI 原生组织 */
  --c1:#fbf7fd; --c2:#f3ebf8;
  --accent:#ae5bd8; --accent-soft:rgba(174,91,216,.09); --glow:#daa4f5;
  --deep:#6c2c8c; --title:#432652; --body:#63516b;
  --line:#e9dfef; --line-hv:#e0c1f0;
  --chip-bg:#f5ebfa; --chip-line:#e7cef3;
  --acc-rgb:174,91,216; --glow-rgb:218,164,245;
}
[data-theme="dawn"] {    /* 晨曦赤 14° · 全学科体系 · 重塑中国企业家（年度项目） */
  --c1:#fdf4f1; --c2:#fbe7e2;
  --accent:#c4392c; --accent-soft:rgba(196,57,44,.09); --glow:#ff7a5c;
  --deep:#7a1d16; --title:#4a1a15; --body:#5e4744;
  --line:#f0dad4; --line-hv:#e9bfb7;
  --chip-bg:#fbeae6; --chip-line:#ecc9c2;
  --acc-rgb:196,57,44; --glow-rgb:255,122,92;
}

.course-index { padding-bottom: 20px; }

/* ---------- Hero ---------- */
.cx-hero {
  position: relative;
  padding: 64px 0 46px;
  background:
    radial-gradient(90% 120% at 12% -10%, rgba(255, 179, 71, .16) 0%, rgba(255, 179, 71, 0) 55%),
    radial-gradient(70% 110% at 92% 0%, rgba(59, 116, 255, .12) 0%, rgba(59, 116, 255, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line, #e3e9f2);
  overflow: hidden;
}
.cx-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(14, 23, 48, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .35;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 72%);
}
.cx-hero .container { position: relative; z-index: 2; }
.cx-hero h1 {
  font-size: 40px;
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: -.4px;
  color: var(--navy-900);
  margin: 14px 0 0;
}
.cx-hero-sub {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 620px;
}

/* ---------- 栅格：5 张呈 3 + 2，第二行等宽，不留孤张 ---------- */
.cx-grid-wrap { padding: 46px 0 10px; }
.cx-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: stretch;
}
.cx-card { grid-column: span 2; }

/* ---------- 卡片本体：光润感（顶部入射光 + 底部主色反射 + 悬浮薄边） ---------- */
.cx-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 272px;
  padding: 26px 26px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  color: var(--ink);

  background-image:
    radial-gradient(125% 85% at 18% -12%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(158deg, var(--c1) 0%, var(--c2) 100%);

  box-shadow:
    inset 0    1px   0    rgba(255, 255, 255, .85),
    inset 0   -1px   0    rgba(14, 23, 48, .045),
    inset 0    0     0 1px rgba(255, 255, 255, .50),
    0  1px  2px        rgba(14, 23, 48, .04),
    0  8px 20px  -6px  rgba(14, 23, 48, .08),
    0 22px 44px -18px  rgba(14, 23, 48, .14);

  transition:
    transform   .42s cubic-bezier(.22, .61, .36, 1),
    box-shadow  .42s cubic-bezier(.22, .61, .36, 1),
    border-color .28s ease;
}

/* 噪点：防浅渐变色带（8bit 屏必备） */
.cx-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .028;
  mix-blend-mode: overlay;
}

/* 底部主色反射光斑：被 overflow 裁成椭圆 = 光被容器接住 */
.cx-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
  left: -12%; right: -12%; bottom: -32%; height: 72%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
              rgba(var(--acc-rgb), .16) 0%,
              rgba(var(--acc-rgb), 0) 70%);
  filter: blur(18px);
  opacity: .85;
  transition: opacity .55s ease, transform .60s cubic-bezier(.22, .61, .36, 1);
}

/* 网格纹理：仅钢蓝 / 星紫两张，上半部淡出 */
.cx-card-tex {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 23, 48, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 23, 48, .028) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 28%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 28%, transparent 85%);
}

.cx-card:hover,
.cx-card:focus-visible {
  transform: translateY(-6px);
  outline: none;
  border-color: var(--line-hv);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .70),
    0  2px  4px        rgba(14, 23, 48, .05),
    0 14px 28px  -8px  rgba(14, 23, 48, .10),
    0 34px 60px -20px  rgba(var(--acc-rgb), .28);
}
.cx-card:hover::after,
.cx-card:focus-visible::after {
  opacity: 1;
  transform: translateY(-8px) scale(1.06);
}
.cx-card:focus-visible { outline: 2px solid var(--deep); outline-offset: 3px; }

/* ---------- 卡片内容 ---------- */
.cx-card-no {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--deep);
}

/* 抽象图形：右上角，占卡 28–36%，绝不与文字重叠 */
.cx-card-art {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 104px;
  height: 104px;
  color: var(--accent);
  opacity: .30;
  transition: opacity .45s ease, transform .55s cubic-bezier(.22, .61, .36, 1);
  pointer-events: none;
  z-index: 0;
}
.cx-card-art svg { width: 100%; height: 100%; display: block; }
.cx-card:hover .cx-card-art,
.cx-card:focus-visible .cx-card-art { opacity: .45; transform: scale(1.05); }

/* AI 原生组织：连线呼吸（唯一带动效的图形） */
@keyframes nebulaBreath { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.cx-card[data-theme="nebula"] .cx-card-art .nb-lines { animation: nebulaBreath 4s ease-in-out infinite; }

.cx-card h2 {
  margin: 8px 0 0;
  font-size: clamp(21px, 1.55vw, 24px);
  font-weight: 600;
  letter-spacing: -.2px;
  line-height: 1.35;
  color: var(--title);
  position: relative;
  z-index: 1;
}
.cx-card-tagline {
  margin: 10px 0 0;
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.7;
  color: var(--body);
  position: relative;
  z-index: 1;
  padding-right: 104px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cx-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.cx-card-tags span {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
}

/* 底部：状态 + CTA */
.cx-card-status {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13px;
  color: var(--body);
  position: relative;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.cx-card-status .badge {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--deep);
}
.cx-card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep);
  position: relative;
  z-index: 1;
}
.cx-card-more i {
  font-style: normal;
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}
.cx-card:hover .cx-card-more i,
.cx-card:focus-visible .cx-card-more i { transform: translateX(4px); }

/* ---------- 底部说明 ---------- */
.cx-note {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line, #e3e9f2);
  box-shadow: var(--shadow-sm);
}
.cx-note p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.cx-note a {
  color: var(--gold-deep);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 138, 61, .4);
}
.cx-note a:hover { border-bottom-color: var(--gold-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .cx-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-card,
  .cx-card:nth-child(4),
  .cx-card:nth-child(5) { grid-column: span 1; }
  .cx-hero h1 { font-size: 32px; }
}
@media (max-width: 620px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-hero { padding: 44px 0 32px; }
  .cx-hero h1 { font-size: 27px; }
  .cx-card { min-height: 0; padding: 24px 22px 22px; }
  .cx-card-tagline { padding-right: 0; }
  .cx-card-art { width: 74px; height: 74px; top: 16px; right: 16px; opacity: .26; }
  .cx-card h2 { margin-top: 46px; }
}

/* ==========================================================================
   课程详情页
   ========================================================================== */
.course-detail { padding-bottom: 30px; }

.cd-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 0 52px;
  border-bottom: 1px solid var(--line, #e3e9f2);
  background-image:
    radial-gradient(120% 100% at 8% -10%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(158deg, var(--c1) 0%, var(--c2) 100%);
}
.cd-hero::after {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  right: -110px; top: -150px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--acc-rgb), .30) 0%, rgba(var(--acc-rgb), 0) 70%);
  filter: blur(62px);
  pointer-events: none;
}
.cd-hero .container { position: relative; z-index: 2; }

.cd-back {
  display: inline-block;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 26px;
}
.cd-back:hover { color: var(--deep); }

.cd-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--deep);
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
}
.cd-hero h1 {
  margin: 18px 0 0;
  font-size: 38px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -.5px;
  color: var(--title);
}
.cd-lead {
  margin: 14px 0 0;
  font-size: 19px;
  color: var(--deep);
  font-weight: 500;
}

.cd-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.cd-facts li {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--chip-line);
}
.cd-facts span {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.cd-facts strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--title);
  line-height: 1.45;
}

.cd-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
/* 深主色起 → 主色止，白字，对比度 ≥6.6:1 */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--deep) 0%, var(--accent) 100%);
  box-shadow: 0 10px 24px -8px rgba(var(--acc-rgb), .55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(var(--acc-rgb), .6); }
.btn-ghost {
  color: var(--deep);
  background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px var(--line-hv);
}
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }

/* ---------- 正文 ---------- */
.cd-body { padding-top: 10px; }
.cd-block { padding: 44px 0; border-bottom: 1px solid var(--line, #e3e9f2); }
.cd-block:last-of-type { border-bottom: 0; }
.cd-block h2 {
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -.3px;
  color: var(--navy-900);
  margin-bottom: 22px;
}
.cd-open {
  font-size: 17px;
  line-height: 1.95;
  color: var(--ink);
  margin-bottom: 16px;
}
.cd-open:last-child { margin-bottom: 0; }

.cd-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cd-card {
  padding: 24px 22px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line, #e3e9f2);
  box-shadow: var(--shadow-sm);
}
.cd-card b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.cd-card p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- 模块 / 时间轴 ---------- */
.cd-tl { display: flex; flex-direction: column; gap: 10px; }
.cd-day {
  font-size: 15px;
  font-weight: 600;
  color: var(--deep);
  padding-top: 14px;
}
.cd-day:first-child { padding-top: 0; }
.cd-item {
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line, #e3e9f2);
}
.cd-item.is-workshop {
  background: linear-gradient(140deg, #ffffff 0%, var(--c1) 100%);
  border-color: var(--line-hv);
}
.cd-no {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--deep);
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  font-variant-numeric: tabular-nums;
}
.cd-item-txt { flex: 1 1 auto; }
.cd-time {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.cd-item b {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.cd-item p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }

/* ---------- 收获 ---------- */
.cd-gain {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  list-style: none;
}
.cd-gain li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line, #e3e9f2);
}
.cd-gain b { font-size: 16px; font-weight: 600; color: var(--deep); white-space: nowrap; }
.cd-gain span { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 适合谁 ---------- */
.cd-fit { padding: 0; margin: 0; list-style: none; display: grid; gap: 10px; }
.cd-fit li {
  position: relative;
  padding: 14px 18px 14px 40px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line, #e3e9f2);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.cd-fit li::before {
  content: "";
  position: absolute;
  left: 18px; top: 22px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.cd-fit li.no::before { background: transparent; box-shadow: inset 0 0 0 2px var(--line-hv); }

/* 体系关联提示 */
.cd-note {
  margin-top: 22px;
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--chip-bg);
  border: 1px solid var(--chip-line);
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--body);
}

/* ---------- FAQ ---------- */
.cd-faq { display: flex; flex-direction: column; gap: 14px; }
.cd-faq .faq-item {
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line, #e3e9f2);
}
.cd-faq .faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
}
.cd-faq .faq-item p { font-size: 15.5px; line-height: 1.85; color: var(--ink-soft); }

/* ---------- 报名区 ---------- */
.cd-enroll {
  margin: 46px 0 10px;
  padding: 40px 36px;
  border-radius: var(--radius);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  box-shadow: var(--shadow);
}
.cd-enroll h2 { font-size: 25px; font-weight: 600; margin-bottom: 12px; }
.cd-enroll p { font-size: 16px; opacity: .88; line-height: 1.8; }
.cd-enroll-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
/* 品牌金 CTA 一律 navy 字（9.96:1）；白字 on gold-deep 仅 2.35:1，禁用 */
.cd-enroll .btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--navy-900);
  box-shadow: 0 10px 26px -8px rgba(255, 138, 61, .6);
}
.cd-enroll .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.cd-enroll .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.cd-contact-line { margin-top: 22px; font-size: 14.5px; opacity: .82; }
.cd-contact-line a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 980px) {
  .cd-facts { grid-template-columns: repeat(2, 1fr); }
  .cd-cards, .cd-gain { grid-template-columns: 1fr; }
  .cd-hero h1 { font-size: 30px; }
}
@media (max-width: 620px) {
  .cd-hero { padding: 24px 0 36px; }
  .cd-hero h1 { font-size: 25px; }
  .cd-lead { font-size: 17px; }
  .cd-facts { grid-template-columns: 1fr; }
  .cd-block { padding: 34px 0; }
  .cd-block h2 { font-size: 23px; }
  .cd-enroll { padding: 30px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .cx-card { transition: box-shadow .2s ease, border-color .2s ease; }
  .cx-card:hover { transform: none; }
  .cx-card::after { transition: opacity .2s ease; }
  .cx-card:hover::after { transform: none; }
  .cx-card-art { transition: opacity .2s ease; }
  .cx-card[data-theme="nebula"] .cx-card-art .nb-lines { animation: none; }
}

/* ==========================================================================
   详情页视觉增强（策凌《课程详情页视觉增强规范 v1》落地）
   原则：模块共用一套光卡语言，差异只在 accent 身份色这一个维度
   ========================================================================== */

/* 正文容器：模块之间留出呼吸 */
.cd-body { display: flex; flex-direction: column; gap: 24px; padding-top: 24px; }

/* ---- Tier A：模块光卡容器（与列表卡片同语言） ---- */
.cd-block {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-image:
    radial-gradient(125% 85% at 18% -12%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(158deg, var(--c1) 0%, var(--c2) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    inset 0 -1px 0 rgba(14, 23, 48, .045),
    inset 0 0 0 1px rgba(255, 255, 255, .50),
    0 1px 2px rgba(14, 23, 48, .04),
    0 8px 20px -6px rgba(14, 23, 48, .08),
    0 22px 44px -18px rgba(14, 23, 48, .14);
}
.cd-block:last-of-type { border-bottom: 1px solid var(--line); } /* 抵消旧 divider 规则 */
.cd-block::after {
  content: ""; position: absolute; pointer-events: none;
  left: -10%; right: -10%; bottom: -30%; height: 60%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(var(--acc-rgb), .13) 0%, rgba(var(--acc-rgb), 0) 70%);
  filter: blur(16px); opacity: .8;
}

/* ---- Tier B：模块身份色（轻 / 中 / 重 三档） ---- */
.cd-block--accent { border-color: var(--line-hv); }
.cd-block--accent::before {
  content: ""; position: absolute; top: 0; left: 24px; right: 24px; height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.cd-block--core {
  border-color: var(--accent); border-width: 1.5px;
  background-image:
    radial-gradient(125% 85% at 18% -12%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(158deg, var(--c1) 0%, rgba(var(--acc-rgb), .06) 100%);
}

/* ---- 模块头：语义图标 + 标题 ---- */
.cd-block__head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cd-block__head h2 { margin-bottom: 0; }
.mod-icon {
  width: 54px; height: 54px; flex: 0 0 auto; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid var(--chip-line);
  display: grid; place-items: center; position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.mod-icon__glyph { width: 30px; height: 30px; }
.mod-icon__glyph path,
.mod-icon__glyph circle,
.mod-icon__glyph rect,
.mod-icon__glyph line { fill: none; stroke: var(--deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Tier C：内部色块（accent-soft / deep 实底） ---- */
.cd-card {
  background: var(--accent-soft);
  border: 1px solid var(--chip-line);
  border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 16px 18px; box-shadow: none;
}
.cd-gain li { background: var(--accent-soft); }
.cd-fit li { background: var(--accent-soft); }
.cd-fit li.no { background: #f1f3f6; color: var(--body); }
.cd-no {
  width: 34px; height: 34px; margin-top: 0; border-radius: 10px;
  background: var(--deep); color: #fff; border: 0; font-size: 14px; font-weight: 700;
}
.faq-item { transition: background .25s ease, border-color .25s ease; }
.faq-item:hover { background: var(--accent-soft); border-color: var(--chip-line); }

/* ---- hero 插画 banner ---- */
.cd-hero__banner {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; margin: 0 0 28px;
  box-shadow: 0 18px 40px -20px rgba(14, 23, 48, .18);
}
.cd-hero__banner img.hero-illu { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- 报名块：明亮方案（替代原深色 navy 块） ---- */
.cd-enroll {
  margin: 0; color: var(--title);
  border: 1.5px solid var(--accent);
  background-image:
    radial-gradient(125% 85% at 18% -12%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(158deg, var(--c1) 0%, rgba(var(--acc-rgb), .10) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 8px 20px -6px rgba(14, 23, 48, .08),
    0 22px 44px -18px rgba(14, 23, 48, .14);
}
.cd-enroll h2 { color: var(--title); }
.cd-enroll p { color: var(--body); opacity: 1; }
.cd-enroll .btn-ghost { background: rgba(255, 255, 255, .8); color: var(--deep); box-shadow: inset 0 0 0 1px var(--line-hv); }
.cd-enroll .btn-ghost:hover { background: #fff; }
