/* Hero区域样式 */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  margin-top: 0;
  padding-top: 0;
  margin-top: -80px; /* 抵消body的padding-top */
  cursor: grab;
}

.hero:active {
  cursor: grabbing;
}

/* 轮播容器 */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* 单个幻灯片 */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              visibility 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: scale(1.02);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* 视频背景 */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
  z-index: -2;
  transition: transform 2s ease;
  transform-origin: center;
  will-change: transform;
}

.hero-slide.active .hero-video {
  transform: translateX(-50%) translateY(-50%) scale(1);
}

.hero-slide:not(.active) .hero-video {
  transform: translateX(-50%) translateY(-50%) scale(1.05);
}

/* 图片背景 */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: opacity 0.8s ease;
  will-change: opacity;
}

/* 移除图片幻灯片的特殊缩放效果 */
.hero-slide.active .hero-image {
  opacity: 1;
}

.hero-slide:not(.active) .hero-image {
  opacity: 0;
}

/* 为第2和第6个幻灯片（索引1和5）添加特殊样式 */
.hero-slide:nth-child(2) .hero-image,
.hero-slide:nth-child(6) .hero-image {
  transform: none !important;
  left: 0 !important;
  top: 0 !important;
}

/* 为图片幻灯片添加特殊样式 */
.hero-slide:nth-child(2),
.hero-slide:nth-child(6) {
  transform: none !important;
  transition: opacity 0.8s ease, visibility 0.8s ease !important;
}

.hero-slide:nth-child(2) .hero-content,
.hero-slide:nth-child(6) .hero-content {
  opacity: 0;
  transform: translateY(0);
  transition: opacity 0.8s ease;
}

.hero-slide.active:nth-child(2) .hero-content,
.hero-slide.active:nth-child(6) .hero-content {
  opacity: 1;
}

/* 为图片幻灯片设置不同的淡入动画效果 */
.hero-slide:nth-child(2).fade-in,
.hero-slide:nth-child(6).fade-in {
  animation: simpleFadeIn 0.8s ease forwards !important;
}

@keyframes simpleFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-content {
  max-width: 1200px;
  padding: 0 2rem;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s ease-out;
  width: 100%;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  position: relative;
  overflow: hidden;
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
               0 0 20px rgba(255, 255, 255, 0.2),
               0 0 30px rgba(255, 255, 255, 0.1);
  transition: text-shadow 0.5s ease;
}

.hero-content h1 .animated-text,
.hero-content h1 .design-forecast-text {
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-content h1 .animated-text::after,
.hero-content h1 .design-forecast-text::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
}

.hero-content h1 .animated-text::after,
.hero-content h1 .design-forecast-text::after {
  animation: revealText 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes revealText {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(101%);
  }
}

.hero-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 轮播控制 - Gensler风格 */
.hero-controls {
  position: absolute;
  bottom: 120px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 100;
  pointer-events: auto;
}

.hero-prev,
.hero-next {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  opacity: 0.9;
  pointer-events: auto;
}

.hero-prev:hover,
.hero-next:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.hero-prev:active,
.hero-next:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.hero-prev svg,
.hero-next svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
  fill: none;
  stroke: white;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-prev:hover svg {
  transform: translateX(-2px);
}

.hero-next:hover svg {
  transform: translateX(2px);
}

.hero-dots {
  display: flex;
  gap: 18px;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 40px;
  pointer-events: auto;
}

.hero-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255, 0, 0, 0.2);
  border: 2px solid rgba(255, 0, 0, 0.4);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  position: relative;
  pointer-events: auto;
  margin: 0;
  padding: 0;
}

.hero-dot:hover {
  background-color: rgba(255, 0, 0, 0.4);
  transform: scale(1.1);
}

.hero-dot.active {
  background-color: rgba(255, 0, 0, 0.6);
  transform: scale(1.3);
  border-color: rgba(255, 0, 0, 0.8);
  box-shadow: 0 0 6px rgba(255, 0, 0, 0.3);
}

.hero-dot:after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.hero-dot:hover:after {
  background-color: rgba(255, 0, 0, 0.05);
}

.hero-dot.active:after {
  background-color: rgba(255, 0, 0, 0.1);
}

