/* ============================================
   Support Index 页面专属样式
   ============================================ */

/* 变量定义 */
:root {
  --sp-primary: #0099F2;
  --sp-primary-dark: #0066CC;
  --sp-text-dark: #222222;
  --sp-text-gray-09: #464E66;
  --sp-text-gray-07: #595959;
  --sp-text-gray-10: #0D1933;
  --sp-text-light: #999999;
  --sp-bg-light: #F5F7FA;
  --sp-bg-white: #FFFFFF;
  --sp-border: #E5E5E5;
  --sp-container-width: 1226px;
  --sp-btn-bg-normal:rgba(0, 153, 242, 1);
  --sp-btn-bg-hover:rgba(67, 183, 246, 1);
  --sp-btn-bg-active:rgba(0, 125, 198, 1);
}

/* ============================================
   通用容器
   ============================================ */
.sp-container {
  font-family: Alibaba PuHuiTi;
  width: var(--sp-container-width);
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ============================================
   按钮通用样式
   ============================================ */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: 64px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  min-width: 120px;
  color: rgba(255, 255, 255, 1);
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;

}

.sp-btn-white {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 1);
  background-color: transparent;
  border-radius: 109px;
  gap: 4px;
  color: #fff;
  text-decoration: none;
}

/* 蓝色主按钮 */
.sp-btn-blue {
  background: #0099F2;
  color: #fff;
}

/* hover：叠加白色遮层变亮（inset 阴影充当遮罩，可平滑过渡） */
.sp-btn-blue:hover {
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.3);
}

/* press：叠加黑色遮层变暗（等效 #007DC6） */
.sp-btn-blue:active {
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.18);
}

/* Play 按钮：hover 整体 60% 透明 */
.sp-btn-play {
  gap: 4px;
  transition: opacity 0.2s ease;
}

.sp-btn-play:hover {
  opacity: 0.6;
}

.sp-btn-play-icon {
  width: 20px;
  height: auto;
}

.sp-btn-center {
  margin: 0 auto;
  display: block;
}

.sp-contact-us-btn {
  background: linear-gradient(122.69deg, rgba(126.34, 207.83, 255, 1) -21.305%, rgba(0, 153, 242, 1) 43.439%, rgba(3.48, 133.58, 255, 1) 94.205%);
}

/* ============================================
   Hero Banner - 顶部横幅区域
   ============================================ */
.sp-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 126px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 背景图层 */
.sp-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* 背景图片 */
.sp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* 遮罩层 - 渐变暗角 */
.sp-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 50%,
      rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

/* 右下角 YouTube 跳转按钮 */
.sp-hero-youtube {
  position: absolute;
  right: 91px;
  bottom: 64px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7.5px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  color: #222;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(8px);
  font-style: Regular;
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
}

/* hover：背景更亮 + 文字变红 + 图标切换为红色 */
.sp-hero-youtube:hover {
  background: rgba(255, 255, 255, 0.96);
  color: #FF0000;
}

.sp-hero-youtube-icon {
  width: 28px;
  height: auto;
  display: block;
}

/* banner YouTube 图标：默认/红色两张叠放，hover 淡入淡出切换 */
.sp-hero-youtube .sp-hero-youtube-icon {
  position: relative;
  display: inline-block;
  flex: none;
  aspect-ratio: 29 / 20;
}

.sp-hero-youtube .sp-hero-youtube-icon img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.sp-hero-youtube-icon-hover {
  opacity: 0;
}

.sp-hero-youtube:hover .sp-hero-youtube-icon-default {
  opacity: 0;
}

.sp-hero-youtube:hover .sp-hero-youtube-icon-hover {
  opacity: 1;
}

/* 内容区 */
.sp-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 标题 */
.sp-hero-title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.sp-hero-title-main {
  display: block;
  font-size: 56px;
  color: rgba(255, 255, 255, 1);
  font-family: "Alibaba PuHuiTi";
  font-style: Bold;
  font-weight: 700;
  line-height: 64px;
  letter-spacing: 0px;
  text-align: left;
  white-space: break-spaces;
}

