/* ===== 站点页面组件（沿用设计系统变量） ===== */

/* ===== 通用小节 ===== */
.section-white { background: var(--white); }
.section-light { background: var(--bg-light); }
.section-dark {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--white);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.82); }

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 17px; line-height: 1.8; color: var(--text-body); }
.section-dark .section-head p { color: rgba(255,255,255,0.82); }

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-dark .eyebrow { color: rgba(255,255,255,0.75); }

/* ===== 优势卡片（4 列 / 3 列） ===== */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.adv-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.adv-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.adv-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--border-radius-card);
  padding: 32px 26px;
  transition: var(--transition);
  height: 100%;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,115,98,0.16);
}
.adv-card .num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: rgba(0,115,98,0.18);
  line-height: 1;
  margin-bottom: 14px;
}
.adv-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0,115,98,0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: var(--transition);
}
.adv-card:hover .icon { background: var(--primary); color: var(--white); }
.adv-card h4 { font-size: 19px; margin-bottom: 10px; }
.adv-card p { font-size: 14.5px; line-height: 1.75; color: var(--text-light); margin: 0; }

/* 深色底上的卡片 */
.section-dark .adv-card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
}
.section-dark .adv-card:hover {
  background: rgba(255,255,255,0.10);
  box-shadow: none;
}
.section-dark .adv-card h4 { color: var(--white); }
.section-dark .adv-card p { color: rgba(255,255,255,0.75); }
.section-dark .adv-card .icon { background: rgba(255,255,255,0.12); color: #fff; }
.section-dark .adv-card .num { color: rgba(255,255,255,0.22); }

/* ===== 文字 + 图片 分栏 ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-text h3 { font-size: 34px; margin-bottom: 18px; }
.split-text p { font-size: 16px; line-height: 1.85; color: var(--text-body); margin-bottom: 16px; }
.split-text p:last-child { margin-bottom: 0; }
.split-media {
  border-radius: var(--border-radius-card);
  overflow: hidden;
  min-height: 380px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .media-icon { font-size: 72px; color: rgba(255,255,255,0.35); }

/* 品牌徽标面板：浅底 + 居中徽标（深色徽标在深色渐变底上看不清） */
.brand-mark-media {
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark-media img {
  width: 62%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .brand-mark-media { padding: 28px; min-height: 220px; }
  .brand-mark-media img { width: 45%; }
}

/* ===== 引用块 ===== */
.quote-block {
  border-left: 4px solid var(--primary);
  padding: 6px 0 6px 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  line-height: 1.7;
  color: var(--text-heading);
  margin: 26px 0;
}
.quote-block cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-style: normal;
  color: var(--text-light);
}

/* 深色底上的引用块要转为浅色，否则看不清 */
.section-dark .quote-block,
.section-dark blockquote {
  color: var(--white);
  border-left-color: rgba(255,255,255,0.55);
}
.section-dark .quote-block cite { color: rgba(255,255,255,0.72); }

/* ===== 大事记时间轴 ===== */
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding-left: 34px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(0,115,98,0.18);
}
.timeline-item {
  position: relative;
  padding-bottom: 34px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,115,98,0.14);
}
.timeline-item .year {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-item p { font-size: 15.5px; line-height: 1.8; color: var(--text-body); margin: 0; }
.section-dark .timeline::before { background: rgba(255,255,255,0.22); }
.section-dark .timeline-item::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.16); }
.section-dark .timeline-item .year { color: #fff; }
.section-dark .timeline-item p { color: rgba(255,255,255,0.82); }

/* ===== 大数字 ===== */
.stat-highlight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: center;
}
.stat-highlight .item .num {
  font-family: var(--font-heading);
  font-size: 46px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-highlight .item p { font-size: 15px; color: var(--text-body); margin: 0; }
.section-dark .stat-highlight .item .num { color: #fff; }
.section-dark .stat-highlight .item p { color: rgba(255,255,255,0.8); }

/* ===== 人物卡片 ===== */
.person-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.person-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--border-radius-card);
  padding: 30px;
  transition: var(--transition);
}
.person-card:hover { box-shadow: var(--shadow-md); }
.person-card .head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.person-card .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,115,98,0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.person-card h4 { font-size: 19px; margin-bottom: 2px; }
.person-card .role {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 500;
}
.person-card .bio {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

/* 创始人主卡 */
.founder-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.founder-photo {
  aspect-ratio: 1 / 1.15;
  border-radius: var(--border-radius-card);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 68px;
  color: rgba(255,255,255,0.4);
  overflow: hidden;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-info h3 { font-size: 30px; margin-bottom: 4px; }
.founder-info .role { color: var(--primary); font-weight: 500; margin-bottom: 20px; }
.founder-facts {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.founder-facts .fact {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-body);
}
.founder-facts .fact i { color: var(--primary); width: 18px; margin-top: 3px; }
.founder-info p { font-size: 15.5px; line-height: 1.85; color: var(--text-body); margin-bottom: 14px; }

/* ===== Lecture Notes ===== */
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.note-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
}
.note-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 115, 98, 0.25);
}
.note-card .note-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(200, 60, 60, 0.10);
  color: #c33c3c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.note-card h4 {
  font-size: 19px;
  line-height: 1.45;
  color: var(--text-heading);
  word-break: break-word;
  margin-bottom: 0;
}
.note-card .note-date {
  font-size: 13px;
  color: var(--text-light);
  margin-top: auto;
}
@media (max-width: 1024px) {
  .note-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .note-grid { grid-template-columns: 1fr; }
}

/* ===== 课程卡片 ===== */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 190px;
  border-radius: var(--border-radius-card);
  padding: 30px 26px;
  background: rgba(0,115,98,0.07);
  border: 1px solid rgba(0,115,98,0.14);
  transition: var(--transition);
}
.course-card:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.course-card:hover h4,
.course-card:hover .meta,
.course-card:hover .more { color: #fff; }
.course-card h4 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: var(--transition);
}
.course-card .meta {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 18px;
  transition: var(--transition);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.course-card .more {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

/* ===== 新闻卡片（沿用 .news-card，补充分类标签） ===== */
.news-card .category {
  display: inline-block;
  font-size: 11.5px;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(0,115,98,0.10);
  color: var(--primary);
  margin-bottom: 8px;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 空态 / 加载态 ===== */
.state-box {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-light);
}
.state-box i { font-size: 38px; display: block; margin-bottom: 14px; opacity: 0.4; }
.state-box p { font-size: 15px; margin: 0; }
.spinner-ring {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(0,115,98,0.18);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 白皮书 ===== */
.paper-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 10px;
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.paper-card .icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(0,115,98,0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.paper-card h3 { font-size: 24px; margin-bottom: 12px; }
.paper-card p { font-size: 15px; line-height: 1.8; color: var(--text-body); margin-bottom: 8px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 280px; }
  .founder-card { grid-template-columns: 1fr; gap: 28px; }
  .founder-photo { max-width: 280px; }
  .stat-highlight { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .stat-highlight .item .num { font-size: 36px; }
}

@media (max-width: 768px) {
  .adv-grid,
  .adv-grid.cols-3,
  .adv-grid.cols-2 { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .person-grid { grid-template-columns: 1fr; }
  .stat-highlight { grid-template-columns: 1fr; gap: 26px; }
  .founder-card { padding: 26px 22px; }
  .paper-card { padding: 34px 24px; }
  .split-text h3 { font-size: 26px; }
  .quote-block { font-size: 17px; padding-left: 18px; }
}
