/* 小树成长计划 · 长期培养蓝图(PC端优先) */

/* ---- 变量与基础(与 css/style.css 同一套视觉语言) ---- */

:root {
  --bg: #FBF6EF;
  --card: #FFFFFF;
  --ink: #3D3A36;
  --muted: #8A857D;
  --line: #EFE8DD;
  --primary: #E8825A;
  --primary-soft: #FCEDE4;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

/* ---- 顶部 ---- */

.lt-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.lt-title { font-size: 24px; font-weight: 800; letter-spacing: .5px; }

.lt-sub { font-size: 13px; color: var(--muted); margin-top: 5px; }

.lt-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  transition: border-color .2s, box-shadow .2s;
}

.lt-link:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(232, 130, 90, .15); }

/* ---- 主体 ---- */

.lt-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

/* 统一各 section 的纵向节奏 */
.lt-main > section + section { margin-top: 44px; }

.lt-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 2px 10px rgba(80, 60, 40, .05);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* hover 微抬升(主视觉大图卡除外,避免干扰图表悬停) */
.lt-card:not(.lt-hero):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(80, 60, 40, .09);
}

.lt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.lt-card-head h2 { font-size: 18px; font-weight: 700; }

.lt-head-side { font-size: 12px; color: var(--muted); flex-shrink: 0; }

/* 章节标题:小色条装饰 */
.lt-sec-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
}

.lt-sec-title::before {
  content: '';
  width: 5px;
  height: 18px;
  border-radius: 3px;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---- 主视觉图 ---- */

#chart-lt { width: 100%; height: 560px; }

.lt-fallback {
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
  padding: 30px 20px;
}

/* 图下方 HTML 图例 */

.lt-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.lt-lg-item { display: inline-flex; align-items: center; gap: 7px; }

.lt-lg-swatch {
  width: 16px;
  height: 12px;
  border-radius: 4px;
  border: 1.5px solid;
  display: inline-block;
}

.lt-lg-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

/* ---- 年龄段投资节奏 ---- */

.lt-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.lt-stage-head {
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lt-stage-list { list-style: none; }

.lt-stage-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  padding: 4px 0;
}

.lt-fdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

/* ---- 能力分组说明 ---- */

.lt-grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.lt-group-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.lt-group-head i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gc, var(--muted));
  flex-shrink: 0;
}

.lt-ab { padding: 11px 0; }

.lt-ab + .lt-ab { border-top: 1px dashed var(--line); }

.lt-ab-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lt-ab-name { font-size: 15px; font-weight: 700; }

.lt-ab-win { font-size: 12px; color: var(--muted); }

.lt-focus-badge {
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
  padding: 2px 8px;
}

.lt-ab-desc { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.7; }

/* ---- 培养原则 ---- */

.lt-intro { font-size: 14px; color: var(--muted); margin-bottom: 14px; }

.lt-filters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.lt-filter {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FDFBF7;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  line-height: 1.55;
}

.lt-filter b { font-size: 14px; }

