/* ==========================================================================
   base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1A1A2E;
  background-color: #F5F7FA;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #2D9CDB;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #FF6B35;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: #1A1A2E;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* 主题明暗切换，尊重系统偏好 */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #12121f;
    color: #e8e8f0;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #f0f0f8;
  }

  a {
    color: #5db8e8;
  }

  a:hover {
    color: #ff8a5c;
  }
}

/* ==========================================================================
   layout
   ========================================================================== */

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e8eaf0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #FF6B35;
  letter-spacing: 0.5px;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #1A1A2E;
  border-radius: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list li a {
  display: block;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  color: #1A1A2E;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list li a:hover {
  color: #FF6B35;
  background-color: #FFF6E9;
}

.nav-list li a.is-current {
  color: #FF6B35;
  background-color: #FFF6E9;
  font-weight: 600;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-tool-link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  color: #1A1A2E;
  border: 1px solid #e0e4eb;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.header-tool-link:hover {
  border-color: #FF6B35;
  color: #FF6B35;
  background-color: #FFF6E9;
}

.site-main {
  min-height: 60vh;
}

.inner-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.site-footer {
  background-color: #1A1A2E;
  color: #c8c8d8;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 14px;
  color: #a0a0b8;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  font-size: 14px;
  color: #a0a0b8;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: #FF6B35;
}

.footer-bottom {
  border-top: 1px solid #2a2a40;
  padding: 16px 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #8080a0;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   components
   ========================================================================== */

/* ---------- 面包屑 ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 20px;
  color: #7a7a8e;
}

.breadcrumb a {
  color: #7a7a8e;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: #FF6B35;
}

.breadcrumb-sep {
  color: #c0c0d0;
}

.breadcrumb-current {
  color: #1A1A2E;
  font-weight: 500;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 24px;
  border: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #FF6B35;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #e85a24;
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #1A1A2E;
  border: 1px solid #d0d4de;
}

.btn-secondary:hover {
  border-color: #FF6B35;
  color: #FF6B35;
  background-color: #FFF6E9;
}

.btn-light {
  background-color: #ffffff;
  color: #1A1A2E;
}

.btn-light:hover {
  background-color: #FFF6E9;
  color: #FF6B35;
}

/* ---------- 区块标题 ---------- */

.section-heading {
  margin-bottom: 32px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.section-intro {
  font-size: 15px;
  color: #6a6a80;
  max-width: 640px;
}

.section-desc {
  font-size: 15px;
  color: #6a6a80;
  max-width: 640px;
}

/* ---------- 文本链接 ---------- */

.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2D9CDB;
  transition: color 0.2s ease;
}

.text-link:hover {
  color: #FF6B35;
}

/* ---------- FAQ ---------- */

.faq-item {
  border: 1px solid #e4e6ee;
  border-radius: 8px;
  background-color: #ffffff;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.06);
}

.faq-item summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A2E;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: #FF6B35;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
}

/* ---------- 相关链接条 ---------- */

.related-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.related-links-label {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A2E;
}

.related-links-item {
  font-size: 14px;
  color: #2D9CDB;
  padding: 6px 14px;
  background-color: #ffffff;
  border: 1px solid #e0e4eb;
  border-radius: 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-links-item:hover {
  border-color: #FF6B35;
  color: #FF6B35;
}

/* ---------- 卡片通用 ---------- */

.card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2D9CDB;
  margin-top: 12px;
  transition: color 0.2s ease;
}

.card-link:hover {
  color: #FF6B35;
}

/* ==========================================================================
   pages - 首页
   ========================================================================== */

/* ---------- hero ---------- */

.hero {
  background-color: #FFF6E9;
  padding: 64px 20px 48px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  color: #1A1A2E;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 16px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(26, 26, 46, 0.1);
}

.hero-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.content-media {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 20px;
}

.content-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
}

.content-media figcaption {
  font-size: 13px;
  color: #8a8aa0;
  margin-top: 8px;
  text-align: center;
}

/* ---------- 能力摘要 ---------- */

.ability-summary {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 32px;
}

.ability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ability-card {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ability-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
  transform: translateY(-4px);
}

.ability-icon {
  width: 48px;
  height: 48px;
  background-color: #FFF6E9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}

.ability-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.ability-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
}

/* ---------- 业务分类 ---------- */

.service-category {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 24px 20px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.06);
  transform: translateY(-3px);
}

.category-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1A1A2E;
}

.category-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.6;
}

/* ---------- 交付流程 ---------- */

