/* ==================================================
   寰宇云 2026 网络使用图鉴 - 核心样式表 (style.css)
   视觉规范：暖白高级编辑排版 / 中文技术手册 / 网络知识图鉴
   ================================================== */

:root {
  /* 品牌核心调色板 */
  --bg-main: #F7F4ED;
  --bg-content: #FCFBF7;
  --bg-white: #FFFFFF;
  --text-primary: #1B2024;
  --text-body: #4D5350;
  --text-secondary: #81847F;
  --accent-steel: #315D75;
  --accent-cyan: #5D796F;
  --accent-orange: #A86649;
  --accent-gold: #AF8A59;
  --subtle-blue: #EDF2F4;
  --subtle-green: #EFF2EE;
  --subtle-orange: #F7EDE7;
  --border-color: #DDD8CE;
  --footer-bg: #ECE8DF;
  --footer-text: #444944;

  /* 字体与排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  --font-mono: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace;
  
  /* 阴影与过渡 */
  --shadow-sm: 0 1px 3px rgba(27, 32, 36, 0.05);
  --shadow-md: 0 4px 12px rgba(27, 32, 36, 0.06);
  --transition-fast: 0.18s ease;
  
  /* 布局尺寸 */
  --header-height: 72px;
  --max-width: 1140px;
  --article-max-width: 780px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.85;
  font-size: 1.0625rem; /* ~17px */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 链接基础 */
a {
  color: var(--accent-steel);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--accent-orange);
}

/* 标题基础 */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 3.25rem); /* 32px ~ 52px */
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.125rem); /* 25px ~ 34px */
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.5rem); /* 19px ~ 24px */
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.25rem;
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* 容器通用 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--article-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==================================================
   Header 导航栏 (68px–74px 暖白)
   ================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-content);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.brand-subtext {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.1;
  margin-top: 2px;
}

/* Desktop 导航 */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.desktop-nav a {
  font-size: 0.9375rem;
  color: var(--text-body);
  padding: 0.5rem 0.125rem;
  position: relative;
  font-weight: 500;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--accent-steel);
}

.desktop-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-steel);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5625rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-steel);
  color: #FFFFFF !important;
  border-color: var(--accent-steel);
}

.btn-primary:hover {
  background-color: #24485C;
  border-color: #24485C;
  transform: translateY(-1px);
}

.btn-primary .arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .arrow {
  transform: translateX(3px);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-primary) !important;
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--subtle-blue);
  border-color: var(--accent-steel);
  color: var(--accent-steel) !important;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.4375rem 0.75rem;
  border-radius: 4px;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

/* 移动端展开菜单 */
.mobile-nav-panel {
  display: none;
  background-color: var(--bg-content);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav-panel.open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-list a {
  display: block;
  padding: 0.625rem 0;
  font-size: 1rem;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--border-color);
}

.mobile-nav-panel .mobile-cta {
  margin-top: 1rem;
  width: 100%;
}

/* ==================================================
   Hero 图鉴封面 (Cover Edition)
   ================================================== */
.hero-cover {
  background-color: var(--bg-content);
  border-bottom: 1px solid var(--border-color);
  padding: 3.5rem 0 3rem;
  position: relative;
}

.hero-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tag-badge {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-steel);
  background-color: var(--subtle-blue);
  padding: 0.1875rem 0.625rem;
  border-radius: 3px;
  border: 1px solid rgba(49, 93, 117, 0.2);
}

.tag-badge-orange {
  color: var(--accent-orange);
  background-color: var(--subtle-orange);
  border-color: rgba(168, 102, 73, 0.25);
}

.hero-date-sub {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-main-title {
  color: var(--text-primary);
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.hero-seo-h1 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-steel);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  border-left: 3px solid var(--accent-steel);
  padding-left: 0.75rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 860px;
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

/* 本册目录 (Hero TOC) */
.hero-toc-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.hero-toc-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.625rem;
}

.hero-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 2.5rem;
  row-gap: 0.75rem;
  list-style: none;
}

.hero-toc-item {
  display: flex;
  align-items: baseline;
  font-size: 0.9375rem;
}

.hero-toc-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--accent-steel);
  font-weight: 700;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.hero-toc-name {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.hero-toc-dots {
  flex-grow: 1;
  border-bottom: 1px dotted var(--border-color);
  margin: 0 0.5rem;
  min-width: 15px;
  height: 1px;
  align-self: center;
}

.hero-toc-link {
  color: var(--accent-steel);
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.hero-toc-link:hover {
  color: var(--accent-orange);
}

/* ==================================================
   章节通用架构 (Chapter Sections)
   ================================================== */
.chapter-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
}

.chapter-section:nth-of-type(even) {
  background-color: var(--bg-content);
}

.chapter-header {
  margin-bottom: 2rem;
}

.chapter-num-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-steel);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.chapter-num-badge::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--accent-steel);
}

