/* ============================================================
   觅眠 MiSleep · SOMNI-AI 官网共享样式 main.css
   主题：深色背景 #0f0a1a · 鎏金 #D4AF37 · 紫色 #9C27B0
   来源：提取自首页 <style> 标签，并追加全站扩展样式
        （全局导航 / 多列页脚 / 浮动CTA / 回到顶部 / 滚动揭示）
   ============================================================ */

/* ========== 基础重置与变量 ========== */
:root {
  --bg: #0f0a1a;
  --hero-bg: linear-gradient(135deg, #4A0E4E 0%, #660874 40%, #2a0a3a 100%);
  --gold: #D4AF37;
  --gold-light: #F0D875;
  --purple: #9C27B0;
  --purple-deep: #4A0E4E;
  --text: #f5e6f3;
  --text-sub: #b8a0c8;
  --border: rgba(212, 175, 55, 0.3);
  --border-strong: rgba(212, 175, 55, 0.6);
  --card-bg: rgba(255, 255, 255, 0.03);
  --card-bg-hover: rgba(212, 175, 55, 0.06);
  --max-width: 1000px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

/* 全局背景光效 */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(156, 39, 176, 0.12) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 18s ease-in-out infinite;
}

body::after {
  content: "";
  position: fixed;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: floatGlow 22s ease-in-out infinite reverse;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ========== Hero 区 ========== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--hero-bg);
  overflow: hidden;
  padding: 80px 24px;
}

/* Hero 鎏金光效 */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.22) 0%, transparent 55%);
  pointer-events: none;
  animation: pulseGold 6s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(156, 39, 176, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 45%);
  pointer-events: none;
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 36px;
  background: rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: clamp(56px, 12vw, 120px);
  font-weight: 800;
  letter-spacing: 6px;
  line-height: 1.1;
  background: linear-gradient(135deg, #F0D875 0%, #D4AF37 40%, #F5E6A8 70%, #D4AF37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.3);
}

.hero-title-en {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 300;
  color: var(--text);
  letter-spacing: 8px;
  margin-bottom: 28px;
  opacity: 0.95;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--text-sub);
  letter-spacing: 2px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-subtitle .gold-accent {
  color: var(--gold-light);
  font-weight: 500;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 40px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  font-size: 14px;
  color: var(--text-sub);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-sub);
  font-size: 12px;
  letter-spacing: 4px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ========== 通用区块 ========== */
.section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
}

.section-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title .gold-text {
  background: linear-gradient(135deg, #F0D875, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 700px;
  margin: 0 auto;
}

/* ========== 表格通用 ========== */
.table-wrap {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 14px;
  vertical-align: top;
}

th {
  background: rgba(156, 39, 176, 0.15);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 13px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: var(--card-bg-hover);
}

td strong, .name-cell {
  color: var(--gold-light);
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.tag-academic { background: rgba(156, 39, 176, 0.2); color: #CE93D8; }
.tag-spread { background: rgba(212, 175, 55, 0.15); color: var(--gold-light); }
.tag-recommend { background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(156, 39, 176, 0.2)); color: var(--gold-light); border: 1px solid var(--border-strong); }

/* ========== 为什么值得做 ========== */
.why-section {
  padding: 100px 0;
}

.big-number-block {
  text-align: center;
  margin: 40px 0 60px;
}

.big-number {
  font-size: clamp(120px, 28vw, 240px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(180deg, #F5E6A8 0%, #D4AF37 50%, #8B6914 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.25);
  letter-spacing: -4px;
  display: inline-block;
  position: relative;
}

.big-number::after {
  content: "%";
  font-size: 0.4em;
  vertical-align: super;
  background: linear-gradient(180deg, #F0D875, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.big-number-caption {
  font-size: 18px;
  color: var(--text-sub);
  margin-top: 12px;
  letter-spacing: 2px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.why-card {
  padding: 32px 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--purple));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--card-bg-hover);
  box-shadow: 0 20px 50px rgba(156, 39, 176, 0.15);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-num {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 14px;
  font-weight: 600;
}

.why-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.why-card-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
}

.why-card-text strong {
  color: var(--gold-light);
}

.dilemma-line {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin: 48px 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  letter-spacing: 1px;
}

.dilemma-line .gold-text {
  background: linear-gradient(135deg, #F0D875, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== 技术亮点 ========== */
.tech-intro {
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 48px;
}

.tech-intro strong {
  color: var(--gold-light);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.tech-card {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(156, 39, 176, 0.08), rgba(212, 175, 55, 0.04));
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.tech-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.12);
}

.tech-card:hover::after {
  opacity: 1;
}

.tech-icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.tech-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.tech-card-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.tech-card-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 三级闭环 */
.loop-section {
  margin-top: 56px;
  padding: 40px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
}

.loop-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 32px;
  letter-spacing: 2px;
}

.loop-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loop-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.15);
  transition: all 0.3s ease;
}

.loop-item.current {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(156, 39, 176, 0.08));
  border-color: var(--border-strong);
}

