/* ============================================================
   鄂荟微讲堂 — 部门官网 全局样式 v2
   设计系统：暖色调浅色主题 × 层次化字体组合 × 编排动画
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&family=Noto+Serif+SC:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  /* 配色 */
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-text-primary: #1a1208;
  --color-text-primary-alt: #000000;
  --color-text-secondary: #5c4a2e;
  --color-text-tertiary: #8b7758;
  --color-text-muted: #b5a58c;
  --color-border: #e8e0d0;
  --color-border-light: #f0ece0;

  /* 点缀：古铜 */
  --color-accent: #c1783a;
  --color-accent-hover: #a56228;
  --color-accent-soft: rgba(193, 120, 58, 0.07);
  --color-accent-glow: rgba(193, 120, 58, 0.2);

  /* 导航 */
  --color-nav-bg: rgba(247, 245, 240, 0.82);

  /* 卡片 */
  --color-card-bg: #ffffff;
  --color-card-border: rgba(0,0,0,0.06);

  /* 页脚 */
  --color-footer-bg: #f0ece0;

  /* 语义色（与强调色联动，主题色切换时自动跟随） */
  --color-success: #22a65e;
  --color-success-light: #e8f8ef;
  --color-error: #dc3545;
  --color-error-light: #fde8ea;

  /* 阴影 */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 14px rgba(0,0,0,0.05);
  --shadow-card-hover: 0 4px 16px rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.07);
  --shadow-float: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-modal: 0 20px 60px rgba(0,0,0,0.15);

  /* 粒子颜色（跟随主题） */
  --particle-color: 80, 80, 80;

  /* ---- 字体体系 ---- */
  /* 英文/数字：Outfit（现代几何），正文：系统，中文装饰：Noto Serif SC，等宽：JetBrains Mono */
  --ff-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
  --ff-serif: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --ff-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Code', 'Consolas', monospace;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 9999px;

  /* 间距 */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 20px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 80px;

  --nav-height: 56px;
  --max-width: 1100px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s var(--ease-out);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

/* 页面切换丝滑过渡 */
@view-transition { navigation: auto; }

/* 自定义光标 — 页面加载前即隐藏系统光标，无闪烁 */
@media (hover: hover) and (pointer: fine) {
  body, body * { cursor: none !important; }
}

body {
  font-family: var(--ff-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-secondary);
  background-color: var(--color-bg);
  min-height: 100vh;
}

::selection { background: var(--color-accent); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

button {
  font-family: var(--ff-body);
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  font-size: inherit;
}

/* ---- 字体工具类 ---- */
.font-display { font-family: var(--ff-display); }
.font-serif { font-family: var(--ff-serif); }
.font-mono { font-family: var(--ff-mono); }
.text-accent { color: var(--color-accent); }

/* 粒子背景 */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ---- 圆形进度条 ---- */
.progress-ring {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 99;
  width: 56px;
  height: 56px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.progress-ring:active {
  cursor: grabbing;
}

.progress-ring svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}

.progress-ring__bg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 3;
}

.progress-ring__fill {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s ease;
}

.progress-ring__text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  pointer-events: none;
}

@media (max-width: 767px) {
  .progress-ring {
    width: 44px;
    height: 44px;
    bottom: 20px;
    right: 20px;
  }
  .progress-ring__text {
    font-size: 9px;
  }
}

.nav, .hero, .section, .footer, .auth-page, .hero-sub {
  position: relative;
  z-index: 1;
}

/* ============================================================
   ANIMATIONS — 编排动画队列
   2 种入场：fadeUp（通用）、reveal（滚动触发）
   ============================================================ */

/* 基础入场 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 卡片入场队列 — staggered，时间线从 0.1s 到 0.5s */
.anim-card-1 { animation: fadeUp 0.5s var(--ease-out) 0.08s both; }
.anim-card-2 { animation: fadeUp 0.5s var(--ease-out) 0.16s both; }
.anim-card-3 { animation: fadeUp 0.5s var(--ease-out) 0.24s both; }
.anim-card-4 { animation: fadeUp 0.5s var(--ease-out) 0.32s both; }
.anim-card-5 { animation: fadeUp 0.5s var(--ease-out) 0.40s both; }
.anim-card-6 { animation: fadeUp 0.5s var(--ease-out) 0.48s both; }

