﻿/* 产品详情页样式 · NCRSIT Neo v1.4
   作用域：.pd-page（产品详情页，独立于解决方案样式与产品列表样式）
   引入方式：<link rel="stylesheet" href="/assets/css/product-detail.css" />
   使用页面：/products/enrollment-registration/ */

.pd-page {
  --d-navy: #0b2340;
  --d-navy-2: #103a63;
  --d-blue: #1b6ec2;
  --d-blue-deep: #124a86;
  --d-cyan: #35b8e0;
  --d-ink: #17212d;
  --d-ink-2: #56657a;
  --d-line: #e2eaf4;
  --d-soft: #f4f8fd;
  --d-radius: 18px;
  color: var(--d-ink);
  background: #fff;
  line-height: 1.7;
}
.pd-page,
.pd-page * { box-sizing: border-box; }
.pd-page p { margin: 0; }
.pd-page h2 { margin: 0 0 14px; color: var(--d-ink); font-size: 30px; font-weight: 700; line-height: 1.35; }

.pd-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 首屏 */
.pd-hero {
  position: relative;
  padding: 34px 0 96px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(53, 184, 224, .24) 0%, rgba(53, 184, 224, 0) 40%),
    linear-gradient(118deg, #081c33 0%, #0d2f52 50%, #11436c 100%);
}
.pd-hero::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .55;
  content: "";
  pointer-events: none;
}
.pd-hero .pd-wrap { position: relative; z-index: 1; }
.pd-crumb { margin-bottom: 44px; color: #8fb4d6; font-size: 13px; }
.pd-crumb a { color: #a9c8e4; text-decoration: none; }
.pd-crumb a:hover { color: #fff; }
.pd-crumb span { margin: 0 8px; opacity: .6; }
.pd-hero__inner { display: grid; grid-template-columns: 1fr .94fr; gap: 52px; align-items: center; }
.pd-hero__eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; color: #9cd8f1; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; }
.pd-hero h1 { margin: 0 0 12px; color: #fff; font-size: 46px; font-weight: 800; line-height: 1.25; }
.pd-hero__sub { margin-bottom: 16px; color: #7fd0ee; font-size: 18px; font-weight: 600; }
.pd-hero__desc { max-width: 33em; color: #c3d9ee; font-size: 16px; line-height: 1.85; }
.pd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 30px; }
.pd-tag { padding: 5px 14px; color: #d8ecfb; font-size: 13px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.pd-btn { display: inline-block; padding: 12px 28px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 10px; transition: .2s; }
.pd-btn--primary { color: var(--d-navy); background: #fff; }
.pd-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(3, 18, 34, .3); }
.pd-btn--ghost { color: #e6f2fc; border: 1px solid rgba(255, 255, 255, .42); }
.pd-btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .10); }
.pd-hero__visual { position: relative; }
.pd-hero__visual img {
  display: block;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(2, 14, 28, .48);
}


/* 数据条 */
.pd-facts { position: relative; z-index: 2; max-width: 1120px; margin: -54px auto 0; padding: 0 24px; }
.pd-facts__box {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border: 1px solid var(--d-line);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(10, 40, 72, .12);
}
.pd-fact { padding: 26px 24px; text-align: center; border-right: 1px solid var(--d-line); }
.pd-fact:last-child { border-right: 0; }
.pd-fact strong { display: block; color: var(--d-blue-deep); font-size: 24px; font-weight: 700; line-height: 1.2; }
.pd-fact span { display: block; margin-top: 7px; color: var(--d-ink-2); font-size: 13.5px; }

/* 通用区块 */
.pd-sec { padding: 76px 0; }
.pd-sec--tint { background: var(--d-soft); }
.pd-head { max-width: 780px; margin-bottom: 12px; }
.pd-eyebrow { display: inline-block; margin-bottom: 12px; color: var(--d-blue); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.pd-lead { color: var(--d-ink-2); font-size: 16px; line-height: 1.85; }

/* 痛点 */
.pd-pain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.pd-pain { padding: 30px 26px; background: #fff; border: 1px solid var(--d-line); border-top: 3px solid #d7e5f4; border-radius: 14px; }
.pd-pain__role { display: inline-block; margin-bottom: 12px; padding: 2px 10px; color: var(--d-blue-deep); font-size: 12px; font-weight: 600; background: #eaf3fc; border-radius: 6px; }
.pd-pain h3 { margin: 0 0 9px; color: var(--d-ink); font-size: 18px; font-weight: 700; }
.pd-pain p { color: var(--d-ink-2); font-size: 14px; line-height: 1.8; }

/* 能力 */
.pd-cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.pd-cap { position: relative; padding: 28px 24px; background: #fff; border: 1px solid var(--d-line); border-radius: 14px; transition: .24s; }
.pd-cap:hover { border-color: #c8dcf1; box-shadow: 0 16px 30px rgba(18, 74, 134, .10); transform: translateY(-3px); }
.pd-cap__no { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 16px; color: var(--d-blue-deep); font-size: 14px; font-weight: 700; background: #eaf3fc; border-radius: 10px; }
.pd-cap h3 { margin: 0 0 8px; color: var(--d-ink); font-size: 17px; font-weight: 700; }
.pd-cap p { color: var(--d-ink-2); font-size: 14px; line-height: 1.8; }

/* 报名流程（节点箭头） */
.pd-flow { display: flex; align-items: flex-start; margin-top: 42px; }
.pd-flow__step { position: relative; flex: 1 1 0; padding: 0 6px; text-align: center; }
.pd-flow__step + .pd-flow__step { 
  /* margin-left: 26px; */
 }
.pd-flow__step:not(:last-child)::after {
  position: absolute;
  top: 17px;
  right: -17px;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-top: 2px solid #dbe7f3;
  border-right: 2px solid #dbe7f3;
  transform: rotate(45deg);
  content: "";
}
.pd-flow__num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 12px; color: #fff; font-size: 14px; font-weight: 700; background: linear-gradient(135deg, var(--d-blue), var(--d-cyan)); border-radius: 50%; box-shadow: 0 4px 10px rgba(27, 110, 194, .22); }
.pd-flow__step h3 { margin: 0; color: var(--d-ink); font-size: 16px; font-weight: 700; }

/* 业务功能点（九宫格） */
.pd-func-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.pd-func {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 18px 16px;
  color: var(--d-ink);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  background: #fff;
  border: 1px solid #dbe7f4;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(18, 74, 134, .05);
  transition: .2s;
}
.pd-func:hover { color: var(--d-blue-deep); background: #fff; border-color: #c9dcf1; box-shadow: 0 10px 22px rgba(18, 74, 134, .08); transform: translateY(-2px); }

/* 产品对比 */
.pd-compare-wrap { margin-top: 34px; overflow-x: auto; background: #fff; border: 1px solid #dbe7f4; border-radius: 16px; box-shadow: 0 12px 30px rgba(15, 51, 87, .07); }
.pd-compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.pd-compare th,
.pd-compare td { padding: 18px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid #e6eef7; }
.pd-compare thead th { color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; background: linear-gradient(120deg, #0f3357, #16528a); }
.pd-compare thead th:first-child { border-top-left-radius: 15px; }
.pd-compare thead th:last-child { border-top-right-radius: 15px; }
.pd-compare thead th.pd-col-us { color: #fff; background: linear-gradient(120deg, #1b6ec2, #2a8fd0); }
.pd-compare tbody tr:last-child td { border-bottom: 0; }
.pd-compare tbody tr:last-child td:first-child { border-bottom-left-radius: 15px; }
.pd-compare tbody tr:last-child td:last-child { border-bottom-right-radius: 15px; }
.pd-compare tbody tr:nth-child(even) td { background: #f8fbfe; }
.pd-compare td:first-child { color: var(--d-ink); font-weight: 600; white-space: nowrap; background: #fbfcfe; }
.pd-compare td:nth-child(2) { color: #6b7a8f; }
.pd-compare .pd-col-us { color: var(--d-blue-deep); font-weight: 600; background: #eef5fd; border-left: 1px solid #d8e8f8; }
.pd-compare tbody tr:nth-child(even) .pd-col-us { background: #e8f2fd; }
.pd-compare tbody tr:hover td { background: #f2f8ff; }
.pd-compare tbody tr:hover .pd-col-us { background: #e2effc; }
.pd-compare td:nth-child(2)::before { display: inline-block; margin-right: 7px; color: #b3c1d1; font-weight: 700; content: "\00d7"; }
.pd-compare td.pd-col-us::before { display: inline-block; margin-right: 7px; color: #1b6ec2; font-weight: 700; content: "\2713"; }
.pd-compare__badge { display: inline-block; margin-left: 6px; padding: 1px 8px; color: #124a86; font-size: 11px; font-weight: 700; background: #fff; border-radius: 999px; }
.pd-compare__note { margin-top: 14px; color: #8a98ab; font-size: 12.5px; }

/* 产品对比 · 本平台列在左（通过修饰类启用） */
.pd-compare--us-first td:nth-child(2) { color: var(--d-blue-deep); font-weight: 600; }
.pd-compare--us-first td:nth-child(3) { color: #6b7a8f; }
.pd-compare--us-first td:nth-child(3)::before { display: inline-block; margin-right: 7px; color: #b3c1d1; font-weight: 700; content: "\00d7"; }
.pd-compare--us-first .pd-col-us { border-right: 1px solid #d8e8f8; }

/* 生源类别与业务规则 */
.pd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pd-chip { padding: 7px 16px; color: var(--d-blue-deep); font-size: 14px; font-weight: 600; background: #eef5fd; border: 1px solid #d5e6f8; border-radius: 999px; }
.pd-source-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 22px; margin-top: 26px; }
.pd-panel { padding: 30px; background: #fff; border: 1px solid var(--d-line); border-radius: 16px; }
.pd-panel h3 { margin: 0 0 16px; color: var(--d-ink); font-size: 18px; font-weight: 700; }
.pd-rule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
.pd-rule-grid li { position: relative; padding-left: 24px; color: var(--d-ink-2); font-size: 14px; line-height: 1.65; }
.pd-rule-grid li::before { position: absolute; top: 0; left: 0; color: var(--d-blue); font-weight: 700; content: "\2713"; }
.pd-faq-tag { display: inline-block; margin-bottom: 12px; padding: 2px 10px; color: var(--d-blue-deep); font-size: 12px; font-weight: 600; background: #eaf3fc; border-radius: 6px; }
.pd-faq-q { margin-bottom: 10px; color: var(--d-blue-deep); font-size: 15px; font-weight: 700; }
.pd-faq-a { color: var(--d-ink-2); font-size: 14px; line-height: 1.85; }
.pd-faq-a + .pd-faq-q { margin-top: 20px; }

/* 场景 */
.pd-scene-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.pd-scene { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--d-line); border-radius: 16px; }
.pd-scene__media { aspect-ratio: 4 / 3; overflow: hidden; background: #eaf1f9; }
.pd-scene__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pd-scene:hover .pd-scene__media img { transform: scale(1.04); }
.pd-scene__body { flex: 1; padding: 24px 24px 26px; }
.pd-scene__body h3 { margin: 0 0 8px; color: var(--d-ink); font-size: 17px; font-weight: 700; }
.pd-scene__body p { color: var(--d-ink-2); font-size: 14px; line-height: 1.8; }

/* 规格与交付 */
.pd-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.pd-spec__col { padding: 32px 30px; background: #fff; border: 1px solid var(--d-line); border-radius: 16px; }
.pd-spec__col h3 { margin: 0 0 18px; color: var(--d-ink); font-size: 18px; font-weight: 700; }
.pd-spec__list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.pd-spec__list li { position: relative; padding-left: 28px; color: var(--d-ink-2); font-size: 14.5px; line-height: 1.7; }
.pd-spec__list li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--d-blue);
  font-size: 11px;
  background: #eaf3fc;
  border-radius: 50%;
  content: "\2713";
}

/* 相关内容 */
.pd-related { padding: 52px 0 56px; background: #fbfcfe; border-top: 1px solid var(--d-line); }
.pd-related__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.pd-related__head h2 { margin: 0; color: var(--d-ink); font-size: 22px; }
.pd-related__head span { color: #8a98ab; font-size: 13.5px; }
.pd-related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); grid-auto-rows: 1fr; gap: 14px; }
.pd-related__item { display: inline-flex; align-items: center; gap: 10px; min-height: 62px; padding: 18px 20px; color: var(--d-ink); font-size: 15px; text-decoration: none; background: #fff; border: 1px solid #dbe7f4; border-radius: 12px; box-shadow: 0 2px 8px rgba(18, 74, 134, .04); transition: .2s; }
.pd-related__item:hover { color: var(--d-blue-deep); border-color: #c6dcf2; box-shadow: 0 10px 20px rgba(18, 74, 134, .10); transform: translateY(-2px); }
.pd-related__item::after { margin-left: auto; color: #a7bacd; content: "\2192"; }
.pd-related__tag { flex: none; padding: 3px 9px; font-size: 12px; font-weight: 600; border-radius: 6px; }
.pd-related__tag--sol { color: #124a86; background: #eaf3fc; }
.pd-related__tag--case { color: #1c7a52; background: #e7f6ee; }
.pd-related__tag--prod { color: #15526c; background: #dbfafe; }
.pd-related__tag--blog { color: #363636; background: #edecec; }

/* 相关内容 · 卡片式（增强版，仅用于 .pd-related--rich） */
.pd-related--rich { padding: 74px 0 80px; background: linear-gradient(180deg, #f3f8fd 0%, #fafcff 100%); border-top: 0; }
.pd-related--rich .pd-related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; margin-bottom: 30px; padding-bottom: 24px; border-bottom: 1px solid #dbe6f2; }
.pd-related--rich .pd-related__eyebrow { display: block; margin-bottom: 8px; color: var(--d-blue); font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.pd-related--rich .pd-related__head h2 { margin: 0; font-size: 26px; }
.pd-related--rich .pd-related__lead { max-width: 30em; margin: 0; color: #7f8ea3; font-size: 13.5px; line-height: 1.7; text-align: right; }
.pd-related--rich .pd-related__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.pd-related--rich .pd-related__item { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-height: 0; padding: 24px 24px 26px; background: #fff; border: 1px solid #dbe7f4; border-radius: 16px; box-shadow: 0 2px 10px rgba(18, 74, 134, .04); }
.pd-related--rich .pd-related__item:hover { border-color: #bcd6ef; box-shadow: 0 16px 30px rgba(18, 74, 134, .12); }
.pd-related--rich .pd-related__item h3 { margin: 14px 0 8px; padding-right: 34px; color: var(--d-ink); font-size: 16.5px; font-weight: 700; line-height: 1.5; transition: color .2s; }
.pd-related--rich .pd-related__item:hover h3 { color: var(--d-blue-deep); }
.pd-related--rich .pd-related__item p { color: var(--d-ink-2); font-size: 13.5px; line-height: 1.75; }
.pd-related--rich .pd-related__item::after { position: absolute; top: 22px; right: 22px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 0; color: #8299b0; font-size: 14px; background: #f1f6fc; border-radius: 50%; content: "\2192"; transition: .2s; }
.pd-related--rich .pd-related__item:hover::after { color: #fff; background: var(--d-blue-deep); transform: translateX(2px); }

/* 底部引导 */
.pd-cta { position: relative; padding: 78px 0; overflow: hidden; text-align: center; color: #fff; background: linear-gradient(120deg, #0b2340 0%, #124a86 100%); }
.pd-cta::before { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(53, 184, 224, .20), transparent 46%); content: ""; }
.pd-cta .pd-wrap { position: relative; z-index: 1; }
.pd-cta h2 { max-width: 24em; margin: 0 auto 24px; color: #fff; font-size: 42px; }
.pd-cta p { margin: 0 auto 30px; color: #c6dcef; font-size: 16px; }
.pd-cta .pd-actions { justify-content: center; }

@media (max-width: 980px) {
  .pd-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .pd-hero h1 { font-size: 36px; }
  .pd-crumb { margin-bottom: 30px; }
  .pd-hero__visual { max-width: 640px; }
  .pd-facts__box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-fact:nth-child(2) { border-right: 0; }
  .pd-fact:nth-child(3),
  .pd-fact:nth-child(4) { border-top: 1px solid var(--d-line); }
  .pd-pain-grid,
  .pd-cap-grid,
  .pd-scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-func-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-source-split { grid-template-columns: 1fr; }
  .pd-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
  .pd-flow__step { margin-left: 0; }
  .pd-flow__step:not(:last-child)::after { display: none; }
}

@media (max-width: 640px) {
  .pd-hero { padding: 24px 0 76px; }
  .pd-hero h1 { font-size: 40px; }
  .pd-hero__sub { font-size: 16px; }
  .pd-hero__desc { font-size: 15px; }
  .pd-sec { padding: 52px 0; }
  .pd-page h2 { font-size: 28px; }
  .pd-facts { margin-top: -40px; }
  .pd-fact { padding: 18px 12px; }
  .pd-fact strong { font-size: 20px; }
  .pd-pain-grid,
  .pd-cap-grid,
  .pd-scene-grid,
  .pd-spec { grid-template-columns: 1fr; }
  .pd-func-grid { grid-template-columns: 1fr; }
  .pd-rule-grid { grid-template-columns: 1fr; }
  .pd-flow { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .pd-flow__step { display: flex; align-items: center; gap: 14px; padding: 0; text-align: left; }
  .pd-flow__num { flex: none; width: 32px; height: 32px; margin-bottom: 0; font-size: 13px; }
  .pd-flow__step:not(:last-child)::after { display: block; top: auto; right: auto; bottom: -15px; left: 11px; width: 10px; height: 10px; margin: 0; transform: rotate(135deg); }
  .pd-related { padding: 34px 0 38px; }
  .pd-related__head h2 { font-size: 17px; }
  .pd-related__item { width: 100%; }
  .pd-panel { padding: 24px; }
  .pd-compare { min-width: 620px; }
  .pd-chip { padding: 6px 13px; font-size: 13px; }
  .pd-cta { padding: 56px 0; }
  .pd-cta h2 { margin: 0 auto 24px; font-size: 38px; }
}

/* 相关内容 · 卡片式响应式 */
@media (max-width: 980px) {
  .pd-related--rich .pd-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-related--rich .pd-related__lead { max-width: 26em; }
}

@media (max-width: 640px) {
  .pd-related--rich { padding: 44px 0 48px; }
  .pd-related--rich .pd-related__head { align-items: flex-start; margin-bottom: 22px; padding-bottom: 18px; }
  .pd-related--rich .pd-related__head h2 { font-size: 21px; }
  .pd-related--rich .pd-related__lead { text-align: left; }
  .pd-related--rich .pd-related__list { grid-template-columns: 1fr; gap: 14px; }
  .pd-related--rich .pd-related__item { padding: 20px 20px 22px; }
  .pd-related--rich .pd-related__item::after { top: 18px; right: 18px; width: 26px; height: 26px; }
}
