/* ================= 首页 ================= */
.body {
  background-image: url('../assets/index/sy_bj@2x.png');
  background-repeat: no-repeat;
}

.page-main {
  /* 给固定导航栏留出高度 */
  padding-top: 72px;
}
.blue-color{
  color: #875EF8;
}

/* ---------- 首屏 Hero ---------- */
.hero {
  /* 与 .page-main 的 padding-top 抵消，让背景图从页面最顶部开始，
     避免固定导航栏把 hero 背景图顶部“切掉”一截 */
  margin-top: -72px;
  /* 原 60px + 导航栏高度 72px，保证标题等首屏内容仍在导航栏下方 */
  padding-top: 132px;
  text-align: center;
  background-image: url('../assets/index/db_bj@2x.png');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position-y: -30px;
}
.hero .hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  font-weight: bold;
  color: #2E2D33;
  letter-spacing: 3px;
}
.hero .hero-title img {
  width: 114px;
  margin-right: 16px;

}
.hero .hero-subtitle {
  margin-top: 22px;
  font-weight: 400;
  font-size: 22px;
  color: #444444;
  letter-spacing: 1px;
}

/* 下载按钮 */
.hero .download-btns {
  margin-top: 42px;
  display: flex;
  justify-content: center;
}
.hero .download-btn {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 28px;
  margin: 0 10px;
  background: #ffffff;
  border-radius: 26px;
  box-shadow: 0 8px 24px rgba(90, 70, 180, 0.12);
  font-size: 16px;
  color: #333333;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.hero .download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(90, 70, 180, 0.2);
  color: #7b5cf6;
}
.hero .download-btn img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* 产品预览 */
.hero .preview-panel {
  margin-top: 60px;
  display: flex;
  padding: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(80, 60, 160, 0.14);
}
.hero .preview-tabs {
  width: 170px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 10px;
}
.hero .preview-tabs .tab-item {
  height: 50px;
  line-height: 50px;
  margin-bottom: 6px;
  border-radius: 10px;
  font-size: 15px;
  color: #555555;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.hero .preview-tabs .tab-item:last-child {
  margin-bottom: 0;
}
.hero .preview-tabs .tab-item:hover {
  color: #7b5cf6;
  background-color: #f5f2ff;
}

.hero .preview-tabs .tab-item.active {
  background: linear-gradient(90deg, #9d7bff 0%, #7c5cff 100%);
  color: #ffffff;
  font-weight: bold;
  position: relative;
}
.hero .preview-tabs .tab-item.active::after{
  content: '';
  width: 52px;
  height: 72px;
  background-image: url('../assets/index/ym@2x.png');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: -25px;
  transform: translate(-50%, -50%);
}
.hero .preview-screen {
  flex: 1;
  margin-left: 18px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}
.hero .preview-screen img {
  display: block;
  width: 100%;
}

/* ---------- 数据统计 ---------- */
.stats {
  margin-top: 70px;
}
.stats .stats-card {
  display: flex;
  padding: 42px 0;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 44px rgba(80, 60, 160, 0.08);
}
.stats .stat-item {
  flex: 1;
  position: relative;
  text-align: center;
}
.stats .stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 88px;
  background: #C8C8C8;
}
.stats .stat-item .num {
  font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
  font-weight: 900;
  font-size: 36px;
  color: #333333;
}
.stats .stat-item .label {
  margin-top: 14px;
  font-family: PingFang SC, PingFang SC;
  font-weight: bold;
  font-size: 20px;
  color: #333333;
}

