/* ========== AI训练体系 杂志风样式 ========== */

/* --- CSS 变量 --- */
:root {
  --forest: #2D5A27;
  --forest-dark: #1E3D1A;
  --forest-light: #4A7C43;
  --ivory: #FAF8F0;
  --gold: #C8A96E;
  --gold-light: #DFC99A;
  --text: #3C2A1E;
  --text-secondary: #6B5B4F;
  --text-muted: #9B8B7F;
  --bg: #FDFBF7;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(60, 42, 30, 0.06);
  --shadow-md: 0 4px 16px rgba(60, 42, 30, 0.08);
  --shadow-lg: 0 8px 32px rgba(60, 42, 30, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --font-serif: 'Georgia', 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: system-ui, -apple-system, 'Noto Sans SC', 'PingFang SC', sans-serif;
  --max-width: 960px;
  --nav-height: 64px;
  --transition: 0.25s ease;
}

/* --- 全局重置 --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  min-height: 100vh;
}

/* --- 排版 --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

a { color: var(--forest); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--forest-dark); }

/* --- Token 内联输入（锁定遮罩内） --- */
.lock-input-row {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.token-input-inline {
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: var(--radius-sm);
  background: var(--bg-card-solid);
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--text);
  width: 160px;
  outline: none;
}
.token-input-inline:focus { border-color: var(--forest); }
.token-btn-inline {
  padding: 0.4rem 1rem;
  background: var(--forest);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.token-btn-inline:hover { background: var(--forest-dark); }
.token-msg-inline { font-size: 0.8rem; margin-left: 0.25rem; }
.token-msg-inline.success { color: var(--forest); }
.token-msg-inline.error { color: #D9534F; }

/* 内容锁定遮罩 */
.lock-overlay {
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(253, 251, 247, 0) 0%, rgba(253, 251, 247, 0.95) 40%, var(--bg) 100%);
  border: 1px dashed rgba(200, 169, 110, 0.3);
  border-radius: var(--radius);
}
.lock-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.lock-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 0.35rem; }
.lock-desc { font-size: 0.85rem; color: var(--text-muted); }
.lock-message { margin: 2rem 0 3rem; }
.article-detail-body.locked { position: relative; }
.resource-card.locked { opacity: 0.7; }
.locked-dl { color: var(--text-muted) !important; }

/* --- 导航栏 --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0 2rem;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(253, 251, 247, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-logo {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.nav-brand span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
  background: rgba(45, 90, 39, 0.06);
}

.nav-cta {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: white !important;
  background: var(--forest);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

/* --- 主内容区 --- */
.main {
  padding-top: var(--nav-height);
}
.section {
  display: none;
  min-height: calc(100vh - var(--nav-height));
}
.section.active { display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Hero --- */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(45, 90, 39, 0.06);
  border-radius: 20px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}
.hero h1 {
  margin-bottom: 0.75rem;
  color: var(--text);
}
.hero h1 span { color: var(--forest); }
.hero .subtitle {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-style: italic;
}
.hero .tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* --- 按钮 --- */
.btn {
  display: inline-block;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--forest);
  color: white;
}
.btn-primary:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}
.btn-outline:hover {
  background: rgba(45, 90, 39, 0.04);
}

/* --- 对比表 --- */
.compare-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, transparent, rgba(200, 169, 110, 0.06), transparent);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 700px;
  margin: 2rem auto 0;
}
.compare-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-card-solid);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.compare-card.bad {
  border: 1px solid rgba(155, 139, 127, 0.25);
}
.compare-card.good {
  border: 2px solid var(--forest);
}
.compare-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.compare-card.bad h3 { color: var(--text-muted); }
.compare-card.good h3 { color: var(--forest); }
.compare-card .icon-big { font-size: 2rem; }
.compare-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

