/* ============================================================
   首页主体 — 天翼云风格（与 k8-hero 同级独立模块）
   不依赖 home.css / home1.css
   ============================================================ */

.k8-main {
  background: #f2f3f5;
  color: #1d2129;
  padding-bottom: 0;
}

.k8-main__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.k8-main__head {
  margin-bottom: 32px;
  text-align: center;
}

.k8-main__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.k8-main__desc {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #86909c;
}

.k8-main__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #4e5969;
  text-decoration: none;
  transition: color 0.2s;
}

.k8-main__link:hover {
  color: #165dff;
}

/* ============================================================
   为何选择我们 · 千问大模型
   ============================================================ */
.k8-why {
  padding: 56px 0 48px;
  background: #f2f3f5;
}

.k8-why__headline {
  margin: 0 0 32px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  color: #1d2129;
  letter-spacing: -0.02em;
}

.k8-why__mobile {
  display: none;
}

.k8-why__panel {
  display: grid;
  grid-template-columns: minmax(300px, 36%) 1fr;
  min-height: 500px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.k8-why__intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 36px;
  min-height: 500px;
  overflow: hidden;
  background: #fff;
  border-right: 1px solid var(--k8-border);
}

.k8-why__video {
  position: absolute;
  right: -8%;
  bottom: -6%;
  width: 78%;
  height: 72%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0.92;
  -webkit-mask-image: radial-gradient(
    ellipse 88% 88% at 78% 82%,
    rgba(0, 0, 0, 0.88) 18%,
    rgba(0, 0, 0, 0.45) 52%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 88% 88% at 78% 82%,
    rgba(0, 0, 0, 0.88) 18%,
    rgba(0, 0, 0, 0.45) 52%,
    transparent 78%
  );
}

.k8-why__intro-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.9) 38%,
      rgba(255, 255, 255, 0.45) 62%,
      rgba(255, 255, 255, 0.08) 100%
    ),
    radial-gradient(
      ellipse 70% 65% at 12% 28%,
      rgba(255, 255, 255, 0.96) 0%,
      transparent 72%
    );
  pointer-events: none;
}

.k8-why__intro-body {
  position: relative;
  z-index: 2;
}

.k8-why__intro-title {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #1d2129;
}

.k8-why__features {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.k8-why__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: #4e5969;
}

.k8-why__feature:last-child {
  margin-bottom: 0;
}

.k8-why__feature-icon {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 18px;
  color: var(--k8-primary);
}

.k8-why__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 22px;
  border: 1px solid var(--k8-dark);
  border-radius: var(--k8-radius-sm);
  background: transparent;
  color: var(--k8-dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.k8-why__cta:hover {
  background: var(--k8-dark);
  border-color: var(--k8-dark);
  color: #fff;
  transform: none;
  box-shadow: none;
}

.k8-why__cta i {
  font-size: 16px;
}

.k8-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
}

.k8-why__card {
  padding: 26px 28px 24px;
  border-left: 1px solid #eef0f4;
  border-bottom: 1px solid #eef0f4;
  transition: background 0.2s ease;
}

.k8-why__card:nth-child(2n) {
  border-right: none;
}

.k8-why__card:nth-child(n + 5) {
  border-bottom: none;
}

.k8-why__card:hover {
  background: var(--k8-light);
}

.k8-why__card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: var(--k8-radius-sm);
  background: var(--k8-pearl-brand-soft);
  color: var(--k8-primary);
  font-size: 20px;
}

.k8-why__card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.k8-why__card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #1d2129;
}

.k8-why__card-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--k8-radius-sm);
  background: var(--k8-pearl-brand-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--k8-primary);
  white-space: nowrap;
}

.k8-why__card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #86909c;
}

/* ============================================================
   智算能力卡片
   ============================================================ */
.k8-aishop {
  padding: 56px 0;
  background: #f2f3f5;
}

.k8-aishop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.k8-aishop__card {
  position: relative;
  min-height: 168px;
  padding: 22px 20px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #1d2129 center/cover no-repeat;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.k8-aishop__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.12) 38%, transparent 62%);
  pointer-events: none;
}

