:root {
  color-scheme: dark;
  --page-bg: #000000;
  --panel: rgba(8, 20, 12, 0.78);
  --panel-strong: rgba(8, 21, 12, 0.94);
  --line: rgba(216, 255, 224, 0.1);
  --line-strong: rgba(189, 255, 203, 0.17);
  --ink: #f4fff6;
  --muted: rgba(229, 247, 233, 0.5);
  --muted-strong: rgba(229, 247, 233, 0.68);
  --green: #45f76a;
  --green-soft: #a5ffb9;
  --green-deep: #176d2d;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page-bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #000000;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(180, 255, 197, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(180, 255, 197, 0.018) 1px, transparent 1px);
  background-position: center;
  background-size: 78px 78px;
  content: "";
  mask-image: radial-gradient(ellipse at 68% 35%, #000 4%, transparent 72%);
  pointer-events: none;
}

.download-first-screen-particles {
  position: fixed;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100svh;
  pointer-events: none;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.download-page {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  padding-top: 60px;
}

.download-page::after {
  position: absolute;
  z-index: -1;
  top: 11%;
  right: -16rem;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: rgba(69, 247, 106, 0.055);
  content: "";
  filter: blur(140px);
  pointer-events: none;
}

.download-page__inner {
  display: grid;
  width: min(100%, 1720px);
  min-height: calc(100svh - 60px);
  margin: 0 auto;
  padding: clamp(17px, 2.15vh, 30px) var(--page-pad) clamp(110px, 14.5vh, 138px);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(8px, 1.15vh, 14px);
}

.hero {
  display: grid;
  min-height: 0;
  align-items: center;
  grid-template-columns: minmax(330px, 0.82fr) minmax(530px, 1.18fr);
  gap: clamp(44px, 6.2vw, 112px);
}

.hero__copy {
  min-width: 0;
  padding-left: clamp(0px, 1.8vw, 25px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 13px;
  border: 1px solid rgba(69, 247, 106, 0.23);
  border-radius: 999px;
  color: var(--green-soft);
  background: rgba(69, 247, 106, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: clamp(9px, 0.64vw, 11px);
  font-weight: 680;
  letter-spacing: 0.16em;
  line-height: 1;
}

.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(69, 247, 106, 0.86);
}

.hero h1 {
  max-width: 720px;
  margin: clamp(20px, 3vh, 36px) 0 0;
  color: var(--ink);
  font-size: clamp(45px, 4.65vw, 78px);
  font-weight: 720;
  letter-spacing: -0.066em;
  line-height: 1.02;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #f4fff6 0%, #9dffb4 48%, #45f76a 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero__description {
  max-width: 560px;
  margin: clamp(20px, 3vh, 35px) 0 0;
  color: var(--muted-strong);
  font-size: clamp(12px, 0.94vw, 15px);
  font-weight: 430;
  letter-spacing: -0.012em;
  line-height: 1.82;
}

.hero__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: clamp(22px, 3.2vh, 36px);
}

.hero__control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(216, 255, 224, 0.12);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: clamp(9px, 0.63vw, 10px);
  font-weight: 620;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color 200ms ease,
    color 200ms ease,
    background-color 200ms ease;
}

.hero__control:hover,
.hero__control:focus-visible {
  border-color: rgba(69, 247, 106, 0.3);
  color: var(--green-soft);
  background: rgba(69, 247, 106, 0.065);
  outline: none;
}

.hero__controls svg {
  width: 15px;
  height: 15px;
  stroke: var(--green-soft);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__motion {
  display: flex;
  max-width: 610px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: clamp(25px, 3.7vh, 42px);
  padding-top: clamp(17px, 2.4vh, 25px);
  border-top: 1px solid var(--line);
}

.hero__motion div:first-child {
  display: grid;
  gap: 5px;
}

.hero__motion small {
  color: rgba(225, 249, 231, 0.28);
  font-size: 8px;
  font-weight: 680;
  letter-spacing: 0.22em;
}

.hero__motion span {
  color: var(--muted-strong);
  font-size: clamp(10px, 0.68vw, 11px);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.motion-status {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: rgba(225, 249, 231, 0.28);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.motion-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(69, 247, 106, 0.78);
}

.hero-visual {
  min-width: 0;
}

.hero-visual__meta,
.hero-visual__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 2px;
  color: rgba(225, 249, 231, 0.26);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: clamp(7px, 0.48vw, 8px);
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1;
}

.hero-visual__meta {
  margin-bottom: 10px;
}

.hero-visual__foot {
  margin-top: 11px;
}

.motion-stage {
  position: relative;
  padding: 7px;
  border: 1px solid rgba(216, 255, 224, 0.14);
  border-radius: 22px;
  background: rgba(8, 24, 13, 0.94);
  box-shadow:
    0 32px 94px rgba(0, 0, 0, 0.58),
    0 0 55px rgba(69, 247, 106, 0.035);
  outline: none;
  touch-action: none;
  user-select: none;
}

.motion-stage:focus-visible {
  border-color: rgba(69, 247, 106, 0.5);
  box-shadow:
    0 32px 94px rgba(0, 0, 0, 0.58),
    0 0 0 2px rgba(69, 247, 106, 0.18);
}

.corner {
  position: absolute;
  z-index: 3;
  width: 17px;
  height: 17px;
  border-color: rgba(69, 247, 106, 0.58);
  border-style: solid;
  pointer-events: none;
}

.corner--tl {
  top: -6px;
  left: -6px;
  border-width: 1px 0 0 1px;
  border-radius: 4px 0 0;
}

.corner--tr {
  top: -6px;
  right: -6px;
  border-width: 1px 1px 0 0;
  border-radius: 0 4px 0 0;
}

.corner--bl {
  bottom: -6px;
  left: -6px;
  border-width: 0 0 1px 1px;
  border-radius: 0 0 0 4px;
}

.corner--br {
  right: -6px;
  bottom: -6px;
  border-width: 0 1px 1px 0;
  border-radius: 0 0 4px;
}

.motion-stage__frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: #050c07;
}

.motion-stage__video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #090e0a;
}

