/* ============================================
   优学仕教育官网 · Components
   ============================================ */

/* ================= 顶部导航 ================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: all var(--dur) var(--ease);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav__logo img {
  height: 44px;
  width: auto;
  transition: height var(--dur) var(--ease);
}
.nav__logo-text {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.nav__logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius-md);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: #ffffff; }
.nav__link.is-active { color: #ffffff; font-weight: 600; }
.nav__link.is-active::after,
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
}
.nav__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #ffffff;
  transition: all var(--dur) var(--ease);
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 滚动后状态 */
.nav.is-scrolled {
  height: 66px;
  background: rgba(34, 18, 69, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(20, 8, 48, 0.35);
}
.nav.is-scrolled .nav__logo img { height: 38px; }

/* 移动端菜单 */
@media (max-width: 1180px) {
  .nav__menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px 24px 28px;
    background: rgba(34, 18, 69, 0.98);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--dur) var(--ease);
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav__link { padding: 14px 12px; font-size: 16px; border-radius: var(--radius-md); }
  .nav__link:hover { background: rgba(139, 60, 246, 0.22); }
  .nav__link::after { display: none; }
  .nav__hamburger { display: flex; }
  .nav__cta .btn--ghost { display: none; }
}

/* ================= Hero 首屏 ================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--grad-hero);
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* 背景装饰 */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: floatY-slow 9s ease-in-out infinite;
}
.hero__blob--1 {
  width: 520px; height: 520px;
  right: -120px; top: -80px;
  background: radial-gradient(circle, rgba(163, 95, 249, 0.75), transparent 65%);
}
.hero__blob--2 {
  width: 460px; height: 460px;
  left: -160px; bottom: -120px;
  background: radial-gradient(circle, rgba(76, 43, 160, 0.8), transparent 65%);
  animation-delay: -3s;
}
.hero__blob--3 {
  width: 280px; height: 280px;
  left: 44%; bottom: 14%;
  background: radial-gradient(circle, rgba(245, 182, 66, 0.22), transparent 65%);
  animation-delay: -6s;
}

.hero__rings {
  position: absolute;
  right: 6%;
  top: 18%;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 50%;
  animation: spin 40s linear infinite;
}
.hero__rings::before {
  content: "";
  position: absolute;
  inset: 48px;
  border: 1px dashed rgba(255,255,255,0.14);
  border-radius: 50%;
}
.hero__rings::after {
  content: "";
  position: absolute;
  top: -7px; left: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 22px rgba(245, 182, 66, 0.9);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 64px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.16);
  font-size: 13.5px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: pulse-glow 2.2s ease-in-out infinite;
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}
.hero__title .hl {
  background: linear-gradient(120deg, #e9d5ff 0%, #c4b5fd 45%, #f5b642 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(255,255,255,0.78);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

/* Hero 数据条 */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 620px;
}
.hero__stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
}
.hero__stat-num {
  font-family: var(--font-en);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}
.hero__stat-num .suffix { font-size: 0.62em; color: var(--gold-400); margin-left: 2px; }
.hero__stat-label {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.66);
}

/* Hero 右侧主视觉 */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__card-main {
  position: relative;
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.hero__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hero__card-head .avatar-stack { display: flex; }
.hero__card-head .avatar-stack img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  margin-left: -10px;
}
.hero__card-head .avatar-stack img:first-child { margin-left: 0; }
.hero__card-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(245, 182, 66, 0.22);
  border: 1px solid rgba(245, 182, 66, 0.5);
}
.hero__card-head .live .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  animation: pulse-glow 1.6s infinite;
}

.hero__card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.hero__card-sub { font-size: 13.5px; color: rgba(255,255,255,0.65); margin-bottom: 18px; }

.hero__progress { margin-bottom: 16px; }
.hero__progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 8px;
}
.hero__progress-bar {
  height: 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
}
.hero__progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: var(--grad-gold);
  transition: width 1.6s var(--ease);
}

.hero__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__card-tags span {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
}

.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-lg);
  animation: floatY 5.5s ease-in-out infinite;
}
.hero__float-card .f-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.hero__float-card .f-title { font-size: 14px; font-weight: 700; color: var(--ink-900); line-height: 1.3; }
.hero__float-card .f-sub { font-size: 12px; color: var(--ink-500); }
.hero__float-card--1 { top: 6%; left: -8%; animation-delay: -1.2s; }
.hero__float-card--2 { bottom: 10%; right: -6%; animation-delay: -3s; }
.hero__float-card--3 { bottom: -4%; left: 4%; animation-delay: -4.5s; }

