:root {
  --primary-color: #1a5599;
  --accent-color: #4caf50;
  --bg-light: #f4f6f9;
  --text-main: #333333;
  --text-sub: #666666;
  --border-color: #eeeeee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
body {
  background-color: #fff;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 滚动动效 */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= 导航栏 & 顶部悬浮下载 ================= */
header {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}
.dl-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-sub);
  cursor: pointer;
  transition: color 0.3s;
}
.dl-trigger:hover {
  color: var(--primary-color);
}
.dl-trigger svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* 顶部悬浮窗 (PC端专用) */
.popover {
  position: absolute;
  top: 160%;
  right: -20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 15px;
  width: 180px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 3px solid var(--primary-color);
  cursor: default;
}
.dl-trigger::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 20px;
}
.dl-trigger:hover .popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.popover img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 5px;
  border: 1px solid var(--border-color);
  padding: 4px;
}
.popover-text {
  font-size: 13px;
  color: var(--text-sub);
}
.popover-ios {
  background: var(--bg-light);
  padding: 15px 10px;
  border-radius: 6px;
}

/* ================= 首屏横幅 Banner ================= */
.hero {
  margin-top: 56px;
  width: 100%;
  background-color: var(--bg-light);
  display: flex;
  flex-direction: column;
}
.hero img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ================= 移动端专属：直观下载展示区 (核心修改区) ================= */
.mobile-dl-showcase {
  display: none; /* PC端隐藏 */
  background: #fff;
  padding: 25px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border-bottom: 10px solid var(--bg-light);
}
.dl-grid-mobile {
  display: flex;
  align-items: stretch;
  max-width: 500px;
  margin: 0 auto;
}
.dl-col-mobile {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}
/* 中间加一条淡淡的分割线 */
.dl-col-mobile:first-child {
  border-right: 1px solid var(--border-color);
}

.dl-mob-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.dl-mob-title svg {
  width: 18px;
  height: 18px;
}

/* 统一下载方块的大小，保证视觉完美对称 */
.dl-mob-box {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
}

.dl-mob-qr {
  border: 1px solid #eee;
  padding: 4px;
}
.dl-mob-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dl-mob-search {
  background: var(--bg-light);
  border: 1px dashed #ccc;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 1px;
}
.dl-mob-search span {
  font-size: 12px;
  font-weight: normal;
  color: var(--text-sub);
  margin-top: 4px;
  letter-spacing: 0;
}

.dl-mob-tip {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* ================= 通用区块布局 ================= */
.section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-gray {
  background-color: var(--bg-light);
}
.sec-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}
.sec-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 12px auto 0;
}

/* ================= 公司介绍 ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-text p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 20px;
  text-align: justify;
}
.about-text strong {
  color: var(--primary-color);
}
.about-features {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.feature-tag {
  background: var(--bg-light);
  color: var(--primary-color);
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: bold;
  border-left: 3px solid var(--accent-color);
}

/* ================= 实力展示 (Vue Tab) ================= */
.tab-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}
.tab-btn {
  padding: 12px 35px;
  font-size: 16px;
  font-weight: bold;
  background: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s;
}
.tab-btn.active {
  background: var(--primary-color);
  color: #fff;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.photo-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}
.photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.photo-desc {
  padding: 15px;
  text-align: center;
  font-weight: bold;
  border-top: 2px solid var(--bg-light);
}

/* ================= 底部 APP下载区 (PC端为主) ================= */
.download-wrap {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}
.dl-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 8px;
  padding: 40px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.dl-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: bold;
}
.qr-box {
  width: 160px;
  height: 160px;
  margin: 0 auto 15px;
  padding: 10px;
  border: 1px solid var(--border-color);
  background: #fafafa;
}
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ios-icon {
  font-size: 60px;
  color: #333;
  margin-bottom: 20px;
}
.search-box {
  background: var(--bg-light);
  border: 1px dashed #ccc;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
}
.search-text {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: bold;
  letter-spacing: 2px;
}

/* ================= 页脚 ================= */
footer {
  background-color: #2c3e50;
  color: #95a5a6;
  text-align: center;
  padding: 30px 20px;
}

/* ================= 移动端自适应 (重点适配区) ================= */
@media (max-width: 768px) {
  .logo-text {
    font-size: 18px;
  }
  .logo-text svg {
    width: 24px;
    height: 24px;
  }

  /* 顶部只留图标，隐藏悬浮窗 */
  .dl-trigger-text {
    display: none;
  }
  .header-actions {
    /* gap: 15px; */
    display: none;
  }
  .dl-trigger svg {
    width: 24px;
    height: 24px;
  }
  .popover {
    display: none !important;
  }

  .hero {
    margin-top: 50px;
  }

  /* 【核心】显示手机端专属平铺下载区 */
  .mobile-dl-showcase {
    display: block;
  }

  /* 【核心】隐藏页面最底部的庞大下载模块 */
  #pc-download-section {
    display: none;
  }

  .section {
    padding: 40px 20px;
  }
  .sec-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-features {
    flex-wrap: wrap;
  }
  .tab-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}