/* 描述文字 */
.sp-hero-desc {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0px;
  text-align: center;
  max-width: none;
  white-space: pre-line;
  margin-bottom: 64px;
}

/* 按钮组 */
.sp-hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================
   Stats - 数据统计区域
   ============================================ */
.sp-stats {
  padding-top: 120px;
  background: var(--sp-bg-white);
}

/* 顶部：左标题区 + 右描述按钮区 */
.sp-stats-head {
  display: flex;
  margin-bottom: 64px;
  gap: 24px;
}


.sp-stats-head-left {
  width: 640px;
}

.sp-stats-head-right {
  flex: 1;
}

/* 大标题（支持 CMS 换行） */
.sp-stats-title,
.sp-stats-tag {
  color: var(--sp-text-dark);
  font-style: Bold;
  font-size: 48px;
  font-weight: 700;
  line-height: 66px;
  letter-spacing: 0px;
  margin: 0;
  white-space: pre-line;
}

/* 蓝色小标签 */
.sp-stats-tag {
  color: #0099FC;
}

/* 描述 */
.sp-stats-desc {
  color: var(--sp-text-gray-09);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0px;
  white-space: pre-line;
  margin: 0 0 32px;
}

/* 描边按钮 + 箭头（提权 .sp-stats 前缀，避免全局 a 样式覆盖颜色） */
.sp-stats .sp-stats-link-btn,
.sp-stats .sp-stats-link-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  padding: 13px 30px;
  border: 1px solid var(--sp-primary);
  border-radius: 109px;
  color: var(--sp-primary);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sp-stats .sp-stats-link-btn:hover {
  background: var(--sp-primary);
  color: #fff;
}

/* 底部：左配图 + 右 2x2 数据卡 */
.sp-stats-body {
  display: flex;
  align-items: stretch;
  gap: 30px;
}

/* 配图：高度跟随右侧卡片网格拉伸 */
.sp-stats-photo {
  width: 640px;
  height: 481px;
}

.sp-stats-photo img {
  width: 100%;
  height: 100%;
}

/* 2x2 数据卡网格 */
.sp-stats-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 数据卡片：浅色渐变底（上实下透） */
.sp-stat-card {
  box-sizing: border-box;
  padding: 28px;
  background: linear-gradient(180.00deg, rgba(240, 243, 246, 1) 0%, rgba(240, 243, 246, 0) 100%);
}

.sp-stat-number {
  display: block;
  color: var(--sp-text-dark);
  font-style: Bold;
  font-size: 48px;
  font-weight: 700;
  line-height: 60px;
  letter-spacing: 0%;
}

.sp-stat-label {
  display: block;
  color: var(--sp-text-dark);
  font-style: Regular;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0%;
  margin-top: 4px;
}

.sp-stat-desc {
  color: var(--sp-text-gray-09);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0px;
  margin: 8px 0 0;
}

/* ============================================
   Categories - 类别管理
   ============================================ */
.sp-categories {
  padding: 90px 0;
  background: var(--sp-bg-white);
}

/* 蓝色标签行：文字 + 两侧蓝色横线 */
.sp-categories-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 16px;
  color: var(--sp-primary);
  font-family: Alibaba PuHuiTi;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
  text-align: center;
}

.sp-categories-tag::before,
.sp-categories-tag::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--sp-primary);
}

.sp-categories-title {
  color: #222;
  font-family: Alibaba PuHuiTi;
  font-size: 48px;
  font-weight: 700;
  line-height: 66px;
  text-align: center;
  margin: 0 0 16px 0;
}

.sp-categories-desc {
  color: rgba(69, 78, 102, 1);
  font-size: 20px;
  font-weight: 400;
  line-height: 40px;
  text-align: center;
  white-space: pre-line;
  margin: 0 0 48px 0;
}

/* 2x2 错位马赛克网格：3 列 1fr 轨道 + 16px 间距
   窄卡 398px / 宽卡跨 2 列 812px / 卡片高 383px（容器 1226px 正好吻合）
   第 1、4、5、8... 张为宽卡 → 行1「2:1」、行2「1:2」循环 */