.lt-fnum {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.lt-fdesc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.lt-sub-h { font-size: 14px; font-weight: 700; margin: 4px 0 8px; }

.lt-avoids { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }

.lt-avoid {
  background: #FBEAEA;
  color: #B0524D;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
}

.lt-iron {
  background: var(--primary-soft);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
  margin-top: 14px;
}

/* ---- 给长辈的一页说明(persuasion) ---- */
/* 给长辈看:字号略大(15.5—16px)、行距宽松、语气庄重 */

.lt-persuade {
  background: var(--card);
  border: 1px solid #F0DCC8;
  border-top: 4px solid var(--primary);
  border-radius: 18px;
  padding: 30px 34px 30px;
  box-shadow: 0 4px 18px rgba(192, 122, 60, .08);
  font-size: 15.5px;
  line-height: 1.85;
}

.lt-persuade-head { text-align: center; margin-bottom: 14px; }

.lt-persuade-head h2 { font-size: 23px; font-weight: 800; letter-spacing: .5px; }

.lt-persuade-sub { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* 导语:浅橙底强调条 */
.lt-persuade-intro {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 22px;
}

/* 四个弊端卡:2×2,浅红暖色警示 */
.lt-harms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.lt-harm {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FDF1EC;
  border: 1px solid #F5DED3;
  border-radius: 14px;
  padding: 17px 19px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.lt-harm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(164, 78, 55, .1);
}

.lt-harm-icon { font-size: 30px; line-height: 1.25; flex-shrink: 0; }

.lt-harm-title { font-size: 16px; font-weight: 700; color: #A44E37; margin-bottom: 4px; }

.lt-harm-desc { font-size: 15px; color: #6B655D; line-height: 1.85; }

/* 对照表:机械训练班 vs 我们的做法 */
.lt-cmp { margin-bottom: 26px; }

.lt-cmp-row {
  display: grid;
  grid-template-columns: 132px 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 10px;
}

.lt-cmp-row.lt-cmp-headrow { margin-top: 0; }

.lt-cmp-dim {
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
}

.lt-cmp-colh {
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  padding: 9px 12px;
  border-radius: 10px;
}

.lt-cmp-cell {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-radius: 10px;
  padding: 11px 15px;
  font-size: 15px;
  line-height: 1.8;
}

.lt-cmp-cell i { font-style: normal; font-weight: 800; flex-shrink: 0; }

.lt-cmp-drill { background: #FBEDE9; color: #8C4A3B; }

.lt-cmp-ours { background: #EAF6EF; color: #2F6E50; }

.lt-cmp-drill-h { background: #F7E3DD; color: #A44E37; }

.lt-cmp-ours-h { background: #DFF0E6; color: #2E7D57; }

/* 窄屏图例(默认隐藏,堆叠布局时替代表头) */
.lt-cmp-legend { display: none; flex-wrap: wrap; gap: 8px; }

.lt-cmp-legend span {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* 请长辈放心:浅绿安心感横幅卡 */
.lt-reassure {
  background: #EDF7F0;
  border: 1px solid #D7EBDD;
  border-radius: 14px;
  padding: 20px 24px;
}

.lt-re-title { font-size: 17px; font-weight: 800; color: #2E7D57; margin-bottom: 10px; }

.lt-re-list { list-style: none; }

.lt-re-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 7px 0;
  font-size: 15.5px;
  line-height: 1.85;
}

.lt-re-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #3AA675;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---- 长期保持的运动建议(sports) ---- */
/* 与说服板块同一套版式语言,绿色系(身心底盘) */

.lt-sports {
  background: var(--card);
  border: 1px solid #D9EBDF;
  border-top: 4px solid #3AA675;
  border-radius: 18px;
  padding: 30px 34px;
  box-shadow: 0 4px 18px rgba(58, 166, 117, .08);
  font-size: 15.5px;
  line-height: 1.85;
}

.lt-sports-head { text-align: center; }

.lt-sports-head h2 { font-size: 23px; font-weight: 800; letter-spacing: .5px; }

.lt-sports-intro {
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  margin: 6px 0 20px;
}

/* 四项运动横向卡片:桌面 4 列 */
.lt-sports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.lt-sport {
  background: #FDFBF7;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 16px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}

.lt-sport:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(58, 166, 117, .12);
}

.lt-sport-icon { font-size: 34px; line-height: 1.3; }

.lt-sport-name { font-size: 16px; font-weight: 700; margin-top: 6px; }

.lt-sport-freq {
  display: inline-block;
  background: #DFF0E6;
  color: #2E7D57;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 11px;
  margin-top: 7px;
}

.lt-sport-why {
  font-size: 14px;
  color: #6B655D;
  line-height: 1.8;
  margin-top: 9px;
  text-align: left;
}

/* note:浅绿横幅收尾 */
.lt-sports-note {
  background: #EDF7F0;
  border: 1px solid #D7EBDD;
  border-radius: 14px;
  padding: 15px 20px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.85;
}

/* ---- 页脚 ---- */

.lt-footer {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 26px 24px 44px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.lt-footer-brand { font-size: 15px; font-weight: 700; }

.lt-footer-meta { font-size: 13px; color: var(--muted); margin-top: 6px; }

.lt-footer-meta a { color: var(--primary); font-weight: 600; text-decoration: none; }

.lt-footer-meta a:hover { text-decoration: underline; }

.lt-footer-note { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ---- 900px 以下降级 ---- */

@media (max-width: 900px) {
  .lt-header { padding-top: 24px; }

  .lt-title { font-size: 20px; }

  .lt-card { padding: 16px; }

  #chart-lt { height: 460px; }

  .lt-grid4 { grid-template-columns: repeat(2, 1fr); }

  .lt-grid3, .lt-filters { grid-template-columns: 1fr; }

  .lt-main > section + section { margin-top: 32px; }

  /* 说服板块降级:弊端卡降一列,对照表左右堆叠 */
  .lt-persuade { padding: 22px 18px; }

  .lt-harms { grid-template-columns: 1fr; }

  .lt-cmp-row { grid-template-columns: 1fr; gap: 8px; }

  .lt-cmp-row.lt-cmp-headrow { display: none; }

  .lt-cmp-legend { display: flex; }

  .lt-cmp-dim { padding-top: 6px; }

  /* 运动建议降级:4 列 → 2 列 */
  .lt-sports { padding: 22px 18px; }

  .lt-sports-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .lt-grid4 { grid-template-columns: 1fr; }
}
