/* 案例展示 · Hero + Soul 能力区（内容宽 1280，手机图按官网比例放大） */

:root {
  --cs-cyan: #25d4d0;
  --cs-ink: #282828;
  --cs-muted: #6c727f;
  --cs-grad: linear-gradient(270deg, #18c8d5 0%, #5a9df3 55%, #a997fc 100%);
  --cs-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --cs-max: 1280px;
}

.bce-body--cases .bce-main,
.bce-body--cases main.bce-main-minimal,
.bce-body--cases main {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.cases-dl-page {
  margin: 0;
  font-family: var(--cs-font);
  color: var(--cs-ink);
  background: #fff;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* —— Hero —— */
.cases-dl-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b1220;
}
.cases-dl-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cases-dl-hero__mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(11, 18, 32, 0.5);
}
.cases-dl-hero__inner {
  position: relative;
  z-index: 2;
  width: min(960px, 92vw);
  margin: 0 auto;
  padding: 48px 16px 72px;
  text-align: center;
}
.cases-dl-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
}
.cases-dl-brand__logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  padding: 8px;
}
.cases-dl-brand__name {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 750;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.cases-dl-hero__slogan {
  display: block;
  max-width: 560px;
  width: 100%;
  height: auto;
  margin: 0 auto 24px;
}
.cases-dl-hero__tagline {
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  margin: 0 0 36px;
  line-height: 1.45;
}
.cases-dl-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}
.cases-dl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}
.cases-dl-btn:hover,
.cases-dl-btn:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  outline: none;
}
.cases-dl-btn__icon { width: 30px; height: 30px; flex-shrink: 0; display: block; }
.cases-dl-btn__meta { text-align: left; line-height: 1.25; display: grid; }
.cases-dl-btn__plat { font-size: 13px; color: rgba(255, 255, 255, 0.78); }
.cases-dl-btn__action { font-size: 16px; font-weight: 600; color: #fff; }
.cases-dl-qr {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  z-index: 5;
  padding: 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.cases-dl-qr img { display: block; width: 160px; height: 160px; object-fit: contain; }
.cases-dl-btn:hover .cases-dl-qr,
.cases-dl-btn:focus-within .cases-dl-qr,
.cases-dl-btn.is-open .cases-dl-qr { display: block; }
.cases-dl-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
}
.cases-dl-more:hover { background: #fff; color: #1a56db; }
.cases-dl-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  animation: cases-dl-bounce 1.6s infinite;
}
.cases-dl-scroll svg { width: 28px; height: 28px; display: block; }
@keyframes cases-dl-bounce {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.7; }
  50% { transform: translate(-50%, 8px); opacity: 1; }
}