/* 滚动提示 */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.hero__scroll .mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll .mouse::before {
  content: "";
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--gold-500);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: 2; }
  .hero__card-main { max-width: 520px; margin: 0 auto; }
  .hero__float-card--1 { left: 0; }
  .hero__float-card--2 { right: 0; }
}

@media (max-width: 640px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__float-card { display: none; }
  .hero { min-height: auto; padding-bottom: 40px; }
}

/* ================= 分类筛选标签（课程/新闻） ================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--bg);
  border: 1.5px solid var(--line);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--purple-300); color: var(--purple-600); }
.filter-btn.is-active {
  color: #ffffff;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}

/* ================= 课程卡片（新设计） ================= */
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.course-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(42, 27, 92, 0.14);
  border-color: var(--purple-200);
}
.course-card:hover::before { opacity: 1; }

/* 顶部：图标徽章 + 分类标签 */
.course-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 0;
}
.course-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  overflow: hidden;
  position: relative;
}
.course-card__icon--purple {
  background: linear-gradient(135deg, #f1ecfe 0%, #e4d8fd 100%);
  box-shadow: 0 6px 16px rgba(139, 60, 246, 0.18);
}
.course-card__icon--deep {
  background: linear-gradient(135deg, #eef0fa 0%, #dde2f5 100%);
  box-shadow: 0 6px 16px rgba(76, 43, 160, 0.16);
}
.course-card__icon--gold {
  background: linear-gradient(135deg, #fef3dd 0%, #fde8c4 100%);
  box-shadow: 0 6px 16px rgba(245, 182, 66, 0.2);
}
.course-card__icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-card__cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--purple-600);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
}

.course-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px 24px 20px;
}
.course-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 8px;
  line-height: 1.35;
}
.course-card__desc {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 16px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}
.course-card__meta span {
  font-size: 12.5px;
  color: var(--ink-500);
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  padding: 4px 11px;
  border-radius: 8px;
  white-space: nowrap;
  line-height: 1.5;
}
.course-card__foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--line-soft);
}
.course-card__price {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-600);
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.course-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--purple-600);
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  transition: all var(--dur) var(--ease);
}
.course-card__btn span { transition: transform var(--dur) var(--ease); }
.course-card__btn:hover {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-purple);
}
.course-card__btn:hover span { transform: translateX(3px); }

/* 隐藏过滤元素 */
.filter-hidden { display: none !important; }

/* ================= 学习路径流程 ================= */
.path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  counter-reset: path;
}
.path__step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}
.path__step::before {
  counter-increment: path;
  content: counter(path, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 800;
  color: var(--purple-600);
  background: var(--bg);
  border: 2px solid var(--purple-200);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  transition: all var(--dur) var(--ease);
}
.path__step:hover::before {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  transform: scale(1.08);
}
.path__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 29px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--purple-300) 0 6px, transparent 6px 12px);
  z-index: 1;
}
.path__step-name {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 6px;
}
.path__step-desc {
  font-size: 12.5px;
  color: var(--ink-500);
  line-height: 1.6;
}
.path__step .phase {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--purple-500);
}

/* ================= 师资卡片 ================= */
.teacher-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.teacher-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-200);
}
.teacher-card__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-deep);
}
.teacher-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.teacher-card:hover .teacher-card__photo img { transform: scale(1.05); }

.teacher-card__tags {
  position: absolute;
  left: 14px; right: 14px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.teacher-card__tags span {
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(34, 18, 69, 0.66);
  backdrop-filter: blur(4px);
}

.teacher-card__body { padding: 20px 22px 22px; }
.teacher-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.teacher-card__name { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.teacher-card__subject {
  font-size: 13px;
  font-weight: 600;
  color: var(--purple-500);
  background: var(--purple-100);
  padding: 4px 11px;
  border-radius: var(--radius-full);
}
.teacher-card__years {
  font-size: 12.5px;
  color: var(--ink-400);
  margin-bottom: 10px;
}
.teacher-card__years b { color: var(--gold-500); font-weight: 700; }
.teacher-card__intro {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.teacher-card__achievement {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-700);
  background: var(--gold-100);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}
.teacher-card__achievement .icon { font-size: 15px; }

/* ================= 机构优势 ================= */
.advantage-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.advantage-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-200);
}
.advantage-card:hover::before { transform: scaleX(1); }