.k8-aishop__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.k8-aishop__card-body {
  position: relative;
  z-index: 1;
}

.k8-aishop__card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.k8-aishop__card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.k8-aishop__card-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* ============================================================
   云产品
   ============================================================ */
.k8-products {
  padding: 56px 0;
  background: #fff;
}

.k8-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.k8-products__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 20px;
  padding: 4px;
  background: #f2f3f5;
  border-radius: 8px;
}

.k8-products__tab {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #4e5969;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.k8-products__tab:hover {
  color: #1d2129;
}

.k8-products__tab--active {
  background: #fff;
  color: #165dff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

.k8-products__panel {
  display: none;
}

.k8-products__panel--active {
  display: block;
  animation: k8-main-in 0.35s ease both;
}

@keyframes k8-main-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.k8-products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.k8-products__card {
  display: flex;
  flex-direction: column;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.k8-products__card:hover {
  border-color: #c9d8ff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
  transform: translateY(-2px);
}

.k8-products__card-media {
  height: 100px;
  background: center/cover no-repeat;
}

.k8-products__card-body {
  flex: 1;
  padding: 16px 16px 14px;
}

.k8-products__card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: #1d2129;
}

.k8-products__card-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #86909c;
}

.k8-products__card-foot {
  padding: 0 16px 14px;
  font-size: 13px;
  color: #165dff;
}

/* ============================================================
   行业解决方案（轮播 + Tab，结构对齐 Hero）
   ============================================================ */
.k8-solutions {
  padding: 56px 0;
  background: #f2f3f5;
}

.k8-solutions__viewport {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f3f5;
  border: 1px solid #eef0f4;
}

.k8-solutions__stage {
  position: relative;
  min-height: 420px;
}

.k8-solutions__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.k8-solutions__slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.9) 22%,
    rgba(255, 255, 255, 0.65) 36%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.06) 64%,
    transparent 76%
  );
  pointer-events: none;
}

.k8-solutions__slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.k8-solutions__slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 1 auto;
  max-width: 46%;
  min-width: 300px;
  padding: 48px 44px 76px;
}

.k8-solutions__slide-title {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 700;
  color: #1d2129;
}

.k8-solutions__slide-desc {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
  color: #4e5969;
}

.k8-solutions__slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.k8-solutions__slide-tag {
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 12px;
  color: #4e5969;
}

.k8-solutions__slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  height: 40px;
  padding: 0 22px;
  border-radius: 4px;
  background: #1d2129;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s;
}

.k8-solutions__slide-btn:hover {
  background: #165dff;
}

.k8-solutions__slide-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: center right / cover no-repeat;
}

.k8-solutions__slide-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k8-solutions__tabs-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(56px) saturate(1.65);
  -webkit-backdrop-filter: blur(56px) saturate(1.65);
}

.k8-solutions__tabs {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

.k8-solutions__tab {
  flex: 1;
  min-width: 0;
  padding: 16px 12px 14px;
  border: none;
  background: transparent;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
}

.k8-solutions__tab-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(29, 33, 41, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 12px;
  transition: color 0.2s;
}

.k8-solutions__tab--active .k8-solutions__tab-label {
  color: #1d2129;
  font-weight: 700;
}

.k8-solutions__tab-bar {
  display: block;
  height: 3px;
  background: rgba(29, 33, 41, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.k8-solutions__tab--active .k8-solutions__tab-bar::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: #1d2129;
}

/* ============================================================
   客户案例
   ============================================================ */
.k8-cases {
  padding: 56px 0;
  background: #fff;
}

.k8-cases__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  min-height: 400px;
}

.k8-cases__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  overflow: hidden;
}

.k8-cases__item {
  border-bottom: 1px solid #eef0f4;
}

.k8-cases__item:last-child {
  border-bottom: none;
}

.k8-cases__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 20px;
  border: none;
  background: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}

.k8-cases__item--active .k8-cases__item-head {
  background: #f7f8fa;
}

