/* ===== 1. 字体定义 ===== */
@font-face {
  font-family: "Alibaba PuHuiTi 2.0";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../fonts/AlibabaPuHuiTi-2-55-Regular_1.ttf) format("truetype");
}

@font-face {
  font-family: "Alibaba PuHuiTi 2.0";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url(../fonts/AlibabaPuHuiTi-2-65-Medium_1.ttf) format("truetype");
}

@font-face {
  font-family: "Alibaba PuHuiTi 2.0";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url(../fonts/AlibabaPuHuiTi-2-75-SemiBold_1.ttf) format("truetype");
}

@font-face {
  font-family: "Alibaba PuHuiTi 2.0";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url(../fonts/AlibabaPuHuiTi-2-85-Bold_1.ttf) format("truetype");
}

@font-face {
  font-family: "YouSheBiaoTiHei";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url(../fonts/优设标题黑_1.ttf) format("truetype");
}

/* ===== 2. 基础重置 ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(51, 51, 51, 0.18) rgba(245, 245, 245, 0.35);
}

body {
  font-family: "Alibaba PuHuiTi 2.0", sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.5;
  overflow-x: hidden;
  opacity: 1;
  transition: opacity 0.5s ease;
}

/* 页面加载完成前隐藏内容，避免字体/图片闪烁 */
.js-loading body {
  opacity: 0;
}

img {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== 3. 滚动条 ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(245, 245, 245, 0.35);
}

::-webkit-scrollbar-thumb {
  border: 2px solid rgba(245, 245, 245, 0.35);
  border-radius: 999px;
  background: rgba(51, 51, 51, 0.18);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(51, 51, 51, 0.28);
}

/* ===== 4. 公共工具类 ===== */
.container {
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.gradient-text {
  background: linear-gradient(90deg, #8255fa 0%, #0062ff 100%);
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ===== 5. 导航公共元素 ===== */
.nav-logo {
  width: 112px;
  height: 30px;
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 44px;
}

/* 预约演示按钮公共基础 */
.btn-demo,
.nav-btn-demo,
.nav-demo {
  cursor: pointer;
  font-size: 14px;
  background-image: linear-gradient(90deg, #8255fa 0%, #0062ff 100%);
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 400;
}

.nav-btn-demo {
  /* padding-right: 12px; */
  border-radius: 100px;
}

/* ===== 6. 移动端入口 ===== */
.mobile-entry {
  position: relative;
}

.mobile-trigger {
  padding-right: 26px;
  color: rgba(19, 19, 19, 1);
  font-family: "Alibaba PuHuiTi 2.0";
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-align: left;
  cursor: pointer;
}

.mobile-popup {
  width: 110px;
  height: 220px;
  box-sizing: border-box;
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 16px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-shadow: 0 8px 24px rgba(51, 51, 51, 0.08);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.mobile-entry:hover .mobile-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(8px);
}

.mobile-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-qr-item img {
  width: 66px;
  height: 66px;
  margin-bottom: 0;
}

.mobile-qr-item span {
  color: rgba(19, 19, 19, 1);
  font-family: "Alibaba PuHuiTi 2.0";
  font-style: normal;
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: 0;
  text-align: left;
  white-space: nowrap;
}

/* ===== 7. 页脚公共样式 ===== */
.footer,
.ai-footer {
  width: 100%;
  background: #fff;
  padding-bottom: 60px;
  border-top: 1px solid #eee;
}

.footer-inner,
.ai-footer .container {
  width: 1100px;
  margin: 0 auto;
}

.footer-logo {
  width: 110px;
  height: auto;
  display: block;
  margin: 50px auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 80px;
  padding: 40px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.divider {
  background: #eee;
  height: 100%;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-col p {
  color: #666;
  margin-bottom: 30px;
  font-size: 14px;
}

.footer-download {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-download h4 {
  text-align: center;
  margin-bottom: 30px;
}

.qr-flex {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.qr-item img {
  width: 100px;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #999;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.footer-policy {
  display: flex;
  align-items: center;
}

.footer-policy a {
  color: #999;
  text-decoration: none;
}

.footer-policy-divider {
  margin: 0 12px;
  color: #d8d8d8;
}
