/* ==========================================================================
   pages.css — 页面区块样式
   区块顺序：Hero → 下载矩阵 → 三步上手 → 核心功能 → 功能网格 → FAQ
             → 更新日志摘要 → 底部转化区
   ========================================================================== */

/* ============================== 首屏 ==================================== */
/* 节奏按设计稿实测：徽标文字顶在页面 y174，视觉组合顶在 y561 */
.hero {
  padding-top: 84px;
  padding-bottom: 72px;
  /* 暖白渐变，全站唯一的渐变底 */
  background: linear-gradient(180deg, #FFF5F2 0%, #FFF7F6 55%, #FFFAFB 100%);
  text-align: center;
}

.hero h1 { margin-top: 37px; }

.hero__lead {
  margin: 35px auto 0;
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.hero__actions .btn { min-width: 152px; }

.hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  font-size: 15px;
  color: var(--muted);
}

.hero__trust i {
  width: 1px;
  height: 13px;
  background: #E4D8D3;
}

/* ------------------------- 首屏视觉：四图分层组合 ------------------------ */
/* 画板 1140×705，各元素坐标按画板比例换算成百分比，等比缩放不跑位
   阅读器窗口 680×705 @ (460,0)　主界面窗口 880×609 @ (160,96)
   两台手机 264×458 @ (0,247) / (876,247)　内屏 250×444　底边统一落在 705 */
.hero-visual { margin-top: 24px; }

.hero-stage {
  position: relative;
  width: min(1140px, 100%);
  aspect-ratio: 1140 / 705;
  margin-inline: auto;
}

/* 窗口与手机：深色叠深色，靠 1px 描边分层 */
.mock {
  margin: 0;
  position: absolute;
  overflow: hidden;
  background: #111416;
  border-radius: 12px;
  outline: 1px solid #332723;
}

.mock img {
  width: 100%;
  height: auto;
}

/* 应用窗口标题栏 */
.mock__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  padding-inline: 12px;
  font-size: 11px;
  color: #8C8582;
  white-space: nowrap;
}

.mock__bar b { font-weight: 400; }

.mock__bar span { color: #6E6866; }

/* 背景层：阅读器窗口 */
.mock--reader {
  left: 40.351%;
  top: 0;
  z-index: 1;
  width: 59.649%;
  height: 100%;
}

/* 前景层：主界面窗口 */
.mock--search {
  left: 14.035%;
  top: 13.617%;
  z-index: 2;
  width: 77.193%;
  height: 86.383%;
}

/* 两台手机压在窗口两侧，上移咬进窗口下沿 */
.mock--phone {
  z-index: 3;
  top: 35.035%;
  width: 23.158%;
  height: 64.965%;
  padding: 7px;
  background: #17110F;
  border-radius: 30px;
}

.mock--phone img { border-radius: 23px; }

.mock--phone-l { left: 0; }
.mock--phone-r { left: 76.842%; }

/* ============================ 下载矩阵 ================================= */
.platforms {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}

.platform {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px;
  background: var(--bg-warm);
  border-radius: var(--r-lg);
  transition: background-color .18s;
}

.platform:hover { background: #FFF6F2; }

.platform__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--brand-soft);
  border-radius: 12px;
  color: var(--brand);
}

.platform__name {
  font-size: 17px;
  font-weight: 600;
}

