/* ==========================================================================
   ios-guide.css — 仅 iOS 安装指引页加载
   不在全站样式里常驻：这一页的流程条、路径块、提示条只服务本页。
   ========================================================================== */

/* --------------------------------------------------------------------------
   页头事实行
   -------------------------------------------------------------------------- */
.facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-2);
}

.facts__item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.facts__k {
  padding: 3px 8px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   设置路径：iOS 的菜单位置必须逐级写清，用等宽感的块区分正文
   -------------------------------------------------------------------------- */
.path {
  display: inline-block;
  margin-block: 2px;
  padding: 5px 10px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   四步流程：竖排编号轨，不是四张并排卡片 —— 顺序本身是信息
   -------------------------------------------------------------------------- */
.flow {
  display: flex;
  flex-direction: column;
}

.flow__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--sp-6);
  padding-block: var(--sp-7);
  border-top: 1px solid var(--line);
}

.flow__item:first-child {
  padding-block-start: 0;
  border-top: 0;
}

.flow__item:last-child {
  padding-block-end: 0;
}

.flow__no {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-num);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text-soft);
}

/* 最关键的信任一步用实心强调 */
.flow__item--key .flow__no {
  background: var(--brand);
  box-shadow: none;
  color: var(--text-on-brand);
}

.flow__item--key .flow__title::after {
  content: "最关键";
  margin-left: var(--sp-3);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--brand-ink);
  vertical-align: 2px;
}

.flow__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  min-width: 0;
}

.flow__title {
  font-size: var(--fs-xl);
  color: var(--text);
}

.flow__desc {
  font-size: var(--fs-base);
  color: var(--text-body);
  line-height: 1.72;
}

.flow__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.flow__list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.72;
}

.flow__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-strong);
}

/* 每一步的「卡在这里怎么办」 */
.flow__trap {
  margin-top: var(--sp-1);
  padding: 12px var(--sp-4);
  border-radius: var(--r-md);
  background: var(--bg-sunken);
  box-shadow: inset 3px 0 0 var(--brand-line), inset 0 0 0 1px var(--line);
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.flow__trap b {
  color: var(--text-soft);
}

/* --------------------------------------------------------------------------
   提示条
   -------------------------------------------------------------------------- */
.callout {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--bg-sunken);
  box-shadow: inset 0 0 0 1px var(--line);
}

.callout__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}

.callout__title {
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--text);
}

.callout__desc {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.72;
}

/* --------------------------------------------------------------------------
   结尾转化条
   -------------------------------------------------------------------------- */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  padding: var(--sp-7);
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(245, 44, 140, 0.16), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(139, 92, 246, 0.18), transparent 62%),
    var(--surface);
  box-shadow: inset 0 0 0 1px var(--brand-line);
}

.cta-band__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  min-width: 0;
}

.cta-band__title {
  font-size: var(--fs-2xl);
  color: var(--text);
}

.cta-band__desc {
  font-size: var(--fs-sm);
  color: var(--text-body);
  line-height: 1.7;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   组件级断点
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .flow__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: var(--sp-4);
    padding-block: var(--sp-6);
  }

  .flow__no {
    width: 40px;
    height: 40px;
    font-size: var(--fs-sm);
  }

  .flow__title {
    font-size: var(--fs-lg);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-5);
    padding: var(--sp-6);
  }
}

@media (max-width: 560px) {
  .cta-band__actions {
    width: 100%;
  }

  .cta-band__actions .btn {
    flex: 1 1 0;
  }
}