.k8-cases__item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #1d2129;
}

.k8-cases__item--active .k8-cases__item-title {
  color: #165dff;
}

.k8-cases__item-icon {
  font-size: 18px;
  color: #c9cdd4;
  transition: transform 0.25s;
}

.k8-cases__item--active .k8-cases__item-icon {
  transform: rotate(180deg);
  color: #165dff;
}

.k8-cases__item-body {
  display: none;
  padding: 0 20px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #86909c;
}

.k8-cases__item--active .k8-cases__item-body {
  display: block;
}

.k8-cases__visual {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f2f3f5;
  min-height: 400px;
}

.k8-cases__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.k8-cases__visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.78) 22%,
      rgba(0, 0, 0, 0.48) 42%,
      rgba(0, 0, 0, 0.18) 62%,
      transparent 82%
    );
}

.k8-cases__visual-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 36px 32px 28px;
  color: #fff;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    transparent 100%
  );
}

.k8-cases__visual-title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.k8-cases__visual-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   合作伙伴
   ============================================================ */
.k8-partners {
  padding: 56px 0;
  background: #fff;
  overflow: hidden;
}

.k8-partners__rows {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.k8-partners__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.k8-partners__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: k8-partners-slide-left 48s linear infinite;
}

.k8-partners__track--dur-1 {
  animation-duration: 46s;
}

.k8-partners__track--dur-2 {
  animation-duration: 54s;
}

.k8-partners__track--dur-3 {
  animation-duration: 50s;
}

.k8-partners__group {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-shrink: 0;
  padding-right: 56px;
}

.k8-partners__logo {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  flex-shrink: 0;
}

@keyframes k8-partners-slide-left {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ============================================================
   上云服务 CTA
   ============================================================ */
.k8-cta {
  padding: 0;
  margin: 0;
  background: #fff;
}

.k8-cta__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
  border: none;
  border-top: 1px solid #eef0f4;
  background: #fff;
}

.k8-cta__primary {
  padding: 44px 40px;
  background: linear-gradient(135deg, #165dff 0%, #3c7bff 100%);
  color: #fff;
}

.k8-cta__primary-title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.k8-cta__primary-desc {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.92;
}

.k8-cta__primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 22px;
  border-radius: 4px;
  background: #fff;
  color: #165dff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.k8-cta__secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 40px;
  gap: 20px;
}

.k8-cta__hotline-label {
  margin: 0 0 4px;
  font-size: 13px;
  color: #86909c;
}

.k8-cta__hotline {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  color: #1d2129;
  letter-spacing: 0.02em;
}

.k8-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.k8-cta__link {
  font-size: 14px;
  color: #165dff;
  text-decoration: none;
}

.k8-cta__link:hover {
  text-decoration: underline;
}

/* ============================================================
   页脚（首页浅色融入）
   ============================================================ */
.k8-footer {
  margin-top: 0;
  background: #f2f3f5;
  color: #1d2129;
  padding: 0;
}

.k8-footer::before {
  display: none;
}

.k8-footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 24px 28px;
}

.k8-footer-content {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: 28px;
}

.k8-footer-section h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1d2129;
  margin-bottom: 14px;
}

.k8-footer-links {
  gap: 10px;
}

.k8-footer-link {
  font-size: 14px;
  color: #4e5969;
}

.k8-footer-link:hover {
  color: #165dff;
}

.k8-footer-contact-info .k8-footer-contact-item {
  margin-bottom: 10px;
}

.k8-contact-label {
  font-size: 14px;
  font-weight: 500;
  color: #1d2129;
}

.k8-contact-content {
  font-size: 14px;
  color: #4e5969;
}

.k8-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid #eef0f4;
}

.k8-footer-copyright,
.k8-footer-copyright p {
  color: #86909c;
  font-size: 12px;
}

.k8-footer-links-bottom {
  flex: 1;
  justify-content: center;
}

.k8-footer-links-bottom a {
  color: #86909c;
  font-size: 12px;
}

.k8-footer-links-bottom a:hover {
  color: #165dff;
}