.loop-item:hover {
  border-color: var(--border-strong);
  transform: translateX(6px);
}

.loop-level {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  background: rgba(156, 39, 176, 0.2);
  color: var(--text-sub);
  border: 1px solid rgba(156, 39, 176, 0.3);
}

.loop-item.current .loop-level {
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: #0f0a1a;
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.loop-content {
  flex: 1;
}

.loop-path {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 4px;
}

.loop-note {
  font-size: 13px;
  color: var(--text-sub);
}

.loop-badge {
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 10px;
  background: var(--gold);
  color: #0f0a1a;
  font-weight: 700;
  margin-left: 8px;
}

/* 加分能力 */
.bonus-section {
  margin-top: 40px;
}

.bonus-title {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.bonus-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.bonus-item {
  padding: 20px;
  border-radius: 12px;
  background: rgba(156, 39, 176, 0.06);
  border-left: 3px solid var(--purple);
  transition: all 0.3s ease;
}

.bonus-item:hover {
  background: rgba(156, 39, 176, 0.12);
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.bonus-item-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.bonus-item-text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========== 导师天团 ========== */
.mentor-intro {
  text-align: center;
  font-size: 17px;
  color: var(--text-sub);
  font-style: italic;
  margin-bottom: 48px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 32px;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--purple);
  background: var(--card-bg);
  border-radius: 4px;
}

.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.mentor-card {
  padding: 32px 28px;
  border-radius: 18px;
  border: 1.5px solid var(--border-strong);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.06), rgba(156, 39, 176, 0.06));
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.mentor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple), var(--gold));
}

.mentor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(212, 175, 55, 0.18), 0 0 30px rgba(156, 39, 176, 0.15);
  border-color: var(--gold);
}

.mentor-role {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.mentor-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.mentor-identity {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.5;
}

.mentor-identity .badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border-radius: 8px;
  margin-left: 6px;
  font-weight: 600;
  vertical-align: middle;
}

.mentor-resources {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mentor-resources strong {
  color: var(--gold-light);
}

.mentor-summary {
  margin-top: 40px;
  padding: 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(212, 175, 55, 0.06));
  border: 1px solid var(--border);
  text-align: center;
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
}

.mentor-summary strong {
  color: var(--gold-light);
}

/* ========== 产业资源 ========== */
.resource-partner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.partner-icon {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), #B8860B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
}

.partner-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.partner-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  background: rgba(156, 39, 176, 0.2);
  color: #CE93D8;
  border-radius: 10px;
  margin-left: 8px;
  font-weight: 600;
}

.partner-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.partner-desc strong {
  color: var(--gold-light);
}

.resource-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.status-ok { color: #66BB6A; }
.status-maybe { color: #FFA726; }

.status-icon {
  font-size: 16px;
}

.publish-section {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid var(--border);
}

.publish-title {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 700;
}

.publish-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.publish-list li {
  font-size: 14px;
  color: var(--text-sub);
  padding-left: 24px;
  position: relative;
  line-height: 1.8;
}

.publish-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.publish-list li strong {
  color: var(--gold-light);
}

/* ========== 你能收获什么 ========== */
.gain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.gain-card {
  padding: 32px 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.gain-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 60%;
  background: radial-gradient(ellipse at top, rgba(212, 175, 55, 0.08), transparent 70%);
  pointer-events: none;
}

.gain-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--card-bg-hover);
  box-shadow: 0 20px 50px rgba(156, 39, 176, 0.12);
}

