:root {
  --blue: #168cff;
  --blue-deep: #0878ee;
  --orange: #ff8a18;
  --text: #222734;
  --muted: #858b96;
  --line: #edf0f5;
  --card: #f7f8fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #eef1f6;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page {
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 18px 32px;
  background: var(--white);
}

.site-head {
  margin: -2px -18px 0;
  padding: 8px 18px 12px;
  border-bottom: 1px solid #f0f2f6;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.site-brand strong {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 800;
}

.site-title small {
  color: #8b95a5;
  font-size: 11px;
  line-height: 1;
}

.head-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf5ff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
}

.app-logo {
  width: 84px;
  height: 84px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 22px rgba(31, 42, 68, .08);
}

.app-meta {
  min-width: 0;
}

.app-meta h1 {
  margin: 0 0 8px;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 800;
}

.app-stats {
  display: grid;
  gap: 6px;
  color: #727986;
  font-size: 14px;
}

.stat-line {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.25;
}

.download-area {
  margin-top: 22px;
  text-align: center;
}

.primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(180deg, #1595ff, var(--blue-deep));
  box-shadow: 0 12px 24px rgba(22, 140, 255, .22);
  font-size: 17px;
  font-weight: 500;
}

.download-area p {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 9px 0 0;
  color: #8b909a;
  font-size: 13px;
}

.safe-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #20c56b;
  flex: 0 0 auto;
}

.safe-check::after {
  content: "";
  width: 7px;
  height: 4px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(-45deg) translate(1px, -1px);
}

.preview-section {
  margin-top: 20px;
}

.preview-section h2 {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
}

.title-line {
  width: 27px;
  height: 3px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--blue);
}

.screens {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 30%;
  gap: 10px;
  margin: 14px -18px 0;
  padding: 0 18px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.screens::-webkit-scrollbar {
  display: none;
}

.screen-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.screen-card::before {
  content: "";
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  height: 34%;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(144, 255, 174, .9), rgba(51, 210, 255, .9));
}

.screen-card span,
.screen-card small,
.screen-card img {
  position: relative;
  z-index: 1;
}

.screen-card span {
  display: block;
  width: 100%;
  color: #222734;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.screen-card small {
  display: block;
  width: 100%;
  margin: 2px 0 6px;
  color: #5e6572;
  font-size: 8px;
  white-space: nowrap;
}

.screen-card img {
  display: block;
  width: 82%;
  max-height: 178px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(31, 42, 68, .16);
}

.info-card {
  margin-top: 14px;
  padding: 15px 16px;
  border-radius: 8px;
  background: var(--card);
}

.info-card h2 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.2;
}

.info-card p {
  margin: 0;
  color: #7b8290;
  font-size: 13px;
  line-height: 1.65;
}

.info-card p + p {
  margin-top: 5px;
}

.info-card span {
  color: #8e94a0;
}

.site-footer {
  margin-top: 18px;
  padding: 4px 0 0;
  color: #a3aab6;
  text-align: center;
  font-size: 11px;
  line-height: 1.65;
}

.site-footer p {
  margin: 0;
}

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16, 20, 30, .78);
  backdrop-filter: blur(8px);
}

.preview-modal.is-open {
  display: flex;
}

.preview-modal img {
  display: block;
  max-width: min(88vw, 390px);
  max-height: 88vh;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

@media (max-width: 374px) {
  .page {
    padding-top: 16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-head {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-brand strong {
    font-size: 17px;
  }

  .app-logo {
    width: 76px;
    height: 76px;
    border-radius: 18px;
  }

  .app-meta h1 {
    font-size: 21px;
  }

  .app-stats {
    gap: 5px;
    font-size: 13px;
  }

  .screens {
    grid-auto-columns: 32%;
    gap: 10px;
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .screen-card img {
    max-height: 165px;
  }
}
.screens.is-hidden {
  display: none;
}

.video-preview {
  display: flex;
  justify-content: center;
  margin: 14px 0 4px;
}

.video-preview video {
  display: block;
  width: min(72%, 300px);
  max-width: 100%;
  aspect-ratio: 9 / 16;
  max-height: min(68vh, 520px);
  border-radius: 12px;
  object-fit: cover;
  background: #111827;
  box-shadow: 0 12px 28px rgba(31, 42, 68, .14);
}