.delivery-flow {
  background-color: #FFF6E9;
  padding: 56px 20px;
}

.delivery-flow .section-heading {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.flow-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.flow-step {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px 20px;
  position: relative;
  border-top: 3px solid #FF6B35;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.flow-step:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
  transform: translateY(-3px);
}

.step-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #FF6B35;
  color: #ffffff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  margin-bottom: 12px;
}

.step-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-input,
.step-process,
.step-result {
  font-size: 13px;
  color: #5a5a70;
  line-height: 1.6;
  margin-bottom: 6px;
}

.step-input::before {
  content: "输入：";
  font-weight: 600;
  color: #1A1A2E;
}

.step-process::before {
  content: "过程：";
  font-weight: 600;
  color: #1A1A2E;
}

.step-result::before {
  content: "结果：";
  font-weight: 600;
  color: #1A1A2E;
}

/* ---------- 场景预览 ---------- */

.scenario-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 20px 32px;
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.scenario-card {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.scenario-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
  transform: translateY(-3px);
}

.scenario-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 6px;
}

.scenario-audience {
  font-size: 13px;
  color: #FF6B35;
  font-weight: 500;
  margin-bottom: 10px;
}

.scenario-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
}

/* ---------- FAQ 预览 ---------- */

.faq-preview {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

/* ---------- 支持带 ---------- */

.support-strip {
  background-color: #2D9CDB;
  padding: 48px 20px;
}

.support-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.support-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.support-desc {
  font-size: 15px;
  color: #e0f2fd;
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.support-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   pages - 内页通用
   ========================================================================== */

.page-header {
  margin-bottom: 32px;
}

.page-title {
  font-size: 36px;
  font-weight: 700;
  color: #1A1A2E;
  margin-bottom: 10px;
}

.page-description {
  font-size: 15px;
  color: #6a6a80;
  max-width: 720px;
  line-height: 1.7;
}

/* 内页浅色背景上的白色卡片容器 */
.inner-main .section-title {
  font-size: 22px;
  margin-bottom: 20px;
}

/* ---------- 左右侧栏布局 ---------- */

.layout-shell {
  display: grid;
  gap: 32px;
}

.sidebar-left {
  grid-template-columns: 260px 1fr;
}

.sidebar-right {
  grid-template-columns: 1fr 300px;
}

/* ==========================================================================
   pages - 功能概览
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 28px 24px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(26, 26, 46, 0.08);
  transform: translateY(-3px);
}

.card-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #FF6B35;
  display: inline-block;
}

.feature-card:nth-child(2) .icon-dot {
  background-color: #2D9CDB;
}

.feature-card:nth-child(3) .icon-dot {
  background-color: #27AE60;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 14px;
}

.feature-points li {
  font-size: 14px;
  color: #5a5a70;
  padding: 6px 0;
  position: relative;
  padding-left: 16px;
}

.feature-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #27AE60;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 13px;
}

/* ---------- 详情交替块 ---------- */

.detail-blocks {
  margin-bottom: 48px;
}

.detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 20px;
}

.detail-block-2 .detail-text {
  order: 2;
}

.detail-block-2 .detail-figure {
  order: 1;
}

.detail-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.detail-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 12px;
}

.detail-figure {
  border-radius: 8px;
  overflow: hidden;
}

.detail-figure img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.detail-figure figcaption {
  font-size: 13px;
  color: #8a8aa0;
  padding: 8px 0;
  text-align: center;
}

/* ---------- 能力边界 ---------- */

.boundary-note {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
}

.boundary-intro {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 16px;
}

.boundary-list li {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.boundary-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #2D9CDB;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 14px;
}

.boundary-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
}

/* ==========================================================================
   pages - 使用场景
   ========================================================================== */

.scenario-index {
  background-color: #FFF6E9;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.scenario-index-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.scenario-index-label {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A2E;
}

.scenario-index-item {
  font-size: 14px;
  color: #1A1A2E;
  background-color: #ffffff;
  border: 1px solid #e0e4eb;
  border-radius: 20px;
  padding: 6px 16px;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.scenario-index-item:hover {
  border-color: #FF6B35;
  color: #FF6B35;
  background-color: #ffffff;
}

.scenario-blocks {
  margin-bottom: 48px;
}

.scenario-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s ease;
}

.scenario-card:hover {
  box-shadow: 0 4px 12px rgba(26, 26, 46, 0.06);
}

.scenario-card-media {
  border-radius: 8px;
  overflow: hidden;
}

.scenario-card-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.scenario-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 6px;
}