.k8-footer-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.k8-footer-badges a {
  display: block;
  line-height: 0;
}

.k8-footer-badges img {
  width: 100px;
  height: 36px;
  object-fit: contain;
  opacity: 0.92;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .k8-products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .k8-aishop__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .k8-why__panel {
    grid-template-columns: 1fr;
  }

  .k8-why__intro {
    min-height: 360px;
  }

  .k8-why__video {
    right: -6%;
    bottom: -4%;
    width: 72%;
    height: 68%;
  }

  .k8-solutions__slide {
    align-items: flex-end;
  }

  .k8-solutions__slide::before {
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(255, 255, 255, 0.2) 32%,
      rgba(255, 255, 255, 0.82) 58%,
      rgba(255, 255, 255, 0.97) 100%
    );
  }

  .k8-solutions__slide-content {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 28px 20px 72px;
  }

  .k8-solutions__slide-media {
    background-position: center center;
  }

  .k8-cases__layout {
    grid-template-columns: 1fr;
  }

  .k8-cases__visual {
    min-height: 280px;
  }

  .k8-cta__panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .k8-products__panel {
    overflow: visible;
  }

  .k8-products__grid {
    display: flex !important;
    grid-template-columns: unset !important;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 0 12px 4px;
  }

  .k8-products__grid::-webkit-scrollbar {
    display: none;
  }

  .k8-products__card {
    flex: 0 0 calc(100vw - 64px);
    width: calc(100vw - 64px);
    max-width: none;
    scroll-snap-align: start;
  }

  .k8-products__card:hover {
    transform: none;
  }
}

