/* ============================================================
   知博学 ZHI BO XUE — 品牌官网样式
   主色严格取自 Logo 三色：
   宝蓝 #006AFF / 天蓝 #00A4FF / 翠绿 #00D168
   ============================================================ */

:root {
  /* —— Logo 三原色（矢量源文件精确值）—— */
  --logo-blue: #006aff;   /* 宝蓝：书本封面 + 中文字 */
  --logo-sky: #00a4ff;    /* 天蓝：翻页弧 */
  --logo-green: #00d168;  /* 翠绿：书页/叶片 */

  /* —— 蓝（宝蓝为主，天蓝为辅助亮色）—— */
  --blue: #006aff;
  --blue-dark: #0057d6;
  --blue-deep: #004bbd;
  --sky: #00a4ff;
  --blue-light: #e8f2ff;
  --blue-lighter: #f3f8ff;

  /* —— 绿（正文用深一档保证对比度，装饰用 Logo 原色）—— */
  --green: #00a851;        /* 正文/图标：对白底约 3:1，大字与图形达标 */
  --green-bright: #00d168; /* Logo 原色：渐变与装饰 */
  --green-light: #e6f9ee;

  --purple: #7c5cd6;
  --purple-light: #f0ecfb;
  --amber: #d97706;
  --amber-light: #fdf3e3;
  --coral: #e0553f;
  --coral-light: #fcece8;
  --teal: #0d9488;
  --teal-light: #e3f5f2;

  --ink: #12203c;
  --ink-2: #33415c;
  --muted: #6b7894;
  --line: #e6eaf1;
  --bg: #ffffff;
  --bg-soft: #f7faff;

  /* —— 品牌三色渐变（全站统一视觉语言）—— */
  --grad-brand: linear-gradient(100deg, #006aff 0%, #00a4ff 52%, #00d168 100%);
  --grad-brand-135: linear-gradient(135deg, #006aff 0%, #00a4ff 50%, #00d168 100%);
  --grad-brand-soft: linear-gradient(100deg, rgba(0,106,255,.10), rgba(0,164,255,.08), rgba(0,209,104,.10));

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 20px rgba(0, 90, 200, .06);
  --shadow-md: 0 12px 40px rgba(0, 80, 190, .10);
  --shadow-lg: 0 24px 60px rgba(0, 70, 180, .15);
  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  /* —— 动效曲线：入场走弹簧感，微交互带回弹 —— */
  --spring: cubic-bezier(.16, 1, .3, 1);
  --spring-soft: cubic-bezier(.34, 1.18, .44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  /* 本地系统字体优先：不依赖境外 CDN，中文字形清晰、加载即时 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "Noto Sans SC",
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 600; border: 2px solid transparent;
  cursor: pointer; transition: all .3s var(--ease); font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(0, 106, 255, .25); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 106, 255, .35); }
.btn-outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航栏 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid transparent; transition: all .35s var(--ease);
}
/* 顶部三色发丝线：Logo 三色信号 */
.site-header::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand); opacity: .85;
  box-shadow: 0 0 12px rgba(0,164,255,.45);
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0, 90, 200, .10); border-bottom-color: rgba(0,106,255,.10);
  background: rgba(255,255,255,.95);
}
.site-header.scrolled::before { opacity: 1; height: 2.5px; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }
/* —— 品牌标：图标（高保真位图）+ 活字字标，二层结构 —— */
.brand {
  display: flex; align-items: center; gap: 13px; flex-shrink: 0;
  position: relative; padding: 8px 2px; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* 悬停时自左向右展开的三色发丝线（替代原扫描光带） */
.brand::after {
  content: ""; position: absolute; left: 55px; right: 0; bottom: 2px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, #006aff 0%, #00a3ff 58%, #00d168 88%, rgba(0,209,104,0) 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .62s var(--spring); pointer-events: none;
}
.brand:hover::after { transform: scaleX(1); }

/* 1) 图标：三层（绿弧 / 天蓝弧 / 蓝色主体）→ 悬停时两层弧依次向左散开 */
.brand-mark {
  position: relative; display: grid; place-items: center; width: 42px; height: 46px; flex: 0 0 auto;
}
.brand-visual {
  position: relative; display: block; width: 40px;
  filter: drop-shadow(0 3px 7px rgba(0,60,150,.16));
  transition: transform .58s var(--spring), filter .45s var(--ease);
  will-change: transform;
}
.brand-mark-img { display: block; width: 100%; height: auto; }
/* 弧层：与原图同坐标系叠放，只截取自己那一条 */
.brand-layer {
  position: absolute; top: 0; left: 0; width: 100%; height: auto;
  pointer-events: none;
  transition: transform .62s var(--spring);
  will-change: transform;
}
.brand-halo {
  position: absolute; inset: -12px -10px; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at 46% 55%, rgba(0,106,255,.30), rgba(0,163,255,.13) 48%, rgba(0,209,104,.05) 70%, transparent 82%);
}
/* 错位量用百分比：始终等于图标宽度的 9% / 4.5%，随响应式等比缩放 */
.brand:hover .brand-visual { transform: translateY(-2px) scale(1.035); filter: drop-shadow(0 9px 18px rgba(0,70,170,.24)); }
.brand:active .brand-visual { transform: translateY(0) scale(.985); }
.brand:hover .brand-arc-1,
.brand:active .brand-arc-1 { transform: translateX(-9%); }
.brand:hover .brand-arc-2,
.brand:active .brand-arc-2 { transform: translateX(-4.5%); transition-delay: .055s; }
/* 松手/移出：两层同时归位，不再错落，收得干脆 */
.brand:hover .brand-halo { animation: brandPulse 1s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes brandPulse {
  0% { opacity: .30; transform: scale(.9); }
  62% { opacity: .10; }
  100% { opacity: 0; transform: scale(1.24); }
}

/* 2) 字标：知博学（渐变可流动）+ 英文（字距呼吸） */
.brand-type {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.brand-cn {
  font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: .08em;
  background: linear-gradient(96deg, #062a68 0%, #0a4fd8 26%, #0b6bff 52%, #00a3ff 76%, #0a4fd8 100%);
  background-size: 230% 100%; background-position: 0% 50%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: #06255e;
  transition: background-position 1s var(--ease);
  text-rendering: optimizeLegibility;
}
.brand:hover .brand-cn { background-position: 100% 50%; }
.brand-en {
  font-size: 9.5px; font-weight: 700; line-height: 1;
  letter-spacing: .3em; color: #8697ad; text-transform: uppercase;
  transition: letter-spacing .55s var(--spring), color .35s var(--ease);
}
.brand:hover .brand-en { letter-spacing: .4em; color: #006aff; }

/* 触屏：无 hover，按下时同样让两层弧散开一次 */
@media (hover: none) {
  .brand::after { transform: scaleX(1); opacity: .5; }
  .brand:active .brand-halo { animation: brandPulse .85s ease-out forwards; }
}


.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 14.5px; font-weight: 600; color: var(--ink-2); position: relative; padding: 8px 0; transition: color .25s; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 1px; width: 0; height: 3px; background: var(--grad-brand); border-radius: 3px; box-shadow: 0 2px 8px rgba(0,164,255,.35); transition: width .35s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }

/* 二级下拉菜单 */
.nav-item { position: relative; display: flex; align-items: center; gap: 3px; }
.nav-caret { width: 13px; height: 13px; color: var(--muted); transition: transform .3s var(--ease), color .25s; flex-shrink: 0; }
.nav-item:hover .nav-caret { transform: rotate(180deg); color: var(--blue); }
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(-10px) scale(.97);
  min-width: 190px; background: #fff; border-radius: 13px; padding: 8px;
  box-shadow: 0 18px 44px rgba(22,33,59,.14); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: all .28s var(--ease); z-index: 20; transform-origin: top center;
}
.dropdown::before { content: ""; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s, transform .2s; }
.dropdown a:hover { background: var(--blue-light); color: var(--blue); transform: translateX(3px); }
.dropdown a:hover::before { content: ""; position: absolute; left: 0; top: 20%; bottom: 20%; width: 3px; border-radius: 3px; background: var(--grad-brand); }
.dropdown a { position: relative; }
.soon-tag { font-size: 10px; font-style: normal; color: var(--amber); background: var(--amber-light); padding: 2px 8px; border-radius: 10px; white-space: nowrap; }

.lang-switch { display: flex; align-items: center; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 22px; border: 1px solid var(--line); }
.lang-btn { border: none; background: transparent; font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; padding: 6px 11px; border-radius: 16px; transition: all .25s; line-height: 1; }
.lang-btn:hover { color: var(--blue); }
.lang-btn.active { color: #fff; background: var(--grad-brand); box-shadow: 0 3px 12px rgba(0,164,255,.35); }
.lang-divider { display: none; }

/* 导航 CTA：三色渐变 + 流光 */
.nav-cta { position: relative; overflow: hidden; background: var(--grad-brand); color: #fff; border: none; box-shadow: 0 6px 18px rgba(0,140,255,.3); }
.nav-cta:hover { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 26px rgba(0,164,255,.42); }
.nav-cta::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); animation: sweep 3.2s ease-in-out infinite; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 160px 0 0; overflow: hidden; background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 52%, #fff 100%); }
/* 三色极光光球 */
.hero-bg-shape { position: absolute; border-radius: 50%; filter: blur(6px); opacity: .7; }
.shape-1 { width: 620px; height: 620px; background: radial-gradient(circle, rgba(0,164,255,.30) 0%, rgba(0,106,255,.12) 40%, transparent 70%); top: -180px; right: -140px; animation: drift 14s ease-in-out infinite; }
.shape-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(0,209,104,.26) 0%, rgba(0,164,255,.08) 42%, transparent 70%); bottom: -220px; left: -160px; animation: drift 18s ease-in-out infinite reverse; }
/* 流动的三色极光带 */
.hero::before {
  content: ""; position: absolute; top: -30%; left: -20%; width: 140%; height: 90%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 40% 50% at 20% 40%, rgba(0,106,255,.14), transparent 70%),
    radial-gradient(ellipse 35% 55% at 62% 30%, rgba(0,164,255,.12), transparent 70%),
    radial-gradient(ellipse 40% 45% at 85% 60%, rgba(0,209,104,.12), transparent 70%);
  filter: blur(20px); animation: auroraShift 16s ease-in-out infinite alternate;
}
@keyframes auroraShift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(2%, -3%, 0) scale(1.08); } }
.hero-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(0,132,255,.28) 1px, transparent 1px); background-size: 34px 34px; opacity: .32; mask-image: linear-gradient(to bottom, #000, transparent 82%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; position: relative; z-index: 1; }

.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; background: var(--grad-brand-soft); border: 1px solid rgba(0,164,255,.22); color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .3px; border-radius: 20px; margin-bottom: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(0,209,104,.18), 0 0 10px rgba(0,209,104,.6); animation: pulse 2s ease-in-out infinite; }
.hero-title { font-size: clamp(38px, 4.6vw, 64px); line-height: 1.16; font-weight: 800; letter-spacing: -1.8px; margin-bottom: 24px; color: var(--ink); }
.gradient-text { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; background-size: 220% auto; animation: shine 5s linear infinite; }
.hero-subtitle { font-size: 16.5px; color: var(--ink-2); line-height: 1.9; max-width: 570px; margin-bottom: 30px; }

