/**
 * 文件描述：白皮书专区列表与详情页样式
 */

body.case-index-page {
  padding-top: 0;
  background: var(--slate-50);
}

body.case-index-page .nav:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ── BANNER LOGO 滚动墙 ── */
.banner-logo-scroll {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(var(--nav-height) + clamp(280px, calc(100vw * 420 / 1440), 420px));
  background: linear-gradient(180deg, #bdd3ee 0%, #edf3f9 100%);
}

.banner-logo-scroll-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.banner-logo-scroll-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1200px;
  height: auto;
  display: block;
  animation: bannerLogoScroll 50s linear infinite;
}

@keyframes bannerLogoScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-1239px);
  }
}

.banner-logo-scroll-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-px);
  text-align: center;
}

.banner-logo-scroll-title {
  margin: 0 0 clamp(10px, calc(100vw * 16 / 1440), 16px);
  font-size: clamp(28px, calc(100vw * 58 / 1440), 58px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.banner-logo-scroll-desc {
  margin: 0;
  font-size: clamp(14px, calc(100vw * 18 / 1440), 18px);
  color: #414751;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .banner-logo-scroll {
    min-height: calc(var(--nav-height) + 220px);
  }

  .banner-logo-scroll-title {
    font-size: clamp(22px, 5.8vw, 28px);
  }

  .banner-logo-scroll-desc {
    font-size: var(--fs-14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .banner-logo-scroll-img {
    animation: none;
  }
}

/* ── INDEX-HERO — 标题区 ── */
.index-hero {
  position: relative;
  overflow: hidden;
  background: var(--slate-100);
  min-height: clamp(200px, calc(100vw * 300 / 1440), 300px);
}

.index-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.index-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

.index-top-icon {
  position: absolute;
  width: 460px;
  height: 280px;
  top: 50%;
  transform: translateY(-50%);
  right: calc((100vw - 1440px) / 2 + 120px);
  background: url("/static/skin/images/case/yjwp-icon.png") no-repeat center / contain;
}

@media (max-width: 1440px) {
  .index-top-icon {
    width: calc(460 / 1440 * 100vw);
    height: calc(280 / 1440 * 100vw);
    right: calc(120 / 1440 * 100vw);
  }
}

.index-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(60px, calc(100vw * 100 / 1440), 100px) 0
    clamp(60px, calc(100vw * 90 / 1440), 90px);
}

.index-hero-inner .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px) 0 calc(var(--container-px) + 20px);
}

.index-hero-title {
  font-size: var(--fs-block-head);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(10px, calc(100vw * 14 / 1440), 14px);
}

.index-hero-desc {
  font-size: var(--fs-16);
  color: rgba(0, 87, 156, 0.62);
  line-height: 1.65;
  margin: 0;
}

/* ── 滚动入场 ── */
.case-index-page .index-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.case-index-page .index-fade.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .case-index-page .index-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── INDEX-MAIN ── */
.case-index-page .index-page {
  position: relative;
  z-index: 2;
  margin-top: 0;
  padding-bottom: clamp(26px, calc(100vw * 70 / 1440), 70px);
  color: var(--on-surface, #1a1a1a);
  line-height: 1.5;
  isolation: isolate;
  background: #f8fafc;
}

.index-page .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}


/* ── CSR-SHOWROOM — 精选案例样板间 ── */
.csr-showroom {
  padding: clamp(32px, calc(100vw * 88 / 1440), 88px) 0 clamp(40px, calc(100vw * 56 / 1440), 56px);
}

.csr-showroom-layout {
  display: grid;
  grid-template-columns: clamp(168px, calc(100vw * 200 / 1440), 200px) minmax(0, 1fr);
  gap: clamp(24px, calc(100vw * 40 / 1440), 40px);
  align-items: start;
}

.csr-showroom-nav {
  position: sticky;
  top: calc(var(--nav-height) + clamp(12px, calc(100vw * 16 / 1440), 16px));
  z-index: 2;
}

.csr-showroom-nav-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.csr-showroom-nav-list::after {
  content: '';
  position: absolute;
  left: 1px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(193, 199, 210, 0.5);
  z-index: 0;
  pointer-events: none;
}

