/* ============================================================
   中领麒官网改版 · 项目新增样式
   与原站 live.css 配合使用；只包含本项目新增的类（zlq-* / zlq-p 等）
   ============================================================ */

/* 关闭滚动入场依赖：无 JS 时直接呈现 */
.scroll-animate{opacity:1!important;transform:none!important}
.hero-title .title-line{opacity:1!important;transform:none!important;animation:none!important}
.animate-fade-in-up,.animate-fade-in,.animate-slide-in-left,.animate-slide-in-right,.animate-scale-in{opacity:1!important;transform:none!important;animation:none!important}
.title-line-2:empty{display:none}

.zlq-container{max-width:1200px;margin:0 auto;padding:0 24px}

/* 角色入口 */
.zlq-roles{padding:44px 0;background:#fff;border-bottom:1px solid #e5e7eb}
.zlq-roles .zlq-container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.zlq-role{display:flex;flex-direction:column;gap:6px;padding:20px 22px;border:1px solid #e5e7eb;
  border-radius:12px;text-decoration:none;color:inherit;background:#fff;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.zlq-role:hover{border-color:#1648b7;box-shadow:0 10px 26px rgba(22,72,183,.13);transform:translateY(-2px)}
.zlq-role b{font-size:18px;color:#111827;font-weight:700}
.zlq-role span{font-size:13px;color:#6b7280;line-height:1.5}

/* 三层楼 */
.zlq-floors{padding:88px 0;background:#f9fafb}
.zlq-floor-head{text-align:center;margin-bottom:44px}
.zlq-eyebrow{font-size:13px;color:#1648b7;letter-spacing:1.2px}
.zlq-floor-head h2{font-size:40px;margin:10px 0 0;color:#111827;letter-spacing:-.5px}
.zlq-floor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.zlq-floor{background:#fff;border-radius:16px;padding:30px 28px;box-shadow:0 4px 20px rgba(17,24,39,.05)}
.zlq-no{display:block;font-size:40px;font-weight:800;line-height:1;color:#dbeafe;letter-spacing:-1px}
.zlq-floor h3{font-size:20px;margin:10px 0 16px;color:#111827;letter-spacing:-.2px}
.zlq-floor ol{list-style:none;padding:0;margin:0}
.zlq-floor li{font-size:14px;color:#374151;padding:9px 0;border-top:1px solid #f3f4f6;display:flex;gap:12px}
.zlq-floor li b{color:#1648b7;min-width:62px;font-weight:600;flex:0 0 auto}

/* 三级准入 */
.zlq-levels{display:grid;gap:12px;max-width:880px;margin:0 auto}
.zlq-level{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:22px 26px;
  display:flex;gap:18px;align-items:baseline;transition:box-shadow .2s ease,border-color .2s ease}
.zlq-level:hover{border-color:#1648b7;box-shadow:0 10px 26px rgba(22,72,183,.10)}
.zlq-level .zlq-lv{font-size:11px;letter-spacing:1.4px;color:#1648b7;font-weight:700}
.zlq-level b{font-size:20px;color:#111827}
.zlq-level p{margin:0;font-size:14px;color:#6b7280}
.zlq-deliver{max-width:880px;margin:22px auto 0;display:flex;gap:10px;align-items:center;
  justify-content:center;flex-wrap:wrap;font-size:14px;color:#374151}
.zlq-deliver span{border:1px solid #e5e7eb;border-radius:8px;padding:5px 13px;background:#fff}
.zlq-deliver .zlq-deliver-k{border:0;background:transparent;color:#9ca3af;font-size:12px}

@media(max-width:900px){
  .zlq-roles .zlq-container,.zlq-floor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zlq-floor-head h2{font-size:28px}
}
@media(max-width:600px){
  .zlq-roles .zlq-container,.zlq-floor-grid{grid-template-columns:minmax(0,1fr)}
}

/* 三张封面画风不统一，统一成"同一画框"：等比内嵌 + 浅色底 */
.training-cover[data-v-4b258804]{
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #eff6ff !important;
  transform: none !important;
}
.training-visual[data-v-4b258804]{background:#eff6ff}
/* 统一一层极淡的蓝，弱化三张图各自偏色 */
.training-card .training-gradient[data-v-4b258804]{
  background: linear-gradient(180deg, rgba(22,72,183,.06), rgba(22,72,183,.02)) !important;
  opacity: 1 !important;
}

/* 培训：桌面恒定三列（原为 auto-fit minmax(360px)，窗口一窄就掉成 2+1） */
@media (min-width:1025px){
  .training-grid[data-v-4b258804]{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media (min-width:769px) and (max-width:1024px){
  .training-grid[data-v-4b258804]{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

/* 资源库：上线区域三列自适应 */
.zlq-region[data-v-436c5d22]{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  max-width:880px;margin-left:auto !important;margin-right:auto !important;
}
@media (max-width:768px){
  .zlq-region[data-v-436c5d22]{grid-template-columns:minmax(0,1fr) !important}
}

/* 二级小标题：三级准入 / 上线区域 */
.zlq-sub{
  max-width:880px;margin:0 auto 18px;display:flex;align-items:baseline;gap:12px;
  padding-bottom:12px;border-bottom:1px solid #e5e7eb;
}
.zlq-sub:not(:first-of-type){margin-top:56px}
.zlq-sub .zlq-sub-k{font-family:var(--font-mono);font-size:12px;color:#1648b7;font-weight:700;letter-spacing:1px}
.zlq-sub h3{margin:0;font-size:22px;color:#111827;letter-spacing:-.2px}
.zlq-sub .zlq-sub-d{font-size:14px;color:#9ca3af}
.zlq-levels + .zlq-sub{margin-top:56px}

.zlq-products{
  max-width:1040px;margin:0 auto;display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
}
.zlq-p{margin:0;background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;
  transition:border-color .2s ease,box-shadow .2s ease}
.zlq-p:hover{border-color:#1648b7;box-shadow:0 10px 26px rgba(22,72,183,.10)}
.zlq-p-img{display:block;aspect-ratio:4/3;background:#f9fafb;padding:14px;box-sizing:border-box}
.zlq-p-img img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.zlq-p figcaption{padding:12px 14px 14px;font-size:14px;color:#374151;border-top:1px solid #f3f4f6}
@media (max-width:900px){.zlq-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.zlq-products{grid-template-columns:minmax(0,1fr)}}

/* 三级准入横排：01 → 03，从低到高 */
.zlq-levels{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;max-width:1040px;margin:0 auto;
}
.zlq-level{
  display:block !important;
  padding:26px 24px 28px;
  align-items:initial;
  position:relative;
}
.zlq-level .zlq-lv{display:block;margin-bottom:12px;font-size:11px;letter-spacing:1.4px}
.zlq-level b{display:block;font-size:20px;color:#111827;margin-bottom:10px}
.zlq-level p{margin:0;font-size:14px;line-height:1.65;color:#6b7280}
/* 越高越实：第三张稍强 */
.zlq-level:last-child{border-color:#bfdbfe;box-shadow:0 10px 26px rgba(22,72,183,.10)}
@media (max-width:900px){.zlq-levels{grid-template-columns:minmax(0,1fr)}}

.zlq-train{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:24px;
  max-width:1040px;margin:0 auto;align-items:start}
.zlq-next{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px 30px;
  box-shadow:0 10px 28px rgba(17,24,39,.06)}
.zlq-next-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.zlq-tag{font-size:12px;font-weight:700;color:#1648b7;background:#eff6ff;border-radius:6px;padding:4px 10px}
.zlq-pending{font-size:12px;color:#9ca3af;font-family:var(--font-mono)}
.zlq-next h3{margin:0 0 16px;font-size:22px;color:#111827;letter-spacing:-.2px}
.zlq-next-meta{margin:0 0 22px;display:grid;gap:10px}
.zlq-next-meta>div{display:flex;gap:14px;font-size:14px}
.zlq-next-meta dt{color:#9ca3af;width:42px;flex:0 0 auto}
.zlq-next-meta dd{margin:0;color:#374151}
.zlq-links{display:grid;gap:14px}
.zlq-links a{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #e5e7eb;
  border-radius:14px;padding:20px 24px;text-decoration:none;color:inherit;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
.zlq-links a:hover{border-color:#1648b7;box-shadow:0 10px 26px rgba(22,72,183,.10);transform:translateY(-2px)}
.zlq-links b{font-size:18px;color:#111827}
.zlq-links span{font-size:13px;color:#6b7280}
.zlq-note{margin:22px auto 0;max-width:1040px;font-size:13px;color:#9ca3af;text-align:center}
@media (max-width:900px){.zlq-train{grid-template-columns:minmax(0,1fr)}}


/* ===================== 培训专区页 ===================== */
.tp-container{max-width:1040px;margin:0 auto;padding:0 24px}

.tp-head{background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:72px 0 56px}
.tp-eyebrow{margin:0 0 14px;font-size:13px;letter-spacing:1.2px;color:#1648b7}
.tp-title{margin:0 0 14px;font-size:44px;line-height:1.2;color:#111827;letter-spacing:-1px}
.tp-lead{margin:0;max-width:620px;font-size:16px;line-height:1.7;color:#6b7280}

.tp-sec{padding:64px 0}
.tp-alt{background:#f9fafb}

/* 直播卡 */
.tp-live{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:20px}
.tp-live-main{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:30px 32px;
  box-shadow:0 10px 28px rgba(17,24,39,.05)}
.tp-live-main h2{margin:14px 0 18px;font-size:24px;color:#111827;letter-spacing:-.3px}
.tp-meta{margin:0 0 20px;display:grid;gap:10px}
.tp-meta>div{display:flex;gap:16px;font-size:14px}
.tp-meta dt{color:#9ca3af;width:44px;flex:0 0 auto}
.tp-meta dd{margin:0;color:#374151}
.tp-hint{margin:14px 0 0;font-size:12.5px;line-height:1.6;color:#9ca3af}

.tp-live-side{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:26px 28px}
.tp-side-k{font-size:12px;font-weight:700;color:#6b7280;letter-spacing:1px}
.tp-notice{list-style:none;margin:14px 0 0;padding:0}
.tp-notice li{display:flex;flex-direction:column;gap:4px;padding:12px 0;border-top:1px solid #f3f4f6}
.tp-notice b{font-size:14px;color:#111827}
.tp-notice span{font-size:13px;color:#9ca3af}

/* 课程 */
.tp-courses{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:20px}
.tp-course-open{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px 30px}
.tp-course-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.tp-course-head b{font-size:20px;color:#111827}
.tp-badge{font-size:12px;font-weight:700;color:#1648b7;background:#eff6ff;border-radius:6px;padding:3px 9px}
.tp-course-open>p{margin:0 0 16px;font-size:14px;color:#6b7280;line-height:1.65}
.tp-course-list{list-style:none;margin:0;padding:0}
.tp-course-list li{display:flex;gap:14px;align-items:center;padding:13px 0;border-top:1px solid #f3f4f6;
  font-size:14px;color:#374151}
.tp-course-list span{font-family:var(--font-mono);font-size:12px;color:#1648b7}
.tp-course-side{display:grid;gap:16px;align-content:start}
.tp-lock{background:#fff;border:1px dashed #d1d5db;border-radius:14px;padding:22px 24px}
.tp-lock b{display:block;margin-bottom:8px;font-size:15px;color:#374151}
.tp-lock p{margin:0;font-size:13px;line-height:1.65;color:#9ca3af}

/* 三卡 */
.tp-cards-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tp-card{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid #e5e7eb;
  border-radius:14px;padding:24px 26px;text-decoration:none;color:inherit;
  transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
a.tp-card:hover{border-color:#1648b7;box-shadow:0 10px 26px rgba(22,72,183,.10);transform:translateY(-2px)}
.tp-card b{font-size:18px;color:#111827}
.tp-card span{font-size:13px;line-height:1.6;color:#6b7280}
.tp-card em{margin-top:6px;font-style:normal;font-size:12px;color:#9ca3af}

/* 随堂考核：悬停弹出二维码 */
.tp-qr-card{position:relative}
.tp-qr-card:hover,.tp-qr-card:focus{outline:none;border-color:#1648b7;
  box-shadow:0 10px 26px rgba(22,72,183,.10);transform:translateY(-2px)}
.tp-qr-card:focus-visible{outline:2px solid #1648b7;outline-offset:2px}
.tp-qr-pop{position:absolute;left:50%;bottom:calc(100% + 12px);z-index:40;box-sizing:border-box;
  width:220px;padding:10px 10px 8px;background:#fff;border:1px solid #eceff3;border-radius:12px;
  box-shadow:0 18px 44px rgba(17,24,39,.16);
  opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,8px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s}
.tp-qr-pop::after{content:"";position:absolute;left:50%;top:100%;margin-left:-9px;width:0;height:0;
  border-left:9px solid transparent;border-right:9px solid transparent;border-top:9px solid #fff}
.tp-qr-pop img{display:block;width:198px;height:198px;border-radius:8px}
.tp-qr-pop p{margin:6px 0 2px;text-align:center;font-size:12.5px;line-height:1.4;color:#333}
.tp-qr-card:hover .tp-qr-pop,.tp-qr-card:focus .tp-qr-pop,.tp-qr-card:focus-within .tp-qr-pop{
  opacity:1;visibility:visible;transform:translate(-50%,0)}

/* FAQ */
.tp-faq{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px 30px}
.tp-faq-search{display:flex;align-items:center;gap:14px;margin-bottom:20px}
.tp-faq-search input{flex:1;height:44px;border:1px solid #e5e7eb;border-radius:10px;padding:0 16px;
  font-size:14px;color:#374151;background:#f9fafb}
.tp-faq-search input::placeholder{color:#9ca3af}
.tp-faq-search .tp-hint{margin:0;white-space:nowrap}
.tp-faq-chapters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.tp-faq-chapters span{font-size:12.5px;color:#374151;background:#f3f4f6;border-radius:999px;padding:6px 14px}
.tp-faq-list details{border-top:1px solid #f3f4f6;padding:14px 0}
.tp-faq-list summary{cursor:pointer;font-size:15px;color:#111827;list-style:none}
.tp-faq-list summary::-webkit-details-marker{display:none}
.tp-faq-list summary::before{content:"＋";color:#1648b7;margin-right:10px;font-size:13px}
.tp-faq-list details[open] summary::before{content:"－"}
.tp-faq-list p{margin:10px 0 0 24px;font-size:14px;line-height:1.75;color:#6b7280}

/* 客服条 */
.tp-service{padding:8px 0 76px}
.tp-service-inner{background:#1648b7;border-radius:16px;padding:34px 38px;display:flex;
  align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.tp-service-inner b{display:block;font-size:20px;color:#fff;margin-bottom:6px}
.tp-service-inner p{margin:0;font-size:14px;color:rgba(255,255,255,.75)}
.tp-service-btns{display:flex;gap:12px}
.tp-service-btns .btn-primary{background:#fff;color:#1648b7}
.tp-service-btns .btn-secondary{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.45)}

@media (max-width:900px){
  .tp-live,.tp-courses{grid-template-columns:minmax(0,1fr)}
  .tp-cards-3{grid-template-columns:minmax(0,1fr)}
  .tp-title{font-size:30px}
  .tp-faq-search{flex-direction:column;align-items:stretch}
}

/* 首页服务入口与服务介绍 */
.home-service-guide, .home-service-guide ~ section[id] {
  scroll-margin-top: calc(var(--header-height) + 12px);
}
.home-service-guide .zlq-container { display: block; }
.home-service-guide h2, .home-services h2 {
  color: #122741;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0;
}
.home-service-guide h2 { margin-bottom: 20px; }
.home-role-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.home-role-links .zlq-role { position: relative; padding-right: 36px; }
.home-role-links .zlq-role::after {
  content: "→";
  position: absolute;
  right: 16px;
  top: 17px;
  color: #1648b7;
}
.home-role-links .zlq-role:focus-visible, .home-service-link:focus-visible {
  outline: 2px solid #1648b7;
  outline-offset: 4px;
}
.home-services {
  padding: clamp(48px, 7vw, 88px) 0;
  background: #f3f6fb;
  color: #122741;
}
.home-services-heading { margin-bottom: 28px; }
.home-services-heading p { margin: 9px 0 0; color: #475b74; }
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.home-service-card {
  grid-column: span 2;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid #e1e9f2;
  border-radius: 16px;
  background: #fff;
}
.home-service-card h3 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 8px; }
.home-service-card p { margin: 0; color: #475b74; line-height: 1.7; }
.home-service-main {
  grid-column: span 4;
  background: radial-gradient(ellipse at 100% 0%, #193b5e, transparent 68%), #102842;
  color: #fff;
  border-color: #102842;
}
.home-service-main h3 { color: #fff; }
.home-service-main p { color: #d6e4f4; max-width: 42em; }
.home-service-support {
  background: #e7efff;
  border-color: #d9e5fb;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.home-service-support h3 { margin-bottom: 0; }
.home-service-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 21px 0 10px;
  max-width: 38em;
  list-style: none;
}
.home-service-flow li { position: relative; min-width: 0; }
.home-service-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 19px;
  right: 5px;
  height: 2px;
  background: #597fa6;
  pointer-events: none;
}
.home-service-step {
  display: block;
  width: calc(100% - 6px);
  min-height: 52px;
  padding: 5px 4px 4px 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #cfdfef;
  font: 600 .875rem/1.4 var(--font-sans);
  text-align: left;
  cursor: pointer;
}
.home-service-step::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  margin-bottom: 8px;
  border: 2px solid #9dc2e5;
  border-radius: 50%;
}
.home-service-step:hover, .home-service-step[aria-pressed="true"] { color: #fff; }
.home-service-step[aria-pressed="true"]::before {
  border-color: #b2dcff;
  background: #83c6ff;
  box-shadow: 0 0 0 3px #acd7ff2b;
}
.home-service-step:focus-visible { outline: 2px solid #bbd7ff; outline-offset: 3px; }
.home-service-main .home-service-step-detail { min-height: 3em; color: #e4effb; font-size: .9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .home-service-flow.is-in-view li:not(:last-child)::after {
    animation: service-flow-connect .55s ease-out both;
    animation-delay: var(--flow-delay, 0ms);
  }
  .home-service-flow.is-in-view .home-service-step::before {
    animation: service-node-light .65s ease-out both;
    animation-delay: var(--flow-delay, 0ms);
  }
  .home-service-flow li:nth-child(2) { --flow-delay: 320ms; }
  .home-service-flow li:nth-child(3) { --flow-delay: 640ms; }
  .home-service-flow li:nth-child(4) { --flow-delay: 960ms; }
}
@keyframes service-node-light {
  35% { border-color: #dcf0ff; background: #83c6ff; box-shadow: 0 0 0 5px #acd7ff35; }
}
@keyframes service-flow-connect {
  from { transform: scaleX(0); transform-origin: left; background: #a3d5ff; }
  to { transform: scaleX(1); transform-origin: left; }
}
.home-service-card .home-service-link {
  display: inline-block;
  padding-block: 8px;
  margin-top: 12px;
  color: #1648b7;
  font-weight: 600;
}
.home-service-support .home-service-link { margin-top: auto; }
.home-service-card .home-service-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.home-service-main .home-service-link { color: #bbd7ff; }
.home-service-main .home-service-link:focus-visible { outline-color: #bbd7ff; }
@media (max-width: 900px) {
  .home-role-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-service-main { grid-column: span 3; }
  .home-service-support { grid-column: span 3; }
  .home-service-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .home-service-flow li:nth-child(even)::after { display: none; }
}
@media (max-width: 640px) {
  .home-service-guide.zlq-roles { padding: 32px 0; }
  .home-role-links { gap: 10px; }
  .home-role-links .zlq-role { padding: 12px 28px 12px 12px; }
  .home-role-links .zlq-role::after { top: 12px; right: 10px; }
  .home-service-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-service-card { grid-column: auto; }
}

/* ===== 课程区域样式 ===== */
.course-group {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.course-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.course-group-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
}
.course-badge {
  display: inline-block;
  background: #e8f0fe;
  color: #1648b7;
  font-size: 13px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
}
.course-group-desc {
  width: 100%;
  font-size: 14px;
  color: #888;
  margin: 4px 0 0;
}

/* 公开课程 - 横向滚动 */
.course-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-behavior: smooth;
}
.course-row::-webkit-scrollbar {
  height: 6px;
}
.course-row::-webkit-scrollbar-thumb {
  background: #d0d5dd;
  border-radius: 3px;
}

/* 业务操作课程 - 网格 */
.course-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* 课程卡片 */
.course-card {
  flex: 0 0 220px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  background: #f8f9fb;
  border: 1px solid #eef0f4;
  transition: all .25s ease;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(22,72,183,.12);
  border-color: #1648b7;
}
.course-grid .course-card {
  flex: none;
}
.course-thumb {
  position: relative;
  width: 100%;
  height: 130px;
  background: linear-gradient(135deg, #1648b7 0%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.course-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.15) 0%, transparent 60%);
}
.course-grid .course-thumb::after {
  content: '\1F512';
  position: absolute;
  top: 8px;
  right: 10px;
  font-size: 14px;
  z-index: 1;
}
.play-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #1648b7;
  position: relative;
  z-index: 1;
  transition: transform .2s;
}
.course-card:hover .play-icon {
  transform: scale(1.1);
}
.course-num {
  position: absolute;
  top: 8px;
  left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  z-index: 1;
}
.course-info {
  padding: 14px 16px;
}
.course-info b {
  display: block;
  font-size: 15px;
  color: #1a1a2e;
  margin-bottom: 4px;
}
.course-info span {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}

/* 迁移说明 */
.course-migrate {
  margin-top: 24px;
  padding: 20px 24px;
  background: #fff8f0;
  border: 1px dashed #f0c080;
  border-radius: 12px;
}
.course-migrate b {
  display: block;
  font-size: 15px;
  color: #c07020;
  margin-bottom: 6px;
}
.course-migrate p {
  font-size: 13px;
  color: #999;
  margin: 0;
}

/* 视频弹窗 */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,.7);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}
.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.video-modal-title {
  text-align: center;
  color: #fff;
  font-size: 16px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .course-card {
    flex: 0 0 180px;
  }
}

/* ===== 邀请码验证弹窗 ===== */
.access-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(240,243,248,.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.access-modal-box {
  background: #fff;
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
}
.access-modal-logo {
  height: 36px;
  margin-bottom: 24px;
}
.access-modal-title {
  font-size: 28px;
  font-weight: 800;
  color: #0d2b4e;
  margin: 0 0 12px;
}
.access-modal-desc {
  font-size: 14px;
  color: #888;
  margin: 0 0 28px;
  line-height: 1.6;
}
.access-modal-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #e0e4ea;
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
  transition: border-color .2s;
  margin-bottom: 8px;
}
.access-modal-input:focus {
  border-color: #1648b7;
}
.access-modal-error {
  color: #e53e3e;
  font-size: 13px;
  margin: 0 0 8px;
  min-height: 20px;
}
.access-modal-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  background: #0d2b4e;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s;
}
.access-modal-btn:hover {
  background: #1648b7;
}

/* Homepage: service platform overview */
.home-hero { position: relative; background: #0b233a; overflow: hidden; isolation: isolate; }
.home-hero-background, .home-hero-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.home-hero-background img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.home-hero-shade { background: linear-gradient(90deg, #081c31ed 0%, #0b223cd4 30%, #0b223c50 57%, #0b223c08 82%), linear-gradient(0deg, #071b30c9 0%, #071b3000 65%); }
.home-hero, .home-hero * { box-sizing: border-box; }
.home-hero-shell { max-width: 1200px; min-height: 720px; margin: auto; padding: 64px 24px 54px; display: grid; grid-template-columns: 1fr 1.16fr; align-items: end; gap: 48px; }
.home-hero-copy { min-width: 0; padding-bottom: 8px; align-self: center; }
.home-hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 16px; font-weight: 600; letter-spacing: .08em; color: #c3daed; }
.home-hero-kicker::before { content: ""; width: 26px; height: 3px; background: #8bddf5; }
.home-hero h1 { margin: 0 0 20px; font-size: clamp(36px, 3.35vw, 48px); font-weight: 700; line-height: 1.35; letter-spacing: -.025em; color: #ffffff; }
.home-hero-subtitle { margin: 0 0 18px; color: #f0f5fc; font-size: 22px; line-height: 1.7; }
.home-hero-description { margin: 0; max-width: 26em; color: #c7d9ea; font-size: 17px; line-height: 1.9; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.home-hero-actions .btn { min-height: 50px; padding: 12px 22px; font-size: 17px; gap: 12px; border-radius: 6px; }
.home-hero-actions .btn-primary { background: #2463d6; box-shadow: 0 6px 18px #00000020; }
.home-hero-actions .btn-secondary { color: #fff; background: #ffffff0a; border-color: #bdd6eb8c; }
.home-hero-actions svg { width: 18px; height: 18px; }
.home-hero a:focus-visible, .home-hero button:focus-visible { outline: 3px solid #3380cf; outline-offset: 4px; }
.home-hero-stats { display: flex; gap: 30px; padding-top: 28px; margin-top: 30px; border-top: 1px solid #b4cde23d; }
.home-hero-stats > div { display: flex; flex-direction: column; gap: 3px; }
.home-hero-stats strong { font-size: 32px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.home-hero-stats span { color: #c4d7e8; font-size: 15px; }
.hero-platform { position: relative; min-width: 0; background: #0d2b48e8; border-radius: 14px; border: 1px solid #85b3d46b; box-shadow: 0 16px 44px #05152633; overflow: hidden; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-platform-title { margin: 0 0 4px; font-size: 23px; letter-spacing: .035em; font-weight: 600; color: #fff; }
.hero-platform-body { padding: 20px; color: #fff; background: radial-gradient(ellipse at 75% 0, #22577c66, transparent 70%); }
.hero-platform-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.hero-platform-heading > span { font-size: 14px; color: #b6cee2; }
.hero-motion-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 4px; border: 1px solid #6987a4; background: transparent; color: #dbe8f5; font: inherit; font-size: 13px; cursor: pointer; }
.hero-motion-toggle:hover { background: #ffffff14; }
.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle svg { width: 12px; height: 12px; }
.hero-motion-toggle .play-symbol { display: none; }
.hero-motion-toggle[aria-pressed="true"] .play-symbol { display: block; }
.hero-motion-toggle[aria-pressed="true"] .pause-symbol { display: none; }
.hero-platform-flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; --step: 0; }
.hero-platform-line { position: absolute; top: 26px; height: 2px; left: 12.5%; right: 12.5%; background: #466783; pointer-events: none; }
.hero-platform-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: calc(var(--step) * 33.3333%); background: #8bddf5; transition: width .7s ease; box-shadow: 0 0 8px #8bddf540; }
.hero-platform-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0; color: #d8e4ef; background: none; border: 0; font: inherit; font-size: 15px; cursor: pointer; line-height: 1.6; }
.hero-stage-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border: 1px solid #6384a1; border-radius: 12px; background: #193c5d; transition: background .4s, color .4s, box-shadow .4s, border-color .4s; }
.hero-stage-icon svg { width: 26px; height: 26px; }
.hero-platform-step[aria-pressed="true"] { color: #fff; }
.hero-platform-step[aria-pressed="true"] .hero-stage-icon { color: #0a354f; background: #a2e3f1; border-color: #c3f0f7; box-shadow: 0 0 0 5px #8bddf512, 0 0 22px #8bddf528; }
.hero-platform-step:hover .hero-stage-icon { border-color: #bfe9f4; }
.hero-stage-detail { margin: 16px 0 0; border-top: 1px solid #496682; padding-top: 17px; font-size: 15px; color: #d1e1ee; line-height: 1.75; min-height: 44px; }
.hero-platform-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: #b6cee2; font-size: 13px; }
.hero-platform-foot svg { width: 17px; height: 17px; flex-shrink: 0; color: #8bddf5; }
.hero-platform-foot span + span { border-left: 1px solid #54718c; padding-left: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-platform.is-playing .hero-platform-line::after { content: ""; position: absolute; left: 0; top: -2px; width: 22%; height: 5px; border-radius: 4px; background: linear-gradient(90deg, transparent, #b9f1ff, transparent); animation: service-signal 3.8s linear infinite; }
  @keyframes service-signal { from { transform: translateX(-30%); opacity: 0; } 10%, 85% { opacity: 1; } to { transform: translateX(385%); opacity: 0; } }
}
@media (min-width: 1100px) {
  .hero-platform-step { font-size: 16px; }
}
@media (max-width: 1000px) {
  .home-hero-shell { gap: 28px; min-height: 680px; padding-block: 44px; grid-template-columns: 1fr 1.12fr; }
  .home-hero h1 { font-size: 34px; }
  .home-hero-subtitle { font-size: 19px; }
  .home-hero-description { font-size: 16px; }
  .hero-platform-body { padding-inline: 18px; }
  .hero-platform-title { left: 20px; }
  .home-hero-stats { gap: 23px; }
}
@media (max-width: 800px) {
  .home-hero-shell { grid-template-columns: minmax(0, 1fr); min-height: 0; max-width: 640px; padding: 310px 20px 36px; gap: 30px; }
  .home-hero-background { height: 380px; }
  .home-hero-shade { background: linear-gradient(180deg, #0b233a00 90px, #0b233a40 220px, #0b233a 380px); }
  .home-hero-background img { object-position: 85% top; }
  .home-hero-copy { padding-bottom: 0; }
  .home-hero-kicker { margin-bottom: 16px; font-size: 14px; }
  .home-hero h1 { font-size: clamp(29px, 6.4vw, 40px); margin-bottom: 13px; }
  .home-hero-subtitle { font-size: 19px; margin-bottom: 12px; }
  .home-hero-description { max-width: none; }
  .home-hero-actions { margin-top: 23px; }
  .home-hero-stats { margin-top: 25px; padding-top: 21px; gap: 32px; }
  .home-hero-stats strong { font-size: 29px; }
  .hero-platform-step { font-size: 16px; }
  .hero-motion-toggle, .hero-platform-step { min-height: 44px; }
}
@media (max-width: 440px) {
  .hero-platform-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
  .hero-platform-step { flex-direction: row; gap: 8px; font-size: 15px; text-align: left; }
  .hero-stage-icon { width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0; }
  .hero-stage-icon svg { width: 21px; height: 21px; }
  .hero-platform-line { display: none; }
  .hero-platform-body { padding: 22px 16px 20px; }
  .hero-platform-title { font-size: 21px; left: 18px; }
  .hero-platform-heading { margin-bottom: 20px; }
  .hero-stage-detail { min-height: 72px; }
  .hero-platform-foot { font-size: 12px; gap: 8px; margin-top: 8px; }
  .hero-platform-foot span + span { padding-left: 8px; }
}
@media (max-width: 360px) {
  .home-hero-shell { padding-inline: 16px; }
  .home-hero-actions { gap: 10px; }
  .home-hero-actions .btn { padding-inline: 16px; font-size: 16px; }
  .home-hero-stats { gap: 24px; }
  .hero-platform-flow { gap: 18px 10px; }
  .hero-platform-step { font-size: 14px; gap: 6px; }
  .hero-stage-icon { width: 34px; height: 36px; }
  .hero-platform-foot { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-platform-line::before, .hero-stage-icon { transition: none; }
}

/* Staff entry: business overview and guided practice */
.staff-system { padding: 72px 0; background: #f3f7fb; scroll-margin-top: calc(var(--header-height, 64px) + 20px); }
.staff-system, .staff-system * { box-sizing: border-box; }
.staff-system-heading { margin-bottom: 36px; }
.staff-eyebrow { margin: 0 0 12px; color: #315e91; font-size: 15px; font-weight: 600; letter-spacing: .08em; }
.staff-system h2 { margin: 0 0 14px; color: #102e4d; font-size: clamp(28px, 3vw, 36px); line-height: 1.4; }
.staff-system-heading > p:last-child { margin: 0; color: #566c82; font-size: 17px; line-height: 1.7; }
.staff-system-content { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: start; }
.staff-business { min-width: 0; padding-top: 5px; }
.staff-business h3 { margin: 0 0 12px; font-size: 22px; color: #173959; }
.staff-business-list { list-style: none; padding: 0; margin: 0; }
.staff-business-list li { display: flex; gap: 20px; align-items: flex-start; padding: 20px 0; border-bottom: 1px solid #d9e3ec; }
.staff-step-number { padding-top: 2px; color: #6482a0; font-size: 17px; font-variant-numeric: tabular-nums; }
.staff-business h4 { margin: 0 0 5px; color: #193e65; font-size: 19px; font-weight: 600; line-height: 1.5; }
.staff-business-list p { margin: 0; color: #526a7f; font-size: 16px; line-height: 1.75; }
.staff-practice { padding: 30px; background: #fff; border: 1px solid #ccdbeb; border-top: 3px solid #376faf; border-radius: 8px; box-shadow: 0 8px 28px #17395906; }
.staff-practice-label { color: #315e91; font-size: 14px; font-weight: 600; }
.staff-practice h3 { color: #173959; font-size: 23px; line-height: 1.5; margin: 10px 0 14px; }
.staff-practice > p { font-size: 16px; color: #526a7f; line-height: 1.8; margin: 0; }
.staff-practice ul { list-style: none; padding: 0; margin: 17px 0 24px; }
.staff-practice li { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: #34536f; line-height: 1.7; padding: 4px 0; }
.staff-practice li::before { content: ""; width: 5px; height: 5px; flex-shrink: 0; background: #5d8ab9; border-radius: 50%; }
.staff-practice .btn { min-height: 48px; gap: 22px; font-size: 16px; border-radius: 6px; padding-inline: 20px; }
.staff-training-link { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; margin-top: 13px; color: #1c529d; font-size: 16px; font-weight: 600; text-decoration: none; }
.staff-training-link:hover { text-decoration: underline; }
.staff-practice > .staff-access-note { font-size: 13px; color: #687c90; margin-top: 2px; }
.staff-system a:focus-visible { outline: 3px solid #3380cf; outline-offset: 4px; }
#business-courses { scroll-margin-top: calc(var(--header-height, 64px) + 24px); }
@media (max-width: 900px) {
  .staff-system-content { gap: 28px; grid-template-columns: 1fr 1fr; }
  .staff-practice { padding: 24px; }
  .staff-business-list li { gap: 14px; }
}
@media (max-width: 760px) {
  .staff-system { padding: 48px 0; }
  .staff-system-heading { margin-bottom: 28px; }
  .staff-system-content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

/* Subtle homepage background separation */
.home #resource { background: #f6f8fa; }
.home #training { background: #edf2f7; }
.home .home-services { background: #eef2f6; }
