/* ========================================================================== 
   application-detail.css — 应用案例详情页专属样式
   公共 Header / Footer / Backtop 由 common.css 提供
   ========================================================================== */

.page-case-detail {
  overflow: hidden;
  background: #F9F9F9;
}

.page-case-detail__inner {
  width: min(1600px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
}

.page-case-detail__breadcrumb {
  position: absolute;
  right: 0;
  top: 25px;
  display: flex;
  align-items: center;
  color: #777D86;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  z-index: 3;
}

.page-case-detail__breadcrumb a,
.page-case-detail__breadcrumb span {
  color: #777D86;
  display: inline-flex;
  align-items: center;
}

.page-case-detail__breadcrumb a:hover {
  color: #403586;
}

.page-case-detail__breadcrumb a::after,
.page-case-detail__breadcrumb span:not(:last-child)::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0 10px;
  border-top: 1px solid #A6ABB2;
  border-right: 1px solid #A6ABB2;
  transform: rotate(45deg);
}

.page-case-detail-main {
  position: relative;
  padding: 0 0 94px;
}

.page-case-detail__layout {
  display: grid;
  grid-template-columns: 980px 500px;
  justify-content: space-between;
  align-items: start;
}

.page-case-detail-article {
  padding-top: 110px;
}

.page-case-detail-article__title {
  margin: 0;
  color: #403586;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
}

.page-case-detail-article__meta {
  margin-top: 30px;
  color: #777D86;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

.page-case-detail-article__meta p {
  margin: 0;
}

.page-case-detail-article__meta strong {
  display: inline-block;
  min-width: 72px;
  color: #777D86;
  font-weight: 400;
  letter-spacing: .18em;
}

.page-case-detail__split-line {
  position: relative;
  height: 1px;
  margin: 50px 0 60px;
  background: #D8DCDF;
}

.page-case-detail__split-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: 1px;
  background: #73CBC7;
}

.page-case-detail-article__content {
  color: #555B64;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
}

.page-case-detail-article__content p {
  margin: 0 0 30px;
  text-align: justify;
}

.page-case-detail-article__image {
  width: 980px;
  height: 480px;
  margin: 60px 0 50px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8f1f5;
}

.page-case-detail-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-case-detail-article__points p {
  margin-bottom: 32px;
}

.page-case-detail-nav {
  margin-top: 80px;
  border-top: 1px solid #DADDE0;
  display: flex;
  min-height: 120px;
  justify-content: space-between;
  gap: 20px;
}

.page-case-detail-nav__item {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  gap: 24px;
  color: #403586;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.page-case-detail-nav__item:hover {
  color: #73CBC7;
}

.page-case-detail-nav__item--prev {
  padding-right: 24px;
}

.page-case-detail-nav__item--next {
  justify-content: flex-end;
  padding-left: 24px;
  text-align: right;
  border-left: 1px solid #DADDE0;
}

.page-case-detail-nav__label {
  display: block;
  color: #403586;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.page-case-detail-nav__title {
  display: block;
  margin-top: 10px;
  color: currentColor;
}

.page-case-detail-nav__arrow {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-grid;
  place-items: center;
  color: #73CBC7;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.page-case-detail-nav__arrow svg {
  width: 20px;
}

.page-case-detail-back {
  width: 200px;
  height: 50px;
  margin: 64px auto 0;
  border: 1px solid #DEE1E5;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 0 21px 0 0;
  color: #403586;
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 6px 16px rgba(46, 56, 72, .03);
  transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.page-case-detail-back span {
  width: 40px;
  height: 40px;
  margin-left: -1px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: #403586;
  font-size: 20px;
  line-height: 1;
}

.page-case-detail-back:hover {
  color: #403586;
  border-color: #73CBC7;
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 12px 26px rgba(46, 56, 72, .08);
}

.page-case-detail-sidebar {
  padding-top: 272px;
}

.page-case-detail-sidebar__title {
  margin: 0;
  color: #403586;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.page-case-detail-sidebar__line {
  position: relative;
  height: 1px;
  margin-top: 27px;
  background: #DADDE0;
}

.page-case-detail-sidebar__line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 60px;
  height: 1px;
  background: #73CBC7;
}

.page-case-detail-recommend {
  margin-top: 42px;
}

.page-case-detail-recommend__item {
  min-height: 150px;
  border-bottom: 1px solid #E5E7EA;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  column-gap: 30px;
  padding-bottom: 30px;
  margin-bottom: 30px;
}

.page-case-detail-recommend__thumb {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  background: #EEF3F4;
}