/* 双模式卡片 */
.hero-modes { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.mode-card { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.9); border: 1px solid rgba(0,164,255,.14); border-radius: 13px; padding: 12px 16px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; position: relative; overflow: hidden; }
.hero-modes .mode-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad-brand); opacity: .8; }
.mode-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,120,255,.16); border-color: rgba(0,164,255,.32); }
.mode-icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.mode-icon svg { width: 21px; height: 21px; }
.mode-icon.blue { background: var(--blue-light); color: var(--blue); }
.mode-icon.green { background: var(--green-light); color: var(--green-bright); }
.mode-card strong { display: block; font-size: 14px; }
.mode-card span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 4px; }
/* Hero 主按钮：三色渐变 + 常驻流光 */
.hero-buttons .btn-primary { background: var(--grad-brand); box-shadow: 0 10px 26px rgba(0,140,255,.32); border: none; }
.hero-buttons .btn-primary:hover { background: var(--grad-brand); box-shadow: 0 16px 36px rgba(0,164,255,.45); }

/* ---------- Banner 底部：985 / 211 高校校徽滚动带 ---------- */
.uni-band { position: relative; z-index: 1; margin-top: 52px; padding: 24px 0 44px; }
.uni-band::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(1180px, 90%); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,106,255,.16) 22%, rgba(0,164,255,.2) 50%, rgba(0,209,104,.16) 78%, transparent);
}
.uni-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 26px; padding: 0 20px; }
.uni-head-text { font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; color: #5a6d8a; line-height: 1.55; text-align: center; }
.uni-head-line { width: 40px; height: 1px; flex: 0 0 auto; background: linear-gradient(90deg, transparent, rgba(0,106,255,.42)); }
.uni-head-line:last-child { transform: rotate(180deg); }

.uni-marquee {
  position: relative; overflow: hidden; padding: 4px 0 6px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.uni-track { display: flex; align-items: center; width: max-content; will-change: transform; animation: uniMarquee 42s linear infinite; }
.uni-marquee:hover .uni-track { animation-play-state: paused; }
@keyframes uniMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
/* 单枚校徽：矢量字体图标 + 校名，按各校代表色着色 */
.uni-item {
  position: relative; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  min-width: 124px; padding: 0 14px; cursor: default;
}
.uni-logo {
  display: block; font-size: 52px; line-height: 1; font-style: normal; font-weight: normal;
  filter: drop-shadow(0 2px 5px rgba(20,50,110,.14));
  transition: transform .5s var(--spring), filter .4s ease, opacity .3s;
}
.uni-name {
  font-size: 12.5px; line-height: 1.2; font-weight: 500; letter-spacing: .3px;
  color: #45586f; white-space: nowrap;
  transition: color .3s ease;
}
.uni-item:hover .uni-logo {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 10px 18px rgba(20,50,110,.28));
}
.uni-item:hover .uni-name { color: var(--logo-blue); }

/* Hero 视觉卡片 */
.hero-visual { position: relative; height: 500px; display: flex; align-items: center; justify-content: center; }
/* 三色轨道环 */
.orbit-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ring-1 { width: 440px; height: 440px; border: 1.5px dashed rgba(0,106,255,.22); box-shadow: inset 0 0 60px rgba(0,164,255,.05); animation: spin 40s linear infinite; }
.ring-2 { width: 330px; height: 330px; border: 1.5px dashed rgba(0,209,104,.22); animation: spin 30s linear infinite reverse; }
.visual-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.main-card { width: 320px; padding: 18px; z-index: 2; border: 1px solid rgba(0,164,255,.10); }
.main-card-head { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 12px; padding-left: 2px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--logo-green); box-shadow: 0 0 0 4px rgba(0,209,104,.18), 0 0 10px rgba(0,209,104,.5); animation: pulse 1.8s ease-in-out infinite; }
.lesson-visual { position: relative; background: linear-gradient(135deg, #eaf2ff, #e6fbf0); border-radius: 12px; padding: 18px; }
.lesson-screen { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,90,200,.10); }
.screen-bar { display: flex; gap: 5px; padding: 9px 12px; background: #f4f6fb; border-bottom: 1px solid var(--line); }
.screen-bar i { width: 7px; height: 7px; border-radius: 50%; background: #d8deea; }
.screen-bar i:first-child { background: #f1a0a0; } .screen-bar i:nth-child(2) { background: #f0cf8a; } .screen-bar i:last-child { background: #9fd8b4; }
.screen-body { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px 16px; }
.person { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0; }
.person.teacher { background: var(--grad-brand-135); animation: bob 4s ease-in-out infinite; box-shadow: 0 6px 16px rgba(0,106,255,.3); }
.person.student { background: linear-gradient(135deg, var(--logo-sky), var(--logo-green)); animation: bob 4s ease-in-out infinite .8s; box-shadow: 0 6px 16px rgba(0,209,104,.3); }
.connection { display: flex; gap: 4px; align-items: center; }
.connection i { width: 7px; height: 7px; border-radius: 50%; background: var(--logo-blue); opacity: .35; animation: connect 1.4s ease-in-out infinite; }
.connection i:nth-child(2) { background: var(--logo-sky); animation-delay: .2s; } .connection i:nth-child(3) { background: var(--logo-green); animation-delay: .4s; }
.floating-badge { position: absolute; display: flex; align-items: center; gap: 6px; background: #fff; padding: 8px 12px; border-radius: 9px; font-size: 11px; font-weight: 700; box-shadow: 0 10px 26px rgba(0,110,220,.16); white-space: nowrap; border: 1px solid rgba(0,164,255,.12); }
.floating-badge svg { width: 14px; height: 14px; }
.fb-1 { top: 8px; right: -8px; color: var(--green-bright); animation: float 5s ease-in-out infinite; }
.fb-2 { bottom: 8px; left: -10px; color: var(--blue); animation: float 6s ease-in-out infinite reverse; }
.main-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 2px 2px 0; }
.main-card-foot strong { display: block; font-size: 14px; }
.main-card-foot span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.stat-ring { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.stat-ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--blue-light); stroke-width: 3; }
.ring-fg { fill: none; stroke: var(--logo-green); stroke-width: 3.5; stroke-dasharray: 98 100; stroke-linecap: round; filter: drop-shadow(0 0 3px rgba(0,209,104,.5)); }
.stat-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--green-bright); }

/* 三类师资浮动卡 */
.teacher-card { position: absolute; display: flex; align-items: center; gap: 11px; background: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,90,200,.15); border: 1px solid rgba(0,164,255,.12); z-index: 3; transition: transform .3s var(--ease), box-shadow .3s; }
.teacher-card:hover { box-shadow: 0 18px 40px rgba(0,140,255,.24); }
.tc-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 10px; font-weight: 800; flex-shrink: 0; }
.tc-icon svg { width: 20px; height: 20px; }
.tc-icon.blue { background: var(--blue-light); color: var(--logo-blue); }
.tc-icon.green { background: var(--green-light); color: var(--green-bright); }
.tc-icon.amber { background: var(--amber-light); color: var(--amber); }
.teacher-card strong { display: block; font-size: 13px; white-space: nowrap; }
.teacher-card span { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.tc-1 { top: 18px; right: -18px; animation: float 6s ease-in-out infinite; }
.tc-2 { bottom: 74px; left: -28px; animation: float 7s ease-in-out infinite reverse; }
.tc-3 { bottom: 14px; right: -10px; animation: float 6.5s ease-in-out infinite 1s; }
.visual-dots { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--green); opacity: .35; }
.d1 { top: 12%; left: 10%; } .d2 { bottom: 40%; right: 8%; background: var(--blue); }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes connect { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.25); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%,100% { transform: translate(0, 0); } 50% { transform: translate(24px, -24px); } }
@keyframes shine { to { background-position: 200% center; } }

