/* =================================================================
   江西聚翼教育官网 — 重构版样式表
   设计原则：大格局 · 大气场 · 开阔留白 · 清晰层级
   ================================================================= */

/* ---- 基础 ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  font-size: 125%;
}
body {
  font-family: 'Inter', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Microsoft YaHei UI', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: #1a4fc4; color: #fff; }

/* 自定义滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f4f7fd; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4f86e2, #1a4fc4);
  border-radius: 6px;
  border: 2px solid #f4f7fd;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #1a4fc4, #10388c); }


/* 品牌蓝渐变背景 */
.bg-brand-gradient {
  background: linear-gradient(120deg, #0d3b7a 0%, #1559b8 45%, #1a4fc4 100%);
}


/* =================================================================
   加载屏
   ================================================================= */
#loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: linear-gradient(135deg, #1a4fc4 0%, #4f86e2 50%, #7ca5ea 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s ease, visibility .7s ease;
}
#loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__inner {
  text-align: center;
  color: #fff;
}
.loader__mark {
  margin-bottom: 28px;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.3));
  animation: loaderBreath 2s ease-in-out infinite;
}
@keyframes loaderBreath {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.9; }
}
.loader__brand {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}
.loader__hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.loader__bar {
  margin-top: 32px;
  width: 280px;
  height: 2px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}
.loader__bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  width: 40%;
  animation: loaderSlide 1.6s ease-in-out infinite;
}
@keyframes loaderSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}


/* =================================================================
   顶部阅读进度条
   ================================================================= */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #00b8d9 0%, #1a4fc4 50%, #7c5bff 100%);
  box-shadow: 0 0 12px rgba(26,79,196,0.55);
  z-index: 60;
  transition: width .1s linear;
}


/* =================================================================
   顶部导航 — 浮动 + 大气
   ================================================================= */
header#nav { transition: all .35s ease; }
header#nav.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 6px 32px -8px rgba(10,31,68,0.10);
}
header#nav.is-scrolled .nav-link { color: #26304a; }
header#nav.is-scrolled .nav-link.is-active { color: #1a4fc4; }

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: #162038;
  font-weight: 500;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #1a4fc4, #00b8d9);
  border-radius: 2px;
  transition: width .35s ease;
}
.nav-link:hover { color: #1a4fc4; }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: #1a4fc4; font-weight: 700; }
.nav-link.is-active::after { width: 100%; }


/* =================================================================
   HERO 区 — 大气开场
   ================================================================= */
.hero-bg {
  background:
    radial-gradient(1600px 800px at 50% 0%, rgba(26,79,196,0.10), transparent 70%),
    linear-gradient(180deg, #f4f7fd 0%, #ffffff 80%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(26,79,196,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,79,196,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}
.hero-grid-dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-watermark {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(280px, 38vw, 520px);
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(26,79,196,0.06) 0%, rgba(26,79,196,0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 0.9;
}

.cta-watermark {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(220px, 30vw, 380px);
  letter-spacing: -0.05em;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 0.9;
}

.hero-visual {
  box-shadow:
    0 40px 100px -24px rgba(10,31,68,0.30),
    0 0 0 1px rgba(255,255,255,0.7) inset;
}

.hero-illustration {
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* 信任指标 — Hero 底部 */
.trust-metric {
  padding: 0 1.5rem;
  text-align: left;
}
.trust-metric__num {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  color: #0a1530;
  display: inline-flex;
  align-items: flex-start;
}
.trust-metric__num sup {
  font-size: 18px;
  margin-left: 2px;
  margin-top: 6px;
  color: #1a4fc4;
  font-weight: 700;
}
.trust-metric__lbl {
  margin-top: 8px;
  font-size: 13px;
  color: #5e6984;
  font-weight: 500;
}


/* 浮动卡片 */
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px;
  box-shadow:
    0 24px 50px -14px rgba(10,31,68,0.25),
    0 0 0 1px rgba(255,255,255,0.7) inset;
  border: 1px solid rgba(26,79,196,0.10);
  padding: 16px 18px;
  width: 220px;
  z-index: 3;
}
.float-card--a {
  left: 16px;
  top: 26px;
}
.float-card--b {
  right: 16px;
  top: 130px;
}
.float-card--c {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  padding: 14px 16px;
  border-radius: 14px;
}
@media (max-width: 1024px) {
  .float-card { width: 170px; padding: 11px 13px; }
  .float-card--a { left: 10px; top: 14px; }
  .float-card--b { right: 10px; top: 110px; }
  .float-card--c { bottom: 12px; width: 200px; }
}
@media (max-width: 640px) {
  .float-card--c { display: none; }
}


/* 跑马灯 — Hero 底部品牌条 */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.25rem;
  flex-shrink: 0;
}
.marquee-item {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.08em;
  color: #162038;
  white-space: nowrap;
}
.marquee-dot {
  color: #1a4fc4;
  font-size: 8px;
  opacity: 0.6;
}


/* =================================================================
   数据通栏 — 深蓝
   ================================================================= */
.stat-tile {
  position: relative;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 28px 22px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
  transition: transform .35s ease, background .35s ease;
  box-shadow: 0 8px 24px -8px rgba(10,31,68,0.20);
}
.stat-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
}
.stat-tile:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.20);
}
.stat-tile:hover::before { opacity: 1; }

