/* =====================================================================
   平台介绍右侧视觉区 — 2.5D 等距磨砂玻璃生态看板（参考 baizhan.html Hero 风格）
   适配品牌红配色（#CC2017 / #E24737 / #F3A18A），PC 端右置展示、移动端自适应居中缩放
   ===================================================================== */

.bz-stage {
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: 100%;
  aspect-ratio: 1.38 / 1;
  container-type: inline-size;
  overflow: visible;
  user-select: none;
}

/* 底层环境光晕（柔粉红晕与页底自然融接，同时在底板四周形成暖红光床衬托白色延伸光线） */
.bz-aura {
  position: absolute;
  inset: 2% -2% -8% 0%;
  pointer-events: none;
  background:
    radial-gradient(46% 42% at 68% 76%, rgba(226, 71, 55, 0.32) 0%, rgba(226, 71, 55, 0) 72%),
    radial-gradient(44% 38% at 24% 58%, rgba(243, 161, 138, 0.38) 0%, rgba(243, 161, 138, 0) 70%),
    radial-gradient(38% 32% at 48% 24%, rgba(243, 161, 138, 0.2) 0%, rgba(243, 161, 138, 0) 70%);
  filter: blur(22px);
}

/* 2.5D 等距透视平面容器（长焦透视 + 精确三轴倾角对齐参考图基准斜率：横边 21°~24°、纵边 43°~45°） */
.bz-iso {
  position: absolute;
  left: 5%;
  top: 2%;
  width: 89%;
  height: 90%;
  transform-style: preserve-3d;
  transform: perspective(3600px) rotateX(51.5deg) rotateY(-2deg) rotateZ(35.5deg);
}

/* 底层磨砂玻璃主平台 */
.bz-base {
  position: absolute;
  left: 11%;
  top: 11%;
  width: 78%;
  height: 78%;
  border: 1.5px solid rgba(255, 255, 255, 0.98);
  border-radius: 3cqw;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 244, 242, 0.8) 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.98),
    -1.4cqw 2.8cqw 6cqw rgba(168, 38, 28, 0.16),
    -0.5cqw 1.2cqw 2.2cqw rgba(25, 24, 20, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* 底部平台四边延伸折射光线（柔和纯白光束配合淡暖红辉光穿过四角渐隐） */
.bz-ray {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  z-index: 2;
}

.bz-ray--top,
.bz-ray--bottom {
  left: -24%;
  right: -26%;
  height: 1.6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 232, 228, 0.72) 14%,
    rgba(255, 255, 255, 0.98) 28%,
    rgba(255, 255, 255, 0.98) 72%,
    rgba(255, 232, 228, 0.72) 86%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.98),
    0 0 9px rgba(243, 161, 138, 0.65),
    0 0 14px rgba(226, 71, 55, 0.25);
}

.bz-ray--top {
  top: -1px;
  opacity: 0.85;
}

.bz-ray--bottom {
  bottom: -1px;
  left: -26%;
  right: -28%;
  height: 1.8px;
  opacity: 1;
}

.bz-ray--left,
.bz-ray--right {
  top: -22%;
  bottom: -24%;
  width: 1.6px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 232, 228, 0.72) 14%,
    rgba(255, 255, 255, 0.98) 28%,
    rgba(255, 255, 255, 0.98) 72%,
    rgba(255, 232, 228, 0.72) 86%,
    rgba(255, 255, 255, 0) 100%
  );
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.98),
    0 0 9px rgba(243, 161, 138, 0.65),
    0 0 14px rgba(226, 71, 55, 0.25);
}

.bz-ray--left {
  left: -1px;
  opacity: 0.95;
}

.bz-ray--right {
  right: -1px;
  bottom: -26%;
  width: 1.8px;
  opacity: 0.95;
}

.bz-base__dots {
  display: flex;
  gap: 0.9cqw;
  padding: 2cqw 2.4cqw;
}

.bz-base__dots i {
  display: block;
  width: 1.15cqw;
  height: 1.15cqw;
  border-radius: 50%;
  background: #e1d4d2;
}

