/* ==========================================================================
   企业私有云 /server/ —— 按旧站 WordPress 版式复刻（2026-10）
   实测值来源：旧站 elementor post-571 / post-949 CSS
   改样式只改这里；模板在 scripts/render.py 的 server_page()
   ========================================================================== */

/* ---------- 首屏 banner ---------- */
.pcs-hero {
  position: relative;
  min-height: 540px;
  color: #fff;
  background: #4a75ff url("../img/nbd_cloud-servicce-bg.webp") center center / cover no-repeat;
}
.pcs-hero::after { display: none; }          /* 覆盖 style.css 里 .hero 的装饰光斑 */
.pcs-hero-in {
  max-width: 1244px;
  margin: 0 auto;
  padding: 72px 22px 0;                       /* 72px = 顶部透明导航高度 */
  min-height: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}
.pcs-hero-copy { padding-left: 30px; }         /* 旧站首屏文字左内缩 30px */
.pcs-hero h1 {
  color: #fff;
  font-size: 48px;
  line-height: 72px;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: 0;
}
.pcs-hero-sub {
  color: #fff;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  margin: 0 0 14px;
}
.pcs-hero-lead {
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
  line-height: 26px;
  margin: 0 0 28px;
  max-width: 480px;
}
.pcs-hero-lead strong { color: #fff; font-weight: 600; }
.pcs-hero-art img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}

