/* 云与边缘计算页面样式 */
/* ========== 公共辅助 ========== */
.section__inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.section-heading {
  text-align: center;
  margin-bottom: 38px;
}
.section-heading__title {
  margin: 0 0 10px;
  font-size: var(--font-size-title);
  font-weight: var(--weight-bold);
  line-height: var(--line-title);
  color: var(--color-text);
}
.section-heading__subtitle {
  margin: 0;
  font-size: var(--font-size-subtitle);
  line-height: var(--line-subtitle);
  color: var(--color-muted);
}
/* ========== Banner ========== */
.ce-hero {
  position: relative;
  height: 480px;
  background: url("/img/v2026/datacenter/product/banner-cloudedge.jpg") center top / cover no-repeat;
  display: flex;
  align-items: center;
}
.ce-hero--server {
  background: url("/img/v2026/datacenter/product/banner-server.jpg") center top / cover no-repeat;
}
.ce-hero--server .ce-hero__content {
  max-width: 680px;
}
.ce-hero__inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.ce-hero__content {
  max-width: 680px;
  padding-bottom: 10px;
}
.ce-hero__title {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  color: #ffffff;
}
.ce-hero__desc {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
.ce-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.ce-hero__actions .button {
  min-width: 200px;
  height: 48px;
  font-size: 16px;
}
/* ========== 选择区域 ========== */
.ce-nodes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ce-node-group {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
}
.ce-node-group__label {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}
.ce-node-group__tags {
  padding: 24px;
  border: 1px solid #e5e6eb;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: 0 0 10px rgba(47, 96, 202, 0.1);
  background: #ffffff;
}
.ce-tag {
  text-align: center;
  width: 178px;
  height: 44px;
  line-height: 44px;
  display: inline-flex;
  align-items: center;
  position: relative;
  background: #f5f6fc;
  border: 1px solid #e5e6eb;
  color: var(--color-text);
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  justify-content: center;
}
.ce-tag:hover {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 100, 255, 0.25);
}
.ce-tag--hot::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -6px;
  width: 28px;
  height: 22px;
  background: url("/img/v2026/datacenter/product/hot.png") center / contain no-repeat;
}
.ce-selector__action {
  text-align: center;
  margin-top: 32px;
}
.ce-selector__action .button {
  min-width: 200px;
  height: 46px;
  font-size: 15px;
  font-weight: normal;
}
/* ========== 优势区域 ========== */
.ce-advantages {
  background: #f5f6fc;
}
.ce-advantages__grid {
  display: flex;
  gap: 20px;
}
.ce-adv-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(15, 61, 133, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ce-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 34px rgba(15, 61, 133, 0.12);
}
.ce-adv-card__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  color: #ffffff;
}
.ce-adv-card--blue {
  background: #3382ff;
}
.ce-adv-card--cyan {
  background: #59c4f2;
}
.ce-adv-card--purple {
  background: #615ef2;
}
.ce-adv-card--blue-light {
  background: #469df0;
}
.ce-adv-card--green {
  background: #2eb85b;
}
.ce-adv-card--orange {
  background: #f58432;
}
.ce-adv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ce-adv-card__icon svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
}
.ce-adv-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}
.ce-adv-card__text {
  border-radius: 15px 15px 0 0;
  margin: 0;
  padding: 20px 24px 30px;
  height: 100%;
  font-size: 16px;
  line-height: 1.7;
  color: #1d2129;
  background: linear-gradient(#dae6fe, #ffffff);
  box-shadow: 0 0 20px rgba(10, 17, 31, 0.15);
}
/* ========== 优势区域（新） ========== */
.ce-features__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.ce-feature-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: calc(33.333% - 26px);
  padding: 24px 22px;
  background: linear-gradient(#dae6fe, #ffffff);
  border: 1px solid #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ce-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(15, 61, 133, 0.12);
}
.ce-feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}
.ce-feature-card__icon img {
  max-width: 100%;
  max-height: 100%;
}
.ce-feature-card__body {
  flex: 1;
  min-width: 0;
}
.ce-feature-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary);
}
.ce-feature-card__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}
/* ========== 应用场景 ========== */
.ce-scenarios {
  background: var(--color-bg);
}
.ce-scenarios__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.ce-scenario-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(25% - 15px);
  padding: 36px 16px;
  background: #f6f8fa;
  border-radius: var(--radius-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ce-scenario-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 61, 133, 0.1);
}
.ce-scenario-item__icon {
  display: block;
  width: 60px;
  height: 60px;
  padding: 8px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(10, 17, 31, 0.1);
  margin-bottom: 12px;
}
.ce-scenario-item__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ce-scenario-item__title {
  font-size: 20px;
  color: var(--color-text);
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
}
/* ========== CTA ========== */
.ce-cta {
  padding: 60px 0;
  background: url(/img/v2026/datacenter/product/bg1.jpg) center / cover no-repeat;
}
.ce-cta__inner {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}
.ce-cta__title {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: var(--weight-bold);
  line-height: var(--line-title);
  color: #ffffff;
}
.ce-cta__text {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: var(--line-body);
  color: rgba(255, 255, 255, 0.85);
}
.ce-cta__inner .button--ghost {
  min-width: 200px;
  height: 48px;
  font-size: 16px;
  font-weight: normal;
}
/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .ce-hero {
    height: 420px;
  }
  .ce-hero__title {
    font-size: 30px;
  }
  .ce-advantages__grid {
    flex-wrap: wrap;
  }
  .ce-adv-card {
    width: calc(50% - 10px);
    flex: none;
  }
  .ce-features__grid {
    flex-wrap: wrap;
  }
  .ce-feature-card {
    width: calc(50% - 10px);
  }
  .ce-scenario-item {
    width: calc(33.333% - 14px);
  }
}
@media (max-width: 768px) {
  .ce-hero {
    height: auto;
    min-height: 360px;
    padding: 60px 0;
    background-image: url("/img/v2026/datacenter/product/banner-cloudedge-m.jpg");
  }
  .ce-hero--server {
    background: url("/img/v2026/datacenter/product/banner-server-m.jpg") center top / cover no-repeat;
  }
  .ce-hero__content {
    max-width: 100%;
    text-align: center;
  }
  .ce-hero__title {
    font-size: 26px;
  }
  .ce-hero__actions {
    justify-content: center;
  }
  .section__inner {
    width: calc(100% - 32px);
  }
  .section-heading__title {
    font-size: 23px;
  }
  .ce-node-group {
    gap: 10px;
  }
  .ce-node-group__label {
    font-size: 14px;
  }
  .ce-tag {
    padding: 6px 12px;
    font-size: 13px;
    width: 48%;
  }
  .ce-adv-card {
    width: calc(50% - 10px);
    flex: none;
  }
  .ce-feature-card {
    width: calc(50% - 10px);
  }
  .ce-scenario-item {
    width: calc(50% - 10px);
    padding: 22px 12px;
  }
  .ce-cta {
    padding: 48px 0;
  }
}
@media (max-width: 480px) {
  .ce-node-group__tags {
    padding: 10px;
  }
  .ce-hero {
    padding: 30px 0;
    min-height: 260px;
  }
  .ce-tag {
    padding: 3px 10px;
    height: 38px;
    line-height: 38px;
  }
  .ce-adv-card {
    width: 100%;
  }
  .ce-feature-card {
    width: 100%;
  }
  .ce-hero__title {
    font-size: 22px;
    margin: 0 0 10px;
  }
  .ce-hero__desc {
    font-size: 14px;
    margin: 0 0 10px;
  }
  .ce-hero__content {
    padding-bottom: 0;
  }
  .ce-hero__actions {
    gap: 10px;
  }
  .ce-hero__actions .button {
    width: calc(50% - 5px);
    min-width: 0;
  }
  .ce-scenarios__grid {
    gap: 10px;
  }
  .ce-scenario-item {
    width: calc(50% - 5px);
  }
  .ce-hero--server .ce-hero__content {
    text-align: left;
  }
  .ce-hero--server .ce-hero__actions {
    justify-content: flex-start;
  }
}