.scenario-card .scenario-audience {
  margin-bottom: 16px;
}

.scenario-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.scenario-step {
  background-color: #F5F7FA;
  border-radius: 8px;
  padding: 16px;
}

.scenario-step h4 {
  font-size: 14px;
  font-weight: 600;
  color: #FF6B35;
  margin-bottom: 6px;
}

.scenario-step p {
  font-size: 13px;
  color: #5a5a70;
  line-height: 1.6;
}

.scenario-card-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #2D9CDB;
  transition: color 0.2s ease;
}

.scenario-card-link:hover {
  color: #FF6B35;
}

/* ---------- 场景选择说明 ---------- */

.scenario-guide {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 40px;
}

.scenario-guide-content p {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ---------- 场景页支持带 ---------- */

.support-strip {
  background-color: #27AE60;
}

.support-strip-text {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 16px;
}

.support-strip-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.support-strip-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  background-color: #ffffff;
  color: #1A1A2E;
  border-radius: 24px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.support-strip-btn:hover {
  background-color: #FFF6E9;
  color: #FF6B35;
}

/* ==========================================================================
   pages - 版本说明
   ========================================================================== */

.version-section {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 24px;
}

.section-head {
  margin-bottom: 24px;
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: 20px;
}

.version-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.version-table th,
.version-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #e8eaf0;
  vertical-align: top;
}

.version-table thead th {
  background-color: #FFF6E9;
  font-weight: 600;
  color: #1A1A2E;
  white-space: nowrap;
}

.version-table tbody th {
  font-weight: 600;
  color: #1A1A2E;
  white-space: nowrap;
  background-color: #F5F7FA;
}

.version-table tbody td {
  color: #5a5a70;
  line-height: 1.6;
}

.version-figure {
  margin-top: 20px;
}

.version-figure img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.version-figure figcaption {
  font-size: 13px;
  color: #8a8aa0;
  padding: 8px 0;
  text-align: center;
}

/* ---------- 更新脉络时间线 ---------- */

.related-section {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
}

.related-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0;
}

.related-link {
  font-size: 14px;
  color: #2D9CDB;
  background-color: #F5F7FA;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.related-link:hover {
  background-color: #FFF6E9;
  color: #FF6B35;
}

/* ---------- 时间线（versions 页面） ---------- */

.timeline-list {
  position: relative;
  padding-left: 24px;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background-color: #e0e4eb;
}

.timeline-item {
  position: relative;
  margin-bottom: 20px;
}

.timeline-marker {
  position: absolute;
  left: -24px;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: #FF6B35;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #FF6B35;
}

.timeline-title {
  font-size: 15px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 4px;
}

.timeline-content {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.6;
}

.timeline-text {
  font-size: 13px;
  color: #8a8aa0;
  margin-top: 4px;
}

/* ---------- 版本选择卡片（versions 页面） ---------- */

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.choose-card {
  background-color: #F5F7FA;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.choose-card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 8px;
}

.choose-card-text {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.6;
}

.choose-tip {
  font-size: 13px;
  color: #8a8aa0;
  text-align: center;
}

/* ==========================================================================
   pages - 操作指南
   ========================================================================== */

.page-container {
  width: 100%;
}

/* ---------- 侧栏 ---------- */

.guide-sidebar {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 24px;
  align-self: start;
  position: sticky;
  top: 84px;
}

.sidebar-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8eaf0;
}

.guide-toc li {
  margin-bottom: 4px;
}

.guide-toc li a {
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: #5a5a70;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.guide-toc li a:hover {
  background-color: #FFF6E9;
  color: #FF6B35;
}

.sidebar-note {
  margin-top: 20px;
  background-color: #FFF6E9;
  border-radius: 8px;
  padding: 16px;
}

.sidebar-note-title {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A2E;
  margin-bottom: 6px;
}

.sidebar-note p {
  font-size: 13px;
  color: #5a5a70;
  line-height: 1.6;
  margin-bottom: 8px;
}

.sidebar-link {
  font-size: 13px;
  font-weight: 600;
  color: #2D9CDB;
}

.sidebar-link:hover {
  color: #FF6B35;
}

/* ---------- 正文区 ---------- */

.guide-content {
  min-width: 0;
}

.guide-section {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 20px;
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: #FF6B35;
  color: #ffffff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  flex-shrink: 0;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
}

.step-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 16px;
}

.step-media {
  margin-bottom: 16px;
}

.step-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.step-list {
  margin-bottom: 16px;
}

.step-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-list ul li {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.step-list ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background-color: #27AE60;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 14px;
}

