/* ============================================
   蓝豆仔AI科创教育 · 课程详情页共享样式（品牌化升级版）
   9 大板块：品牌化 + 科技感 + 主题色 + 动效
   设计规范：
   - 品牌色：深蓝 #1a365d / 浅蓝 #3182ce / 橙 #ed8936
   - 每课主题色：通过 --cd-theme 变量区分
   - 图标：统一描边 SVG（P0 规则：禁止 emoji 作功能图标）
   - 禁紫粉渐变主视觉 / 禁硬编码颜色
   ============================================ */
:root {
  --cd-navy: #1a365d;
  --cd-blue: #3182ce;
  --cd-orange: #ed8936;
  --cd-ink: #1e293b;
  --cd-sub: #475569;
  --cd-line: #e2e8f0;
  --cd-bg-deep: linear-gradient(160deg, #0a0e27 0%, #0f1b4a 30%, #152c6b 60%, #1a3a8a 100%);
  --cd-grad-line: linear-gradient(90deg, #3b82f6, #8b5cf6, #f59e0b);
  --cd-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 通用容器 */
.cd-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.cd-section { position: relative; overflow: hidden; }
.cd-section-title { font-size: 2rem; font-weight: 900; margin: 0; letter-spacing: 1px; color: var(--cd-ink); }
.cd-section-sub { font-size: 1rem; color: var(--cd-sub); letter-spacing: 2px; margin: 10px 0 40px; }
.cd-section-center { text-align: center; }

/* 板块标题区（图标 + 标题） */
.cd-section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cd-head-center { justify-content: center; }
.cd-head-light .cd-section-title { color: #fff; }
.cd-head-light .cd-section-sub { color: rgba(255,255,255,.75); }
.cd-ico { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: linear-gradient(135deg, var(--cd-blue), var(--cd-orange)); box-shadow: 0 6px 18px rgba(49,130,206,.3); }
.cd-ico svg { width: 26px; height: 26px; stroke: #fff; }

/* ===== 全局滚动进度条 ===== */
.cd-scrollbar { position: fixed; top: 0; left: 0; height: 4px; width: 100%; z-index: 999; background: transparent; pointer-events: none; }
.cd-scrollbar span { display: block; height: 100%; width: 0; background: var(--cd-grad-line); box-shadow: 0 0 8px rgba(139,92,246,.6); transition: width .1s linear; }

/* ===== 星空粒子 ===== */
.cd-stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.cd-stars i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: .4; animation: cdTwinkle 3s ease-in-out infinite; }
@keyframes cdTwinkle { 0%,100% { opacity: .15; transform: scale(.8) translateY(0); } 50% { opacity: .7; transform: scale(1.3) translateY(-4px); } }

/* ===== 光晕 ===== */
.cd-glow { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.cd-glow::before { content:''; position:absolute; width:520px; height:520px; border-radius:50%; left:6%; top:0; background:radial-gradient(circle, rgba(49,130,206,.3), transparent 60%); filter: blur(10px); }
.cd-glow::after { content:''; position:absolute; width:420px; height:420px; border-radius:50%; right:6%; bottom:0; background:radial-gradient(circle, rgba(237,138,54,.18), transparent 55%); filter: blur(8px); }
.cd-glow-exam::before { background: radial-gradient(circle, rgba(139,92,246,.3), transparent 60%); }
.cd-glow-cta::before { background: radial-gradient(circle, rgba(237,138,54,.25), transparent 60%); }

/* ===== 科技网格背景 ===== */
.cd-grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; z-index: 0; }
.cd-grid-light { background-image: linear-gradient(rgba(49,130,206,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(49,130,206,.05) 1px, transparent 1px); }

/* ===== 浮动科技图标 ===== */
.cd-float-icon { position: absolute; opacity: .4; pointer-events: none; animation: cdFloat 5s ease-in-out infinite; z-index: 1; display:flex; }
.cd-float-icon svg { filter: drop-shadow(0 4px 12px rgba(0,0,0,.3)); }
@keyframes cdFloat { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(10deg); } }

/* ===== 波浪过渡 ===== */
.cd-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 3; }
.cd-wave svg { width: 100%; height: 60px; display: block; }

/* ============================================
   板块 1：顶部 Banner
   ============================================ */
.cd-hero { background: var(--cd-bg-deep); min-height: 480px; display: flex; align-items: center; position: relative; overflow: hidden; padding: 110px 0 90px; }
.cd-hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.cd-hero-badges { margin-bottom: 18px; }
.cd-hero-badge { display:inline-flex; align-items:center; gap:6px; padding:7px 18px; border-radius:50px; font-size:.82rem; font-weight:800; color:#fff; backdrop-filter:blur(4px); box-shadow:0 4px 16px rgba(0,0,0,.2); }
.cd-badge-theme { background: linear-gradient(135deg, var(--cd-theme-deep), var(--cd-theme)); box-shadow:0 6px 20px rgba(0,0,0,.3); }
.cd-hero h1 { font-size: 2.7rem; font-weight: 900; color:#fff; margin: 0 0 18px; line-height:1.2; letter-spacing:1px; }
.cd-hero h1 .brand { background: linear-gradient(135deg,#60a5fa,#38bdf8); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.cd-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cd-tag-line { padding: 6px 16px; border-radius: 50px; font-size:.8rem; font-weight:700; color: #ffffff; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.cd-hero-position { font-size: 1.08rem; color: rgba(255,255,255,.88); line-height: 1.85; margin: 0 0 28px; }
.cd-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 按钮 */
.cd-btn-primary { background: linear-gradient(135deg,#ed8936,#f6ad55); box-shadow:0 6px 26px rgba(237,138,54,.5); }
.cd-btn-primary:hover { transform: translateY(-3px) scale(1.04); box-shadow:0 12px 40px rgba(237,138,54,.7); animation: cdBtnGlow 2.2s ease-in-out infinite; }
.cd-btn-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.cd-btn-ghost:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }
.cd-hero-btn { display:inline-flex; align-items:center; gap:8px; padding:14px 32px; border-radius:50px; font-size:1rem; font-weight:700; color:#fff; border:none; cursor:pointer; text-decoration:none; transition:all .3s ease; }
.cd-btn-large { padding: 16px 40px; font-size:1.08rem; }

/* 蓝豆仔 IP 形象 */
.cd-hero-visual { display:flex; align-items:center; justify-content:center; position:relative; min-height: 320px; }
.cd-hero-ipwrap, .cd-cta-ipwrap { position: relative; display: flex; align-items: center; justify-content: center; }
.cd-hero-ip { width: 300px; height: auto; filter: drop-shadow(0 14px 34px rgba(49,130,206,.55)); animation: cdIpFloat 3.5s ease-in-out infinite; position: relative; z-index: 2; }
.cd-ip-glow { position:absolute; bottom: 6px; width: 200px; height: 26px; background: radial-gradient(ellipse, rgba(49,130,206,.5), transparent 70%); filter: blur(6px); }
@keyframes cdIpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ============================================
   板块 2：课程简介
   ============================================ */
.cd-intro { background: linear-gradient(180deg, #f0f7ff 0%, #eaf4ff 40%, #ffffff 100%); padding: 90px 0; }
.cd-intro-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; align-items: center; }
.cd-intro-text { font-size: 1.02rem; color: var(--cd-sub); line-height: 2; text-align: justify; overflow: hidden; }
/* 课程简介重点字高亮：主题色加粗 + 极浅主题色底(10%) + 圆角4px */
.cd-intro-text .cd-hl-key {
  color: var(--cd-theme);
  font-weight: 700;
  background: color-mix(in srgb, var(--cd-theme) 10%, transparent);
  border-radius: 4px;
  padding: 0 3px;
  margin: 0;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
  word-break: break-word;
  max-width: 100%;
}
.cd-intro-stats { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cd-stat-card { background:#fff; border-radius:16px; padding:20px 24px; box-shadow:0 4px 20px rgba(37,99,235,.08); border:1px solid var(--cd-line); display:flex; align-items:center; justify-content:space-between; position:relative; overflow:hidden; animation: cdStatIn .6s ease forwards; opacity:0; animation-delay:var(--s-delay,.0s); }
.cd-stat-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--cd-theme-grad); }
.cd-stat-num { font-size: 1.9rem; font-weight: 900; color: var(--cd-theme-deep); }
.cd-stat-label { font-size:.9rem; color: var(--cd-sub); font-weight:600; }
@keyframes cdStatIn { from { opacity:0; transform: translateX(24px);} to { opacity:1; transform: translateX(0);} }

/* 代码片段装饰 */
.cd-code-deco { position:absolute; font-family: 'Consolas','Courier New',monospace; font-size:.9rem; color:rgba(37,99,235,.35); white-space:nowrap; pointer-events:none; line-height:1.8; z-index:1; text-align:left; }
.cd-code-top { top:34px; right:30px; }
.cd-code-bottom { bottom:30px; left:30px; color: rgba(37,99,235,.28); }

/* 几何装饰 */
.cd-geo-deco { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
.cd-geo-circle { position:absolute; width:180px; height:180px; border-radius:50%; border:3px solid rgba(49,130,206,.12); left:-40px; top:-40px; }
.cd-geo-tri { position:absolute; width:0; height:0; border-left:28px solid transparent; border-right:28px solid transparent; border-bottom:48px solid rgba(237,138,54,.1); right:8%; top:60%; transform: rotate(20deg); }
.cd-geo-line { position:absolute; width:220px; height:3px; background: linear-gradient(90deg, rgba(49,130,206,.1), transparent); right:4%; top:18%; }
.cd-geo-square { position:absolute; width:70px; height:70px; border:3px solid rgba(139,92,246,.12); right:-20px; bottom:14%; transform: rotate(30deg); }
.cd-geo-right { transform: scaleX(-1); }

/* 点阵装饰 */
.cd-dots-deco { position:absolute; inset:0; pointer-events:none; opacity:.35; z-index:0; background-image: radial-gradient(rgba(49,130,206,.4) 2px, transparent 2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse at 85% 20%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 85% 20%, #000 0%, transparent 60%); }

/* ============================================
   板块 3：课程内容大纲（时间轴）
   ============================================ */
.cd-outline { background: #fff; padding: 90px 0; }
.cd-timeline { position: relative; max-width: 920px; margin: 20px auto 0; padding: 20px 0; }
.cd-timeline-line { content:''; position:absolute; left:50%; top:0; bottom:0; width:4px; transform:translateX(-50%); background: linear-gradient(180deg,#22c55e,#3b82f6,#f59e0b,#ef4444); border-radius:2px; }
.cd-timeline-flow { position:absolute; left:50%; top:0; width:4px; height:80px; transform:translateX(-50%); background:linear-gradient(180deg, transparent, #fff, transparent); animation: cdFlow 3s linear infinite; z-index:1; }
@keyframes cdFlow { 0% { top:-10%; opacity:0; } 20% { opacity:1; } 100% { top:100%; opacity:0; } }
.cd-stage { display:flex; align-items:flex-start; margin-bottom: 40px; position:relative; width:50%; padding: 0 44px 0 0; }
.cd-stage.stage-right { margin-left:50%; padding: 0 0 0 44px; }
.cd-stage-dot { position:absolute; top:26px; width:22px; height:22px; border-radius:50%; z-index:3; box-shadow:0 0 0 6px rgba(255,255,255,.95), 0 2px 12px rgba(0,0,0,.18); }
.cd-stage.stage-left .cd-stage-dot { right:-11px; }
.cd-stage.stage-right .cd-stage-dot { left:-11px; }
.cd-stage-card { background:#fff; border-radius:16px; padding:22px 24px; box-shadow:0 4px 20px rgba(0,0,0,.05); border:1px solid #eef2f7; transition:all .3s ease; position:relative; overflow:hidden; }
.cd-stage-bar { position:absolute; left:0; top:0; bottom:0; width:4px; transition:all .3s ease; }
.cd-stage-card:hover { transform: translateY(-8px); box-shadow:0 14px 36px rgba(37,99,235,.15); }
.cd-stage-card:hover .cd-stage-bar { box-shadow:0 0 14px rgba(37,99,235,.7); }
.cd-stage-headrow { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; }
.cd-stage-card h3 { font-size:1.15rem; font-weight:800; margin:0; color:var(--cd-ink); }
.cd-stage-range { font-size:.72rem; font-weight:800; padding:4px 12px; border-radius:50px; white-space:nowrap; }
.cd-stage-card ul { list-style:none; padding:0; margin:0; }
.cd-stage-card ul li { font-size:.88rem; color:var(--cd-sub); line-height:2; padding-left:24px; position:relative; }
.cd-check { position:absolute; left:0; top:6px; display:inline-flex; }

/* ============================================
   板块 4：考级与赛事对接（深蓝）
   ============================================ */
.cd-exam { background: var(--cd-bg-deep); padding: 90px 0; }
.cd-exam .cd-section-sub { color: rgba(255,255,255,.7); }
.cd-exam-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; position:relative; z-index:2; }
.cd-exam-col { background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:18px; padding:28px; backdrop-filter:blur(6px); transition:all .3s ease; opacity:0; transform: translateY(30px); animation: cdColIn .6s ease forwards; animation-delay:var(--ex-delay,.0s); }
.cd-exam-col:hover { transform: translateY(-8px); background:rgba(255,255,255,.1); box-shadow:0 14px 40px rgba(0,0,0,.3); }
@keyframes cdColIn { from { opacity:0; transform: translateY(30px);} to { opacity:1; transform: translateY(0);} }
.cd-exam-col .col-icon { width:58px; height:58px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:16px; box-shadow:0 4px 14px rgba(0,0,0,.15); }
.cd-exam-col h3 { color:#fff; font-size:1.15rem; font-weight:800; margin-bottom:14px; }
.cd-exam-col ul { list-style:none; padding:0; margin:0; }
.cd-exam-col ul li { color:rgba(255,255,255,.82); font-size:.85rem; line-height:2; position:relative; padding-left:22px; }
.cd-exam-mark { position:absolute; left:0; top:9px; width:8px; height:8px; border-radius:50%; background: var(--cd-orange); }
.cd-exam-col ul li.core { color:#fff; font-weight:700; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:10px; padding:4px 10px 4px 30px; margin:3px 0; }
.cd-core-badge { display:inline-block; font-size:.66rem; font-weight:800; color:#fff; background: linear-gradient(135deg,#ed8936,#f6ad55); padding:2px 9px; border-radius:20px; margin-left:8px; vertical-align:middle; box-shadow:0 0 12px rgba(237,138,54,.5); animation: cdCorePulse 2s ease-in-out infinite; }
@keyframes cdCorePulse { 0%,100% { box-shadow:0 0 6px rgba(237,138,54,.4); } 50% { box-shadow:0 0 18px rgba(237,138,54,.8); } }

/* 赛事 logo 墙 */
.cd-exam-logo-wall { margin-top: 46px; text-align:center; position:relative; z-index:2; }
.cd-exam-logo-wall .wall-title { color:rgba(255,255,255,.6); font-size:.85rem; margin-bottom:16px; letter-spacing:2px; }
.cd-logo-wall { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; }
.cd-logo-wall span { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); color:#fff; font-size:.78rem; font-weight:700; padding:9px 18px; border-radius:50px; transition:all .3s ease; }
.cd-logo-wall span svg { color: var(--cd-orange); }
.cd-logo-wall span:hover { background:rgba(49,130,206,.3); transform: translateY(-3px) scale(1.05); }
.cd-logo-wall .logo-core { background: rgba(255,255,255,.12); border-color: var(--cd-orange); box-shadow:0 0 16px rgba(237,138,54,.3); }

/* ============================================
   板块 5：配套资源（SVG图标网格）
   ============================================ */
.cd-resource { background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 60%); padding: 90px 0; }
.cd-resource-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; position:relative; z-index:2; }
.cd-resource-card { background:#fff; border-radius:18px; padding:26px 20px; text-align:center; border:1px solid var(--cd-line); box-shadow:0 4px 16px rgba(0,0,0,.04); transition:all .3s ease; opacity:0; transform: translateY(30px); animation: cdColIn .6s ease forwards; animation-delay:var(--rs-delay,.0s); }
.cd-resource-card:hover { transform: translateY(-8px); box-shadow:0 14px 36px rgba(37,99,235,.12); }
.cd-resource-card .rc-icon { width:64px; height:64px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; transition:all .3s ease; box-shadow:0 4px 12px rgba(0,0,0,.08); }
.cd-resource-card:hover .rc-icon { transform: scale(1.2) rotate(15deg); }
.cd-resource-card h3 { font-size:1rem; font-weight:800; margin-bottom:6px; color:var(--cd-ink); }
.cd-resource-card p { font-size:.84rem; color:var(--cd-sub); line-height:1.6; }

/* ============================================
   板块 6：课程亮点（2x2 卡片）
   ============================================ */
.cd-highlight { background: linear-gradient(180deg, #f0f7ff 0%, #f7fbff 50%, #ffffff 100%); padding: 90px 0; position:relative; }
/* 亮点板块背景装饰 */
.cd-hl-bg { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
.cd-hl-bg-circle { position:absolute; width:260px; height:260px; border-radius:50%; border:3px solid rgba(49,130,206,.10); right:-40px; top:40px; animation: cdHlFloat 6s ease-in-out infinite; }
.cd-hl-bg-circle::after { content:''; position:absolute; inset:20px; border-radius:50%; border:2px dashed rgba(139,92,246,.12); }
.cd-hl-bg-square { position:absolute; width:80px; height:80px; border:3px solid rgba(237,138,54,.14); left:6%; bottom:18%; transform: rotate(30deg); animation: cdHlSpin 12s linear infinite; }
.cd-hl-bg-dot { position:absolute; width:14px; height:14px; border-radius:50%; }
.cd-hl-bg-dot.d1 { left:12%; top:16%; background: rgba(49,130,206,.15); animation: cdHlFloat 5s ease-in-out infinite; }
.cd-hl-bg-dot.d2 { right:16%; top:30%; width:9px; height:9px; background: rgba(237,138,54,.18); animation: cdHlFloat 6.5s ease-in-out infinite .5s; }
.cd-hl-bg-dot.d3 { left:22%; bottom:12%; width:8px; height:8px; background: rgba(139,92,246,.16); animation: cdHlFloat 7s ease-in-out infinite 1s; }
.cd-hl-bg-dot.d4 { right:10%; bottom:30%; width:12px; height:12px; background: rgba(34,211,238,.16); animation: cdHlFloat 5.5s ease-in-out infinite .8s; }
@keyframes cdHlFloat { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-12px) translateX(6px); } }
@keyframes cdHlSpin { from { transform: rotate(30deg); } to { transform: rotate(390deg); } }
/* 虚线网格背景 */
.cd-hl-gridline { position:absolute; inset:0; pointer-events:none; z-index:0; opacity:.5; background-image: repeating-linear-gradient(0deg, rgba(224,232,240,.6) 0px, rgba(224,232,240,.6) 1px, transparent 1px, transparent 46px), repeating-linear-gradient(90deg, rgba(224,232,240,.6) 0px, rgba(224,232,240,.6) 1px, transparent 1px, transparent 46px); background-size:46px 46px; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%); }

.cd-highlight-grid { display:grid; grid-template-columns: repeat(2,1fr); gap:24px; position:relative; z-index:2; }
/* 标题区 */
.cd-hl-head { display:flex; align-items:center; justify-content:center; gap:20px; flex-wrap:wrap; margin-bottom:10px; }
.cd-hl-head-left { display:flex; align-items:center; gap:14px; }
.cd-hl-ip { width:54px; height:54px; object-fit:contain; filter: drop-shadow(0 4px 12px rgba(49,130,206,.3)); animation: cdIpFloat 3.5s ease-in-out infinite; }
.cd-hl-title { background: linear-gradient(135deg,#1a365d,#3182ce); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.cd-hl-sub { margin-bottom:0; }
.cd-hl-chip { display:inline-flex; align-items:center; gap:8px; padding:8px 20px; border-radius:50px; font-size:.85rem; font-weight:800; color:#fff; background: linear-gradient(135deg,#ed8936,#f6ad55); box-shadow:0 6px 18px rgba(237,138,54,.35); }

/* 卡片 */
.cd-hl-card { background:#fff; border-radius:20px; padding:28px 26px 24px 28px; border:1px solid #eef2f7; box-shadow:0 4px 20px rgba(0,0,0,.08); display:flex; gap:20px; align-items:flex-start; position:relative; overflow:hidden; transition:all .3s ease; opacity:0; transform: translateY(30px); animation: cdColIn .6s ease forwards; animation-delay:var(--hl-delay,.0s); }
/* 左侧主题渐变竖线 */
.cd-hl-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--cd-theme-grad); transition:all .3s ease; }
.cd-hl-card:hover { transform: translateY(-10px); box-shadow:0 12px 40px rgba(0,0,0,.15); background: linear-gradient(135deg, var(--cd-theme-light), #fff); }
.cd-hl-card:hover::before { box-shadow:0 0 18px var(--cd-theme); }
/* 大数字编号 */
.cd-hl-num { position:absolute; top:6px; right:16px; font-size:80px; font-weight:900; line-height:1; color:var(--cd-theme); opacity:.1; pointer-events:none; transition:all .3s ease; font-family: var(--cd-font); }
.cd-hl-card:hover .cd-hl-num { opacity:.22; }
/* 图标圆形 */
.cd-hl-card .hl-icon { width:80px; height:80px; border-radius:50%; flex-shrink:0; display:flex; align-items:center; justify-content:center; background: var(--cd-theme-grad); box-shadow:0 8px 24px rgba(0,0,0,.16); transition:all .3s ease; position:relative; z-index:1; }
.cd-hl-card:hover .hl-icon { transform: scale(1.2) rotate(15deg); box-shadow:0 12px 30px var(--cd-theme); }
.cd-hl-card .hl-body { flex:1; position:relative; z-index:1; }
.cd-hl-card h3 { font-size:1.2rem; font-weight:800; margin-bottom:8px; color:var(--cd-ink); }
.cd-hl-desc { font-size:.9rem; color:var(--cd-sub); line-height:1.8; margin:0 0 12px; }
/* 关键词标签 */
.cd-hl-tags { display:flex; flex-wrap:wrap; gap:8px; }
.cd-hl-tag { display:inline-block; font-size:.72rem; font-weight:700; color:var(--cd-theme-deep); background:var(--cd-theme-light); padding:4px 12px; border-radius:12px; line-height:1.4; }
/* 推荐卡片：橙色渐变边框 */
.cd-hl-card.hl-core { border:1px solid transparent; background: linear-gradient(#fff,#fff) padding-box, linear-gradient(135deg,#f97316,#f6ad55) border-box; box-shadow:0 8px 30px rgba(237,138,54,.18); }
.cd-hl-card.hl-core:hover { background: linear-gradient(135deg, var(--cd-theme-light), #fff) padding-box, linear-gradient(135deg,#f97316,#f6ad55) border-box; }
/* 推荐标签（升级：带星标图标） */
.hl-core-badge { position:absolute; top:14px; right:70px; z-index:2; display:inline-flex; align-items:center; gap:5px; font-size:.7rem; font-weight:800; color:#fff; background: linear-gradient(135deg,#ed8936,#f6ad55); padding:5px 12px; border-radius:12px; box-shadow:0 4px 14px rgba(237,138,54,.45); animation: cdCorePulse 2s ease-in-out infinite; }
.hl-core-badge svg { display:inline-block; }

/* ============================================
   板块 7：学员作品与成果
   ============================================ */
.cd-work { background: linear-gradient(180deg, #f0f7ff 0%, #eaf4ff 40%, #ffffff 100%); padding: 90px 0; }
.cd-work-grid { display:grid; grid-template-columns: 1.4fr 1fr; gap:40px; align-items:center; position:relative; z-index:2; }
.cd-work-gallery { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.cd-work-item { aspect-ratio: 1; border-radius:14px; overflow:hidden; background: linear-gradient(135deg,#dbeafe,#93c5fd); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; transition:all .3s ease; opacity:0; transform: scale(.9); animation: cdWkIn .5s ease forwards; animation-delay:var(--wk-delay,.0s); }
.cd-work-item:hover { transform: scale(1.05); box-shadow:0 10px 30px rgba(37,99,235,.25); }
@keyframes cdWkIn { from { opacity:0; transform: scale(.9);} to { opacity:1; transform: scale(1);} }
.cd-work-name { font-size:.74rem; font-weight:700; color:#334155; background: rgba(255,255,255,.7); padding:2px 10px; border-radius:20px; }
.cd-work-dashboard { display:grid; grid-template-columns: repeat(2,1fr); gap:16px; }
.cd-work-num { background:#fff; border-radius:18px; padding:22px; text-align:center; box-shadow:0 4px 16px rgba(0,0,0,.05); border:1px solid var(--cd-line); transition:all .3s ease; opacity:0; transform: translateY(24px); animation: cdColIn .6s ease forwards; animation-delay:var(--wrk-delay,.0s); }
.cd-work-num:hover { transform: translateY(-6px); box-shadow:0 12px 30px rgba(37,99,235,.12); }
.cd-work-num-val { font-size:2.3rem; font-weight:900; color: var(--cd-theme-deep); }
.cd-work-num-label { font-size:.84rem; color:var(--cd-sub); margin-top:6px; font-weight:600; }
.cd-progress { margin-top:10px; height:8px; border-radius:20px; background:#e2e8f0; overflow:hidden; }
.cd-progress span { display:block; height:100%; border-radius:20px; background: var(--cd-theme-grad); transition: width 1.6s ease; }

/* 滚动喜报条 */
.cd-work-marquee { margin-top:40px; overflow:hidden; background:#fff; border-radius:14px; padding:16px; box-shadow:0 4px 16px rgba(0,0,0,.05); border:1px solid var(--cd-line); position:relative; z-index:2; }
.cd-work-marquee-inner { display:flex; gap:24px; animation:cdMarquee 24s linear infinite; width: max-content; }
.cd-work-marquee:hover .cd-work-marquee-inner { animation-play-state: paused; }
.cd-work-marquee span { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; font-size:.85rem; color:var(--cd-sub); padding:7px 18px; background:var(--cd-theme-light); border-radius:50px; font-weight:600; }
.cd-mq-flag { width:8px; height:8px; border-radius:50%; background: var(--cd-theme); box-shadow:0 0 8px var(--cd-theme); flex-shrink:0; }
@keyframes cdMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================
   板块 8：FAQ（手风琴）
   ============================================ */
.cd-faq { background: #fff; padding: 90px 0; position: relative; }
.cd-faq-deco { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
.cd-faq-mark { position:absolute; top:14%; left:7%; font-size: 5rem; color: rgba(37,99,235,.08); font-weight:900; }
.cd-faq-mark::after { content: '?'; }
.cd-faq-bulb { position:absolute; bottom:16%; right:10%; width:60px; height:60px; border-radius:50%; background: radial-gradient(circle, rgba(237,138,54,.18), transparent 70%); }
.cd-faq-ip { position:absolute; right: 4%; top: 60%; width: 110px; opacity:.85; pointer-events:none; z-index:0; animation: cdIpFloat 3.5s ease-in-out infinite; }
.cd-faq-ip img { width:100%; height:auto; filter: drop-shadow(0 6px 16px rgba(49,130,206,.3)); }
.cd-faq .cd-container { position:relative; z-index:2; }
.cd-faq-item { background:#fff; border:1px solid #eef2f7; border-radius:14px; margin-bottom:12px; overflow:hidden; position:relative; transition:all .3s ease; box-shadow:0 2px 10px rgba(0,0,0,.03); }
.cd-faq-item::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; background: var(--cd-theme-grad); opacity:.6; transition:all .3s ease; }
.cd-faq-q { display:flex; align-items:center; gap:14px; padding:20px 24px; cursor:pointer; font-weight:800; font-size:1rem; color:var(--cd-ink); }
.cd-faq-q .q-icon { width:36px; height:36px; border-radius:10px; background: var(--cd-theme-light); display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all .3s ease; }
.cd-faq-qtext { flex:1; }
.cd-faq-q .arrow { margin-left:auto; transition:transform .3s ease; display:flex; flex-shrink:0; }
.cd-faq-item.open .arrow { transform: rotate(180deg); }
.cd-faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.cd-faq-a p { padding: 0 24px 20px 74px; font-size:.92rem; color:var(--cd-sub); line-height:1.9; margin:0; }
.cd-faq-item.open { border-color: rgba(37,99,235,.25); background: var(--cd-theme-light); box-shadow:0 8px 26px rgba(37,99,235,.1); }
.cd-faq-item.open::before { box-shadow:0 0 14px var(--cd-theme); opacity:1; }
.cd-faq-item.open .q-icon { background: var(--cd-theme-grad); }
.cd-faq-item.open .q-icon svg { stroke:#fff; }
.cd-faq-item.open .q-icon svg path, .cd-faq-item.open .q-icon svg circle { stroke:#fff; }

/* ============================================
   板块 9：底部 CTA
   ============================================ */
.cd-cta { background: var(--cd-bg-deep); padding: 90px 0; position: relative; overflow: hidden; }
.cd-cta-inner { display:grid; grid-template-columns: 1fr 1.3fr; gap:48px; align-items:center; position:relative; z-index:2; }
.cd-cta-ip { text-align:center; }
.cd-cta-ip img { width: 280px; height:auto; filter: drop-shadow(0 12px 36px rgba(49,130,206,.6)); animation: cdIpFloat 3.5s ease-in-out infinite; }
.cd-cta-content { color:#fff; }
.cd-cta-content h2 { font-size: 2.4rem; font-weight:900; margin: 0 0 14px; }
.cd-cta-content h2 .free { color:#ed8936; text-shadow:0 0 20px rgba(237,138,54,.5); }
.cd-cta-content p { color:rgba(255,255,255,.82); font-size:1.02rem; line-height:1.85; margin-bottom: 26px; }
.cd-cta-contact { display:flex; gap:16px; margin-bottom:26px; flex-wrap:wrap; }
.cd-contact-item { display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); padding:10px 18px; border-radius:50px; font-size:.92rem; font-weight:700; transition:all .3s ease; }
.cd-contact-item:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.cd-cta-badges { display:flex; gap:10px; flex-wrap:wrap; margin-top:26px; }
.cd-cta-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.14); padding:8px 16px; border-radius:50px; font-size:.8rem; font-weight:700; transition:all .3s ease; }
.cd-cta-badge:hover { background: rgba(237,138,54,.25); border-color: var(--cd-orange); transform: translateY(-3px); }

/* ===== 滚动入场动画 ===== */
.cd-reveal { opacity:0; transform: translateY(44px); transition: opacity .6s cubic-bezier(.25,.46,.45,.94), transform .6s cubic-bezier(.25,.46,.45,.94); }
.cd-reveal.visible { opacity:1; transform: translateY(0); }

/* ===== 按钮呼吸发光 ===== */
@keyframes cdBtnGlow {
  0%,100% { box-shadow:0 6px 26px rgba(237,138,54,.5), 0 0 0 0 rgba(237,138,54,.4); }
  50% { box-shadow:0 6px 30px rgba(237,138,54,.65), 0 0 26px 4px rgba(237,138,54,.35); }
}

/* ============================================
   响应式
   ============================================ */
@media (max-width: 1080px) {
  .cd-faq-ip { width: 90px; }
}
@media (max-width: 980px) {
  .cd-hero-inner, .cd-intro-grid, .cd-work-grid, .cd-cta-inner { grid-template-columns: 1fr; }
  .cd-hero-visual { min-height: 240px; }
  .cd-hero-ip { width: 240px; }
  .cd-cta-ip img { width: 220px; }
  .cd-exam-grid, .cd-resource-grid { grid-template-columns: repeat(2,1fr); }
  .cd-timeline-line, .cd-timeline-flow { left: 20px; }
  .cd-stage, .cd-stage.stage-right { width: 100%; margin-left: 0; padding: 0 0 0 52px; }
  .cd-stage .cd-stage-dot, .cd-stage.stage-left .cd-stage-dot, .cd-stage.stage-right .cd-stage-dot { left: 9px; right:auto; }
  .cd-hero h1 { font-size: 2.1rem; }
  .cd-section-title { font-size: 1.7rem; }
  .cd-code-top { top: 16px; right: 14px; font-size: .68rem; }
}
@media (max-width: 640px) {
  .cd-hero h1 { font-size: 1.75rem; }
  .cd-hero-actions { flex-direction: column; align-items: stretch; }
  .cd-hero-btn { justify-content: center; }
  .cd-exam-grid, .cd-resource-grid, .cd-highlight-grid, .cd-work-dashboard { grid-template-columns: 1fr; }
  .cd-hero-ip { width: 190px; }
  .cd-cta-ip img { width: 180px; }
  .cd-work-gallery { grid-template-columns: repeat(2,1fr); }
  .cd-section-title { font-size: 1.5rem; }
  .cd-faq-ip { display: none; }
  .cd-intro-stats { gap: 12px; }
  .cd-stat-card { padding: 16px 18px; }
  .cd-stat-num { font-size: 1.5rem; }
  .cd-code-deco { display: none; }
  .cd-float-icon { opacity: .3; }
  .cd-cta-contact { flex-direction: column; align-items: stretch; }
  /* 亮点板块移动端 */
  .cd-hl-head { flex-direction: column; gap: 12px; }
  .cd-hl-ip { width: 46px; height: 46px; }
  .cd-hl-card { padding: 22px 18px 20px 22px; gap: 14px; }
  .cd-hl-card .hl-icon { width: 60px; height: 60px; }
  .cd-hl-num { font-size: 56px; top: 4px; right: 12px; }
  .hl-core-badge { right: 44px; top: 10px; }
  .cd-hl-desc { font-size: .85rem; }
}