/* Hero 文字队列 — 与卡片形成两段式时间线 */
.anim-hero-title {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-quint) 0.1s both;
}
.anim-hero-sub {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-quint) 0.25s both;
}

/* ---- 滚动触发 reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.03s; }
.reveal-delay-2 { transition-delay: 0.10s; }
.reveal-delay-3 { transition-delay: 0.17s; }
.reveal-delay-4 { transition-delay: 0.24s; }
.reveal-delay-5 { transition-delay: 0.31s; }
.reveal-delay-6 { transition-delay: 0.38s; }

/* ============================================================
   FULLPAGE — 首页全屏滚动区块
   ============================================================ */

.fp-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.fp-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: 60px 0;
  text-decoration: none;
  position: relative;
}

.fp-section:last-child {
  border-bottom: none;
}

.fp-section__inner {
  max-width: 680px;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* 淡出效果 */
.fp-section--out .fp-section__inner {
  opacity: 0;
  transform: translateY(20px);
}

.fp-section__tag {
  font-family: var(--ff-mono);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary-alt);
  line-height: 1.05;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.fp-section:hover .fp-section__title {
  color: var(--color-accent);
}

.fp-section__desc {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.fp-section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  padding: 10px 22px;
  border: 1px solid rgba(193,120,58,0.25);
  border-radius: 9999px;
  transition: all 0.3s var(--ease-out);
}

.fp-section:hover .fp-section__link {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ============================================================
   NAVIGATION — 纯白、56px、无毛玻璃
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: var(--color-nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-border);
  animation: fadeUp 0.6s var(--ease-out-quint) 0.05s both;
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  white-space: nowrap;
  line-height: 1;
}

.nav__logo-svg {
  display: block;
  height: 24px;
  width: auto;
}

.nav__logo-dot { display: none; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 6px;
  transition: color var(--transition-fast);
}

.nav__link:hover { color: var(--color-text-primary); }
.nav__link--active { color: var(--color-text-primary); font-weight: 600; }

.nav__auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__auth-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-primary);
  padding: 6px 14px;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.nav__auth-link:hover { background: rgba(0,0,0,0.04); }

.nav__auth-link--primary {
  color: #ffffff;
  background: var(--color-accent);
  font-weight: 500;
  padding: 6px 16px;
}

.nav__auth-link--primary:hover { background: var(--color-accent-hover); }

.nav__auth-divider { display: none; }

/* 主题色选择器 */
.nav__theme {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.nav__theme-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-card-bg);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.nav__theme-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.nav__theme-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 0.2s var(--ease-out);
  z-index: 200;
  min-width: 140px;
}
.nav__theme-popover--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__theme-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav__theme-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-text-secondary);
  font-family: var(--ff-body);
  text-align: left;
  transition: background var(--transition-fast);
}
.nav__theme-opt:hover { background: var(--color-bg); }
.nav__theme-opt--active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 600;
}
.nav__theme-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  gap: 5px;
}

