/* ========== 轮播图 ========== */
.xcx-carousel {
  position: relative;
  padding-top: var(--nav-height);
  background: #fff;
}

.xcx-carousel__viewport {
  position: relative;
  width: 100%;
  height: 456px;
  overflow: hidden;
}

.xcx-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.xcx-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.xcx-carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.xcx-carousel__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
}

.xcx-carousel__content {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 100px 80px 0;
}

.xcx-carousel__title {
  max-width: 946px;
  font-size: var(--fs-hero-title);
  font-weight: 700;
  line-height: 1.2;
  color: #131212;
  margin-bottom: 40px;
}

.xcx-carousel__desc {
  max-width: 1353px;
  font-size: var(--fs-hero-desc);
  line-height: 1.8;
  color: #737373;
}

.xcx-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.xcx-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.xcx-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.xcx-carousel__dots:has(.xcx-carousel__dot:only-child) {
  display: none;
}

/* ========== 功能介绍板块 ========== */
.xcx-features {
  padding: 54px 0 57px;
  background: #fff;
}

.xcx-features__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 81px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 550px));
  gap: 53px 45px;
  justify-content: center;
}

.xcx-feature-card {
  position: relative;
  min-height: 262px;
  padding: 48px 44px 36px;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: #fff;
  background-image: linear-gradient(#fff, #fff), linear-gradient(0deg, #5f7fc7, #fff);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: 0 0 18px #dbdbdb;
}

.xcx-feature-card__head,
.xcx-feature-card__list {
  position: relative;
}

.xcx-feature-card__head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.xcx-feature-card__icon {
  flex-shrink: 0;
  width: auto;
  height: 30px;
}

.xcx-feature-card__title {
  font-size: var(--fs-card-title);
  font-weight: 700;
  line-height: 1;
  color: #131212;
}

.xcx-feature-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 21px;
}

.xcx-feature-card__list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-body);
  line-height: 1.55;
  color: #737373;
}

.xcx-feature-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: #737373;
  transform: translateY(-50%);
}

/* ========== 界面展示 ========== */
.xcx-showcase {
  padding: 0 0 100px;
  background: #fff;
}

.xcx-showcase__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}

.xcx-showcase__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #131212;
  margin-bottom: 18px;
}

.xcx-showcase__subtitle {
  font-size: var(--fs-body-lg);
  line-height: 1;
  color: #737373;
  margin-bottom: 32px;
}

.xcx-showcase__panel {
  margin: 0;
}

.xcx-showcase__panel + .xcx-showcase__panel {
  margin-top: 45px;
}

.xcx-showcase__panel img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ========== 响应式 ========== */
/* 1440及以下 笔记本 */
@media (min-width:1200px) and (max-width:1600px)  {
  .xcx-carousel__viewport{
    height: 340px;
  }

  .xcx-feature-card {
      min-height: 201px;
      padding: 36px 32px 28px;
  }

  .xcx-feature-card__title{
    font-size: 20px;
  }

  .xcx-feature-card__icon{
    height: 24px;
  }

  .xcx-feature-card__list li{
    font-size: 14px;
  }

  .xcx-feature-card__head{
    gap: 14px;
  }

  .xcx-showcase__title{
    font-size: 24px;
  }

  .xcx-showcase__subtitle{
    font-size: 15px;
  }

}

@media (max-width: 860px) {
  .xcx-carousel__viewport {
    height: clamp(320px, 56vw, 456px);
  }

  .xcx-carousel__content {
    padding: 48px 24px 56px;
  }

  .xcx-carousel__title {
    margin-bottom: 24px;
  }

  .xcx-carousel__desc br {
    display: none;
  }

  .xcx-features {
    padding: 40px 0 56px;
  }

  .xcx-feature-card__title{
    font-size: 20px;
  }

  .xcx-feature-card__icon{
    height: 24px;
  }

  .xcx-features__inner {
    grid-template-columns: minmax(0, 550px);
    padding: 0 24px;
    gap: 24px;
  }

  .xcx-feature-card {
    min-height: auto;
    padding: 32px 24px 28px;
  }

  .xcx-feature-card__head {
    margin-bottom: 28px;
    gap: 16px;
  }

  .xcx-showcase {
    padding-bottom: 72px;
  }

  .xcx-showcase__inner {
    padding: 0 24px;
  }

  .xcx-showcase__title {
    margin-bottom: 18px;
  }

  .xcx-showcase__subtitle {
    margin-bottom: 24px;
  }

  .xcx-showcase__panel + .xcx-showcase__panel {
    margin-top: 24px;
  }
}
