html, body {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fff;
}

/* 导航栏 */
.navbar {
  background: #fff;
  box-shadow: 0 0.053rem 0.16rem rgba(0, 0, 0, 0.08);
  height: 2.667rem;
  display: flex;
  align-items: center;
  padding: 0 2.133rem;
}

.logo {
  height: 1.493rem;
}

.nav-menu {
  margin-left: auto;
  display: flex;
  gap: 2.133rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.64rem;
  color: #1A1A1A;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s;
}

.nav-menu a.active {
  color: #003D72;
  font-weight: 500;
}

.nav-menu a:hover {
  color: #003D72;
}

.contact-btn {
  background: linear-gradient(135deg, #0070AB 0%, #003D72 100%);
  color: #fff !important;
  padding: 0.32rem 0.8rem;
  border-radius: 1.493rem;
}

/* 横幅 */
.banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 17.6rem;
  text-align: center;
  background-image: url('../../../assets/images/algorithm-capability/2e359b6ecd4546a6bb163b1962151a8b_mergeImage.png');
  background-size: cover;
  background-repeat: no-repeat;
}

.banner h1 {
  font-size: 1.707rem;
  font-weight: bold;
  color: #fff;
  margin: 2.4rem 0 0.853rem 0;
  text-shadow: 0 0.107rem 0.213rem rgba(0, 0, 0, 0.32);
}
.swiper-btn img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.banner p {
  font-size: 0.853rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 0.107rem 0.213rem rgba(0, 0, 0, 0.32);
}

.content {
  opacity: 0;
  transform: translateY(0.533rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
  padding: 0;
}

.content.fadeIn {
  opacity: 1;
  transform: translateY(0);
}

.section {
  background: #fff;
  margin: 0;
  padding: 2.133rem 1.6rem;
  border-radius: 0.267rem;
}

.section-title {
  font-size: 1.28rem;
  font-weight: bold;
  color: #1A1A1A;
  margin: 0 0 1.067rem 0;
  text-align: center;
}

/* 视觉AI算法卡片 */
.algorithm-section {
  background: #F5F7FB;
}

.algorithm-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.067rem;
}

.algorithm-card {
  background: #fff;
  border-radius: 0.267rem;
  padding: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.533rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0.053rem 0.213rem rgba(0, 0, 0, 0.08);
}

.algorithm-card:hover {
  transform: translateY(-0.133rem);
  box-shadow: 0 0.267rem 0.8rem rgba(0, 0, 0, 0.15);
}

.algorithm-card img {
  width: 0.587rem;
  height: 0.587rem;
  flex-shrink: 0;
}

.algorithm-card span {
  font-size: 0.48rem;
  color: #1A1A1A;
  font-weight: 500;
}

/* 停车检测案例 */
.parking-section {
  background: #F5F7FB;
  padding: 0;
}

.swiper-container {
  position: relative;
  width: 100%;
  height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.swiper-container::before,
.swiper-container::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc((100% - 22rem - 0.8rem) / 2);
  height: 13.173rem;
  background: #CCCCCC;
  opacity: 0.8;
  pointer-events: none;
  z-index: 5;
}

.swiper-container::before {
  left: 0;
  width: calc((100% - 22rem - 0.8rem) / 2 - 0.8rem);
  border-radius: 0 0.267rem 0.267rem 0;
}

.swiper-container::after {
  right: 0;
  width: calc((100% - 22rem - 0.8rem) / 2);
  border-radius: 0.267rem 0 0 0.267rem;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
  position: absolute;
  left: 50%;
  transition: transform 0.5s ease;
}

.swiper-slide {
  flex-shrink: 0;
  position: relative;
  margin: 0 0.4rem;
}

.swiper-slide img {
  width: 22rem;
  height: 13.173rem;
  display: block;
  object-fit: cover;
}

.swiper-caption {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.853rem;
  font-weight: 500;
}

.swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #333;
  border: none;
  width: 1.067rem;
  height: 1.067rem;
  border-radius: 50%;
  font-size: 0.64rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 0.053rem 0.267rem rgba(0, 0, 0, 0.2);
}