.nav__hamburger-line {
  width: 18px;
  height: 1.5px;
  background: var(--color-text-primary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav__hamburger--open .nav__hamburger-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger--open .nav__hamburger-line:nth-child(2) { opacity: 0; }
.nav__hamburger--open .nav__hamburger-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav__mobile--open { opacity: 1; visibility: visible; }

.nav__mobile-link {
  display: block;
  font-size: 28px;
  font-weight: 600;
  color: var(--color-text-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.nav__mobile-auth { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.nav__mobile-auth-link { font-size: 17px; color: var(--color-text-secondary); padding: 10px 0; }

/* ============================================================
   HERO — 首页
   ============================================================ */

.hero {
  padding: calc(var(--nav-height) + 80px) 24px 80px;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(193,120,58,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__orb, .hero__lines { display: none; }

.hero__title {
  font-family: var(--ff-serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text-primary-alt);
  line-height: 1.1;
}

.hero__subtitle {
  margin-top: 20px;
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: 18px;
  color: var(--color-text-tertiary);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* --- 愿景介绍 --- */
.hero-vision {
  margin-top: 64px;
  text-align: left;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.hero-vision__title {
  font-family: var(--ff-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-text-primary-alt);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 14px;
}

.hero-vision__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 8px;
  border-radius: 2px;
}

.hero-vision__content {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.hero-vision__content p {
  width: 1000px;
  max-width: 100%;
  text-align: left;
}

.hero-vision__content p {
  font-family: var(--ff-serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-secondary);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* --- 数据 + 图片区块 --- */
.stats-section {
  padding: 40px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.stats-section__inner {
  display: flex;
  gap: 40px;
  align-items: stretch;
  transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out);
}

/* 左侧 2×2 数字网格 */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  flex: 1;
  position: relative;
}

/* 十字分隔线 */
.stats-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-border);
  pointer-events: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.stats-grid::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
  pointer-events: none;
  box-shadow: 1px 0 3px rgba(0,0,0,0.04);
}

.stats-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  position: relative;
  min-height: 140px;
}

.stats-grid__number {
  font-family: var(--ff-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stats-grid__label {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--color-text-tertiary);
  margin-top: 8px;
  letter-spacing: 0.02em;
}

/* 右侧四张图片网格 */
.stats-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.stats-images__item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.05);
  aspect-ratio: 16 / 9;
}

/* --- 发展历程 --- */
.timeline-section {
  padding: 60px 24px 80px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.timeline-section__title {
  font-family: var(--ff-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--color-text-primary-alt);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 14px;
}

.timeline-section__title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 8px;
  border-radius: 2px;
}

.timeline-section__subtitle {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--color-text-tertiary);
  margin-top: 8px;
  margin-bottom: 48px;
}

.timeline-section__inner {
  transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out);
}

/* 轮播容器 */
.timeline-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
}

.timeline__cards-wrapper {
  flex: 1;
  overflow: hidden;
}

.timeline__cards {
  display: flex;
  gap: 0;
  transition: transform 0.45s var(--ease-out);
}

.timeline__card {
  flex: 0 0 calc(100% / 3);
  padding: 0 24px;
  border-right: 1px solid var(--color-border);
}

.timeline__card:last-child {
  border-right: none;
}

.timeline__card-year {
  font-family: var(--ff-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: -0.03em;
}

.timeline__card-desc {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-top: 12px;
}

/* 左右箭头 */
.timeline__arrow {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-tertiary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  box-shadow: 0 2px 8px var(--color-accent-glow);
}

/* 时间轴标尺 */
.timeline__bar {
  position: relative;
  margin-top: 40px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
}

.timeline__bar::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

.timeline__bar-dot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.timeline__bar-dot::before {
  content: '';
  width: 1px;
  height: 14px;
  background: var(--color-border);
  position: absolute;
  top: -14px;
}

.timeline__bar-dot--active::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  top: -5px;
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.timeline__bar-label {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 20px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.timeline__bar-dot--active .timeline__bar-label {
  color: var(--color-accent);
  font-weight: 600;
}

/* ============================================================
   HERO — 子页面
   ============================================================ */

.hero-sub {
  padding: calc(var(--nav-height) + 80px) 24px 20px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background: transparent;
}

.hero-sub__title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-text-primary-alt);
  line-height: 1.05;
}

.hero-sub__breadcrumb {
  margin-top: 8px;
  font-family: var(--ff-mono);
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: -0.01em;
}

.hero-sub__breadcrumb a { transition: color 0.2s ease; }
.hero-sub__breadcrumb a:hover { color: var(--color-accent); }
.hero-sub__breadcrumb span { margin: 0 8px; color: var(--color-border); }

/* ============================================================
   SECTION
   ============================================================ */

.section {
  padding: 0 24px 80px;
}

.section--cards {
  max-width: 1100px;
  margin: 0 auto;
}

/* Hero 标题区域 */

.section__header {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 0;
}

.section__header .section__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-primary);
  text-align: left;
  margin-bottom: 8px;
}

.section__header .section__desc {
  font-size: 16px;
  color: var(--color-text-tertiary);
  text-align: left;
}

/* ============================================================
   CARD GRID
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================================
   CARD — 纯白 + 柔和阴影、8px 圆角
   ============================================================ */

.card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 18px;
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 12px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  cursor: pointer;
}

.card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card__icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,0,0,0.03);
}

.card__icon svg { width: 22px; height: 22px; stroke-width: 1.5; }

.card__title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-text-primary-alt);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* 会员专享标签 */
.vip-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: var(--color-accent);
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  line-height: 1.4;
}

