/* ============================================================
   星尘心理 · 科普文章富组件模板 v1.0（静态 HTML 版）
   排版体系提炼自《辩论思维实战科普》(bianlun-siwei) +
   《情感绑架》(ai-yu-kongzhi) + ktfl 正文样式

   ==== 使用方式 ====
   1. 将本文件复制到文章目录并命名为 style.css
   2. 页面通过 <link rel="stylesheet" href="style.css"> 引入
   3. 如需换主题色，在 style.css 末尾覆盖 :root 中的
      --accent / --accent-2 / --accent-3 等变量即可
   4. 标准页面骨架（请参照 bianlun-siwei 的层级）：
      .progress-bar → nav.navbar → aside.sidebar(可选)
      → main → .title-card → section.card（配 .card-title 与 .divider 分隔）
      → .golden-summary → .footer → .back-to-top → .back-to-kepu
   ============================================================ */

/* ============ 1. 变量与基础 ============ */
:root {
  /* 主题色（每页可覆盖） */
  --accent: #06B6D4;        /* 主强调色 */
  --accent-2: #3B82F6;      /* 次强调色 */
  --accent-3: #8B5CF6;      /* 第三强调色 */
  --accent-gradient: linear-gradient(135deg, #06B6D4 0%, #3B82F6 50%, #8B5CF6 100%);

  /* 语义色 */
  --danger: #EF4444; --danger-dark: #DC2626; --danger-bg: rgba(239, 68, 68, 0.1);
  --success: #22C55E; --success-dark: #16A34A; --success-bg: rgba(34, 197, 94, 0.1);
  --warning: #F59E0B; --warning-dark: #D97706; --warning-bg: rgba(245, 158, 11, 0.1);
  --info: #3B82F6; --info-dark: #2563EB; --info-bg: rgba(59, 130, 246, 0.1);

  /* 中性色 */
  --text: #1E293B;
  --text-sub: #475569;
  --text-light: #64748B;
  --text-faint: #94A3B8;
  --line: #E2E8F0;
  --bg-soft: #F8FAFC;

  /* 深色块 */
  --dark-bg: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  --dark-text: #F8FAFC;

  /* 圆角 / 阴影 / 间距 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(59, 130, 246, 0.12);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  background: linear-gradient(180deg, #F0F4F8 0%, #E2E8F0 50%, #CBD5E1 100%);
  color: var(--text);
  line-height: 1.8;
  min-height: 100vh;
  font-size: 16px;
}

/* ============ 2. 顶部导航 / 进度条 / 侧边目录 ============ */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 4px;
  background: var(--accent-gradient); z-index: 10000;
  transition: width 0.1s linear; width: 0%;
}

.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
  z-index: 9999; padding: 12px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.nav-container { max-width: 1100px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 18px; font-weight: 800;
  background: var(--accent-gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text; }
.nav-menu { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--text-sub); }

.sidebar {
  position: fixed; top: 60px; left: 20px; width: 260px;
  max-height: calc(100vh - 80px); overflow-y: auto;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
  border-radius: var(--radius-lg); padding: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.1);
  z-index: 999; transition: transform 0.3s ease;
}
.sidebar.hidden { transform: translateX(-300px); }
.sidebar h3 { font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.catalog { list-style: none; }
.catalog li { margin-bottom: 6px; }
.catalog a { display: block; padding: 8px 12px; color: var(--text-sub);
  text-decoration: none; font-size: 13px; border-radius: 8px;
  transition: all 0.2s ease; line-height: 1.5; }
.catalog a:hover { background: linear-gradient(135deg, rgba(59,130,246,0.1), rgba(139,92,246,0.1)); color: var(--accent-2); }
.catalog a.active { background: var(--accent-gradient); color: white; }

/* ============ 3. 主体布局 ============ */
.main-content { max-width: 900px; margin: 0 auto; padding: 80px 20px 40px; }
@media (min-width: 1400px) { .main-content { margin-left: 300px; margin-right: auto; } }
@media (max-width: 1200px) {
  .sidebar { display: none; }
  .main-content { margin-left: auto; margin-right: auto; }
}

/* ============ 4. 标题卡片（Hero） ============ */
.title-card {
  background: var(--accent-gradient);
  border-radius: var(--radius-2xl);
  padding: 50px 40px; text-align: center; margin-bottom: 30px;
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.25);
  position: relative; overflow: hidden;
}
.title-card::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.series-badge { display: inline-block; background: rgba(255, 255, 255, 0.25);
  color: #fff; padding: 8px 20px; border-radius: 20px; font-size: 14px;
  font-weight: 700; margin-bottom: 20px; backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3); position: relative; z-index: 1; }