@media (max-width: 767px) {
  .k8-main__inner {
    padding: 0 12px;
  }

  .k8-main__head {
    margin-bottom: 16px;
    text-align: center;
  }

  .k8-main__title {
    font-size: 20px;
    text-align: center;
  }

  .k8-main__desc {
    font-size: 13px;
    margin-top: 6px;
    text-align: center;
  }

  /* —— 千问大模型：仅移动端 —— */
  .k8-why {
    padding: 20px 0 16px;
  }

  .k8-why__desktop {
    display: none;
  }

  .k8-why__mobile {
    display: block;
  }

  .k8-why__mobile .k8-why__headline {
    font-size: 18px;
    margin-bottom: 8px;
    padding: 0 4px;
    text-align: center;
  }

  .k8-why__mobile-lead {
    margin: 0 0 14px;
    padding: 0 8px;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    color: #86909c;
  }

  .k8-why__mobile .k8-why__panel {
    display: block;
    min-height: 0;
    border-radius: var(--k8-pearl-radius);
    border: 1px solid var(--k8-border);
    box-shadow: var(--k8-shadow-sm);
    overflow: hidden;
  }

  .k8-why__mobile-foot {
    padding: 12px 16px 16px;
    text-align: center;
    border-top: 1px solid var(--k8-border);
    background: var(--k8-pearl-surface);
  }

  .k8-why__mobile .k8-why__cta {
    display: inline-flex;
    width: 100%;
    max-width: 100%;
    height: 40px;
    justify-content: center;
    font-size: 14px;
    border-radius: var(--k8-radius-sm);
    background: transparent;
    border-color: var(--k8-dark);
    color: var(--k8-dark);
    box-shadow: none;
  }

  .k8-why__mobile .k8-why__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 0;
  }

  .k8-why__mobile .k8-why__card {
    padding: 14px 12px 12px;
    border-left: none;
    border-right: 1px solid #eef0f4;
    border-bottom: 1px solid #eef0f4;
    border-radius: 0;
  }

  .k8-why__mobile .k8-why__card:nth-child(2n) {
    border-right: none;
  }

  .k8-why__mobile .k8-why__card:nth-child(n + 5) {
    border-bottom: 1px solid #eef0f4;
  }

  .k8-why__mobile .k8-why__card-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 8px;
    font-size: 16px;
  }

  .k8-why__mobile .k8-why__card-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 6px;
  }

  .k8-why__mobile .k8-why__card-title {
    font-size: 13px;
    line-height: 1.35;
  }

  .k8-why__mobile .k8-why__card-tag {
    font-size: 10px;
    padding: 1px 6px;
  }

  .k8-why__mobile .k8-why__card-desc {
    font-size: 11px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* —— 智算能力：手机六宫格 2×3 —— */
  .k8-aishop {
    padding: 20px 0;
  }

  .k8-aishop__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .k8-aishop__card {
    min-height: 96px;
    padding: 12px 10px;
    border-radius: var(--k8-radius-sm);
  }

  .k8-aishop__card::before {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.2) 45%, rgba(15, 23, 42, 0.08) 100%);
  }

  .k8-aishop__card-title {
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.3;
  }

  .k8-aishop__card-desc {
    font-size: 11px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .k8-aishop__card-arrow {
    right: 8px;
    bottom: 8px;
    font-size: 14px;
  }

  /* —— 云产品 —— */
  .k8-products {
    padding: 20px 0;
  }

  .k8-products__head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
    gap: 8px;
  }

  .k8-products__tabs {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 12px;
    padding: 3px;
  }

  .k8-products__tab {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 13px;
  }

  .k8-products__card-media {
    height: 72px;
  }

  .k8-products__card-body {
    padding: 12px 12px 10px;
  }

  .k8-products__card-title {
    font-size: 14px;
  }

  .k8-products__card-desc {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* —— 解决方案 —— */
  .k8-solutions {
    padding: 20px 0;
  }

  .k8-solutions__stage {
    min-height: 280px;
  }

  .k8-solutions__tabs {
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 8px;
  }

  .k8-solutions__tabs::-webkit-scrollbar {
    display: none;
  }

  .k8-solutions__tab {
    flex: 0 0 auto;
    min-width: 72px;
    padding: 10px 8px 8px;
  }

  .k8-solutions__tab-label {
    font-size: 12px;
    padding-bottom: 8px;
  }

  .k8-solutions__slide-content {
    padding: 20px 16px 64px;
  }

  .k8-solutions__slide-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .k8-solutions__slide-desc {
    font-size: 12px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .k8-solutions__slide-tags {
    margin-bottom: 12px;
    gap: 6px;
  }

  .k8-solutions__slide-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .k8-solutions__slide-btn {
    height: 36px;
    padding: 0 16px;
    font-size: 13px;
  }

  /* —— 客户案例 —— */
  .k8-cases {
    padding: 20px 0;
  }

  .k8-cases__layout {
    min-height: 0;
    gap: 12px;
  }

  .k8-cases__visual {
    min-height: 180px;
    order: -1;
  }

  .k8-cases__visual-text {
    padding: 16px;
  }

  .k8-cases__visual-title {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .k8-cases__visual-desc {
    font-size: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .k8-cases__item-head {
    padding: 14px 16px;
  }

  .k8-cases__item-title {
    font-size: 14px;
  }

  /* —— 合作伙伴 —— */
  .k8-partners {
    padding: 20px 0;
  }

  .k8-partners__rows {
    gap: 16px;
  }

  .k8-partners__logo {
    height: 28px;
    max-width: 100px;
  }

  .k8-partners__group {
    gap: 32px;
    padding-right: 32px;
  }

  /* —— CTA —— */
  .k8-cta {
    padding: 0;
  }

  .k8-cta__primary,
  .k8-cta__secondary {
    padding: 20px 16px;
  }

  .k8-cta__primary-title {
    font-size: 18px;
  }

  .k8-cta__primary-desc {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .k8-cta__hotline {
    font-size: 22px;
  }

  .k8-footer-container {
    padding: 32px 16px 24px;
  }

  .k8-footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .k8-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .k8-footer-links-bottom {
    justify-content: flex-start;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .k8-solutions__tabs-wrap {
    background: rgba(255, 255, 255, 0.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  .k8-solutions__slide,
  .k8-products__panel--active {
    transition: none;
    animation: none;
  }

  .k8-partners__track {
    animation: none;
  }
}