.stat-tile__num {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(180deg, #ffffff, #d3e7ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-flex;
  align-items: flex-start;
}
.stat-tile__num sup {
  font-size: 18px;
  margin-left: 2px;
  margin-top: 6px;
  color: #d3e7ff;
  font-weight: 700;
}
.stat-tile__lbl {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}


/* =================================================================
   服务卡片 — 大气版本
   ================================================================= */
.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eef1f8;
  padding: 40px 32px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px -10px rgba(10,31,68,0.10);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,79,196,0.05), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 36px 70px -18px rgba(10,31,68,0.24),
    0 0 0 1px rgba(26,79,196,0.20);
  border-color: rgba(26,79,196,0.32);
}
.service-card:hover::before { opacity: 1; }

.service-card__num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #c8cfde;
  z-index: 1;
}

.service-card__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  position: relative;
  z-index: 1;
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); }
.service-card__icon--blue   { background: linear-gradient(135deg, #e6efff, #b6cff8); color: #1a4fc4; }
.service-card__icon--purple { background: linear-gradient(135deg, #efe6ff, #d1bbf8); color: #7c5bff; }
.service-card__icon--cyan   { background: linear-gradient(135deg, #ddf6fb, #a8e5f0); color: #00b8d9; }
.service-card__icon--green  { background: linear-gradient(135deg, #e0f5e6, #b0e8bd); color: #2dbc4e; }
.service-card__icon--orange { background: linear-gradient(135deg, #ffe8d2, #ffcca1); color: #ff7a28; }


/* =================================================================
   服务流程 — 大型时间轴（参考原版图标+编号+标题分层）
   ================================================================= */
.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process-step__icon {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #eaf1fc 100%);
  border: 1.5px solid #eef1f8;
  box-shadow:
    0 12px 28px -10px rgba(26,79,196,0.28),
    0 0 0 5px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a4fc4;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, color .35s ease;
  margin: 0 auto;
}
.process-step:hover .process-step__icon {
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    0 20px 40px -10px rgba(26,79,196,0.40),
    0 0 0 5px #ffffff;
  color: #10388c;
}
.process-step__icon--final {
  background: linear-gradient(135deg, #1a4fc4, #00b8d9);
  color: #fff;
  border-color: transparent;
  box-shadow:
    0 12px 28px -10px rgba(26,79,196,0.40),
    0 0 0 5px #ffffff;
}

.process-step__num {
  margin-top: 20px;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #1a4fc4;
  background: linear-gradient(135deg, #1a4fc4, #00b8d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.process-step__num--final {
  background: linear-gradient(135deg, #1a4fc4, #00b8d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.process-step__title {
  margin-top: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #0a1530;
  letter-spacing: 0.01em;
}

.process-step__desc {
  margin-top: 12px;
  font-size: 14px;
  color: #5e6984;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.01em;
}


/* 承诺小条 */
.promise-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 16px;
  box-shadow: 0 8px 24px -10px rgba(26,79,196,0.15);
  transition: transform .35s ease, box-shadow .35s ease;
}
.promise-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(26,79,196,0.28);
}
.promise-tile__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eaf1fc, #c2d9fb);
  display: flex; align-items: center; justify-content: center;
  color: #1a4fc4;
}


/* =================================================================
   AI 板块 — 大型特性卡
   ================================================================= */
.ai-feature-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 24px;
  padding: 40px 36px;
  box-shadow: 0 16px 48px -16px rgba(10,31,68,0.16);
  transition: transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.ai-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -18px rgba(10,31,68,0.26);
}
.ai-feature-card__icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
}
.ai-feature-card__icon--blue {
  background: linear-gradient(135deg, #e6efff, #b6cff8);
  color: #1a4fc4;
}
.ai-feature-card__icon--cyan {
  background: linear-gradient(135deg, #ddf6fb, #a8e5f0);
  color: #00b8d9;
}
.ai-feature-card__bottom {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eef1f8;
}
.ai-feature-card__tag {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #1a4fc4;
}

.ai-visual {
  box-shadow:
    0 40px 100px -24px rgba(10,31,68,0.30),
    0 0 0 1px rgba(255,255,255,0.7) inset;
}

.ai-li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 16px;
  position: relative;
}
.ai-li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a4fc4, #00b8d9);
}

/* 所有计数数字使用等宽数字 + 固定最小宽度，避免递增动画期间布局抖动 */
.counter { font-variant-numeric: tabular-nums; display: inline-block; min-width: 3.5ch; text-align: center; }

/* AI 智能内容生成 — 环绕数据统计卡 */
.ai-stat-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border: 1px solid #eef1f8;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 12px 40px -12px rgba(10,31,68,0.18);
  min-width: 170px;
  transition: transform .35s ease, box-shadow .35s ease;
  text-align: center;
}
.ai-stat-card:hover {
  box-shadow: 0 30px 60px -16px rgba(10,31,68,0.25);
  border-color: #d3e1f8;
}
.ai-stat-card--hero {
  text-align: center;
  padding: 20px 32px;
  min-width: 260px;
  border-color: #d3e1f8;
  box-shadow: 0 0 0 6px rgba(26,79,196,0.06), 0 24px 48px -12px rgba(26,79,196,0.35);
}

/* AI 数字人讲师 — 三大特性图标悬停动效 */
.dh-feature {
  transition: transform .35s ease;
}
.dh-feature:hover {
  transform: translateY(-6px);
}
.dh-feature__icon {
  transition: transform .45s cubic-bezier(.2,.8,.2,1), background .35s ease, color .35s ease, box-shadow .35s ease;
}
.dh-feature:hover .dh-feature__icon {
  background: linear-gradient(135deg, #1a4fc4, #00b8d9);
  color: #ffffff;
  transform: scale(1.08) rotate(-6deg);
  box-shadow:
    0 18px 36px -10px rgba(26,79,196,0.45),
    0 0 0 5px #ffffff;
}
.dh-feature__icon svg {
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
.dh-feature:hover .dh-feature__icon svg {
  transform: rotate(6deg) scale(1.05);
}
.dh-feature > .mt-3\.5 {
  transition: color .25s ease;
}
.dh-feature:hover > .mt-3\.5 {
  color: #10388c;
}
/* 计数动画期间锁定数字宽度，避免布局重排抖动 */
.ai-stat-card .counter {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 8.2ch;
  text-align: center;
}
.ai-stat-card--hero .counter {
  min-width: 9.2ch;
  text-align: center;
}


/* =================================================================
   AI 赋能 — 双屏产品页（数字人讲师 / 智能内容生成）
   ================================================================= */
/* 数字人播放器 — 播放按钮隐藏态 */
#dh-play { transition: opacity .4s ease; }
#dh-play.is-hidden { opacity: 0; pointer-events: none; }


/* 产品卡 */
.product-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eef1f8;
  padding: 36px 32px;
  box-shadow: 0 12px 32px -14px rgba(10,31,68,0.14);
  transition: transform .4s ease, box-shadow .4s ease;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a4fc4, #00b8d9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px -16px rgba(10,31,68,0.22);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card--featured {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d3e1f8;
}

.product-card__badge {
  padding: 4px 14px;
  border-radius: 999px;
  background: #eaf1fc;
  color: #1a4fc4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.product-card__badge--cyan {
  background: linear-gradient(135deg, #ddf6fb, #a8e5f0);
  color: #008099;
}
.product-card__num {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #1a4fc4;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 2px;
  letter-spacing: -0.5px;
}
.product-card__num span:last-child {
  font-size: 16px;
  font-weight: 700;
  color: #4f86e2;
  margin-top: 4px;
}


/* =================================================================
   案例筛选
   ================================================================= */
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #26304a;
  border: 1px solid #eef1f8;
  font-weight: 500;
  transition: all .3s ease;
}
.filter-pill:hover {
  border-color: #1a4fc4;
  color: #1a4fc4;
  transform: translateY(-1px);
}
.filter-pill.is-active {
  background: linear-gradient(135deg, #1a4fc4, #10388c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 28px -8px rgba(26,79,196,0.5);
}


/* 案例卡 */
.case-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eef1f8;
  overflow: hidden;
  box-shadow: 0 10px 30px -16px rgba(10,31,68,0.14);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
}
.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 70px -18px rgba(10,31,68,0.24);
}
.case-card__media {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.case-card__cover {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.case-card:hover .case-card__cover { transform: scale(1.06); }

.case-card__cover--1 {
  background:
    linear-gradient(135deg, rgba(26,79,196,0.85) 0%, rgba(0,184,217,0.75) 100%),
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 50%);
}
.case-card__cover--2 {
  background:
    linear-gradient(135deg, #1543a8 0%, #1a4fc4 50%, #4f86e2 100%);
}
.case-card__cover--3 {
  background:
    radial-gradient(circle at 70% 30%, rgba(0,184,217,0.4), transparent 50%),
    linear-gradient(135deg, #10388c 0%, #1a4fc4 100%);
}
.case-card__cover--4 {
  background:
    linear-gradient(135deg, rgba(124,91,255,0.85) 0%, rgba(26,79,196,0.75) 100%);
}
.case-card__cover--5 {
  background:
    radial-gradient(circle at 40% 60%, rgba(0,184,217,0.4), transparent 50%),
    linear-gradient(135deg, #0a1f44 0%, #1a4fc4 100%);
}
.case-card__cover--6 {
  background:
    linear-gradient(135deg, rgba(255,122,40,0.85) 0%, rgba(26,79,196,0.75) 100%);
}

/* 案例封面装饰图案 */
.case-card__cover::before,
.case-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.case-card__cover::before {
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}
.case-card__cover::after {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.25), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.15), transparent 40%);
}

.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,31,68,0.6));
  opacity: 0;
  transition: opacity .4s ease;
}
.case-card:hover .case-card__overlay { opacity: 1; }

.case-card__tag {
  position: absolute;
  top: 18px; left: 18px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  color: #1a4fc4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.2);
  z-index: 2;
}
.case-card__index {
  position: absolute;
  bottom: 18px; right: 18px;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.02em;
  z-index: 2;
}


/* =================================================================
   关于我们
   ================================================================= */
.check-li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.check-li__dot {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a4fc4 0%, #00b8d9 100%);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px -4px rgba(26,79,196,0.35);
}


.mv-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid #eef1f8;
  padding: 36px;
  box-shadow: 0 12px 32px -14px rgba(10,31,68,0.14);
  transition: transform .4s ease, box-shadow .4s ease;
  overflow: hidden;
}
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px -16px rgba(10,31,68,0.22);
}
.mv-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf1fc, #b6cff8);
  color: #1a4fc4;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mv-card__icon--cyan  { background: linear-gradient(135deg, #ddf6fb, #a8e5f0); color: #00b8d9; }
.mv-card__icon--green { background: linear-gradient(135deg, #e0f5e6, #b0e8bd); color: #2dbc4e; }
.mv-card__line {
  position: absolute;
  bottom: 0; left: 0;
  height: 4px; width: 100%;
  background: linear-gradient(90deg, #1a4fc4, #00b8d9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s ease;
}
.mv-card__line--cyan  { background: linear-gradient(90deg, #00b8d9, #1a4fc4); }
.mv-card__line--green { background: linear-gradient(90deg, #2dbc4e, #1a4fc4); }
.mv-card:hover .mv-card__line { transform: scaleX(1); }


/* =================================================================
   hover-lift 通用类
   ================================================================= */
.hover-lift { transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease; }
.hover-lift:hover { transform: translateY(-2px); }


/* =================================================================
   滚动出现动画
   ================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s), transform 1s cubic-bezier(.2,.8,.2,1) var(--d, 0s);
  will-change: transform, opacity;
}
.reveal[data-reveal="left"]  { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal[data-reveal="up"]    { transform: translateY(36px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}


/* =================================================================
   响应式
   ================================================================= */
@media (max-width: 1024px) {
  .hero-visual { max-width: 100%; margin: 0 auto; }
  .ai-visual { min-height: 360px; }
}

@media (max-width: 720px) {
  .float-card--a { left: 8px; top: 10px; }
  .float-card--b { right: 8px; top: 100px; }
}


/* =================================================================
   减少动效偏好
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}


/* =================================================================
   企微名片弹窗 — 官方背书 + 利益承诺 + 轻量关闭
   ================================================================= */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 31, 68, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.contact-modal-overlay.active { opacity: 1; visibility: visible; }

.contact-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  padding: 32px 28px 28px;
  box-shadow: 0 24px 60px -12px rgba(10, 31, 68, 0.4);
  text-align: center;
  position: relative;
  transform: scale(.92);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.contact-modal-overlay.active .contact-modal-box { transform: scale(1); }

/* 关闭按钮 */
.modal-close-btn {
  position: absolute;
  top: 14px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #eef1f8;
  color: #5e6984;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.modal-close-btn:hover { background: #dde2ee; color: #0a1530; }

/* 头部 */
.modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #1a4fc4;
  background: #eaf1fc;
  border: 1px solid #d3e1f8;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: .02em;
}
.modal-tag__star { display: inline-flex; align-items: center; }
.modal-head h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0a1530;
  margin: 0 0 8px 0;
}
.modal-head p {
  font-size: 13px;
  color: #5e6984;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

/* 二维码区域 */
.modal-qr-card {
  position: relative;
  background: #f4f7fd;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 16px 12px;
  margin-bottom: 18px;
  overflow: hidden;
}
.modal-qr-card__dots {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1.4px);
  background-size: 8px 8px;
  opacity: .55;
  pointer-events: none;
}
.modal-qr-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,79,196,0.08), transparent 70%);
  pointer-events: none;
}
.qr-slot {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}
.qr-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  z-index: 0;
}
.qr-fallback span { font-size: 14px; font-weight: 700; color: #0a1530; }
.qr-fallback small { font-size: 11px; color: #8a93ab; }
.qr-code-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
.qr-tip-text {
  font-size: 14px;
  color: #1a4fc4;
  margin-top: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(10,31,68,0.06);
}
.qr-tip-text svg { display: block; }

/* 底部服务承诺 */
.modal-perks {
  text-align: left;
  background: #f8fafd;
  border: 1px solid #eef1f8;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.perk-text {
  flex: 1;
}
.perk-icon {
  flex-shrink: 0;
  opacity: .85;
}
.perk-check {
  color: #ffffff;
  background: linear-gradient(135deg, #1a4fc4, #00b8d9);
  border-radius: 50%;
  width: 16px; height: 16px;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 底部信息安全保障 */
.modal-footer-secure {
  margin-top: 18px;
  font-size: 13.5px;
  color: #1a4fc4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: .02em;
  font-weight: 600;
}

/* =================================================================
   JS 失败兜底 — 脚本未运行时直接显示内容、隐藏加载屏，防白屏
   ================================================================= */
html.no-js #loader { display: none; }
html.no-js .reveal { opacity: 1; transform: none; }
html.no-js .hero-watermark { transform: translate(-50%, -50%); }

/* 现代极简胶囊按钮 */
.btn-pill-modern {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0052d9 0%, #0066ff 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-pill-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 82, 217, 0.35);
  background: linear-gradient(135deg, #0066ff 0%, #1a73ff 100%);
}
.btn-pill-modern .btn-icon-svg { display: block; flex-shrink: 0; width: 18px; height: 18px; }
.btn-pill-modern .btn-arrow-svg {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.btn-pill-modern:hover .btn-arrow-svg {
  transform: translateX(4px);
}


/* =================================================================
   移动端核心修复 — 第一批（V0.97 mobile）
   原则：不修改 desktop 默认样式，仅在 <=720 断点追加覆盖。
   本块所有规则最早匹配顺序执行，可被桌面规则的级联覆盖风险已规避。
   ================================================================= */

/* 项 1：移动端 html font-size 回退到 100%（PC 保持 125%） */
@media (max-width: 720px) {
  html { font-size: 100%; }
}

/* 项 2：<=720 隐藏 Hero 与各 section 装饰性大球 + 巨幅品牌水印 */
@media (max-width: 720px) {
  /* Hero 三个浮动光球（w-[560]/[500]/[400]） */
  .animate-float-slow,
  .animate-float-medium,
  .animate-float-fast {
    display: none !important;
  }
  /* 巨幅品牌水印（font-size clamp 280px 起步） */
  .hero-watermark,
  .cta-watermark {
    display: none !important;
  }
  /* AI 数字人 / AI 内容生成 / LaTeX 区域的 600-800px 装饰球（含 inline style 写的也算） */
  [data-parallax] {
    display: none !important;
  }
  /* AI 数字人圆环与环绕光点（避免小屏轮转浪费 GPU） */
  .animate-spin-slow {
    display: none !important;
  }
  /* 数据通栏 / 各 section 装饰大球（已带 .animate-float-* 类会同时命中；这里兜底） */
  .absolute.-top-20.-right-20,
  .absolute.top-1\/4.-left-10,
  .absolute.-top-16.-right-14,
  .absolute.-bottom-12.-left-10,
  .absolute.top-1\/3.-left-8,
  .absolute.-top-8.right-1\/4,
  .absolute.-bottom-6.left-1\/4 {
    display: none !important;
  }
}

/* 项 6：Hero 标题字号阶梯 移动端允许换行 + 字号更紧凑 */
@media (max-width: 720px) {
  /* 取消桌面设计的 nowrap，让 360px 屏允许换行 */
  h1 > span.block,
  h1 > span.block > span {
    white-space: normal !important;
    word-break: keep-all !important;
  }
}

/* 桌面端（>=1025）强制不换行，保留原稿的设计节奏
   （不能依赖 Tailwind 编译产物里未生成的 xl:whitespace-nowrap） */
@media (min-width: 1025px) {
  h1 > span.block:last-child > span {
    white-space: nowrap !important;
  }
}

/* 项 7：流程 8 步移动端重排 — 改为"左侧竖线 + 右侧横排卡片" */
@media (max-width: 720px) {
  /* 网格列数由 2 列改为 1 列 */
  #process ul.grid.grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  /* 每步改为水平排列，左侧小竖线 + 大圆点，右侧文字 */
  #process .process-step {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    position: relative !important;
    padding: 18px 0 18px 0 !important;
    gap: 14px !important;
  }
  /* 左侧圆点容器：缩小、绝对定位不可（保留 flex 让它竖着对齐） */
  #process .process-step__icon {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 14px !important;
    margin: 0 !important;
    box-shadow: 0 6px 16px -6px rgba(26,79,196,0.28), 0 0 0 4px #ffffff !important;
    flex-shrink: 0 !important;
    position: relative !important;
  }
  /* 圆点之间用一条贯穿左侧的线连接（伪元素实现） */
  #process .process-step {
    border-left: 2px solid #d3e1f8 !important;
    margin-left: 24px !important;
    padding-left: 24px !important;
  }
  #process .process-step:last-child {
    border-left-color: transparent !important;
  }
  /* 步骤编号 / 标题 / 描述压缩字号 */
  #process .process-step__num {
    margin-top: 6px !important;
    font-size: 11px !important;
  }
  #process .process-step__title {
    margin-top: 4px !important;
    font-size: 15.5px !important;
  }
  #process .process-step__desc {
    margin-top: 6px !important;
    font-size: 12.5px !important;
    line-height: 1.7 !important;
  }
  /* icon 里的 svg 缩小 */
  #process .process-step__icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  /* 隐藏 PC 端的横向连接线（已经在 lg:hidden 写过了；这里只是双保险） */
  #process .hidden.lg\:block {
    display: none !important;
  }
}

/* 项 8：抽屉菜单样式（<=1024 启用抽屉按钮触发；>=1024 桌面照旧） */
@media (max-width: 1024px) {
  .nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 68, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
  }
  .nav-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }
  .nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(86vw, 360px);
    background: #ffffff;
    box-shadow: -16px 0 48px -12px rgba(10,31,68,0.32);
    z-index: 91;
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.2,.8,.2,1);
    display: flex;
    flex-direction: column;
    padding: 20px 22px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  .nav-drawer.is-open {
    transform: translateX(0);
  }
  .nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eef1f8;
  }
  .nav-drawer__head .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0a1530;
    font-size: 16px;
  }
  .nav-drawer__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #eef1f8;
    color: #26304a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-drawer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .nav-drawer__list a {
    display: block;
    padding: 14px 12px;
    border-radius: 12px;
    color: #0a1530;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .02em;
    transition: background .2s ease, color .2s ease;
  }
  .nav-drawer__list a:hover,
  .nav-drawer__list a:active {
    background: #f4f7fd;
    color: #1a4fc4;
  }
  .nav-drawer__cta {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eef1f8;
  }
  .nav-drawer__cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1a4fc4, #10388c);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 12px 28px -10px rgba(26,79,196,0.45);
  }
  /* 打开抽屉时锁滚动 */
  body.nav-drawer-open {
    overflow: hidden;
  }
}

