/* ============================================================
   产品详情页统一样式 · 前缀 pd-
   由 functions.php 在 is_singular(product) 时挂载，7 个产品页共用
   自包含，不依赖主题 Tailwind 类
   ============================================================ */

.pd-wrap {
  --pd-main: #1a6dff;
  --pd-main-dark: #0d4fd0;
  --pd-ink: #101828;
  --pd-body: #475467;
  --pd-mute: #98a2b3;
  --pd-line: #e4e7ec;
  --pd-soft: #f6f9ff;
  --pd-radius: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--pd-body);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.pd-wrap *,
.pd-wrap *::before,
.pd-wrap *::after {
  box-sizing: border-box;
}

.pd-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Hero ---------- */

.pd-hero {
  background: linear-gradient(165deg, #06122b 0%, #0b2350 45%, #103a7d 100%);
  color: #fff;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.pd-hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 109, 255, 0.42) 0%, rgba(26, 109, 255, 0) 68%);
  pointer-events: none;
}

.pd-hero .pd-container {
  position: relative;
  z-index: 1;
}

.pd-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #d5e4ff;
  margin-bottom: 22px;
}

.pd-title {
  font-size: 42px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.pd-sub {
  font-size: 17px;
  line-height: 1.85;
  color: #c3d4ee;
  max-width: 730px;
  margin: 0 0 34px;
}

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 46px;
}

.pd-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  line-height: 1.2;
}

.pd-btn-main {
  background: var(--pd-main);
  color: #fff;
  box-shadow: 0 10px 24px rgba(26, 109, 255, 0.34);
}

.pd-btn-main:hover {
  background: var(--pd-main-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(26, 109, 255, 0.44);
}

.pd-btn-line {
  color: #cfe0ff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
}

.pd-btn-line:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pd-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--pd-radius);
  overflow: hidden;
}

.pd-stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 22px 18px;
  text-align: center;
}

.pd-stat strong {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.pd-stat span {
  font-size: 13px;
  color: #a9c0e0;
  line-height: 1.5;
}

/* ---------- 能力徽标带 ---------- */

.pd-band {
  background: var(--pd-soft);
  border-bottom: 1px solid var(--pd-line);
  padding: 22px 0;
}

.pd-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
}

.pd-badges li {
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d3e2ff;
  color: #2455a8;
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

/* ---------- 通用区块 ---------- */

.pd-sec {
  padding: 68px 0;
}

.pd-sec-alt {
  background: var(--pd-soft);
}

.pd-head {
  margin-bottom: 38px;
  max-width: 760px;
}

.pd-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--pd-main);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pd-head h2 {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--pd-ink);
  margin: 0 0 12px;
}

.pd-head p {
  font-size: 15.5px;
  color: var(--pd-body);
  margin: 0;
}

/* ---------- 痛点卡片 ---------- */

.pd-grid {
  display: grid;
  gap: 18px;
}

.pd-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.pd-card {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  padding: 26px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pd-card:hover {
  transform: translateY(-4px);
  border-color: #b8d2ff;
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.09);
}

.pd-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--pd-main);
  background: #eaf1ff;
  border-radius: 7px;
  padding: 3px 9px;
  margin-bottom: 14px;
  letter-spacing: 0.06em;
}

.pd-card h3 {
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--pd-ink);
  margin: 0 0 10px;
}

.pd-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--pd-body);
  margin: 0;
}

/* ---------- 功能模块 ---------- */

.pd-mods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pd-mod {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-left: 4px solid var(--pd-main);
  border-radius: 10px;
  padding: 22px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.pd-mod:hover {
  transform: translateX(3px);
  box-shadow: 0 10px 26px rgba(16, 24, 40, 0.08);
}

.pd-mod h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--pd-ink);
  margin: 0 0 10px;
}

.pd-mod-what {
  font-size: 14.5px;
  color: var(--pd-body);
  margin: 0 0 8px;
}

.pd-mod-scene {
  font-size: 13.5px;
  color: #5b7bab;
  background: #f0f5ff;
  border-radius: 6px;
  padding: 7px 11px;
  margin: 0;
}

.pd-mod-scene::before {
  content: "典型场景 · ";
  font-weight: 600;
  color: var(--pd-main);
}

.pd-mod:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* ---------- 适合企业 ---------- */

.pd-fit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.pd-fit li {
  margin: 0;
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  padding: 24px 26px 24px 62px;
  position: relative;
}

.pd-fit li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #eaf1ff;
  border: 2px solid var(--pd-main);
}

.pd-fit h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--pd-ink);
  margin: 0 0 8px;
  line-height: 1.55;
}

.pd-fit p {
  font-size: 14.5px;
  color: var(--pd-body);
  margin: 0;
}

/* ---------- 上线流程 ---------- */

.pd-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pdstep;
}

.pd-steps li {
  margin: 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-bottom: 26px;
  position: relative;
}

