/* ========== 重置与变量 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: #FFFFFF url(../images/bg.jpg) no-repeat center top; color: #301D48; font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

:root {
  --grad-main: linear-gradient(90deg, #3F5DD9, #9C4DBD, #FF4EDA);
  --grad-dark: linear-gradient(90deg, #03115D, #142689);
  --text-main: #301D48;
  --text-inner: #252525;
  --text-sub: #666666;
  --text-light: #989898;
  --nav-active: #811DFE;
  --nav-normal: #55446A;
  --service-blue: #00BAFF;
  --link-blue: #007BD7;
  --placeholder-bg: #F3EEEB;
  --highlight: #E900B8;
  --radius-lg: 50px;
  --shadow-nav: 0 4px 28.5px rgba(249, 222, 241, 1);
}

/* ========== 渐变文字工具类 ========== */
.grad-text {
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text-dark {
  background: var(--grad-dark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ========== 顶部导航 ========== */
.site-header {
  position: fixed; top: 24px; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center; pointer-events: none;
  /* 导航字体：设计稿 4.2「导航/内页：Microsoft YaHei UI」 */
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
}
.nav-wrap {
  width: 1170px; height: 76px;
  display: flex; align-items: center;
  padding: 0 24px;
  background: rgba(255,255,255,1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-nav);
  pointer-events: auto;
}
.logo { margin-right: auto; }
.logo img { height: 45px; width: auto; }
.nav-menu { display: flex; gap: 48px; margin-right: 48px; }
.nav-link { font-size: 15px; line-height: 130%; color: var(--nav-normal); transition: color .2s; }
.nav-link:hover { color: var(--nav-active); }
.nav-link.active { color: var(--nav-active); font-weight: 700; }
.btn-download {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  width: 230px; height: 51px; justify-content: center;
  border-radius: 25.5px;
  background: radial-gradient(circle at 70% 30%, #2E2AB8, #090006);
  color: #FFFFFF; font-size: 15px; font-weight: 400;
  transition: transform .2s, box-shadow .2s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,42,184,.35); }
.btn-download .apple-icon { width: 28px; height: 28px; }

/* ========== 下载按钮悬浮二维码 ========== */
/* 鼠标经过按钮时在下方弹出二维码卡片；背景复用 body 背景图（bg.jpg）垂直翻转，无需额外素材 */
.btn-download .btn-qr {
  position: absolute;
  top: 100%;
  margin-top: 10px; /* 与按钮底部保持 10px 间距 */
  left: 50%;
  transform: translateX(-50%);
  width: 168px;
  padding: 18px 16px 14px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(46, 42, 184, .22);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
}
/* 背景：直接复用 body 背景图并垂直翻转（scaleY(-1)），作为二维码卡片底图 */
.btn-download .btn-qr::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #FFFFFF url(../images/bg.jpg) no-repeat center top;
  background-size: cover;
  transform: scaleY(-1);
  z-index: 0;
}
.btn-download .btn-qr-img {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 129px;
  margin: 0 auto;
}
.btn-download .btn-qr-tip {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-sub);
}
/* 透明桥接条：填补二维码与按钮间 10px 间距，鼠标从按钮滑向二维码时 :hover 不中断 */
.btn-download .btn-qr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;   /* 向上覆盖按钮与二维码之间的 10px 间隙 */
  height: 10px;
}
/* hover 显示：弹层是按钮子元素（含桥接条），鼠标滑入弹层期间 :hover 持续成立，显隐平滑无闪烁 */
.btn-download:hover .btn-qr {
  opacity: 1;
  visibility: visible;
}

/* ========== 客服浮动按钮 ========== */
.service-btn {
  position: fixed; right: 0; top: 45%;
  width: 52px; min-height: 144px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--service-blue); color: #FFFFFF;
  border-radius: 20px 0 0 20px;
  z-index: 99;
}
.service-btn .service-icon { width: 24px; height: 24px; } /* 与移动端客服图标尺寸一致 */
.service-btn .service-text { font-size: 16px; font-weight: 700; line-height: 120%; text-align: center; white-space: nowrap; }
.service-btn .service-tip {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  width: 200px; padding: 10px 14px; border-radius: 10px;
  background: #FFFFFF; color: #301D48; font-size: 13px; line-height: 1.6;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.service-btn:hover .service-tip { opacity: 1; }

/* ========== 底部公司名 ========== */
.footer-copy { text-align: center; font-size: 16px; color: #000000; padding: 40px 0 30px; }

/* ========== 内页雾感背景 ========== */
.blob {
  position: absolute; border-radius: 50%; filter: blur(162.7px); z-index: -1; pointer-events: none;
}