.gain-num {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), #8B6914);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.gain-icon {
  font-size: 36px;
  margin-bottom: 14px;
  display: block;
}

.gain-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
  letter-spacing: 1px;
}

.gain-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
}

.gain-text strong {
  color: var(--gold-light);
}

.gain-quote {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.05);
  font-size: 13px;
  color: var(--text);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

/* ========== 角色需求 ========== */

/* ========== CTA 加入我们 ========== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--hero-bg);
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(212, 175, 55, 0.2), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(156, 39, 176, 0.25), transparent 50%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  background: rgba(212, 175, 55, 0.08);
}

.cta-title {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 800;
  background: linear-gradient(135deg, #F5E6A8, #D4AF37, #F0D875);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
  letter-spacing: 4px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* 课题节奏时间线 */
.timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 48px 0;
}

.timeline-item {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  text-align: center;
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
}

.timeline-stage {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.timeline-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 联系方式 */
.contact-box {
  margin: 48px auto 0;
  max-width: 560px;
  padding: 32px;
  border-radius: 18px;
  background: rgba(15, 10, 26, 0.5);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
}

.contact-title {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 15px;
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  color: var(--text-sub);
}

.contact-value {
  color: var(--gold-light);
  font-weight: 600;
}

.contact-qrcode {
  margin: 24px auto 0;
  text-align: center;
}
.contact-qrcode img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.15);
}
.contact-qrcode-text {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-sub);
  letter-spacing: 1px;
}

/* ========== 科技向善结尾 ========== */
.goodness-section {
  padding: 100px 0;
  position: relative;
  text-align: center;
}

.goodness-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.goodness-mark {
  font-size: 80px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: -20px;
}

.goodness-quote {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(18px, 2.8vw, 24px);
  line-height: 2.1;
  color: var(--text);
  font-weight: 300;
  letter-spacing: 1px;
}

.goodness-quote p {
  margin-bottom: 24px;
}

.goodness-quote .highlight {
  color: var(--gold-light);
  font-weight: 600;
}

.goodness-quote .big {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  display: block;
  margin: 32px 0;
  background: linear-gradient(135deg, #F5E6A8, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.5;
}

.goodness-final {
  margin-top: 48px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #F0D875, #D4AF37, #9C27B0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.goodness-cta-line {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-sub);
  letter-spacing: 3px;
}

/* ========== 页脚 ========== */
.footer {
  padding: 48px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: rgba(15, 10, 26, 0.8);
}

.footer-info {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 2;
}

.footer-info strong {
  color: var(--gold-light);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto;
  opacity: 0.5;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-sub);
  opacity: 0.6;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .mentor-grid {
    grid-template-columns: 1fr;
  }

  .gain-grid {
    grid-template-columns: 1fr;
  }

  .resource-partner {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-item {
    max-width: 100%;
    width: 100%;
  }

  .bonus-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 80vh;
    padding: 60px 20px;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .loop-item {
    flex-direction: column;
    gap: 12px;
  }

  .loop-level {
    width: 44px;
    height: 44px;
  }

  th, td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 3px;
  }

  .hero-title-en {
    letter-spacing: 4px;
  }

  .cta-title {
    letter-spacing: 2px;
  }

  .goodness-final {
    letter-spacing: 2px;
  }
}

/* ============================================================
   全站扩展样式（导航 / 页脚 / 浮动CTA / 回到顶部 / 滚动揭示）
   ============================================================ */

/* ========== 全局导航 site-nav ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease,
              border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(15, 10, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
}

.nav-logo .logo-zh {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #F0D875, #D4AF37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo .logo-en {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-sub);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-sub);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.25s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-links a.active {
  color: var(--gold-light);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--purple));
  border-radius: 2px;
}

.nav-cta {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(156, 39, 176, 0.18));
  color: var(--gold-light) !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.32), rgba(156, 39, 176, 0.32));
  border-color: var(--gold);
  color: var(--gold-light) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 20px;
  padding: 2px 12px;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.4;
}

/* ========== 滚动揭示动画 ========== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

[data-reveal].reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 浮动 CTA ========== */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: #0f0a1a;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.5);
  color: #0f0a1a;
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 86px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--gold-light);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease,
              transform 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(212, 175, 55, 0.15);
}