/* 项 8-补充：>=1024 时抽屉相关元素全部隐藏（即便 HTML 里挂着也不显示） */
@media (min-width: 1025px) {
  .nav-drawer,
  .nav-drawer-overlay,
  [data-nav-trigger] {
    display: none !important;
  }
}


/* =================================================================
   移动端微调 — 第二批（V0.98.2 mobile polish）
   原则：同上一批，仅在 <=720 追加覆盖。
   ================================================================= */

/* 微调 1：Header 副标题 "JIANGXI · JUYI · EDUCATION" 在 mobile 折叠隐藏 */
@media (max-width: 720px) {
  .brand-sub { display: none !important; }
}

/* 微调 4：drawer CTA 按钮 padding 缩小，缓解窄屏贴边 */
@media (max-width: 720px) {
  .nav-drawer__cta a {
    padding: 14px 14px !important;
    font-size: 14px !important;
  }
}

/* =================================================================
   btn-shine — CTA 白色按钮的斜向光扫过动效
   （补齐原先缺失的组件类；按钮本身需 relative + overflow-hidden）
   ================================================================= */
.btn-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(115deg, transparent 20%, rgba(26,79,196,0.10) 50%, transparent 80%);
  transform: skewX(-20deg);
  transition: left .65s ease;
}
.btn-shine:hover::before { left: 130%; }

/* =================================================================
   body.modal-open — 企微弹窗打开时锁定背景滚动（配合 script.js）
   ================================================================= */
body.modal-open {
  overflow: hidden;
}