.course-item{position:relative}
.course-item  p{margin:0px}
.course-item .btn,.course-item .badge{position:absolute;bottom:10px;right:10px}
.course-item .buybtn{position:absolute;bottom:50px;right:10px}

.btn2 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600; white-space: nowrap; border: 1px solid transparent;
  transition: all 0.35s var(--ease);
}
.btn--primary {background: linear-gradient(100deg, var(--brand-1), #4f7cff 55%, var(--brand-2));color: #fff;box-shadow: 0 8px 26px -10px rgba(124, 92, 255, 0.9);}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(34, 211, 238, 0.8); }
.btn--ghost { color: var(--muted); }
.btn--ghost:hover { color: var(--text); }
.btn--outline { border-color: var(--line); color: var(--text); background: #ffffff; }
.btn--outline:hover { border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.08); }
.btn--lg { height: 52px; padding: 0 28px; font-size: 15px; }

.card__badge--primary {color: #fff; border-color: transparent;background: linear-gradient(120deg, var(--brand-1), #4f7cff 55%, var(--brand-2));box-shadow: 0 8px 18px -8px rgba(124, 92, 255, 0.8);padding:10px 20px;border-radius: 20px;
}

.chero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 38px; align-items: start; }
.chero__main { min-width: 0; }

.chero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chero__tags li {
  font-size: 12.5px; padding: 4px 11px; border-radius: 999px;
  color: #475569; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.12);
}
.chero__tags .is-cat {
  color: #0b1024; font-weight: 600; border-color: transparent;
  background: linear-gradient(120deg, #22d3ee, #7c5cff);
}
.chero__title {
  font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.28;
  background: linear-gradient(100deg, #0f172a 8%, #4338ca 45%, #0e9fbd 78%, #7c5cff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chero__sub { margin-top: 14px; max-width: 640px; font-size: 15px; line-height: 1.85; color: #5b6478; }

.chero__teacher {
  display: flex; align-items: center; gap: 14px; margin-top: 26px;
  padding: 14px 18px; border-radius: 16px;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -30px rgba(15, 23, 42, 0.5);
}

.chero__avatar {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #06121f;
  background: linear-gradient(140deg, #22d3ee, #7c5cff);
}
.chero__teacher div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.chero__label { font-size: 11.5px; color: #6b7280; }
.chero__teacher b { font-size: 15px; color: #0f172a; }
.chero__teacher i { font-style: normal; font-size: 12.5px; color: #5b6478; }
.chero__tlink { margin-left: auto; font-size: 13px; font-weight: 600; color: #4338ca; white-space: nowrap; }

.chero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(15, 23, 42, 0.12);
}
.chero__stats li { display: flex; flex-direction: column; gap: 4px; text-align:center}
.chero__stats b {
  font-size: 18px; font-weight: 800; line-height: 1;
  background: linear-gradient(100deg, #4338ca, #0e9fbd);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chero__stats span { font-size: 12px; color: #6b7280; }

.chero__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn--light { color: #334155; background: #ffffff; border-color: rgba(15, 23, 42, 0.14); }
.btn--light:hover { color: #0e7490; border-color: rgba(34, 211, 238, 0.6); background: rgba(34, 211, 238, 0.1); }

/* ---------- 封面 ---------- */
.chero__cover { position: sticky; top: 96px; }
.cpic {
  position: relative; aspect-ratio: 14 / 10; border-radius: 20px; overflow: hidden;
  display: grid; place-items: center; gap: 10px; align-content: center;
  color: rgba(226, 232, 240, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 30px 70px -40px rgba(76, 47, 214, 0.9);
}
.cpic::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 28%, transparent 76%);
}


.cpic__meta {
  margin-top: 14px; padding: 16px 18px; border-radius: 16px;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -30px rgba(15, 23, 42, 0.5);
  display: flex; flex-direction: column; gap: 10px;
}
.cpic__meta li { display: flex; gap: 12px; font-size: 13px; }
.cpic__meta b { flex: 0 0 62px; font-weight: 500; color: #6b7280; }
.cpic__meta span { color: #334155; }

.crumb--light { color: #6b7280; }
.crumb--light a { color: #6b7280; }
.crumb--light a:hover { color: #334155; }
.crumb--light em { color: #334155; }

/* ---------- 子导航 ---------- */
.cnav {
  position: sticky; top: 72px; z-index: 20;
  background: rgba(245, 247, 252, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.cnav__inner { display: flex; align-items: center; height: 58px; }
.cnav a {
  position: relative; padding: 8px 4px; margin-right: 24px;
  font-size: 15px; font-weight: 600; color: #5b6478; transition: color 0.3s;
}
.cnav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #22d3ee, #7c5cff);
  transform: scaleX(0); transform-origin: left; transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.cnav a:hover { color: #0f172a; }
.cnav a.is-active { color: #4338ca; }
.cnav a.is-active::after { transform: scaleX(1); }
.cnav__toggle {
  margin-left: auto; padding: 7px 16px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; color: #4338ca;
  background: rgba(124, 92, 255, 0.1); border: 1px solid rgba(124, 92, 255, 0.28); border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cnav__toggle:hover { color: #fff; background: linear-gradient(120deg, #22d3ee, #7c5cff); border-color: transparent; }

/* ---------- 布局 ---------- */
.clayout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding: 44px 0 90px; }
.clayout__main { min-width: 0; display: flex; flex-direction: column; gap: 62px; }
.csec { scroll-margin-top: 140px; }

.cpanel {
  padding: 26px 26px 24px; border-radius: 20px; margin-bottom: 20px;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -28px rgba(15, 23, 42, 0.55);
}
.cpanel h3 { font-size: 16px; margin-bottom: 14px; }
.cpanel p { font-size: 14.5px; line-height: 1.85; color: #475569; }
.cpanel p + p { margin-top: 10px; }

.cgrid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cgrid2 .cpanel { margin-bottom: 0; }
.clist { display: flex; flex-direction: column; gap: 10px; }
.clist li {
  position: relative; padding-left: 18px; font-size: 14px; line-height: 1.8; color: #5b6478;
}
.clist li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%;
  background: linear-gradient(140deg, #22d3ee, #7c5cff);
}

/* 收获 */
.cgain { display: grid; grid-auto-flow: column;grid-template-rows: repeat(3, auto);  gap: 5px; }
/* ---------- 章节列表 ---------- */
.cchap { display: flex; flex-direction: column; gap: 12px; }
.cchap__item {
  border-radius: 16px; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px -28px rgba(15, 23, 42, 0.6);
  transition: border-color 0.35s, box-shadow 0.35s;
}
.cchap__item:hover { border-color: rgba(124, 92, 255, 0.4); box-shadow: 0 18px 38px -28px rgba(124, 92, 255, 0.6); }
.cchap__item.is-open { border-color: rgba(124, 92, 255, 0.45); }

.cchap__head {width: 100%; display: flex; align-items: center;justify-content:space-between;padding: 10px 15px; font-family: inherit; background: transparent; border: 0;}
.cchap__info { min-width: 0; display: flex; align-items:center;gap:12px}
.cchap__info h3 { font-size: 15.5px; font-weight: 600;margin-bottom:0; }
.cchap__info span{background: linear-gradient(100deg, #22d3ee, #7c5cff);-webkit-background-clip: text; background-clip: text; color: transparent;}
.cchap__time span { font-size: 12.5px; color: #6b7280; }
.cchap__arrow {
  margin-left: auto; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: 14px; color: #4338ca;
  background: rgba(124, 92, 255, 0.1);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, color 0.3s;
}
.cchap__item.is-open .cchap__arrow { transform: rotate(45deg); background: rgba(34, 211, 238, 0.18); color: #0e7490; }

.cchap__body { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.cchap__item.is-open .cchap__body { border-top: 1px solid rgba(15, 23, 42, 0.07); }
.cchap__body li {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 20px; font-size: 14px; color: #334155;
  transition: background 0.28s;
}
.cchap__body li:hover { background: rgba(124, 92, 255, 0.05); }
.cchap__idx {
  flex: 0 0 auto; font-size: 12px; font-weight: 600; color: #6b7280;
  min-width: 30px; padding: 2px 6px; border-radius: 6px; text-align: center;
  background: rgba(15, 23, 42, 0.05);
}
.cchap__body b { font-weight: 500; }
.cchap__body i { margin-left: auto; font-style: normal; font-size: 12.5px; color: #6b7280; }
.cchap__body em {
  font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  color: #0e7490; background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.3);
}
.cchap__body li:last-child { padding-bottom: 16px; }

/* ---------- 讲师与评价 ---------- */
.cteacher {
  display: flex; gap: 18px; padding: 24px; border-radius: 20px; margin-bottom: 20px;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -28px rgba(15, 23, 42, 0.55);
}
.cteacher__avatar {
  flex: 0 0 auto; width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #06121f;
  background: linear-gradient(140deg, #22d3ee, #7c5cff);
}
.cteacher__body b { font-size: 16px; }
.cteacher__body i { display: block; margin-top: 4px; font-style: normal; font-size: 13px; color: #6b7280; }
.cteacher__body p { margin-top: 10px; font-size: 14px; line-height: 1.8; color: #5b6478; }
.cteacher__meta { display: flex; gap: 16px; margin-top: 12px; font-size: 12.5px; color: #6b7280; }
.cteacher__meta li { padding: 3px 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.05); }

.creview { display: flex; flex-direction: column; gap: 14px; }
.creview li {
  padding: 20px 22px; border-radius: 18px;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 12px 30px -28px rgba(15, 23, 42, 0.6);
}
.creview__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.creview__head b { font-size: 14px; }
.creview__star { font-size: 13px; color: #f59e0b; letter-spacing: 0.06em; }
.creview__head i { margin-left: auto; font-style: normal; font-size: 12.5px; color: #6b7280; }
.creview p { font-size: 14px; line-height: 1.85; color: #5b6478; }

/* ---------- 侧栏 ---------- */
.caside { position: sticky; top: 148px; display: flex; flex-direction: column; gap: 16px; }
.caside__buy { border-color: rgba(124, 92, 255, 0.3); background: linear-gradient(180deg, #ffffff, #f7f6ff); }
.caside__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.caside__price b { font-size: 28px; font-weight: 800; color: #4338ca; }
.caside__price s { font-size: 13px; color: #9ca3af; }
.caside__price span {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
  color: #b45309; background: rgba(245, 158, 11, 0.14); border: 1px solid rgba(245, 158, 11, 0.34);
}
.caside__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.caside__list li { display: flex; gap: 10px; font-size: 13.5px; }
.caside__list b { flex: 0 0 52px; font-weight: 500; color: #6b7280; }
.caside__list span { color: #334155; }
.caside__buy .btn { width: 100%; }
.caside__buy .btn + .btn { margin-top: 10px; }

.caside__t { display: flex; align-items: center; gap: 12px; }
.caside__t > span {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font-size: 18px; font-weight: 800; color: #4338ca;
  background: rgba(124, 92, 255, 0.1); border: 1px solid rgba(124, 92, 255, 0.22);
}
.caside__t div { display: flex; flex-direction: column; gap: 2px; }
.caside__t b { font-size: 14.5px; }
.caside__t i { font-style: normal; font-size: 12.5px; color: #6b7280; }
.caside__more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: #4338ca; }

.caside__rel { display: flex; flex-direction: column; gap: 14px; }
.caside__rel li {
  padding-bottom: 12px; border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex; flex-direction: column; gap: 4px;
}
.caside__rel li:last-child { border-bottom: 0; padding-bottom: 0; }
.caside__rel b { font-size: 13.8px; font-weight: 500; }
.caside__rel i { font-style: normal; font-size: 12px; color: #6b7280; }

/* ---------- 提示条 ---------- */
.ctoast {
  position: fixed; left: 50%; bottom: 40px; z-index: 200;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: 999px; font-size: 14px; color: #fff;
  background: rgba(15, 23, 42, 0.92); box-shadow: 0 18px 40px -18px rgba(15, 23, 42, 0.8);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ctoast.is-show { opacity: 1; transform: translate(-50%, 0); }

.csec + .csec { margin-top: 78px; }
.csec { scroll-margin-top: 100px; }

/* ---------- 课程集 ---------- */
.ccoll { display: flex; flex-direction: column; gap: 20px; }
.ccoll__item {
  border-radius: 22px; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 40px -30px rgba(15, 23, 42, 0.6);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.ccoll__item:hover { border-color: rgba(124, 92, 255, 0.35); box-shadow: 0 24px 54px -30px rgba(124, 92, 255, 0.65); }
.ccoll__item.is-open { border-color: rgba(124, 92, 255, 0.45); }

.ccoll__head { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; padding: 22px; }
.ccoll__pic {
  position: relative; aspect-ratio: 14 / 10; border-radius: 16px; overflow: hidden;
  display: grid; place-items: center; gap: 8px; align-content: center;
  color: rgba(226, 232, 240, 0.78);
}
.ccoll__pic > span:not(.ccoll__badge) { position: relative; font-size: 11.5px; }
.ccoll__pic img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.ccoll__pic.has-img { background: rgba(15, 23, 42, 0.05); }
.ccoll__pic.has-img::before, .ccoll__pic.has-img svg, .ccoll__pic.has-img > span:not(.ccoll__badge) { display: none; }
.ccoll__badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: #0b1024; background: linear-gradient(120deg, #22d3ee, #7c5cff);
}

.ccoll__info { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ccoll__info h3 { font-size: 19px; line-height: 1.4; display:flex;align-items:center}
.ccoll__info > p { font-size: 14px; line-height: 1.8; color: #5b6478; }
.ccoll__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: #6b7280; }
.ccoll__meta b { color: #0f172a; font-size: 14px; margin-right: 3px; }
.ccoll__foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.ccoll__price { font-size: 22px; font-weight: 800; color: #4338ca; }
.ccoll__price s { margin-left: 8px; font-size: 13px; font-weight: 400; color: #9ca3af; }
.ccoll__more {
  padding: 9px 16px; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 600; color: #4338ca;
  background: rgba(124, 92, 255, 0.08); border: 1px solid rgba(124, 92, 255, 0.24); border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.ccoll__more:hover { color: #fff; background: linear-gradient(120deg, #22d3ee, #7c5cff); border-color: transparent; }

.ccoll__list { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.ccoll__item.is-open .ccoll__list { border-top: 1px solid rgba(15, 23, 42, 0.08); }
.ccoll__list li {
  display: flex; align-items: center; gap: 14px; padding: 14px 26px; font-size: 14px;
  transition: background 0.28s;
}
.ccoll__list li:hover { background: rgba(124, 92, 255, 0.05); }
.ccoll__list span {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #6b7280;
  min-width: 28px; padding: 2px 6px; border-radius: 6px; text-align: center;
  background: rgba(15, 23, 42, 0.05);
}
.ccoll__list b { font-weight: 500; }
.ccoll__list i { margin-left: auto; font-style: normal; font-size: 12.5px; color: #6b7280; }
.ccoll__list a { flex: 0 0 auto; font-size: 12.5px; font-weight: 600; color: #4338ca; }

/* ---------- 工具栏 ---------- */
.ctoolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ctoolbar .nsearch { flex: 1 1 340px; max-width: 480px; }
.ctoolbar__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ctoolbar__sort label { font-size: 13px; color: #6b7280; }
.ctoolbar__sort select {
  height: 44px; padding: 0 32px 0 14px; cursor: pointer;
  font-family: inherit; font-size: 14px; color: #334155;
  background: #ffffff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='1.6'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 12px center / 16px;
  border: 1px solid rgba(15, 23, 42, 0.14); border-radius: 12px;
  appearance: none; -webkit-appearance: none;
}
.ctoolbar__sort select:focus { outline: none; border-color: rgba(124, 92, 255, 0.5); }

.cfilter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.cfilter__label { font-size: 13px; font-weight: 600; color: #6b7280; margin-left: 6px; }
.cfilter__row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 课程卡片 ---------- */
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ccard {
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -28px rgba(15, 23, 42, 0.55);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
}
.ccard:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, 0.4); box-shadow: 0 24px 54px -28px rgba(124, 92, 255, 0.7); }
.ccard.is-hidden { display: none; }

.ccard__pic {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; gap: 6px; align-content: center;
  color: rgba(226, 232, 240, 0.78);
  background:
    radial-gradient(120% 120% at 20% 0%, rgba(124, 92, 255, 0.4), transparent 58%),
    linear-gradient(140deg, #0b1024 0%, #071527 60%, #05070f 100%);
  overflow: hidden;
}
.ccard__pic::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 28%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, #000 28%, transparent 76%);
}
.ccard__pic svg {
  position: relative; width: 30px; height: 30px; fill: none;
  stroke: rgba(34, 211, 238, 0.9); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
.ccard__pic > span:not(.ccard__cat) { position: relative; font-size: 11px; }
.ccard__pic img { position: relative; width: 100%; height: 100%; object-fit: cover; display: block; }
.ccard__pic.has-img { background: rgba(15, 23, 42, 0.05); }
.ccard__pic.has-img::before, .ccard__pic.has-img svg, .ccard__pic.has-img > span:not(.ccard__cat) { display: none; }
.ccard__cat {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: #0b1024; background: linear-gradient(120deg, #22d3ee, #7c5cff);
}
.ccard__badge {
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: #fff; background: linear-gradient(120deg, #22d3ee, #7c5cff);
}

.ccard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; }
.ccard__lv {
  align-self: flex-start; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  color: #4338ca; background: rgba(124, 92, 255, 0.1); border: 1px solid rgba(124, 92, 255, 0.22);
}
.ccard__lv.is-basic { color: #047857; background: rgba(16, 185, 129, 0.1); border-color: rgba(16, 185, 129, 0.28); }
.ccard__lv.is-pro { color: #b45309; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.ccard__body h3 { font-size: 15.5px; line-height: 1.55; }
.ccard__body h3 a { color: inherit; }
.ccard__body h3 a:hover { color: #4338ca; }
.ccard__t { font-size: 12.5px; color: #6b7280; }
.ccard__d { font-size: 13.5px; line-height: 1.75; color: #5b6478; }
.ccard__meta {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; padding-top: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08); font-size: 12.5px; color: #6b7280;
}
.ccard__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.ccard__price { font-size: 18px; font-weight: 800; color: #4338ca; }
.ccard__link { font-size: 13px; font-weight: 600; color: #4338ca; }
.ccard__link:hover { color: #0e7490; }

.cempty { padding: 40px 0; text-align: center; font-size: 14.5px; color: #6b7280; }
.cmore { display: flex; justify-content: center; margin-top: 34px; }

/* ---------- CTA ---------- */
.ccta { padding: 0 0 100px; }
.ccta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b1024 0%, #101a3d 55%, #07202f 100%);
  box-shadow: 0 30px 70px -40px rgba(76, 47, 214, 0.9);
}
.ccta__inner::after {
  content: ""; position: absolute; right: -60px; top: -90px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.26), transparent 68%);
}
.ccta__inner h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.ccta__inner p { margin-top: 10px; max-width: 520px; font-size: 14.5px; line-height: 1.8; color: rgba(226, 232, 240, 0.75); }
.ccta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.ccta__actions .btn--outline { color: #e2e8f0; background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.32); }
.ccta__actions .btn--outline:hover { color: #fff; background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.6); }

.cards {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;}
.sh--stroke .sh__title {
  position: relative;
  background: none;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(15, 23, 42, 0.82);
  text-shadow: 0 0 22px rgba(124, 92, 255, 0.22);
}

/* ---------- 授课专家（大头像 + 信息） ---------- */
.ctea { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ctea__card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 0 0 20px 20px; overflow: hidden;
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 14px 36px -28px rgba(15, 23, 42, 0.55);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.4s;
  margin-top:-50%;padding-top:calc(50% - 40px);
}
.ctea__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, rgba(124, 92, 255, 0.75), transparent 45%, rgba(34, 211, 238, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; z-index: 3; pointer-events: none;
}
.ctea__card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 54px -28px rgba(124, 92, 255, 0.7); }
.ctea__card:hover::before { opacity: 1; }

.ctea__photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: grid; grid-template-areas: "ava" "hint";
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center; gap: 12px;
}

.ctea__photo img {
  grid-area: ava; position: relative; z-index: 1;
  width: 80%; aspect-ratio: 1 / 1; border-radius: 50%; object-fit: cover; display: block;
}
.ctea__photo.has-img { background: radial-gradient(90% 90% at 50% 30%, #f7f6ff 0%, #eefafd 70%, #f4f7fb 100%); }
.ctea__photo.has-img::before, .ctea__photo.has-img .ctea__initial, .ctea__photo.has-img .ctea__hint { display: none; }

.ctea__mask {
  grid-area: ava; z-index: 2;
  width: 68%; aspect-ratio: 1 / 1; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
  background: rgba(11, 16, 36, 0.58);
  opacity: 0; transform: scale(0.94);
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ctea__card:hover .ctea__mask { opacity: 1; transform: scale(1); }

.ctea__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 22px; }
.ctea__body h3 { font-size: 16.5px; }
.ctea__role { font-size: 12.5px; line-height: 1.6; color: #4338ca; }
.ctea__d { font-size: 13.5px; line-height: 1.8; color: #5b6478; }
.ctea__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content:center}
.ctea__tags li {
  font-size: 12px; padding: 3px 10px; border-radius: 999px; color: #475569;
  background: rgba(15, 23, 42, 0.05); border: 1px solid rgba(15, 23, 42, 0.08);
}
.ctea__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12.5px; color: #6b7280;
}
.ctea__foot b { color: #0f172a; font-size: 13.5px; }
.ctea__foot a { font-weight: 600; color: #4338ca; white-space: nowrap; }
.ctea__foot a:hover { color: #0e7490; }

.ctea__join {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: center;
  min-height: 100%; padding: 28px 24px; border-radius: 20px;
  background: linear-gradient(150deg, #f6f5ff, #eefafd);
  border: 1px dashed rgba(124, 92, 255, 0.4);
}
.ctea__join h3 { font-size: 17px; }
.ctea__join p { font-size: 13.5px; line-height: 1.8; color: #5b6478; }
.ctea__join .btn { margin-top: 6px; }

/* ---------- CTA ---------- */
.ccta { padding: 0 0 100px; }
.ccta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: 24px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b1024 0%, #101a3d 55%, #07202f 100%);
  box-shadow: 0 30px 70px -40px rgba(76, 47, 214, 0.9);
}
.ccta__inner::after {
  content: ""; position: absolute; right: -60px; top: -90px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.26), transparent 68%);
}
.ccta__inner h2 { font-size: clamp(22px, 2.6vw, 30px); color: #fff; }
.ccta__inner p { margin-top: 10px; max-width: 520px; font-size: 14.5px; line-height: 1.8; color: rgba(226, 232, 240, 0.75); }
.ccta__actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.ccta__actions .btn--outline { color: #e2e8f0; background: rgba(148, 163, 184, 0.1); border-color: rgba(148, 163, 184, 0.32); }
.ccta__actions .btn--outline:hover { color: #fff; background: rgba(34, 211, 238, 0.14); border-color: rgba(34, 211, 238, 0.6); }
.caside__qr {width: 80%; margin: 16px auto 12px; aspect-ratio: 1; padding: 12px; border-radius: 16px; overflow: hidden; background: #ffffff; box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.9);}
.caside__qr img{width:100%;}

.caside__rel {display: flex;flex-direction: column;gap: 14px;}
.caside__rel li {padding-bottom: 12px;border-bottom: 1px solid rgba(15, 23, 42, 0.08);display: flex;flex-direction: column;gap: 4px;}
.caside__rel li:last-child { border-bottom: 0; padding-bottom: 0; }
.caside__rel a { display: flex; align-items: center; gap: 12px; }
.caside__rel-pic {
  flex: 0 0 76px; width: 76px; aspect-ratio: 14 / 10; border-radius: 10px;
  display: grid; place-items: center; overflow: hidden;
  border: 1px dashed rgba(15, 23, 42, 0.16);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);}
.caside__rel-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.caside__rel-pic:has(img) { border-style: solid; border-color: transparent; }
.caside__rel-pic:has(img) i { display: none; }
.caside__rel a:hover .caside__rel-pic { transform: translateY(-2px); }
.caside__rel-txt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.caside__rel b { font-size: 13.8px; font-weight: 500; transition: color 0.3s; }
.caside__rel a:hover b { color: #4338ca; }
.caside__rel i { font-style: normal; font-size: 12px; color: #6b7280; }


/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .ctea { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ctea { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ctea { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .ccoll__head { grid-template-columns: 1fr; gap: 18px; }
  .ccoll__pic { max-width: 100%; }
}
@media (max-width: 680px) {
  .cpage { padding: 30px 0 70px; }
  .cgrid, .ctea { grid-template-columns: 1fr; }
  .cpage__stat { text-align: left; }
  .ctoolbar .nsearch { max-width: none; flex-basis: 100%; }
  .ctoolbar__sort { margin-left: 0; }
  .ccta__inner { padding: 30px 24px; }
  .ccoll__list li { padding: 12px 18px; flex-wrap: wrap; gap: 8px 12px; }
  .ccoll__list i { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cpage__bg .orb { animation: none; }
}
