/* ==========================================================
   子页面共享样式（大模型服务 / 算力租赁 / 算力调度平台定制 /
   客户案例 / 公司介绍 / 联系我们）
   ========================================================== */

/* ---------- 通用页面 Banner ---------- */
.page-banner { position: relative; background: #f3f8ff; }
.page-banner > img { display: block; width: 100%; height: auto; }

.banner-btn {
  position: absolute;
  bottom: 3.2vw;
  width: 12%;
  height: 2.9vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1vw;
  font-weight: 500;
  color: #333;
  background: linear-gradient(109.35deg, #fff -41.5%, #fff -2.82%, #fff 163.9%, #fff 225.26%);
  border-radius: 4px;
  cursor: pointer;
  z-index: 3;
  transition: filter 0.2s, color 0.2s;
}
.banner-btn:hover { background-image: url("../assets/pages/BannerBtnBg.svg"); background-size: cover; color: #fff; }
.banner-btn.left { left: 6%; }
.banner-btn.right { left: 22.5%; }

.banner-contact-btn {
  position: absolute;
  left: 5.55vw;
  top: 74%;
  width: 15.55vw;
  height: 2.78vw;
  line-height: 2.78vw;
  text-align: center;
  font-size: 1.1vw;
  font-weight: 500;
  color: #333;
  background: #fff;
  border-radius: 0.37vw;
  z-index: 3;
}
.banner-contact-btn:hover { background-image: url("../assets/pages/BannerBtnBg.svg"); background-size: cover; color: #fff; }

/* ---------- 通用标题 ---------- */
.page-title {
  font-size: 2vw;
  font-weight: 500;
  letter-spacing: 0;
  text-align: center;
  margin: 3.5vw 0 2.2vw;
}
.title-underline {
  display: block;
  width: 10vw;
  height: 4px;
  border-radius: 2px;
  margin: -1.2vw auto 2.5vw;
  background: linear-gradient(90deg, rgba(135, 206, 235, 0), rgba(30, 144, 255, 0.5) 50%, #0883ff);
}

/* ---------- 分段切换（产品优势/技术架构、公司介绍三个标签） ---------- */
.seg-tabs {
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 0 3.8%;
}
.seg-tabs .seg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.6vw;
  font-size: 1.25vw;
  color: #707378;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s;
}
.seg-tabs .seg:hover { color: #1565ef; }
.seg-tabs .seg.active {
  color: #1565ef;
  border-bottom: 0.22vw solid #1565ef;
}
.tab-panel.hidden { display: none; }

/* ---------- 底部 CTA（serverBtnbg / modelBtnbg 背景） ---------- */
.bottom-cta {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  padding: 11%;
}
.bottom-cta.cta-blue { background-image: url("../assets/pages/serverBtnbg.svg"); }
.bottom-cta.cta-model { background-image: url("../assets/pages/modelBtnbg.svg"); }

.cta-btn {
  position: absolute;
  width: 10.5vw;
  height: 3vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15vw;
  font-weight: 500;
  border-radius: 12px;
  cursor: pointer;
}
.cta-btn.primary {
  background: linear-gradient(109.35deg, #fff -41.5%, #fff -2.82%, #fff 163.9%, #fff 225.26%);
  color: #333;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left: -6vw;
}
.cta-btn.primary:hover { background-image: url("../assets/pages/BannerBtnBg.svg"); background-size: cover; color: #fff; }
.cta-btn.ghost {
  background: linear-gradient(109.35deg, #fff -41.5%, #fff -2.82%, #fff 163.9%, #fff 225.26%);
  color: #333;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left: 6vw;
  border-radius: 2px;
}
.cta-btn.ghost:hover { background-image: url("../assets/pages/BannerBtnBg.svg"); background-size: cover; color: #fff; }

/* ==========================================================
   大模型服务页
   ========================================================== */
.core-grid { display: flex; gap: 2.78vw; padding: 0 5.4vw; }
.core-grid img { flex: 1; min-width: 0; width: calc((100% - 5.56vw) / 3); }

.steps-img { display: block; width: calc(100% - 10.8vw); margin: 0 auto; }

.steps-grid { display: flex; gap: 2.78vw; padding: 1.8vw 5.4vw 0; }
.step-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1.4vw; }
.step-item .step-icon { height: 9.2vw; width: auto; max-width: 80%; object-fit: contain; }
.step-item .step-label { height: 1.6vw; width: auto; }

.choose-grid { display: flex; justify-content: center; gap: 2.61vw; padding-bottom: 1vw; }
.choose-card {
  width: 34vw;
  height: 37.59vw;
  background-image: url("../assets/pages/whychoosebg.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #000;
  padding: 3.2vw 2vw 0 3.7vw;
  transition: background-image 0.2s, color 0.2s;
}
.choose-card:hover { background-image: url("../assets/pages/whychoosebgactive.svg"); color: #fff; }
.choose-card .choose-title { font-size: 2vw; font-weight: 700; margin-bottom: 2.4vw; }
.choose-item { margin-bottom: 2.2vw; }
.choose-item .big { font-size: 3.4vw; font-weight: 700; line-height: 1.35; }
.choose-item .big .sub { font-size: 1.05vw; font-weight: 500; margin-left: 6px; }
.choose-item .txt { font-size: 1.05vw; font-weight: 500; }

.model-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.78vw;
  padding: 0 5.4vw 4vw;
}
.model-card {
  width: calc((100% - 5.56vw) / 3);
  background: #fff;
  border: 1.14px solid rgba(182, 194, 254, 0.76);
  border-radius: 12px;
  box-shadow: 0 4.58px 12.13px 0 rgba(203, 219, 246, 0.63);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.model-card:hover {
  border-color: #89a6fb;
  box-shadow: 0 12px 24px 0 rgba(148, 184, 246, 0.63);
  transform: translateY(-4px) scale(1.02);
}
.model-card .card-top { padding: 20px; }
.model-card .card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.model-card .model-icon { width: 24px; height: 24px; object-fit: contain; }
.model-card .model-title { color: #222; font-size: 18px; font-weight: 600; margin: 0; }
.model-card .model-desc {
  color: #5e5e5e;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.model-card .tag-group { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.model-card .tag { background: #d8e0ef; border-radius: 4px; color: #000; font-size: 12px; padding: 4px 8px; }
.model-card .stat-group { display: flex; align-items: center; color: #909090; font-size: 12px; }
.model-card .stat-group img { width: 12px; height: 12px; margin-right: 3px; }
.model-card .stat-group .dl { margin-left: 8px; }
.model-card .divider { height: 1px; background: #f0f0f0; }
.model-card .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.model-card .model-price { color: #1677ff; font-size: 14px; font-weight: 600; }
.model-card .detail-btn {
  background: #0f62f0;
  border: 1px solid #1677ff;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 6px 14px;
  white-space: nowrap;
  transition: all 0.2s;
}
.model-card .detail-btn:hover { background: #fff; color: #0f62f0; }

/* ==========================================================
   算力租赁页
   ========================================================== */
.filter-bar {
  background: #fff;
  border-bottom: 1px solid rgba(51, 51, 51, 0.06);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.2vw;
  padding: 1.6vw 5.4vw;
}
.filter-bar .filter-label { font-size: 1.2vw; font-weight: 600; color: #333; margin-right: 1vw; }
.filter-chip {
  min-width: 9.5vw;
  height: 3vw;
  padding: 0 1.2vw;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05vw;
  font-weight: 500;
  color: #333;
  background: linear-gradient(155deg, #f2f2f2, #dcdcdc);
  border: 1.5px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
}
.filter-chip:hover { background: #d0e1ff; border-color: #699bf1; color: #2666e8; }
.filter-chip.active { background: #d0e1ff; border-color: #699bf1; color: #2666e8; }
.filter-note { font-size: 0.95vw; color: #333; }
.bill-link { display: inline-flex; align-items: center; gap: 4px; font-size: 0.95vw; color: #074fcb; }
.bill-link:hover { text-decoration: underline; }
.bill-link img { width: 14px; height: 14px; }

.server-list { padding: 2vw 5.4vw 0; background: #f7faff; }
.server-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff url("../assets/pages/settingIcon.png") no-repeat 100% 0;
  background-size: 203px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 2vw;
  overflow: hidden;
}
.server-card .card-name {
  flex: 0 0 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../assets/pages/serverNameBtg.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #333;
  font-size: 1.6vw;
  font-weight: 600;
  min-height: 12vw;
}
.server-card .card-specs {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5vw;
  padding: 1.5vw 0;
}
.server-card .spec-box {
  width: 12.5vw;
  height: 4.6vw;
  background: #fff;
  border: 1px solid #d7d7d7;
  border-radius: 0.2vw;
  box-shadow: 0 1px 3.5px rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4vw;
  transition: all 0.2s;
}
.server-card .spec-box:hover {
  background-image: url("../assets/pages/cusmhoverBtg.svg");
  background-size: cover;
  box-shadow: 2px 1px 11.2px rgba(130, 165, 224, 0.47);
}
.server-card .spec-box:hover .spec-name { color: #0f62f0; }
.server-card .spec { display: flex; flex-direction: column; align-items: center; gap: 0.3vw; }
.server-card .spec-name { display: flex; align-items: center; gap: 3px; font-size: 0.85vw; color: #333; }
.server-card .spec-name img { width: 1.1vw; height: 1.1vw; }
.server-card .spec-type { font-size: 0.92vw; color: #000; }
.server-card .card-price {
  flex: 0 0 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8vw;
  border-left: 1px solid rgba(51, 51, 51, 0.1);
  padding: 1.5vw 3vw 1.5vw 2.5vw;
}
.server-card .price-value { font-size: 0.95vw; color: #0f62f0; font-weight: 500; }
.server-card .price-value .p { font-size: 1.7vw; color: rgba(255, 120, 0, 1); font-weight: 600; }
.server-card .price-value s { font-size: 0.9vw; color: #999; margin: 0 2px; }
.server-card .price-value .unit { color: #0f62f0; }
.server-card .duration { display: flex; align-items: center; gap: 0.6vw; font-size: 0.9vw; color: #000; }
.server-card .duration select {
  height: 2.2vw;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  font-size: 0.9vw;
  color: #333;
  padding: 0 0.5vw;
  background: #fff;
}
.server-card .buy-btn {
  align-self: flex-start;
  background: #0f62f0;
  color: #fff;
  font-size: 1vw;
  font-weight: 600;
  line-height: 28px;
  text-align: center;
  padding: 0.45vw 2.2vw;
  border-radius: 3px;
  transition: background 0.2s;
}
.server-card .buy-btn:hover { background: #5090fe; }

/* ==========================================================
   算力调度平台定制页
   ========================================================== */
.pic-wrap { position: relative; }
.pic-wrap > img { display: block; width: 100%; height: auto; }
.adv-row {
  position: absolute;
  left: 7%;
  width: 86%;
  display: flex;
  gap: 30px;
}
.adv-row .adv-card { flex: 1; min-width: 0; }
.adv-row .adv-card:hover { filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18)); }
.adv-row .adv-card img { display: block; width: 100%; }
.adv-row.r1 { top: 56%; }
.adv-row.r2 { top: 78.5%; }
.arch-img { display: block; width: auto; max-width: 92%; height: 50vw; margin: 0 auto 3vw; }

/* ==========================================================
   客户案例页
   ========================================================== */
.case-items {
  display: flex;
  align-items: center;
  width: 1400px;
  max-width: 94%;
  margin: 0 auto;
  padding: 51px 78px 60px 30px;
}
.case-items:hover { background-color: #f7faff; }
.case-items > img { width: 20.05vw; margin-right: 40px; display: block; }
.case-items .case-title { color: #333; font-size: 20px; font-weight: 600; line-height: 28px; margin-bottom: 13px; }
.case-items .case-desc { color: #333; font-size: 18px; line-height: 30px; }

/* ==========================================================
   公司介绍页
   ========================================================== */
.intro-panel { background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 27.18%); padding-bottom: 15px; }
.intro-banner img { display: block; width: 100%; height: auto; }
.intro-text {
  color: #333;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  width: 70%;
  margin: 0 auto;
  padding: 0 3.5vw;
  text-align: justify;
  transform: translateY(-4.5vw);
  position: relative;
}
.intro-panel.no-overlap .intro-text { transform: none; padding-top: 2vw; }

/* ==========================================================
   联系我们页
   ========================================================== */
.contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 30px 61px;
  padding: 96px 0 88px;
}
.contact-content .col { margin-right: 106px; }
.contact-content .col:last-child { margin-right: 0; }
.contact-content .c-title { color: #000; font-size: 20px; font-weight: 600; line-height: 30px; }
.contact-content .c-desc, .contact-content .c-tel { color: #000; font-size: 18px; line-height: 30px; }
.focus-us { display: flex; align-items: flex-start; justify-content: center; padding: 0 0 115px 30px; }
.focus-us .f-left { margin-right: 14vw; }
.focus-us .f-left .c-title { font-size: 18px; font-weight: 600; }
.focus-us .f-left .c-desc { font-size: 18px; }
.focus-us .f-right { display: flex; align-items: center; }
.focus-us .f-right img { width: 120px; display: block; margin-right: 27px; }

/* ==========================================================
   响应式（≤767px）
   ========================================================== */
@media (max-width: 767px) {
  .banner-btn { width: 24%; height: 7vw; font-size: 2.6vw; border-radius: 1vw; }
  .banner-btn.left { left: 6%; }
  .banner-btn.right { left: 40%; }
  .banner-contact-btn { width: 40vw; height: 8vw; line-height: 8vw; font-size: 3.2vw; }

  .page-title { font-size: 4.6vw; margin: 6vw 0 4vw; }

  .core-grid { flex-direction: column; gap: 3vw; padding: 0 4vw; }
  .core-grid img { width: 100%; }
  .steps-img { width: 92%; }
  .steps-grid { flex-wrap: wrap; gap: 4vw; padding: 3vw 4vw 0; }
  .step-item { flex: 1 1 40%; }
  .step-item .step-icon { height: 16vw; }
  .step-item .step-label { height: 3.4vw; }

  .choose-grid { flex-direction: column; align-items: center; gap: 4vw; }
  .choose-card { width: 88vw; height: 110vw; padding: 8vw 6vw 0 9vw; }
  .choose-card .choose-title { font-size: 5.6vw; margin-bottom: 6vw; }
  .choose-item { margin-bottom: 6vw; }
  .choose-item .big { font-size: 9vw; }
  .choose-item .big .sub { font-size: 3vw; }
  .choose-item .txt { font-size: 3.2vw; }

  .model-grid { gap: 4vw; padding: 0 4vw 6vw; }
  .model-card { width: 100%; }

  .filter-bar { gap: 3vw; padding: 3vw 4vw; }
  .filter-bar .filter-label { font-size: 3.4vw; }
  .filter-chip { min-width: 24vw; height: 8.5vw; font-size: 3.2vw; border-radius: 1vw; }
  .filter-note { font-size: 3vw; width: 100%; }

  .server-list { padding: 3vw 4vw 0; }
  .server-card { flex-direction: column; }
  .server-card .card-name { min-height: 18vw; font-size: 4.6vw; }
  .server-card .card-specs { flex-direction: column; gap: 3vw; padding: 4vw 0; }
  .server-card .spec-box { width: 74vw; height: 13vw; }
  .server-card .spec-name { font-size: 3vw; }
  .server-card .spec-name img { width: 3.4vw; height: 3.4vw; }
  .server-card .spec-type { font-size: 3.2vw; }
  .server-card .card-price { border-left: 0; border-top: 1px solid rgba(51, 51, 51, 0.1); padding: 4vw; }
  .server-card .price-value { font-size: 3.2vw; }
  .server-card .price-value .p { font-size: 5.4vw; }
  .server-card .duration select { height: 7vw; font-size: 3.2vw; }
  .server-card .buy-btn { font-size: 3.4vw; padding: 2vw 8vw; }

  .adv-row { position: static; width: 100%; padding: 0 3vw; flex-direction: column; gap: 3vw; }
  .arch-img { width: 92%; height: auto; }

  .case-items { flex-direction: column; align-items: flex-start; width: 100%; padding: 5vw 4vw; }
  .case-items > img { width: 60vw; margin-right: 0; margin-bottom: 3vw; }
  .case-items .case-title { font-size: 4.4vw; }
  .case-items .case-desc { font-size: 3.6vw; line-height: 6vw; }

  .intro-text { width: 100%; font-size: 3.6vw; line-height: 6vw; transform: translateY(-6vw); }

  .contact-content { flex-direction: column; align-items: flex-start; margin: 0 4vw 6vw; padding: 6vw 2vw; gap: 6vw; }
  .contact-content .col { margin-right: 0; }
  .contact-content .c-title { font-size: 4.6vw; }
  .contact-content .c-desc, .contact-content .c-tel { font-size: 3.8vw; }
  .focus-us { flex-direction: column; gap: 5vw; padding: 0 4vw 8vw; }
  .focus-us .f-left { margin-right: 0; }
  .focus-us .f-left .c-title { font-size: 4.6vw; }
  .focus-us .f-left .c-desc { font-size: 3.8vw; }
  .focus-us .f-right img { width: 34vw; margin-right: 4vw; }

  .seg-tabs .seg { font-size: 3.8vw; height: 12vw; }
  .cta-btn { width: 32vw; height: 9vw; font-size: 3.4vw; margin-left: -20vw !important; }
  .cta-btn.ghost { margin-left: 4vw !important; }
}
