.cesiumlab-page {
  color: #071932;
  background: #fff;
}

.cesiumlab-page .container {
  max-width: 1200px !important;
}

/* Hero */
.cl-hero {
  position: relative;
  overflow: hidden;
}

.cl-hero__bg {
  display: block;
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.cl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 16, 36, 0.78) 0%,
    rgba(8, 28, 62, 0.45) 50%,
    rgba(6, 19, 40, 0.15) 100%
  );
}

.cl-hero__content {
  position: absolute;
  top: 25%;
  left: clamp(6%, 12vw, 20%);
  z-index: 1;
  color: #fff;
  text-align: left;
}

.cl-hero__title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.3vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}

.cl-hero__desc {
  margin: 0;
  font-size: clamp(12px, 0.9vw, 16px);
  line-height: 1.7;
  opacity: 0.92;
  white-space: nowrap;
}

.cl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.cl-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 28px;
  border-radius: 6px;
  color: #071932;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cl-hero__btn:hover {
  color: #fff;
  background: #9e69f5;
  transform: translateY(-1px);
}

/* Features intro */
.cl-features-head {
  padding: 40px 0 24px;
  text-align: center;
}

.cl-features-head h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  color: #00050e;
}

.cl-features-head p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #555;
  line-height: 1.75;
}

/* Data type tabs */
.cl-tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.cl-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 132px;
  min-height: 52px;
  padding: 8px 14px;
  border: 1px solid rgba(14, 122, 255, 0.15);
  border-radius: 12px;
  color: #27364c;
  font-size: 14px;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 4px 14px rgba(14, 74, 142, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cl-tab-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.cl-tab-btn:hover,
.cl-tab-btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, #0e7aff, #15c4ff);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(14, 122, 255, 0.28);
  transform: translateY(-2px);
}

/* Preview carousel */
.cl-preview {
  max-width: 1000px;
  margin: 0 auto 48px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(145deg, #071932 0%, #0d3d7d 100%);
  box-shadow: 0 16px 40px rgba(14, 74, 142, 0.14);
}

.cl-preview .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.35);
}

.cl-preview .carousel-indicators .active {
  background-color: #15c4ff;
}

.cl-preview-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.cl-preview-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.cl-preview-feature img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.cl-preview-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modules section */
.cl-modules {
  padding: 56px 0 64px;
  background: url(../../img/cesiumlab/beijing.webp) no-repeat center;
  background-size: cover;
}

.cl-module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.cl-module-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 122, 255, 0.1);
  box-shadow: 0 12px 32px rgba(14, 74, 142, 0.1);
}

.cl-module-card--image {
  padding: 16px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.cl-module-card__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
}

.cl-module-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #161616;
}

.cl-module-card__num {
  font-size: clamp(64px, 8vw, 120px);
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  color: rgba(22, 22, 22, 0.12);
}

.cl-module-card__text {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.75;
  color: #555;
}

.cl-module-card__text:last-child {
  margin-bottom: 0;
}

.cl-module-card img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.18));
}

.cl-module-card--offset img {
  margin-top: auto;
}

/* Clients */
.cl-clients {
  padding: 56px 0;
  background: #e9ecef;
  text-align: center;
}

.cl-clients h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
  color: #161616;
}

.cl-clients p {
  margin: 0 auto 32px;
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: #555;
}

.cl-clients-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}

.cl-clients-marquee__mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.cl-clients-marquee__mask img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cl-clients-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cl-clients-row {
  display: flex;
  width: max-content;
}

.cl-clients-row img {
  height: 70px;
  width: auto;
  max-width: none;
}

.cl-scroll-a {
  animation: clScrollA 16s linear infinite;
}

.cl-scroll-b {
  animation: clScrollB 16s linear infinite;
}

.cl-scroll-a--slow {
  animation-duration: 18s;
}

.cl-scroll-b--slow {
  animation-duration: 18s;
}

.cl-scroll-a--fast {
  animation-duration: 10s;
}

.cl-scroll-b--fast {
  animation-duration: 10s;
}

.cl-scroll-a--mid {
  animation-duration: 14s;
}

.cl-scroll-b--mid {
  animation-duration: 14s;
}

@keyframes clScrollA {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes clScrollB {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(50%, 0, 0); }
}

/* Download CTA */
.cl-download-cta {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url(../../img/cesiumlab/qingsongshangshou.webp) no-repeat center;
  background-size: cover;
}

.cl-download-cta h2 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991px) {
  .cl-hero__bg {
    height: 360px;
  }

  .cl-hero__title,
  .cl-hero__desc {
    white-space: normal;
  }

  .cl-preview-features {
    grid-template-columns: 1fr;
  }

  .cl-module-grid {
    grid-template-columns: 1fr;
  }

  .cl-module-card--image {
    order: -1;
  }
}

@media (max-width: 767px) {
  .cl-hero__bg {
    height: 280px;
  }

  .cl-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cl-hero__btn {
    width: 100%;
  }

  .cl-tab-bar {
    gap: 8px;
  }

  .cl-tab-btn {
    min-width: calc(50% - 4px);
    font-size: 13px;
  }

  .cl-preview {
    padding: 14px;
  }

  .cl-module-card {
    padding: 20px;
  }
}