.csr-showroom-nav-link {
  position: relative;
  z-index: 1;
  display: block;
  padding: clamp(10px, calc(100vw * 12 / 1440), 12px) clamp(12px, calc(100vw * 16 / 1440), 16px);
  border-left: none;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--on-surface-variant);
  line-height: 1.5;
  transition: color 0.2s ease, background 0.2s ease;
}

.csr-showroom-nav-link:hover {
  color: var(--primary);
}

.csr-showroom-nav-link.is-active {
  background: var(--blue-bg);
  color: var(--primary);
  font-weight: 600;
}

.csr-showroom-nav-link.is-active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 1;
}

.csr-showroom-nav-link.is-active-son{
  color: var(--primary);
  font-weight: 600;
}

.csr-showroom-nav-link.is-active-son::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  z-index: 1;
}


.csr-showroom-head {
  margin-bottom: clamp(24px, calc(100vw * 32 / 1440), 52px);
}

.csr-showroom-title {
  margin: 0 0 clamp(10px, calc(100vw * 14 / 1440), 14px);
  font-size: var(--fs-28);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
}

.csr-showroom-desc {
  margin: 0;
  font-size: var(--fs-14);
  color: #777C85;
  line-height: 1.75;
}

/* ── BPS — 案例白皮书卡片 ── */
.bps-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(16px, calc(100vw * 24 / 1440), 24px);
}

.bps-head-main {
  flex: 1;
  min-width: 0;
}

.bps-head-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: clamp(4px, calc(100vw * 6 / 1440), 6px);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.5;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.bps-head-link:hover {
  color: var(--primary-container);
}

.bps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.bps-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--r12);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.bps-card:hover {
  box-shadow: 0 8px 24px rgba(0, 87, 156, 0.1);
  transform: translateY(-2px);
}

.bps-card-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, calc(100vw * 28 / 1440), 28px) clamp(16px, calc(100vw * 24 / 1440), 24px);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff00 100%);
}

.bps-card-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(120px, calc(100vw * 180 / 1440), 180px);
  object-fit: contain;
}

.bps-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: clamp(10px, calc(100vw * 12 / 1440), 12px);
  padding: clamp(16px, calc(100vw * 20 / 1440), 20px) clamp(16px, calc(100vw * 20 / 1440), 20px) clamp(20px, calc(100vw * 24 / 1440), 24px);
}

.bps-card-title-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.bps-card-title {
  margin: 0;
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.45;
}

.bps-card-title-row .mega-link-new {
  margin-top: 3px;
  margin-left: 0;
}

.bps-card-desc {
  flex: 1;
  margin: 0;
  font-size: var(--fs-14);
  color: var(--on-surface-variant);
  line-height: 1.65;
}

.bps-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: auto;
  padding: clamp(10px, calc(100vw * 12 / 1440), 12px) 16px;
  border: 1px solid rgba(0, 87, 156, 0.25);
  border-radius: var(--r8);
  background: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bps-card-btn:hover {
  background: rgba(0, 87, 156, 0.04);
  border-color: var(--primary);
  color: var(--primary);
}

@media (max-width: 1024px) {
  .bps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .bps-head {
    flex-direction: column;
    align-items: stretch;
  }

  .bps-head-link {
    align-self: flex-start;
    margin-top: 0;
  }

  .bps-grid {
    grid-template-columns: 1fr;
  }
}

.csr-showroom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.csr-showroom-card {
  display: flex;
  flex-direction: column;
  background: #fbfcfd;
  border-radius: var(--r12);
  overflow: hidden;
  color: inherit;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.csr-showroom-card:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: 0px 0px 10px 0px rgba(0, 87, 156, 0.1);
}

.csr-showroom-card-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--slate-100);
  flex-shrink: 0;
  transform: translateZ(0);
}

.csr-showroom-card-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.csr-showroom-card-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  padding: clamp(20px, calc(100vw * 28 / 1440), 28px) clamp(12px, calc(100vw * 14 / 1440), 14px) clamp(12px, calc(100vw * 14 / 1440), 14px);
  font-size: var(--fs-20);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
  background: linear-gradient(90deg, #ffffff 24%, #ffffff00 100%);
}