/* 鼠标聚光灯 */
.hero-spotlight { position: absolute; width: 600px; height: 600px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: 0; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0,164,255,.16) 0%, rgba(0,106,255,.08) 30%, rgba(0,209,104,.06) 50%, transparent 70%); transition: opacity .5s ease; }
.hero-spotlight.on { opacity: 1; }

/* 漂浮粒子 */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particle { position: absolute; border-radius: 50%; background: var(--logo-blue); opacity: 0; animation: particleRise linear infinite; box-shadow: 0 0 8px currentColor; }
.particle.s { background: var(--logo-sky); }
.particle.g { background: var(--logo-green); }
@keyframes particleRise { 0% { transform: translateY(0) scale(.5); opacity: 0; } 10% { opacity: .5; } 90% { opacity: .4; } 100% { transform: translateY(-520px) scale(1); opacity: 0; } }

/* 标题逐字入场 & 高亮呼吸 */
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(30px) rotateX(-40deg); animation: wordIn .7s var(--ease) forwards; transform-origin: bottom; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotateX(0); } }
.gradient-text { animation: shine 5s linear infinite, glow 3s ease-in-out infinite; }
@keyframes glow { 0%,100% { filter: drop-shadow(0 0 0 rgba(0,164,255,0)); } 50% { filter: drop-shadow(0 2px 6px rgba(0,164,255,.2)); } }

/* 按钮扫光 */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: sweep 3.5s ease-in-out infinite; }
@keyframes sweep { 0%,60% { left: -80%; } 100% { left: 130%; } }

/* 阅读进度条 */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 150; background: var(--grad-brand); box-shadow: 0 0 12px rgba(0,164,255,.7); }

/* 视差浮层（JS 驱动） */
.hero-content, .hero-visual { will-change: transform; }

/* ---------- 数据条 ---------- */
/* ============================================================
   核心优势带 —— 高保真重构
   ============================================================ */