/* ---------- 功能丰富 ---------- */
.features {
  margin-top: 100px;
  text-align: center;
}
.features .section-title {
  display: inline-block;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #7b5cf6 0%, #4c8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #2E2D33;
}
.features .section-subtitle {
  margin-top: 16px;
  font-weight: 400;
  font-size: 20px;
  color: #333333;
  letter-spacing: 1px;
}
.features .feature-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: left;
}
.features .feature-card {
  padding: 28px 22px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(80, 60, 160, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.features .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(80, 60, 160, 0.13);
}
.features .feature-card img {
  width: 52px;
  height: 52px;
}
.features .feature-card .title {
  margin-top: 18px;
  font-weight: bold;
  font-size: 20px;
  color: #333333;
}
.features .feature-card .desc {
  margin-top: 10px;
  font-weight: 400;
  font-size: 14px;
  color: #333333;
  line-height: 24px;
  text-align: center;
}

/* ---------- 特色展示 ---------- */
.showcase {
  margin-top: 70px;
}
/* 锚点定位时预留固定导航栏高度 + 顶部留白，避免目标内容被遮挡 */
.showcase[id] {
  scroll-margin-top: 88px;
}
.showcase .showcase-card {
  display: flex;
  align-items: center;
  padding: 56px 64px;
  width: 1200px;
  height: 640px;
  background: #FFFFFF;
  box-shadow: 0px 0px 30px 1px rgba(42,23,209,0.1);
  border-radius: 20px 20px 20px 20px;
}
.showcase .showcase-img {
  flex: 0 0 44%;
}
.showcase .showcase-img img {
  display: block;
  width: 100%;
  border-radius: 14px;
}
.showcase .showcase-text {
  flex: 1;
  padding-left: 64px;
}
.showcase .showcase-card.reverse .showcase-text {
  padding-left: 0;
  padding-right: 64px;
}
.showcase .tag {
  display: inline-block;
  font-weight: bold;
  font-size: 20px;
  color: #FA872F;
  border-radius: 6px;
}
.showcase .showcase-text .title {
  margin-top: 20px;
  font-family: Alibaba PuHuiTi, Alibaba PuHuiTi;
  font-weight: bold;
  font-size: 40px;
  color: #2E2D33;
  letter-spacing: 1px;
}
.showcase .showcase-text .desc {
  margin-top: 20px;
  font-weight: 400;
  font-size: 20px;
  color: #666666;
  line-height: 32px;
}
.showcase .go-btn {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 26px;
  border: 1px solid #e0e0e0;
  border-radius: 23px;
  background: #ffffff;
  font-size: 15px;
  color: #333333;
  transition: border-color 0.2s, color 0.2s;
}
.showcase .go-btn:hover {
  border-color: #7b5cf6;
  color: #7b5cf6;
}
.showcase .go-btn .arrow-right {
  background-image: url('../assets/index/qw_def@2x.png');
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin-left: 10px;
}
.showcase .go-btn:hover .arrow-right {
    background-image: url('../assets/index/qw_hover@2x.png');
}

/* ---------- 安全保障 ---------- */
.security {
  margin-top: 90px;
  text-align: center;
}
.security .section-title {
  font-size: 36px;
  font-weight: bold;
  color: #2E2D33;
  letter-spacing: 2px;
}
.security .section-subtitle {
  margin-top: 18px;
  font-weight: 400;
  font-size: 16px;
  color: #666666;
  line-height: 28px;
}
.security .security-img {
  margin-top: 40px;
}
.security .security-img img {
  width: 510px;
  border-radius: 6px;
}

/* ---------- 新闻资讯 ---------- */
.media-news {
  margin-top: 90px;
  text-align: center;
}
.media-news .section-title {
  font-size: 36px;
  font-weight: bold;
  color: #2E2D33;
  letter-spacing: 2px;
}
.media-news .section-title .gradient-text {
  background: linear-gradient(90deg, #7b5cf6 0%, #4c8dff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.media-news .section-subtitle {
  margin-top: 16px;
  font-weight: 400;
  font-size: 16px;
  color: #999999;
  letter-spacing: 1px;
}
.media-news .media-news-main {
  margin-top: 44px;
  display: flex;
  align-items: center;
}
.media-news .page-arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  cursor: pointer;
  transition: opacity 0.2s;
}
.media-news .page-arrow.prev {
  background-image: url('../assets/index/sy_def@2x(1).png');
  margin-right: 24px;
}
.media-news .page-arrow.prev:hover {
  background-image: url('../assets/index/sy_hover@2x(1).png');
}
.media-news .page-arrow.next {
  background-image: url('../assets/index/xy_def@2x.png');
  margin-left: 24px;
}
.media-news .page-arrow.next:hover {
  background-image: url('../assets/index/xy_hover@2x.png');
}
.media-news .page-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.media-news .media-news-grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.media-news .media-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(80, 60, 160, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.media-news .media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(80, 60, 160, 0.13);
}
.media-news .media-card-title {
  font-weight: bold;
  font-size: 17px;
  color: #2E2D33;
  line-height: 26px;
  height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.media-news .media-card-quote {
  position: relative;
  margin-top: 12px;
  /* 高度 = padding-top 16 + 3行×22，保证第4行文字起点(86.5px)落在裁剪线外 */
  padding: 16px 18px 0 24px;
  font-weight: 400;
  font-size: 13px;
  color: #999999;
  line-height: 22px;
  height: 82px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.media-news .media-card-quote::before,
.media-news .media-card-quote::after {
  position: absolute;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 32px;
  line-height: 1;
  color: #cdbcf3;
}
.media-news .media-card-quote::before {
  content: '“';
  top: 4px;
  left: 2px;
}
.media-news .media-card-quote::after {
  content: '”';
  right: 2px;
  bottom: 2px;
}
.media-news .media-card-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
}
.media-news .media-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.media-news .media-meta {
  margin-left: 12px;
  min-width: 0;
}
.media-news .media-name {
  font-weight: bold;
  font-size: 15px;
  color: #6C43E2;
}
.media-news .media-date {
  margin-top: 4px;
  font-size: 12px;
  color: #aaaaaa;
}
.media-news .view-origin {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 13px;
  color: #6C43E2;
  transition: opacity 0.2s;
}
.media-news .view-origin:hover {
  opacity: 0.75;
}
.media-news .media-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  font-size: 14px;
  color: #999999;
  text-align: center;
}

/* 分页器 */
.media-news .media-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.media-news .page-btn {
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  padding: 0 8px;
  margin: 0 5px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(80, 60, 160, 0.08);
  font-size: 14px;
  color: #555555;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.media-news .page-btn:hover {
  color: #6C43E2;
}
.media-news .page-btn.active {
  background: linear-gradient(90deg, #9d7bff 0%, #7c5cff 100%);
  color: #ffffff;
}
.media-news .page-btn.edge {
  padding: 0 14px;
  background: linear-gradient(90deg, #9d7bff 0%, #7c5cff 100%);
  color: #ffffff;
}
.media-news .page-btn.edge:hover {
  color: #ffffff;
}
.media-news .page-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.media-news .page-ellipsis {
  margin: 0 5px;
  font-size: 14px;
  color: #999999;
}

/* ---------- 来自用户的肯定 ---------- */
.testimonials {
  margin-top: 90px;
  text-align: center;
}
.testimonials .section-title {
  font-size: 36px;
  font-weight: bold;
  color: #2E2D33;
  letter-spacing: 2px;
}
.testimonials .section-subtitle {
  margin-top: 16px;
  font-weight: 400;
  font-size: 18px;
  color: #666666;
  letter-spacing: 1px;
}
.testimonials .testimonial-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.testimonials .testimonial-card {
  padding: 28px 26px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(80, 60, 160, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonials .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 44px rgba(80, 60, 160, 0.13);
}
.testimonials .user-info {
  display: flex;
  align-items: center;
}
.testimonials .user-info img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testimonials .user-meta {
  margin-left: 14px;
}
.testimonials .user-meta .name {
  font-weight: bold;
  font-size: 17px;
  color: #333333;
}
.testimonials .user-meta .role {
  margin-top: 6px;
  font-weight: 400;
  font-size: 13px;
  color: #999999;
}
.testimonials .quote {
  margin-top: 18px;
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  line-height: 24px;
}

/* ---------- 资讯动态 ---------- */
.news {
  margin-top: 90px;
  text-align: center;
}
.news .section-title {
  display: inline-block;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
}
.news .news-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.news .news-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(80, 60, 160, 0.06);
  overflow: hidden;
}
.news .news-header {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #f2f2f7;
}
.news .news-header img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.news .news-header .news-title {
  margin-left: 12px;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
}
.news .news-header .more {
  margin-left: auto;
  font-size: 13px;
  color: #999999;
  transition: color 0.2s;
}
.news .news-header .more:hover {
  color: #7b5cf6;
}
.news .news-list {
  padding: 4px 24px 14px;
}
.news .news-list li + li {
  border-top: 1px solid #f5f5f8;
}
.news .news-list li a {
  display: flex;
  align-items: center;
  height: 42px;
  font-size: 14px;
  color: #666666;
}
.news .news-list .item-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s;
}
.news .news-list li a:hover .item-title {
  color: #7b5cf6;
}
.news .news-list .date {
  margin-left: 12px;
  flex-shrink: 0;
  font-size: 12px;
  color: #aaaaaa;
}
.news .news-list .gt {
  margin-left: 8px;
  flex-shrink: 0;
  font-size: 12px;
  color: #c0c0c0;
}

/* ---------- 下载横幅 ---------- */
.download-banner {
  margin-top: 90px;
  padding: 80px 0;
  text-align: center;
  background-image: url('../assets/index/kp@2x.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.download-banner .banner-title {
  font-size: 38px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 3px;
}
.download-banner .download-btns {
  margin-top: 46px;
  display: flex;
  justify-content: center;
}
.download-banner .download-btn {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 30px;
  margin: 0 14px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(30, 30, 120, 0.18);
  font-size: 16px;
  color: #333333;
  transition: transform 0.2s, box-shadow 0.2s, color 0.2s;
}
.download-banner .download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(30, 30, 120, 0.28);
  color: #7b5cf6;
}
.download-banner .download-btn img {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}