.sp-category-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 383px;
  gap: 16px;
}

.sp-category-item {
  position: relative;
  overflow: hidden;
}

.sp-category-item:nth-child(4n+1),
.sp-category-item:nth-child(4n+4) {
  grid-column: span 2;
}

.sp-category-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 底部加深渐变，保证文字可读 */
.sp-category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 1;
}

/* hover 遮罩层：默认透明，hover 淡入（渐变无法直接过渡，双图层叠放切换） */
.sp-category-overlay-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sp-category-item:hover .sp-category-overlay-hover {
  opacity: 1;
}

/* 前 4 张卡片 hover 遮罩各自固定；第 5 张起保持默认遮罩 */
.sp-category-item:nth-child(1) .sp-category-overlay-hover {
  background: linear-gradient(0.00deg, rgba(32, 32, 32, 1) 17.824%, rgba(32, 32, 32, 0) 104.178%);
}

.sp-category-item:nth-child(2) .sp-category-overlay-hover {
  background: linear-gradient(0.00deg, rgba(57, 42, 22, 1) 17.154%, rgba(57, 42, 22, 0) 100.261%);
}

.sp-category-item:nth-child(3) .sp-category-overlay-hover {
  background: linear-gradient(0.00deg, rgba(165, 120, 60, 1) 16.863%, rgba(165, 120, 60, 0) 98.564%);
}

.sp-category-item:nth-child(4) .sp-category-overlay-hover {
  background: linear-gradient(0.00deg, rgba(33, 68, 106, 1) 17.355%, rgba(33, 68, 106, 0) 101.436%);
}

/* 标题 + 描述：固定于卡片左下角 */
.sp-category-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
  box-sizing: border-box;
  color: #fff;
}

.sp-category-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}

.sp-category-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

/* Learn More：默认收起不占位；hover 展开并把标题/描述整体顶起 */
.sp-category-content .sp-category-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-decoration: none;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.sp-category-more-arrow {
  width: 16px;
  height: 16px;
  background-color: #fff;
  -webkit-mask: url('/global/static/en/img/service-support/right-arrow.svg') no-repeat center / contain;
  mask: url('/global/static/en/img/service-support/right-arrow.svg') no-repeat center / contain;
}

.sp-category-item:hover .sp-category-more {
  max-height: 30px;
  margin-top: 16px;
  opacity: 1;
}

/* ============================================
   Ticket - 工单模块
   ============================================ */
.sp-ticket {
  position: relative;
  padding: 84px 0;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #27B5FF;
}

.sp-ticket-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  z-index: 0;
}

.sp-ticket-deco {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.sp-ticket-deco::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  width: 400px;
  height: 400px;
  transform: translateY(-50%);
  border: 60px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.sp-ticket-content {
  position: relative;
  z-index: 2;
}

.sp-ticket-title {
  font-family: Alibaba PuHuiTi;
  font-size: 48px;
  font-weight: 700;
  line-height: 66px;
  margin: 0 0 32px 0;
}

.sp-ticket-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 40px;
  opacity: 0.9;
  margin: 0 0 24px 0;
}

.sp-ticket-btns {
  display: inline-flex;
  gap: 20px;
  justify-content: center;
}

.sp-ticket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 64px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.sp-ticket-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.sp-ticket-btn-white {
  background: #fff;
  color: var(--sp-primary) !important;
  border-color: #fff;
}

.sp-ticket-btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   Course - 课程模块
   ============================================ */
.sp-course {
  background: var(--sp-bg-light);
  padding: 84px 0;
}

.sp-course-main {
  display: flex;
  gap: 60px;
  padding: 54px 64px;
  background: #FFFFFF;
}

.sp-course-intro {
  width: 380px;
  flex-shrink: 0;
}

.sp-course-tag {
  width: 96px;
  height: 16px;
  margin-bottom: 16px;
  background: linear-gradient(90deg,
      var(--sp-primary) 0,
      var(--sp-primary) 16px,
      rgba(0, 153, 242, 0.6) 16px,
      rgba(0, 153, 242, 0) 100%);
}