.csr-showroom-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  margin-top: -1px;
  padding: clamp(12px, calc(100vw * 14 / 1440), 14px) clamp(14px, calc(100vw * 18 / 1440), 18px) clamp(16px, calc(100vw * 20 / 1440), 20px);
  background: #fbfcfd;
}

.csr-showroom-card-desc {
  flex: 1;
  font-size: var(--fs-14);
  color: var(--on-surface-variant);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.65em * 2);
}

.csr-showroom-card-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-end;
  margin-top: auto;
  font-size: var(--fs-16);
  font-weight: 600;
  color: var(--primary-container);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.csr-showroom-card:hover .csr-showroom-card-more {
  opacity: 1;
  transform: none;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .csr-showroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .csr-showroom-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .csr-showroom{
    padding-top: 0;
  }

  .banner-logo-scroll-content{
    margin-top: 20px;
  }

  .csr-showroom-nav {
    top: var(--nav-height);
    margin: 0 calc(-1 * var(--container-px));
    padding: 0 var(--container-px);
    background: #fff;
    border-bottom: 1px solid rgba(193, 199, 210, 0.5);
  }

  .csr-showroom-nav-list {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .csr-showroom-nav-list::after {
    display: none;
  }

  .csr-showroom-nav-list::-webkit-scrollbar {
    display: none;
  }

  .csr-showroom-nav-link {
    flex: 1 0 auto;
    min-width: max-content;
    padding: 10px 14px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
  }

  .csr-showroom-nav-link.is-active {
    border-bottom-color: var(--primary);
    background: transparent;
  }

  .csr-showroom-nav-link.is-active::before {
    display: none;
  }

  .csr-showroom-title {
    font-size: var(--fs-section-title);
  }

  .csr-showroom-desc {
    font-size: var(--fs-14);
  }

  .csr-showroom-grid {
    grid-template-columns: 1fr;
  }

  .csr-showroom-card-more {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .index-hero {
    min-height: 140px;
  }

  .index-hero-inner {
    padding-top: 56px;
    padding-bottom: 74px;
  }

  .index-page {
    margin-top: -20px;
  }

  .index-hero-inner .container {
    padding-left: var(--container-px);
  }

  .index-top-icon {
    width: 44vw;
    height: 28vw;
    right: 2vw;
    min-width: 160px;
    min-height: 96px;
  }

  .index-hero-title {
    font-size: clamp(22px, 5.8vw, 26px);
  }

  .index-hero-desc {
    font-size: var(--fs-14);
  }
}

/* ── INDEX-DOWNLOAD — 案例集轮播 ── */
.index-download {
  background: #fff;
  border-radius: var(--r16);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, calc(100vw * 36 / 1440), 36px) clamp(20px, calc(100vw * 32 / 1440), 32px) clamp(16px, calc(100vw * 24 / 1440), 24px);
  margin-bottom: clamp(40px, calc(100vw * 56 / 1440), 56px);
}

.index-download-viewport {
  position: relative;
  min-height: clamp(180px, calc(100vw * 220 / 1440), 220px);
}

.index-download-track {
  position: relative;
}

.index-download-slide {
  display: none;
  grid-template-columns: minmax(140px, 220px) 1fr;
  align-items: center;
  gap: clamp(20px, calc(100vw * 32 / 1440), 32px);
  min-width: 0;
}

.index-download-slide.is-active {
  display: grid;
  animation: index-panel-in 0.35s ease;
}

.index-download-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.index-download-title {
  font-size: clamp(18px, calc(100vw * 24 / 1440), 24px);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.35;
  margin: 0 0 12px;
}

.index-download-desc {
  font-size: var(--fs-14);
  color: #414752;
  line-height: 1.75;
  margin: 0 0 20px;
}

.index-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 24px;
  border-radius: var(--r8);
  background: var(--primary);
  color: #fff;
  font-size: var(--fs-14);
  font-weight: 600;
  transition: background 0.2s ease;
}

