/* ===== 应用与下载 application.html ===== */
body,
html {
  font-family:
    "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 头部导航（与 town.html 保持一致） ---------- */
header {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}
/* 让 logo 图片占满行盒，避免行内图片带来的额外行高，保证与 town.html 渲染一致 */
.logo img {
  display: block;
}
nav ul {
  list-style-type: none;
  display: flex;
  gap: 30px;
}
nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: var(--primary-color);
}
.productnav {
  position: relative;
}
.productItem {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease 0.15s, visibility 0s linear 0.65s;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 40px;
  left: -78px;
  width: 300px;
  min-height: 146px;
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
  padding: 24px 16px;
  cursor: pointer;
  font-family: Alibaba PuHuiTi 3;
  font-size: 16px;
  color: #08042c;
}
.productItem::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px; /* 覆盖 li 与面板之间的空隙，鼠标可从<a>平滑移到面板 */
  height: 16px;
}

.productItem a {
  color: #08042c;
  display: block;
}
.productItem a:hover {
  color: #8e80ff !important;
}
.more {
  display: inline-block;
  top: 2px;
  left: 4px;
  position: relative;
}
.productnav:hover .productItem {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0s;
}
nav ul li.active > a,
nav ul li.active > a span {
  color: #8e80ff;
}
.headerbg {
  width: 100%;
  height: 100px;
  background: #fff;
}

/* ---------- banner ---------- */
.appbanner {
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.appbanner img {
  display: block;
  width: 100%;
  height: auto;
}
.appbanner .mbft {
  display: none;
}

/* ---------- 主要内容 ---------- */
.appmain {
  background: #f6f5fa;
  padding: 60px 0 100px;
}
.app-container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.app-item + .app-item {
  margin-top: 53px;
}

.app-item-title {
  margin: 0 0 36px;
  font-family: "PingFang SC", "Microsoft YaHei", "Alibaba PuHuiTi 3", sans-serif;
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
  color: #08042c;
}

.app-item-row {
  display: flex;
  align-items: center;
  height: 378px;
  background: #ffffff;
  /* 卡片左侧两角 16px，右侧保持直角（与图片圆角对齐） */
  border-radius: 16px 0 0 16px;
}

.app-item-pic {
  width: 58.3333%;
  height: 100%;
  flex: none;
  overflow: hidden;
  /* 左侧两角圆角，右侧保持直角 */
  border-radius: 16px 0 0 16px;
}
.app-item-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 左侧两角 16px，右上/右下不加圆角 */
  border-radius: 16px 0 0 16px;
}

.app-item-info {
  width: 37.5%;
  margin-left: 4.1667%;
}

.app-name {
  display: flex;
  align-items: center;
  height: 38px;
}
.app-name img {
  flex: none;
  width: 38px;
  height: 38px;
  margin-right: 14px;
}
.app-name span {
  font-family: "PingFang SC", "Microsoft YaHei", "Alibaba PuHuiTi 3", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #08042c;
}

.app-sub {
  margin: 15px 0 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Alibaba PuHuiTi 3", sans-serif;
  font-size: 35px;
  font-weight: normal;
  line-height: 1.2;
  color: #08042c;
}

.app-desc {
  margin: 15px 0 0;
  max-width: 370px;
  font-size: 14px;
  line-height: 23px;
  color: #707187;
}

.app-btns {
  display: flex;
  align-items: center;
  margin-top: 29px;
}
.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  box-sizing: border-box;
  border-radius: 100px;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
}
.app-btn-more {
  width: 89px;
  color: #ffffff;
  background: linear-gradient(270deg, #817aff 0%, #c296ff 100%), #a465fd;
}
.app-btn-more:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
/* 需要父级类提升权重：common.css 的 `a:link{background-color:transparent}` 为 0,1,1 */
.app-btns .app-btn-down {
  width: 108px;
  margin-left: 11px;
  color: #7548fd;
  background: #ffffff;
  border: 1px solid #7548fd;
}
.app-btns .app-btn-down:hover {
  transform: translateY(-2px);
  background: #f6f5fa;
}
.app-btns .app-btn-down .app-btn-icon {
  display: block;
  width: 8.5px;
  height: 9px;
  margin-left: 5px;
}

@media (max-width: 1240px) {
  .app-container {
    width: 100%;
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  /* 移动端 headerbg 高度 */
  .headerbg {
    height: 70px;
  }
  .appbanner .pcft {
    display: none;
  }
  .appbanner .mbft {
    display: block;
  }
  .appmain {
    padding: 24px 0 50px;
  }
  .app-container {
    padding: 0 16px;
  }
  .app-item + .app-item {
    margin-top: 20px;
  }
  .app-item-title {
    margin-bottom: 16px;
    font-size: 28px;
  }
  .app-item-row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px;
    box-sizing: border-box;
  }
  .app-item-pic {
    width: 100%;
    height: auto;
    border-radius: 12px 0 0 12px;
  }
  .app-item-pic img {
    height: auto;
    border-radius: 12px 0 0 12px;
  }
  .app-item-info {
    width: 100%;
    margin-left: 0;
    margin-top: 16px;
  }
  .app-name {
    height: 30px;
  }
  .app-name img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  .app-name span {
    font-size: 17px;
  }
  .app-sub {
    margin-top: 12px;
    font-size: 24px;
  }
  .app-desc {
    margin-top: 12px;
    max-width: 100%;
    font-size: 14px;
    line-height: 22px;
  }
  .app-btns {
    margin-top: 20px;
  }
  .app-btn {
    height: 38px;
    font-size: 13px;
  }
  .app-btn-more {
    width: 84px;
  }
  .app-btns .app-btn-down {
    width: 104px;
    margin-left: 10px;
  }
}