.bz-base__dots i:first-child { background: #e88e85; }
.bz-base__dots i:nth-child(2) { background: #f2c4bc; }

/* 边角十字星芒光效 */
.bz-sparkle {
  position: absolute;
  width: 3.6cqw;
  height: 3.6cqw;
  pointer-events: none;
  opacity: 0.9;
}

.bz-sparkle::before,
.bz-sparkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent 0%, #ffffff 50%, transparent 100%);
}

.bz-sparkle::before { width: 100%; height: 1.5px; }
.bz-sparkle::after { width: 1.5px; height: 100%; background: linear-gradient(180deg, transparent 0%, #ffffff 50%, transparent 100%); }
.bz-sparkle--bl { left: 10%; bottom: 8%; animation: bz-twinkle 4.2s ease-in-out infinite; }
.bz-sparkle--br { right: 9%; bottom: 6%; animation: bz-twinkle 4.2s ease-in-out 2.1s infinite; }

@keyframes bz-twinkle {
  0%, 100% { transform: scale(0.85); opacity: 0.55; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* 悬浮磨砂子卡通用层 */
.bz-card {
  position: absolute;
  border: 1.2px solid rgba(255, 255, 255, 0.98);
  border-radius: 2.4cqw;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 248, 0.88) 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    -1cqw 1.8cqw 4.2cqw rgba(168, 38, 28, 0.13),
    -0.3cqw 0.7cqw 1.4cqw rgba(25, 24, 20, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ① 顶部闭环协同小卡（跨底板左上缘，圆圈左右各两枚标签，与右上角窗控三点错开不遮挡） */
.bz-card--loop {
  left: -1%;
  top: 19%;
  width: 31%;
  padding: 1.5cqw 1.6cqw;
  transform: translateZ(2.2cqw);
  animation: bz-float-loop 5.4s var(--ease) infinite;
}

@keyframes bz-float-loop {
  0%, 100% { transform: translateZ(2.2cqw); }
  50% { transform: translateZ(3cqw); }
}

.bz-loop-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.3cqw 4.8cqw;
  padding: 0.4cqw 0;
}

.bz-loop-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8.2cqw;
  height: 8.2cqw;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bz-loop-ring svg {
  width: 100%;
  height: 100%;
  animation: bz-spin 12s linear infinite;
}

@keyframes bz-spin {
  to { transform: rotate(360deg); }
}

.bz-mini-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45cqw;
  padding: 0.48cqw 0.72cqw;
  border: 1px solid #f4d8d4;
  border-radius: 0.85cqw;
  background: #ffffff;
  color: #262b33;
  font-size: 1.32cqw;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0.4cqw 1cqw rgba(204, 32, 23, 0.08);
}

.bz-mini-pill i {
  width: 1.1cqw;
  height: 1.1cqw;
  border-radius: 0.3cqw;
  background: linear-gradient(135deg, #cc2017 0%, #e24737 100%);
  flex: none;
}

/* ② 左下角数据增长主卡（精准赋能） */
.bz-card--bars {
  left: 4%;
  bottom: 2%;
  width: 37.5%;
  padding: 2cqw 2.1cqw;
  transform: translateZ(3.2cqw);
  animation: bz-float-bars 5.4s var(--ease) 0.9s infinite;
}

@keyframes bz-float-bars {
  0%, 100% { transform: translateZ(3.2cqw); }
  50% { transform: translateZ(4.1cqw); }
}

.bz-chart-stage {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.9cqw;
  height: 14.5cqw;
  padding: 1.8cqw 1.8cqw 1.1cqw;
  margin-bottom: 1.6cqw;
  border-radius: 1.6cqw;
  background: linear-gradient(180deg, rgba(255, 246, 244, 0.4) 0%, rgba(255, 238, 234, 0.75) 100%);
}

.bz-chart-dash {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28%;
  border-top: 1.2px dashed rgba(204, 32, 23, 0.35);
}

.bz-col {
  position: relative;
  width: 3.1cqw;
  border-radius: 0.7cqw 0.7cqw 0.3cqw 0.3cqw;
  transform-origin: bottom center;
}

.bz-col--1 { height: 34%; background: linear-gradient(180deg, rgba(226, 71, 55, 0.16) 0%, rgba(226, 71, 55, 0.04) 100%); }
.bz-col--2 { height: 52%; background: linear-gradient(180deg, rgba(226, 71, 55, 0.28) 0%, rgba(226, 71, 55, 0.06) 100%); }
.bz-col--3 { height: 100%; background: linear-gradient(180deg, #b8150d 0%, #e24737 55%, rgba(243, 161, 138, 0.25) 100%); animation: bz-peak-bar 4.6s var(--ease) infinite; }
.bz-col--4 { height: 42%; background: linear-gradient(180deg, rgba(226, 71, 55, 0.2) 0%, rgba(226, 71, 55, 0.05) 100%); }

@keyframes bz-peak-bar {
  0%, 100% { transform: scaleY(0.92); }
  50% { transform: scaleY(1.03); }
}

.bz-col-dot {
  position: absolute;
  left: 50%;
  top: -1cqw;
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  background: #ffffff;
  border: 0.45cqw solid #cc2017;
  transform: translateX(-50%);
  box-shadow: 0 0 0 0.7cqw rgba(226, 71, 55, 0.2);
}

.bz-card__title {
  margin: 0 0 0.6cqw;
  color: #191814;
  font-size: 2.6cqw;
  font-weight: 700;
  line-height: 1.25;
}

.bz-card__desc {
  margin: 0;
  color: #626974;
  font-size: 1.65cqw;
  line-height: 1.4;
}

/* ③ 右侧竖向生态服务主卡（全域支撑） */
.bz-card--flow {
  right: -1%;
  top: 4%;
  width: 38.5%;
  height: 84%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2cqw 2.1cqw 1.9cqw;
  transform: translateZ(3.6cqw);
  animation: bz-float-flow 5.4s var(--ease) 1.8s infinite;
}

@keyframes bz-float-flow {
  0%, 100% { transform: translateZ(3.6cqw); }
  50% { transform: translateZ(4.6cqw); }
}

.bz-flow-canvas {
  position: relative;
  flex: 1;
  min-height: 0;
  margin-bottom: 1.6cqw;
  border-radius: 1.6cqw;
  background: radial-gradient(80% 70% at 50% 45%, rgba(255, 240, 237, 0.7) 0%, rgba(255, 250, 249, 0.3) 100%);
  overflow: hidden;
}

.bz-flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bz-node-pill {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.85cqw;
  padding: 0.8cqw 1.3cqw;
  border: 1px solid #f4d8d4;
  border-radius: 1.1cqw;
  background: #ffffff;
  color: #191814;
  font-size: 1.65cqw;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 0.8cqw 2cqw rgba(168, 38, 28, 0.1);
}

.bz-node-pill--top { top: 20%; }
.bz-node-pill--bot { top: 56%; }

.bz-node-pill__ico {
  display: grid;
  width: 2.8cqw;
  height: 2.8cqw;
  place-items: center;
  border-radius: 0.7cqw;
  background: linear-gradient(135deg, #cc2017 0%, #e24737 100%);
  color: #ffffff;
}

.bz-node-pill__ico svg {
  width: 1.7cqw;
  height: 1.7cqw;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
}

.bz-hub-dot {
  position: absolute;
  left: 50%;
  top: 43%;
  width: 2.8cqw;
  height: 2.8cqw;
  border-radius: 50%;
  border: 1px solid rgba(226, 71, 55, 0.25);
  background: #ffffff;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  box-shadow: 0 0.4cqw 1cqw rgba(204, 32, 23, 0.14);
}

.bz-hub-dot i {
  width: 1.3cqw;
  height: 1.3cqw;
  border-radius: 50%;
  background: #e24737;
}

.bz-flow-chips {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1cqw;
}

.bz-flow-chips i {
  display: block;
  height: 1.2cqw;
  border-radius: 999px;
  background: #f5dfdc;
}

.bz-flow-chips i:first-child {
  background: linear-gradient(90deg, #cc2017, #e24737);
}

@media screen and (max-width: 991px) {
  .bz-stage {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .bz-stage {
    aspect-ratio: 1.32 / 1;
  }
  .bz-iso {
    left: 2%;
    top: 1%;
    width: 95%;
    height: 92%;
    transform: perspective(2600px) rotateX(50deg) rotateY(-2deg) rotateZ(34deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bz-stage *,
  .bz-stage *::before,
  .bz-stage *::after {
    animation: none !important;
  }
}