.sp-course-title {
  color: #222;
  font-style: Bold;
  font-size: 40px;
  font-weight: 700;
  line-height: 54px;
  letter-spacing: 0px;
  margin: 0 0 20px 0;
}

.sp-course-desc {
  color: var(--sp-text-gray-09);
  font-size: 15px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0px;
  margin: 0 0 32px 0;
}

.sp-course-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 166px;
  padding: 14px 32px;
  border-radius: 64px;
  background: var(--sp-btn-bg-normal);
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sp-course-btn:hover {
  background: var(--sp-btn-bg-hover);
}

.sp-course-btn:active {
  background: var(--sp-btn-bg-active);
}

.sp-course-btn-icon {
  width: 16px;
  height: 16px;
  margin-left: 8px;
}

.sp-course-card {
  flex: 1;
  min-width: 0;
  background: #fff;
  box-shadow: 0px 1.67px 16.703702926635742px 0px rgba(0, 0, 0, 0.1);
  padding: 32px 36px;
}

.sp-course-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #222;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  letter-spacing: 0%;
  margin: 0 0 16px 0;
}

.sp-course-card-icon {
  width: 20px;
  height: 20px;
  color: #222;
  flex-shrink: 0;
}

.sp-course-list {
  display: flex;
  flex-direction: column;
}

.sp-course-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--sp-border);
}

.sp-course-item:last-child {
  border-bottom: none;
}

.sp-course-date {
  color: var(--sp-primary);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  min-width: 110px;
}

.sp-course-info {
  flex: 1;
  min-width: 0;
}

.sp-course-name {
  color: #222;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sp-course-meta {
  color: var(--sp-text-light);
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0px;
}

.sp-course-status {
  margin-left: auto;
  color: var(--sp-primary);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ============================================
   Q&A - 问答模块
   ============================================ */
.sp-qa {
  background: var(--sp-bg-white);
  padding-bottom: 84px;
  padding-top: 120px;
}

.sp-qa-title {
  color: #222;
  font-family: Alibaba PuHuiTi;
  font-size: 48px;
  font-weight: 700;
  line-height: 66px;
  text-align: center;
  margin: 0 0 48px 0;
}

.sp-qa-list {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sp-qa-item {
  border-radius: 8px;
  background: transparent;
  border: 1px solid #DEE3E8;
}

.sp-qa-header {
  position: relative;
  padding: 16px 24px;
  cursor: pointer;
}


.sp-qa-question {
  color: #222;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  letter-spacing: 0%;
  text-align: left;
  padding-right: 40px;
  transition: color 0.3s ease;
}

.sp-qa-item.active .sp-qa-question {
  color: var(--sp-primary);
}

.sp-qa-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  width: 20px;
  height: 20px;
  color: #999;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease, color 0.3s ease;
}

.sp-qa-item.active .sp-qa-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: var(--sp-primary);
}

.sp-qa-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.sp-qa-item.active .sp-qa-body {
  max-height: 1000px;
  opacity: 1;
}

.sp-qa-answer {
  margin: 0;
  padding: 16px 24px 8px;
  color: rgba(107, 114, 128, 1);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  border-top: 1px solid #DEE3E8;
}

.sp-qa-more {
  text-align: center;
  margin-top: 40px;
}

.sp-qa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 64px;
  background: var(--sp-primary);
  color: #fff !important;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease;
}

.sp-qa-btn:hover {
  background: var(--sp-primary-dark);
}

/* ============================================
   视频弹窗 Modal
   ============================================ */
.sp-video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sp-video-modal.active {
  opacity: 1;
  visibility: visible;
}

.sp-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(34, 34, 34, .6);
  backdrop-filter: blur(6px);
}

.sp-modal-content {
  position: relative;
  z-index: 1;
  width: 60%;
  max-width: 960px;
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.sp-video-modal.active .sp-modal-content {
  transform: scale(1);
}

.sp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  z-index: 3;
}

.sp-modal-close:hover {
  background: #f5f5f5;
  transform: rotate(90deg);
}

.sp-modal-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.sp-modal-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* ============================================
   响应式适配
   ============================================ */
