/* ==========================================================================
   通义千问 · 页中页（套页风）全局样式规范
   STYLE: NESTED PAGES (套页)
   SCENE: 千问官网
   CONCEPT: 大页套中页再套小页，共三层，每层清楚，不无限递归。
            每层一个词，线框明确。外层宋体，内层黑体。
            外层「通义千问」，中层「千问网页版」，内层「qwen」。
   ========================================================================== */

:root {
  --page-bg: #f8fafc;
  --page-sheet: #ffffff;
  --page-ink: #0f172a;
  --page-muted: #475569;
  --page-line: #1e293b;
  --page-line-light: #e2e8f0;
  --page-line-subtle: #cbd5e1;
  --page-accent: #1e40af;
  --page-tag-bg: #f1f5f9;
  
  --font-serif: "Songti SC", "SimSun", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --font-sans: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--page-bg);
  color: var(--page-ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--page-bg);
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* 页面通用版心约束 */
.layout-container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   1. 顶栏：标志、七个锚点、登录、开始使用
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--page-line);
  box-shadow: 0 2px 0 rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* 标志 */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--page-ink);
  flex-shrink: 0;
}

.brand-logo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid var(--page-line);
  background: var(--page-sheet);
  box-shadow: 2px 2px 0 var(--page-line);
}

.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--page-ink);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--page-muted);
  font-weight: 700;
}

/* 七个锚点 */
.nav-anchors {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 16px;
}

.nav-link {
  text-decoration: none;
  color: var(--page-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 10px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.04em;
}

.nav-link:hover, .nav-link.active {
  border-color: var(--page-line);
  background: var(--page-sheet);
  box-shadow: 2px 2px 0 var(--page-line);
}

/* 顶栏操作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header-login {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--page-ink);
  padding: 8px 18px;
  border: 2px solid var(--page-line);
  background: transparent;
  transition: all 0.2s ease;
}

.btn-header-login:hover {
  background: var(--page-tag-bg);
}

.btn-header-primary {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  padding: 8px 20px;
  border: 2px solid var(--page-line);
  background: var(--page-ink);
  box-shadow: 3px 3px 0 var(--page-line-subtle);
  transition: all 0.2s ease;
}

.btn-header-primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--page-line);
}

/* ==========================================================================
   2. 首屏：状态标签、标题、一句说明、一条提问框 +【套页核心视觉舞台】
   ========================================================================== */
.hero-section {
  padding: 48px 0 36px;
  background: var(--page-sheet);
  border-bottom: 2px solid var(--page-line);
}

.hero-status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--page-ink);
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 2px 2px 0 var(--page-line);
  letter-spacing: 0.05em;
}

.hero-status-badge::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

.hero-spec-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--page-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px dashed var(--page-line-subtle);
  padding: 4px 8px;
}

.hero-title-box {
  margin-bottom: 18px;
}

.hero-h1 {
  font-size: 32px;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--page-ink);
  border-left: 6px solid var(--page-ink);
  padding-left: 16px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: var(--page-muted);
  max-width: 980px;
  margin-bottom: 28px;
}

/* 一条提问框 */
.hero-ask-form {
  display: flex;
  max-width: 900px;
  border: 2px solid var(--page-line);
  background: #ffffff;
  box-shadow: 5px 5px 0 var(--page-line);
  transition: box-shadow 0.2s ease;
  margin-bottom: 40px;
}

.hero-ask-form:focus-within {
  box-shadow: 6px 6px 0 var(--page-accent);
}

.hero-ask-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 16px;
  color: var(--page-ink);
  background: transparent;
  font-family: inherit;
}

.hero-ask-btn {
  border: none;
  border-left: 2px solid var(--page-line);
  background: var(--page-ink);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 0 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
  transition: background 0.2s;
}

.hero-ask-btn:hover {
  background: var(--page-accent);
}

/* --------------------------------------------------------------------------
   【套页核心视觉舞台 (NESTED PAGES STAGE)】
   布局：大页套中页再套小页，共三层，每层清楚，不无限递归。
   风格：每层一个词，线框明确。
   字体：外层宋体，内层黑体。
   词汇：外层「通义千问」，中层「千问网页版」，内层「qwen」。
   -------------------------------------------------------------------------- */