/* ---------- 按钮 ---------- */
.pcs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background .2s, color .2s, box-shadow .2s;
}
.pcs-btn-light { background: #fff; color: #2f76ff; box-shadow: 0 4px 20px rgba(0, 62, 188, .2); }
.pcs-btn-light:hover { background: #f4f8ff; color: #2f76ff; }
.pcs-btn-blue { background: #4481ff; color: #fff; }
.pcs-btn-blue:hover { background: #3a74f0; color: #fff; }
.pcs-btn .ar { font-size: 15px; line-height: 1; }

/* ---------- 通用区块 ---------- */
.pcs-wrap { max-width: 1244px; margin: 0 auto; padding: 0 22px; }   /* 内容区正好 1200px，与旧站一致 */
.pcs-sec { padding: 80px 0 60px; }
.pcs-h2 {
  color: #333;
  font-size: 32px;
  line-height: 42px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 10px;
}
.pcs-sub {
  color: #666;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin: 0 0 20px;
}

/* ---------- 产品功能（4 张带蓝色顶线的卡片） ---------- */
.pcs-cards4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.pcs-fcard {
  margin: 15px;
  background: #fff;
  border-top: 5px solid #4481ff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
  padding: 40px 16px 28px;
  transition: transform .25s ease;
}
.pcs-fcard:hover { transform: translateY(-12px); }
.pcs-fcard .ico { display: block; width: 42px; height: 42px; margin: 0 0 25px; }
.pcs-fcard h3 {
  color: #333;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 12px;
}
.pcs-fcard p { color: #666; font-size: 14px; line-height: 24px; margin: 0; }

/* ---------- 产品优势（浅灰底 6 张白卡） ---------- */
.pcs-adv { background: #f5f7fb; padding: 80px 0 60px; }
.pcs-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.pcs-acard {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}
.pcs-acard .ico { display: block; width: auto; height: 80px; margin: 0 auto 28px; }
.pcs-acard h3 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  line-height: 20px;
  margin: 0 0 12px;
}
.pcs-acard p { color: #333; font-size: 16px; line-height: 28px; margin: 0; }

/* ---------- 对比表 ---------- */
.pcs-cmp { background: #fff; padding: 80px 0 100px; }
.pcs-table { border: 1px solid #d1d2d5; }
.pcs-tr { display: grid; grid-template-columns: 15% 35% 50%; }
.pcs-tr > div {
  padding: 10px 20px;
  border-right: 1px solid #d1d2d5;
  border-bottom: 1px solid #d1d2d5;
  color: #333;
  font-size: 14px;
  line-height: 24px;
  word-break: break-word;
}
.pcs-tr > div:last-child { border-right: 0; }
.pcs-tr:last-child > div { border-bottom: 0; }
.pcs-tr .c1 { font-weight: 600; line-height: 48px; }
.pcs-tr .c2 { background: #f6f9ff; }
.pcs-tr .c3 { background: #e2ebff; font-size: 16px; line-height: 26px; padding: 8px 20px; }
.pcs-tr.pcs-thead > div {
  background: #5d91f5;
  color: #fff;
  font-weight: 500;
  line-height: 50px;
  padding: 0 20px;
  border-bottom-color: #5d91f5;
}
.pcs-tr.pcs-thead .c3 { font-size: 18px; }
.pcs-tr:not(.pcs-thead) .c1 { padding: 10px 20px; }

/* ---------- 专属定制服务（深色大卡） ---------- */
.pcs-custom-sec { padding: 0 0 100px; }
.pcs-custom {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  background: #05112a url("../img/private-cloud_bg.webp") right center / cover no-repeat;
  padding: 50px 40px 50px 40px;
}
.pcs-custom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #05112a 0%, rgba(5, 17, 42, 0) 100%);
}
.pcs-custom > * { position: relative; z-index: 1; }
.pcs-custom h2 {
  color: #fff;
  font-size: 30px;
  line-height: 42px;
  font-weight: 600;
  margin: 0 0 22px;
}
.pcs-custom h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 18px;
}
.pcs-custom p {
  color: #fff;
  font-size: 15px;
  line-height: 26px;
  margin: 0 0 14px;
  max-width: 660px;
}
.pcs-custom .pcs-btn { margin-top: 18px; }

/* ---------- 相关方案（浅灰底 + 白色圆角容器） ---------- */
.pcs-rel { background: #f5f7fb; padding: 80px 0 100px; }
.pcs-rel .pcs-h2 { margin-bottom: 0; }
.pcs-relcard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 24px;
  margin-top: 30px;
  padding: 40px 0 30px;
}
.pcs-relitem { padding: 0 24px; border-right: 1px dashed #ccc; }
.pcs-relitem:last-child { border-right: 0; }
.pcs-relitem h3 {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
}
.pcs-relitem p { color: #666; font-size: 15px; line-height: 24px; margin: 0 0 12px; }
.pcs-relitem a {
  color: #407bf5;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pcs-relitem a:hover { color: #2b55c8; }
.pcs-relitem a .ar { font-weight: 700; letter-spacing: -2px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .pcs-cards4 { grid-template-columns: repeat(2, 1fr); }
  .pcs-cards3 { grid-template-columns: repeat(2, 1fr); }
  .pcs-hero h1 { font-size: 40px; line-height: 56px; }
}
@media (max-width: 860px) {
  .pcs-hero-in { grid-template-columns: 1fr; padding-top: 96px; padding-bottom: 40px; }
  .pcs-hero-art img { max-width: 320px; margin-top: 24px; }
  .pcs-hero { min-height: 0; }
  .pcs-hero-in { min-height: 0; }
  .pcs-hero h1 { font-size: 30px; line-height: 42px; margin-bottom: 10px; }
  .pcs-hero-sub { font-size: 15px; line-height: 24px; }
  .pcs-h2 { font-size: 24px; line-height: 34px; }
  .pcs-sub { font-size: 15px; margin-bottom: 24px; }
  .pcs-sec, .pcs-adv, .pcs-cmp, .pcs-rel { padding: 48px 0 36px; }
  .pcs-custom-sec { padding-bottom: 60px; }
  .pcs-custom { border-radius: 20px; padding: 32px 22px; }
  .pcs-custom h2 { font-size: 24px; line-height: 34px; }
  /* 对比表：横向滚动，保留三列布局 */
  .pcs-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pcs-table { min-width: 680px; }
  .pcs-tr { grid-template-columns: 21% 38% 41%; }
  .pcs-relcard { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .pcs-relitem:nth-child(2n) { border-right: 0; }
}
@media (max-width: 620px) {
  .pcs-cards4, .pcs-cards3 { grid-template-columns: 1fr; }
  .pcs-acard { text-align: left; padding: 28px 22px; }
  .pcs-acard .ico { margin: 0 0 16px; height: 64px; }
  .pcs-relcard { grid-template-columns: 1fr; }
  .pcs-relitem { border-right: 0; padding-bottom: 18px; }
}