/* —— Intro —— */
.cs-intro {
  padding: 120px 24px 48px;
  text-align: center;
  background: #fff;
}
.cs-intro__inner { max-width: 820px; margin: 0 auto; }
.cs-intro__brand {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--cs-cyan);
}
.cs-intro__title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 800;
  line-height: 1.3;
  background: var(--cs-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-intro__desc {
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
  color: var(--cs-muted);
}

/* —— Soul blocks —— */
.soul-block {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.soul-block--one { background: linear-gradient(180deg, #fff 0%, #f4fbff 48%, #fff 100%); }
.soul-block--two { background: linear-gradient(180deg, #fff 0%, #fff7fb 50%, #fff 100%); }
.soul-block--three { background: linear-gradient(180deg, #fff 0%, #f5f8ff 50%, #fff 100%); }
.soul-block--four { background: linear-gradient(180deg, #fff 0%, #f7f4ff 50%, #fff 100%); }

.soul-block__inner {
  width: min(var(--cs-max), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(520px, 1.1fr);
  gap: 48px 72px;
  align-items: center;
}
.soul-block__inner--rev {
  grid-template-columns: minmax(520px, 1.1fr) minmax(360px, 0.9fr);
}
.soul-block__inner--rev .soul-block__copy { order: 2; }
.soul-block__inner--rev .soul-stage { order: 1; }

.soul-block__eyebrow {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: #5a9df3;
}
.soul-block--two .soul-block__eyebrow { color: #e56bb0; }
.soul-block--three .soul-block__eyebrow { color: #6b7cff; }
.soul-block--four .soul-block__eyebrow { color: #8b6bff; }
.soul-block__copy h3 {
  margin: 0 0 20px;
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--cs-ink);
}
.soul-block__copy p {
  margin: 0;
  max-width: 32em;
  font-size: 17px;
  line-height: 1.95;
  color: var(--cs-muted);
}

.soul-stage {
  position: relative;
  width: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.soul-stage--solo { min-height: 680px; }
.soul-stage__phone {
  position: relative;
  z-index: 2;
  width: 416px;
  max-width: 46%;
  height: auto;
  display: block;
  filter: drop-shadow(0 32px 56px rgba(50, 70, 120, 0.2));
}
.soul-stage__phone--lg {
  width: 460px;
  max-width: 52%;
}
.soul-stage__deco {
  position: absolute;
  z-index: 0;
  width: 180px;
  height: auto;
  opacity: 0.92;
  pointer-events: none;
  animation: soul-spin 22s linear infinite;
}
.soul-stage__deco--blue { right: 4%; top: 6%; }
.soul-stage__deco--red {
  left: 6%;
  bottom: 8%;
  animation-direction: reverse;
}
.soul-stage__float {
  position: absolute;
  z-index: 3;
  height: auto;
  pointer-events: none;
  animation: soul-float 5s ease-in-out infinite;
}
.soul-stage__float--avatar {
  width: 280px;
  max-width: 42%;
  right: -4%;
  top: 2%;
  animation-delay: 0.15s;
}
.soul-stage__float--show {
  width: 320px;
  max-width: 52%;
  left: -6%;
  bottom: 8%;
  animation-delay: 0.7s;
}
.soul-stage__float--c1 {
  width: 64px;
  left: 8%;
  top: 20%;
  animation-delay: 1.1s;
}
.soul-stage__float--c2 {
  width: 64px;
  right: 10%;
  bottom: 26%;
  animation-delay: 1.5s;
}
.soul-stage__float--mod {
  width: 340px;
  max-width: 56%;
  left: -8%;
  top: 12%;
}
.soul-stage__float--heart {
  width: 56px;
  right: 8%;
  top: 18%;
  animation-delay: 0.4s;
}
.soul-stage__float--fire {
  width: 96px;
  right: 0;
  bottom: 14%;
  animation-delay: 1s;
}
.soul-stage__float--m1 {
  width: 220px;
  max-width: 36%;
  left: -6%;
  top: 14%;
}
.soul-stage__float--m2 {
  width: 220px;
  max-width: 36%;
  right: -4%;
  bottom: 12%;
  animation-delay: 0.65s;
}

@keyframes soul-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes soul-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.soul-x {
  padding: 24px 0 72px;
  background: #fff;
}
.soul-x__card {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 56px;
  border-radius: 32px;
  background: linear-gradient(120deg, #eaf6ff, #f4efff) center / cover no-repeat;
  text-align: center;
  box-shadow: 0 18px 48px rgba(80, 100, 160, 0.1);
}
.soul-x__card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
}
.soul-x__card p {
  margin: 0 auto;
  max-width: 44em;
  color: var(--cs-muted);
  line-height: 1.9;
  font-size: 16px;
}

.cs-end {
  padding: 48px 20px 120px;
  background: #fff;
  text-align: center;
}
.cs-end__inner { max-width: 620px; margin: 0 auto; }
.cs-end__inner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
}
.cs-end__inner p {
  margin: 0 0 28px;
  color: var(--cs-muted);
  line-height: 1.7;
  font-size: 16px;
}
.cs-end__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  background: #282828;
  color: #fff;
  text-decoration: none;
  font-weight: 650;
  font-size: 16px;
}
.cs-end__btn:hover { background: #474747; color: #fff; }

.cs-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.cs-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .soul-block__inner,
  .soul-block__inner--rev {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .soul-block__inner--rev .soul-block__copy,
  .soul-block__inner--rev .soul-stage { order: initial; }
  .soul-block__copy p {
    margin-left: auto;
    margin-right: auto;
  }
  .soul-stage {
    min-height: 620px;
    margin: 0 auto;
    width: min(640px, 100%);
  }
  .soul-stage__phone {
    width: 360px;
    max-width: 52%;
  }
}

@media (max-width: 640px) {
  .cases-dl-btns { flex-direction: column; align-items: stretch; }
  .cases-dl-btn { justify-content: center; }
  .cases-dl-hero__tagline { letter-spacing: 0.08em; }
  .cs-intro { padding: 72px 18px 32px; }
  .soul-block { padding: 64px 0; }
  .soul-block__inner { width: calc(100% - 32px); }
  .soul-stage { min-height: 480px; }
  .soul-stage__phone {
    width: 280px;
    max-width: 58%;
  }
  .soul-stage__float--avatar { width: min(180px, 40%); }
  .soul-stage__float--show,
  .soul-stage__float--mod { width: min(220px, 48%); }
  .soul-stage__float--c1,
  .soul-stage__float--c2,
  .soul-stage__deco { display: none; }
  .soul-x__card {
    width: calc(100% - 32px);
    padding: 40px 22px;
  }
}
