/* ============================================
   hero.less - Hero全屏轮播区
   ============================================ */
/* ---------- Hero主容器 ---------- */
.dji-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  background-color: #0a0a0f;
}
/* ---------- 轮播容器 ---------- */
.dji-hero-slides, .dji-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.dji-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.dji-hero-slide.is-active, .dji-hero-slide-active {
  opacity: 1;
  visibility: visible;
}
/* ---------- 幻灯片背景图 ---------- */
.dji-hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 6s ease;
}
.dji-hero-slide.is-active, .dji-hero-slide-active .dji-hero-slide-bg {
  transform: scale(1.05);
}
/* ---------- 渐变叠加层 ---------- */
.dji-hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.1) 40%, rgba(10, 10, 15, 0.6) 70%, rgba(10, 10, 15, 0.95) 100%);
  z-index: 1;
}
/* ---------- 幻灯片内容 ---------- */
.dji-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 24px;
  padding-top: 64px;
}
.dji-hero-slide-tag {
  display: inline-block;
  padding: 4px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 9999px;
  margin-bottom: 32px;
  animation: fadeInDown 0.6s ease 0.2s both;
}
.dji-hero-title {
  font-size: 60px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 24px;
  max-width: 800px;
  animation: fadeInUp 0.8s ease 0.4s both;
  letter-spacing: -0.02em;
}
.dji-hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: rgba(232, 232, 240, 0.8);
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease 0.6s both;
}
/* ---------- 幻灯片按钮组 ---------- */
.dji-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.8s both;
}
.dji-hero-slide-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 48px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background-color: #2979ff;
  border-radius: 9999px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.dji-hero-slide-btn-primary:hover {
  background-color: #5c99ff;
  box-shadow: 0 0 20px rgba(41, 121, 255, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}
.dji-hero-slide-btn-primary svg {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}
.dji-hero-slide-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 48px;
  font-size: 16px;
  font-weight: 500;
  color: #e8e8f0;
  background-color: transparent;
  border: 1px solid #2a2a40;
  border-radius: 9999px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.dji-hero-slide-btn-secondary:hover {
  border-color: #2979ff;
  color: #2979ff;
  transform: translateY(-2px);
}
.dji-hero-slide-btn-secondary svg {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}
/* ---------- 幻灯片视频按钮 ---------- */
.dji-hero-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.dji-hero-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.dji-hero-play-btn:hover {
  background-color: #2979ff;
  border-color: #2979ff;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(41, 121, 255, 0.3);
}
/* ---------- 轮播控制点 ---------- */
.dji-hero-indicators {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}
.dji-hero-dot {
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.dji-hero-indicator:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.dji-hero-dot.is-active, .dji-hero-dot-active {
  background-color: rgba(255, 255, 255, 0.3);
}
.dji-hero-dot.is-active, .dji-hero-dot-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #2979ff;
  border-radius: 2px;
  animation: indicatorProgress 5s linear forwards;
}
@keyframes indicatorProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
/* ---------- 前进/后退按钮 ---------- */
.dji-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}
.dji-hero-arrow svg {
  width: 20px;
  height: 20px;
}
.dji-hero-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.dji-hero:hover .dji-hero-arrow {
  opacity: 1;
}
.dji-hero:hover .dji-hero-arrow {
  opacity: 1;
}
.dji-hero-prev {
  left: 32px;
}
.dji-hero-next {
  right: 32px;
}
/* ---------- 进度条（底部） ---------- */
.dji-hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 10;
}
.dji-hero-progress-bar {
  height: 100%;
  background-color: #2979ff;
  transition: width 0.1s linear;
}
/* ---------- Hero滚动提示箭头 ---------- */
.dji-hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2s ease infinite;
  cursor: pointer;
}
.dji-hero-scroll span {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.dji-hero-scroll svg {
  width: 16px;
  height: 16px;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-8px);
  }
  60% {
    transform: translateX(-50%) translateY(-4px);
  }
}
/* ---------- 全屏视频背景 ---------- */
.dji-hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* ---------- Hero渐入动画 ---------- */
.dji-hero.is-loaded .dji-hero-content {
  animation: fadeIn 1s ease 0.3s both;
}
/* ---------- 副标题/特性亮点 ---------- */
.dji-hero-features {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 1s both;
}
.dji-hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(232, 232, 240, 0.7);
}
.dji-hero-feature .dji-hero-feature-icon {
  width: 24px;
  height: 24px;
  color: #00e5ff;
}
/* ---------- 迷你Hero（内页用，非全屏） ---------- */
.dji-hero-mini {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-color: #14141f;
}
.dji-hero-mini-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.dji-hero-mini-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.6) 0%, rgba(10, 10, 15, 0.9) 100%);
}
.dji-hero-mini-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 24px;
  padding-top: 64px;
}