/* --- 亮点卡片 --- */
.highlights-section {
  padding: 4rem 0;
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.highlight-card {
  padding: 1.75rem 1.5rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.15);
  transition: all var(--transition);
}
.highlight-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.highlight-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.highlight-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.highlight-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}
.highlight-card .detail {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- 时间线 --- */
.timeline-section {
  padding: 4rem 0;
}
.timeline {
  position: relative;
  margin-top: 2.5rem;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--forest-light), var(--gold));
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  padding: 0 0 2rem 2rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg);
  z-index: 1;
}
.timeline-item.red::before    { border-color: #D9534F; background: #D9534F; }
.timeline-item.yellow::before { border-color: #F0AD4E; background: #F0AD4E; }
.timeline-item.green::before  { border-color: #5CB85C; background: #5CB85C; }
.timeline-item.emerald::before{ border-color: var(--forest); background: var(--forest); }
.timeline-item.amber::before  { border-color: var(--gold); }
.timeline-item.prep::before   { border-color: var(--text-muted); }

.timeline-day {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.timeline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- 课程大纲 --- */
.outline-section {
  padding: 3rem 0;
}
.lesson-card {
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg-card-solid);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.12);
  overflow: hidden;
  transition: all var(--transition);
}
.lesson-card:hover {
  box-shadow: var(--shadow-md);
}
.lesson-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
}
.lesson-header:hover { background: rgba(45, 90, 39, 0.02); }
.lesson-header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.lesson-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(45, 90, 39, 0.08);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.lesson-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}
.lesson-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.lesson-weight {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--forest);
  background: rgba(45, 90, 39, 0.06);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  flex-shrink: 0;
}
.lesson-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.lesson-card.open .lesson-arrow { transform: rotate(180deg); }

.lesson-body {
  display: none;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid rgba(200, 169, 110, 0.15);
}
.lesson-card.open .lesson-body { display: block; }
.lesson-body .overview {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 1.25rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  font-style: italic;
}
.lesson-section {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(200, 169, 110, 0.06);
}
.lesson-section:last-child { border-bottom: none; }
.lesson-section h4 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.25rem;
}
.lesson-section p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- 文章列表 --- */
.articles-section {
  padding: 3rem 0;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.article-card {
  padding: 1.25rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.1);
  cursor: pointer;
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 169, 110, 0.3);
}
.article-card .article-day {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}
.article-card h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}
.article-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 未发布文章（紫灰色） */
.article-card.draft {
  cursor: default;
  background: rgba(245, 242, 250, 0.6);
  border: 1px solid rgba(155, 145, 170, 0.2);
}
.article-card.draft:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: rgba(155, 145, 170, 0.2);
}
.article-card.draft .article-day {
  color: #8B7FA8;
}
.article-card.draft h3 {
  color: #7B6F95;
}
.article-card.draft p {
  color: #A69CB8;
}
.article-card .draft-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #8B7FA8;
  background: rgba(155, 145, 170, 0.12);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.article-card .published-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: #2D5A27;
  background: rgba(45, 90, 39, 0.08);
  padding: 0.1rem 0.5rem;
  border-radius: 3px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.article-tags {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.article-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: rgba(200, 169, 110, 0.12);
  color: var(--text-secondary);
  font-weight: 500;
}

/* 文章详情页 */
.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  color: var(--forest);
  font-weight: 500;
  padding: 0.4rem 0;
  transition: opacity var(--transition);
}
.article-back-link:hover { opacity: 0.7; }
.article-detail-header {
  padding: 1rem 0 0.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  margin-bottom: 2rem;
}
.article-detail-header h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.article-detail-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.article-detail-body {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 3rem;
  font-size: 1rem;
  line-height: 2;
}
.article-detail-body p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.article-detail-body strong {
  color: var(--text);
}
.article-detail-body .table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-detail-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.article-detail-body th,
.article-detail-body td {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(200, 169, 110, 0.2);
  text-align: left;
}
.article-detail-body th {
  background: rgba(45, 90, 39, 0.04);
  font-weight: 600;
  color: var(--text);
}