.step-tip {
  background-color: #FFF6E9;
  border-radius: 8px;
  padding: 14px 16px;
}

.step-tip p {
  font-size: 13px;
  color: #5a5a70;
  line-height: 1.6;
}

.guide-more {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 20px 32px;
  font-size: 14px;
  color: #5a5a70;
}

.guide-more a {
  color: #2D9CDB;
  margin-right: 16px;
}

.guide-more a:hover {
  color: #FF6B35;
}

/* ==========================================================================
   pages - 技术支持
   ========================================================================== */

.main-faq {
  min-width: 0;
}

.sidebar-help {
  align-self: start;
  position: sticky;
  top: 84px;
}

.help-card {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 24px;
}

.help-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.help-card-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.help-card-desc {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.6;
  margin-bottom: 16px;
}

.help-links li {
  margin-bottom: 8px;
}

.help-links li a {
  display: block;
  font-size: 14px;
  color: #2D9CDB;
  padding: 8px 12px;
  background-color: #F5F7FA;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.help-links li a:hover {
  background-color: #FFF6E9;
  color: #FF6B35;
}

.support-note {
  background-color: #ffffff;
  border: 1px solid #e8eaf0;
  border-radius: 8px;
  padding: 32px;
  margin-top: 24px;
}

.support-note p {
  font-size: 14px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 12px;
}

/* ==========================================================================
   pages - 404
   ========================================================================== */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 48px 20px;
}

.error-content {
  text-align: center;
  max-width: 480px;
}

.error-code {
  font-size: 72px;
  font-weight: 700;
  color: #FF6B35;
  line-height: 1;
  margin-bottom: 16px;
}

.error-content h1 {
  font-size: 28px;
  margin-bottom: 12px;
}

.error-desc {
  font-size: 15px;
  color: #5a5a70;
  line-height: 1.7;
  margin-bottom: 24px;
}

