:root {
  color-scheme: dark;
  --ink: #f7f7f2;
  --muted: #aeb7b0;
  --soft: #d9ded8;
  --paper: #101312;
  --panel: #181b1a;
  --panel-strong: #202422;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #0a84ff;
  --accent-strong: #2f9cff;
  --success: #2fc77b;
}

* {
  box-sizing: border-box;
}

html {
  background: #080a09;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 22% 0%, rgba(83, 96, 89, 0.44), transparent 28rem),
    linear-gradient(180deg, #151917 0%, #0d0f0e 42%, #080a09 100%);
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.app-shell {
  width: min(100%, 440px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 18px calc(26px + env(safe-area-inset-bottom));
}

.product-hero {
  position: relative;
  overflow: hidden;
  margin: 0 -18px;
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(82, 91, 86, 0.72), rgba(25, 32, 29, 0.92));
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(110deg, transparent 0 18%, rgba(255, 255, 255, 0.12) 18% 19%, transparent 19% 100%),
    radial-gradient(circle at 72% 16%, rgba(115, 136, 125, 0.42), transparent 12rem);
}

.product-main {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
}

.app-icon {
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.product-copy {
  min-width: 0;
}

.product-name,
.product-tagline,
.product-meta,
.status-kicker,
.status-block h1,
.status-block p,
.section-heading h2,
.about-section h2,
.about-section h3,
.about-section p,
.feature-list {
  margin: 0;
}

.product-name {
  font-size: 26px;
  line-height: 1.12;
  font-weight: 900;
}

.product-tagline {
  margin-top: 6px;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.45;
}

.product-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.metric-item {
  min-width: 0;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 17px 6px 15px;
  color: var(--muted);
  text-align: center;
  border-right: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.15;
}

.metric-item:last-child {
  border-right: 0;
}

.metric-label {
  color: #8e9891;
  font-size: 10px;
  font-weight: 700;
}

.metric-item strong {
  color: var(--ink);
  font-size: clamp(17px, 5vw, 21px);
  line-height: 1;
  font-weight: 900;
}

.star-row {
  color: #f7c64a;
  font-size: 10px;
  letter-spacing: 0;
}

.screenshot-section,
.about-section {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-heading h2,
.about-section h2 {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 900;
}

.about-section h3 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.section-heading span {
  color: var(--muted);
  font-size: 12px;
}

.screenshot-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(142px, 44%);
  gap: 10px;
  margin: 0 -18px;
  padding: 0 18px 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
}

.screenshot-gallery img {
  width: 100%;
  aspect-ratio: 370 / 800;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  object-fit: cover;
  background: #000000;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.about-section {
  display: grid;
  gap: 12px;
}

.about-section p,
.feature-list {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.72;
}

.feature-list {
  display: grid;
  gap: 7px;
  padding-left: 1.25em;
}

.download-panel {
  position: relative;
  display: grid;
  gap: 13px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(7, 10, 9, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-block {
  display: grid;
  gap: 8px;
}

.status-kicker {
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(10, 132, 255, 0.32);
  border-radius: 999px;
  color: #9dccff;
  background: rgba(10, 132, 255, 0.13);
  font-size: 11px;
  font-weight: 900;
}

.status-block h1 {
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.16;
  font-weight: 900;
}

.status-block p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.progress-line {
  height: 8px;
  margin-top: 5px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-line span {
  display: block;
  width: 58%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--success));
  animation: loading-slide 1.35s ease-in-out infinite alternate;
}

.action-group {
  display: grid;
  gap: 9px;
}

.primary-action,
.secondary-action {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.primary-action {
  border: 0;
  color: #ffffff;
  background: var(--accent);
  box-shadow: 0 16px 32px rgba(10, 132, 255, 0.26);
}

.primary-action:active {
  background: var(--accent-strong);
}

.secondary-action {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--panel-strong);
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

@keyframes loading-slide {
  from {
    width: 30%;
  }

  to {
    width: 84%;
  }
}

@media (max-width: 360px) {
  .app-shell {
    padding-inline: 14px;
  }

  .product-hero,
  .screenshot-gallery {
    margin-inline: -14px;
    padding-inline: 14px;
  }

  .product-main {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .app-icon {
    width: 78px;
    height: 78px;
    border-radius: 19px;
  }

  .product-name {
    font-size: 23px;
  }

}

@media (min-width: 760px) {
  body {
    padding: 34px 0;
  }

  .app-shell {
    min-height: auto;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(16, 19, 18, 0.88);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  }
}