.page-case-detail-recommend__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-case-detail-recommend__content h3 {
  margin: 5px 0 0;
  color: #343741;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.page-case-detail-recommend__content h3 a:hover {
  color: #403586;
}

.page-case-detail-recommend__date {
  display: block;
  margin-top: 24px;
  color: #777D86;
  font-size: 14px;
  font-weight: 400;
}

/* ============================== Related Products ============================== */
.page-case-related-products {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background:
    radial-gradient(42vw 26vw at 96% 5%, rgba(115, 203, 199, .13) 0%, rgba(115, 203, 199, .06) 45%, rgba(115, 203, 199, 0) 78%),
    linear-gradient(180deg, #fff 0%, #fbfdfd 100%);
}

.page-case-related-products::before {
  content: "";
  position: absolute;
  right: 0vw;
  bottom: -7vw;
  width: 50%;
  height: 80%;
  opacity: 1;
  transform: rotate(0deg);
  pointer-events: none;
  background: url(../img/page/detailfooter_bg.svg) bottom right no-repeat;
  background-size: contain;
}

.page-case-related-products__inner {
  width: min(1600px, calc(100% - 64px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-case-related-products__head {
  padding-top: 76px;
  text-align: center;
}

.page-case-detail__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #403586;
  font-family: "Poppins", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
}

.page-case-detail__eyebrow::before {
  content: "";
  width: 17px;
  height: 17px;
  display: inline-block;
  background:
    linear-gradient(90deg, #403586 2px, transparent 2px) 0 0 / 5px 5px,
    linear-gradient(#403586 2px, transparent 2px) 0 0 / 5px 5px;
  transform: rotate(45deg) scale(.78);
}

.page-case-related-products__title {
  margin: 12px 0 0;
  color: #73CBC7;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .02em;
}

.page-case-related-products__grid {
  margin-top: 68px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
}

.page-case-related-products__card {
  height: 478px;
  border-radius: 4px;
  overflow: hidden;
  background: url(../img/home-products_cardbg.jpg) center center no-repeat;
  background-size: cover;
  position: relative;
  text-align: center;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease;
}

.page-case-related-products__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(28, 36, 48, .10);
}



.page-case-related-products__media {
  position: relative;
  z-index: 1;
  height: 288px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 28px 0;
}

.page-case-related-products__media img {
  width: 365px;
  max-width: 100%;
  height: 230px;
  object-fit: contain;
}

.page-case-related-products__card h3 {
  position: relative;
  z-index: 1;
  margin: 78px 0 0;
  color: #222833;
  font-family: "Poppins", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.25;
}

.page-case-related-products__card p {
  position: relative;
  z-index: 1;
  margin: 9px 0 0;
  color: #171B22;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}

.page-case-related-products__cta {
  height: 478px;
  border: 1px solid #D3D8DC;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 44px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.page-case-related-products__cta:hover {
  border-color: rgba(115, 203, 199, .85);
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(28, 36, 48, .08);
}

.page-case-related-products__cta-line {
  width: 36px;
  height: 6px;
  border-radius: 99px;
  background: #73CBC7;
}

.page-case-related-products__cta h3 {
  margin: 33px 0 0;
  color: #403586;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.page-case-related-products__cta p {
  margin: 31px 0 0;
  color: #343741;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.page-case-related-products__btn {
  width: 190px;
  height: 60px;
  margin-top: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 30px;
  color: #fff;
  background: #73CBC7;
  font-size: 16px;
  font-weight: 400;
  box-shadow: 0 15px 28px rgba(115, 203, 199, .22);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.page-case-related-products__btn span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #73CBC7;
  background: #fff;
  font-size: 22px;
  line-height: 1;
}

.page-case-related-products__btn:hover {
  color: #fff;
  background: #65C4C1;
  transform: translateY(-2px);
  box-shadow: 0 19px 34px rgba(115, 203, 199, .32);
}

@media (max-width: 1680px) {
  .page-case-detail__layout {
    grid-template-columns: minmax(0, 920px) 430px;
    gap: 80px;
  }

  .page-case-detail-article__image {
    width: 100%;
  }

  .page-case-related-products__grid {
    gap: 28px;
  }
}

@media (max-width: 1480px) {

  .page-case-detail-nav__item {
    min-height: 120px;
    gap: 20px;
    font-size: 14px;
    width: 80%;
    line-height: 1.5;
  }
}

@media (max-width: 1366px) {

  .page-case-detail__inner,
  .page-case-related-products__inner {
    width: min(1180px, calc(100% - 48px));
  }

  .page-case-detail__layout {
    grid-template-columns: minmax(0, 760px) 360px;
    gap: 48px;
  }

  .page-case-detail-article__title {
    font-size: 28px;
  }

  .page-case-detail-article__image {
    height: 410px;
  }

  .page-case-detail-sidebar {
    padding-top: 250px;
  }

  .page-case-detail-recommend__item {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 20px;
  }

  .page-case-detail-recommend__thumb {
    width: 108px;
    height: 108px;
  }

  .page-case-related-products {
    min-height: auto;
    padding-bottom: 80px;
  }

  .page-case-related-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .page-case-detail-main {
    padding-bottom: 70px;
  }

  .page-case-detail__breadcrumb {
    display: none;
  }

  .page-case-detail__layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .page-case-detail-article {
    padding-top: 68px;
  }

  .page-case-detail-article__image {
    height: auto;
    aspect-ratio: 983 / 486;
  }

  .page-case-detail-sidebar {
    padding-top: 0;
  }

  .page-case-detail-recommend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .page-case-detail-recommend__item {
    display: block;
    min-height: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }

  .page-case-detail-recommend__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {

  .page-case-detail__inner,
  .page-case-related-products__inner {
    width: calc(100% - 32px);
  }

  .page-case-detail-article {
    padding-top: 48px;
  }

  .page-case-detail-article__title {
    font-size: 24px;
  }

  .page-case-detail-article__meta {
    margin-top: 22px;
    font-size: 14px;
  }

  .page-case-detail__split-line {
    margin: 34px 0;
  }

  .page-case-detail-article__content {
    font-size: 14px;
    line-height: 1.85;
  }

  .page-case-detail-article__content p {
    margin-bottom: 22px;
  }

  .page-case-detail-article__image {
    margin: 36px 0 34px;
    border-radius: 8px;
  }

  .page-case-detail-nav {
    margin-top: 46px;
    grid-template-columns: 1fr;
  }

  .page-case-detail-nav__item {
    min-height: 96px;
    padding: 0 18px;
  }

  .page-case-detail-nav__item--next {
    border-left: 0;
    border-top: 1px solid #DADDE0;
  }

  .page-case-detail-back {
    margin-top: 38px;
  }

  .page-case-detail-recommend {
    grid-template-columns: 1fr;
  }

  .page-case-detail-recommend__item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 1px solid #E5E7EA;
  }

  .page-case-detail-recommend__thumb {
    width: 96px;
    height: 96px;
  }

  .page-case-detail-recommend__content h3 {
    margin-top: 0;
    font-size: 15px;
  }

  .page-case-detail-recommend__date {
    margin-top: 12px;
  }

  .page-case-related-products__head {
    padding-top: 52px;
  }

  .page-case-related-products__title {
    font-size: 30px;
  }

  .page-case-related-products__grid {
    margin-top: 36px;
    grid-template-columns: 1fr;
  }

  .page-case-related-products__card,
  .page-case-related-products__cta {
    height: auto;
    min-height: 360px;
  }

  .page-case-related-products__media {
    height: 230px;
  }

  .page-case-related-products__card h3 {
    margin-top: 36px;
  }

  .page-case-related-products__cta {
    padding: 44px 28px;
  }

  .page-case-detail-doc {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  .page-case-detail-doc__cover {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ============================================================
   下载详情：文档卡片（封面 + 下载按钮）
   ============================================================ */
.page-case-detail-doc {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 0 50px;
  padding: 28px 32px;
  border: 1px solid #E4E8EB;
  border-radius: 14px;
  background: linear-gradient(180deg, #F7FBFC 0%, #FFFFFF 100%);
}

.page-case-detail-doc__cover {
  flex: 0 0 220px;
  width: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: #e8f1f5;
  box-shadow: 0 10px 24px rgba(64, 53, 134, .10);
}

.page-case-detail-doc__cover img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.page-case-detail-doc__info {
  flex: 1 1 auto;
  min-width: 0;
}

.page-case-detail-doc__name {
  margin: 0;
  color: #403586;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}

.page-case-detail-doc__desc {
  margin: 14px 0 0;
  color: #777D86;
  font-size: 15px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.page-case-detail-doc__download {
  margin-top: 24px;
  width: 200px;
  height: 52px;
  padding: 0 6px 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: #73CBC7;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(115, 203, 199, .16);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.page-case-detail-doc__download i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #73CBC7;
  background: #fff;
  transition: color .25s ease;
}

.page-case-detail-doc__download:hover {
  color: #fff;
  background: #403586;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(64, 53, 134, .18);
}

.page-case-detail-doc__download:hover i {
  color: #403586;
}