/* Hero内容区域的CTA按钮样式 */
.hero-content .cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: #fff;
  padding: 1rem 2.5rem;
  font-weight: 500;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--accent-color);
  z-index: 1;
}

.hero-content .cta-button:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-content .cta-button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content .cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.6s ease;
  z-index: -1;
  transform: skewX(-25deg);
}

.hero-content .cta-button:hover::before {
  transform: skewX(-25deg) translateX(200%);
}

/* 响应式样式调整 */
@media (max-width: 768px) {
  .hero-content .cta-button {
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
  }
  
  .hero-controls {
    bottom: 80px;
  }
  
  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
  }
  
  .hero-prev svg,
  .hero-next svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 576px) {
  .hero-content .cta-button {
    padding: 0.8rem 1.6rem;
    font-size: 0.85rem;
    margin-top: 1rem;
  }
  
  .hero-controls {
    bottom: 60px;
    gap: 10px;
  }
  
  .hero-prev,
  .hero-next {
    width: 36px;
    height: 36px;
  }
  
  .hero-prev svg,
  .hero-next svg {
    width: 18px;
    height: 18px;
  }
  
  .hero-dots {
    padding: 10px 15px;
    gap: 12px;
  }
  
  .hero-dot {
    width: 10px;
    height: 10px;
  }
}

/* 热门话题区域 */
.trending-topics {
  padding-top: 3rem;
  padding-bottom: 2rem;
  background-color: var(--light-gray);
}