.advantage-bar {
  position: relative; overflow: hidden; padding: 90px 0 86px; color: #fff;
  isolation: isolate;
  background: linear-gradient(118deg, #002b76 0%, #004dc9 48%, #0069f5 100%);
}

/* ---- 背景层：极光光球 + 淡网格（全部在文字之下，不干扰阅读） ---- */
.adv-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
/* 细网格：只在中部隐约可见 */
.adv-bg::before {
  content: ""; position: absolute; inset: -1px;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 76% 70% at 50% 38%, #000 26%, transparent 76%);
  mask-image: radial-gradient(ellipse 76% 70% at 50% 38%, #000 26%, transparent 76%);
}
/* 斜向柔光带：26s 从左侧缓慢横穿，制造“这块不是一块死蓝”的呼吸 */
.adv-bg::after {
  content: ""; position: absolute; top: -32%; bottom: -32%; left: -70%; width: 62%;
  background: linear-gradient(100deg, transparent 14%, rgba(255,255,255,.045) 40%, rgba(150,225,255,.085) 54%, transparent 86%);
  transform: skewX(-12deg); animation: advSheen 26s ease-in-out infinite;
}
@keyframes advSheen {
  0%, 100% { transform: skewX(-12deg) translateX(-12%); }
  50% { transform: skewX(-12deg) translateX(300%); }
}
.adv-orb { position: absolute; border-radius: 50%; filter: blur(72px); will-change: transform; }
.adv-orb-a { width: 560px; height: 560px; top: -240px; left: -140px; background: radial-gradient(circle, rgba(0,164,255,.62), transparent 70%); animation: orbA 26s ease-in-out infinite alternate; }
.adv-orb-b { width: 540px; height: 540px; right: -160px; bottom: -250px; background: radial-gradient(circle, rgba(0,209,104,.40), transparent 70%); animation: orbB 30s ease-in-out infinite alternate; }
.adv-orb-c { width: 360px; height: 360px; top: 44%; left: 44%; background: radial-gradient(circle, rgba(0,106,255,.55), transparent 72%); animation: orbC 22s ease-in-out infinite alternate; }
/* 顶部一层大面积冷白柔光：把标题区从“纯色底”里托起来 */
.adv-orb-d { width: 820px; height: 420px; top: -170px; left: 50%; margin-left: -410px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(190,235,255,.20), rgba(120,200,255,.09) 45%, transparent 72%);
  animation: orbD 18s ease-in-out infinite alternate; }
@keyframes orbA { to { transform: translate3d(70px, 46px, 0) scale(1.12); } }
@keyframes orbB { to { transform: translate3d(-80px, -56px, 0) scale(1.1); } }
@keyframes orbC { to { transform: translate3d(-56px, 64px, 0) scale(.9); } }
@keyframes orbD { to { transform: translate3d(30px, 26px, 0) scale(1.06); opacity: .82; } }
/* 细颗粒噪点：消掉大面积渐变塑料感（叠在最上层，不挡交互） */
.advantage-bar::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.advantage-bar .container { position: relative; z-index: 1; }

/* ---------- 标题区 ---------- */
.adv-head { text-align: center; max-width: 860px; margin: 0 auto 54px; }
.adv-eyebrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden;
  padding: 9px 20px; border-radius: 999px; margin-bottom: 26px;
  font-size: 13px; font-weight: 700; letter-spacing: 1.6px; color: #fff;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.34);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 26px rgba(0,22,70,.26), inset 0 1px 0 rgba(255,255,255,.28);
}
.adv-eyebrow::after {
  content: ""; position: absolute; top: -40%; left: -60%; width: 34%; height: 180%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-18deg); animation: eyebrowSheen 5.6s cubic-bezier(.45,0,.2,1) infinite;
}
@keyframes eyebrowSheen { 0%, 62% { left: -60%; } 100% { left: 132%; } }
.adv-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: #5cffb2;
  box-shadow: 0 0 0 4px rgba(92,255,178,.2), 0 0 12px rgba(92,255,178,.9);
  animation: dotBreath 2.6s ease-in-out infinite;
}
@keyframes dotBreath { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.72); opacity: .62; } }
.adv-title { font-size: clamp(28px, 3.6vw, 45px); font-weight: 800; line-height: 1.34; letter-spacing: -.7px; }
.adv-hl {
  position: relative; display: inline-block; color: transparent;
  background: linear-gradient(100deg, #86ffc9 0%, #a9edff 52%, #ffffff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.adv-hl::after {
  content: ""; position: absolute; left: 1%; right: 1%; bottom: -7px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(0,209,104,.85), rgba(0,164,255,.85), rgba(255,255,255,0));
  transform: scaleX(0); transform-origin: left;
}
.adv-head.visible .adv-hl::after { transform: scaleX(1); transition: transform 1.1s var(--spring) .5s; }
/* 副标题：断成「范围 ｜ 主张」两截，竖线分隔，比一长串破折号干净 */
.adv-sub {
  margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 2px 0; font-size: 16.5px; font-weight: 500; line-height: 1.8; color: rgba(255,255,255,.9);
}
.adv-sub-a { color: rgba(212,236,255,.74); letter-spacing: .3px; }
.adv-sub-div {
  width: 1px; height: 16px; margin: 0 20px; flex: 0 0 auto;
  background: linear-gradient(180deg, transparent, rgba(198,234,255,.7) 42%, rgba(198,234,255,.7) 58%, transparent);
  box-shadow: 0 0 9px rgba(150,220,255,.5);
}
.adv-sub-b { color: #fff; font-weight: 700; letter-spacing: .3px; }

/* ---------- 双卡 ---------- */
.adv-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.adv-modes .mode-card {
  position: relative; display: block; margin: 0; padding: 30px 32px 28px; gap: 0; align-items: initial;
  transform-style: preserve-3d; will-change: transform;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(152deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 18px 44px rgba(0,18,64,.22), inset 0 1px 0 rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .5s var(--spring), box-shadow .5s var(--spring), border-color .4s, background .5s;
}
/* 两张卡静置就该是两个地方：上门＝脚下有光，在线＝头顶有天光 */
.adv-modes .mode-card--home {
  background:
    radial-gradient(circle 300px at 4% 102%, rgba(0,224,112,.32), rgba(0,209,104,.07) 42%, transparent 66%),
    linear-gradient(152deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
}
.adv-modes .mode-card--online {
  background:
    radial-gradient(circle 300px at 96% -2%, rgba(60,186,255,.34), rgba(0,164,255,.08) 44%, transparent 68%),
    linear-gradient(152deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
}
/* 入场与悬停分两套缓动：入场走弹簧，悬停立刻响应 */
.adv-modes .mode-card.reveal {
  transition:
    opacity .8s var(--spring) var(--delay, 0s),
    transform .9s var(--spring) var(--delay, 0s),
    box-shadow .5s var(--spring),
    border-color .4s,
    background .5s;
}
.adv-modes .mode-card:hover {
  transition: transform .45s var(--spring-soft), box-shadow .45s var(--spring-soft), border-color .35s, background .45s, opacity .4s, filter .4s;
}
/* 鼠标进入这一排时，没被指到的那张后退半格：一眼就能感到“它们在联动” */
@media (hover: hover) and (pointer: fine) {
  .adv-modes:hover .mode-card:not(:hover) {
    opacity: .74; filter: saturate(.78) brightness(.92);
    transform: translateY(0) scale(.986);
    box-shadow: 0 12px 30px rgba(0,18,64,.18), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .5s var(--spring-soft), opacity .4s, filter .4s, box-shadow .4s;
  }
}
/* ===== 两张卡各说各话 =====
   上门：整卡朝观者压近半步并侧转，像门被从里面推开一截
   在线：整卡抬得更高并仰起，像屏幕转过来对准你 */
.adv-modes .mode-card--home:hover {
  transform: perspective(1100px) translate3d(-3px, -5px, 0) rotateY(2.4deg) rotateX(var(--rx, 0deg));
  border-color: rgba(125,255,196,.5);
  background:
    radial-gradient(circle 340px at 4% 102%, rgba(0,232,120,.42), rgba(0,209,104,.1) 44%, transparent 70%),
    linear-gradient(152deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
  box-shadow: 0 26px 56px rgba(0,26,80,.34), 0 0 0 1px rgba(125,255,196,.16), inset 0 1px 0 rgba(255,255,255,.34);
}
.adv-modes .mode-card--online:hover {
  transform: perspective(1100px) translate3d(3px, -11px, 0) rotateX(calc(3deg + var(--rx, 0deg))) rotateY(var(--ry, 0deg));
  border-color: rgba(150,215,255,.55);
  background:
    radial-gradient(circle 340px at 96% -2%, rgba(80,200,255,.44), rgba(0,164,255,.1) 46%, transparent 72%),
    linear-gradient(152deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
  box-shadow: 0 34px 70px rgba(0,22,72,.40), 0 0 0 1px rgba(150,215,255,.2), inset 0 1px 0 rgba(255,255,255,.36);
}

/* 鼠标跟随辉光 */
.adv-modes .mode-card::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity .45s var(--spring);
}
/* 上门：横向拉长的暖绿光，像走廊里推过来的一束光 */
.adv-modes .mode-card--home::after {
  background: radial-gradient(420px 160px at var(--mx, 50%) var(--my, 50%),
              rgba(0,209,104,.20), rgba(0,164,255,.06) 46%, transparent 74%);
}
/* 在线：正圆的冷蓝光，像信号覆盖圈 */
.adv-modes .mode-card--online::after {
  background: radial-gradient(circle 300px at var(--mx, 50%) var(--my, 50%),
              rgba(0,164,255,.22), rgba(124,200,255,.07) 50%, transparent 72%);
}
.adv-modes .mode-card:hover::after { opacity: 1; }
/* 顶部高光：悬停时单次掠过（不做半截常驻线，避免「断掉的进度条」观感） */
.adv-modes .mode-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent, #00d168, #00a4ff, #ffffff, transparent);
  background-size: 46% 100%; background-repeat: no-repeat; background-position: -60% 0;
  opacity: 0; transition: opacity .4s;
}
.adv-modes .mode-card:hover::before { opacity: 1; }
/* 顶部发丝线：常驻循环。上门一档 5.6s，在线快一档 4.2s，节奏本身就不同 */
.adv-modes .mode-card.visible::before { opacity: .9; animation: cardTopSweep 5.6s cubic-bezier(.45,0,.2,1) infinite; }
.adv-modes .mode-card--online.visible::before { animation-duration: 4.2s; }
.adv-modes .mode-card.visible:hover::before { opacity: 1; }
.adv-modes .mode-card--online::before {
  background-image: linear-gradient(90deg, transparent, #00a4ff, #8ed3ff, #ffffff, transparent);
  background-size: 46% 100%;
  background-repeat: no-repeat;
  background-position: -60% 0;
}
@keyframes cardTopSweep { 0% { background-position: -60% 0; } 100% { background-position: 160% 0; } }
.adv-modes .mode-card > * { position: relative; z-index: 1; }

/* 卡片首行：图标 → 徽标 → 编号，排成一条脊线（原来是图标单独一行、徽标另起一行，看着断） */
.adv-modes .mode-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.adv-modes .mode-icon {
  position: relative; width: 60px; height: 60px; flex: 0 0 auto; border-radius: 18px;
  display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #2ff09a 0%, #00a4ff 100%);
  border: 1px solid rgba(255,255,255,.44);
  box-shadow: 0 12px 28px rgba(0,150,140,.34), inset 0 1px 0 rgba(255,255,255,.55);
  transition: transform .5s var(--spring-soft), box-shadow .5s var(--spring);
}
/* 图标上的斜向高光扫过（替代原来「侧动一下」的土味倾斜） */
.adv-modes .mode-icon::after {
  content: ""; position: absolute; top: -60%; left: -90%; width: 46%; height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
  transform: skewX(-20deg); transition: left .75s var(--spring);
}
.adv-modes .mode-card:hover .mode-icon::after { left: 150%; }
/* 上门：图标向左迈出半步（老师跨到门口），保留斜向白光扫过 */
.adv-modes .mode-card--home:hover .mode-icon {
  transform: translate(-3px, -3px) scale(1.06);
  box-shadow: 0 18px 36px rgba(0,170,150,.44), 0 0 0 4px rgba(125,255,196,.14), inset 0 1px 0 rgba(255,255,255,.6);
}
/* 在线：图标不位移，向外扩一圈信号波 */
.adv-modes .mode-card--online .mode-icon { overflow: visible; }
.adv-modes .mode-card--online .mode-icon::after { display: none; }
.adv-modes .mode-card--online .mode-icon::before {
  content: ""; position: absolute; inset: -1px; border-radius: 18px; pointer-events: none;
  border: 1px solid rgba(160,220,255,.7); opacity: 0;
  animation: sigPing 2.6s cubic-bezier(.2,.72,.3,1) infinite;
}
.adv-modes .mode-card--online:hover .mode-icon {
  transform: scale(1.07);
  box-shadow: 0 18px 36px rgba(0,120,255,.5), 0 0 0 8px rgba(0,164,255,.10), inset 0 1px 0 rgba(255,255,255,.55);
}
/* 悬停时信号发得更急 */
.adv-modes .mode-card--online:hover .mode-icon::before {
  animation-duration: 1.1s;
}
@keyframes sigPing {
  0% { opacity: .62; transform: scale(1); }
  60% { opacity: .22; }
  100% { opacity: 0; transform: scale(1.72); }
}
.adv-modes .mode-icon svg { position: relative; z-index: 1; width: 28px; height: 28px; }
.adv-modes .mode-icon.icon-blue {
  background: linear-gradient(150deg, #3fc8ff 0%, #006aff 100%);
  box-shadow: 0 12px 28px rgba(0,106,255,.38), inset 0 1px 0 rgba(255,255,255,.5);
}
.adv-modes .mode-card--online:hover .mode-icon.icon-blue {
  box-shadow: 0 18px 36px rgba(0,120,255,.5), 0 0 0 8px rgba(0,164,255,.10), inset 0 1px 0 rgba(255,255,255,.55);
}
/* 编号：描边数字，随卡片入场滑入并计数（与图标同行时收一点重量，别抢主体） */
.adv-modes .mode-num {
  margin-left: auto; flex: 0 0 auto; font-size: 54px; font-weight: 900; line-height: .82; letter-spacing: .5px;
  color: transparent; -webkit-text-stroke: 1.7px rgba(255,255,255,.26);
  font-variant-numeric: tabular-nums; pointer-events: none; user-select: none;
  opacity: 0; transform: translateY(12px);
  transition: opacity .9s var(--spring) .25s, transform 1s var(--spring) .25s, -webkit-text-stroke-color .5s;
}
.adv-modes .mode-card.visible .mode-num { opacity: 1; transform: translateY(0); }
.adv-modes .mode-card:hover .mode-num {
  -webkit-text-stroke-color: rgba(255,255,255,.44);
  transform: translateY(-3px) scale(1.05);
  transition: transform .55s var(--spring-soft), -webkit-text-stroke-color .4s;
}

/* 徽标：半透明玻璃门牌 + 实时电平（与图标同行，像挂在门上的门牌） */
.adv-modes .mode-tag {
  display: inline-flex; align-items: center; gap: 8px;
  flex: 0 1 auto; min-width: 0;
  margin: 0; padding: 7px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px; line-height: 1.2; color: #eafff4;
  background: linear-gradient(100deg, rgba(0,205,112,.42), rgba(0,186,101,.16));
  border: 1px solid rgba(140,255,200,.52);
  text-shadow: 0 1px 2px rgba(0,52,34,.3);
  box-shadow: 0 6px 18px rgba(0,110,66,.26), inset 0 1px 0 rgba(255,255,255,.26);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  white-space: nowrap; overflow: hidden;
  transition: transform .45s var(--spring-soft), box-shadow .4s, border-color .4s, background .4s;
}
.adv-modes .mode-tag > span {
  display: block; margin: 0; font-size: inherit; font-weight: inherit;
  letter-spacing: inherit; color: inherit; line-height: inherit;
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
}
/* 上门：门牌被点亮并往里推了半格 */
.adv-modes .mode-card--home:hover .mode-tag {
  transform: translate(3px, -1px);
  background: linear-gradient(100deg, rgba(0,208,112,.44), rgba(0,186,101,.2));
  border-color: rgba(150,255,205,.7);
  box-shadow: 0 10px 24px rgba(0,120,74,.36), inset 0 1px 0 rgba(255,255,255,.34);
}
/* 在线：只是信号灯变亮，位置不动 */
.adv-modes .mode-card--online:hover .mode-tag {
  transform: none;
  border-color: rgba(180,228,255,.72);
  box-shadow: 0 10px 26px rgba(0,80,180,.4), 0 0 0 3px rgba(142,211,255,.12), inset 0 1px 0 rgba(255,255,255,.34);
}
.adv-modes .mode-tag.tag-blue {
  color: #eaf7ff;
  background: linear-gradient(100deg, rgba(0,155,255,.42), rgba(0,110,240,.16));
  border-color: rgba(165,222,255,.52);
  text-shadow: 0 1px 2px rgba(0,26,70,.32);
  box-shadow: 0 6px 18px rgba(0,74,176,.28), inset 0 1px 0 rgba(255,255,255,.26);
}
.adv-modes .mode-card--online:hover .mode-tag.tag-blue {
  background: linear-gradient(100deg, rgba(0,170,255,.46), rgba(0,120,250,.22));
  box-shadow: 0 10px 26px rgba(0,80,180,.42), 0 0 0 3px rgba(142,211,255,.14), inset 0 1px 0 rgba(255,255,255,.34);
}
.adv-modes .mode-tag-dot {
  width: 6px; height: 6px; border-radius: 50%; flex: 0 0 auto; background: #9dffcb;
  box-shadow: 0 0 0 3px rgba(125,255,196,.22), 0 0 8px rgba(125,255,196,.8);
  animation: pulse 2.4s ease-in-out infinite;
}
.adv-modes .mode-tag.tag-blue .mode-tag-dot {
  background: #a8e2ff; box-shadow: 0 0 0 3px rgba(150,220,255,.24), 0 0 8px rgba(150,220,255,.85);
}
.adv-modes .mode-live { display: inline-flex; align-items: flex-end; gap: 3.5px; height: 12px; flex: 0 0 auto; margin-left: 2px; }
.adv-modes .mode-live b {
  display: block; width: 3px; border-radius: 2px; background: #fff;
  transform-origin: bottom; animation: liveEq 1.6s ease-in-out infinite;
}
.adv-modes .mode-live b:nth-child(1) { height: 7px; }
.adv-modes .mode-live b:nth-child(2) { height: 10px; animation-delay: .2s; }
.adv-modes .mode-live b:nth-child(3) { height: 12px; animation-delay: .4s; }
@keyframes liveEq { 0%, 100% { transform: scaleY(.55); opacity: .72; } 50% { transform: scaleY(1); opacity: 1; } }

.adv-modes .mode-card--home:hover h3 { transform: translateX(3px); transition: transform .5s var(--spring-soft); }
.adv-modes .mode-card--online:hover h3 { transform: translateY(-2px); transition: transform .5s var(--spring-soft); }
.adv-modes .mode-card h3 {
  position: relative; z-index: 1; font-size: 25px; font-weight: 800; letter-spacing: -.4px;
  line-height: 1.3; color: #fff; margin: 0 0 12px;
}
.adv-modes .mode-card p {
  position: relative; z-index: 1; font-size: 14.8px; line-height: 1.85;
  color: rgba(255,255,255,.95); margin: 0;
}

/* ============================================================
   三步轨 = 卡片里的「仪表盘」
   原来只有 点 + 字 + 一根细线，信息太单薄；
   现在三步各占一块小芯片，中间用轨道相连，面板本身也有光在走
   ============================================================ */
.adv-modes .mode-steps {
  position: relative; z-index: 1; display: flex; align-items: center;
  margin: 26px 0 0; padding: 13px 14px; border-radius: 15px;
  background:
    radial-gradient(130% 170% at 100% 0%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(120deg, rgba(3,22,66,.34), rgba(3,22,66,.14));
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 22px rgba(0,12,48,.16);
  overflow: hidden;
}
/* 面板上一道斜光定期扫过（两张卡节奏不同） */
.adv-modes .mode-steps::after {
  content: ""; position: absolute; top: -34%; bottom: -34%; left: -42%; width: 32%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.17), transparent);
  transform: skewX(-18deg); pointer-events: none;
  animation: stepPanelSheen 7.2s cubic-bezier(.45,0,.2,1) infinite;
}
.adv-modes .mode-card--online .mode-steps::after { animation-duration: 5.4s; }
@keyframes stepPanelSheen { 0%, 58% { left: -42%; } 100% { left: 120%; } }

.adv-modes .mode-step {
  display: flex; align-items: center; gap: 7px; flex: 0 0 auto; min-width: 0;
  padding: 7px 11px 7px 9px; border-radius: 10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  opacity: 0; transform: translateY(7px);
  transition: opacity .5s var(--spring), transform .6s var(--spring-soft);
  transition-delay: calc(.36s + var(--step, 0) * .26s);
}
.adv-modes .mode-card.visible .mode-step { opacity: 1; transform: none; }
.adv-modes .mode-step i {
  display: block; width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,.16);
  transition: box-shadow .4s;
}
.adv-modes .mode-step em {
  font-style: normal; font-size: 12.2px; font-weight: 600; letter-spacing: .1px;
  color: rgba(255,255,255,.96); white-space: nowrap;
}
/* 芯片之间的连接轨道 */
.adv-modes .mode-rail {
  flex: 1 1 10px; min-width: 9px; height: 1px; margin: 0 7px;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.16));
  transition: transform .7s var(--spring);
}
.adv-modes .mode-rail:nth-child(2) { transition-delay: .48s; }
.adv-modes .mode-rail:nth-child(4) { transition-delay: .74s; }
.adv-modes .mode-card.visible .mode-rail { transform: scaleX(1); }
/* ============================================================
   两张卡各自常驻循环（不需要鼠标，一直在动），但节奏与语义完全不同
   上门：三步依次被点亮，像路被一步步铺过去，光点沿轨走过
   在线：三块芯片错峰呼吸，刻度在轨上持续流动，像数据在传
   ============================================================ */
/* ---- 上门 ---- */
.adv-modes .mode-card--home.visible .mode-step {
  animation: homeChip 3.6s cubic-bezier(.45,0,.2,1) infinite;
  animation-delay: calc(var(--step, 0) * .58s);
}
@keyframes homeChip {
  0%, 100% { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16); }
  7% { background: rgba(125,255,196,.22); border-color: rgba(125,255,196,.58);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 0 0 1px rgba(125,255,196,.16), 0 8px 20px rgba(0,180,120,.24); }
  28% { background: rgba(125,255,196,.09); border-color: rgba(125,255,196,.26);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
}
.adv-modes .mode-card--home.visible .mode-step i {
  animation: homeRun 3.6s cubic-bezier(.45,0,.2,1) infinite;
  animation-delay: calc(var(--step, 0) * .58s);
}
@keyframes homeRun {
  0%, 100% { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.16); transform: scale(1); }
  7% { background: #7dffc4; box-shadow: 0 0 0 6px rgba(125,255,196,.3), 0 0 16px rgba(125,255,196,.95); transform: scale(1.35); }
  24% { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.16); transform: scale(1); }
}
.adv-modes .mode-card--home.visible .mode-rail {
  background-image: linear-gradient(90deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,.72) 38%, #d6ffe8 50%, rgba(255,255,255,.72) 62%, rgba(255,255,255,.28) 100%);
  background-size: 220% 100%; background-repeat: no-repeat;
  animation: homeRail 3.6s linear infinite;
}
.adv-modes .mode-card--home.visible .mode-rail:nth-child(2) { animation-delay: 0s; }
.adv-modes .mode-card--home.visible .mode-rail:nth-child(4) { animation-delay: .58s; }
@keyframes homeRail { 0% { background-position: 178% 0; } 32%, 100% { background-position: -78% 0; } }
/* 门口那盏灯：图标外的绿光缓慢亮一下，像有人刚走到门口 */
.adv-modes .mode-card--home.visible .mode-icon {
  animation: homeLamp 3.6s ease-in-out infinite;
}
@keyframes homeLamp {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(125,255,196,0)); }
  46% { filter: drop-shadow(0 0 15px rgba(125,255,196,.6)); }
}