.index-download-btn:hover {
  background: var(--primary-container);
  color: #fff;
}

.index-download-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.index-download-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 87, 156, 0.15);
  color: var(--primary);
  background: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.index-download-arrow:hover {
  background: rgba(0, 87, 156, 0.06);
  border-color: rgba(0, 87, 156, 0.3);
}

.index-download-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.index-download-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(0, 87, 156, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.index-download-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

/* ── INDEX-CASES — 行业 Tab + 案例网格 ── */
.index-cases {
  margin-bottom: clamp(48px, calc(100vw * 64 / 1440), 64px);
}

.index-cases-title,
.index-showroom-title,
.index-support-title {
  text-align: center;
  font-size: var(--fs-block-head);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
  margin: 0 0 clamp(24px, calc(100vw * 32 / 1440), 32px);
}

.index-cases-tabs-wrap {
  position: relative;
  margin-bottom: clamp(24px, calc(100vw * 32 / 1440), 32px);
}

.index-cases-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.index-cases-tabs::-webkit-scrollbar {
  display: none;
}

.index-cases-tab {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: none;
  background: none;
  font-size: var(--fs-14);
  font-weight: 500;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.index-cases-tab:hover,
.index-cases-tab.is-active {
  color: var(--primary);
}

.index-cases-line {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: left 0.25s ease, width 0.25s ease;
  pointer-events: none;
}

.index-cases-tabs-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 87, 156, 0.12);
}

.index-cases-panels {
  position: relative;
  min-height: 280px;
}

.index-cases-panel {
  display: none;
}

.index-cases-panel.is-active {
  display: block;
  animation: index-panel-in 0.35s ease;
}

@keyframes index-panel-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.index-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.index-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(24px, calc(100vw * 28 / 1440), 28px) clamp(16px, calc(100vw * 20 / 1440), 20px) clamp(20px, calc(100vw * 24 / 1440), 24px);
  background: #fff;
  border: 1px solid rgba(0, 87, 156, 0.08);
  border-radius: var(--r12);
  box-shadow: 0 4px 20px rgba(0, 87, 156, 0.06);
  color: inherit;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.index-case-card:hover {
  border-color: rgba(0, 87, 156, 0.18);
  box-shadow: 0 8px 28px rgba(0, 87, 156, 0.1);
  transform: translateY(-2px);
}

.index-case-card--award::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: url("/static/skin/images/case/award-icon.svg") no-repeat center / contain;
}

.index-case-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin-bottom: 16px;
}

.index-case-logo img {
  max-width: 140px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.index-case-name {
  font-size: clamp(16px, calc(100vw * 18 / 1440), 18px);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.4;
  margin: 0 0 10px;
}

.index-case-desc {
  flex: 1;
  font-size: var(--fs-14);
  color: #666;
  line-height: 1.7;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.index-case-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--primary);
  border: 1px solid rgba(0, 87, 156, 0.15);
  transition: background 0.2s ease, color 0.2s ease;
}

.index-case-card:hover .index-case-more {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.index-cases-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: #999;
  font-size: var(--fs-14);
}

/* ── INDEX-SHOWROOM — 案例样板间 ── */
.index-showroom {
  margin-bottom: clamp(48px, calc(100vw * 64 / 1440), 64px);
}

.index-showroom-desc {
  max-width: 845px;
  margin: -12px auto clamp(36px, calc(100vw * 48 / 1440), 48px);
  text-align: center;
  font-size: var(--fs-16);
  color: #414752;
  line-height: 1.75;
}

.index-showroom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, calc(100vw * 16 / 1440), 16px) clamp(14px, calc(100vw * 20 / 1440), 20px);
}

.index-showroom-card {
  position: relative;
  display: block;
  aspect-ratio: 285 / 183;
  border-radius: var(--r8);
  overflow: hidden;
  color: #fff;
}

.index-showroom-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.index-showroom-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 90%;
  text-align: center;
  font-size: clamp(16px, calc(100vw * 20 / 1440), 20px);
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease;
}