.card__desc {
  grid-column: 2;
  grid-row: 2;
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: 14px;
  color: var(--color-text-tertiary);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.card__arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.2s ease;
  color: var(--color-accent);
  background: var(--color-accent-soft);
}

.card:hover .card__arrow { opacity: 1; transform: translateX(0); }
.card__arrow svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  .card {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 20px 16px;
  }
  .card__icon { width: 36px; height: 36px; border-radius: 8px; }
  .card__icon svg { width: 16px; height: 16px; }
  .card__title { font-family: var(--ff-display); font-size: 15px; }
  .card__desc { font-size: 12px; }
  .card__arrow { display: none; }
}

/* ============================================================
   PLACEHOLDER
   ============================================================ */

.placeholder {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0;
}

.placeholder__text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  text-align: left;
}

.placeholder__box {
  margin-top: 48px;
  padding: 48px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  text-align: center;
  color: var(--color-text-tertiary);
  font-size: 14px;
  background: #ffffff;
}

.placeholder__box-icon { font-size: 28px; margin-bottom: 12px; opacity: 0.3; }

/* ============================================================
   VIDEO GRID
   ============================================================ */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.video-card {
  background: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.video-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.video-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--color-footer-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-tertiary);
}

.video-card__thumb svg { width: 44px; height: 44px; opacity: 0.25; }
.video-card:hover .video-card__thumb svg { opacity: 0.4; }

.video-card__info { padding: 20px 24px; }
.video-card__title { font-size: 15px; font-weight: 600; color: var(--color-text-primary); margin-bottom: 4px; }
.video-card__meta { font-size: 12px; color: var(--color-text-tertiary); }

/* ============================================================
   FEATURE LIST
   ============================================================ */

.feature-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  opacity: 0.7;
}

.feature-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--color-footer-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item__icon svg { width: 18px; height: 18px; }
.feature-item__title {
  font-family: var(--ff-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-primary-alt);
  margin-bottom: 4px;
}

.feature-item__desc {
  font-family: var(--ff-serif);
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-tertiary);
  line-height: 1.6;
}

/* ============================================================
   AUTH FORMS
   ============================================================ */

.auth-page {
  padding: calc(var(--nav-height) + 80px) 24px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--color-bg);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 48px 40px;
  background: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  animation: fadeUp 0.5s ease both;
}

.auth-card__title { font-size: 28px; font-weight: 700; color: var(--color-text-primary); text-align: left; margin-bottom: 8px; }
.auth-card__subtitle { font-size: 16px; color: var(--color-text-tertiary); margin-bottom: 24px; }

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  font-family: var(--font-stack);
  color: var(--color-text-primary);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus { border-color: var(--color-accent); }
.form-input::placeholder { color: var(--color-text-tertiary); }

.form-submit {
  width: 100%;
  padding: 12px 22px;
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: 8px;
  transition: background 0.2s ease;
}

.form-submit:hover { background: var(--color-accent-hover); }

.form-footer { margin-top: 24px; text-align: center; font-size: 14px; color: var(--color-text-tertiary); }
.form-footer a { color: var(--color-accent); font-weight: 600; }
.form-footer a:hover { text-decoration: underline; }

.form-note {
  margin-top: 24px;
  padding: 16px;
  background: var(--color-footer-bg);
  border-radius: 8px;
  font-size: 12px;
  color: var(--color-text-tertiary);
  text-align: center;
  line-height: 1.4;
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
  font-family: var(--ff-body);
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.btn-primary:active { transform: scale(.97); }

.btn-outline {
  border-color: var(--color-border);
  color: var(--color-text-secondary);
  background: var(--color-card-bg);
}
.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); }

.btn-text {
  color: var(--color-accent);
  padding: 7px 8px;
  border-color: transparent;
}
.btn-text:hover { background: var(--color-accent-soft); }

.btn-danger {
  background: var(--color-error);
  color: #ffffff;
  border-color: var(--color-error);
}
.btn-danger:hover { background: #c82333; border-color: #c82333; }

.btn-sm { padding: 4px 12px; font-size: 12px; border-radius: 5px; }
.btn-lg { padding: 11px 24px; font-size: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-tertiary);
  font-size: 12px;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   TAB NAVIGATION
   ============================================================ */

.tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  padding: 4px;
  background: #eeeeee;
  border-radius: 8px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 8px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-tertiary);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.tab-btn:hover { color: var(--color-text-primary); }