/* ========== 多列页脚 site-footer ========== */
.site-footer {
  padding: 64px 24px 28px;
  background: rgba(15, 10, 26, 0.92);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

.footer-col h4 {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-sub);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.25s ease;
  cursor: pointer;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-sub);
  opacity: 0.7;
}

.footer-icp {
  letter-spacing: 1px;
}

/* ========== 扩展响应式：导航 / 页脚 / 浮动元素 ========== */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 72%;
    max-width: 300px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 84px 28px 28px;
    gap: 18px;
    background: rgba(15, 10, 26, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-cta {
    margin-top: 6px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .floating-cta {
    right: 16px;
    bottom: 20px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .back-to-top {
    right: 18px;
    bottom: 74px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}

/* 无障碍：尊重用户减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   内页扩展样式（404 错误页 / 数据流示意 / 状态机 / 内页排版辅助）
   注：page-hero / btn-gold 等通用内页组件见下方“内页专属样式”块
   ============================================================ */

/* ========== 404 错误页 ========== */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  position: relative;
  z-index: 1;
}

.error-code {
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #F5E6A8 0%, #D4AF37 45%, #9C27B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.3);
  letter-spacing: 4px;
  margin-bottom: 28px;
}

.error-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.error-subtitle {
  font-size: clamp(16px, 2.4vw, 20px);
  color: var(--gold-light);
  letter-spacing: 1px;
  margin-bottom: 44px;
  line-height: 1.8;
}

/* ========== 数据流架构示意 flow-diagram ========== */
.flow-diagram {
  margin: 32px 0;
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  text-align: center;
}

.flow-node {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-weight: 600;
  margin: 4px;
}

.flow-node.alt {
  background: rgba(156, 39, 176, 0.14);
  border-color: rgba(156, 39, 176, 0.4);
  color: #CE93D8;
}

.flow-arrow {
  color: var(--purple);
  font-weight: 700;
  margin: 0 6px;
}

.flow-label {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 6px;
}

/* ========== 状态机步骤条 statemachine ========== */
.statemachine {
  margin: 32px 0;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(156, 39, 176, 0.08), rgba(212, 175, 55, 0.04));
}

.statemachine-title {
  text-align: center;
  font-size: 18px;
  color: var(--gold-light);
  margin-bottom: 24px;
  letter-spacing: 1px;
  font-weight: 700;
}

.statemachine-track {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.statemachine-step {
  flex: 1;
  min-width: 150px;
  max-width: 220px;
  padding: 18px 16px;
  border-radius: 12px;
  background: rgba(15, 10, 26, 0.4);
  border: 1px solid var(--border);
  text-align: center;
}

.statemachine-step.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.16), rgba(156, 39, 176, 0.12));
  border-color: var(--border-strong);
}

.statemachine-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.statemachine-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

.statemachine-sep {
  display: flex;
  align-items: center;
  color: var(--purple);
  font-weight: 700;
}

/* ========== 内页排版辅助 ========== */
.sub-h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-light);
  margin: 40px 0 16px;
  letter-spacing: 1px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
}

.lead-text {
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}

.lead-text strong {
  color: var(--gold-light);
}

.note-block {
  margin: 24px 0;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(156, 39, 176, 0.08);
  border-left: 3px solid var(--purple);
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
}

.note-block strong {
  color: var(--gold-light);
}

/* ========== 扩展响应式（404 / 状态机 / 数据流） ========== */
@media (max-width: 768px) {
  .statemachine-track {
    flex-direction: column;
  }

  .statemachine-sep {
    transform: rotate(90deg);
    justify-content: center;
  }

  .flow-diagram {
    font-size: 13px;
  }
}

/* ============================================================
   内页专属样式（page-hero / milestone-timeline / news-card /
   mermaid-container / chart-container / modality-grid / btn-gold /
   recruit-banner）
   ============================================================ */

/* ========== 内页 Page Hero ========== */
.page-hero {
  position: relative;
  padding: 150px 24px 80px;
  text-align: center;
  background: var(--hero-bg);
  overflow: hidden;
  z-index: 1;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 30px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 28px;
  background: rgba(212, 175, 55, 0.06);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
}