/* ---- 在线 ---- */
.adv-modes .mode-card--online.visible .mode-step {
  animation: onlineChip 2.4s ease-in-out infinite;
  animation-delay: calc(var(--step, 0) * .22s);
}
@keyframes onlineChip {
  0%, 100% { background: rgba(140,210,255,.055); border-color: rgba(140,210,255,.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10); }
  40% { background: rgba(140,210,255,.18); border-color: rgba(140,210,255,.44);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 0 16px rgba(110,195,255,.22); }
}
.adv-modes .mode-card--online.visible .mode-step i {
  animation: onlinePulse 2.6s ease-out infinite;
}
@keyframes onlinePulse {
  0%, 100% { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.16); transform: scale(1); }
  10% { background: #8ed3ff; box-shadow: 0 0 0 6px rgba(140,210,255,.24), 0 0 20px rgba(140,210,255,1); transform: scale(1.35); }
  30% { background: #cfe9ff; box-shadow: 0 0 0 4px rgba(140,210,255,.12), 0 0 8px rgba(140,210,255,.5); transform: scale(1.08); }
  46% { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.16); transform: scale(1); }
}
/* 在线轨是虚线刻度，一直在往前跑 —— 跟上门的实线光走成两种语义 */
.adv-modes .mode-card--online .mode-rail {
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 4px, transparent 4px 10px);
}
.adv-modes .mode-card--online.visible .mode-rail {
  background-image: repeating-linear-gradient(90deg, rgba(142,211,255,.85) 0 4px, transparent 4px 10px);
  background-size: 20px 100%;
  animation: onlineFlow 1.1s linear infinite;
}
@keyframes onlineFlow { from { background-position: 0 0; } to { background-position: 20px 0; } }