.pd-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 46px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, #cfe0ff 0%, #eaf1ff 100%);
}

.pd-step-n {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--pd-main);
  color: var(--pd-main);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pd-steps h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--pd-ink);
  margin: 6px 0 6px;
  line-height: 1.5;
}

.pd-steps p {
  font-size: 14.5px;
  color: var(--pd-body);
  margin: 0;
}

/* ---------- FAQ ---------- */

.pd-faq {
  display: grid;
  gap: 14px;
}

.pd-faq-item {
  background: #fff;
  border: 1px solid var(--pd-line);
  border-radius: var(--pd-radius);
  padding: 24px 26px;
}

.pd-faq-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--pd-ink);
  margin: 0 0 10px;
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}

.pd-faq-item h3::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--pd-main);
  font-weight: 800;
}

.pd-faq-item p {
  font-size: 14.5px;
  color: var(--pd-body);
  margin: 0;
  padding-left: 26px;
}

/* ---------- 结尾 CTA ---------- */

.pd-end {
  padding: 20px 0 76px;
}

.pd-end-box {
  background: linear-gradient(150deg, #0b2350 0%, #103a7d 100%);
  border-radius: 18px;
  padding: 52px 44px;
  text-align: center;
  color: #fff;
}

.pd-end-box h2 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.35;
}

.pd-end-box > p {
  font-size: 15.5px;
  color: #c3d4ee;
  margin: 0 auto 30px;
  max-width: 660px;
}

.pd-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin: 0 0 32px;
  padding: 0;
}

.pd-contact > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pd-contact dt {
  font-size: 13px;
  color: #8fa9cc;
  margin: 0;
}

.pd-contact dd {
  margin: 0;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

.pd-contact dd a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.pd-contact dd a:hover {
  border-bottom-color: #fff;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 1024px) {
  .pd-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd-title {
    font-size: 36px;
  }
  .pd-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pd-hero {
    padding: 52px 0 46px;
  }
  .pd-title {
    font-size: 29px;
  }
  .pd-sub {
    font-size: 15.5px;
    margin-bottom: 26px;
  }
  .pd-actions {
    margin-bottom: 32px;
  }
  .pd-btn {
    padding: 13px 22px;
    font-size: 14.5px;
    flex: 1 1 auto;
    text-align: center;
  }
  .pd-sec {
    padding: 46px 0;
  }
  .pd-head h2 {
    font-size: 23px;
  }
  .pd-head p {
    font-size: 14.5px;
  }
  .pd-grid-4 {
    grid-template-columns: 1fr;
  }
  .pd-mods {
    grid-template-columns: 1fr;
  }
  .pd-stat strong {
    font-size: 25px;
  }
  .pd-stat {
    padding: 18px 12px;
  }
  .pd-fit li {
    padding: 22px 20px 22px 52px;
  }
  .pd-fit li::before {
    left: 20px;
    top: 27px;
    width: 17px;
    height: 17px;
  }
  .pd-end-box {
    padding: 38px 24px;
    border-radius: 14px;
  }
  .pd-end-box h2 {
    font-size: 22px;
  }
  .pd-contact {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .pd-steps li {
    gap: 14px;
  }
  .pd-step-n {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .pd-steps li:not(:last-child)::before {
    left: 16px;
    top: 40px;
  }
  .pd-faq-item {
    padding: 20px 20px;
  }
  .pd-faq-item h3 {
    font-size: 15.5px;
  }
}

@media (max-width: 480px) {
  .pd-title {
    font-size: 25px;
  }
  .pd-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .pd-badges {
    justify-content: flex-start;
  }
  .pd-badges li {
    font-size: 12.5px;
    padding: 6px 12px;
  }
}

/* ============================================================
   联系方式链接：桌面端不可点击，移动端保留拨号/发信
   ------------------------------------------------------------
   tel: 与 mailto: 在桌面浏览器会弹系统关联提示，
   而 PC 访客通常直接在页面上阅读号码，不需要这个动作。
   移动端点按拨号仍是有效转化路径，所以只在桌面禁用。
   用 pointer-events 而不是改 DOM，避免影响 SEO 与文案复制。
   ============================================================ */

@media (min-width: 769px) and (hover: hover) and (pointer: fine) {
  .pd-wrap a[href^="tel:"],
  .pd-wrap a[href^="mailto:"] {
    pointer-events: none;
    cursor: text;
    text-decoration: none;
    border-bottom: 0;
    color: inherit;
  }
  .pd-wrap a[href^="tel:"]:hover,
  .pd-wrap a[href^="mailto:"]:hover {
    border-bottom: 0;
  }
}

/* 桌面端仍保留可读性：号码与邮箱加点字距便于抄写 */
@media (min-width: 769px) {
  .pd-contact dd {
    letter-spacing: 0.01em;
    -webkit-user-select: all;
    user-select: all;
  }
}