/* 指南步骤样式 */
.guide-step {
  padding: 1.5rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.1);
  margin-bottom: 1rem;
  position: relative;
  padding-top: 1.75rem;
}
.guide-step-num {
  position: absolute;
  top: -14px;
  left: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-serif);
}
.guide-step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.guide-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.guide-tip {
  background: rgba(200, 169, 110, 0.08);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.guide-checklist {
  margin-top: 2rem;
  padding: 1.75rem;
  background: rgba(45, 90, 39, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 90, 39, 0.08);
}
.guide-checklist h2 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.guide-checklist p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.guide-checklist ul {
  list-style: none;
}
.guide-checklist li {
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.guide-checklist li::before {
  content: '☐';
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* 模拟浏览器窗口 */
.mock-browser {
  background: #f0ede5;
  border: 1px solid #ddd6c8;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 1rem;
}
.mock-bar {
  background: #e4e0d8;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.mock-dot.red    { background: #d4924a; }
.mock-dot.yellow { background: #c4b998; }
.mock-dot.green  { background: #8a9a7c; }
.mock-url {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  color: var(--text);
  margin-left: 0.5rem;
}
.mock-body {
  padding: 1.5rem;
  text-align: center;
}
.mock-btn {
  display: inline-block;
  background: var(--forest);
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* 平台选择卡片 */
.platform-cards {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.platform-card {
  flex: 1;
  min-width: 110px;
  background: rgba(200, 169, 110, 0.04);
  border: 2px solid rgba(200, 169, 110, 0.15);
  border-radius: var(--radius-sm);
  padding: 1rem 0.75rem;
  text-align: center;
  transition: border-color var(--transition);
}
.platform-icon { font-size: 1.5rem; margin-bottom: 0.3rem; }
.platform-name { font-size: 0.85rem; font-weight: 600; color: var(--text); }

/* 安装面板 */
.install-panels {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.install-panel {
  flex: 1;
  min-width: 200px;
}
.install-os {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* 模拟文件管理器 */
.mock-finder {
  background: #2a2a2a;
  color: #ccc;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: "SF Mono", Menlo, monospace;
  font-size: 0.8rem;
  line-height: 1.8;
}
.mock-finder-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0;
}
.mock-app-icon {
  width: 24px;
  height: 24px;
  background: #5c4a7a;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}
.mock-arrow { color: var(--gold); font-weight: 700; margin: 0.15rem 0 0.15rem 0.5rem; }
.mock-ok { color: #8a9a7c; }

/* 文章弹窗 */
.article-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(60, 42, 30, 0.4);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.article-overlay.open { display: flex; }
.article-modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.article-modal-header {
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.15);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.article-modal-header h2 {
  font-size: 1.35rem;
  line-height: 1.4;
}
.article-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 0.25rem;
  flex-shrink: 0;
  transition: color var(--transition);
}
.article-modal-close:hover { color: var(--text); }
.article-modal-meta {
  padding: 0 2rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.article-modal-body {
  padding: 1.5rem 2rem 2.5rem;
  font-size: 0.95rem;
  line-height: 1.9;
}
.article-modal-body p {
  color: var(--text-secondary);
}
.article-modal-body .table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-modal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.article-modal-body th,
.article-modal-body td {
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(200, 169, 110, 0.2);
  text-align: left;
}
.article-modal-body th {
  background: rgba(45, 90, 39, 0.04);
  font-weight: 600;
  color: var(--text);
}

/* --- 资源下载 --- */
.resources-section {
  padding: 3rem 0;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.resource-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.1);
  transition: all var(--transition);
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.resource-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}
.resource-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.resource-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.resource-dl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- 学员指南 --- */
.guide-section {
  padding: 3rem 0;
}
.guide-block {
  margin-bottom: 3rem;
}

/* 首页「适合谁」卡片 */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.who-card {
  padding: 1.25rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
}
.who-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.who-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 课前准备卡片 */
.prep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.prep-card {
  padding: 1.25rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.12);
  transition: all var(--transition);
}
.prep-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.prep-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.prep-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.prep-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  transition: opacity var(--transition);
}
.prep-link:hover { opacity: 0.7; }

/* 训练营注意事项 */
.notes-list {
  margin-top: 1.5rem;
}
.note-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
}
.note-item:last-child { border-bottom: none; }
.note-num {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(45, 90, 39, 0.08);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-serif);
  margin-top: 2px;
}
.note-body h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.note-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- 设计理念 --- */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.principle-card {
  padding: 1.25rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.principle-card h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.principle-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- 报名区 --- */
.signup-section {
  padding: 4rem 0;
  text-align: center;
}
.signup-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.03), rgba(200, 169, 110, 0.06));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(200, 169, 110, 0.2);
}
.signup-card h2 { margin-bottom: 0.5rem; }
.signup-price {
  font-family: var(--font-serif);
  margin: 1.25rem 0;
}
.signup-price .original {
  font-size: 1rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 0.5rem;
}
.signup-price .current {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--forest);
}
.signup-price .member {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.25rem;
}
.qr-area {
  margin: 1.5rem 0;
}
.qr-img {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 169, 110, 0.2);
}
.qr-label {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.qr-divider {
  margin: 0.75rem 0;
  text-align: center;
  position: relative;
}
.qr-divider span {
  display: inline-block;
  padding: 0 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.03), rgba(200, 169, 110, 0.06));
  position: relative;
  z-index: 1;
}
.qr-divider::before {
  content: '';
  position: absolute;
  left: 15%;
  right: 15%;
  top: 50%;
  height: 1px;
  background: rgba(200, 169, 110, 0.2);
}
.qr-placeholder {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  background: var(--bg-card-solid);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 0.5rem;
}
.brand-tag {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

/* --- 讲师区域 --- */
.instructor-section {
  padding: 3rem 0;
  text-align: center;
}
.instructor-card {
  max-width: 540px;
  margin: 1.5rem auto 0;
  padding: 2rem;
  background: var(--bg-card-solid);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.12);
}
.instructor-card .name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.instructor-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.instructor-card .intro {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}
.instructor-card .philosophy {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--gold);
  font-style: italic;
}

