:root {
  color-scheme: light;
  --ink: #24334e;
  --steel: #6f7d9c;
  --steel-deep: #53617f;
  --soft-blue: #eaf2ff;
  --card-blue: #edf4ff;
  --button-top: #8fa3c5;
  --button-mid: #52698d;
  --button-bottom: #9fb0ca;
  --shadow-blue: rgba(83, 127, 199, 0.22);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: #f8fbff;
}

button {
  font-family: inherit;
}

.landing {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(156deg, rgba(222, 235, 255, 0.74) 0 7%, transparent 7.1% 100%),
    linear-gradient(151deg, transparent 0 15%, rgba(230, 240, 255, 0.66) 15.2% 18.2%, transparent 18.4% 100%),
    radial-gradient(ellipse at 53% 34%, rgba(255, 255, 255, 0.96) 0 19%, transparent 48%),
    radial-gradient(ellipse at 78% 80%, rgba(211, 227, 255, 0.64) 0 16%, transparent 42%),
    radial-gradient(ellipse at 23% 72%, rgba(223, 235, 255, 0.9) 0 14%, transparent 36%),
    linear-gradient(178deg, #fbfdff 0%, #f5f9ff 47%, #edf5ff 100%);
}

.landing::before,
.landing::after {
  content: "";
  position: absolute;
  left: -12vw;
  right: -12vw;
  height: 18vh;
  pointer-events: none;
  background:
    linear-gradient(171deg, transparent 0 24%, rgba(176, 207, 255, 0.18) 24.5% 30%, transparent 30.5% 100%),
    linear-gradient(166deg, transparent 0 58%, rgba(187, 215, 255, 0.18) 58.5% 63%, transparent 63.5% 100%);
}

.landing::before {
  top: 0;
}

.landing::after {
  bottom: 0;
  transform: scaleY(-1);
}

.visual {
  position: absolute;
  left: 6.4vw;
  top: 10.5vh;
  z-index: 2;
  width: min(33vw, 680px);
  height: min(72vh, 760px);
  pointer-events: none;
}

.phone-shell {
  position: absolute;
  left: 9.6vw;
  top: 13vh;
  width: min(17vw, 350px);
  min-width: 258px;
  aspect-ratio: 0.56;
  border-radius: 13% / 8%;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(235, 243, 255, 0.94)),
    #eef5ff;
  box-shadow:
    0 18px 34px rgba(93, 126, 181, 0.13),
    0 0 0 12px rgba(217, 229, 250, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10% / 6%;
  background: linear-gradient(180deg, #f7fbff 0%, #eaf3ff 100%);
  box-shadow:
    inset 0 1px 6px rgba(132, 165, 220, 0.14),
    inset 0 -10px 18px rgba(180, 207, 247, 0.22);
  overflow: visible;
}

.top-chat,
.small-chat,
.voice-chat,
.file-chat {
  position: absolute;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 255, 0.96));
  border: 1px solid rgba(187, 211, 248, 0.62);
  box-shadow: 0 8px 18px rgba(97, 129, 182, 0.14);
}

.top-chat {
  right: -74px;
  top: 47px;
  width: 230px;
  height: 88px;
  border-radius: 24px;
}

.top-chat::after,
.small-chat::after,
.voice-chat::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 58px;
  width: 44px;
  height: 24px;
  background: inherit;
  border-left: 1px solid rgba(187, 211, 248, 0.62);
  border-bottom: 1px solid rgba(187, 211, 248, 0.62);
  transform: skewX(-45deg);
}

.small-chat {
  right: -66px;
  top: 188px;
  width: 196px;
  height: 84px;
  border-radius: 12px;
}

.voice-chat {
  left: -32px;
  top: 318px;
  width: 196px;
  height: 76px;
  border-radius: 18px;
}

.file-chat {
  left: -8px;
  bottom: 78px;
  width: 292px;
  height: 88px;
  border-radius: 20px;
}

