/* ==========================================================================
   案例中心 / 资讯中心（2026-11）
   与 product-page.css 共用品牌变量：主色 #0044ff，深色 #0a1a3c
   ========================================================================== */

.cn-page {
  background: #fff;
  color: #111;
}

.cn-wrap {
  box-sizing: border-box;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------------------------------------------------------------- 页头 */
.cn-hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 0;
  background:
    radial-gradient(720px 380px at 78% 8%, rgba(0, 68, 255, .10), transparent 66%),
    radial-gradient(540px 320px at 12% 96%, rgba(11, 158, 111, .07), transparent 70%),
    linear-gradient(180deg, #f8fafe 0%, #ffffff 100%);
}

.cn-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e3e8f1 22%, #e3e8f1 78%, transparent);
}

.cn-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #9aa3b4;
  margin-bottom: 22px;
}

.cn-crumb a {
  color: #6b7382;
  text-decoration: none;
}

.cn-crumb a:hover {
  color: #0044ff;
}

.cn-crumb .sep {
  color: #c7cedb;
}

.cn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .06em;
  color: #8b93a3;
  margin-bottom: 16px;
}

.cn-eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.cn-h1 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -1.4px;
}

.cn-h1 em {
  font-style: normal;
  color: #0044ff;
}

.cn-lead {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 15.5px;
  line-height: 1.92;
  color: #6b7382;
}

.cn-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e9edf4;
}

.cn-hero-stats li {
  /* 2026-11-16：原先 padding-left 为 0，数字与分隔线全挤在列首，改为四列内容居中 */
  padding: 26px 16px 30px;
  text-align: center;
  border-right: 1px solid #eef1f6;
}

.cn-hero-stats li:last-child {
  border-right: 0;
}

.cn-hero-stats strong {
  display: block;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1px;
  color: #0a1a3c;
  line-height: 1.1;
}

.cn-hero-stats strong small {
  font-size: 15px;
  font-weight: 600;
  margin-left: 2px;
  color: #0044ff;
}

.cn-hero-stats span {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: #8b93a3;
}

/* ---------------------------------------------------------------- 筛选 */
.cn-filter {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 18px 0 16px;
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid #eef1f6;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.cn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cn-tab {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid #e6ebf3;
  border-radius: 999px;
  background: #fff;
  color: #4b566b;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.cn-tab:hover {
  color: #0044ff;
  border-color: rgba(0, 68, 255, .32);
}

.cn-tab.is-on {
  background: #0044ff;
  border-color: #0044ff;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 68, 255, .22);
}

/* ---------------------------------------------------------------- 案例列表 */
.cn-section {
  padding: 46px 0 24px;
}

.cn-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 20px;
}

.cn-count {
  margin: 0 0 22px;
  font-size: 12.5px;
  color: #97a0b1;
}

.case-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e9edf4;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s ease, border-color .32s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 68, 255, .22);
  box-shadow: 0 20px 44px rgba(12, 36, 90, .10);
}

.case-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a1128;
}

.case-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.case-card:hover .case-media img {
  transform: scale(1.05);
}

.case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 12, 28, .05) 0%, rgba(6, 12, 28, .30) 52%, rgba(6, 12, 28, .86) 100%);
}

.case-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 6px;
  background: #0044ff;
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .02em;
  box-shadow: 0 6px 14px rgba(0, 68, 255, .28);
}

.case-name {
  position: absolute;
  text-wrap: balance;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.2px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(4, 10, 24, .34);
}

.case-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 16px 14px;
}

.case-desc {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.78;
  color: #6b7382;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2026-11-16：案例里的公司名太弱，加粗加深 */
.case-desc strong {
  font-weight: 700;
  color: #34405a;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px dashed #e6ebf3;
}

.case-metrics strong {
  display: block;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.6px;
  line-height: 1.2;
  color: #0a1a3c;
}

.case-metrics span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: #93a0b4;
}

.case-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: #0044ff;
  text-decoration: none;
}

.case-more svg {
  width: 13px;
  height: 13px;
  transition: transform .28s ease;
}

.case-card:hover .case-more svg {
  transform: translateX(3px);
}