.error-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #FF6B35;
  color: #ffffff;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.error-btn:hover {
  background-color: #e85a24;
  color: #ffffff;
}

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 992px) {
  /* ---------- 页头 ---------- */

  .header-inner {
    flex-wrap: wrap;
    min-height: 56px;
    padding: 8px 16px;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .site-nav {
    order: 4;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
    gap: 0;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    padding: 14px 12px;
    border-radius: 6px;
  }

  .header-tools {
    order: 2;
    margin-left: auto;
  }

  .header-tool-link {
    padding: 6px 12px;
    font-size: 13px;
  }

  /* ---------- 页脚 ---------- */

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 40px 16px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* ---------- 首页 ---------- */

  .hero {
    padding: 40px 16px 32px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-media img {
    height: 240px;
  }

  .ability-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .scenario-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ability-summary,
  .service-category,
  .delivery-flow,
  .scenario-preview,
  .faq-preview {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* ---------- 内页 ---------- */

  .inner-main {
    padding: 20px 16px 40px;
  }

  .page-title {
    font-size: 28px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-block {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 20px;
  }

  .detail-block-2 .detail-text {
    order: 1;
  }

  .detail-block-2 .detail-figure {
    order: 2;
  }

  .boundary-note {
    padding: 24px 20px;
  }

  .scenario-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .scenario-card-media img {
    height: 180px;
  }

  .scenario-flow {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .version-section {
    padding: 24px 20px;
  }

  .choose-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .layout-shell.sidebar-left,
  .layout-shell.sidebar-right {
    grid-template-columns: 1fr;
  }

  .guide-sidebar,
  .sidebar-help {
    position: static;
  }

  .guide-section {
    padding: 24px 20px;
  }

  .step-media img {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .header-tool-link {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .support-actions {
    flex-direction: column;
  }

  .support-actions .btn {
    width: 100%;
  }

  .version-table th,
  .version-table td {
    padding: 10px 8px;
    font-size: 13px;
  }

  .table-scroll {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .timeline-list {
    padding-left: 20px;
  }

  .timeline-marker {
    left: -20px;
  }

  .support-strip-actions {
    flex-direction: column;
  }

  .support-strip-btn {
    width: 100%;
    text-align: center;
  }
}

/* 暗色主题下各卡片、区块的适配 */
@media (prefers-color-scheme: dark) {
  .site-header {
    background-color: #1a1a2e;
    border-bottom-color: #2a2a40;
  }

  .nav-toggle-bar {
    background-color: #f0f0f8;
  }

  .nav-list li a {
    color: #e8e8f0;
  }

  .nav-list li a:hover {
    background-color: #2a2a40;
    color: #ff8a5c;
  }

  .nav-list li a.is-current {
    background-color: #2a2a40;
    color: #ff8a5c;
  }

  .header-tool-link {
    color: #e8e8f0;
    border-color: #3a3a50;
  }

  .header-tool-link:hover {
    border-color: #ff8a5c;
    color: #ff8a5c;
    background-color: #2a2a40;
  }

  .hero {
    background-color: #1e1e30;
  }

  .hero-title {
    color: #f0f0f8;
  }

  .hero-desc {
    color: #b0b0c8;
  }

  .btn-secondary {
    background-color: #2a2a40;
    color: #f0f0f8;
    border-color: #3a3a50;
  }

  .ability-card,
  .category-card,
  .flow-step,
  .scenario-card,
  .faq-item,
  .feature-card,
  .detail-block,
  .boundary-note,
  .scenario-guide,
  .version-section,
  .related-section,
  .guide-sidebar,
  .guide-section,
  .guide-more,
  .help-card,
  .support-note {
    background-color: #1e1e30;
    border-color: #2a2a40;
  }

  .ability-desc,
  .category-desc,
  .step-input,
  .step-process,
  .step-result,
  .scenario-desc,
  .card-desc,
  .feature-points li,
  .detail-desc,
  .boundary-intro,
  .boundary-list li,
  .scenario-step p,
  .scenario-guide-content p,
  .version-table td,
  .guide-toc li a,
  .sidebar-note p,
  .step-desc,
  .step-list ul li,
  .step-tip p,
  .help-card-desc,
  .support-note p,
  .error-desc {
    color: #b0b0c8;
  }

  .ability-icon {
    background-color: #2a2a40;
  }

  .scenario-step {
    background-color: #2a2a40;
  }

  .version-table thead th {
    background-color: #2a2a40;
  }

  .version-table tbody th {
    background-color: #252538;
  }

  .version-table th,
  .version-table td {
    border-bottom-color: #2a2a40;
  }

  .sidebar-note {
    background-color: #2a2a40;
  }

  .step-tip {
    background-color: #2a2a40;
  }

  .help-links li a {
    background-color: #2a2a40;
    color: #5db8e8;
  }

  .help-links li a:hover {
    background-color: #3a3a50;
    color: #ff8a5c;
  }

  .scenario-index {
    background-color: #2a2a40;
  }

  .scenario-index-label {
    color: #f0f0f8;
  }

  .scenario-index-item {
    background-color: #1e1e30;
    border-color: #3a3a50;
    color: #e8e8f0;
  }

  .scenario-index-item:hover {
    border-color: #ff8a5c;
    color: #ff8a5c;
  }

  .scenario-card .scenario-audience {
    color: #ff8a5c;
  }

  .faq-item summary {
    color: #f0f0f8;
  }

  .faq-answer {
    color: #b0b0c8;
  }

  .section-title,
  .ability-title,
  .category-title,
  .step-title,
  .scenario-title,
  .card-title,
  .detail-title,
  .scenario-card-title,
  .scenario-step h4,
  .timeline-title,
  .sidebar-title,
  .step-subtitle,
  .help-card-title,
  .support-note .section-title,
  .error-content h1 {
    color: #f0f0f8;
  }

  .section-intro,
  .section-desc,
  .page-description,
  .breadcrumb-current,
  .breadcrumb a,
  .version-table td,
  .timeline-content,
  .timeline-text,
  .choose-card-text,
  .choose-tip {
    color: #b0b0c8;
  }

  .breadcrumb a:hover {
    color: #ff8a5c;
  }

  .related-link {
    background-color: #2a2a40;
    color: #5db8e8;
  }

  .related-link:hover {
    background-color: #3a3a50;
    color: #ff8a5c;
  }

  .text-link,
  .card-link,
  .scenario-card-link,
  .sidebar-link,
  .guide-more a,
  .related-links-item {
    color: #5db8e8;
  }

  .text-link:hover,
  .card-link:hover,
  .scenario-card-link:hover,
  .sidebar-link:hover,
  .guide-more a:hover,
  .related-links-item:hover {
    color: #ff8a5c;
  }

  .support-strip {
    background-color: #1e4d6b;
  }

  .support-strip-text {
    color: #e0f2fd;
  }

  .support-strip-btn {
    background-color: #f0f0f8;
    color: #1a1a2e;
  }

  .support-strip-btn:hover {
    background-color: #ff8a5c;
    color: #ffffff;
  }
}
