/* app.wps-hfg.com.cn — 应用商店产品页视觉，与说明书/仪表盘套区分 */
:root {
  --purple: #5b21b6;
  --purple-deep: #4c1d95;
  --purple-mid: #6d28d9;
  --violet: #7c3aed;
  --pink: #db2777;
  --pink-deep: #be185d;
  --pink-soft: #fce7f3;
  --lilac: #f5f3ff;
  --gold: #f59e0b;
  --gold-deep: #d97706;
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --gray: #f3f4f6;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px rgba(91, 33, 182, 0.16);
  --shadow-pink: 0 12px 36px rgba(219, 39, 119, 0.18);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--gray);
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  font-size: 16px;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

a {
  color: var(--purple);
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--pink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 12px;
  z-index: 80;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.brand:hover {
  color: var(--purple);
}

.logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(91, 33, 182, 0.28);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  background: var(--gray);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav a:hover {
  background: var(--pink-soft);
  color: var(--pink-deep);
  transform: translateY(-1px);
}

.nav a.is-current {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--white);
}

.hero {
  padding: 36px 0 12px;
}

.hero-panel {
  border-radius: var(--radius);
  padding: 36px 36px 32px;
  color: var(--white);
  background:
    radial-gradient(1200px 420px at 12% -10%, rgba(255, 255, 255, 0.22), transparent 50%),
    linear-gradient(135deg, #5b21b6 0%, #7c3aed 46%, #db2777 100%);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.kicker,
.badge,
.ver-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.kicker {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ver-badge {
  background: #fde68a;
  color: #78350f;
  margin-left: 8px;
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 22px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 16px;
  border: 0;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.btn-lg {
  min-height: 64px;
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 18px;
}

.btn-primary {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.16);
}

.btn-primary:hover {
  color: var(--pink-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-pink {
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-pink:hover {
  color: var(--white);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-meta strong {
  display: block;
  font-size: 20px;
  color: var(--white);
}

.phone-frame,
.shot-frame {
  background: #0f172a;
  border-radius: 28px;
  padding: 12px 12px 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
}

.shot-frame {
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #1e1b4b;
  color: #e9d5ff;
  font-size: 12px;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}

.dots i:nth-child(2) {
  background: #fbbf24;
}

.dots i:nth-child(3) {
  background: #34d399;
}

.shot-body {
  padding: 16px;
  background: linear-gradient(180deg, #faf5ff, #fff);
  min-height: 168px;
}

.fake-line {
  height: 10px;
  border-radius: 999px;
  background: #ddd6fe;
  margin-bottom: 10px;
}

.fake-line.w80 { width: 80%; }
.fake-line.w60 { width: 60%; }
.fake-line.w40 { width: 40%; background: #fbcfe8; }
.fake-line.w90 { width: 90%; }

.fake-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.fake-cell {
  height: 28px;
  border-radius: 8px;
  background: #ede9fe;
}

.fake-cell.on {
  background: #f9a8d4;
}

section {
  padding: 28px 0;
}

.section-head {
  margin-bottom: 18px;
}

h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section-head p,
.prose p {
  margin: 0 0 14px;
  color: var(--ink-2);
}

.prose p {
  text-align: justify;
}

.card,
.review,
.shelf-card,
.compare-card,
.stat,
.faq-item,
.step,
.req,
.log,
.pkg {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.rating-board {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}

.score-num {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: var(--purple);
}

.stars svg {
  display: block;
}

.bar-row {
  display: grid;
  grid-template-columns: 42px 1fr 48px;
  gap: 10px;
  align-items: center;
  margin: 8px 0;
  font-size: 13px;
  color: var(--muted);
}

.bar {
  height: 8px;
  background: var(--gray);
  border-radius: 999px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.review {
  padding: 20px;
}

.review h3,
.card h3,
.shelf-card h3,
.compare-card h3,
.pkg h3,
.step h3,
.faq-item h3 {
  margin: 10px 0 8px;
  font-size: 17px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--purple-deep);
  font-weight: 700;
  font-size: 13px;
}

.tag svg {
  width: 16px;
  height: 16px;
}

.deep-grid,
.shots,
.shelf,
.stats,
.compare,
.pkgs,
.steps,
.reqs,
.logs {
  display: grid;
  gap: 16px;
}

.deep-grid {
  grid-template-columns: 1fr 1fr;
}

.card {
  padding: 22px;
}

.shots {
  grid-template-columns: repeat(2, 1fr);
}

.shelf {
  grid-template-columns: repeat(5, 1fr);
}

.shelf-card {
  padding: 18px 16px 20px;
  text-align: center;
}

.shelf-card .os-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 16px;
  background: var(--lilac);
  display: grid;
  place-items: center;
}

.shelf-card .btn {
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  font-size: 14px;
}

.stats {
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 22px 18px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 32px;
  color: var(--pink);
  line-height: 1.1;
}

.compare {
  grid-template-columns: repeat(3, 1fr);
}

.compare-card {
  padding: 22px;
}

.compare-card.hit {
  border: 2px solid var(--pink);
  background: linear-gradient(180deg, #fff, #fdf2f8);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 22px;
}

.faq-item h3 {
  color: var(--purple-deep);
}

.thick-cta {
  margin: 12px 0 8px;
  border-radius: 28px;
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-deep), var(--pink));
  box-shadow: var(--shadow);
}

.thick-cta h2,
.thick-cta p {
  color: var(--white);
}

.thick-cta .btn-primary {
  min-width: 260px;
}

.site-footer {
  margin-top: 20px;
  padding: 36px 0 48px;
  background: #1e1b4b;
  color: #e9d5ff;
}

.site-footer a {
  color: #f9a8d4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.safety {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 18px;
}

.legal {
  margin-top: 22px;
  font-size: 13px;
  color: #c4b5fd;
}

.dl-hero .lead {
  max-width: 680px;
}

.pkgs {
  grid-template-columns: repeat(3, 1fr);
}

.pkg {
  padding: 20px;
}

.pkg code {
  display: block;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #111827;
  color: #f9a8d4;
  font-size: 13px;
  word-break: break-all;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  padding: 0 0 18px;
  overflow: hidden;
}

.step .shot-body {
  min-height: 132px;
}

.step-pad {
  padding: 0 18px;
}

.reqs {
  grid-template-columns: repeat(2, 1fr);
}

.req,
.log {
  padding: 20px;
}

.article {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px;
  border: 1px solid var(--line);
}

.article h2 {
  margin-top: 28px;
}

.article .cta-inline {
  display: inline-flex;
  margin: 6px 8px 6px 0;
}

.soft-note {
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--pink-soft);
  color: #831843;
}

@media (max-width: 980px) {
  .hero-grid,
  .rating-board,
  .reviews,
  .deep-grid,
  .shots,
  .shelf,
  .stats,
  .compare,
  .pkgs,
  .steps,
  .reqs,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shelf,
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .hero-panel,
  .article {
    padding: 22px 18px;
  }

  .hero-grid,
  .rating-board,
  .reviews,
  .deep-grid,
  .shots,
  .shelf,
  .stats,
  .compare,
  .pkgs,
  .steps,
  .reqs,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 26px;
  }
}

.wizard {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 16px;
}
.wizard li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #ede9fe;
  color: #5b21b6;
  font-weight: 700;
  font-size: 13px;
}
.wizard .is-on { background: #5b21b6; color: #fff; }
