﻿/* 成功案例详细页样式 · NCRSIT Neo v1.4
   作用域：.cd-page（案例详情页专用）
   引入方式：<link rel="stylesheet" href="/assets/css/case-detail.css" />
   使用页面：/cases/wanzai-enrollment-platform.html 等案例详情页 */

.cd-page {
  --cd-navy: #0e2c4f;
  --cd-blue: #1b6ec2;
  --cd-deep: #124a86;
  --cd-soft: #f3f7fc;
  --cd-line: #e2eaf4;
  --cd-ink: #17212d;
  --cd-muted: #56657a;
  --cd-radius: 18px;
  color: var(--cd-ink);
  background: #fff;
  line-height: 1.75;
}
.cd-page,
.cd-page * { box-sizing: border-box; }
.cd-page p { margin: 0; }
.cd-page ul { margin: 0; padding: 0; list-style: none; }
.cd-page h2 { margin: 0 0 14px; color: var(--cd-ink); font-size: 30px; font-weight: 700; line-height: 1.35; }

.cd-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.cd-sec { padding: 76px 0; }
.cd-sec--soft { background: var(--cd-soft); }

.cd-crumb { margin-bottom: 22px; color: #a9c6e4; font-size: 13px; }
.cd-crumb a { color: #cfe2f4; text-decoration: none; }
.cd-crumb a:hover { color: #fff; }
.cd-crumb span { margin: 0 6px; }

/* 首屏 */
.cd-hero {
  padding: 96px 0 88px;
  color: #fff;
  background:
    linear-gradient(103deg, rgba(10, 32, 60, .95) 0%, rgba(14, 44, 79, .92) 40%, rgba(18, 74, 134, .74) 72%, rgba(27, 110, 194, .46) 100%),
    url('/assets/images/banner/banner-case-detail.jpg') center 40% / cover no-repeat,
    var(--cd-navy);
}
.cd-eyebrow { display: inline-block; margin-bottom: 14px; color: var(--cd-blue); font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.cd-hero .cd-eyebrow { color: #bcd8f3; }
.cd-hero h1 { max-width: 18em; margin: 0 0 18px; color: #fff; font-size: 46px; font-weight: 800; line-height: 1.28; }
.cd-hero__sub { max-width: 720px; color: #dbe9f7; font-size: 18px; line-height: 1.8; }
.cd-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 34px; }
.cd-meta__item { padding: 14px 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 12px; }
.cd-meta__item span { display: block; margin-bottom: 4px; color: #a9c6e4; font-size: 12px; letter-spacing: .06em; }
.cd-meta__item strong { color: #fff; font-size: 15px; font-weight: 600; }
.cd-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.cd-tag { padding: 7px 16px; color: #eef5fc; font-size: 13.5px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; }
.cd-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cd-btn { display: inline-block; padding: 13px 28px; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 10px; transition: .2s; }
.cd-btn--primary { color: var(--cd-deep); background: #fff; }
.cd-btn--primary:hover { transform: translateY(-2px); }
.cd-btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .5); }
.cd-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* 区块头 */
.cd-head { max-width: 780px; margin-bottom: 36px; }
.cd-lead { color: var(--cd-muted); font-size: 16px; line-height: 1.85; }

/* 项目概况 */
.cd-overview { margin: 0 auto; }
.cd-overview__text p { color: var(--cd-ink); font-size: 20px; line-height: 1.9; }
.cd-facts { overflow: hidden; background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); box-shadow: 0 12px 30px rgba(16, 48, 86, .07); }
.cd-facts h3 { margin: 0; padding: 20px 24px; color: #fff; font-size: 16px; font-weight: 600; background: linear-gradient(120deg, #123f6f, #1b6ec2); }
.cd-facts__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 24px; border-top: 1px solid var(--cd-line); font-size: 14px; }
.cd-facts__row span { color: var(--cd-muted); }
.cd-facts__row strong { color: var(--cd-ink); font-weight: 600; text-align: right; }

/* 挑战 / 能力 */
.cd-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cd-card { padding: 28px 26px; background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); }
.cd-card__no { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 30px; margin-bottom: 14px; padding: 0 8px; color: var(--cd-blue); font-size: 13px; font-weight: 700; letter-spacing: .04em; background: #eaf2fb; border-radius: 8px; }
.cd-card h3 { margin: 0 0 10px; color: var(--cd-ink); font-size: 19px; font-weight: 700; line-height: 1.4; }
.cd-card p { color: var(--cd-muted); font-size: 15px; line-height: 1.8; }
.cd-card--pain { border-top: 3px solid #d9e6f5; }

/* 九个环节小卡片 */
.cd-subhead { margin: 54px 0 22px; }
.cd-subhead h3 { margin: 0 0 6px; color: var(--cd-ink); font-size: 21px; font-weight: 700; }
.cd-subhead p { color: var(--cd-muted); font-size: 15px; }
.cd-grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cd-mini { padding: 24px 18px; color: var(--cd-ink); font-size: 15px; font-weight: 600; text-align: center; background: #fff; border: 1px solid var(--cd-line); border-radius: 14px; }

/* 应用场景图文卡 */
.cd-scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cd-scene { overflow: hidden; background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); box-shadow: 0 10px 26px rgba(16, 48, 86, .06); }
.cd-scene__media { height: 196px; overflow: hidden; background: #dceafb; }
.cd-scene__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cd-scene__body { padding: 22px 24px 26px; }
.cd-scene__body h3 { margin: 0 0 8px; color: var(--cd-ink); font-size: 18px; font-weight: 700; }
.cd-scene__body p { color: var(--cd-muted); font-size: 14.5px; line-height: 1.8; }

/* 实施路径 */
.cd-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: cdstep; }
.cd-flow--4 { grid-template-columns: repeat(4, 1fr); }
.cd-step { position: relative; padding: 24px 20px; background: #fff; border: 1px solid var(--cd-line); border-radius: 14px; }
.cd-step__num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 14px; color: #fff; font-size: 14px; font-weight: 700; background: var(--cd-blue); border-radius: 50%; }
.cd-step h3 { margin: 0 0 8px; color: var(--cd-ink); font-size: 16px; font-weight: 700; }
.cd-step p { color: var(--cd-muted); font-size: 13.5px; line-height: 1.7; }

/* 建设成效 */
.cd-result { color: #fff; background: linear-gradient(115deg, #0b2340, #124a86); }
.cd-result .cd-eyebrow { color: #a9cbea; }
.cd-result h2 { color: #fff; }
.cd-result .cd-lead { color: #c6dcef; }
.cd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 36px 0 34px; }
.cd-stat { padding: 26px 22px; text-align: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 14px; }
.cd-stat strong { display: block; margin-bottom: 6px; color: #fff; font-size: 38px; font-weight: 800; line-height: 1.1; }
.cd-stat strong em { font-style: normal; font-size: 18px; font-weight: 600; }
.cd-stat span { color: #c6dcef; font-size: 14px; }
.cd-result__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; }
.cd-result__item { display: flex; gap: 12px; }
.cd-result__tick { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 3px; color: #0b2340; font-size: 13px; font-weight: 700; background: #bfe0ff; border-radius: 50%; }
.cd-result__item h3 { margin: 0 0 4px; color: #fff; font-size: 16px; font-weight: 600; }
.cd-result__item p { color: #c6dcef; font-size: 14px; line-height: 1.7; }
.cd-note { margin-top: 26px!important; color: #8fa9c3; font-size: 10px; }

/* 客户评价 */
.cd-quote { position: relative; padding: 40px 44px; background: #fff; border: 1px solid var(--cd-line); border-left: 4px solid var(--cd-blue); border-radius: var(--cd-radius); box-shadow: 0 12px 30px rgba(16, 48, 86, .06); }
.cd-quote__mark { position: absolute; top: 10px; left: 26px; color: #dbe9f8; font-size: 64px; font-weight: 800; line-height: 1; }
.cd-quote p { position: relative; color: var(--cd-ink); font-size: 18px; line-height: 1.9; }
.cd-quote cite { display: block; margin-top: 18px; color: var(--cd-muted); font-size: 14px; font-style: normal; }

/* 相关内容 */
.cd-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cd-rel { display: block; padding: 26px 24px; text-decoration: none; background: #fff; border: 1px solid var(--cd-line); border-radius: var(--cd-radius); transition: .2s; }
.cd-rel:hover { border-color: #bcd6ef; box-shadow: 0 14px 30px rgba(16, 48, 86, .1); transform: translateY(-3px); }
.cd-rel__tag { display: inline-block; margin-bottom: 12px; padding: 3px 10px; color: var(--cd-blue); font-size: 12px; font-weight: 600; background: #eaf2fb; border-radius: 999px; }
.cd-rel h3 { margin: 0 0 8px; color: var(--cd-ink); font-size: 17px; font-weight: 700; line-height: 1.5; }
.cd-rel p { color: var(--cd-muted); font-size: 14px; line-height: 1.7; }
.cd-rel__more { display: inline-block; margin-top: 16px; color: var(--cd-blue); font-size: 14px; font-weight: 600; }

/* 底部引导 */
.cd-cta { padding: 78px 0; color: #fff; text-align: center; background: linear-gradient(115deg, #0b2340, #124a86); }
.cd-cta h2 { max-width: 22em; margin: 0 auto 24px; color: #fff; font-size: 42px; }
.cd-cta p { max-width: 40em; margin: 0 auto 34px; color: #c6dcef; font-size: 16px; }
.cd-cta .cd-btns { justify-content: center; }

@media (max-width: 980px) {
  .cd-hero h1 { font-size: 38px; }
  .cd-meta { grid-template-columns: repeat(2, 1fr); }
  .cd-overview { grid-template-columns: 1fr; }
  .cd-stats { grid-template-columns: repeat(2, 1fr); }
  .cd-result__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .cd-grid3 { grid-template-columns: repeat(2, 1fr); }
  .cd-flow { grid-template-columns: repeat(2, 1fr); }
  .cd-flow--4 { grid-template-columns: repeat(2, 1fr); }
  .cd-related { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .cd-sec { padding: 56px 0; }
  .cd-hero { padding: 72px 0 64px; }
  .cd-hero h1 { font-size: 40px; }
  .cd-hero__sub { font-size: 16px; }
  .cd-page h2 { font-size: 24px; }
  .cd-grid3 { grid-template-columns: 1fr; }
  .cd-grid9 { grid-template-columns: 1fr; }
  .cd-scenes { grid-template-columns: 1fr; }
  .cd-flow { grid-template-columns: 1fr; }
  .cd-stat strong { font-size: 30px; }
  .cd-quote { padding: 30px 24px; }
  .cd-quote p { font-size: 16px; }
  .cd-cta h2 { font-size: 30px; }
}
