/* ============================================================
   嗖报价 · 教程中心公共样式
   被 /tutorial/ 下所有页面引用
   ============================================================ */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #f5f6f8; color: #333; line-height: 1.8;
  -webkit-font-smoothing: antialiased; padding: 20px 0;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- 顶部导航 ---------- */
.navbar {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: #fff; border-radius: 12px; margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0; overflow: hidden; flex-wrap: wrap;
}
.navbar a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 13px 18px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: #555; background: #fff;
  border-bottom: 3px solid transparent; transition: all 0.2s;
  flex: 1; justify-content: center; white-space: nowrap;
}
.navbar a:hover { color: #2b6cb0; background: #f0f7ff; }
.navbar a.active { color: #2b6cb0; border-bottom-color: #2b6cb0; background: #f0f7ff; font-weight: 600; }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 13px; color: #8898aa; margin-bottom: 14px; }
.breadcrumb a { color: #2b6cb0; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---------- 卡片 / 正文 ---------- */
.card {
  background: #fff; border-radius: 12px; padding: 30px 36px 36px;
  margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}
.prose { max-width: 880px; margin: 0 auto; }
.card-title { font-size: 20px; font-weight: 700; color: #1a202c; margin-bottom: 6px; }
.card-sub { font-size: 14px; color: #718096; margin-bottom: 18px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #2b6cb0; margin-bottom: 10px; }
h1 { font-size: 30px; line-height: 1.45; color: #1a202c; margin-bottom: 14px; }
.meta { font-size: 13px; color: #8898aa; padding-bottom: 18px; border-bottom: 1px solid #eef2f7; margin-bottom: 24px; }
.meta i { margin-right: 4px; }

.lead { font-size: 17px; color: #2d3748; background: #f7fafc; border-left: 4px solid #2b6cb0; padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 26px; }

h2 { font-size: 21px; color: #1a202c; margin: 34px 0 12px; padding-left: 12px; border-left: 4px solid #2b6cb0; line-height: 1.5; }
h3 { font-size: 17px; color: #2d3748; margin: 22px 0 8px; }
p { font-size: 16px; color: #3d4a58; margin-bottom: 14px; }
strong { color: #1a202c; }
em { color: #c2410c; font-style: normal; font-weight: 600; }
code { background: #f1f5f9; padding: 2px 7px; border-radius: 4px; font-family: Consolas, Monaco, monospace; font-size: 14px; color: #2b6cb0; }
a.inline { color: #2b6cb0; text-decoration: none; font-weight: 500; }
a.inline:hover { text-decoration: underline; }

/* ---------- 列表 ---------- */
ul.pain, ul.plain { list-style: none; margin: 0 0 18px; }
ul.pain li, ul.plain li { position: relative; padding-left: 26px; font-size: 16px; color: #3d4a58; margin-bottom: 9px; }
ul.pain li:before { content: "\f071"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #dd6b20; position: absolute; left: 0; top: 1px; font-size: 14px; }
ul.plain li:before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #38a169; position: absolute; left: 0; top: 1px; }

/* ---------- 步骤 ---------- */
.steps { counter-reset: s; list-style: none; margin: 8px 0 20px; }
.steps li { position: relative; padding: 14px 18px 14px 62px; background: #f7fafc; border: 1px solid #e6eef8; border-radius: 10px; margin-bottom: 12px; font-size: 15.5px; color: #3d4a58; }
.steps li:before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 16px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%; background: #2b6cb0; color: #fff;
  font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps b { display: block; color: #1a202c; font-size: 16px; margin-bottom: 2px; }

/* ---------- 图片 ---------- */
figure { margin: 26px 0; }
figure img { width: 100%; height: auto; display: block; border-radius: 10px; border: 1px solid #e2e8f0; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
figcaption { font-size: 13px; color: #8898aa; text-align: center; margin-top: 10px; }

/* ---------- 数据表 ---------- */
table.data { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
table.data th { background: #edf4fc; color: #1a202c; font-weight: 700; text-align: left; padding: 11px 14px; border: 1px solid #dbe7f4; }
table.data td { padding: 10px 14px; border: 1px solid #e6eef8; color: #3d4a58; vertical-align: top; }
table.data tr:nth-child(even) td { background: #fafcfe; }
table.data td.c { text-align: center; }
.tbl-wrap { overflow-x: auto; }

/* ---------- 提示框 ---------- */
.note-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 16px 20px; font-size: 15px; color: #92400e; margin: 20px 0; }
.note-box strong { display: block; margin-bottom: 4px; color: #92400e; }
.tip-box { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 10px; padding: 16px 20px; font-size: 15px; color: #075985; margin: 20px 0; }
.tip-box strong { display: block; margin-bottom: 4px; color: #075985; }

/* ---------- FAQ ---------- */
.faq dt { font-size: 15.5px; font-weight: 700; color: #1a202c; margin-top: 16px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { font-size: 15px; color: #4a5568; margin-top: 4px; }

/* ---------- 上下篇 ---------- */
.nav-links { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
@media (min-width: 720px) { .nav-links { grid-template-columns: 1fr 1fr; } }
.next-card {
  display: flex; align-items: center; gap: 14px; justify-content: space-between;
  background: #f7fafc; border: 1px solid #e6eef8; border-radius: 10px;
  padding: 16px 20px; flex-wrap: wrap;
}
.next-card .lbl { font-size: 12px; color: #8898aa; font-weight: 700; letter-spacing: 1px; }
.next-card .ti { font-size: 15px; color: #1a202c; font-weight: 600; }
.next-card .ti.disabled { color: #a0aec0; font-weight: 500; }
.next-card a { color: #2b6cb0; text-decoration: none; }
.next-card a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.share-card {
  background: linear-gradient(135deg, #eaf4ff, #d6e9ff);
  border-radius: 12px; padding: 26px; text-align: center; border: 1px solid #bcd9f7;
}
.share-card p { font-size: 15px; color: #1a4a8f; margin-bottom: 14px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #2b6cb0; color: #fff; text-decoration: none;
  padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: all 0.2s; box-shadow: 0 4px 12px rgba(43,108,176,0.3);
}
.btn-primary:hover { background: #1a4a8f; transform: translateY(-1px); }

/* ---------- 视频 ---------- */
.video-wrap { max-width: 900px; margin: 0 auto; }
.video-wrap video { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid #e2e8f0; box-shadow: 0 6px 22px rgba(0,0,0,0.1); background: #000; }

/* ---------- 教程中心专用 ---------- */
.hero {
  background: linear-gradient(135deg, #2b6cb0, #2c5282);
  color: #fff; padding: 40px 24px; border-radius: 16px;
  text-align: center; margin-bottom: 24px; box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.hero .badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 999px; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; color: #fff; }
.hero h1 { font-size: 30px; margin-bottom: 10px; line-height: 1.4; color: #fff; }
.hero .subtitle { font-size: 17px; opacity: 0.92; max-width: 660px; margin: 0 auto; color: #fff; }

.feature { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
@media (min-width: 820px) { .feature { grid-template-columns: 1.05fr 1fr; } }
.feature img { width: 100%; height: auto; border-radius: 10px; border: 1px solid #e2e8f0; display: block; }
.feature h2 { font-size: 24px; line-height: 1.45; color: #1a202c; margin: 0 0 12px; padding: 0; border: none; }
.feature p { font-size: 15px; color: #4a5568; margin-bottom: 10px; }
.feature ul { list-style: none; margin: 14px 0 20px; }
.feature ul li { font-size: 14px; color: #4a5568; padding-left: 26px; position: relative; margin-bottom: 6px; }
.feature ul li:before { content: "\f058"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: #38a169; position: absolute; left: 0; top: 1px; }

.lesson-list { list-style: none; }
.lesson { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px dashed #e6eef8; }
.lesson:last-child { border-bottom: none; }
.lesson .no { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: #edf2f7; color: #4a5568; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lesson.done .no { background: #2b6cb0; color: #fff; }
.lesson .body { flex: 1; min-width: 0; }
.lesson .t { font-size: 15.5px; font-weight: 600; color: #1a202c; line-height: 1.5; }
.lesson .d { font-size: 13px; color: #718096; margin-top: 2px; }
.lesson a.t { text-decoration: none; }
.lesson a.t:hover { color: #2b6cb0; text-decoration: underline; }
.tag { flex-shrink: 0; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tag.live { background: #e8f5ec; color: #1f7a42; }
.tag.soon { background: #fff7ed; color: #c2410c; }

/* ---------- 页脚 ---------- */
footer { text-align: center; font-size: 12px; color: #bbb; margin-top: 24px; padding: 16px; }
footer a { color: #bbb; text-decoration: none; font-size: 12px; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .card { padding: 22px 18px 26px; }
  h1 { font-size: 23px; }
  h2 { font-size: 19px; }
  .hero h1 { font-size: 23px; }
}