.tab-btn--active {
  color: var(--color-text-primary);
  font-weight: 600;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.tab-content { display: none; }
.tab-content--active { display: block; animation: fadeUp 0.3s ease both; }

/* --- 登录提示弹窗 --- */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}
.auth-overlay--show { display: flex; }
.auth-overlay__card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 380px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  animation: fadeUp 0.25s var(--ease-out) both;
}
.auth-overlay__icon { font-size: 40px; margin-bottom: 12px; }
.auth-overlay__title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary-alt);
  margin-bottom: 8px;
}
.auth-overlay__desc {
  font-family: var(--ff-body);
  font-size: 14px;
  color: var(--color-text-tertiary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.auth-overlay__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.auth-overlay__btn {
  display: block;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  color: var(--color-text-secondary);
  background: var(--color-border-light);
}
.auth-overlay__btn--primary {
  color: #fff;
  background: var(--color-accent);
}
.auth-overlay__btn--primary:hover { background: var(--color-accent-hover); }
.auth-overlay__btn:hover { background: var(--color-border); }
.auth-overlay__close {
  background: none;
  border: none;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
}
.auth-overlay__close:hover { color: var(--color-text-tertiary); }

/* ============================================================
   RESPONSIVE — Mobile (≤ 900px 即触发手机版)
   注意：宽度在 900px+ 到 2000px+ 之间布局完全固定，不会随窗口缩小而变化
   ============================================================ */

@media (max-width: 900px) {
  .nav__links,
  .nav__auth { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .hero { padding: calc(var(--nav-height) + 40px) 16px 48px; }
  .hero__title { font-size: 36px; }

  .hero-sub { padding: calc(var(--nav-height) + 24px) 16px 24px; }
  .hero-sub__title { font-size: 28px; }
  .hero-sub__breadcrumb { font-size: 12px; }

  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .card {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 20px 16px;
  }
  .card__icon { width: 36px; height: 36px; border-radius: 6px; }
  .card__icon svg { width: 16px; height: 16px; }
  .card__title { font-size: 14px; }
  .card__desc { font-size: 12px; }
  .card__arrow { display: none; }

  .video-grid { grid-template-columns: 1fr; }
  .video-card__info { padding: 12px 16px; }
  .video-card__title { font-size: 14px; }

  /* 数据 + 图片区块 手机版 */
  .stats-section { padding: 24px 16px 40px; }
  .stats-section__inner { flex-direction: column; gap: 24px; }
  .stats-grid__number { font-size: 36px; font-weight: 800; background: linear-gradient(135deg, var(--color-accent) 40%, var(--color-accent-hover) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .stats-grid__item { padding: 24px 12px; min-height: 100px; }
  .stats-images__item { min-height: 100px; }

  /* 发展历程 手机版 */
  .timeline-section { padding: 40px 16px 60px; }
  .timeline-section__title { font-size: 24px; }
  .timeline__card { flex: 0 0 100%; padding: 0 12px; }
  .timeline__card-year { font-size: 32px; }

  .feature-item { padding: 12px 0; gap: 12px; }
  .feature-item__icon { width: 32px; height: 32px; }
  .feature-item__title { font-size: 14px; }
  .feature-item__desc { font-size: 12px; }

  .section { padding: 0 16px 48px; }

  .tabs { margin-bottom: 24px; }
  .tab-btn { padding: 6px 14px; font-size: 12px; }

  .placeholder { padding: 24px 0; }
  .placeholder__text { font-size: 14px; }
  .placeholder__box { padding: 24px; }
  .feature-list { margin-top: 24px; }

  .auth-page { padding: calc(var(--nav-height) + 40px) 16px 48px; }
  .auth-card { padding: 24px 20px; }
  .auth-card__title { font-size: 20px; }
  .auth-card__subtitle { font-size: 14px; }

  .footer { padding: 20px 16px; }
  .footer__inner { flex-direction: column; text-align: center; gap: 4px; }
}

/* 900px 以上：桌面固定布局，拖动窗口字体/排版不变 */
@media (min-width: 901px) {
  .nav__hamburger { display: none; }
  .nav__mobile { display: none !important; }
  .nav__links { display: flex; }
  .nav__auth { display: flex; }
}
