/* 首页推荐产品轮播 */
.hero-copy { min-width: 0; }
.hero-carousel { position: relative; min-height: 360px; padding-bottom: 30px; }
.hero-slide { display: none; min-height: 300px; }
.hero-slide.active { display: block; animation: heroSlideIn .55s cubic-bezier(.2,.8,.2,1) both; }
.hero-slide-eyebrow { margin-bottom: 12px; color: #2563eb; font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero-slide h1 { margin: 0 0 18px; max-width: 680px; font-size: clamp(38px, 4.5vw, 62px); line-height: 1.08; letter-spacing: -.045em; color: #0f2744; }
.hero-slide h1 em { color: #2563eb; font-style: normal; }
.hero-slide .hero-lead { max-width: 580px; margin: 0 0 20px; color: #66768d; font-size: 14px; line-height: 1.8; }
.hero-slide-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.hero-slide-meta span { padding: 5px 10px; border: 1px solid #dbe8f8; border-radius: 999px; background: #f4f9ff; color: #48617d; font-size: 11px; }
.hero-slide-meta span:first-child { border-color: #bfdbfe; background: #eff6ff; color: #1d4ed8; font-weight: 700; }
.hero-slide .hero-actions { margin-bottom: 0; }
.hero-slide[data-accent="violet"] .hero-slide-eyebrow { color: #7c3aed; }
.hero-slide[data-accent="violet"] h1 em { color: #7c3aed; }
.hero-slide[data-accent="teal"] .hero-slide-eyebrow { color: #0f766e; }
.hero-slide[data-accent="teal"] h1 em { color: #0f766e; }
.hero-slide[data-accent="amber"] .hero-slide-eyebrow { color: #d97706; }
.hero-slide[data-accent="amber"] h1 em { color: #d97706; }
.hero-dots { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 1px solid #9db7d7; border-radius: 50%; background: transparent; cursor: pointer; transition: width .25s ease, background .25s ease, border-color .25s ease; }
.hero-dot.active { width: 24px; height: 7px; border-color: #2563eb; border-radius: 999px; background: #2563eb; }
.hero-progress { position: absolute; left: 0; bottom: 8px; width: min(310px, 52%); height: 2px; overflow: hidden; border-radius: 999px; background: #e8f0fb; }
.hero-progress i { display: block; width: 100%; height: 100%; transform-origin: left; background: linear-gradient(90deg,#2563eb,#7c3aed); animation: heroProgress 10s linear forwards; }
@keyframes heroSlideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 760px) {
  .hero-carousel { min-height: 0; }
  .hero-slide h1 { font-size: 36px; }
  .hero-slide .hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
  .hero-progress { width: 42%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active { animation: none; }
  .hero-progress i { animation: none; }
}

/* 玻璃质感轮播容器 + 动态背景 */
.hero-carousel {
  --carousel-accent: #2563eb;
  isolation: isolate;
  padding: 22px 24px 18px;
  border: 1px solid rgba(188, 214, 244, .58);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(239,247,255,.48));
  box-shadow: 0 24px 70px rgba(42, 93, 158, .12), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  overflow: hidden;
}
.hero-carousel::before,
.hero-carousel::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(46px);
  opacity: .48;
  background: var(--carousel-accent);
  animation: heroBlob 11s ease-in-out infinite alternate;
}
.hero-carousel::before { top: -120px; right: -80px; }
.hero-carousel::after {
  left: -120px;
  bottom: -150px;
  width: 300px;
  height: 300px;
  opacity: .22;
  animation-delay: -5s;
}
.hero-slide { position: relative; z-index: 1; }
.hero-slide h1 {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-dots, .hero-progress { position: relative; z-index: 2; }
.hero-progress { left: 24px; bottom: 12px; width: min(300px, 48%); }
.hero-progress i { animation-duration: 10s; }
.hero-slide-meta span { backdrop-filter: blur(6px); }
@media (max-width: 760px) {
  .hero-carousel { padding: 18px 16px 16px; border-radius: 18px; }
  .hero-progress { left: 16px; bottom: 8px; }
}

/* 右侧 2.5D 视觉 */
.hero-visual { perspective: 1200px; transform-style: preserve-3d; }
.hero-panel {
  position: relative;
  transform: rotateY(-9deg) rotateX(4deg) translateZ(0);
  transform-style: preserve-3d;
  animation: heroPanelFloat 6.5s ease-in-out infinite;
  box-shadow: 18px 26px 55px rgba(33, 70, 120, .18), -8px 14px 30px rgba(37,99,235,.10);
}
.hero-panel::before,
.hero-panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 16px 18px -18px -18px;
  border: 1px solid rgba(177, 206, 241, .45);
  border-radius: 20px;
  background: rgba(255,255,255,.32);
  transform: translateZ(-35px) rotate(-2deg);
  box-shadow: 0 16px 30px rgba(34, 74, 125, .08);
}
.hero-panel::after {
  inset: 30px 34px -30px -30px;
  transform: translateZ(-70px) rotate(-4deg);
  opacity: .55;
}
.panel-chart i { transform-origin: bottom; animation: heroBar3d 4s ease-in-out infinite alternate; }
.panel-chart i:nth-child(2n) { animation-delay: -.8s; }
.panel-chart i:nth-child(3n) { animation-delay: -1.6s; }
.hero-orb { animation: heroOrb 9s ease-in-out infinite alternate; }
.hero-float { transform: translateZ(42px); animation: heroFloat3d 5s ease-in-out infinite; }
@keyframes heroBlob {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-24px,22px,0) scale(1.16); }
  100% { transform: translate3d(18px,-16px,0) scale(.94); }
}
@keyframes heroPanelFloat {
  0%,100% { transform: rotateY(-9deg) rotateX(4deg) translate3d(0,0,0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) translate3d(0,-10px,0); }
}
@keyframes heroBar3d {
  0% { transform: scaleY(.86) translateZ(0); }
  100% { transform: scaleY(1.04) translateZ(18px); }
}
@keyframes heroOrb {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-18px,16px,0) scale(1.12); }
}
@keyframes heroFloat3d {
  0%,100% { transform: translate3d(0,0,42px); }
  50% { transform: translate3d(8px,-8px,58px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-panel, .hero-panel::before, .hero-panel::after,
  .panel-chart i, .hero-orb, .hero-float, .hero-carousel::before, .hero-carousel::after { animation: none; }
}

/* 圆点与进度条同一行，进度条靠卡片右侧 */
.hero-carousel-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.hero-carousel-foot .hero-dots { flex: none; margin-top: 0; }
.hero-carousel-foot .hero-progress {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  flex: 1;
  width: auto;
  max-width: none;
  height: 3px;
  margin: 0 0 0 0;
  background: rgba(211, 226, 244, .8);
}
.hero-carousel-foot .hero-progress i { animation-duration: 10s; }
@media (max-width: 760px) {
  .hero-carousel-foot { gap: 10px; margin-top: 12px; }
  .hero-carousel-foot .hero-progress { flex: 1; }
}
