body {
 
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", sans-serif;
  color: #1F2937; /* 深灰蓝色更高级 */
  background-color: #F4F6F9; /* 更柔和的灰白背景 */
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.logo {
  height: 40px;
}

.slogan {
  font-size: 18px;
  color: #666;
}

.carousel {
  width: 100%;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  width: 400%;
  animation: slide 8s infinite;
}

.carousel-wrapper {
  display: flex;
  width: 400%;
  transition: transform 0.5s ease;  /* ⭐加上这个 */
}
.carousel-wrapper img {
  width: 100vw;  /* 每张图固定屏宽 */
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
}


.navbar {
  display: flex;
  justify-content: center;
  background: #ffffff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.navbar a {
  color: #1F2937;
  padding: 16px 24px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.navbar a {
  padding: 16px 24px;
  color: #1F2937;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background: #f1f5f9;
  color: #1D4ED8;
  border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

/* 选中状态：蓝色渐变背景 + 白字 */
.navbar a.active {
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: white !important;
  font-weight: 600;
  border-radius: 6px;
}

.content {
  padding: 40px 20px;
  background: #fff;
}

.content section {
  margin-bottom: 40px;
}

.footer {
   background-color: #1F2937;
  color: #e5e7eb;
  padding-top: 40px;
  border-top: 6px solid #3b82f6;
  font-size: 14px;
}

.footer a {
  color: #9CA3AF;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

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

.footer-top h2 {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 0 20px;
  margin-bottom: 30px;
}

.footer-col {
  flex: 1;
  min-width: 180px;
  margin: 10px;
}

.footer-col h3 {
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col p {
  line-height: 1.6;
}

.qr-code {
  text-align: center;
}

.qr-code img {
  width: 100px;
  height: 100px;
  border: 2px solid #fff;
  margin-bottom: 5px;
}

.footer-bottom {
  text-align: center;
  background: #222;
  padding: 16px;
  font-size: 13px;
  border-top: 1px solid #444;
}
.tab {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0,0,0,0.05);
  overflow: hidden;
  margin: 1rem 0;
}

.menus {
  width: 200px;
  background: #f2f4f7;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.menus li {
  list-style: none;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.menus li:hover,
.menus li.active {
  background: #007bff;
  color: #fff;
}

.right {
  flex: 1;
  padding: 2rem;
  background: #fefefe;
  min-width: 250px;
}

.tab_right {
  display: none;
}

.tab_right.active {
  display: block;
}

.content-wrapper {
  padding: 1rem;
  background: #f5faff;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}

.content-wrapper .title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.content-wrapper .des {
  font-size: 1rem;
  line-height: 1.6;
}
.menus li.active {
  background-color: #007bff;
  color: white;
  font-weight: bold;
}

/* 隐藏所有内容块 */
.tab-section {
  display: none;
}

/* 只显示当前激活的块 */
.tab-section.active {
  display: block;
}

/* 高亮当前导航项 */
.navbar a.active {
  background-color: white;
  color: blue;
  border-radius: 4px;
}
.advantages-list, .download-wrapper, .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.adv-item, .download-box, .qr-box, .contact-info {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
.adv-item ul, .download-box ul {
  list-style: disc inside;
}
.qrcode-client, .code-img {
  width: 120px;
  height: 120px;
  margin-top: 0.5rem;
}
.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: bold;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 默认 PC 每行 3 个 */
  gap: 20px;
  padding: 20px;
}

/* 每个卡片 */
.adv-card {
  background: #f9fcff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 24px;
  text-align: left;
  word-break: break-word;
}

.adv-card:hover {
  transform: translateY(-6px);
}

.adv-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.adv-card h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.adv-card p, .adv-card ul {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}

.adv-card ul {
  padding-left: 1.2em;
  list-style-type: disc;
}

#core-functions {
  padding: 60px 20px;
  background: #f9fbfd;
}

.function-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.function-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
}

.function-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.function-item img {
  width: 40px;
  height: 40px;
}

.function-item h3 {
  font-size: 18px;
  margin: 0;
}

.function-item p {
  font-size: 14px;
  color: #666;
  margin: 4px 0 0;
}

.function-center {
  text-align: center;
  padding: 30px;
}

.circle-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(145deg, #3c8cff, #2980ff);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.circle-logo img {
  width: 60px;
  margin-bottom: 10px;
}

.circle-logo h3 {
  font-size: 20px;
  margin: 4px 0;
}

.circle-logo p {
  font-size: 14px;
  line-height: 1.5;
}
.tab_right .content-wrapper {
  background-color: #f5fdff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 200px;
  padding: 2rem;
  border-radius: 12px;
}
.bg1 { background-image: url('./assets/pic1.png'); }
.bg2 { background-image: url('./assets/pic2.png'); }
.bg3 { background-image: url('./assets/pic3.png'); }
.bg4 { background-image: url('./assets/pic4.png'); }
.bg5 { background-image: url('./assets/pic5.png'); }
.bg6 { background-image: url('./assets/pic6.png'); }
/* ...依此类推 */



/* 图标大小统一 */
.adv-card img.adv-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

/* 📱 移动端优化：每行显示1个 */
@media screen and (max-width: 768px) {
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .adv-card {
    padding: 16px;
    font-size: 14px;
  }
}

/* 📱 小屏下：限制段落宽度不自动折行 */
@media screen and (max-width: 480px) {
  .adv-card p,
  .adv-card ul {
    font-size: 13px;
    line-height: 1.5;
  }

  .adv-card h3 {
    font-size: 16px;
  }
}
.download-section {
  padding: 60px 20px;
  background: #f9fbfe url('./assets/bg_download_pattern.png') no-repeat center;
  background-size: cover;
}

.download-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 20px;
}

.device-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.download-info {
  display: flex;
  flex-direction: row;
  gap: 60px;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}

.android-box,
.qr-box {
  min-width: 220px;
  text-align: left;
}

.android-box h3,
.qr-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.version-info {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px 0;
  font-size: 14px;
  color: #333;
}

.download-btn {
  display: inline-block;
  background-color: #448cf7;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
}

.qrcode-client {
  width: 160px;
  height: 160px;
  display: block;
  margin-top: 10px;
}

.qr-box p {
  text-align: center;
  font-size: 14px;
  margin-top: 8px;
}

/* ✅ 响应式 */
@media screen and (max-width: 768px) {
  .download-info {
    flex-direction: row;  /* 横向排列 */
    flex-wrap: wrap;
    justify-content: space-between;
    text-align: left;     /* 文字左对齐更精致 */
  }

  .android-box, .qr-box {
    flex: 0 0 48%; /* 每项占48%，留点间距 */
    min-width: 160px;
    margin-bottom: 20px;
  }

  .qr-box {
    text-align: center;
  }

  .qrcode-client {
    margin: 10px auto;
  }
}

.contact-section {
  padding: 60px 20px;
  background: #f8fbff;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.contact-details {
  flex: 1;
  min-width: 280px;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

.contact-details a {
  color: #448cf7;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-qr {
  text-align: center;
}

.contact-qr .code-img {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.qr-label {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* 响应式处理 */
@media screen and (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-details {
    text-align: center;
  }
}
.carousel {
  position: relative; /* ✅ 关键：父容器变成定位基准 */
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3); /* ✅ 半透明遮罩层 */
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0,0,0,0.2));*/
  /* backdrop-filter: blur(4px);*/
  /*-webkit-backdrop-filter: blur(4px);*/
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 14px;
}

.contact-details p strong {
  min-width: 40px;
}

.carousel-text {
  animation: fadeInUp 1.2s ease-in-out forwards;
  opacity: 0;
  transform: translateY(20px);
  color: white;
  max-width: 90%;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  line-height: 1.8;
  padding: 0 20px;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 768px) {
  .navbar {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding: 10px;
  }

  .navbar a {
    display: inline-block;
    margin-right: 12px;
    font-size: 14px;
    padding: 10px 16px;
  }
}
@media screen and (max-width: 768px) {
  .carousel-text {
    font-size: 18px;
    padding: 0 12px;
    line-height: 1.6;
  }

  .carousel {
    height: auto;
  }

  .carousel-wrapper img {
    height: 220px;
  }
}
@media screen and (max-width: 768px) {
  .footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    text-align: center;
    padding: 0 20px;
  }

  .footer-col {
    margin: 0 auto;
  }

  .footer-col h3 {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 10px;
  }

  .footer-col ul li {
    font-size: 14px;
    color: #cbd5e1;
  }

  .qr-code img {
    margin: 10px auto;
  }
}