@media screen and (max-width: 1024px) {
  .sp-modal-content {
    width: 76%;
  }

  .sp-hero {
    min-height: 480px;
  }

  /* stats：平板收敛间距与字号 */
  .sp-stats-head {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
  }

  .sp-stats-title {
    font-size: 38px;
    line-height: 52px;
  }

  .sp-stats-body {
    gap: 24px;
  }

  .sp-stats-grid {
    gap: 20px;
  }

  /* categories：平板 */
  .sp-categories-tag {
    font-size: 20px;
    line-height: 30px;
  }

  .sp-categories-title {
    font-size: 38px;
    line-height: 52px;
  }

  .sp-category-list {
    grid-auto-rows: 220px;
    gap: 16px;
  }

  .sp-hero-title {
    font-size: 40px;
  }

  .sp-hero-title-main {
    font-size: 38px;
  }
}

@media screen and (max-width: 768px) {
  .sp-hero {
    min-height: 420px;
  }

  .sp-hero-title {
    font-size: 32px;
  }

  .sp-hero-title-main {
    font-size: 30px;
  }

  .sp-hero-content {
    padding: 50px 0;
  }

  .sp-hero-youtube {
    top: auto;
    right: 16px;
    bottom: 24px;
    padding: 5px 10px;
    font-size: 11px;
    gap: 4px;
  }

  .sp-hero-youtube .sp-hero-youtube-icon {
    width: 18px;
  }

  /* stats：移动端上下堆叠 */
  .sp-stats {
    padding: 60px 0;
  }

  .sp-stats-head {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }

  .sp-stats-tag {
    font-size: 18px;
    line-height: 28px;
  }

  .sp-stats-title {
    font-size: 26px;
    line-height: 36px;
  }

  .sp-stats-desc {
    font-size: 16px;
    line-height: 26px;
  }

  .sp-stats .sp-stats-link-btn {
    padding: 10px 22px;
    font-size: 15px;
  }

  .sp-stats-body {
    flex-direction: column;
    gap: 24px;
  }

  .sp-stats-grid {
    gap: 16px;
  }

  .sp-stat-number {
    font-size: 38px;
    line-height: 48px;
  }

  .sp-stat-label {
    font-size: 16px;
    line-height: 24px;
  }

  /* categories：移动端单列 */
  .sp-categories {
    padding: 60px 0;
  }

  .sp-categories-tag {
    font-size: 18px;
    line-height: 28px;
    gap: 16px;
  }

  .sp-categories-tag::before,
  .sp-categories-tag::after {
    width: 40px;
  }

  .sp-categories-title {
    font-size: 26px;
    line-height: 36px;
  }

  .sp-categories-desc {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 32px;
  }

  .sp-category-list {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
    gap: 16px;
  }

  .sp-category-item:nth-child(4n+1),
  .sp-category-item:nth-child(4n+4) {
    grid-column: span 1;
  }

  /* course：移动端上下堆叠 */
  .sp-course {
    padding: 60px 0;
  }

  .sp-course-main {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .sp-course-intro {
    width: 100%;
  }

  .sp-course-tag {
    margin-bottom: 16px;
  }

  .sp-course-title {
    font-size: 26px;
    line-height: 36px;
    margin-bottom: 12px;
  }

  .sp-course-desc {
    font-size: 15px;
    line-height: 26px;
    margin-bottom: 24px;
  }

  .sp-course-btn {
    padding: 10px 22px;
    font-size: 15px;
  }

  .sp-course-card {
    padding: 24px 20px;
  }

  .sp-course-card-title {
    font-size: 18px;
    line-height: 26px;
  }

  .sp-course-item {
    flex-wrap: wrap;
    gap: 6px 12px;
  }

  .sp-course-date {
    min-width: 0;
  }

  .sp-course-info {
    flex: 1 1 100%;
    order: 3;
  }

  /* 触屏无 hover：Learn More 常驻显示 */
  .sp-category-more {
    max-height: none;
    margin-top: 16px;
    opacity: 1;
  }

  .sp-modal-content {
    width: 90%;
    max-width: none;
  }

  .sp-modal-close {
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
  }
}