/* Reset & basics */
* {margin:0; padding:0; box-sizing:border-box;}
body {font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; overflow-x:hidden; background:#fdfdfd;}
a {text-decoration:none; color:inherit;}

/* 顶部标题 */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  display: flex; align-items: center;
  padding: 0 40px;
  z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
}
.header h1 {
  color: #4caf50;
  font-size: 24px;
  font-weight: bold;
}

/* 轮播区域 */
.carousel-container {
  margin-top: 60px;
  width: 100%;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f5f5f5, #ffffff);
  overflow: hidden;
  padding: 40px 0;
}

/* 圆角矩形容器，更宽 */
.carousel-wrapper {
  width: 95%;
  max-width: 1400px;
  height: 90%;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 轮播 track */
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

/* 每个 slide */
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 图片样式 */
.carousel-slide img {
  width: auto;
  height: 80%;
  object-fit: contain;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 1;
  pointer-events: none; /* 防止点击 */
}

/* 左侧信息条（电脑端） */
.cards {
  position: absolute;
  left: 20%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card {
  width: 220px;
  padding: 16px;
  background: rgba(128, 128, 128, 0.15);
  border-radius: 12px;
  color: #000;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card.show {
  opacity: 1;
  transform: translateY(0);
}

/* 手机端专用盒子 */
.mobile-info {
  display: none;
}

/* 导航箭头 */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: rgba(0,0,0,0.3);
  cursor: pointer;
  user-select: none;
  z-index: 10;
}
.arrow.left { left: 20px; }
.arrow.right { right: 20px; }

/* 下载区域 */
.download-section {
  padding: 80px 40px;
  background: #f7f7f7;
  text-align: center;
}
.download-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
}
.download-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.download-card {
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.download-card:hover { transform: translateY(-5px); }
.download-card img { width: 50px; margin-bottom: 12px; }
.download-card span { font-size: 16px; font-weight: bold; }

/* =========================
   Footer
========================= */

.site-footer {
  background: #333333;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}


/* 备案信息 */
.footer-beian {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; /* 控制整体间距 */
  font-size: 13px;
}

.footer-beian a {
  color: #7B7B7B;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
  padding: 0; /* 删除 padding */
}

.footer-beian a:hover {
  color: #4caf50;
}

/* 版权 */
.footer-copy {
  color: #7B7B7B;
  font-size: 12px;
}

.footer-divider {
  color: #7B7B7B;
  opacity: 0.6;
  padding: 0 4px;
}

/* 点击/聚焦状态 */
.footer-nav a:active,

.footer-beian .divider {
  color: #7B7B7B;
  opacity: 0.6;
}

.footer-beian img.beian-icon {
  height: 14px;
  width: 14px;
  object-fit: contain;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
}

.footer-contact {
  margin: 10px 0;
  font-size: 12px;
  color: #7B7B7B;
}

.footer-contact a {
  color: #7B7B7B;
}

.footer-contact a:hover {
  color: #4caf50;
}

/* 手机端适配：图片下方显示盒子，两列显示信息条 */
@media screen and (max-width: 768px) {
  .carousel-slide {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px; /* 图片上方padding */
  }

  .cards {
    display: none; /* 隐藏电脑端信息条 */
  }

  .carousel-container {
    height: 105vh; /* 原来是95vh，可以调大一点，保证信息条显示完整 */
    margin-top: 10px;
  }
  
  .carousel-slide img {
    width: 70%;
    height: auto;
    max-height: 60vh;
    border-radius: 24px;
  }

  .arrow {
    font-size: 30px;
  }

  /* 手机端信息条 */
  .mobile-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 360px;
    margin: 16px auto 0 auto;
    gap: 12px;
  }

  .mobile-card {
    width: 48%;
    padding: 12px;
    background: rgba(128, 128, 128, 0.15);
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    color: #000;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-card.show {
    opacity: 1;
    transform: translateY(0);
  }
}