/* --- 页脚 --- */
.footer {
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid rgba(200, 169, 110, 0.15);
}
.footer .brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 0.35rem;
}
.footer .copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}
.footer .icp {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.footer .icp a {
  color: var(--text-muted);
}
.footer .icp a:hover {
  color: var(--forest);
}

/* --- 页面标题 --- */
.page-title {
  padding: 3rem 0 1.5rem;
  text-align: center;
}
.page-title h1 {
  margin-bottom: 0.5rem;
}
.page-title p {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- 分割线 --- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
  border-radius: 1px;
}
.divider.left { margin: 0; }

/* --- 响应式 --- */
@media (max-width: 768px) {
  :root { --max-width: 100%; }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .nav { padding: 0 1rem; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(253, 251, 247, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(200, 169, 110, 0.2);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.6rem 1.5rem;
    border-radius: 0;
  }
  .nav-toggle { display: flex; }

  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero .subtitle { font-size: 1.15rem; }

  .highlights-grid,
  .who-grid,
  .prep-grid { grid-template-columns: 1fr; }
  .article-grid,
  .resource-grid { grid-template-columns: 1fr; }
  .principles-grid { grid-template-columns: 1fr; }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .compare-vs { padding-top: 0; }

  .lesson-header { flex-wrap: wrap; }
  .lesson-weight { width: 100%; text-align: center; }

  .article-modal { margin: 0.5rem; }
  .article-modal-header { padding: 1.25rem 1.25rem 0.75rem; }
  .article-modal-body { padding: 1rem 1.25rem 1.5rem; }
  .article-modal-header h2 { font-size: 1.15rem; }

  .timeline { padding-left: 1.5rem; }
  .timeline-item { padding-left: 1.5rem; }
  .timeline-item::before { left: 0; width: 10px; height: 10px; }

  .signup-card { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .hero { padding: 2.5rem 0 2rem; }
  .hero .subtitle { font-size: 1.05rem; }
  .hero-meta { gap: 0.75rem; font-size: 0.8rem; }
  .btn { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
}