.nested-stage-wrapper {
  margin-top: 36px;
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 6px 6px 0 var(--page-line);
  padding: 24px;
}

.nested-stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--page-line);
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.nested-stage-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--page-ink);
  text-transform: uppercase;
}

.nested-stage-dots {
  display: flex;
  gap: 6px;
}

.nested-stage-dot {
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--page-line);
  background: #ffffff;
}

/* 外层：大页（通义千问 · 宋体 · 明确大页线框） */
.layer-outer-page {
  position: relative;
  background: #ffffff;
  border: 3px solid var(--page-line);
  box-shadow: 6px 6px 0 rgba(15, 23, 42, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.page-tab-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--page-line);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

.page-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--page-ink);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.05em;
}

.page-tab-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--page-muted);
}

.layer-outer-word-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}

.layer-outer-word {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--page-ink);
  border-bottom: 3px solid var(--page-line);
  padding-bottom: 4px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.05);
}

.layer-outer-badge {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--font-serif);
  color: var(--page-muted);
  letter-spacing: 0.1em;
}

/* 中层：中页（千问网页版 · 黑体 · 明确中页线框） */
.layer-middle-page {
  position: relative;
  background: #f8fafc;
  border: 2px solid var(--page-line);
  box-shadow: 4px 4px 0 rgba(15, 23, 42, 0.08);
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.middle-page-tab-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--page-line);
  padding-bottom: 8px;
  margin-bottom: 20px;
  background: #ffffff;
  padding: 8px 12px;
  border-left: 4px solid var(--page-line);
}

.middle-tab-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--page-ink);
}

.layer-middle-word-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}

.layer-middle-word {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--page-ink);
  background: #ffffff;
  border: 2px solid var(--page-line);
  padding: 4px 16px;
  box-shadow: 2px 2px 0 var(--page-line);
}

.layer-middle-badge {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  color: var(--page-muted);
  letter-spacing: 0.06em;
}

/* 内层：小页（qwen · 黑体/无衬线/等宽 · 明确内层线框） */
.layer-inner-page {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 3px 3px 0 rgba(15, 23, 42, 0.1);
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.inner-page-tab-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1.5px solid var(--page-line);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.inner-page-kernel-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: var(--page-ink);
  padding: 2px 8px;
  letter-spacing: 0.08em;
}

.layer-inner-word-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.layer-inner-word {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: #ffffff;
  background: var(--page-ink);
  padding: 4px 20px;
  border: 2px solid var(--page-line);
  box-shadow: 3px 3px 0 rgba(15, 23, 42, 0.15);
}

.layer-inner-status {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--page-ink);
  border: 1px solid var(--page-line);
  padding: 4px 10px;
  background: #ffffff;
}

/* ==========================================================================
   板块统一框架结构 (SECTION-WRAPPER)
   ========================================================================== */
.section-wrapper {
  padding: 48px 0;
  border-bottom: 2px solid var(--page-line);
}

.section-head {
  margin-bottom: 28px;
}

.section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--page-muted);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--page-line);
}

.section-h2 {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--page-ink);
}

.section-h2-sub {
  font-size: 14px;
  color: var(--page-muted);
  margin-top: 6px;
}

/* ==========================================================================
   3. 信任：客户名和四个数字
   ========================================================================== */
.trust-section {
  padding: 36px 0;
  border-bottom: 2px solid var(--page-line);
  background: #ffffff;
}

.trust-clients-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--page-muted);
  margin-bottom: 14px;
}

.trust-clients-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.trust-client-chip {
  padding: 8px 16px;
  background: #ffffff;
  border: 2px solid var(--page-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--page-ink);
  box-shadow: 2px 2px 0 var(--page-line);
  transition: transform 0.15s ease;
}

.trust-client-chip:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--page-line);
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-stat-card {
  background: #ffffff;
  border: 2px solid var(--page-line);
  padding: 20px;
  box-shadow: 4px 4px 0 var(--page-line);
  position: relative;
}