/* 脚注：从「圆点＋灰字」改成「竖光条＋渐隐细线」，收住卡片底部 */
.adv-modes .mode-note {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 9px;
  margin: 13px 0 0; padding-left: 12px;
  font-size: 12.8px; font-weight: 600; letter-spacing: .1px; color: rgba(226,243,255,.84);
  transition: color .4s;
}
.adv-modes .mode-note::before {
  content: ""; position: absolute; left: 0; top: 50%; margin-top: -8px;
  width: 2px; height: 16px; border-radius: 2px;
  background: linear-gradient(180deg, #7dffc4, rgba(125,255,196,0));
  box-shadow: 0 0 10px rgba(125,255,196,.7);
  animation: noteBar 3.4s ease-in-out infinite;
}
.adv-modes .mode-note::after {
  content: ""; flex: 0 1 96px; height: 1px; margin-left: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,.24), rgba(255,255,255,0) 92%);
}
@keyframes noteBar { 0%, 100% { opacity: .5; transform: scaleY(.8); } 50% { opacity: 1; transform: scaleY(1); } }
.adv-modes .mode-card--online .mode-note::before {
  background: linear-gradient(180deg, #8ed3ff, rgba(140,210,255,0));
  box-shadow: 0 0 10px rgba(140,210,255,.8);
  animation-duration: 2.4s;
}
.adv-modes .mode-card--online .mode-note::after {
  background-image: repeating-linear-gradient(90deg, rgba(142,211,255,.42) 0 4px, transparent 4px 10px);
  background-size: 20px 100%;
  animation: onlineFlow 1.6s linear infinite;
}
.adv-modes .mode-card:hover .mode-note { color: #fff; }

/* ---------- 师资区 ---------- */
.adv-teachers {
  position: relative; margin-top: 26px; padding: 30px 32px 28px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(152deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 18px 44px rgba(0,18,64,.18), inset 0 1px 0 rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.adv-teachers::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #00d168, #00a4ff, #006aff, transparent);
  background-size: 200% 100%; opacity: .8;
}
.adv-teachers.visible::before { animation: railFlow 4.5s linear infinite; }
@keyframes railFlow { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.adv-teachers-head {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; font-size: 16px; font-weight: 700; letter-spacing: .3px; color: #fff;
}
.adv-teachers-head::before {
  content: ""; width: 4px; height: 18px; border-radius: 3px; flex: 0 0 auto;
  background: var(--grad-brand); box-shadow: 0 0 12px rgba(0,209,104,.5);
}
.adv-count {
  margin-left: auto; display: inline-flex; align-items: center; padding: 4px 11px;
  border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26);
  font-variant-numeric: tabular-nums;
}
.teacher-chips { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tchip {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 15px 16px; border-radius: 14px; overflow: hidden;
  background-color: rgba(255,255,255,.085);
  background-image: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.16), transparent 66%);
  border: 1px solid rgba(255,255,255,.16);
  transition: transform .42s var(--spring-soft), border-color .35s, box-shadow .42s var(--spring), background-color .35s;
}
/* 交错淡入上滑（用动画而非过渡，避免延迟污染悬停手感） */
.adv-teachers.visible .tchip {
  animation: chipIn .8s var(--spring) backwards;
  animation-delay: calc(.18s + var(--i, 0) * .09s);
}
@keyframes chipIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.tchip::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-brand); opacity: .45; transition: opacity .35s;
}
.tchip::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 42%; height: 100%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg); transition: left .65s var(--spring);
}
.tchip:hover {
  transform: translateY(-6px);
  background-color: rgba(255,255,255,.16);
  border-color: rgba(140,255,200,.5);
  box-shadow: 0 18px 34px rgba(0,12,52,.34);
}
.tchip:hover::before { opacity: 1; }
.tchip:hover::after { left: 135%; }
.tchip-no {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 12px; display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums;
  background: linear-gradient(150deg, #00d168, #00a4ff);
  box-shadow: 0 8px 18px rgba(0,164,255,.32), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .45s var(--spring-soft), box-shadow .4s;
}
.tchip:hover .tchip-no { transform: scale(1.08); box-shadow: 0 10px 24px rgba(0,164,255,.5), inset 0 1px 0 rgba(255,255,255,.5); }
.tchip:nth-child(2) .tchip-no { background: linear-gradient(150deg, #00a4ff, #00d168); }
.tchip:nth-child(3) .tchip-no { background: linear-gradient(150deg, #006aff, #00a4ff); }
.tchip:nth-child(4) .tchip-no { background: linear-gradient(150deg, #00d168, #00a851); }
.tchip strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: #fff; }
.tchip small { display: block; font-size: 12.5px; color: rgba(255,255,255,.9); margin-top: 4px; }
.adv-foot {
  position: relative; z-index: 1; margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 16px;
  text-align: center; font-size: 14.5px; font-weight: 600; letter-spacing: 3px; color: #fff;
}
.adv-foot::before, .adv-foot::after {
  content: ""; width: 54px; height: 2px; border-radius: 2px; flex: 0 0 auto;
  background: var(--grad-brand); box-shadow: 0 0 10px rgba(0,209,104,.45);
  transform: scaleX(0); transition: transform .9s var(--spring) .3s;
}
.adv-foot::before { transform-origin: right; }
.adv-foot::after { transform-origin: left; }
.adv-teachers.visible .adv-foot::before,
.adv-teachers.visible .adv-foot::after { transform: scaleX(1); }

/* ---------- 优势带响应式 ---------- */
@media (max-width: 1024px) {
  .teacher-chips { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .adv-modes { grid-template-columns: 1fr; gap: 18px; }
  .adv-modes .mode-card { padding: 26px 24px 24px; }
  .adv-modes .mode-num { font-size: 54px; }
  .adv-head { margin-bottom: 38px; }
}
@media (max-width: 600px) {
  section.advantage-bar { padding: 64px 0 60px; }
  .adv-head { margin-bottom: 32px; }
  .adv-head .adv-eyebrow { font-size: 12px; letter-spacing: 1px; padding: 8px 15px; gap: 8px; }
  .adv-head .adv-title { font-size: 27px; line-height: 1.42; letter-spacing: -.3px; }
  .adv-head .adv-sub { margin-top: 14px; font-size: 14.5px; line-height: 1.75; }
  .adv-modes .mode-card { padding: 22px 18px 20px; border-radius: 18px; }
  .adv-modes .mode-icon { width: 52px; height: 52px; border-radius: 15px; }
  .adv-modes .mode-icon svg { width: 24px; height: 24px; }
  .adv-modes .mode-num { font-size: 40px; letter-spacing: -1px; }
  .adv-modes .mode-card-top { gap: 11px; margin-bottom: 18px; }
  .adv-modes .mode-tag { font-size: 11.5px; padding: 6px 11px; gap: 6px; }
  .adv-modes .mode-card h3 { font-size: 21px; }
  .adv-modes .mode-card p { font-size: 14px; line-height: 1.8; }
  .adv-modes .mode-steps { padding: 11px 10px; border-radius: 13px; margin-top: 22px; }
  .adv-modes .mode-step { padding: 6px 9px; gap: 6px; border-radius: 9px; }
  .adv-modes .mode-step em { font-size: 11px; }
  .adv-modes .mode-rail { margin: 0 5px; min-width: 6px; }
  .advantage-bar .adv-teachers { padding: 22px 18px; border-radius: 18px; }
  .adv-teachers .adv-teachers-head { font-size: 14.5px; gap: 10px; }
  .adv-teachers .teacher-chips { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); gap: 10px; }
  .adv-teachers .tchip { padding: 12px; gap: 10px; }
  .adv-teachers .tchip-no { width: 34px; height: 34px; border-radius: 10px; font-size: 12px; }
  .adv-teachers .tchip strong { font-size: 13px; }
  .adv-teachers .tchip small { font-size: 11px; }
  .adv-teachers .adv-foot { margin-top: 22px; font-size: 13px; letter-spacing: 2px; gap: 10px; }
  .adv-teachers .adv-foot::before, .adv-teachers .adv-foot::after { width: 30px; }
}

/* ---------- 通用 Section ---------- */
.section { padding: 100px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: var(--blue-light); padding: 6px 14px; border-radius: 20px; margin-bottom: 18px; letter-spacing: .5px; }
.section-title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; line-height: 1.25; letter-spacing: -.8px; margin-bottom: 18px; color: var(--ink); }
.section-desc { font-size: 16px; color: var(--muted); line-height: 1.85; }
.section-head .section-desc { max-width: 620px; margin-inline: auto; }

/* ---------- 关于我们 ---------- */
.about { background: var(--bg); padding-bottom: 80px; }
/* 关于板块专属：放大 eyebrow 与大标题，优化排版 */
.about-eyebrow { font-size: 15px; padding: 9px 20px; letter-spacing: 1px; margin-bottom: 22px; }
.about-title { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.32; letter-spacing: -1px; margin-bottom: 22px; }
.about-title br { display: block; content: ""; margin-top: 2px; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-visual { position: relative; display: flex; justify-content: center; }
.about-img-wrap { width: 100%; max-width: 440px; aspect-ratio: 1; background: linear-gradient(145deg, var(--blue-light), var(--green-light)); border-radius: 28px; display: grid; place-items: center; box-shadow: var(--shadow-md); overflow: hidden; }
.about-logo { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-visual:hover .about-logo { transform: scale(1.06); }
.about-float { position: absolute; bottom: 30px; right: -6px; display: flex; align-items: center; gap: 12px; background: #fff; padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow-lg); }
.about-float svg { width: 34px; height: 34px; color: var(--amber); }
.about-float strong { display: block; font-size: 14px; }
.about-float span { font-size: 12px; color: var(--muted); }
.about-content .section-desc { margin-bottom: 16px; }
.about-points { margin: 26px 0 32px; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.check { width: 24px; height: 24px; border-radius: 50%; background: var(--green-light); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }
.check svg { width: 14px; height: 14px; }

/* 美化后的加入我们按钮 */
.btn-join { display: inline-flex; align-items: center; gap: 0; background: var(--grad-brand); color: #fff; border-radius: 14px; padding: 7px 7px 7px 8px; font-size: 15px; font-weight: 700; box-shadow: 0 12px 28px rgba(0,140,255,.32); transition: all .35s var(--ease); overflow: hidden; }
.btn-join:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0,106,255,.38); }
.bj-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-right: 14px; }
.bj-icon svg { width: 21px; height: 21px; }
.bj-arrow { width: 40px; height: 40px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; margin-left: 20px; transition: transform .3s var(--ease); }
.bj-arrow svg { width: 19px; height: 19px; }
.btn-join:hover .bj-arrow { transform: translateX(4px); }
.btn-join > span[data-i18n] { padding-right: 2px; }

/* ---------- 服务流程带 ---------- */
.process-band { margin-top: 80px; padding: 38px 40px 34px; background: linear-gradient(135deg, #f2f7ff 0%, #eefaF6 100%); border: 1px solid rgba(0,106,255,.08); border-radius: 24px; }
.process-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.process-title-wrap { max-width: 640px; }
.process-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; padding: 9px 18px; border-radius: 9px; margin-bottom: 14px; box-shadow: 0 6px 16px rgba(0,106,255,.22); }
.process-badge svg { width: 17px; height: 17px; }
.process-desc { font-size: 14px; color: var(--muted); line-height: 1.75; }
.process-tags { display: flex; gap: 8px; flex-wrap: wrap; max-width: 380px; }
.process-tags span { font-size: 12px; color: var(--blue); background: #fff; border: 1px solid rgba(0,106,255,.14); padding: 6px 12px; border-radius: 20px; }

.process-flow { position: relative; }
.flow-line { position: absolute; top: 27px; left: 8%; right: 8%; height: 3px; background: rgba(0,106,255,.14); border-radius: 3px; overflow: hidden; }
.flow-line-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 3px; transition: width 1.8s var(--ease) .5s; }
.process-band.visible .flow-line-fill { width: 100%; }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.flow-node { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); color: var(--blue); display: grid; place-items: center; position: relative; z-index: 2; box-shadow: 0 6px 18px rgba(0,106,255,.18); transition: all .4s var(--ease); }
.flow-node svg { width: 24px; height: 24px; }
.flow-step:hover .flow-node { transform: scale(1.12) translateY(-4px); background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(0,106,255,.35); }
.flow-step:nth-child(5) .flow-node { border-color: var(--green); color: var(--green); }
.flow-step:nth-child(5):hover .flow-node { background: var(--green); color: #fff; }
.flow-card { margin-top: 20px; width: 100%; background: #fff; border-radius: 14px; padding: 20px 14px 18px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,106,255,.06); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.flow-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 14px 14px 0 0; opacity: .55; }
.flow-step:hover .flow-card { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.flow-pct { position: absolute; top: -11px; right: 12px; font-size: 11px; font-weight: 800; color: #fff; background: var(--blue); padding: 3px 9px; border-radius: 10px; }
.flow-step:nth-child(5) .flow-pct { background: var(--green); }
.flow-card strong { display: block; font-size: 15px; margin-bottom: 7px; }
.flow-card p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ---------- 课程服务 ---------- */
.courses { background: var(--bg-soft); }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.course-card { background: #fff; padding: 34px 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: all .35s var(--ease); }
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.course-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.course-icon svg { width: 28px; height: 28px; }
.course-icon.blue { background: var(--blue-light); color: var(--blue); }
.course-icon.green { background: var(--green-light); color: var(--green); }
.course-icon.purple { background: var(--purple-light); color: var(--purple); }
.course-icon.amber { background: var(--amber-light); color: var(--amber); }
.course-icon.coral { background: var(--coral-light); color: var(--coral); }
.course-icon.teal { background: var(--teal-light); color: var(--teal); }
.course-card h3 { font-size: 19px; margin-bottom: 12px; }
.course-card p { font-size: 14.5px; color: var(--muted); line-height: 1.75; margin-bottom: 20px; min-height: 76px; }
.course-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.course-link svg { width: 16px; height: 16px; transition: transform .25s; }
.course-link:hover svg { transform: translateX(5px); }

/* ---------- 选择我们 ---------- */
.why { background: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { padding: 32px 26px; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); transition: all .3s var(--ease); }
.why-item:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateY(-5px); }
.why-num { font-size: 34px; font-weight: 800; color: var(--blue); opacity: .25; line-height: 1; margin-bottom: 18px; }
.why-item h3 { font-size: 17px; margin-bottom: 12px; }
.why-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ---------- 学员心声 ---------- */
.testimonials { background: var(--bg-soft); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { position: relative; background: #fff; padding: 36px 30px 30px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.quote-mark { position: absolute; top: 18px; right: 26px; font-size: 70px; line-height: 1; color: var(--blue-light); font-family: Georgia, serif; }
.stars { color: #f5a623; font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.testi-card > p { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; margin-bottom: 24px; position: relative; z-index: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.author-avatar.a2 { background: var(--green-light); color: var(--green); }
.author-avatar.a3 { background: var(--purple-light); color: var(--purple); }
.testi-author strong { display: block; font-size: 14px; }
.testi-author small { font-size: 12px; color: var(--muted); }

/* 品牌文化卡片 */
.culture-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.culture-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(0,106,255,.18); }
.culture-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 22px; }
.culture-icon svg { width: 28px; height: 28px; }
.culture-card:nth-child(2) .culture-icon { background: var(--green-light); color: var(--green); }
.culture-card:nth-child(3) .culture-icon { background: var(--purple-light); color: var(--purple); }
.culture-tag { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.culture-card:nth-child(2) .culture-tag { color: var(--green); }
.culture-card:nth-child(3) .culture-tag { color: var(--purple); }
.culture-card h3 { font-size: 21px; margin-bottom: 12px; }
.culture-card > p { margin-bottom: 0; min-height: 78px; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(135deg, #00368f 0%, #006aff 100%); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.04); top: -150px; right: -100px; }
.contact::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); bottom: -120px; left: -80px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.section-eyebrow.light { background: rgba(255,255,255,.15); color: #fff; }
.section-title.light { color: #fff; }
.section-desc.light { color: rgba(255,255,255,.8); }
.contact-list { margin-top: 36px; display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.cl-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; flex-shrink: 0; }
.cl-icon svg { width: 21px; height: 21px; color: #fff; }
.contact-list strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.contact-list span { color: rgba(255,255,255,.75); font-size: 13.5px; }
.contact-list span a { color: rgba(255,255,255,.75); text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.35); transition: color .25s, border-color .25s; }
.contact-list span a:hover { color: #fff; border-bottom-color: #fff; }
.contact-form-wrap { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); }
.contact-form h3 { font-size: 22px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink-2); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-light); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #aab3c5; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success { text-align: center; padding: 30px 10px; color: var(--green); font-weight: 600; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0e1730; color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-block: 70px 50px; }
.footer-logo { display: none; }
/* 页脚动态 Logo：源文件图标 + CSS 光效 */
.footer-logo-dynamic { position: relative; width: 260px; height: 168px; margin-bottom: 12px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; }
.flglow { position: absolute; top: 6px; left: 50%; width: 150px; height: 150px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(0,164,255,.24) 0%, rgba(0,209,104,.10) 55%, transparent 72%); animation: flglowPulse 5s ease-in-out infinite; pointer-events: none; }
.flring { position: absolute; top: 12px; left: 50%; border-radius: 50%; pointer-events: none; }
.flring-a { width: 128px; height: 128px; margin-left: -64px; border: 1px dashed rgba(75,156,255,.35); animation: flspin 26s linear infinite; }
.flring-b { width: 146px; height: 146px; margin-left: -73px; border: 1px dotted rgba(52,211,153,.22); animation: flspinR 34s linear infinite; }
.fldot { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #4ade80; opacity: 0; animation: flrise 4.2s ease-in-out infinite; pointer-events: none; }
.fldot.d1 { top: 90px; left: 42px; }
.fldot.d2 { top: 84px; right: 40px; background: #4b9cff; animation-delay: 1.4s; }
.fldot.d3 { top: 50px; left: 58px; background: #9ccaff; animation-delay: 2.8s; }
.flicon { position: relative; z-index: 2; width: 104px; height: auto; display: block; filter: drop-shadow(0 4px 14px rgba(0,106,255,.35)); }
.flname { position: relative; z-index: 2; margin-top: 10px; font-size: 34px; font-weight: 800; letter-spacing: 5px; color: #fff; line-height: 1.15; }
.flen { position: relative; z-index: 2; margin-top: 4px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 5px; color: #cfe2ff; }
@keyframes flglowPulse { 0%,100% { opacity:.72; transform:translateX(-50%) scale(.95); } 50% { opacity:1; transform:translateX(-50%) scale(1.06); } }
@keyframes flspin { to { transform: rotate(360deg); } }
@keyframes flspinR { to { transform: rotate(-360deg); } }
@keyframes flrise { 0% { opacity:0; transform:translateY(6px); } 40% { opacity:.9; } 100% { opacity:0; transform:translateY(-20px); } }
@media (prefers-reduced-motion: reduce) { .flglow, .flring, .fldot { animation: none !important; } }
.footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; max-width: 260px; line-height: 1.8; }
.footer-col h4 { font-size: 15px; margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(255,255,255,.6); font-size: 14px; margin-bottom: 12px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-follow { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.7; margin-bottom: 18px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; margin: 0; transition: background .2s; }
.socials a:hover { background: var(--blue); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.5); font-size: 13px; }

/* ---------- 回到顶部 ---------- */
.back-to-top { position: fixed; right: 28px; bottom: 28px; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; border: none; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); z-index: 90; }
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-dark); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- 提示气泡 ---------- */
.app-toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 24px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .3s var(--ease); z-index: 200; max-width: calc(100% - 40px); text-align: center; }
.app-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- 滚动动画 ---------- */
.reveal {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity .8s var(--spring) var(--delay, 0s), transform .92s var(--spring) var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* ---------- 按钮弹性反馈（全站统一） ---------- */
.btn { transition: transform .42s var(--spring-soft), background .3s, box-shadow .35s, color .25s, border-color .25s; }
.btn:hover, .btn-primary:hover, .btn-outline:hover { transform: translateY(-2px) scale(1.02); }
.btn:active, .btn-primary:active, .btn-outline:active {
  transform: translateY(0) scale(.975); transition-duration: .12s;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-menu { gap: 18px; }
  .nav-link { font-size: 13.5px; }
  .nav-cta { display: none; }
  .brand-cn { font-size: 23px; }
  .brand-en { font-size: 9px; letter-spacing: .26em; }
  .brand-mark { width: 38px; height: 42px; }
  .brand-visual { width: 36px; }
  .brand::after { left: 51px; }
  .hero-inner { gap: 30px; }
  .about-grid { gap: 50px; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav-wrap { height: 72px; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: stretch; padding: 16px 24px 28px;
    box-shadow: var(--shadow-md); gap: 0; transform: translateY(-150%);
    transition: transform .4s var(--ease); border-bottom: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-link::after { display: none; }
  .nav-item { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .nav-item .nav-link { border-bottom: none; flex: 1; }
  .nav-caret { margin-right: 8px; }
  .nav-item:hover .nav-caret { transform: rotate(180deg); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 4px 0 10px 14px; min-width: auto; background: transparent; }
  .dropdown::before { display: none; }
  .dropdown a { padding: 9px 12px; border-left: 2px solid var(--line); border-radius: 0; }
  .nav-actions { gap: 10px; }
  .hero { padding-top: 130px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-title { font-size: 46px; }
  .uni-band { margin-top: 44px; padding: 20px 0 36px; }
  .uni-head { margin-bottom: 22px; }
  .uni-item { min-width: 100px; padding: 0 12px 4px; gap: 8px; }
  .uni-logo { font-size: 30px; }
  .uni-name { font-size: 11.5px; }
  .hero-visual { height: 460px; }
  .ring-1 { width: 400px; height: 400px; }
  .ring-2 { width: 300px; height: 300px; }
  .adv-head { margin-bottom: 34px; }
  .mode-card { padding: 24px 22px; }
  .teacher-chips { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .process-band { margin-top: 60px; padding: 30px 26px; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 22px 14px; }
  .flow-line { display: none; }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .section { padding: 72px 0; }
  .brand { gap: 10px; }
  .brand-cn { font-size: 20px; letter-spacing: .06em; }
  .brand-en { font-size: 8px; letter-spacing: .22em; }
  .brand-mark { width: 32px; height: 36px; }
  .brand-visual { width: 30px; }
  .brand::after { left: 44px; height: 1.5px; }
  .hero { padding-top: 118px; }
  .hero-title { font-size: 38px; letter-spacing: -1px; }
  .uni-band { margin-top: 36px; padding: 18px 0 30px; }
  .uni-head { gap: 10px; margin-bottom: 20px; }
  .uni-head-text { font-size: 11.5px; letter-spacing: 1px; }
  .uni-head-line { width: 22px; }
  .uni-marquee { padding: 4px 0 14px; }
  .uni-item { min-width: 84px; padding: 0 9px 3px; gap: 7px; }
  .uni-logo { font-size: 26px; }
  .uni-name { font-size: 10.5px; letter-spacing: .1px; }
  .hero-subtitle { font-size: 15px; }
  .hero-buttons .btn { flex: 1; padding: 13px 18px; }
  .hero-modes { gap: 10px; }
  .mode-card { padding: 10px 12px; gap: 9px; }
  .mode-card strong { font-size: 13px; }
  .hero-visual { height: 400px; }
  .main-card { width: 255px; padding: 14px; }
  .tc-1 { right: -10px; } .tc-2 { left: -12px; } .tc-3 { right: -6px; }
  .teacher-card { padding: 9px 12px; gap: 8px; }
  .tc-icon { width: 34px; height: 34px; }
  .teacher-card strong { font-size: 11px; }
  .teacher-card span { font-size: 9px; }
  .ring-1 { width: 340px; height: 340px; }
  .ring-2 { width: 250px; height: 250px; }
  .about-float { right: 0; }
  .btn-join { font-size: 14px; }
  .bj-icon, .bj-arrow { width: 36px; height: 36px; }
  .process-band { margin-top: 48px; padding: 24px 18px; border-radius: 18px; }
  .process-head { margin-bottom: 30px; }
  .process-badge { font-size: 14px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .flow-card { padding: 18px 12px 14px; }
  .flow-node { width: 50px; height: 50px; }
  .advantage-bar { padding: 54px 0 48px; }
  .adv-head { margin-bottom: 28px; }
  .adv-eyebrow { font-size: 11px; letter-spacing: 1.4px; padding: 6px 14px; }
  .adv-title { font-size: 25px; line-height: 1.45; }
  .adv-sub { font-size: 14px; }
  .adv-modes { grid-template-columns: 1fr; gap: 14px; }
  .mode-card { padding: 22px 20px; gap: 16px; }
  .mode-icon { width: 52px; height: 52px; border-radius: 14px; }
  .mode-icon svg { width: 26px; height: 26px; }
  .mode-body h3 { font-size: 19px; }
  .mode-body p { font-size: 13px; }
  .mode-num { font-size: 44px; }
  .adv-teachers { padding: 22px 18px 20px; }
  .teacher-chips { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tchip { padding: 11px 12px; gap: 9px; }
  .tchip-no { width: 30px; height: 30px; font-size: 11px; border-radius: 8px; }
  .tchip strong { font-size: 12.5px; }
  .tchip small { font-size: 10.5px; }
  .adv-foot { font-size: 12.5px; letter-spacing: 2px; gap: 10px; }
  .section-title { font-size: 28px; }
  .courses-grid, .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .back-to-top { right: 18px; bottom: 18px; }
}

/* 超窄屏（iPhone SE / 360px 及以下）：避免标题末行只剩一个字 */
@media (max-width: 400px) {
  .hero-title { font-size: 33px; letter-spacing: -.6px; line-height: 1.18; }
  .hero-subtitle { font-size: 14.5px; }
  .hero-modes { gap: 8px; }
  .mode-card { padding: 9px 10px; gap: 8px; }
  .uni-head-text { font-size: 11px; letter-spacing: .3px; }
  /* 文案变长后，窄屏隐藏两侧装饰线，给文字让位 */
  .uni-head { gap: 0; padding: 0 16px; }
  .uni-head-line { display: none; }
  /* 副标题：窄屏竖线会让位，直接分两行站着 */
  .adv-sub { font-size: 13.5px; gap: 2px 0; }
  .adv-sub-div { display: none; }
  .adv-sub-b { flex: 1 0 100%; }
}

/* 360px 一档：卡片首行（图标 + 徽标 + 编号）和三条芯片再收紧 */
@media (max-width: 380px) {
  .adv-modes .mode-num { font-size: 32px; }
  .adv-modes .mode-tag { padding: 5px 9px; font-size: 10.5px; gap: 5px; }
  .adv-modes .mode-live { display: none; }
  .adv-modes .mode-step { padding: 6px 8px; gap: 5px; }
  .adv-modes .mode-step em { font-size: 10.5px; }
  .adv-modes .mode-rail { margin: 0 4px; min-width: 6px; }
  /* 英文文案更长：超窄屏让编号让位，先保住徽标完整 */
  [data-lang="en"] .adv-modes .mode-num { display: none; }
}

/* 320–340px：再收一档，保证「点亮孩子的无限可能」整行不折 */
@media (max-width: 344px) {
  .hero-title { font-size: 29px; letter-spacing: -.2px; }
  .hero-subtitle { font-size: 14px; }
  /* 320 档：轨道收掉，三块芯片靠间距站开，避免英文文案被裁 */
  .adv-modes .mode-steps { padding: 10px 9px; gap: 6px; justify-content: space-between; }
  .adv-modes .mode-step { padding: 5px 7px; gap: 4px; }
  .adv-modes .mode-step em { font-size: 10px; }
  .adv-modes .mode-rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .uni-track { animation: none !important; transform: none !important; }
  .uni-marquee { overflow-x: auto; scrollbar-width: none; }
  .uni-marquee::-webkit-scrollbar { display: none; }
}