.motion-stage__video::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 58%, rgba(0, 0, 0, 0.24) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.16), transparent 19%, transparent 75%, rgba(0, 0, 0, 0.24));
  content: "";
  pointer-events: none;
}

.motion-stage__video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-tag {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.57);
  background: rgba(2, 9, 5, 0.46);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: clamp(6px, 0.42vw, 7px);
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1;
  pointer-events: none;
}

.video-tag--top,
.video-tag--ratio {
  top: 13px;
  padding: 7px 9px;
}

.video-tag--top {
  left: 13px;
}

.video-tag--ratio {
  right: 13px;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.video-tag--brand {
  right: 13px;
  bottom: 12px;
  padding: 6px 8px;
  font-family: Consolas, "SFMono-Regular", monospace;
}

.video-hint {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.48);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: clamp(8px, 0.58vw, 10px);
  transform: translateX(-50%);
  pointer-events: none;
}

.video-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--green-soft);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.video-hint__mobile {
  display: none;
}

.video-loading {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  color: rgba(230, 255, 235, 0.32);
  background: #050a07;
  text-align: center;
  pointer-events: none;
  transition: opacity 450ms ease;
}

.video-loading.is-hidden {
  opacity: 0;
}

.video-loading i {
  position: relative;
  width: 30px;
  height: 30px;
  margin: auto;
  overflow: hidden;
  border: 1px solid rgba(69, 247, 106, 0.2);
  border-radius: 50%;
}

.video-loading i::after {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 14px;
  background: var(--green-soft);
  content: "";
  animation: loading-scan 1.25s ease-in-out infinite;
}

.video-loading span {
  font-size: 7px;
  font-weight: 680;
  letter-spacing: 0.24em;
}

@keyframes loading-scan {
  0%,
  100% {
    transform: translate(-50%, -2px);
  }

  50% {
    transform: translate(-50%, 18px);
  }
}