.advantage-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 24px;
  background: var(--purple-100);
  color: var(--purple-600);
  transition: all var(--dur) var(--ease);
}
.advantage-card:hover .advantage-card__icon {
  background: var(--grad-brand);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.advantage-card__title { font-size: 17px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.advantage-card__desc { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }

/* ================= 学员成果 ================= */
.result-stat {
  text-align: center;
  padding: 26px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  border: 1px solid var(--line);
  transition: all var(--dur) var(--ease);
}
.result-stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.result-stat__num {
  font-family: var(--font-en);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  color: var(--purple-600);
  line-height: 1.1;
  margin-bottom: 6px;
}
.result-stat__num .unit { font-size: 0.5em; color: var(--gold-500); }
.result-stat__label { font-size: 14px; color: var(--ink-500); }

/* 学员案例卡片 */
.case-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--purple-200); }
.case-card__head { display: flex; align-items: center; gap: 14px; }
.case-card__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--purple-200);
}
.case-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.case-card__name { font-size: 15.5px; font-weight: 700; color: var(--ink-900); }
.case-card__meta { font-size: 12.5px; color: var(--ink-400); }
.case-card__score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}
.case-card__score .lbl { font-size: 12.5px; color: var(--ink-500); }
.case-card__score .val { font-size: 18px; font-weight: 800; color: var(--purple-600); font-family: var(--font-en); }
.case-card__quote { font-size: 13.5px; color: var(--ink-500); line-height: 1.75; }

/* 学员评价轮播 */
.testimonials {
  position: relative;
  overflow: hidden;
}
.testimonials__track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s var(--ease);
}
.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.testimonial-card__stars { color: var(--gold-500); font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.testimonial-card__text {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.8;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-card__foot { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--purple-200);
}
.testimonial-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-card__name { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.testimonial-card__role { font-size: 12.5px; color: var(--ink-400); }

.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1.5px solid var(--line);
  color: var(--ink-500);
  transition: all var(--dur) var(--ease);
}
.carousel-btn:hover { background: var(--purple-500); color: #fff; border-color: transparent; }

/* ================= 教学环境（统一 16:9 网格） ================= */
.env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.env-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.env-card--wide { grid-column: span 2; aspect-ratio: 32 / 9; }
.env-card--tall { display: none; }  /* 兼容旧数据：tall 图自动作为标准格展示 */
.env-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.env-card:hover .env-card__img { transform: scale(1.06); }
.env-card__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 12, 54, 0.82) 100%);
  transition: all var(--dur) var(--ease);
}
.env-card__info {
  position: absolute;
  left: 20px; right: 20px;
  bottom: 16px;
  z-index: 2;
}
.env-card__title { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.env-card__desc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all var(--dur) var(--ease);
}
.env-card:hover .env-card__desc { max-height: 44px; opacity: 1; }

/* ================= 关于我们 ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.about-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.about-card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: var(--purple-100);
  margin-bottom: 16px;
}
.about-card__title { font-size: 18px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.about-card__text { font-size: 14px; color: var(--ink-500); line-height: 1.8; }

/* 发展时间轴 */
.timeline {
  position: relative;
  padding-left: 34px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--purple-500), var(--purple-200));
}
.timeline__item {
  position: relative;
  padding-bottom: 30px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--purple-500);
  box-shadow: 0 0 0 4px var(--purple-100);
}
.timeline__year {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 800;
  color: var(--purple-600);
  margin-bottom: 4px;
}
.timeline__title { font-size: 15.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 4px; }
.timeline__desc { font-size: 13.5px; color: var(--ink-500); line-height: 1.7; }

/* ================= 新闻卡片 ================= */
.news-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple-200);
}
.news-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.news-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card__cover img { transform: scale(1.06); }
.news-card__cat {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(34, 18, 69, 0.72);
  backdrop-filter: blur(4px);
}
.news-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--dur) var(--ease);
}
.news-card:hover .news-card__title { color: var(--purple-600); }
.news-card__excerpt {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.7;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--ink-400);
}
.news-card__views { display: inline-flex; align-items: center; gap: 4px; }