.page-hero-title {
  font-size: clamp(36px, 7vw, 60px);
  font-weight: 800;
  letter-spacing: 4px;
  line-height: 1.2;
  background: linear-gradient(135deg, #F0D875 0%, #D4AF37 50%, #F5E6A8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.page-hero-subtitle {
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--text-sub);
  letter-spacing: 2px;
  font-weight: 300;
}

/* ========== 里程碑时间线 ========== */
.milestone-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 36px;
}

.milestone-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--purple), transparent);
}

.milestone-item {
  position: relative;
  padding: 20px 24px;
  margin-bottom: 22px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.milestone-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--text-sub);
  z-index: 2;
}

.milestone-item.done::before {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.6);
}

.milestone-item.active::before {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 14px rgba(156, 39, 176, 0.7);
  animation: milestonePulse 1.8s ease-in-out infinite;
}

@keyframes milestonePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(156, 39, 176, 0.5); }
  50% { box-shadow: 0 0 22px rgba(156, 39, 176, 0.9); }
}

.milestone-item:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
  background: var(--card-bg-hover);
}

.milestone-item.active {
  border-color: var(--border-strong);
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(212, 175, 55, 0.05));
}

.milestone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.milestone-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.milestone-status {
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}

.milestone-status.done {
  background: rgba(102, 187, 106, 0.18);
  color: #81C784;
  border: 1px solid rgba(102, 187, 106, 0.4);
}

.milestone-status.active {
  background: rgba(156, 39, 176, 0.22);
  color: #CE93D8;
  border: 1px solid rgba(156, 39, 176, 0.5);
}

.milestone-status.pending {
  background: rgba(184, 160, 200, 0.12);
  color: var(--text-sub);
  border: 1px solid rgba(184, 160, 200, 0.3);
}

.milestone-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ========== 公告卡片 news-card ========== */
.news-list {
  display: grid;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.news-card {
  padding: 24px 28px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  transition: all 0.35s ease;
}

.news-card:hover {
  border-color: var(--border-strong);
  background: var(--card-bg-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(156, 39, 176, 0.12);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-date {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.news-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 1px;
}

.news-tag.招募 { background: rgba(212, 175, 55, 0.18); color: var(--gold-light); border: 1px solid var(--border-strong); }
.news-tag.进展 { background: rgba(156, 39, 176, 0.2); color: #CE93D8; }
.news-tag.活动 { background: rgba(102, 187, 106, 0.18); color: #81C784; }
.news-tag.默认 { background: rgba(184, 160, 200, 0.15); color: var(--text-sub); }

.news-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-summary {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

.news-empty {
  text-align: center;
  color: var(--text-sub);
  font-size: 15px;
  padding: 40px 0;
}

/* ========== 招募状态横幅 ========== */
.recruit-banner {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.14), rgba(212, 175, 55, 0.1));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}

.recruit-banner-title {
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 600;
}

.recruit-banner-status {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.recruit-banner-desc {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ========== 金色按钮 btn-gold ========== */
.btn-gold {
  display: inline-block;
  padding: 13px 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--gold), #B8860B);
  color: #0f0a1a;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.5);
  color: #0f0a1a;
}

/* ========== Mermaid 架构图容器 ========== */
.mermaid-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  overflow-x: auto;
}

.mermaid-container .mermaid {
  display: flex;
  justify-content: center;
  background: transparent !important;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}

.mermaid-container pre.mermaid {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  white-space: normal;
}

.mermaid svg {
  background: transparent !important;
  max-width: 100%;
  height: auto;
}

.arch-note {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  text-align: center;
  padding: 0 16px;
}

.arch-note strong {
  color: var(--gold-light);
}

/* ========== 图表容器 ========== */
.chart-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
}

#accuracyChart {
  width: 100%;
  height: 420px;
}

.chart-note {
  max-width: 820px;
  margin: 20px auto 0;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  text-align: center;
  padding: 0 16px;
}

.chart-note strong {
  color: var(--gold-light);
}

/* ========== 八模态干预网格 ========== */
.modality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.modality-card {
  padding: 28px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(156, 39, 176, 0.08), rgba(212, 175, 55, 0.04));
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.modality-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.modality-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: 0 16px 42px rgba(156, 39, 176, 0.16);
}

.modality-card:hover::after {
  opacity: 1;
}

.modality-code {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
}

.modality-icon {
  font-size: 34px;
  margin-bottom: 12px;
  display: block;
}

.modality-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.modality-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ========== 演示占位区 ========== */
.demo-placeholder {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-placeholder-inner {
  text-align: center;
  color: var(--text-sub);
}

.demo-placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

/* ========== 段落说明文字（内页） ========== */
.block-text {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
}

.block-text strong {
  color: var(--gold-light);
}

/* ========== 内页响应式 ========== */
@media (max-width: 768px) {
  .page-hero {
    padding: 120px 20px 60px;
  }

  .milestone-timeline {
    padding-left: 28px;
  }

  .milestone-timeline::before {
    left: 7px;
  }

  .milestone-item::before {
    left: -25px;
    width: 12px;
    height: 12px;
  }

  .modality-grid {
    grid-template-columns: 1fr;
  }

  .recruit-banner {
    padding: 28px 20px;
  }

  #accuracyChart {
    height: 320px;
  }

  .mermaid-container {
    padding: 20px 12px;
  }
}

/* ============================================================
   FAQ 手风琴 & 飞书表单嵌入 专属样式
   ============================================================ */

/* ========== FAQ 分类 Tab ========== */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
}