.motion-stage__timeline {
  display: grid;
  min-height: 34px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 7px;
  color: rgba(225, 249, 231, 0.28);
  grid-template-columns: auto 1fr auto 34px;
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.13em;
}

.timeline__line {
  position: relative;
  height: 2px;
  border-radius: 999px;
  background: rgba(216, 255, 224, 0.1);
}

.timeline__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #176d2d, #45f76a 58%, #deffe5);
  box-shadow: 0 0 12px rgba(69, 247, 106, 0.36);
  transform: scaleX(0.52);
  transform-origin: left center;
}

.timeline__line i {
  position: absolute;
  top: 50%;
  left: 52%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #effff2;
  box-shadow: 0 0 12px rgba(157, 255, 180, 0.92);
  transform: translate(-50%, -50%);
}

.motion-stage__timeline output {
  color: var(--green-soft);
  text-align: right;
}

.platforms {
  display: grid;
  min-width: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 0.86vw, 16px);
}

.platform-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: clamp(154px, 18vh, 192px);
  overflow: hidden;
  align-items: center;
  padding: clamp(14px, 1.15vw, 19px);
  border: 1px solid rgba(211, 255, 220, 0.085);
  border-radius: clamp(18px, 1.25vw, 23px);
  background:
    linear-gradient(136deg, rgba(14, 35, 20, 0.9), rgba(7, 18, 11, 0.82) 58%, rgba(7, 16, 10, 0.9)),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 16px 42px rgba(0, 0, 0, 0.21);
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 1.15vw, 20px);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 420ms var(--ease);
}

.platform-card::before {
  position: absolute;
  top: 0;
  right: 16%;
  left: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(150, 255, 174, 0.32), transparent);
  content: "";
  opacity: 0.72;
}

.platform-card::after {
  position: absolute;
  z-index: 0;
  top: -8rem;
  right: -8rem;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: rgba(69, 247, 106, 0.065);
  content: "";
  filter: blur(48px);
  pointer-events: none;
  transition: background-color 280ms ease;
}

.platform-card:hover {
  border-color: rgba(94, 255, 127, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 22px 55px rgba(0, 0, 0, 0.27),
    0 0 38px rgba(69, 247, 106, 0.045);
  transform: translateY(-3px);
}

.platform-card:hover::after {
  background: rgba(69, 247, 106, 0.1);
}

.platform-card--ios {
  background:
    linear-gradient(136deg, rgba(21, 42, 25, 0.94), rgba(7, 20, 11, 0.86) 60%, rgba(9, 21, 12, 0.92)),
    var(--panel);
}

.platform-card__index {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 16px;
  color: rgba(229, 255, 235, 0.17);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: clamp(7px, 0.48vw, 8px);
  font-weight: 650;
  letter-spacing: 0.14em;
}

.platform-card__qr {
  position: relative;
  z-index: 1;
  width: 130px;
  aspect-ratio: 1;
  padding: 7px;
  border: 1px solid rgba(214, 255, 223, 0.13);
  border-radius: clamp(12px, 0.9vw, 15px);
  background: #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    0 13px 33px rgba(0, 0, 0, 0.25);
}

.platform-card__qr img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: contain;
}

.platform-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.platform-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 7px;
  color: rgba(174, 255, 193, 0.55);
  font-size: clamp(7px, 0.47vw, 8px);
  font-weight: 680;
  letter-spacing: 0.16em;
}

.platform-card__eyebrow i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(69, 247, 106, 0.7);
}

.platform-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 1.28vw, 23px);
  font-weight: 670;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.platform-card__note {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: clamp(9px, 0.65vw, 10px);
  line-height: 1.45;
}

.platform-card__button {
  display: inline-flex;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(10px, 1.15vh, 14px);
  padding: 0 17px;
  border: 1px solid rgba(196, 255, 209, 0.47);
  border-radius: 999px;
  color: #07150a;
  background: linear-gradient(90deg, #b8ffc6, #78f993 72%, #d4ffc5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: clamp(9px, 0.68vw, 11px);
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  transition:
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}

.platform-card__button:not(:disabled):hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 24px rgba(69, 247, 106, 0.2);
  transform: translateY(-1px);
}