.avatar {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 44%, #ffc79b 0 18%, transparent 19%),
    radial-gradient(circle at 50% 65%, #f5fbff 0 31%, transparent 32%),
    linear-gradient(180deg, #cbe0ff, #a6c1ee);
  box-shadow: 0 7px 18px rgba(92, 126, 182, 0.18);
}

.avatar i {
  position: absolute;
  left: 50%;
  top: 21%;
  width: 38%;
  height: 22%;
  border-radius: 50% 50% 42% 42%;
  transform: translateX(-50%);
  background: #5b382a;
}

.avatar-man {
  left: 22px;
  top: 22px;
  width: 64px;
  height: 64px;
}

.avatar-woman-small {
  left: 21px;
  top: 22px;
  width: 54px;
  height: 54px;
  background:
    radial-gradient(circle at 50% 44%, #ffcba8 0 18%, transparent 19%),
    radial-gradient(circle at 50% 65%, #fff 0 31%, transparent 32%),
    linear-gradient(180deg, #e6f2ff, #c3d8f5);
}

.avatar-woman-small i {
  background: #9b5737;
}

.avatar-woman {
  right: 18px;
  top: 292px;
  width: 66px;
  height: 66px;
  background:
    radial-gradient(circle at 50% 46%, #ffc294 0 19%, transparent 20%),
    radial-gradient(circle at 50% 68%, #ffd5dc 0 30%, transparent 31%),
    linear-gradient(180deg, #f6b9d0, #cc76a8);
}

.avatar-woman i {
  width: 48%;
  height: 35%;
  top: 12%;
  border-radius: 42% 42% 58% 58%;
  background: #973b5b;
}

.line {
  position: absolute;
  display: block;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #879cbf, #bccbe1);
  box-shadow: 0 1px 4px rgba(73, 91, 125, 0.22);
}

.line-a,
.line-b,
.line-c {
  left: 112px;
  width: 150px;
}

.line-a {
  top: 28px;
}

.line-b {
  top: 46px;
}

.line-c {
  top: 64px;
}

.line-d,
.line-e,
.line-f,
.line-g {
  left: 82px;
  width: 98px;
}

.line-d {
  top: 24px;
}

.line-e {
  top: 38px;
}

.line-f {
  top: 52px;
}

.line-g {
  top: 66px;
}

.play-dot {
  position: absolute;
  left: 20px;
  top: 23px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fff, #d8e8ff);
  box-shadow: inset 0 0 8px rgba(101, 135, 190, 0.14);
}

.play-dot::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  border-left: 11px solid #91a6c7;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.wave {
  position: absolute;
  bottom: 25px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #90a4c5, #c5d4e9);
}

.wave-1 { left: 70px; height: 16px; }
.wave-2 { left: 82px; height: 22px; }
.wave-3 { left: 94px; height: 12px; }
.wave-4 { left: 106px; height: 26px; }
.wave-5 { left: 118px; height: 18px; }
.wave-6 { left: 130px; height: 24px; }
.wave-7 { left: 142px; height: 14px; }

.doc-icon {
  position: absolute;
  left: 28px;
  top: 18px;
  width: 52px;
  height: 62px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff, #eef4ff);
  box-shadow: 0 5px 14px rgba(111, 139, 184, 0.16);
}

.doc-icon::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  border-left: 15px solid transparent;
  border-bottom: 15px solid #d8e4f4;
}

.doc-icon b {
  position: absolute;
  left: 3px;
  top: 8px;
  width: 34px;
  height: 18px;
  border-radius: 3px;
  background: #62c649;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
  text-align: center;
}

.file-line-a,
.file-line-b,
.file-line-c {
  left: 110px;
  width: 148px;
}

.file-line-a { top: 24px; }
.file-line-b { top: 44px; }
.file-line-c { top: 64px; }

.input-bar {
  position: absolute;
  left: 42px;
  right: 58px;
  bottom: 18px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #eef6ff);
  box-shadow: inset 0 2px 6px rgba(122, 154, 205, 0.16);
}

.send-button {
  position: absolute;
  right: 20px;
  bottom: 19px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d7e8ff, #91b4f1);
  box-shadow: 0 4px 10px rgba(94, 129, 191, 0.22);
}

.send-button::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  width: 11px;
  height: 11px;
  border-left: 3px solid #fff;
  border-top: 3px solid #fff;
  transform: rotate(45deg);
}

.float-badge {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fdfefe 0 15%, #d4dfef 38%, #7c8cab 70%, #596a8b 100%);
  box-shadow:
    0 9px 16px rgba(77, 100, 141, 0.18),
    0 0 0 6px rgba(180, 205, 246, 0.22);
}

.float-badge span,
.float-badge span::before,
.float-badge span::after {
  content: "";
  position: absolute;
  display: block;
}

.video-badge {
  left: 10.2vw;
  top: 1.8vh;
  width: 74px;
  height: 74px;
}

.video-badge span {
  left: 21px;
  top: 27px;
  width: 26px;
  height: 21px;
  border-radius: 5px;
  background: #fff;
}

.video-badge span::after {
  right: -12px;
  top: 4px;
  border-left: 12px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.phone-badge {
  right: 0;
  top: 9.4vh;
  width: 70px;
  height: 70px;
}

.phone-badge span {
  left: 28px;
  top: 19px;
  width: 13px;
  height: 30px;
  border-radius: 9px;
  border: 5px solid #fff;
  border-top-color: transparent;
  transform: rotate(-38deg);
}

.mic-badge {
  left: 1.4vw;
  top: 17.8vh;
  width: 68px;
  height: 68px;
}

.mic-badge span {
  left: 28px;
  top: 16px;
  width: 14px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
}

.mic-badge span::before {
  left: -6px;
  top: 14px;
  width: 26px;
  height: 21px;
  border: 4px solid #fff;
  border-top: 0;
  border-radius: 0 0 15px 15px;
}

.mic-badge span::after {
  left: 4px;
  top: 37px;
  width: 5px;
  height: 12px;
  background: #fff;
}

.lock-badge {
  left: 0;
  top: 42.8vh;
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.lock-badge span {
  left: 20px;
  top: 36px;
  width: 48px;
  height: 38px;
  border-radius: 9px;
  background: #eef5ff;
  border: 5px solid #fff;
}

.lock-badge span::before {
  left: 9px;
  top: -30px;
  width: 24px;
  height: 28px;
  border: 7px solid #fff;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.lock-badge span::after {
  left: 18px;
  top: 16px;
  width: 10px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #70809e, #b8c8dc);
}

.shield-badge {
  right: -3vw;
  bottom: 16vh;
  width: 96px;
  height: 106px;
  border-radius: 34px 34px 42px 42px;
  clip-path: polygon(50% 0, 92% 14%, 84% 74%, 50% 100%, 16% 74%, 8% 14%);
}

.shield-badge span {
  left: 28px;
  top: 38px;
  width: 39px;
  height: 22px;
  border-left: 7px solid #fff;
  border-bottom: 7px solid #fff;
  transform: rotate(-45deg);
}

.content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  width: min(51vw, 1040px);
  margin-left: 43.5vw;
  padding-top: 20.8vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.brand-mark {
  position: relative;
  width: clamp(38px, 3.2vw, 64px);
  height: clamp(38px, 3.2vw, 64px);
  border-radius: 14px;
  background: linear-gradient(145deg, #edf4ff 0%, #8f9dba 47%, #52617f 100%);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.74),
    0 10px 20px rgba(77, 97, 139, 0.22);
}

.brand-mark::before {
  content: "";
  position: absolute;
  left: 25%;
  top: 38%;
  width: 42%;
  height: 29%;
  border-radius: 9px;
  border: 4px solid #fff;
}

.brand-eye {
  position: absolute;
  right: 17%;
  top: 27%;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  background: #fff;
}

.brand-dot {
  position: absolute;
  bottom: 20%;
  width: 8%;
  height: 8%;
  border-radius: 50%;
  background: #fff;
}

.brand-dot-a { left: 27%; }
.brand-dot-b { left: 42%; }
.brand-dot-c { left: 57%; }

.brand h1 {
  margin: 0;
  font-size: clamp(38px, 3.2vw, 66px);
  line-height: 1;
  font-weight: 950;
  color: #182033;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 4px 8px rgba(74, 90, 124, 0.12);
}

.slogan {
  margin: clamp(24px, 3.4vh, 38px) 0 clamp(54px, 6vh, 76px);
  font-size: clamp(42px, 3.75vw, 78px);
  line-height: 1;
  font-weight: 950;
  color: #182033;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.76),
    0 5px 10px rgba(74, 90, 124, 0.14);
  white-space: nowrap;
}

.smart-download {
  position: relative;
  width: min(100%, 460px);
  min-height: clamp(210px, 14vw, 260px);
  padding: clamp(34px, 2.6vw, 48px) 28px clamp(30px, 2.2vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(241, 246, 255, 0.9), rgba(224, 235, 255, 0.83)),
    rgba(238, 245, 255, 0.78);
  box-shadow:
    0 14px 28px rgba(100, 139, 201, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.smart-download::after {
  content: "";
  position: absolute;
  inset: auto 12% -30px;
  height: 48px;
  border-radius: 50%;
  background: rgba(88, 142, 230, 0.12);
  filter: blur(10px);
  pointer-events: none;
}

.platform-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(24px, 2.2vw, 38px);
}

.platform-orb {
  position: relative;
  width: clamp(58px, 4.2vw, 82px);
  height: clamp(58px, 4.2vw, 82px);
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(222, 234, 255, 0.9)),
    #eef5ff;
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 12px 22px rgba(81, 116, 176, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.platform-orb + .platform-orb {
  margin-left: clamp(16px, 1.6vw, 28px);
}

.platform-orb img {
  width: 70%;
  height: 70%;
  display: block;
  filter: drop-shadow(0 4px 4px rgba(64, 82, 117, 0.14));
}

.download-version {
  margin: 0 0 clamp(22px, 1.8vw, 34px);
  color: rgba(120, 132, 156, 0.76);
  font-size: clamp(10px, 0.62vw, 13px);
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}

.primary-download {
  width: clamp(188px, 14vw, 260px);
  height: clamp(40px, 2.9vw, 54px);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 800;
  cursor: pointer;
  background:
    linear-gradient(180deg, var(--button-top) 0%, var(--button-mid) 52%, var(--button-bottom) 100%);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -2px 5px rgba(30, 45, 72, 0.28),
    0 7px 12px rgba(60, 75, 105, 0.24);
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.primary-download:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.primary-download:active {
  transform: translateY(1px);
}

.primary-download:disabled {
  cursor: progress;
  filter: saturate(0.8);
}

.copyright {
  position: fixed;
  left: 50%;
  bottom: 5.2vh;
  transform: translateX(-50%);
  color: rgba(105, 117, 143, 0.58);
  font-size: clamp(10px, 0.72vw, 14px);
  line-height: 1;
}

.help-button {
  position: fixed;
  right: 2.9vw;
  top: 49.3%;
  z-index: 5;
  width: clamp(58px, 4.25vw, 86px);
  height: clamp(58px, 4.25vw, 86px);
  border-radius: 50%;
  border: clamp(5px, 0.35vw, 8px) solid #fff;
  color: #fff;
  text-decoration: none;
  font-size: clamp(34px, 2.5vw, 50px);
  line-height: 1;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: linear-gradient(145deg, #d8e3f2, #6d7e9b 64%, #3f4f6c);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.64),
    0 8px 18px rgba(72, 91, 127, 0.3);
}

.help-button:hover {
  filter: brightness(1.05);
}

.toast[hidden] {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 30;
  transform: translateX(-50%);
  max-width: min(92vw, 360px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(66, 82, 116, 0.94);
  color: #fff;
  font-size: 14px;
  box-shadow: 0 12px 38px rgba(72, 101, 154, 0.28);
}

@media (max-width: 1180px) {
  .visual {
    left: 4vw;
    width: 38vw;
    transform: scale(0.9);
    transform-origin: top left;
  }

  .content {
    width: 58vw;
    margin-left: 36vw;
  }
}

@media (max-width: 900px) {
  .landing {
    min-height: 100svh;
    padding: 32px 18px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .visual {
    position: relative;
    left: auto;
    top: auto;
    width: min(94vw, 430px);
    height: 360px;
    transform: scale(0.72);
    transform-origin: top center;
    margin-bottom: -78px;
  }

  .content {
    width: min(100%, 620px);
    min-height: auto;
    margin-left: 0;
    padding-top: 0;
  }

  .brand h1 {
    font-size: 38px;
  }

  .slogan {
    margin: 24px 0 40px;
    font-size: clamp(34px, 8vw, 52px);
    white-space: normal;
    text-align: center;
  }

  .smart-download {
    width: min(100%, 420px);
    min-height: 210px;
  }

  .copyright {
    position: static;
    transform: none;
    margin-top: 44px;
    font-size: 11px;
  }

  .help-button {
    right: 16px;
    top: auto;
    bottom: 18px;
    width: 54px;
    height: 54px;
    font-size: 31px;
  }
}

@media (max-width: 460px) {
  .visual {
    transform: scale(0.58);
    height: 300px;
    margin-bottom: -96px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand h1 {
    font-size: 34px;
  }

  .slogan {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .smart-download {
    width: min(100%, 330px);
    padding-left: 22px;
    padding-right: 22px;
  }
}
