/* v3 header gradien + kartu putih */

:root {
  --blue: #007aff;
  --text: #000;
  --text-secondary: rgba(60, 60, 67, 0.6);
  --bg: #fff;
  --bg-soft: #f2f2f7;
  --divider: rgba(60, 60, 67, 0.15);
  --pad: 0.427rem;
  --bottom-bar: 1.92rem;
  --layout-max: var(--layout-max-px, 540px);
  --radius-md: 0.32rem;
  --grad: linear-gradient(145deg, #5b8def 0%, #6c63ff 55%, #9b59f5 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { scrollbar-width: none; -ms-overflow-style: none; }
*::-webkit-scrollbar { display: none; width: 0; height: 0; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  background: var(--bg-soft); color: var(--text); overflow-x: hidden;
  padding-bottom: calc(var(--bottom-bar) + env(safe-area-inset-bottom, 0));
}
.page { max-width: var(--layout-max); margin: 0 auto; min-height: 100vh; background: var(--bg-soft); }

.site-header {
  position: sticky; top: 0; z-index: 10; height: 1.333rem;
  background: transparent; display: flex; align-items: center;
  padding: 0 var(--pad); padding-top: env(safe-area-inset-top, 0);
}
.brand { display: flex; align-items: center; gap: 0.267rem; text-decoration: none; color: #fff; }
.brand-icon { width: 0.853rem; height: 0.853rem; border-radius: 0.213rem; }
.brand-name { font-size: 0.453rem; font-weight: 700; }

.hero-top {
  background: var(--grad);
  padding: 0 0 1.067rem;
  color: #fff;
  border-radius: 0 0 0.64rem 0.64rem;
  text-align: center;
}
.hero-top .site-header { position: relative; }
.hero-top .hero-app-icon {
  width: 2.56rem; height: 2.56rem; border-radius: 0.587rem;
  margin: 0.32rem auto 0.427rem; box-shadow: 0 0.16rem 0.48rem rgba(0,0,0,0.2);
}
.hero-top .hero-title { font-size: 0.693rem; font-weight: 700; margin-bottom: 0.16rem; }
.hero-top .hero-tagline { font-size: 0.373rem; opacity: 0.9; margin-bottom: 0.32rem; }
.hero-top .hero-meta {
  display: flex; justify-content: center; gap: 0.32rem;
  font-size: 0.32rem; opacity: 0.85;
}

.sheet {
  margin: -0.533rem var(--pad) 0;
  background: var(--bg);
  border-radius: 0.427rem 0.427rem 0 0;
  padding: 0.533rem 0 0;
  box-shadow: 0 -0.053rem 0.32rem rgba(0,0,0,0.06);
}

.preview-block { padding: 0 var(--pad); margin-bottom: 0.427rem; }
.section-title { font-size: 0.587rem; font-weight: 600; margin-bottom: 0.32rem; }
.screenshots {
  display: flex; gap: 0.267rem; overflow-x: auto;
  margin-right: calc(-1 * var(--pad)); padding-right: var(--pad);
  scroll-snap-type: x mandatory;
}
.screenshot {
  flex-shrink: 0; width: 3.92rem; border-radius: var(--radius-md);
  cursor: pointer; scroll-snap-align: start;
}

.section { padding: 0.533rem var(--pad) 0.747rem; }
.section-alt { background: var(--bg-soft); margin: 0; padding: 0.747rem var(--pad); }
.features { display: flex; flex-direction: column; gap: 0.267rem; }
.feature-card {
  background: #fff; border-radius: var(--radius-md); padding: 0.373rem;
  border: 0.5px solid var(--divider);
}
.feature-icon { font-size: 0.56rem; margin-bottom: 0.107rem; }
.feature-card h3 { font-size: 0.4rem; font-weight: 600; }
.feature-card p { font-size: 0.347rem; color: var(--text-secondary); }

.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step; display: flex; gap: 0.32rem; padding: 0.32rem 0;
  border-bottom: 0.5px solid var(--divider); font-size: 0.4rem;
}
.steps li::before {
  content: counter(step); width: 0.64rem; height: 0.64rem; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 0.32rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.channels { display: flex; justify-content: space-between; padding: 0 0.64rem; }
.channel-link { display: flex; flex-direction: column; align-items: center; gap: 0.16rem; text-decoration: none; color: var(--text); font-size: 0.32rem; }
.channel-link svg { width: 1.6rem; height: 1.6rem; border-radius: 0.373rem; }

.hero-hint { font-size: 0.32rem; color: var(--text-secondary); text-align: center; padding: 0.32rem var(--pad) 0; }

.preview-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.92); display: none; flex-direction: column; }
.preview-lightbox.is-open { display: flex; }
body.preview-open { overflow: hidden; }
.preview-lightbox-close {
  position: absolute; top: calc(0.32rem + env(safe-area-inset-top,0)); right: var(--pad);
  width: 0.853rem; height: 0.853rem; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.2); color: #fff; font-size: 0.587rem;
}
.preview-lightbox-stage { flex: 1; position: relative; overflow: hidden; }
.preview-lightbox-track { display: flex; height: 100%; transition: transform 0.28s ease-out; }
.preview-lightbox-slide { flex: 0 0 100%; display: flex; align-items: center; justify-content: center; padding: 1.28rem var(--pad) var(--bottom-bar); }
.preview-lightbox-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.preview-lightbox-nav { position: absolute; inset: 0; pointer-events: none; }
.preview-lightbox-btn {
  pointer-events: auto; position: absolute; top: 50%; transform: translateY(-50%);
  width: 1.067rem; height: 1.067rem; border: none; border-radius: 50%; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
}
.preview-lightbox-btn-prev { left: var(--pad); }
.preview-lightbox-btn-next { right: var(--pad); }
.preview-lightbox-pager {
  position: absolute; left: 50%; bottom: calc(1.067rem + env(safe-area-inset-bottom,0));
  transform: translateX(-50%); color: #fff; font-size: 0.373rem;
}

.bottom {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; z-index: 100;
  width: 100%; max-width: var(--layout-max); height: var(--bottom-bar);
  padding: 0 var(--pad); padding-bottom: env(safe-area-inset-bottom, 0);
  background: #fff; box-shadow: 0 -0.16rem 0.4rem rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
}
.btn-get {
  width: 100%; max-width: 9.147rem; height: 1.28rem; border: none; border-radius: 9999px;
  background: var(--grad); color: #fff; font-size: 0.427rem; font-weight: 600;
}
.btn-get:disabled { background: #c7c7cc; }

/* 截图 PNG 已含手机边框 — 关闭 CSS 假机壳/描边 */

.device-frame,
.tvlk-frame,
.mnt-frame,
.sky-frame,
.aur-frame,
.cor-frame,
.ind-frame,
.snd-frame,
.arc-frame,
.fus-frame,
.sh-frame,
.com-frame,
.urg-frame,
.drk-frame,
.frs-frame {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.device-frame::before {
  display: none !important;
}

.tvlk-phone-shell,
.mnt-phone-shell,
.sky-phone-shell,
.cor-phone-shell,
.aur-phone-shell {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

.gallery-track .screenshot,
.gallery-track .device-frame img,
.device-frame .screenshot,
.screenshots > .screenshot,
.tvlk-frame img,
.mnt-frame img,
.sky-frame img,
.tvlk-phone-shell img,
.mnt-phone-shell img,
.sky-phone-shell img,
.cor-phone-shell img {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.preview-lightbox-slide img {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