/* 规格文字必须整行填充，窄容器里避免溢出 */
.platform__meta {
  width: 100%;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.platform__cta { margin-top: auto; }

/* ============================ 三步上手 ================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  padding: 34px 30px 36px;
  background: #fff;
  border-radius: var(--r-lg);
}

.step__no {
  font-family: var(--font-num);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
}

.step__title {
  margin-top: 22px;
  font-size: 19px;
  font-weight: 600;
}

.step__desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ========================== 核心功能展示 =============================== */
.features {
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

/* 交替布局：偶数行图文互换 */
.feature:nth-child(even) .feature__body { order: 2; }

.feature__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
}

.feature__label span {
  font-family: var(--font-num);
  font-weight: 700;
}

.feature__title {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.feature__desc {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.feature__shot {
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  outline: 1px solid #332723;
  background: #111416;
}

.feature__shot img { width: 100%; height: auto; }

/* ============================ 功能网格 ================================= */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-card {
  padding: 28px 26px 30px;
  background: #fff;
  border-radius: var(--r-md);
}

.grid-card__title {
  font-size: 17px;
  font-weight: 600;
}

.grid-card__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* --------------- 核心功能页：要点清单与清单分组标题 -------------------- */
.feature__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.feature__list li {
  position: relative;
  padding-left: 18px;
}

.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* 功能清单的分组小标题，组与组之间拉开 */
.group-head { margin-bottom: 24px; }
.grid-cards + .group-head { margin-top: 64px; }

/* 与上一块内容拉开距离的收尾卡 */
.note--gap { margin-top: 72px; }

/* ============================ 常见问题 ================================= */
.faq { border-top: 1px solid var(--line); }

.faq__item {
  display: grid;
  grid-template-columns: 323px 1fr;
  gap: 40px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}

.faq__q {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.faq__a {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.faq__a code {
  padding: 2px 6px;
  background: #F7F1EE;
  border-radius: 5px;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 14px;
  color: var(--muted-strong);
}

/* ========================== 更新日志摘要 =============================== */
.releases { border-top: 1px solid var(--line); }

.release-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}

.release-row__ver {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
}

.release-row__desc {
  font-size: 16px;
  color: var(--muted-strong);
}

/* ========================== 底部转化区（深色） ========================= */
.cta {
  padding-block: 96px;
  text-align: center;
}

.cta__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.cta__desc {
  margin-top: 16px;
  font-size: 17px;
  color: rgba(255, 255, 255, .68);
}

.cta .btn { margin-top: 34px; }

.cta__note {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.cta__note i {
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, .2);
}

/* ============================== 下载页 ================================= */
.dl-list {
  background: var(--bg-warm);
  border-radius: var(--r-lg);
  padding: 8px 26px;
}

.dl-row {
  display: flex;
  align-items: center;
  min-height: 102px;
  border-top: 1px solid var(--line);
}

.dl-row:first-child { border-top: 0; }

.dl-row__name {
  flex: 0 0 260px;
  font-size: 17px;
  font-weight: 600;
}

.dl-row__ver {
  flex: 1;
  font-family: var(--font-num);
  font-size: 15px;
  color: var(--muted-strong);
}

/* ---------------------------- 网盘选包指引 ------------------------------ */
.pick {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}

.pick__desc {
  margin-top: 14px;
  max-width: 820px;
  color: var(--muted);
}

.pick__list {
  margin-top: 28px;
  padding: 6px 30px;
  background: var(--bg-warm);
  border-radius: var(--r-lg);
}

.pick__item {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: baseline;
  padding-block: 16px;
  border-top: 1px solid var(--line);
}

.pick__item:first-child { border-top: 0; }

.pick__dev {
  font-size: 16px;
  font-weight: 600;
}

.pick__file {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.pick__file code,
.pick__tip code {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--muted-strong);
}

.pick__tip {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.pick__tip b { color: var(--muted-strong); }

/* 区块末尾的动作行：次要出口，不抢主按钮 */
.pick__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ============================ 使用方法页 =============================== */
.step-rows {
  background: var(--bg-warm);
  border-radius: var(--r-lg);
  padding: 8px 32px;
}

.step-row {
  display: grid;
  grid-template-columns: 60px 210px 1fr;
  gap: 32px;
  align-items: start;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}

.step-row:first-child { border-top: 0; }

.step-row__no {
  font-family: var(--font-num);
  font-size: 19px;
  font-weight: 700;
  color: var(--brand);
}

.step-row__title {
  font-size: 17px;
  font-weight: 600;
}

.step-row__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

/* ------------------------------ 界面速览 -------------------------------- */
.shots { margin-top: 32px; }

.shots__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
}

.shots__label:first-child { margin-top: 32px; }

.shots__label span {
  padding: 3px 10px;
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  font-size: 12px;
}

.shots__desktop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.shots__phones {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.shot { margin: 0; }

.shot__frame {
  overflow: hidden;
  border-radius: var(--r-sm);
  outline: 1px solid #332723;
  background: #111416;
}

.shot__frame img { width: 100%; height: auto; }

.shot__caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}

/* 手机样机：机身 + 内屏 */
.phone {
  padding: 7px;
  background: #17110F;
  border-radius: 26px;
  outline: 1px solid #332723;
}

.phone img {
  width: 200px;
  height: 355px;
  object-fit: cover;
  border-radius: 20px;
}

/* ---------------------------- 页尾提示卡 -------------------------------- */
.notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 88px;
}

/* ------------------------------ 补充区块 -------------------------------- */
/* 页面主体：与页脚之间留出整块留白 */
.page-main { padding-bottom: var(--section-y); }

/* 区块头与上一块内容拉开距离 */
.section-head--gap { margin-top: 88px; }

/* 更多入口 */
.releases__more,
.timeline__more { margin-top: 32px; }

.note {
  padding: 30px 32px 34px;
  border-radius: var(--r-lg);
  background: var(--bg-warm);
}

.note--brand { background: var(--brand-soft); }

.note__title {
  font-size: 17px;
  font-weight: 600;
}

.note--brand .note__title { color: var(--brand-deep); }

.note__desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

/* ============================ 更新日志页 =============================== */
.timeline { margin-top: 16px; }

.tl-item {
  padding-block: 36px;
  border-top: 1px solid var(--line);
}

.tl-item__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
}

.tl-item__ver {
  font-family: var(--font-num);
  font-size: 21px;
  font-weight: 700;
  color: var(--brand);
}

.tl-item__date {
  font-family: var(--font-num);
  font-size: 14px;
  color: var(--muted);
}

.tl-item__title {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 600;
}

.tl-item__desc {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 900px;
}

/* ============================== 关于页 ================================= */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 32px 30px 34px;
  background: var(--bg-warm);
  border-radius: var(--r-lg);
}

.about-card__title {
  font-size: 19px;
  font-weight: 600;
}

.about-card__desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

/* 免责声明：红底卡，务必保留 */
.disclaimer {
  margin-top: 56px;
  padding: 40px 44px 44px;
  background: var(--brand-soft);
  border-radius: var(--r-lg);
}

.disclaimer__title {
  font-size: 19px;
  font-weight: 600;
  color: var(--brand-deep);
}

.disclaimer ul {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.disclaimer li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted-strong);
}

