.app-page {
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  color: #eaf8f4;
  background:
    radial-gradient(circle at 16% 20%, rgba(35, 196, 161, 0.14), transparent 28%),
    radial-gradient(circle at 82% 76%, rgba(26, 91, 109, 0.25), transparent 34%),
    linear-gradient(135deg, #071923 0%, #0a222e 55%, #071a24 100%);
}

.app-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(43, 224, 183, 0.055), transparent 38%),
    linear-gradient(to bottom, transparent 60%, rgba(3, 13, 19, 0.45));
}

.app-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(150, 220, 208, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 220, 208, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
}

.app-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.app-brand .brand-mark {
  width: 39px;
  height: 39px;
  border-radius: 11px;
}

.app-brand .brand-mark > span {
  font-size: 19px;
}

.app-brand > span:last-child {
  display: grid;
  gap: 2px;
}

.app-brand b {
  color: #f0fbf8;
  font-size: 16px;
  letter-spacing: 1.3px;
}

.app-brand em {
  color: #6f918b;
  font-style: normal;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 2px;
}

.app-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #84a59e;
  font-size: 10px;
}

.app-nav-links a:hover {
  color: #d9f2ed;
}

.app-nav-primary {
  display: inline-flex;
  align-items: center;
  height: 33px;
  padding: 0 13px;
  border: 1px solid rgba(109, 222, 195, 0.22);
  border-radius: 8px;
  background: rgba(39, 197, 164, 0.09);
  color: #71e4c7 !important;
  font-weight: 600;
}

.app-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  width: min(1180px, calc(100% - 64px));
  min-height: calc(100dvh - 175px);
  margin: 0 auto;
  padding: 18px 0 44px;
}

.app-copy {
  padding-bottom: 10px;
}

.app-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #5ed2b9;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 2.5px;
  font-weight: 600;
}

.app-kicker i {
  width: 20px;
  height: 1px;
  background: currentColor;
}

.app-copy h1 {
  margin: 20px 0 17px;
  color: #f1fbf8;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.22;
  letter-spacing: -2px;
  font-weight: 700;
}

.app-copy h1 span {
  color: #4be1bf;
}

.app-copy > p {
  max-width: 500px;
  margin: 0;
  color: #8daaa3;
  font-size: 13px;
  line-height: 1.9;
}

.app-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  max-width: 540px;
  margin-top: 27px;
}