.faq-tab {
  padding: 9px 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text-sub);
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  font-family: inherit;
  white-space: nowrap;
}

.faq-tab:hover {
  color: var(--gold-light);
  border-color: var(--border-strong);
}

.faq-tab.active {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(156, 39, 176, 0.16));
  border-color: var(--border-strong);
  color: var(--gold-light);
  font-weight: 600;
}

/* ========== FAQ 列表与手风琴 ========== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item.open {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(156, 39, 176, 0.06), rgba(212, 175, 55, 0.04));
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: inherit;
  line-height: 1.6;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 22px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item.open .faq-question {
  color: var(--gold-light);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 700px;
  padding: 0 24px 22px;
}

.faq-answer-inner {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.9;
  padding-top: 4px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.faq-answer-inner strong {
  color: var(--gold-light);
}

/* ========== 飞书表单嵌入 ========== */
.form-embed-wrap {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.form-embed-wrap iframe {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  display: block;
}

.form-fallback {
  max-width: 480px;
  margin: 24px auto;
  padding: 40px 32px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(212, 175, 55, 0.06));
  backdrop-filter: blur(10px);
  text-align: center;
}

.form-fallback h3 {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 12px;
  letter-spacing: 1px;
  font-weight: 700;
}

.form-fallback img {
  width: 200px;
  height: 200px;
  margin: 28px auto 12px;
  display: block;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.15);
}

/* 表单备选折叠区 */
.form-toggle {
  max-width: 820px;
  margin: 28px auto 0;
}

.form-toggle > summary {
  list-style: none;
  text-align: center;
  cursor: pointer;
}

.form-toggle > summary::-webkit-details-marker {
  display: none;
}

.form-toggle-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 24px;
  border: 1px dashed var(--border-strong);
  background: transparent;
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 1px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.form-toggle-trigger:hover {
  background: rgba(212, 175, 55, 0.08);
  border-style: solid;
}

.form-toggle[open] .form-toggle-trigger {
  border-style: solid;
  background: rgba(212, 175, 55, 0.1);
}

.form-toggle-body {
  margin-top: 20px;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  text-align: center;
}

.form-toggle-body p {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.9;
}

.form-toggle-body img {
  width: 200px;
  height: 200px;
  margin: 24px auto 12px;
  display: block;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.15);
}

/* ========== FAQ 联系卡 ========== */
.faq-contact {
  max-width: 620px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(212, 175, 55, 0.06));
  backdrop-filter: blur(10px);
  text-align: center;
}

.faq-contact-title {
  font-size: 20px;
  color: var(--gold-light);
  margin-bottom: 16px;
  letter-spacing: 1px;
  font-weight: 700;
}

.faq-contact-text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.9;
  margin-bottom: 28px;
}

.faq-contact-text strong {
  color: var(--gold-light);
}

/* ========== FAQ / 表单响应式 ========== */
@media (max-width: 768px) {
  .faq-question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-item.open .faq-answer {
    padding: 0 20px 20px;
  }

  .form-fallback,
  .faq-contact {
    padding: 28px 22px;
  }
}
