/* ============================================================
   易优达箔 - AI 培训官网设计系统
   主色：深空蓝 #165DFF
   风格：科技、轻量化、专业、商务
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --primary: #165DFF;
  --primary-dark: #0E42D2;
  --primary-light: #E8F0FF;
  --primary-soft: #F2F6FF;
  --accent: #00C9A7;
  --ink-1: #1D2129;
  --ink-2: #4E5969;
  --ink-3: #86909C;
  --ink-4: #C9CDD4;
  --bg-page: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-grey: #F2F3F5;
  --line: #E5E6EB;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(22, 93, 255, 0.06);
  --shadow: 0 8px 24px rgba(22, 93, 255, 0.08);
  --shadow-lg: 0 16px 48px rgba(22, 93, 255, 0.12);
  --container: 1200px;
  --font: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink-1);
  background: var(--bg-page);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: all .2s;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22, 93, 255, 0.3);
}
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-soft);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--ink-1);
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #4D7CFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 400;
  margin-top: -2px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-menu a:hover { color: var(--primary); }
.nav-menu a.active { color: var(--primary); font-weight: 600; }
.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  font-size: 24px;
  color: var(--ink-1);
}

/* ---------- 通用区块 ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: #0A1A3D; color: #fff; }
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--primary-light);
  border-radius: 20px;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink-1);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.section-dark .section-title { color: #fff; }
.section-sub {
  font-size: 16px;
  color: var(--ink-3);
}

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(22, 93, 255, 0.12), transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0, 201, 167, 0.08), transparent 50%),
    linear-gradient(180deg, #F7F9FC 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 93, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 93, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--primary-light);
  border-radius: 20px;
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 201, 167, 0.2);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink-1);
  letter-spacing: -1px;
  margin-bottom: 18px;
}
.hero h1 .hl {
  color: var(--primary);
  position: relative;
}
.hero p.lead {
  font-size: 17px;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.hero-stat .label {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 6px;
}
.hero-visual {
  position: relative;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.hero-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.hero-card-head h4 {
  font-size: 15px;
  font-weight: 700;
}
.hero-card-head .live {
  font-size: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-card-head .live::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.hero-progress {
  margin-bottom: 14px;
}
.hero-progress .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.hero-progress .bar {
  height: 6px;
  background: var(--bg-grey);
  border-radius: 3px;
  overflow: hidden;
}
.hero-progress .bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #4D7CFF);
  border-radius: 3px;
}
.hero-float {
  position: absolute;
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-float .ico {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.hero-float-1 {
  top: -18px; right: -10px;
}
.hero-float-2 {
  bottom: -18px; left: -18px;
}
.hero-float-1 .ico { background: var(--primary-light); color: var(--primary); }
.hero-float-2 .ico { background: #E6FAF5; color: var(--accent); }

/* ---------- 痛点网格 ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all .25s;
}
.pain-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.pain-ico {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.pain-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.pain-card p {
  font-size: 14px;
  color: var(--ink-3);
}

/* ---------- 课程卡片 ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.course-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.course-cover {
  height: 180px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: #fff;
}
.course-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35));
}
.course-cover .tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.course-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.course-cat {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.course-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}
.course-desc {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 14px;
  flex: 1;
}
.course-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.course-meta span { display: flex; align-items: center; gap: 4px; }
.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.course-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.course-price .now {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.course-price .now small { font-size: 13px; font-weight: 600; }
.course-price .old {
  font-size: 13px;
  color: var(--ink-4);
  text-decoration: line-through;
}

/* 课程封面渐变色 */
.cover-1 { background: linear-gradient(135deg, #165DFF, #4D7CFF); }
.cover-2 { background: linear-gradient(135deg, #00C9A7, #00A8E8); }
.cover-3 { background: linear-gradient(135deg, #7C3AED, #165DFF); }
.cover-4 { background: linear-gradient(135deg, #F7685F, #FF9F45); }
.cover-5 { background: linear-gradient(135deg, #1A2B4A, #165DFF); }
.cover-6 { background: linear-gradient(135deg, #00C9A7, #165DFF); }

/* ---------- 优势 ---------- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-card {
  text-align: left;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: all .25s;
}
.adv-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.adv-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
}
.adv-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 学员反馈 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.review-card .quote {
  font-size: 40px;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}
.review-text {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 20px;
  line-height: 1.7;
}
.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4D7CFF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.review-user .name {
  font-size: 14px;
  font-weight: 600;
}
.review-user .role {
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- 师资 ---------- */
.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.teacher-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all .25s;
}
.teacher-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.teacher-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), #4D7CFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  font-weight: 700;
}
.teacher-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.teacher-title {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 12px;
}
.teacher-bio {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* ---------- 资质 ---------- */
.cert-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cert-ico {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cert-item .label {
  font-size: 13px;
  color: var(--ink-3);
}
.cert-item .val {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-1);
}

/* ---------- 私域引流 ---------- */
.cta-band {
  background: linear-gradient(135deg, #165DFF 0%, #0E42D2 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 60px; bottom: -100px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-band p {
  font-size: 15px;
  opacity: 0.9;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0A1A3D;
  color: #C9CDD4;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand {
  color: #fff;
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: #86909C;
  max-width: 320px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 13px;
  color: #86909C;
}
.footer-col ul li a:hover { color: #fff; }
.footer-qr {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ink-2);
  text-align: center;
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #86909C;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a { color: #86909C; }
.footer-bottom a:hover { color: #fff; }
.beian-link { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 课程分类筛选 ---------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-chip {
  padding: 9px 20px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--ink-2);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- 课程详情 ---------- */
.course-hero {
  background: linear-gradient(135deg, #0A1A3D 0%, #165DFF 100%);
  color: #fff;
  padding: 56px 0;
}
.course-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
}
.course-hero h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}
.course-hero .tags {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.course-hero .tags span {
  font-size: 12px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}
.course-hero .desc {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.7;
}
.course-hero .meta-row {
  display: flex;
  gap: 24px;
  font-size: 13px;
  opacity: 0.85;
  margin-bottom: 28px;
}
.buy-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--ink-1);
  box-shadow: var(--shadow-lg);
}
.buy-card .price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.buy-card .price .now {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
}
.buy-card .price .old {
  color: var(--ink-4);
  text-decoration: line-through;
  font-size: 15px;
}
.buy-card .price .discount {
  background: #FFECE8;
  color: #F7685F;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.buy-card .info-list {
  margin-bottom: 20px;
}
.buy-card .info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 10px;
}
.buy-card .info-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}
.buy-card .btn { width: 100%; margin-bottom: 10px; }

/* 课程详情内容 */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.detail-main h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}
.detail-block { margin-bottom: 48px; }
.detail-block p {
  color: var(--ink-2);
  margin-bottom: 14px;
  line-height: 1.8;
}
.detail-block ul.bullets li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--ink-2);
}
.detail-block ul.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.outline-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.outline-module {
  border-bottom: 1px solid var(--line);
}
.outline-module:last-child { border-bottom: none; }
.outline-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-soft);
  font-weight: 600;
  font-size: 15px;
}
.outline-head .idx {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.outline-lessons {
  padding: 8px 20px 12px;
}
.outline-lessons li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--ink-2);
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
}
.outline-lessons li:last-child { border-bottom: none; }
.outline-lessons .dur { color: var(--ink-4); font-size: 12px; }

/* 侧栏 */
.detail-side {
  position: sticky;
  top: 90px;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 20px;
}
.side-card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.side-teacher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.side-teacher .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #4D7CFF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.side-teacher .name { font-weight: 600; font-size: 14px; }
.side-teacher .role { font-size: 12px; color: var(--ink-3); }
.side-note {
  font-size: 13px;
  color: var(--ink-3);
  background: var(--primary-soft);
  border-radius: 8px;
  padding: 12px;
  line-height: 1.6;
}

/* ---------- 关于我们 ---------- */
.about-hero {
  background: linear-gradient(135deg, #F7F9FC, #E8F0FF);
  padding: 72px 0;
  text-align: center;
}
.about-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}
.about-hero p {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 680px;
  margin: 0 auto;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  text-align: center;
  padding: 36px 24px;
}
.value-ico {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 18px;
}
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--ink-3); }

.about-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.info-row {
  display: flex;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-row .k {
  width: 120px;
  color: var(--ink-3);
  font-size: 14px;
}
.info-row .v {
  flex: 1;
  color: var(--ink-1);
  font-size: 14px;
  font-weight: 500;
}

/* ---------- 学员案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
}
.case-card:hover { box-shadow: var(--shadow); }
.case-banner {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  position: relative;
}
.case-banner .case-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,0.9);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
}
.case-body { padding: 26px; }
.case-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-role {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 14px;
}
.case-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
}
.case-compare .col h5 {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.case-compare .before h5 { color: #86909C; }
.case-compare .after h5 { color: var(--accent); }
.case-compare .col p {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
}
.case-quote {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------- 合规页 ---------- */
.legal-hero {
  background: var(--bg-soft);
  padding: 48px 0;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
}
.legal-hero .updated {
  font-size: 13px;
  color: var(--ink-3);
}
.legal-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}
.legal-body h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--ink-1);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 22px 0 10px;
  color: var(--ink-1);
}
.legal-body p {
  color: var(--ink-2);
  margin-bottom: 12px;
  line-height: 1.8;
}
.legal-body ul {
  margin: 0 0 14px 4px;
}
.legal-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--ink-2);
  line-height: 1.7;
}
.legal-body ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}
.legal-body .toc {
  background: var(--primary-soft);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
}
.legal-body .toc h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--primary);
}
.legal-body .toc ol {
  list-style: decimal;
  padding-left: 20px;
}
.legal-body .toc ol li {
  margin-bottom: 6px;
  font-size: 14px;
}
.legal-body .toc ol li a { color: var(--ink-2); }
.legal-body .toc ol li a:hover { color: var(--primary); }

/* ---------- 登录弹窗 ---------- */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 61, 0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 380px;
  padding: 32px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--ink-3);
  border-radius: 50%;
}
.modal-close:hover { background: var(--bg-grey); color: var(--ink-1); }
.modal h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.modal .sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.modal-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.modal-tabs button {
  padding: 8px 0;
  font-size: 15px;
  color: var(--ink-3);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.modal-tabs button.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.modal .btn { width: 100%; margin-top: 6px; }
.modal-foot {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 16px;
}

/* ---------- 通用工具 ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.section-sm { padding: 56px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .course-hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  .hero h1 { font-size: 30px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .pain-grid, .course-grid, .review-grid, .teacher-grid, .adv-grid, .value-grid {
    grid-template-columns: 1fr;
  }
  .case-grid, .about-info { grid-template-columns: 1fr; }
  .cta-band {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}