.chapter-title {
  color: var(--text-primary);
  font-size: clamp(1.625rem, 2.6vw, 2.25rem);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 0.25rem;
  margin-bottom: 0.75rem;
}

.chapter-intro {
  font-size: 1.0625rem;
  color: var(--text-body);
  max-width: 820px;
  line-height: 1.85;
}

/* 第一章：双栏编辑排版 */
.editorial-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.editorial-col-left p {
  font-size: 1.0625rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.editorial-callout {
  background-color: var(--subtle-green);
  border-left: 3px solid var(--accent-cyan);
  padding: 1.125rem 1.25rem;
  border-radius: 0 4px 4px 0;
  margin: 1.25rem 0;
}

.editorial-callout p {
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: #2D4037;
}

.editorial-index-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
}

.editorial-index-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.editorial-index-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.editorial-index-item {
  display: flex;
  align-items: baseline;
  font-size: 0.9375rem;
}

.index-badge {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background-color: var(--subtle-blue);
  color: var(--accent-steel);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 0.625rem;
  flex-shrink: 0;
}

/* ==================================================
   表格系统 (原生 HTML <table> 规范)
   ================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-white);
}

.editorial-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.editorial-table th {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.editorial-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  line-height: 1.65;
  vertical-align: middle;
}

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

.editorial-table tr:hover td {
  background-color: var(--subtle-blue);
}

.badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  background-color: var(--subtle-green);
  color: var(--accent-cyan);
}

/* ==================================================
   第七章：服务价目表 (Pricing Tariff Table)
   ================================================== */
.pricing-section {
  padding: 4.5rem 0;
  background-color: var(--bg-content);
  border-bottom: 1px solid var(--border-color);
}

.pricing-quick-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.quick-tip-pill {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.quick-tip-pill strong {
  color: var(--accent-steel);
}

/* Desktop 价目表 */
.tariff-table-wrapper {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-white);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.tariff-table {
  width: 100%;
  border-collapse: collapse;
}

.tariff-table th {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-weight: 700;
  padding: 1rem 1.125rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9375rem;
}

.tariff-table td {
  padding: 1.125rem 1.125rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 0.9375rem;
}

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

.plan-name-cell {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.0625rem;
}

.plan-price-cell {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-steel);
}

.plan-price-cell small {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: normal;
}

.plan-traffic-cell {
  font-weight: 600;
  color: var(--text-primary);
}

/* 主推进阶方案突出展示 */
.tariff-row-featured {
  background-color: var(--subtle-blue) !important;
  border-left: 3px solid var(--accent-steel);
}

.tariff-row-featured td {
  font-weight: 500;
}

.plan-tag-rec {
  display: inline-block;
  background-color: var(--accent-steel);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 0.375rem;
  vertical-align: middle;
}

.plan-tag-subtle {
  display: inline-block;
  background-color: var(--subtle-orange);
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 0.375rem;
}

/* Mobile 套餐卡片堆叠（移动端时显示，桌面端隐藏） */
.mobile-pricing-stack {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-plan-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem;
}

.mobile-plan-card.featured {
  border-left: 4px solid var(--accent-steel);
  background-color: var(--subtle-blue);
}

.mobile-plan-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.mobile-plan-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mobile-plan-price {
  font-family: var(--font-mono);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent-steel);
}

.mobile-plan-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.875rem;
}

.mobile-plan-meta strong {
  color: var(--text-primary);
}

/* ==================================================
   第八章：品牌深度评测展示区
   ================================================== */
.review-feature-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.review-feature-text h3 {
  font-size: 1.375rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.review-feature-text p {
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.review-meta-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  background-color: var(--bg-main);
  padding: 1.25rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.review-meta-points li {
  font-size: 0.875rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.review-meta-points li::before {
  content: "▪";
  color: var(--accent-steel);
  font-size: 1rem;
}

/* ==================================================
   第九章：图鉴文章目录 (Catalog Index)
   ================================================== */
.handbook-article-catalog {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-white);
  overflow: hidden;
}

.catalog-item {
  display: flex;
  align-items: center;
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--transition-fast);
}

.catalog-item:last-child {
  border-bottom: none;
}

.catalog-item:hover {
  background-color: var(--subtle-blue);
}

.catalog-num {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--accent-steel);
  width: 36px;
  flex-shrink: 0;
}

.catalog-cat {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background-color: var(--subtle-green);
  padding: 2px 8px;
  border-radius: 3px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.catalog-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  flex-grow: 1;
  text-decoration: none;
}

.catalog-title:hover {
  color: var(--accent-orange);
}

.catalog-dots {
  display: block;
  flex-grow: 1;
  border-bottom: 1px dotted var(--border-color);
  margin: 0 1rem;
  height: 1px;
}