.trending-topics h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.topics-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.topic-item {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background-color: white;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.topic-item:hover {
  background-color: var(--accent-color);
  color: white !important; /* 强制设置为白色 */
  box-shadow: 0 5px 15px rgba(0, 87, 255, 0.2);
  transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.4rem;
  }
  .hero {
    margin-top: -65px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content h2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .topic-item {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 幻灯片切换动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.98);
  }
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              visibility 1.5s cubic-bezier(0.25, 0.1, 0.25, 1), 
              transform 1.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide.fade-in {
  animation: fadeIn 1.5s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.hero-slide.fade-out {
  animation: fadeOut 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  z-index: 3; /* 确保淡出的幻灯片在上层 */
}

/* 通用动画效果 */
.hero-slide .animated-text,
.hero-slide .design-forecast-text {
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-slide.active .animated-text,
.hero-slide.active .design-forecast-text {
  opacity: 1;
  animation: textFadeIn 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 所有幻灯片的文字动画 */
.hero-slide {
  transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-slide.active .hero-content {
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* 确保每个幻灯片点击后动画重置 */
.hero-slide.fade-in .animated-text::after,
.hero-slide.fade-in .design-forecast-text::after {
  animation: revealText 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: 0.5s;
}

/* 定义一个滑入动画给图片 */
.hero-slide.active .hero-img-right img {
  animation: slideInRight 1s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Gensler风格的主文本样式 */
.hero-main-text {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  max-width: 1200px;
}

.hero-text-left {
  flex: 1;
  max-width: 700px;
}

.hero-img-right {
  flex: 0 0 auto;
  margin-left: 3rem;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-top: 2rem;
}

.hero-slide.active .hero-img-right {
  opacity: 1;
  transform: translateX(0);
}

.hero-img-right img {
  max-width: 250px;
  max-height: 250px;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.award-style {
  justify-content: space-between;
  align-items: flex-start;
}

.award-logo img {
  max-width: 180px;
  max-height: 180px;
  box-shadow: none;
}

@media (max-width: 992px) {
  .hero-img-right img {
    max-width: 180px;
    max-height: 180px;
  }
  
  .award-logo img {
    max-width: 150px;
    max-height: 150px;
  }
  
  .hero-main-text {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .hero-img-right {
    margin-left: 2rem;
  }
  
  .hero-img-right img {
    max-width: 150px;
    max-height: 150px;
  }
  
  .award-logo img {
    max-width: 120px;
    max-height: 120px;
  }
  
  .hero-main-text {
    max-width: 700px;
  }
}

@media (max-width: 576px) {
  .hero-main-text {
    flex-direction: column;
  }
  
  .hero-img-right {
    margin-left: 0;
    margin-top: 1.5rem;
    align-items: center;
    justify-content: center;
  }
}

/* 附着导航栏 */
.sticky-topics-bar {
  background-color: white;
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.sticky-topics-bar.fixed {
  position: fixed;
  top: 0;
  left: 0;
  animation: slideDown 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

/* 拖动滚动效果 */
.sticky-topics-list.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
  transform: scale(1.003);
  will-change: transform;
}

.sticky-topics-list {
  cursor: grab;
  cursor: -webkit-grab;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 1.2rem 1.5rem;
  gap: 2rem;
  justify-content: flex-start;
  max-width: 1300px;
  margin: 0 auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  transition: transform 0.1s ease;
}

.sticky-topics-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.sticky-topic-item {
  white-space: nowrap;
  padding: 0 0.2rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.sticky-topic-item:hover {
  color: white !important; /* 强制设置为白色 */
  background-color: var(--accent-color);
  border-radius: 50px;
  padding: 0.4rem 1rem;
}

.sticky-topic-item:first-child {
  font-weight: 600;
  color: #000;
}

.sticky-topic-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

.sticky-topic-item:hover::after {
  width: 100%;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* 确保导航栏在hero区域的底部 */
.hero + .sticky-topics-bar {
  margin-top: -1px; /* 防止缝隙 */
}

@media (max-width: 992px) {
  .sticky-topics-list {
    padding: 1rem 1.5rem;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .sticky-topics-list {
    padding: 0.8rem 1rem;
    gap: 1.2rem;
  }
  
  .sticky-topic-item {
    font-size: 0.9rem;
  }
}

/* Hero底部话题栏 */
.hero-topics-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #2d4b8e; /* 改为深蓝色背景，更加柔和 */
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.hero-topics-bar .container {
  max-width: 1300px;
  margin: 0 auto;
}

.hero-topics-bar .topics-list {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 18px 20px;
  gap: 25px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  cursor: grab;
}

.hero-topics-bar .topics-list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.hero-topics-bar .topic-item {
  white-space: nowrap;
  color: white; /* 白色文字在深蓝色背景上可见 */
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.02em;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15); /* 半透明白色背景 */
  padding: 0.4rem 1rem;
  border-radius: 50px;
}

.hero-topics-bar .topic-item:first-child {
  font-weight: 600;
  background-color: rgba(0, 0, 0, 0.15); /* 更暗的背景色突出显示 */
  color: white;
}

.hero-topics-bar .topic-item:hover {
  color: #2d4b8e !important; /* 深蓝色文字 */
  background-color: white; /* 白色背景 */
  border-radius: 50px;
  padding: 0.4rem 1rem;
  box-shadow: 0 4px 10px rgba(45, 75, 142, 0.3);
  transform: translateY(-2px);
}

/* 拖动滚动效果 */
.hero-topics-bar .topics-list.active {
  cursor: grabbing;
  transform: scale(1.003);
}

@media (max-width: 992px) {
  .hero-topics-bar .topics-list {
    padding: 15px 20px;
    gap: 20px;
  }
  
  .hero-topics-bar .topic-item {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .hero-topics-bar .topics-list {
    padding: 12px 15px;
    gap: 15px;
  }
  
  .hero-topics-bar .topic-item {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-topics-bar .topics-list {
    padding: 10px 12px;
    gap: 12px;
  }
  
  .hero-topics-bar .topic-item {
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .hero-img-right img {
    max-width: 180px;
    max-height: 180px;
  }
  
  .award-logo img {
    max-width: 150px;
    max-height: 150px;
  }
}

@media (max-width: 768px) {
  .hero-img-right {
    margin-left: 1.5rem;
  }
  
  .hero-img-right img {
    max-width: 150px;
    max-height: 150px;
  }
  
  .award-logo img {
    max-width: 120px;
    max-height: 120px;
  }
}

@media (max-width: 576px) {
  .hero-main-text {
    flex-direction: column;
  }
  
  .hero-img-right {
    margin-left: 0;
    margin-top: 1.5rem;
  }
}

/* 进度指示器样式 */
.progress-ring {
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid rgba(255, 255, 255, 0);
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
  transform: scale(0);
}

.progress-ring.active {
  transform: scale(1);
  border-color: rgba(45, 75, 142, 0.7); /* 蓝色环形进度指示器 */
  animation: pulsateRing 2s infinite;
}

@keyframes pulsateRing {
  0% {
    transform: scale(1);
    opacity: 0.7;
    border-color: rgba(45, 75, 142, 0.7);
  }
  50% {
    transform: scale(1.1);
    opacity: 0.5;
    border-color: rgba(45, 75, 142, 0.5);
  }
  100% {
    transform: scale(1);
    opacity: 0.7;
    border-color: rgba(45, 75, 142, 0.7);
  }
}

/* 增强交互响应 */
.hero:active {
  cursor: grabbing;
}

/* 增强视频和图片的交互 */
.hero-video,
.hero-image {
  transform-origin: center;
  will-change: transform;
}

/* 增强标题文字效果 */
.hero-content h1 {
  position: relative;
  overflow: hidden;
}

.hero-content h1 .animated-text,
.hero-content h1 .design-forecast-text {
  display: block;
  position: relative;
  overflow: hidden;
}

.hero-content h1 .animated-text::after,
.hero-content h1 .design-forecast-text::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transform: translateX(-100%);
}

.hero-slide.active h1 .animated-text::after,
.hero-slide.active h1 .design-forecast-text::after {
  animation: revealText 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes revealText {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(101%);
  }
}

/* 为活动幻灯片增强发光效果 */
.hero-slide.active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(45, 75, 142, 0.4);
  animation: textGlow 3s infinite alternate;
}

/* 为每个幻灯片设置不同的发光颜色 */
.hero-slide:nth-child(1).active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(45, 75, 142, 0.4);
}

.hero-slide:nth-child(2).active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(70, 130, 180, 0.4);
}

.hero-slide:nth-child(3).active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(0, 150, 255, 0.4);
}

.hero-slide:nth-child(4).active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(50, 120, 190, 0.4);
}

.hero-slide:nth-child(5).active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(40, 90, 160, 0.4);
}

.hero-slide:nth-child(6).active .hero-content h1 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
               0 0 20px rgba(255, 255, 255, 0.3),
               0 0 30px rgba(255, 255, 255, 0.2),
               0 0 40px rgba(60, 110, 170, 0.4);
}

/* 发光动画效果 */
@keyframes textGlow {
  0% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
                 0 0 20px rgba(255, 255, 255, 0.3),
                 0 0 30px rgba(255, 255, 255, 0.2),
                 0 0 40px rgba(45, 75, 142, 0.3);
  }
  100% {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6),
                 0 0 25px rgba(255, 255, 255, 0.4),
                 0 0 35px rgba(255, 255, 255, 0.3),
                 0 0 45px rgba(45, 75, 142, 0.5);
  }
}

/* 标题动画效果 */
.hero-content h1 span {
  display: inline-block;
  position: relative;
  opacity: 0;
  animation: titleReveal 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.hero-content h1 span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(255, 255, 255, 0.8) 50%, 
      transparent 100%);
  transform: translateX(-100%);
  animation: backgroundSlide 2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

@keyframes titleReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes backgroundSlide {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  50% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* 为每个幻灯片设置不同的动画延迟 */
.hero-slide:nth-child(1) .hero-content h1 span {
  animation-delay: 0.3s;
}

.hero-slide:nth-child(1) .hero-content h1 span::before {
  animation-delay: 0.5s;
}

.hero-slide:nth-child(2) .hero-content h1 span {
  animation-delay: 0.5s;
}

.hero-slide:nth-child(2) .hero-content h1 span::before {
  animation-delay: 0.7s;
}

.hero-slide:nth-child(3) .hero-content h1 span {
  animation-delay: 0.7s;
}

.hero-slide:nth-child(3) .hero-content h1 span::before {
  animation-delay: 0.9s;
}

.hero-slide:nth-child(4) .hero-content h1 span {
  animation-delay: 0.9s;
}

.hero-slide:nth-child(4) .hero-content h1 span::before {
  animation-delay: 1.1s;
}

.hero-slide:nth-child(5) .hero-content h1 span {
  animation-delay: 1.1s;
}

.hero-slide:nth-child(5) .hero-content h1 span::before {
  animation-delay: 1.3s;
}

.hero-slide:nth-child(6) .hero-content h1 span {
  animation-delay: 1.3s;
}

.hero-slide:nth-child(6) .hero-content h1 span::before {
  animation-delay: 1.5s;
}
