/* 案例总览页补充样式 */

/* Hero 背景：对齐方案/产品页深黑 + 酒红氛围 */
.hero--cases-overview {
  background:
    radial-gradient(900px 420px at 85% 15%, hsl(351 79% 54% / 0.34), transparent 55%),
    radial-gradient(700px 380px at 12% 80%, hsl(351 79% 48% / 0.22), transparent 52%),
    linear-gradient(160deg, #1a1418 0%, #22181c 48%, #2a1c22 100%);
}

.hero--cases-overview .hero-photo.has-image {
  background-image: url('/cases/case-overview-hero.png?v=20260909h');
  background-position: 58% center;
  background-size: cover;
  opacity: 0.88;
}

.hero--cases-overview .hero-shade {
  /* 左侧不再压成纯黑，保留轻度可读遮罩 */
  background:
    linear-gradient(105deg, rgba(8, 8, 10, 0.62) 0%, rgba(8, 8, 10, 0.32) 45%, rgba(8, 8, 10, 0.08) 100%),
    linear-gradient(to top, rgba(8, 8, 10, 0.35) 0%, transparent 38%);
}

.hero--cases-overview .hero-orb1 {
  opacity: 0.55;
}

.hero--cases-overview .hero-orb2 {
  opacity: 0.4;
}

.hero--cases-overview .hero-desc {
  max-width: 36rem;
}

.hero--cases-overview .hero-desc,
.hero--cases-overview .hero-label-text {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.hero--cases-overview h1 {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  margin-bottom: 0;
}

.hero--cases-overview .btn-row {
  margin-top: 5.5rem;
}

.overview-intro {
  max-width: 48rem;
  margin: 0 auto;
}

.overview-value-grid {
  margin-top: 2rem;
}

/* 建设价值卡片：悬停不改标题色 */
#value .card:hover h3 {
  color: inherit;
}

.case-overview-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .case-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.case-entry {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid hsl(214 13% 90%);
  border-radius: var(--radius, 0.65rem);
  box-shadow: 0 8px 22px hsl(0 0% 0% / 0.035);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}
.case-entry:hover {
  transform: translateY(-4px);
  border-color: hsl(214 13% 86%);
  box-shadow: 0 16px 32px hsl(0 0% 0% / 0.07);
}

.case-thumb {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  min-height: 11.5rem;
  padding: 1.35rem 1.45rem;
  color: #fff;
  overflow: hidden;
}
.case-thumb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.case-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(520px 240px at 88% 8%, rgba(255, 255, 255, 0.16), transparent 55%),
    linear-gradient(160deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
  pointer-events: none;
}
.case-thumb--gov {
  background: linear-gradient(145deg, #1a1520 0%, #3f1218 48%, #d93751 120%);
}
.case-thumb--egov {
  background: linear-gradient(145deg, #0f172a 0%, #1a1520 42%, #bf3a85 120%);
}
.case-thumb__num,
.case-thumb__tag,
.case-thumb__title {
  position: relative;
  z-index: 1;
}
.case-thumb__num {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  z-index: 1;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.22);
}
.case-thumb__tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.26rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.case-thumb__title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.case-entry__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.45rem 1.5rem;
}
.case-entry__body h3 {
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text, #111);
}
.case-entry__desc {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted, #666);
}

.case-entry__points {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0.85rem 0.95rem;
  display: grid;
  gap: 0.45rem;
  background: hsl(210 13% 97%);
  border: 1px solid hsl(214 13% 92%);
}
.case-entry__points li {
  position: relative;
  padding-left: 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #555;
}
.case-entry__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--primary, #d93751);
}

.case-entry__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
}
.case-entry__meta span {
  display: inline-flex;
  padding: 0.22rem 0.6rem;
  border: 1px solid hsl(214 13% 88%);
  background: #fff;
  color: #666;
  font-size: 0.75rem;
  line-height: 1.4;
}

.case-entry__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary, #d93751);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.3s ease, opacity 0.3s ease;
}
.case-entry__link::after {
  content: "→";
  transition: transform 0.3s ease;
}
.case-entry__link:hover {
  gap: 0.65rem;
  opacity: 0.85;
}
.case-entry__link:hover::after {
  transform: translateX(2px);
}

/* 关键成效 */
.overview-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .overview-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .overview-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.overview-stat {
  text-align: center;
  padding: 1.35rem 1rem;
  background: #fff;
  border: 1px solid hsl(214 13% 90%);
  border-radius: var(--radius, 0.65rem);
  box-shadow: 0 6px 16px hsl(0 0% 0% / 0.03);
}
.overview-stat strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--primary, #d93751);
  line-height: 1.2;
  margin-bottom: 0.45rem;
}
.overview-stat span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted, #666);
  line-height: 1.5;
}

/* 能力覆盖 */
.coverage-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .coverage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .coverage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.coverage-item {
  padding: 1.35rem 1.4rem 1.45rem;
  background: #fff;
  border: 1px solid hsl(214 13% 90%);
  border-radius: var(--radius, 0.65rem);
  border-left: 3px solid var(--primary, #d93751);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.coverage-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px hsl(351 79% 54% / 0.08);
}
.coverage-index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: hsl(351 79% 54% / 0.55);
  margin-bottom: 0.55rem;
}
.coverage-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text, #111);
}
.coverage-item p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted, #666);
}

/* 典型应用场景 */
.match-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.match-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.6rem 1.65rem 1.7rem;
  background: #fff;
  border: 1px solid hsl(214 13% 90%);
  border-radius: var(--radius, 0.65rem);
  box-shadow: 0 8px 20px hsl(0 0% 0% / 0.03);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.match-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px hsl(0 0% 0% / 0.07);
}
.match-card__head {
  margin-bottom: 1rem;
}
.match-card__badge {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: hsl(351 79% 54% / 0.55);
}
.match-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
}
.match-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}
.match-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted, #666);
}
.match-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--primary, #d93751);
}