.trust-stat-card::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed var(--page-line-subtle);
  pointer-events: none;
}

.trust-stat-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 900;
  color: var(--page-ink);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.trust-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--page-muted);
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   4. 能力：4 列 × 2 行，只有图标、标题和两行字
   ========================================================================== */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cap-card {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 3px 3px 0 var(--page-line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}

.cap-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--page-line);
}

.cap-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--page-line);
  background: var(--page-tag-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  color: var(--page-ink);
  margin-bottom: 14px;
  box-shadow: 2px 2px 0 var(--page-line);
}

.cap-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--page-ink);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--page-line-light);
}

.cap-line1 {
  font-size: 13px;
  color: var(--page-ink);
  line-height: 1.5;
  margin-bottom: 2px;
}

.cap-line2 {
  font-size: 13px;
  color: var(--page-muted);
  line-height: 1.5;
}

/* ==========================================================================
   5. 目录：两组，每组 3 张卡，带状态和「试用 / 文档」
   ========================================================================== */
.catalog-group-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--page-ink);
  margin-top: 24px;
  margin-bottom: 14px;
  padding-left: 8px;
  border-left: 3px solid var(--page-line);
}

.catalog-group-title:first-of-type {
  margin-top: 0;
}

.catalog-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.catalog-card {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 4px 4px 0 var(--page-line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1.5px solid var(--page-line-light);
  padding-bottom: 8px;
}

.catalog-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--page-ink);
}

.catalog-status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border: 1px solid var(--page-line);
  background: var(--page-tag-bg);
  color: var(--page-ink);
  letter-spacing: 0.05em;
}

.catalog-card-desc {
  font-size: 13px;
  color: var(--page-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.catalog-card-actions {
  display: flex;
  gap: 10px;
}

.btn-catalog-try {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  background: var(--page-ink);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--page-line);
  transition: all 0.15s ease;
}

.btn-catalog-try:hover {
  background: var(--page-accent);
}

.btn-catalog-doc {
  flex: 1;
  text-align: center;
  padding: 8px 0;
  background: #ffffff;
  color: var(--page-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid var(--page-line);
  transition: all 0.15s ease;
}

.btn-catalog-doc:hover {
  background: var(--page-tag-bg);
}

/* ==========================================================================
   6. 场景：3 列 × 2 行（合理插入 1.webp-4.webp）
   ========================================================================== */
.scenes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.scene-card {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 4px 4px 0 var(--page-line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.scene-img-box {
  width: 100%;
  height: 180px;
  border-bottom: 2px solid var(--page-line);
  position: relative;
  background: #f1f5f9;
}

.scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-img-stamp {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  letter-spacing: 0.05em;
  border: 1px solid #ffffff;
}

.scene-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.scene-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--page-ink);
  margin-bottom: 8px;
}

.scene-desc {
  font-size: 13px;
  color: var(--page-muted);
  line-height: 1.6;
}

/* ==========================================================================
   7. 演示：左边任务，右边结果
   ========================================================================== */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.demo-panel {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 5px 5px 0 var(--page-line);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.demo-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--page-line);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.demo-panel-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--page-ink);
}

.demo-stamp {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border: 1px solid var(--page-line);
  background: var(--page-tag-bg);
}

.demo-input-card {
  font-size: 14px;
  line-height: 1.8;
  color: var(--page-ink);
  background: #f8fafc;
  border: 1px solid var(--page-line-subtle);
  padding: 18px;
  flex: 1;
}

.demo-output-card {
  font-size: 13px;
  line-height: 1.7;
  color: var(--page-ink);
  background: #ffffff;
  border: 1px solid var(--page-line-subtle);
  padding: 18px;
  font-family: var(--font-mono);
  white-space: pre-wrap;
  flex: 1;
}

/* ==========================================================================
   8. 开发者：左边卖点，右边可切换的代码
   ========================================================================== */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 20px;
}

.dev-points-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dev-point-item {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 3px 3px 0 var(--page-line);
  padding: 18px;
}

.dev-point-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--page-ink);
  margin-bottom: 6px;
}