.disclaimer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ============================= 响应式 ================================= */
@media (max-width: 1080px) {
  /* 窄屏收掉四图组合，只留阅读器窗口铺满，与移动端设计稿一致 */
  .hero-stage { aspect-ratio: auto; }

  .mock--search,
  .mock--phone { display: none; }

  .mock--reader {
    position: static;
    width: 100%;
    height: auto;
  }

  .platforms { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .grid-cards { grid-template-columns: repeat(2, 1fr); }
  .about-cards { grid-template-columns: 1fr; }

  .feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature:nth-child(even) .feature__body { order: 0; }

  .feature__title { font-size: 24px; }

  .faq__item { grid-template-columns: 1fr; gap: 14px; }

  .release-row { grid-template-columns: 1fr; gap: 10px; }

  .dl-row { flex-wrap: wrap; gap: 10px; min-height: 0; padding-block: 24px; }
  .dl-row__name { flex: 0 0 auto; }
  .dl-row__ver { flex: 1 0 100%; order: 3; }
  .dl-row__name { order: 1; }
  .dl-row .btn { order: 2; margin-left: auto; }

  .step-row { grid-template-columns: 44px 1fr; gap: 12px 20px; }
  .step-row__desc { grid-column: 2; }

  .shots__desktop { grid-template-columns: 1fr; }
  .shots__phones { flex-wrap: wrap; gap: 24px; }

  .notes { grid-template-columns: 1fr; margin-top: 56px; }

  .pick__item { grid-template-columns: 1fr; gap: 6px; padding-block: 14px; }

  .cta__title { font-size: 28px; }
}

@media (max-width: 720px) {
  .hero { padding-top: 36px; padding-bottom: 72px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero-visual { margin-top: 44px; }

  .platforms { grid-template-columns: 1fr 1fr; }
  .grid-cards { grid-template-columns: 1fr; }

  .phone img { width: 172px; height: 305px; }
  .shots__phones { gap: 20px; }

  .disclaimer { padding: 28px 24px 32px; }
  .note { padding: 24px 22px 28px; }
  .step-rows { padding: 4px 20px; }
  .dl-list { padding: 4px 20px; }
  .pick__list { padding: 4px 20px; }
  .pick__file code,
  .pick__tip code { font-size: 13px; }
}