.app-feature-grid > div {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 2px 8px;
  padding: 11px 12px;
  border: 1px solid rgba(156, 214, 203, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.app-feature-grid span {
  grid-row: span 2;
  color: #3dbda2;
  font-family: var(--mono);
  font-size: 8px;
  padding-top: 2px;
}

.app-feature-grid b {
  color: #b9d8d1;
  font-size: 9.5px;
  font-weight: 600;
}

.app-feature-grid em {
  color: #5d817a;
  font-style: normal;
  font-size: 7.5px;
}

.app-account {
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 540px;
  margin-top: 20px;
  padding: 10px 13px;
  border: 1px solid rgba(156, 214, 203, 0.1);
  border-radius: 10px;
  background: rgba(8, 31, 40, 0.54);
}

.app-account-label {
  color: #658a81;
  font-size: 8px;
}

.app-account > div {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.app-account b {
  color: #d8f4ed;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.app-account span {
  color: #7fa199;
  font-size: 8px;
}

.app-account > em {
  margin-left: auto;
  color: #587a73;
  font-style: normal;
  font-size: 7.5px;
}

.app-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 19px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  transition: transform 0.16s ease, background 0.16s ease;
}

.app-btn:hover {
  transform: translateY(-1px);
}

.app-btn--primary {
  background: linear-gradient(135deg, #22c49f, #0b8d71);
  color: #fff;
  box-shadow: 0 10px 26px rgba(14, 159, 127, 0.22);
}

.app-btn--ghost {
  border: 1px solid rgba(152, 214, 202, 0.18);
  background: rgba(255, 255, 255, 0.035);
  color: #a8cbc3;
}

.app-url {
  margin-top: 16px;
  color: #5d7f78;
  font-size: 8px;
}

.app-url b {
  color: #86b6ab;
  font-family: var(--mono);
  font-weight: 500;
}

.app-install-link {
  display: inline-block;
  margin-top: 12px;
  color: #6fa99c;
  font-size: 8px;
  border-bottom: 1px dashed rgba(111, 169, 156, 0.3);
  padding-bottom: 2px;
}

.app-install-link:hover {
  color: #a8d5c9;
}

.app-qr-section {
  position: relative;
  display: grid;
  justify-items: center;
}

.qr-glow {
  position: absolute;
  z-index: -1;
  top: 4%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 224, 183, 0.13), transparent 66%);
  filter: blur(6px);
}

.qr-frame {
  width: min(355px, 78vw);
  padding: 8px;
  border: 1px solid rgba(160, 226, 214, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 35px 80px rgba(1, 10, 15, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.qr-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.qr-caption {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  color: #a9ccc4;
  font-size: 9px;
}

.qr-caption i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2bd5ae;
  box-shadow: 0 0 0 4px rgba(43, 213, 174, 0.11);
}

.qr-hint {
  max-width: 380px;
  margin: 7px 0 0;
  color: #5d8179;
  font-size: 7.5px;
  line-height: 1.6;
  text-align: center;
}

.qr-hint code {
  color: #85afa5;
  font-family: var(--mono);
  font-size: 7px;
}

.install-card {
  width: min(355px, 78vw);
  margin-top: 17px;
  padding: 12px 13px;
  border: 1px solid rgba(156, 214, 203, 0.1);
  border-radius: 12px;
  background: rgba(8, 31, 40, 0.5);
}

.install-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(151, 211, 200, 0.08);
}

.install-card-head b {
  color: #b8d8d1;
  font-size: 9px;
  font-weight: 600;
}

.install-card-head span {
  color: #5d8179;
  font-size: 7px;
}

.install-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-top: 8px;
}

.install-row > span {
  min-width: 44px;
  color: #69a092;
  font-family: var(--mono);
  font-size: 7px;
}

.install-row p {
  margin: 0;
  color: #72958d;
  font-size: 7.5px;
  line-height: 1.5;
}

.install-row p b {
  color: #9ec5bb;
  font-weight: 500;
}

.install-row--note p {
  color: #917d5c;
}

.app-foot {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 17px 0 23px;
  border-top: 1px solid rgba(149, 209, 198, 0.07);
  color: #466861;
  font-size: 7.5px;
}

@media (max-width: 980px) {
  .app-nav {
    width: min(100% - 36px, 760px);
  }

  .app-nav-links a:not(.app-nav-primary) {
    display: none;
  }

  .app-hero {
    grid-template-columns: 1fr;
    width: min(100% - 36px, 620px);
    min-height: auto;
    gap: 35px;
    padding-top: 30px;
  }

  .app-copy {
    text-align: left;
  }

  .app-feature-grid,
  .app-account {
    max-width: none;
  }

  .app-qr-section {
    padding-bottom: 20px;
  }

  .app-foot {
    width: min(100% - 36px, 620px);
  }
}

@media (max-width: 560px) {
  .app-nav {
    padding: 17px 0;
  }

  .app-brand b {
    font-size: 14px;
  }

  .app-nav-primary {
    height: 30px;
    padding: 0 10px;
    font-size: 8px;
  }

  .app-hero {
    width: calc(100% - 32px);
    gap: 28px;
    padding-top: 22px;
  }

  .app-copy h1 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }

  .app-copy > p {
    font-size: 11px;
    line-height: 1.8;
  }

  .app-feature-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .app-account {
    flex-wrap: wrap;
    gap: 5px;
  }

  .app-account > em {
    width: 100%;
    margin-left: 0;
  }

  .app-actions {
    flex-direction: column;
  }

  .app-btn {
    width: 100%;
  }

  .app-url {
    line-height: 1.6;
  }

  .qr-frame,
  .install-card {
    width: min(320px, 88vw);
  }

  .app-foot {
    width: calc(100% - 32px);
    flex-direction: column;
    gap: 4px;
  }
}

/* 云端入口 */
.app-cloud-entry {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 58px 24px;
  text-align: center;
}

.app-cloud-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(97, 222, 191, 0.2);
  border-radius: 22px;
  background: rgba(53, 215, 178, 0.07);
  color: #62e0c1;
  font-size: 37px;
}

.app-cloud-entry b {
  color: #dff8f2;
  font-size: 15px;
}

.app-cloud-entry em {
  color: #79a79d;
  font-style: normal;
  font-size: 8px;
}

.app-cloud-entry strong {
  margin-top: 6px;
  color: #5ed7bb;
  font-size: 9px;
  font-weight: 500;
}