/* ================= 招聘列表 ================= */
.job-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  transition: all var(--dur) var(--ease);
}
.job-item:hover { border-color: var(--purple-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.job-item__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.job-item__title { font-size: 18px; font-weight: 700; color: var(--ink-900); }
.job-item__title .hot {
  font-size: 11.5px;
  color: #fff;
  background: var(--orange-500);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
  font-weight: 600;
}
.job-item__salary {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange-500);
  font-family: var(--font-en);
}
.job-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 14px;
}
.job-item__meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-item__desc {
  font-size: 13.5px;
  color: var(--ink-500);
  line-height: 1.75;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.job-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.job-item__date { font-size: 12.5px; color: var(--ink-400); }
.job-item__actions { display: flex; gap: 10px; }

/* ================= 联系我们 ================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-item__icon {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: var(--purple-100);
  color: var(--purple-600);
}
.contact-item__label { font-size: 13px; color: var(--ink-400); margin-bottom: 2px; }
.contact-item__value { font-size: 15.5px; font-weight: 600; color: var(--ink-900); line-height: 1.6; }
.contact-item__value a:hover { color: var(--purple-600); }

/* 咨询表单 */
.consult-form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.consult-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--grad-brand);
}
.consult-form__title { font-size: 21px; font-weight: 700; color: var(--ink-900); margin-bottom: 6px; }
.consult-form__sub { font-size: 13.5px; color: var(--ink-500); margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 腾讯文档收集表嵌入 */
.consult-form--embed { padding-bottom: clamp(16px, 2vw, 24px); }
.consult-form__embed {
  display: block;
  width: 100%;
  height: 720px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
}
@media (max-width: 768px) {
  .consult-form__embed { height: 780px; }
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.is-visible { display: block; }
.form-success__icon {
  width: 74px; height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success__title { font-size: 21px; font-weight: 700; color: var(--ink-900); margin-bottom: 8px; }
.form-success__desc { font-size: 14px; color: var(--ink-500); }

/* 地图容器 */
.map-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  height: 100%;
  background: var(--bg-deep);
}
.map-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-card__amap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* 备选 iframe（未申请 Key 时显示，作为兜底） */
.map-card__iframe {
  z-index: 1;
}
.map-card__amap.has-map {
  z-index: 2;
}
.map-card__iframe.hidden {
  display: none;
}
/* 地图加载前的占位提示层 */
.map-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-deep);
  z-index: 1;
}
.map-card__placeholder .ph-icon {
  font-size: 40px;
  opacity: 0.6;
}
.map-card__placeholder .ph-text {
  font-size: 14px;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.8;
  padding: 0 30px;
}

/* ================= 底部收尾 ================= */
.footer {
  position: relative;
  background: var(--grad-deep);
  color: rgba(255,255,255,0.72);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(139,60,246,0.35), transparent 60%),
    radial-gradient(600px 380px at -10% 30%, rgba(76,43,160,0.35), transparent 55%);
  pointer-events: none;
}
.footer__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* 收尾 CTA 区 */
.footer__cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom: clamp(56px, 7vw, 88px);
}
.footer__cta-slogan {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.footer__cta-slogan .hl {
  background: linear-gradient(120deg, #e9d5ff, #f5b642);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer__cta-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 38px;
}
.footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.footer__cta-phone {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  color: var(--gold-400);
  font-family: var(--font-en);
}
.footer__cta-phone .icon { font-size: 22px; }

/* 分隔线 */
.footer__divider {
  position: relative;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent);
}

/* 页脚主体 */
.footer__main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
}
.footer__brand img { height: 46px; width: auto; margin-bottom: 16px; }
.footer__brand-desc { font-size: 13.5px; line-height: 1.8; max-width: 320px; margin-bottom: 20px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  transition: all var(--dur) var(--ease);
}
.footer__social a:hover { background: var(--purple-500); border-color: transparent; transform: translateY(-3px); }

.footer__col-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}
.footer__col-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.68);
  transition: all var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer__links a:hover { color: #fff; padding-left: 4px; }
.footer__links a::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--purple-400);
  flex-shrink: 0;
}

.footer__contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer__contact-item { display: flex; gap: 11px; font-size: 13.5px; line-height: 1.7; }
.footer__contact-item .icon { color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.footer__qr {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__qr-img {
  width: 84px; height: 84px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.footer__qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer__qr-tip { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* 联系区二维码 */
.contact-qr {
  display: block;
  width: 86px;
  height: 86px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 3px;
  border: 1px solid var(--line);
  margin-bottom: 6px;
  object-fit: contain;
}
.contact-qr__tip {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-500);
  line-height: 1.6;
}

/* 版权条 */
.footer__bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 22px 0 30px;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: #fff; }

/* ================= 返回顶部 ================= */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 30px;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-purple);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all var(--dur) var(--ease);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ================= 悬浮咨询条（移动端） ================= */
.float-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 950;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(34, 18, 69, 0.10);
}
.float-bar .btn { padding: 12px 0; font-size: 14px; border-radius: var(--radius-md); }

/* 底部占位，防止悬浮条遮挡 */
body.has-float-bar { padding-bottom: 0; }
@media (max-width: 768px) {
  .float-bar { display: grid; }
  .footer__bottom { padding-bottom: 86px; }
}