/* 第 8 格：招募下一个案例 */
.case-card--cta {
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 26px 22px;
  background:
    radial-gradient(320px 220px at 88% 10%, rgba(0, 68, 255, .16), transparent 62%),
    linear-gradient(160deg, #0b1c3d 0%, #071228 100%);
  border-color: #10264f;
  color: #fff;
}

.case-card--cta .cn-eyebrow {
  color: #7f97c8;
  margin: 0;
}

.case-card--cta h3 {
  margin: 2px 0 0;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.4px;
}

.case-card--cta p {
  margin: 0;
  font-size: 12.8px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .62);
}

.case-card--cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-top: 8px;
  padding: 0 18px;
  border-radius: 999px;
  background: #0044ff;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 68, 255, .3);
}

.case-card--cta a svg {
  width: 14px;
  height: 14px;
}

/* ---------------------------------------------------------------- 资讯 */
.cn-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  margin: 0 0 26px;
  border: 1px solid #e9edf4;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .32s ease, border-color .32s ease;
}

.cn-feature:hover {
  border-color: rgba(0, 68, 255, .22);
  box-shadow: 0 22px 50px rgba(12, 36, 90, .10);
}

.cn-feature-media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.cn-feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 44px;
}

.cn-feature-body .cn-pill {
  align-self: flex-start;
  margin-bottom: 16px;
}

.cn-feature-body h2 {
  margin: 0;
  font-size: clamp(21px, 1.9vw, 28px);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -.6px;
  color: #0a1a3c;
}

.cn-feature-body h2 a {
  color: inherit;
  text-decoration: none;
}

.cn-feature:hover .cn-feature-body h2 a {
  color: #0044ff;
}

.cn-feature-body p {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7382;
}

.cn-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 12.5px;
  color: #93a0b4;
}

.cn-meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ccd4e0;
}

/* 文章卡 */
.news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid #e9edf4;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .32s cubic-bezier(.16, 1, .3, 1), box-shadow .32s ease, border-color .32s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 68, 255, .22);
  box-shadow: 0 20px 44px rgba(12, 36, 90, .10);
}

.news-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.cn-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 22px;
  padding: 0 9px;
  border-radius: 5px;
  background: rgba(0, 68, 255, .08);
  color: #0d51ff;
  font-size: 11.5px;
  letter-spacing: .02em;
}

.news-title {
  margin: 12px 0 0;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: -.2px;
  color: #14223c;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title a {
  color: inherit;
  text-decoration: none;
}

.news-card:hover .news-title {
  color: #0044ff;
}

.news-excerpt {
  margin: 10px 0 0;
  font-size: 12.8px;
  line-height: 1.8;
  color: #7b8394;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
}

.news-date {
  font-size: 12px;
  color: #a3acbd;
}

.news-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 500;
  color: #0044ff;
  text-decoration: none;
}

.news-more svg {
  width: 13px;
  height: 13px;
  transition: transform .28s ease;
}

.news-card:hover .news-more svg {
  transform: translateX(3px);
}

.cn-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 20px;
}

/* ---------------------------------------------------------------- 封面插画 */
.cn-art {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 24px;
  overflow: hidden;
  color: #fff;
  background: #0a1128;
}

.cn-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 90% at 80% 10%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 80% 10%, #000 0%, transparent 72%);
}

.cn-art-kicker {
  position: relative;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}

.cn-art-word {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1;
  color: #fff;
}

.cn-art-desc {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .66);
  max-width: 78%;
}