.index-showroom-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.index-showroom-quote {
  width: 90%;
  text-align: center;
  font-size: var(--fs-14);
  line-height: 1.5;
}

.index-showroom-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #fff;
  border-radius: 2px;
  font-size: 12px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.index-showroom-card:hover .index-showroom-mask {
  opacity: 1;
}

.index-showroom-card:hover .index-showroom-name {
  opacity: 0;
}

.index-showroom-card:hover .index-showroom-bg {
  transform: scale(1.04);
}

.index-showroom-card:hover .index-showroom-more {
  background: #fff;
  color: var(--primary);
}

/* ── INDEX-SUPPORT — 支持与服务 ── */
.index-support-desc {
  max-width: 720px;
  margin: -12px auto clamp(28px, calc(100vw * 36 / 1440), 36px);
  text-align: center;
  font-size: var(--fs-16);
  color: #414752;
  line-height: 1.75;
}

.index-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
}

.index-support-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 140px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid rgba(0, 87, 156, 0.08);
  border-radius: var(--r12);
  box-shadow: 0 4px 16px rgba(0, 87, 156, 0.05);
  color: var(--on-surface);
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.index-support-card:hover {
  border-color: rgba(0, 87, 156, 0.2);
  box-shadow: 0 8px 24px rgba(0, 87, 156, 0.1);
  transform: translateY(-2px);
  color: var(--primary);
}

.index-support-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 87, 156, 0.08);
  color: var(--primary);
}

.index-support-text {
  font-size: var(--fs-16);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .index-cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-showroom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .index-download-slide {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .index-download-cover {
    max-width: 180px;
    margin: 0 auto;
  }

  .index-download-body {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .index-cases-grid,
  .index-support-grid {
    grid-template-columns: 1fr;
  }

  .index-showroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .index-showroom-desc {
    max-width: 100%;
  }

  .index-cases-tab {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ── CSP-PLAN — 支持与服务计划 ── */
.csp-plan {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, #f2f7fd 4%, #d6e2f8 100%);
  overflow: hidden;
  position: relative;
}
.csp-plan::after{
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url("/static/skin/images/case/case-bt-bg.png") no-repeat center right / contain;
}

.csp-plan-head {
 
  margin: 0 auto clamp(32px, calc(100vw * 48 / 1440), 48px);
  text-align: center;
  position: relative;
  z-index: 1;
}

.csp-plan-title {
  margin: 0 0 clamp(12px, calc(100vw * 16 / 1440), 16px);
  font-size: var(--fs-block-head);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
}

.csp-plan-desc {
  margin: 0;
  font-size: var(--fs-16);
  color: var(--on-surface-variant);
  line-height: 1.75;
}

.csp-plan-body {
  position: relative;
}

.csp-plan-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, calc(100vw * 20 / 1440), 20px);
  width: 100%;
}

.csp-plan-visual {
  position: absolute;
  right: clamp(-48px, calc(100vw * -80 / 1440), -24px);
  bottom: clamp(-24px, calc(100vw * -48 / 1440), -8px);
  width: clamp(260px, calc(100vw * 520 / 1440), 520px);
  pointer-events: none;
  z-index: 0;
}

.csp-plan-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.csp-plan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: clamp(220px, calc(100vw * 260 / 1440), 260px);
  padding: clamp(28px, calc(100vw * 36 / 1440), 36px) clamp(20px, calc(100vw * 24 / 1440), 24px) clamp(24px, calc(100vw * 28 / 1440), 28px);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff66 0%, #ffffff0d 100%);
  box-sizing: border-box;
  border: 0.8px solid #FFFFFF;
  backdrop-filter: blur(30px);
  box-shadow: inset 0px 0px 24px 0px rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(16px);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.csp-plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: 0 14px 40px rgba(0, 87, 156, 0.12);
}

.csp-plan-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, calc(100vw * 64 / 1440), 64px);
  height: clamp(56px, calc(100vw * 64 / 1440), 64px);
  margin-bottom: clamp(14px, calc(100vw * 18 / 1440), 18px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.csp-plan-card-icon img,
.csp-plan-card-icon svg {
  display: block;
  width: 25px;
  max-width: inherit;
  object-fit: cover;

}

.csp-plan-card-name {
  margin-bottom: clamp(8px, calc(100vw * 10 / 1440), 10px);
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.4;
}

.csp-plan-card-desc {
  flex: 1;
  font-size: var(--fs-14);
  color: rgba(0, 87, 156, 0.6);
  line-height: 1.7;
}

.csp-plan-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(16px, calc(100vw * 20 / 1440), 20px);
  color: var(--primary-container);
}