.dev-point-desc {
  font-size: 13px;
  color: var(--page-muted);
  line-height: 1.6;
}

.dev-code-box {
  background: #0f172a;
  color: #f8fafc;
  border: 2px solid var(--page-line);
  box-shadow: 5px 5px 0 var(--page-line);
  display: flex;
  flex-direction: column;
}

.code-tabs-nav {
  display: flex;
  border-bottom: 2px solid #1e293b;
  background: #1e293b;
}

.code-tab-button {
  border: none;
  background: transparent;
  color: #94a3b8;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: all 0.15s ease;
}

.code-tab-button.active, .code-tab-button:hover {
  background: #0f172a;
  color: #ffffff;
}

.code-view-pre {
  padding: 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  overflow-x: auto;
  flex: 1;
}

/* ==========================================================================
   9. 企业：3 列 × 2 行
   ========================================================================== */
.ent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ent-card {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 4px 4px 0 var(--page-line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ent-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--page-ink);
  border: 1px solid var(--page-line);
  background: var(--page-tag-bg);
  padding: 2px 8px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
}

.ent-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--page-ink);
  margin-bottom: 8px;
}

.ent-desc {
  font-size: 13px;
  color: var(--page-muted);
  line-height: 1.6;
}

/* ==========================================================================
   10. 下载和帮助：各 5 列
   ========================================================================== */
.five-col-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.five-col-item {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 3px 3px 0 var(--page-line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--page-ink);
  transition: all 0.15s ease;
}

.five-col-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--page-line);
}

.five-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.five-sub {
  font-size: 10px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--page-muted);
  margin-bottom: 8px;
}

.five-desc {
  font-size: 12px;
  color: var(--page-muted);
  line-height: 1.5;
}

/* ==========================================================================
   11. 问答：默认折叠，点开才看步骤
   ========================================================================== */
.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-detail-block {
  background: #ffffff;
  border: 2px solid var(--page-line);
  box-shadow: 3px 3px 0 var(--page-line);
  transition: all 0.2s ease;
}

.faq-summary-block {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 800;
  color: var(--page-ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-summary-block::-webkit-details-marker {
  display: none;
}

.faq-summary-block::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--page-ink);
}

.faq-detail-block[open] .faq-summary-block::after {
  content: "−";
}

.faq-body-block {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #334155;
  border-top: 1.5px dashed var(--page-line-light);
  margin-top: 4px;
  padding-top: 16px;
}

.faq-steps-ol {
  margin-top: 10px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   12. 页脚：品牌说明加四列链接
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 2px solid var(--page-line);
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--page-ink);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 13px;
  line-height: 1.8;
  color: var(--page-muted);
}

.footer-col-h {
  font-size: 14px;
  font-weight: 800;
  color: var(--page-ink);
  margin-bottom: 14px;
  border-bottom: 1.5px solid var(--page-line-light);
  padding-bottom: 6px;
}

.footer-links-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-a {
  text-decoration: none;
  font-size: 13px;
  color: var(--page-muted);
  transition: color 0.15s ease;
}

.footer-a:hover {
  color: var(--page-ink);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1.5px solid var(--page-line-light);
  padding-top: 20px;
  font-size: 12px;
  color: var(--page-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   响应式断点适配
   ========================================================================== */
@media (max-width: 1080px) {
  .trust-stats-grid,
  .caps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-cards-row,
  .scenes-grid,
  .ent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .five-col-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .nav-anchors {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero-h1 {
    font-size: 24px;
  }
  .hero-ask-form {
    flex-direction: column;
  }
  .hero-ask-btn {
    border-left: none;
    border-top: 2px solid var(--page-line);
    padding: 12px;
    justify-content: center;
  }
  .layer-outer-word {
    font-size: 24px;
  }
  .layer-middle-word {
    font-size: 20px;
  }
  .layer-inner-word {
    font-size: 22px;
  }
  .trust-stats-grid,
  .caps-grid,
  .catalog-cards-row,
  .scenes-grid,
  .demo-grid,
  .dev-grid,
  .ent-grid,
  .five-col-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}
