* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: #333;
}
.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 20px; */
  padding: 0 122px;
}
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  background-color: #fff;
  background: linear-gradient(0deg, #fff 0%, #fff 100%), #f5f6f7;
  box-shadow: 0 -1px 0 0 #eaeaea inset;
  z-index: 1000;
}
header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
main .container {
  width: 100%;
}
main .container .download {
  width: 100%;
  height: auto;
  min-height: 464px;
  border-radius: 24px;
  margin-bottom: 0;
  padding: 64px 117px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  background: linear-gradient(
    to bottom,
    #f5f6f7 0,
    #f5f6f7 45%,
    transparent 45%
  );
}
main .container .download .info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
main .container .download .title {
  width: 90px;
  height: 90px;
  background-image: url("../imgs/logo1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}
main .container .download .info h2 {
  color: rgba(0, 0, 0, 0.92);
  font-family: "PingFang SC";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 136%; /* 54.4px */
  margin-top: 20px;
}
main .container .download .info h4 {
  color: rgba(0, 0, 0, 0.4);
  font-family: "PingFang SC";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 136%; /* 43.52px */
  margin-top: 10px;
}
main .container .download .info .btn {
  width: 215px;
  height: 68px;
  border-radius: 12px;
  background: #1f1e1e;
  margin-top: 74px;
  background-image: url("../imgs/button2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}
main .container .download .pic {
  /* width: 955px;
  aspect-ratio: 955/779; */
  width: 1178px;
  aspect-ratio: 1314/1359;
  background-image: url("../imgs/pic3.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* margin: 0 auto; */
}
main .container .guid {
  width: 100%;
  padding-top: 0;
  margin-top: -400px;
  position: relative;
  z-index: 1;
}
main .container .guid .info {
  display: flex;
  flex-direction: column;
  align-items: center;
}
main .container .guid .info h2 {
  color: rgba(0, 0, 0, 0.92);
  text-align: center;
  font-family: "PingFang SC";
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: 136%; /* 54.4px */
}
main .container .guid .info h4 {
  color: rgba(13, 6, 6, 0.4);
  text-align: center;
  font-family: "PingFang SC";
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 136%; /* 38.08px */
  margin-top: 10px;
}
main .container .guid .pic {
  width: 1184px;
  height: 950px;
  background-image: url("../imgs/pic2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 20px auto;
}
footer {
  width: 100%;
  height: 322px;
  background-color: #f5f6f7;
  padding-bottom: 102px;
}
footer .container {
  padding-top: 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
footer .container .info {
  flex: 1;
  border-bottom: 1px solid #e6e6e6;
  padding-bottom: 20px;
}
footer .container .info p,
.p {
  display: flex;
  align-items: center;
  color: #353535;
  font-family: "PingFang SC";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 10px;
}
footer .container .info .copyright {
  margin-left: auto;
  margin-right: 30px;
}

footer .container .info a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #353535;
}
footer .container .info a:hover {
  color: #1e88e5;
}
footer .container .info .icon {
  width: 18px;
  height: 20px;
  background-image: url("../imgs/copyright.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 10px;
}

/* ==================== 响应式设计 ==================== */

/* 超大屏（>=1920px）- 保持原设计 */
@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
    padding: 0 122px;
  }

  main .container .download .pic {
    width: 1178px;
  }

  main .container .guid .pic {
    width: 1184px;
    height: 950px;
  }
}

/* 大屏桌面（1440px - 1919px）- 按比例缩放 */
@media (max-width: 1919px) and (min-width: 1440px) {
  .container {
    padding: 0 calc(122px * (100vw / 1920));
  }

  main .container .download {
    padding: calc(64px * (100vw / 1920)) calc(117px * (100vw / 1920));
    margin-bottom: calc(150px * (100vw / 1920));
    gap: calc(40px * (100vw / 1920));
  }

  main .container .download .title {
    width: calc(90px * (100vw / 1920));
    height: calc(90px * (100vw / 1920));
  }

  main .container .download .info h2 {
    font-size: calc(40px * (100vw / 1920));
  }

  main .container .download .info h4 {
    font-size: calc(32px * (100vw / 1920));
  }

  main .container .download .info .btn {
    width: calc(215px * (100vw / 1920));
    height: calc(68px * (100vw / 1920));
  }

  main .container .download .pic {
    width: calc(1178px * (100vw / 1920));
    max-width: 100%;
  }

  main .container .guid .info h2 {
    font-size: calc(40px * (100vw / 1920));
  }

  main .container .guid .info h4 {
    font-size: calc(28px * (100vw / 1920));
  }

  main .container .guid .pic {
    width: calc(1184px * (100vw / 1920));
    max-width: 100%;
    height: auto;
    aspect-ratio: 1184 / 950;
  }
}

/* 中等桌面（1024px - 1439px）- 调整布局和尺寸 */
@media (max-width: 1439px) and (min-width: 1024px) {
  .container {
    padding: 0 60px;
  }

  header {
    height: 70px;
  }

  main .container .download {
    padding: 50px 60px;
    margin-bottom: 0;
    gap: 35px;
  }

  main .container .download .title {
    width: 80px;
    height: 80px;
  }

  main .container .download .info h2 {
    font-size: 32px;
  }

  main .container .download .info h4 {
    font-size: 24px;
  }

  main .container .download .info .btn {
    width: 180px;
    height: 56px;
    margin-top: 50px;
  }

  main .container .download .pic {
    width: 100%;
    max-width: 900px;
  }

  main .container .guid {
    padding-top: 0;
    margin-top: -350px;
  }

  main .container .guid .info h2 {
    font-size: 32px;
  }

  main .container .guid .info h4 {
    font-size: 22px;
  }

  main .container .guid .pic {
    width: 100%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 1184 / 950;
  }

  footer {
    height: auto;
    min-height: 280px;
    padding-bottom: 60px;
  }

  footer .container {
    padding-top: 40px;
  }
}

/* 平板（768px - 1023px）- 垂直布局优化 */
@media (max-width: 1023px) and (min-width: 768px) {
  .container {
    padding: 0 40px;
  }

  header {
    height: 60px;
  }

  header .container img {
    max-height: 40px;
    width: auto;
  }

  main .container .download {
    margin-bottom: 0;
    padding: 40px;
    gap: 30px;
  }

  main .container .download .title {
    width: 70px;
    height: 70px;
  }

  main .container .download .info h2 {
    font-size: 28px;
    margin-top: 15px;
  }

  main .container .download .info h4 {
    font-size: 20px;
    margin-top: 8px;
  }

  main .container .download .info .btn {
    width: 160px;
    height: 50px;
    margin-top: 30px;
  }

  main .container .download .pic {
    width: 100%;
    max-width: 600px;
  }

  main .container .guid {
    padding-top: 0;
    margin-top: -250px;
  }

  main .container .guid .info h2 {
    font-size: 28px;
  }

  main .container .guid .info h4 {
    font-size: 18px;
  }

  main .container .guid .pic {
    width: 100%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 1184 / 950;
  }

  footer {
    height: auto;
    min-height: 250px;
    padding-bottom: 40px;
  }

  footer .container {
    padding-top: 30px;
  }

  footer .container .info p,
  footer .container .info .p {
    font-size: 14px;
  }

  footer .container .info .p {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  footer .container .info .copyright {
    margin-left: 0;
    margin-right: 0;
  }
}

/* 手机（<768px）- 完全垂直布局，紧凑设计 */
@media (max-width: 767px) {
  .container {
    padding: 0 20px;
  }

  header {
    height: 50px;
  }

  header .container {
    padding: 0 20px;
  }

  header .container img {
    max-height: 30px;
    width: auto;
  }

  main .container .download {
    margin-bottom: 0;
    padding: 30px 20px;
    border-radius: 16px;
    gap: 25px;
  }

  main .container .download .title {
    width: 60px;
    height: 60px;
  }

  main .container .download .info h2 {
    font-size: 22px;
    margin-top: 12px;
    line-height: 1.4;
  }

  main .container .download .info h4 {
    font-size: 16px;
    margin-top: 8px;
    line-height: 1.4;
  }

  main .container .download .info .btn {
    width: 140px;
    height: 44px;
    margin-top: 25px;
    border-radius: 8px;
  }

  main .container .download .pic {
    width: 100%;
    max-width: 100%;
  }

  main .container .guid {
    padding-top: 0;
    margin-top: -150px;
  }

  main .container .guid .info h2 {
    font-size: 22px;
    line-height: 1.4;
  }

  main .container .guid .info h4 {
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.4;
  }

  main .container .guid .pic {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1184 / 950;
    margin: 15px auto;
  }

  footer {
    height: auto;
    min-height: auto;
    padding-bottom: 30px;
  }

  footer .container {
    padding-top: 25px;
  }

  footer .container h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  footer .container .info {
    padding-bottom: 20px;
  }

  footer .container .info p,
  footer .container .info .p {
    font-size: 12px;
    margin-top: 8px;
    line-height: 1.6;
  }

  footer .container .info .p {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  footer .container .info .p span {
    display: block;
    width: 100%;
  }

  footer .container .info .copyright {
    margin-left: 0;
    margin-right: 0;
    margin-top: 8px;
  }

  footer .container .info a {
    margin-top: 8px;
  }

  footer .container .info .icon {
    width: 14px;
    height: 16px;
  }
}

/* 小屏手机（<480px）- 进一步优化 */
@media (max-width: 479px) {
  .container {
    padding: 0 15px;
  }

  header .container {
    padding: 0 15px;
  }

  main .container .download {
    padding: 25px 15px;
    margin-bottom: 0;
    gap: 20px;
  }

  main .container .download .title {
    width: 50px;
    height: 50px;
  }

  main .container .download .info h2 {
    font-size: 20px;
  }

  main .container .download .info h4 {
    font-size: 14px;
  }

  main .container .guid {
    margin-top: -100px;
  }

  main .container .guid .info h2 {
    font-size: 20px;
  }

  main .container .guid .info h4 {
    font-size: 13px;
  }

  footer .container {
    padding-top: 20px;
  }

  footer .container .info p,
  footer .container .info .p {
    font-size: 11px;
  }
}

/* ==================== Popover 提示框样式（类似 ElMessage.info）==================== */
.popover {
  position: fixed;
  display: none;
  z-index: 2000;
  transform: translateX(-50%);
  animation: popoverFadeIn 0.3s ease-out;
}

.popover-content {
  background-color: #f4f4f5;
  color: #909399;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  white-space: nowrap;
  /* box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); */
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e4e7ed;
  min-width: 100px;
}

.popover-content .icon {
  width: 20px;
  height: 20px;
  color: #909399;
  flex-shrink: 0;
}

.popover-content span {
  color: #606266;
  font-weight: 400;
}

.popover-arrow {
  display: none;
}

@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