.title-card h1 { font-size: 26px; font-weight: 900; color: white;
  margin-bottom: 15px; text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  position: relative; z-index: 1; line-height: 1.4; }
.title-card .subtitle { font-size: 16px; color: rgba(255, 255, 255, 0.95);
  line-height: 1.8; position: relative; z-index: 1; }
.title-card .meta-info { margin-top: 20px; display: flex; justify-content: center;
  gap: 15px; flex-wrap: wrap; position: relative; z-index: 1; }
.title-card .meta-item { font-size: 13px; color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.15); padding: 6px 14px; border-radius: 20px; }

/* ============ 5. 通用卡片与标题 ============ */
.card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
  border-radius: var(--radius-xl);
  padding: 35px; margin-bottom: 25px;
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.08), 0 0 0 1px rgba(59, 130, 246, 0.05);
  border: 1px solid rgba(59, 130, 246, 0.1);
}
.card-title { display: flex; align-items: center; gap: 12px;
  font-size: 22px; font-weight: 700; margin-bottom: 25px; color: var(--text); }
.card-title .icon { font-size: 28px; }
.card-title .grad-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.card h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.card h3:first-child { margin-top: 0; }
.card h4 { font-size: 16px; font-weight: 700; margin: 20px 0 10px; }
.card p { margin-bottom: 14px; color: var(--text-sub); }
.card p:last-child { margin-bottom: 0; }
.card strong { color: var(--text); font-weight: 700; }
.card ul, .card ol { margin: 10px 0 16px 22px; color: var(--text-sub); }
.card li { margin-bottom: 6px; }
.card li:last-child { margin-bottom: 0; }
.card em { font-style: italic; }

/* ============ 6. 章节分隔线 ============ */
.divider { display: flex; align-items: center; justify-content: center;
  gap: 15px; margin: 30px 0; color: var(--accent-2); }
.divider-line { flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent); }
.divider-icon { font-size: 20px; }

/* ============ 7. 提示/高亮信息块 ============ */
.highlight-box {
  background: var(--info-bg); border-left: 4px solid var(--info);
  padding: 18px 22px; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 16px 0; color: var(--text-sub);
}
.highlight-box.blue { background: var(--info-bg); border-left-color: var(--info); }
.highlight-box.purple { background: rgba(139, 92, 246, 0.1); border-left-color: var(--accent-3); }
.highlight-box.warning { background: var(--warning-bg); border-left-color: var(--warning); }
.highlight-box.danger { background: var(--danger-bg); border-left-color: var(--danger); }
.highlight-box.success { background: var(--success-bg); border-left-color: var(--success); }
.highlight-box p { margin-bottom: 8px; }
.highlight-box p:last-child { margin-bottom: 0; }
.highlight-box ul, .highlight-box ol { margin: 6px 0 0 20px; }
.highlight-box strong { color: var(--text); }

.intro-box {
  background: linear-gradient(135deg, rgba(6,182,212,0.1) 0%, rgba(59,130,246,0.05) 100%);
  border-left: 4px solid var(--accent);
  padding: 25px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; margin: 20px 0;
}
.intro-box p { font-size: 15px; color: var(--text-sub); line-height: 1.8; }

.info-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px;
  box-shadow: var(--shadow-md); }
.info-card.blue { border-left: 4px solid var(--info); }
.info-card.purple { border-left: 4px solid var(--accent-3); }
.info-card.warning { border-left: 4px solid var(--warning); background: #FFFCF5; }
.info-card-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.info-card p { margin-bottom: 10px; }
.info-card p:last-child { margin-bottom: 0; }

.key-insight {
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(139,92,246,0.05) 100%);
  border-left: 4px solid var(--accent-2); padding: 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 15px 0;
}
.key-insight p { font-size: 14px; color: var(--text-sub); line-height: 1.8; margin: 0; }
.key-insight strong { color: var(--info-dark); }

.tips-box { background: var(--bg-soft); border-radius: var(--radius-md);
  padding: 18px; margin: 15px 0; }
.tips-box .tip-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.tip-item { display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; font-size: 14px; color: var(--text-sub); }
.tip-icon { flex-shrink: 0; font-size: 16px; }

