/* ==========================================================================
   pages.css — 各页局部：功能区 / 预览区 / 品类墙 / 目录 / 步骤 / 下载卡 / 关于卡
   ========================================================================== */

/* ---- 暖色区块带（04 页步骤区；压过 .section + .section 的归零） ---- */
.section.band-warm {
  padding-block: var(--sp-6);
  background: var(--surface-warm);
}

/* ---- 问答列表（06 页：5 条竖排，间距 16） ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* ---- 首页：功能亮点（整块居中） ---- */
.feature-sec__more {
  display: flex;
  justify-content: center;
  margin-block-start: var(--sp-5);
}

/* ---- 首页：界面预览（暖黄底，左文右机） ---- */
.preview { background: var(--surface-warm); }
.preview__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.preview__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
}
.preview__title { font-size: var(--fs-h2); }
.preview__lead {
  max-width: var(--w-prose);
  font-size: var(--fs-base);
  line-height: 1.9;
  color: var(--text-muted);
}
.preview__phone { flex: 0 0 auto; }

/* ---- 深色下载卡（首页 + 08 页共用） ---- */
.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-7);
  border-radius: var(--r-lg);
  background: var(--ink);
  text-align: center;
}
.dl-card__title { font-size: var(--fs-h2); color: var(--text-invert); }
.dl-card__lead {
  max-width: var(--w-prose);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-invert-body);
}
.dl-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
}
.dl-card__meta {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-invert-mute);
}

/* ---- 02 页：左侧目录 + 右侧功能卡 ---- */
.rail {
  position: sticky;
  inset-block-start: 108px;
  flex: 0 0 236px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.rail__cap {
  font-size: var(--fs-2xs);
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.rail__item {
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.rail__item:hover {
  text-decoration: none;
  color: var(--brand-ink);
  box-shadow: inset 0 0 0 1px var(--line-warm);
}

.feature-list {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm, 14px);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
  scroll-margin-block-start: 108px;
}
.feature__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.feature__title {
  font-size: var(--fs-title);
  font-weight: 700;
  color: var(--text);
}
.feature__text {
  font-size: var(--fs-sm);
  line-height: 1.9;
  color: var(--text-muted);
}

/* ---- 03 页：品类墙 ---- */
/* 品类块本身（外形 / 插画 / 分类名胶囊）定义在 components.css；
   原先的 12 个纯色 tile--cN 已随插画底一并删除 —— 别再往这里加底色。 */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}

/* ---- 04 页：三机对比 ---- */
.shots {
  display: flex;
  justify-content: center;
  gap: var(--sp-5);
}
.shot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 208px;
}
.shot__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.shot__caption {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
}
.shot .phone__screen { height: 384px; }

/* ---- 04 / 08 页：三步骤 ---- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line-warm);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-en);
  font-size: var(--fs-title);
  font-weight: 800;
}
.step__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}
.step__text {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: var(--text-muted);
}

/* ---- 05 页：关于卡（深底） ---- */
.about-card {
  display: flex;
  gap: var(--sp-5);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--ink);
}
.about-card__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.about-card__title {
  font-size: var(--fs-h3);
  line-height: 1.35;
  color: var(--text-invert);
}
.about-card__text {
  max-width: var(--w-prose);
  font-size: var(--fs-base);
  line-height: 1.95;
  color: var(--text-invert-body);
}
.about-card__points {
  flex: 0 0 400px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.point__dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-block-start: 9px;
  border-radius: 50%;
  background: var(--brand-mark);
}
.point__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.point__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-invert);
}
.point__text {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: #a2947f;
}

/* ---- 05 页：「我们不做」清单 ---- */
.no-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--text-body);
}

/* ---- 07 / 08 页：分行说明（标签 + 正文） ---- */
.note-rows {
  display: flex;
  flex-direction: column;
}
.note-rows > .kv + .kv { box-shadow: inset 0 1px 0 var(--line); }

/* ==========================================================================
   组件级断点
   ========================================================================== */

@media (max-width: 1024px) {
  .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-card__points { flex: 0 0 320px; }
}

@media (max-width: 900px) {
  .preview__inner { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .preview__phone { align-self: center; }
  .about-card { flex-direction: column; gap: var(--sp-4); }
  .about-card__points { flex: 0 0 auto; width: 100%; }
}

@media (max-width: 768px) {
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .rail {
    position: static;
    flex: 0 0 auto;
    width: 100%;
  }
  .shots {
    flex-wrap: wrap;
    gap: var(--sp-4);
  }
  .shot { width: 160px; }
  .shot .phone { width: 100%; }
  .shot .phone__screen { height: 296px; }
  .dl-card { padding: var(--sp-5); }
}

@media (max-width: 560px) {
  .tile-grid { gap: 12px; }
  .shot { width: 140px; }
  .shot .phone__screen { height: 258px; gap: 4px; }
  .shot .s-chips,
  .shot .s-tab { display: none; }
  .about-card { padding: var(--sp-4); }
}
