/* SEO 静态内容区 — 与 App.vue 整体风格一致 */
.page-seo-content {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.75;
  font-size: 15px;
  background: #f8f9fa;
  text-align: left;
}

.page-seo-content:not([data-relocated='1']) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-seo-content[data-relocated='1'] {
  width: 100%;
  margin: 0;
  padding: 56px 20px 48px;
  box-sizing: border-box;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.page-seo-content[data-relocated='1'] > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 主标题 */
.page-seo-content h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 1.35;
  margin: 0 0 16px;
  color: #2c3e50;
  text-align: center;
}

/* 首段简介 */
.page-seo-content > p:first-of-type {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  max-width: 820px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* 区块标题 — 对齐 .section-title */
.page-seo-content h2 {
  font-size: 1.75rem;
  font-weight: bold;
  margin: 0 0 24px;
  color: #2c3e50;
  text-align: center;
  position: relative;
  padding-bottom: 4px;
}

.page-seo-content h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 每个 h2 区块间距 */
.page-seo-content h2:not(:first-of-type) {
  margin-top: 48px;
}

.page-seo-content p {
  margin: 0 0 12px;
  color: #555;
}

/* 列表卡片 */
.page-seo-content ul,
.page-seo-content ol {
  margin: 0 auto 8px;
  padding: 28px 28px 28px 48px;
  color: #555;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  list-style-position: outside;
}

.page-seo-content li {
  margin-bottom: 10px;
  line-height: 1.7;
  padding-left: 4px;
}

.page-seo-content li:last-child {
  margin-bottom: 0;
}

.page-seo-content strong {
  color: #2c3e50;
  font-weight: 600;
}

/* 格式链接 — 对齐 .format-features 标签 */
.page-seo-content li a {
  display: inline-block;
  background: #eef0ff;
  color: #667eea;
  padding: 2px 12px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  margin: 2px 3px;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-seo-content li a:hover {
  background: #667eea;
  color: #fff;
}

/* 有序列表步骤 */
.page-seo-content ol {
  counter-reset: seo-step;
  list-style: none;
  padding: 24px 28px;
}

.page-seo-content ol li {
  counter-increment: seo-step;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-left: 0;
}

.page-seo-content ol li:last-child {
  margin-bottom: 0;
}

.page-seo-content ol li::before {
  content: counter(seo-step);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
}

/* FAQ — 对齐 .faq-item 卡片 */
.page-seo-content h2 + p,
.page-seo-content h2 ~ p:not(.page-seo-nav p) {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.75;
  max-width: 1200px;
}

.page-seo-content h2 ~ p:not(.page-seo-nav p) strong {
  display: block;
  color: #2c3e50;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* 内链导航 */
.page-seo-nav {
  margin-top: 48px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  border-top: none;
}

.page-seo-nav > p {
  margin: 0 0 16px !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 1.1rem;
  color: #2c3e50;
}

.page-seo-nav a {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  padding: 6px 14px;
  margin: 4px 3px;
  background: #f0f3ff;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.page-seo-nav a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .page-seo-content[data-relocated='1'] {
    padding: 40px 16px 32px;
  }

  .page-seo-content h1 {
    font-size: 1.5rem;
  }

  .page-seo-content h2 {
    font-size: 1.35rem;
  }

  .page-seo-content ul,
  .page-seo-content ol {
    padding: 20px 20px 20px 36px;
  }

  .page-seo-content ol {
    padding: 20px 16px;
  }

  .page-seo-nav a {
    padding: 5px 10px;
    font-size: 0.82rem;
  }
}