.swiper-btn:hover {
  background: #f0f0f0;
}

.swiper-btn-prev {
  left: calc(50% - 12.8rem);
  padding-right: 0.2rem;
}

.swiper-btn-next {
  right: calc(50% - 12rem);
  padding-left: 0.2rem;
}

/* 标线标牌案例 */
.marking-section {
  background: #F5F7FB;
}

.marking-content {
  display: flex;
  gap: 2.667rem;
  align-items: center;
}

.marking-left {
  flex: 1;
  position: relative;
  padding-left: 1.6rem;
}

.algorithm-title {
  position: relative;
  padding-left: 1.067rem;
  font-size: 0.64rem;
  color: #1A1A1A;
  font-weight: 600;
  /* margin-bottom: 0.8rem; */
  display: block;
}

.algorithm-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.32rem;
  height: 0.32rem;
  background: #0070AB;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 0.267rem rgba(63,109,192,0.16);
}

.algorithm-item:first-of-type .algorithm-title::after {
  content: '';
  position: absolute;
  left: 0.16rem;
  top: 100%;
  width: 0.053rem;
  height: 2.133rem;
  background: #E0E0E0;
  z-index: 1;
}

.algorithm-item:nth-of-type(2) .algorithm-title::after {
  content: '';
  position: absolute;
  left: 0.16rem;
  top: 100%;
  width: 0.053rem;
  height: 2.133rem;
  background: #E0E0E0;
  z-index: 1;
}

.marking-left h3 {
  font-size: 1.067rem;
  font-weight: bold;
  color: #1A1A1A;
  margin: 0 0 0.8rem 0;
}

.marking-left > p {
  font-size: 0.48rem;
  color: #666;
  line-height: 0.853rem;
  margin: 0 0 1.6rem 0;
}

.algorithm-item {
  display: flex;
  align-items: flex-start;
  gap: 0.533rem;
  margin-bottom: 1.067rem;
}

.algorithm-item img {
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.133rem;
  flex-shrink: 0;
}

.algorithm-item span {
  font-size: 0.533rem;
  color: #1A1A1A;
  font-weight: 500;
}

.algorithm-detail {
  display: flex;
  gap: 1.067rem;
  margin-bottom: 1.067rem;
  align-items: flex-start;
}

.detail-images {
  display: flex;
  gap: 0.533rem;
}

.detail-images img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.133rem;
}

.detail-text {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.detail-text > span {
  font-size: 0.533rem;
  color: #1A1A1A;
  font-weight: 500;
}

.sub-algorithm {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sub-algorithm span {
  font-size: 0.48rem;
  color: #666;
  line-height: 0.8rem;
}

.algorithm-desc {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.algorithm-desc span {
  font-size: 0.533rem;
  color: #1A1A1A;
  font-weight: 500;
}

.algorithm-desc p {
  font-size: 0.48rem;
  color: #666;
  margin: 0;
  padding-left: 1.067rem;
}

.marking-right {
  width: 18rem;
  height: 18rem;
  flex-shrink: 0;
}

.marking-right img {
  width: 100%;
  height: 100%;
  border-radius: 0.267rem;
  object-fit: cover;
}

/* 页脚 */
.footer {
  background: #003D72;
  color: #fff;
  padding: 1.067rem 2.133rem;
}

.footer-content {
  display: flex;
  gap: 2.667rem;
  margin-bottom: 1.067rem;
}

.footer-col {
  flex: 1;
}

.footer-col h4 {
  font-size: 0.427rem;
  font-weight: 500;
  margin: 0 0 0.533rem 0;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 0.373rem;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 0.32rem;
  line-height: 0.587rem;
  cursor: pointer;
}

.footer-col a:hover {
  color: #fff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-info img {
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 0.533rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 1.067rem;
  border-top: 0.027rem solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 0.373rem;
  color: #ccc;
  margin: 0;
}

@media (max-width: 768px) {
  .algorithm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parking-content, .marking-content {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
  }
}