.catalog-time {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-right: 1.25rem;
  flex-shrink: 0;
}

.catalog-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-steel);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.catalog-action:hover {
  color: var(--accent-orange);
}

/* ==================================================
   第十章：网络排障流程管道
   ================================================== */
.troubleshoot-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.pipeline-step {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem 1rem;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-steel);
  margin-bottom: 0.25rem;
}

.step-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==================================================
   第十一章：图鉴问答 FAQ
   ================================================== */
.faq-handbook-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-white);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: background-color var(--transition-fast);
}

.faq-trigger:hover {
  background-color: var(--subtle-blue);
  color: var(--accent-steel);
}

.faq-q-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-steel);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.faq-q-text {
  flex-grow: 1;
}

.faq-icon {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--accent-steel);
  margin-left: 0.75rem;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

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

.faq-body {
  display: none;
  padding: 0 1.25rem 1.25rem 3rem;
  color: var(--text-body);
  font-size: 0.9375rem;
  line-height: 1.75;
}

.faq-item.open .faq-body {
  display: block;
}

/* ==================================================
   文章内页排版 (Article Layout)
   ================================================== */
.article-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-content);
}

.breadcrumbs {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--accent-steel);
}

.breadcrumbs span {
  margin: 0 0.375rem;
}

.article-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-summary-lead {
  font-size: 1.125rem;
  color: var(--text-body);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.875rem;
}

.article-meta-item strong {
  color: var(--text-primary);
}

/* 文章正文容器 */
.article-content-wrapper {
  padding: 3rem 0;
}

.article-body {
  background-color: var(--bg-content);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem 2.25rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-body h2 {
  font-size: 1.625rem;
  color: var(--text-primary);
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-body ul, .article-body ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-body li {
  margin-bottom: 0.375rem;
}

/* 快速结论 GEO Box */
.geo-conclusion-box {
  background-color: var(--subtle-blue);
  border-left: 4px solid var(--accent-steel);
  padding: 1.25rem 1.5rem;
  border-radius: 0 6px 6px 0;
  margin-bottom: 2rem;
}

.geo-conclusion-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--accent-steel);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.geo-conclusion-text {
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* 本文目录 Article TOC */
.article-toc-box {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
}

.article-toc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.article-toc-list {
  list-style: none;
  margin-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-toc-list li a {
  font-size: 0.9375rem;
  color: var(--accent-steel);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-toc-list li a:hover {
  color: var(--accent-orange);
}

/* 文章商业卡片 */
.article-cta-box {
  background-color: var(--subtle-green);
  border: 1px solid rgba(93, 121, 111, 0.3);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}

.article-cta-box h4 {
  font-size: 1.25rem;
  color: #1F362D;
  margin-bottom: 0.5rem;
}

.article-cta-box p {
  font-size: 0.9375rem;
  color: #384E44;
  margin-bottom: 1.125rem;
}

/* 篇章导航与相关阅读 */
.article-nav-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.pager-card {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1rem 1.125rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pager-card:hover {
  background-color: var(--subtle-blue);
  border-color: var(--accent-steel);
}

.pager-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
}

.pager-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

/* ==================================================
   Footer 页脚 (暖灰白编辑风 #ECE8DF, 250px–320px)
   ================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  font-size: 0.9375rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.875rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--accent-steel);
}

/* Footer 最底部严格固定格式 */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

.footer-copyright {
  font-weight: 500;
}

.footer-friendly-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-friendly-links span {
  font-weight: 600;
  color: var(--text-primary);
}

.footer-friendly-links a {
  color: var(--accent-steel);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-friendly-links a:hover {
  color: var(--accent-orange);
}

/* ==================================================
   响应式设计适配 (375, 390, 430, 768, 1024, 1440)
   ================================================== */

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: inline-flex;
  }

  .editorial-two-col {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .hero-toc-grid {
    grid-template-columns: 1fr;
  }

  /* 隐藏桌面端大表格，显示手机端竖排卡片 */
  .tariff-table-wrapper {
    display: none;
  }

  .mobile-pricing-stack {
    display: flex;
  }

  .review-feature-box {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }

  .troubleshoot-pipeline {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 1.75rem 1.25rem;
  }

  .article-nav-pager {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
  }

  .footer-friendly-links {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .catalog-item {
    flex-wrap: wrap;
    padding: 1rem;
    gap: 0.375rem;
  }

  .catalog-dots {
    display: none;
  }

  .catalog-time {
    margin-right: 0;
  }
}

@media (max-width: 430px) {
  .hero-main-title {
    font-size: 1.75rem;
  }

  .chapter-title {
    font-size: 1.375rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==================================================
   无障碍与动画减弱模式
   ================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