.platform-card__button:disabled {
  border-color: rgba(210, 255, 221, 0.1);
  color: rgba(223, 247, 229, 0.36);
  background: rgba(255, 255, 255, 0.04);
  cursor: not-allowed;
}

.platform-card small {
  display: block;
  max-width: 280px;
  margin-top: 8px;
  overflow: hidden;
  color: rgba(226, 247, 231, 0.28);
  font-size: clamp(7px, 0.48vw, 8px);
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.platform-card small a {
  color: rgba(157, 255, 180, 0.64);
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1240px) {
  .download-page__inner {
    padding-inline: clamp(24px, 4.5vw, 58px);
  }

  .hero {
    grid-template-columns: minmax(300px, 0.76fr) minmax(480px, 1.24fr);
    gap: clamp(30px, 4vw, 55px);
  }

  .hero__copy {
    padding-left: 0;
  }

  .hero h1 {
    font-size: clamp(43px, 4.85vw, 61px);
  }

  .platform-card {
    padding: 17px;
    gap: 15px;
  }

  .platform-card__qr {
    width: 130px;
  }
}

@media (max-height: 780px) and (min-width: 861px) {
  .download-page__inner {
    padding-top: 12px;
    padding-bottom: 76px;
    gap: 8px;
  }

  .hero h1 {
    margin-top: 17px;
    font-size: clamp(40px, 4vw, 59px);
  }

  .hero__description {
    margin-top: 16px;
    line-height: 1.62;
  }

  .hero__controls {
    margin-top: 17px;
  }

  .hero__control {
    min-height: 34px;
  }

  .hero__motion {
    margin-top: 18px;
    padding-top: 15px;
  }

  .platform-card {
    min-height: 148px;
    padding-block: 13px;
  }

  .platform-card__qr {
    width: 130px;
  }

  .platform-card small {
    margin-top: 6px;
  }
}

@media (max-width: 860px) {
  body {
    overflow-y: auto;
  }

  .download-page__inner {
    min-height: auto;
    padding-top: 30px;
    padding-bottom: 30px;
    grid-template-rows: auto auto;
    gap: 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero__copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero h1 {
    max-width: 600px;
    font-size: clamp(40px, 10vw, 69px);
  }

  .hero__motion {
    margin-top: 24px;
  }

  .platforms {
    grid-template-columns: 1fr;
  }

  .platform-card {
    min-height: 154px;
    padding: 19px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .platform-card__qr {
    width: 130px;
  }
}

@media (max-width: 560px) {
  .download-page__inner {
    padding-inline: 15px;
  }

  .eyebrow {
    font-size: 8px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.6vw, 55px);
  }

  .hero__description {
    font-size: 12px;
  }

  .hero__controls {
    gap: 7px;
  }

  .hero__control {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 8px;
  }

  .hero__motion {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .hero__motion span {
    white-space: normal;
  }

  .hero-visual__meta,
  .hero-visual__foot {
    font-size: 6px;
  }

  .hero-visual__foot span:last-child {
    display: none;
  }

  .motion-stage {
    padding: 5px;
    border-radius: 18px;
  }

  .motion-stage__frame {
    border-radius: 13px;
  }

  .video-tag--ratio,
  .video-tag--brand {
    display: none;
  }

  .video-hint {
    bottom: 8px;
    padding: 7px 10px;
    font-size: 7px;
  }

  .video-hint__desktop {
    display: none;
  }

  .video-hint__mobile {
    display: inline;
  }

  .platform-card {
    min-height: 166px;
    padding: 17px 15px;
    border-radius: 17px;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 13px;
  }

  .platform-card__qr {
    width: 130px;
    padding: 5px;
    border-radius: 11px;
  }

  .platform-card h3 {
    font-size: 18px;
  }

  .platform-card small {
    white-space: normal;
  }
}