.csp-plan-card:hover .csp-plan-card-arrow {
  color: var(--primary);
}

@media (max-width: 1024px) {
  .csp-plan-visual {
    position: static;
    width: min(360px, 80%);
    margin: clamp(24px, calc(100vw * 32 / 1440), 32px) auto 0;
  }
}

@media (max-width: 768px) {
  .csp-plan-grid {
    grid-template-columns: 1fr;
  }

  .csp-plan-card {
    min-height: 0;
  }

  .csp-plan-title {
    font-size: var(--fs-section-title);
  }

  .csp-plan-desc {
    font-size: var(--fs-14);
  }

  .csp-plan-card-name {
    font-size: var(--fs-16);
  }
}

/* ── 列表卡片链接态 ── */
a.bps-card {
  display: flex;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* ── 白皮书详情页 ── */
body.bps-detail-page {
  background: var(--slate-50);
}

.bps-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: color 0.2s ease;
}

.bps-back:hover {
  color: var(--primary);
}

.bps-back-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url('/static/skin/images/news/icon_back.svg') center / contain no-repeat;
}

.bps-detail-layout {
  display: flex;
  gap: clamp(24px, calc(100vw * 40 / 1440), 40px);
  align-items: flex-start;
}

.bps-detail-main {
  flex: 1;
  min-width: 0;
}

.bps-detail-main img{
  margin: 8px auto;
}
.bps-detail-title {
  margin: 0 0 12px;
  font-size: clamp(22px, calc(100vw * 28 / 1440), 28px);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.35;
}

.bps-detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 clamp(24px, calc(100vw * 32 / 1440), 32px);
  padding-bottom: clamp(16px, calc(100vw * 20 / 1440), 20px);
  border-bottom: 1px solid var(--outline-variant, #e5e7eb);
}

.bps-detail-cate {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--r8);
  background: rgba(0, 87, 156, 0.08);
  font-size: var(--fs-13);
  font-weight: 600;
  color: var(--primary);
}

.bps-detail-content {
  font-size: var(--fs-16);
  line-height: 2;
  color: var(--on-surface-variant);
  text-align: justify;
}

.bps-detail-content div,
.bps-detail-content p,
.bps-detail-content li {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.bps-detail-content ul {
  padding-left: 20px;
}

.bps-detail-content li {
  list-style: disc;
}

.bps-detail-aside {
  flex: 0 0 min(300px, 100%);
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(20px, calc(100vw * 24 / 1440), 24px);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--r12);
  box-shadow: 0 4px 16px rgba(0, 87, 156, 0.06);
}

.bps-detail-cover {
  display: block;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border-radius: var(--r8);
  object-fit: contain;
}

.bps-detail-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: clamp(12px, calc(100vw * 14 / 1440), 14px) 16px;
  border: 1px solid rgba(0, 87, 156, 0.25);
  border-radius: var(--r8);
  background: var(--primary);
  font-size: var(--fs-14);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.bps-detail-download:hover {
  background: var(--primary-container, #004a85);
  border-color: var(--primary-container, #004a85);
  color: #fff;
}

.bps-turn {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(32px, calc(100vw * 40 / 1440), 40px);
  padding-top: clamp(20px, calc(100vw * 24 / 1440), 24px);
  border-top: 1px solid var(--outline-variant, #e5e7eb);
  font-size: var(--fs-14);
  color: var(--on-surface-variant);
}

.bps-turn-item a {
  color: var(--primary);
}

.bps-turn-item a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .bps-detail-layout {
    flex-direction: column;
  }

  .bps-detail-aside {
    position: static;
    width: 100%;
  }
}