/* 划重点段落 */
.emphasis { font-size: 15px; color: var(--text-sub); line-height: 1.8; }
.emphasis strong { color: var(--text); }

/* ============ 8. 对话/引用 ============ */
.dialogue-box { background: #F1F5F9; border-radius: var(--radius-md);
  padding: 18px; margin: 15px 0; border-left: 4px solid var(--accent); }
.dialogue-item { margin-bottom: 10px; font-size: 14px; line-height: 1.7; color: var(--text-sub); }
.dialogue-item:last-child { margin-bottom: 0; }
.dialogue-speaker { font-weight: 700; color: #6366F1; }

blockquote, .quote-box {
  background: var(--dark-bg); color: var(--dark-text);
  padding: 22px 26px; border-radius: var(--radius-md);
  margin: 20px 0; font-size: 15px; line-height: 1.8;
  border-left: 4px solid var(--accent-2);
}
blockquote p { color: rgba(248, 250, 252, 0.9) !important; }
blockquote strong { color: #93C5FD; }

/* ============ 9. 对比类组件 ============ */
/* 双栏对比卡（好/坏） */
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 18px 0; }
.cmp-card { border-radius: var(--radius-md); padding: 18px 20px; font-size: 14px; }
.cmp-card.good { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.cmp-card.bad  { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }
.cmp-card h5 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.cmp-card p { color: inherit; }

/* 左右对照（误区 vs 真相） */
.myth-row { display: flex; gap: 15px; margin: 16px 0; }
.myth-box { flex: 1; padding: 25px; border-radius: var(--radius-lg); text-align: center; }
.myth-box.wrong { background: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%); color: white; }
.myth-box.correct { background: linear-gradient(135deg, #51CF66 0%, #40C057 100%); color: white; }
.myth-box .myth-icon { font-size: 36px; margin-bottom: 10px; }
.myth-box .myth-label-sm { font-size: 13px; font-weight: 700; opacity: 0.9; margin-bottom: 12px; }
.myth-box .myth-text { font-size: 15px; line-height: 1.7; }
.myth-box .myth-text strong { color: inherit; }

/* 场景引入（坏 vs 好） */
.scenario-item { padding: 12px 14px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.scenario-item:last-child { margin-bottom: 0; }
.scenario-item.bad { background-color: #FFF0F0; border: 1px solid #FFD6D6; color: #C0392B; }
.scenario-item.good { background-color: #E8F3F1; border: 1px solid #C4E4E0; color: #2F847C; }
.scenario-item .emoji-icon { font-size: 24px; min-width: 30px; }
.scenario-item strong { display: block; margin-bottom: 2px; }

/* 场景卡（带标题栏） */
.scenario-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden; margin-bottom: 16px;
  box-shadow: var(--shadow-md); }
.scenario-header { background: var(--bg-soft); padding: 14px 20px;
  font-weight: 700; font-size: 15px; color: var(--text);
  border-bottom: 1px solid var(--line); }
.scenario-body { padding: 16px 20px; font-size: 14px; color: var(--text-sub); }

/* 原因卡（竖排） */
.reason-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px; margin-bottom: 16px; }
.reason-card { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.reason-card .r-title { font-weight: 700; color: var(--accent-3); margin-bottom: 6px; font-size: 15px; }
.reason-card p { font-size: 14px; margin-bottom: 0; }

/* 决策清单 */
.checklist { background: #fff; border: 2px solid var(--info);
  border-radius: var(--radius-md); padding: 24px; margin: 20px 0; box-shadow: var(--shadow-lg); }
.checklist-title { font-size: 18px; font-weight: 800; color: var(--info-dark);
  text-align: center; margin-bottom: 16px; }
.checklist-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist-item:last-child { border-bottom: none; padding-bottom: 0; }
.checklist-item .q { font-weight: 700; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.checklist-item .hint { color: var(--text-light); font-size: 14px; }

/* 三步/步骤卡 */
.action-item { margin-bottom: 15px; display: flex; gap: 10px; }
.action-item:last-child { margin-bottom: 0; }
.step-num { background: var(--accent-gradient); color: white; width: 26px; height: 26px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0; margin-top: 3px; }
.action-content h4 { margin: 0 0 4px; font-size: 15px; color: var(--text); }
.action-content p { margin: 0; font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* 正/负反馈循环 */
.feedback-card { border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 15px; }
.feedback-card.positive { background: var(--success-bg); border-left: 4px solid var(--success); }
.feedback-card.negative { background: var(--danger-bg); border-left: 4px solid var(--danger); }
.feedback-card h4 { margin: 0 0 10px; font-size: 15px; }
.feedback-card.positive h4 { color: var(--success-dark); }
.feedback-card.negative h4 { color: var(--danger-dark); }
.feedback-card ol { margin-left: 20px; color: var(--text-sub); font-size: 14px; }
.feedback-card li { margin-bottom: 5px; }

/* 固定型/成长型思维卡 */
.mindset-card { border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 15px; }
.mindset-card.fixed { background: #FEF2F2; border-left: 4px solid var(--danger); }
.mindset-card.growth { background: #ECFDF5; border-left: 4px solid var(--success); }
.mindset-card h5 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.mindset-card.fixed h5 { color: var(--danger-dark); }
.mindset-card.growth h5 { color: var(--success-dark); }
.mindset-card p { font-size: 14px; color: var(--text-sub); margin-bottom: 6px; }

/* 适用/不适用范围 */
.scope-card { border-radius: var(--radius-md); padding: 20px 22px; margin-bottom: 15px; }
.scope-card.can { background: var(--success-bg); border-left: 4px solid var(--success); }
.scope-card.cannot { background: var(--danger-bg); border-left: 4px solid var(--danger); }
.scope-card h3 { margin: 0 0 10px; font-size: 16px; }
.scope-card.can h3 { color: var(--success-dark); }
.scope-card.cannot h3 { color: var(--danger-dark); }
.scope-card ol { margin-left: 20px; font-size: 14px; color: var(--text-sub); }
.scope-card li { margin-bottom: 6px; }

/* 可控领域清单 */
.control-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px; margin: 16px 0; }
.control-list { background: var(--bg-soft); border-radius: var(--radius-md);
  padding: 18px 20px; border: 1px solid var(--line); }
.control-list h5 { font-size: 15px; font-weight: 700; color: var(--info-dark); margin-bottom: 10px; }
.control-list ul { margin-left: 18px; }
.control-list li { font-size: 14px; color: var(--text-sub); margin-bottom: 6px; }

/* 归因测试 */
.attribution-test { background: var(--bg-soft); border-radius: var(--radius-md);
  padding: 20px; margin: 15px 0; border: 1px solid var(--line); }
.attribution-options { list-style: none; margin: 10px 0 !important; }
.attribution-options li { padding: 10px 14px; border-radius: var(--radius-sm);
  margin-bottom: 8px; font-size: 14px; background: #fff; border-left: 4px solid var(--line); }
.attribution-options li.worst { border-left-color: var(--danger); }
.attribution-options li.bad { border-left-color: var(--warning); }
.attribution-options li.mediocre { border-left-color: var(--text-faint); }
.attribution-options li.best { border-left-color: var(--success); }
.why-best { background: var(--success-bg); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-top: 12px; }
.why-best ul { margin-left: 20px; font-size: 14px; color: var(--text-sub); }

/* 支持系统 */
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px; margin: 16px 0; }
.support-card { background: var(--bg-soft); border-radius: var(--radius-md);
  padding: 18px 20px; border-top: 4px solid var(--accent-2); }
.support-card h5 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.support-card > p { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.support-card ul { margin-left: 18px; }
.support-card li { font-size: 13px; color: var(--text-sub); margin-bottom: 4px; }

/* 策略/练习分区 */
.strategy-section { margin-bottom: 20px; padding: 20px;
  background: var(--bg-soft); border-radius: var(--radius-md); border: 1px solid var(--line); }
.strategy-section:last-child { margin-bottom: 0; }
.strategy-title { font-size: 16px; font-weight: 700; color: var(--accent-2); margin-bottom: 12px; }
.strategy-section h4 { font-size: 15px; font-weight: 700; color: var(--text); margin: 14px 0 8px; }
.strategy-section p { font-size: 14px; color: var(--text-sub); }

/* 示例对（错 vs 对） */
.example-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin: 15px 0; }
.example-wrong, .example-right { border-radius: var(--radius-md); padding: 16px 18px; font-size: 14px; }
.example-wrong { background: var(--danger-bg); border-left: 4px solid var(--danger); color: #7F1D1D; }
.example-right { background: var(--success-bg); border-left: 4px solid var(--success); color: #14532D; }
.example-wrong strong, .example-right strong { color: inherit; }

/* ============ 10. 表格 ============ */
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--radius-md); }
.table-wrap table { width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden;
  background: #fff; }
.table-wrap th { padding: 12px 14px; font-size: 13px; font-weight: 700; text-align: left;
  background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(139,92,246,0.08));
  color: var(--info-dark); }
.table-wrap td { padding: 11px 14px; font-size: 13px; color: var(--text-sub);
  border-top: 1px solid var(--line); line-height: 1.6; }
.table-wrap tr:hover td { background: #F8FAFC; }
.table-wrap th.good { background: rgba(34,197,94,0.12); color: var(--success-dark); }
.table-wrap th.bad { background: rgba(239,68,68,0.12); color: var(--danger-dark); }

/* ============ 11. 流程图 ============ */
.flow-simple { display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.flow-item { background: var(--info-bg); color: var(--info-dark);
  padding: 10px 18px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; }
.flow-arrow { color: var(--text-faint); font-size: 18px; }
.flow-diagram { display: flex; flex-direction: column; align-items: center;
  gap: 6px; margin: 16px 0; }
.cycle-step { background: var(--info-bg); color: var(--info-dark);
  padding: 12px 24px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600;
  border: 1px solid rgba(59,130,246,0.25); text-align: center; width: 100%; max-width: 420px; }
.cycle-arrow { color: var(--text-faint); font-size: 16px; }

/* ============ 12. 总结 / 金句 / CTA ============ */
.summary-points { list-style: none; margin: 16px 0 !important; }
.summary-points li { padding: 12px 0 12px 30px; position: relative;
  font-size: 15px; color: var(--text-sub); border-bottom: 1px solid #F1F5F9; }
.summary-points li:last-child { border-bottom: none; }
.summary-points li::before { content: '✦'; position: absolute; left: 4px;
  color: var(--accent-3); font-size: 14px; top: 14px; }
.summary-points li strong { color: var(--text); }

.big-quote { text-align: center; padding: 32px 24px; margin: 24px 0;
  background: var(--info-bg); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
.big-quote p { font-size: 18px; font-weight: 700; color: var(--info-dark); line-height: 1.7; margin: 0; }
.big-quote .sub { font-size: 15px; font-weight: 400; color: var(--text-sub); margin-top: 12px; }

.action-cta { background: var(--accent-gradient); border-radius: var(--radius-xl);
  padding: 32px; text-align: center; box-shadow: var(--shadow-lg); margin: 24px 0; }
.action-cta .cta-emoji { font-size: 36px; margin-bottom: 12px; }
.action-cta p { color: white; font-size: 15px; margin-bottom: 8px; }
.action-cta p:last-child { margin-bottom: 0; }
.action-cta strong { color: white; }

.golden-summary { background: var(--dark-bg); border-radius: var(--radius-xl);
  padding: 40px; text-align: center; position: relative; overflow: hidden; }
.golden-summary::before { content: '"'; position: absolute; font-size: 200px;
  opacity: 0.05; top: -50px; left: 20px; font-family: Georgia, serif; color: #93C5FD; }
.golden-summary .quote-icon { font-size: 40px; margin-bottom: 20px; position: relative; z-index: 1; }
.golden-summary .quote-text { font-size: 18px; font-weight: 700; color: #93C5FD;
  line-height: 1.8; margin-bottom: 20px; position: relative; z-index: 1; }
.golden-summary .quote-divider { width: 60px; height: 3px;
  background: var(--accent-gradient); margin: 0 auto 20px; border-radius: 2px; }
.golden-summary .quote-sub { font-size: 14px; color: rgba(248, 250, 252, 0.7);
  position: relative; z-index: 1; line-height: 1.8; }
.golden-summary .highlight-tag { margin-top: 25px; display: inline-block;
  background: rgba(59, 130, 246, 0.2); border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 12px 28px; border-radius: 30px; font-size: 15px; font-weight: 700; color: #93C5FD;
  position: relative; z-index: 1; }

/* ============ 13. 投票 / 测试 ============ */
.poll-section { margin: 20px 0; }
.poll-option { display: flex; align-items: center; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 18px; margin-bottom: 8px; cursor: pointer;
  transition: all 0.2s; box-shadow: var(--shadow-sm); }
.poll-option:hover { border-color: var(--info); box-shadow: var(--shadow-md); }
.poll-option.selected { border-color: var(--info); background: var(--info-bg); }
.poll-option .poll-letter { width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: var(--text-sub); margin-right: 14px; flex-shrink: 0; }
.poll-option.selected .poll-letter { background: var(--info); color: white; }
.poll-option .poll-text { font-size: 15px; color: var(--text-sub); }

.quiz-section { margin-top: 24px; }
.quiz-question { background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px; box-shadow: var(--shadow-md); }
.quiz-q-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.quiz-options { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { display: flex; align-items: center; padding: 12px 16px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
  transition: all 0.2s; background: #fff; }
.quiz-opt:hover { border-color: var(--accent-3); box-shadow: var(--shadow-sm); }
.quiz-opt.selected { border-color: var(--accent-3); background: rgba(139, 92, 246, 0.1); }
.quiz-opt .opt-letter { width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; color: var(--text-sub); margin-right: 12px; flex-shrink: 0; }
.quiz-opt.selected .opt-letter { background: var(--accent-3); color: white; }
.quiz-opt .opt-text { font-size: 14px; color: var(--text-sub); }
.quiz-submit-btn { display: block; width: 100%; padding: 16px;
  background: var(--accent-3); color: white; border: none; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-md);
  transition: all 0.2s; margin-top: 8px; }
.quiz-submit-btn:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.quiz-submit-btn:disabled { background: var(--line); color: var(--text-faint);
  cursor: not-allowed; box-shadow: none; transform: none; }

/* 弹窗 */
.modal-overlay { display: none; position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.5); z-index: 1000; align-items: center;
  justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-content { background: #fff; border-radius: var(--radius-xl);
  padding: 36px 32px; max-width: 520px; width: 100%; max-height: 85vh;
  overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2); position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px;
  border: none; background: var(--bg-soft); border-radius: 50%; font-size: 18px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-sub); transition: all 0.2s; }
.modal-close:hover { background: var(--line); }
.modal-emoji { font-size: 48px; text-align: center; margin-bottom: 16px; }
.modal-title { font-size: 22px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.modal-subtitle { text-align: center; color: var(--text-light); font-size: 14px; margin-bottom: 24px; }
.result-count { display: flex; justify-content: center; gap: 16px;
  margin-bottom: 24px; flex-wrap: wrap; }
.count-item { background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 20px; text-align: center; min-width: 64px; }
.count-item.active { border-color: var(--accent-3); background: rgba(139, 92, 246, 0.1); }
.count-item .count-letter { font-size: 18px; font-weight: 800; color: var(--text); }
.count-item .count-num { font-size: 24px; font-weight: 800; color: var(--accent-3); }
.count-item .count-label { font-size: 11px; color: var(--text-light); }
.result-type { background: rgba(139, 92, 246, 0.1); border-radius: var(--radius-md);
  padding: 20px 24px; margin-bottom: 20px; text-align: center; }
.result-type .type-name { font-size: 20px; font-weight: 800; color: var(--accent-3); margin-bottom: 8px; }
.result-type .type-desc { font-size: 14px; color: var(--text-sub); }
.modal-footer { text-align: center; margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--line); }
.modal-footer p { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.modal-footer strong { color: var(--accent-3); }

/* ============ 14. 页脚 / 悬浮按钮 ============ */
.footer { text-align: center; margin-top: 40px; padding-top: 25px;
  border-top: 1px solid rgba(59, 130, 246, 0.2); color: var(--text-light); font-size: 14px; }
.footer-brand { background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; font-weight: 700; margin-bottom: 8px; }

.back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
  border-radius: 50%; background: var(--accent-gradient); color: white; border: none;
  font-size: 24px; cursor: pointer; opacity: 0; visibility: hidden;
  transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); z-index: 9999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5); }

.back-to-kepu { position: fixed; top: 16px; left: 16px; z-index: 9999;
  display: flex; align-items: center; gap: 6px; padding: 10px 16px;
  background: rgba(245, 158, 11, 0.9); color: #fff !important;
  text-decoration: none !important; border-radius: 24px; font-size: 14px;
  font-weight: 600; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease; backdrop-filter: blur(8px); }
.back-to-kepu:hover { background: rgba(245, 158, 11, 1);
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }

/* ============ 15. 工具 / 技巧卡 ============ */
.tool-card { margin-bottom: 25px; border-radius: var(--radius-xl);
  overflow: hidden; border: 2px solid; background: #fff; }
.tool-card:nth-child(odd) { border-color: rgba(6, 182, 212, 0.3); }
.tool-card:nth-child(even) { border-color: rgba(59, 130, 246, 0.3); }
.tool-header { padding: 25px; display: flex; align-items: center; gap: 15px; }
.tool-card:nth-child(odd) .tool-header { background: linear-gradient(135deg, rgba(6,182,212,0.15) 0%, rgba(59,130,246,0.08) 100%); }
.tool-card:nth-child(even) .tool-header { background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(139,92,246,0.08) 100%); }
.tool-number { width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; color: white; flex-shrink: 0; }
.tool-card:nth-child(odd) .tool-number { background: linear-gradient(135deg, #06B6D4, #0891B2); }
.tool-card:nth-child(even) .tool-number { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.tool-title-info { flex: 1; }
.tool-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.tool-card:nth-child(odd) .tool-name { color: #0891B2; }
.tool-card:nth-child(even) .tool-name { color: #2563EB; }
.tool-desc { font-size: 13px; color: var(--text-light); }
.tool-body { padding: 25px; background: white; }
.tool-section { margin-bottom: 20px; }
.tool-section:last-child { margin-bottom: 0; }
.tool-section-title { font-size: 15px; font-weight: 700; margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px; }
.tool-card:nth-child(odd) .tool-section-title { color: #0891B2; }
.tool-card:nth-child(even) .tool-section-title { color: #2563EB; }
.tool-text { font-size: 14px; color: var(--text-sub); line-height: 1.8; margin-bottom: 12px; }

/* ============ 16. 时间线 ============ */
.timeline-container { position: relative; padding-left: 30px; }
.timeline-container::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0;
  width: 2px; background: var(--accent-gradient); }
.timeline-item { position: relative; padding: 18px; margin-bottom: 15px;
  background: #fff; border-radius: 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }
.timeline-item::before { content: ''; position: absolute; left: -24px; top: 22px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--accent-2);
  border: 3px solid white; box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); }
.timeline-label { display: inline-block; padding: 4px 12px; border-radius: 15px;
  font-size: 11px; font-weight: 600; color: white; margin-bottom: 10px; }
.timeline-label.attack { background: var(--danger-dark); }
.timeline-label.defense { background: var(--accent); }
.timeline-speaker { font-size: 13px; font-weight: 700; color: #6366F1; margin-bottom: 6px; }
.timeline-content { font-size: 14px; color: var(--text-sub); line-height: 1.6; }
.timeline-tool { font-size: 11px; color: var(--text-faint); margin-top: 8px;
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.timeline-tool span { padding: 3px 10px; background: rgba(59, 130, 246, 0.1);
  border-radius: 10px; color: var(--info-dark); font-weight: 600; }

/* ============ 17. 三列原则卡 ============ */
.core-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px; margin: 20px 0; }
.principle-item { padding: 20px; border-radius: 14px; text-align: center;
  border: 2px solid rgba(6, 182, 212, 0.3); background: white; }
.principle-item:nth-child(2) { border-color: rgba(59, 130, 246, 0.3); }
.principle-item:nth-child(3) { border-color: rgba(139, 92, 246, 0.3); }
.principle-item .principle-icon { font-size: 36px; margin-bottom: 12px; }
.principle-item .principle-name { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.principle-item:nth-child(1) .principle-name { color: #0891B2; }
.principle-item:nth-child(2) .principle-name { color: #2563EB; }
.principle-item:nth-child(3) .principle-name { color: #7C3AED; }
.principle-item .principle-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ============ 18. 响应式 ============ */
@media (max-width: 768px) {
  .title-card { padding: 35px 25px; }
  .title-card h1 { font-size: 20px; }
  .card { padding: 25px; }
  .cmp-grid, .example-comparison, .myth-row { grid-template-columns: 1fr; }
  .myth-row { flex-direction: column; }
  .core-principles, .control-lists, .support-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .back-to-top { width: 44px; height: 44px; bottom: 20px; right: 20px; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .main-content { padding: 70px 12px 30px; }
  .card { padding: 20px 16px; border-radius: var(--radius-lg); margin-bottom: 18px; }
  .card-title { font-size: 18px; }
  .title-card { border-radius: var(--radius-xl); }
  .title-card .meta-info { gap: 8px; }
  .back-to-kepu { padding: 8px 12px; font-size: 13px; }
}