.cn-art--blue {
  background:
    radial-gradient(300px 220px at 84% 12%, rgba(0, 132, 255, .55), transparent 66%),
    radial-gradient(260px 200px at 12% 92%, rgba(90, 60, 255, .42), transparent 68%),
    linear-gradient(160deg, #071233 0%, #050a1c 100%);
}

.cn-art--teal {
  background:
    radial-gradient(300px 220px at 78% 16%, rgba(0, 200, 170, .45), transparent 64%),
    radial-gradient(240px 200px at 10% 94%, rgba(0, 90, 255, .35), transparent 70%),
    linear-gradient(160deg, #05192a 0%, #04101d 100%);
}

.cn-art--violet {
  background:
    radial-gradient(320px 230px at 80% 14%, rgba(150, 90, 255, .5), transparent 64%),
    radial-gradient(240px 200px at 8% 92%, rgba(255, 90, 160, .28), transparent 70%),
    linear-gradient(160deg, #120a2e 0%, #08051a 100%);
}

.cn-art--amber {
  background:
    radial-gradient(300px 220px at 82% 14%, rgba(255, 160, 40, .42), transparent 64%),
    radial-gradient(240px 200px at 6% 92%, rgba(255, 80, 60, .26), transparent 70%),
    linear-gradient(160deg, #241205 0%, #100804 100%);
}

.cn-art--slate {
  background:
    radial-gradient(300px 220px at 80% 14%, rgba(120, 160, 255, .38), transparent 64%),
    linear-gradient(160deg, #0c1424 0%, #070b14 100%);
}

.cn-art--green {
  background:
    radial-gradient(300px 220px at 80% 14%, rgba(20, 190, 130, .45), transparent 64%),
    radial-gradient(240px 200px at 8% 92%, rgba(0, 110, 255, .3), transparent 70%),
    linear-gradient(160deg, #061a1a 0%, #04100f 100%);
}

/* 环形装饰 */
.cn-art-ring {
  position: absolute;
  right: -46px;
  top: -46px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 26px rgba(255, 255, 255, .035), inset 0 0 0 54px rgba(255, 255, 255, .02);
}

.cn-art-bar {
  position: absolute;
  left: 24px;
  bottom: 22px;
  width: 44px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .3);
}

/* ---------------------------------------------------------------- 空态 */
.cn-empty {
  padding: 80px 0;
  text-align: center;
  color: #93a0b4;
  font-size: 14px;
}

.cn-hidden {
  display: none !important;
}

/* ---------------------------------------------------------------- 响应式 */
@media (max-width: 1180px) {
  .cn-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* 三列时最后一块 CTA 卡补满整行，避免右侧留洞 */
  .case-card--cta {
    grid-column: span 2;
  }
}

@media (max-width: 1024px) {
  .cn-hero {
    padding-top: 96px;
  }

  .cn-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-hero-stats li:nth-child(2) {
    border-right: 0;
  }

  .cn-hero-stats li:nth-child(1),
  .cn-hero-stats li:nth-child(2) {
    border-bottom: 1px solid #eef1f6;
  }

  .cn-grid,
  .cn-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cn-feature {
    grid-template-columns: 1fr;
  }

  .cn-feature-media {
    min-height: 240px;
  }

  .cn-feature-body {
    padding: 28px 28px 32px;
  }
}

@media (max-width: 767px) {
  .cn-wrap {
    padding: 0 20px;
  }

  .cn-hero {
    padding-top: 84px;
  }

  .cn-h1 {
    letter-spacing: -.8px;
  }

  .cn-lead {
    font-size: 14px;
    line-height: 1.85;
  }

  .cn-hero-stats strong {
    font-size: 24px;
  }

  .cn-filter {
    top: 60px;
    padding: 12px 0 12px;
  }

  .cn-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .cn-tabs::-webkit-scrollbar {
    display: none;
  }

  .cn-tab {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
  }

  .cn-section {
    padding: 28px 0 16px;
  }

  .cn-grid,
  .cn-grid--3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cn-feature-media {
    min-height: 200px;
  }

  .cn-feature-body {
    padding: 22px 20px 26px;
  }

  .case-card--cta {
    padding: 22px 20px;
  }
}

@media (max-width: 359px) {
  .cn-hero-stats {
    grid-template-columns: 1fr;
  }

  .cn-hero-stats li {
    border-right: 0;
    padding-right: 0;
  }
}

/* CTA 卡：补装饰，避免跨两列时大面积空白 */
.case-card--cta {
  position: relative;
  overflow: hidden;
}

.case-card--cta::before {
  content: "";
  position: absolute;
  right: -78px;
  top: -86px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: inset 0 0 0 44px rgba(255, 255, 255, .022), inset 0 0 0 92px rgba(255, 255, 255, .014);
  pointer-events: none;
}

.case-card--cta::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 96, 255, .34), transparent 68%);
  pointer-events: none;
}

.case-card--cta > * {
  position: relative;
  z-index: 2;
}
