/* ========== 主内容区域 ========== */
.main-content {
  width: 100%;
  overflow-x: hidden; /* 防止水平溢出 */
}

/* ========== Hero 区域 ========== */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.index-focus_video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.1);
  animation: brightLinear 2.8s linear;
}

#video_bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.1);
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.9);
  animation: brightLinear 2.8s linear;
}

.background-image {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes brightLinear {
  from {
    filter: brightness(0.4) saturate(0.8);
  }
  to {
    filter: brightness(0.6) saturate(1.1);
  }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 48px;
  line-height: 52px;
  letter-spacing: 2px;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.95;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.2s both;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-subtitle .subtitle-text {
  margin-right: 15px;
  font-size: 16px;
  font-weight: 400;
  display: inline-block;
  color: #ffffff;
}

.hero-subtitle .subtitle-item {
  background: #3fb771;
  padding: 4px 12px;
  border-radius: 15px;
  margin-right: 15px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 8px;
}

.hero-subtitle .separator {
  margin: 0 15px;
  position: relative;
  display: inline-block;
  font-size: 16px;
}

.hero-subtitle .separator:before {
  content: '/';
  margin-right: 15px;
  opacity: 0.7;
}

/* 新的下载按钮样式 */
.download-btn-new {
  background: #3fb771;
  border-radius: 25px;
  padding: 12px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 1.2s ease 0.4s both;
  box-shadow: 0 4px 20px rgba(63, 183, 113, 0.3);
  min-width: 160px;
  position: relative;
}

.download-btn-new:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(63, 183, 113, 0.4);
  background: #359a5e;
}

.download-btn-new .download-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.download-btn-new span {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
}

/* 二维码悬停效果 */
.download-btn-new .qr-code {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  margin-top: 15px;
  border-radius: 8px;
  padding: 4px;
  background-color: #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.download-btn-new:hover .qr-code {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

/* 二维码箭头指示器 */
.download-btn-new .qr-code::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 2px;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.1);
}

/* ========== 用户故事区域 ========== */
.story-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.story-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.story-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
}

.story-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.story-content span {
  margin: 0 20px;
  display: inline-block;
  width: 2px;
  height: 30px;
  background: #fff;
  vertical-align: middle;
}

.story-subtitle {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

/* ========== 环保数据区域 ========== */
.green-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.green-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.green-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.green-content {
  display: flex;
  justify-content: center;
  gap: 100px;
  align-items: center;
}

.data-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.data-item img {
  width: 80px;
  height: 80px;
}

.data-info {
  font-weight: 700;
  color: #00bfb3;
}

.number-unit {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 10px;
}

.number {
  font-size: 48px;
  font-weight: 700;
  color: #00bfb3;
  font-family: 'Arial', sans-serif;
}

.unit {
  font-size: 24px;
  font-weight: 600;
  color: #00bfb3;
}

.description {
  font-size: 16px;
  color: #00bfb3;
  font-weight: 500;
}

/* ========== 使命愿景区域 ========== */
.mission-section,
.vision-section {
  position: relative;
  max-height: 600px;
  overflow: hidden;
}

.vision-bg {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
}

.mission-bg {
  width: 100%;
}

.mission-content,
.vision-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  max-width: 800px;
  padding: 0 30px;
}

.section-label {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.mission-title,
.vision-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  letter-spacing: 1px;
}

.mission-desc,
.vision-desc {
  font-size: 16px;
  font-weight: 300;
  opacity: 0.9;
  line-height: 1.6;
  letter-spacing: 1px;
}

/* ========== APP下载区域 ========== */
.app-download-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0;
  overflow-x: hidden; /* 防止水平溢出 */
  overflow-y: visible; /* 允许垂直内容显示 */
}

.app-download-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 80px;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-download-container.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* 手机展示区域 */
.phone-showcase {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-showcase-img {
  max-width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateX(-30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.app-download-container.animate-in .phone-showcase-img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.phone-showcase-img:hover {
  transform: translateX(0) scale(1.02) !important;
}

/* APP信息区域 */
.app-info {
  flex: 1;
  max-width: 500px;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.app-download-container.animate-in .app-info {
  opacity: 1;
  transform: translateX(0);
}

.app-title {
  font-size: 42px;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.2;
  background: linear-gradient(135deg, #3fb771, #2d7d4f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.app-download-container.animate-in .app-title {
  opacity: 1;
  transform: translateY(0);
}

.app-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

.app-download-container.animate-in .app-subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* 下载选项 */
.download-options {
  display: flex;
  align-items: center;
  gap: 60px;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.app-download-container.animate-in .download-options {
  opacity: 1;
  transform: translateY(0);
}

.qr-download {
  text-align: center;
  /* 动画初始状态 */
  opacity: 0;
  transform: scale(0.9) rotate(-3deg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.app-download-container.animate-in .qr-download {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.app-qr-code {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.app-qr-code:hover {
  transform: scale(1.05);
}

.qr-text {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.platform-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.platform-item {
  padding: 14px 32px;
  border: 2px solid #3fb771;
  border-radius: 30px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  background: transparent;
  min-width: 180px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(63, 183, 113, 0.1);
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

.platform-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.platform-item:hover::before {
  left: 100%;
}

.platform-item:hover {
  background: linear-gradient(135deg, #3fb771, #359a5e);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(63, 183, 113, 0.4);
  border-color: #359a5e;
}

.platform-item:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(63, 183, 113, 0.3);
}

.platform-item:hover .platform-label {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.platform-label {
  font-size: 16px;
  font-weight: 600;
  color: #3fb771;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

/* 平台按钮分别出现动画 */
.app-download-container.animate-in .platform-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
}

.app-download-container.animate-in .platform-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.8s;
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
  .app-download-container {
    gap: 50px;
  }

  .phone-showcase-img {
    max-height: 500px;
  }

  .app-title {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {
  .app-download-section {
    padding: 60px 0;
  }

  .app-download-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .phone-showcase-img {
    max-height: 400px;
  }

  .app-title {
    font-size: 32px;
  }

  .download-options {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
}

/* ========== 合作伙伴区域 ========== */
.partner-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #e8f5f0 0%, #f0f9f4 100%);
  position: relative;
  overflow-x: hidden; /* 防止水平溢出 */
  overflow-y: visible; /* 允许垂直内容显示 */
}

.partner-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  position: relative;
}

.partner-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  width: 100%;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-main-title::before,
.partner-main-title::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 18px;
  background: #246f43;
  border-radius: 10px;
}

.partner-main-title::before {
  left: calc(50% - 80px);
}

.partner-main-title::after {
  right: calc(50% - 80px);
}

.partner-section.animate-in .partner-main-title {
  opacity: 1;
  transform: translateY(0);
}

.partner-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 动画初始状态 */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.partner-section.animate-in .partner-image-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.partner-combined-image {
  max-width: 100%;
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
}

/* 中心毛玻璃内容区域 */
.partner-center-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  /* backdrop-filter: blur(8px); */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 40px;
  text-align: center;
  max-width: 710px;
  width: 85%;
  z-index: 10;
  /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); */
  /* 动画初始状态 */
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.partner-section.animate-in .partner-center-overlay {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.center-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}

.badge-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.badge-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

.center-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.center-subtitle {
  font-size: 20px;
  font-weight: 600;
  color: #3fb771;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.center-description {
  max-width: 600px;
  width: 100%;
  font-size: 20px;
  color: #f0f0f0;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .partner-combined-image {
    max-width: 95%;
  }

  .partner-center-overlay {
    max-width: 500px;
    padding: 30px;
  }

  .center-description {
    max-width: 450px;
    font-size: 18px;
  }

  .center-title {
    font-size: 24px;
  }
}

@media screen and (max-width: 992px) {
  .partner-center-overlay {
    max-width: 90%;
    padding: 25px;
  }

  .center-description {
    max-width: 100%;
    font-size: 18px;
  }

  .center-title {
    font-size: 22px;
  }

  .center-subtitle {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .partner-section {
    padding: 60px 0;
  }

  .partner-main-title {
    font-size: 24px;
    margin-bottom: 40px;
    letter-spacing: 2px;
  }

  .partner-main-title::before {
    left: calc(50% - 60px);
  }

  .partner-main-title::after {
    right: calc(50% - 60px);
  }

  .partner-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .partner-combined-image {
    max-width: 100%;
    width: 100%;
  }

  .partner-center-overlay {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    margin: 0;
    max-width: 100%;
    width: 100%;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
  }

  .partner-section.animate-in .partner-center-overlay {
    transform: none;
  }

  .badge-icon {
    width: 60px;
    height: 60px;
  }

  .center-title {
    font-size: 20px;
  }

  .center-subtitle {
    font-size: 16px;
  }

  .center-description {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.6;
    padding: 0;
  }
}

@media screen and (max-width: 480px) {
  .partner-image-wrapper {
    gap: 30px;
  }

  .partner-center-overlay {
    padding: 25px 15px;
    border-radius: 12px;
  }

  .center-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .center-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .center-description {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ========== 蛮牛新能源轮播样式 ========== */
.new-energy-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8f0fe 100%);
  overflow-x: hidden; /* 防止水平溢出 */
  overflow-y: visible; /* 允许垂直内容显示 */
}

.new-energy-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 120px; /* 增加左右padding为外侧按钮留空间 */
  position: relative; /* 确保按钮相对于容器定位 */
  overflow: visible; /* 确保外侧按钮可见 */
}
.new-energy-header {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.new-energy-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 60px;
  position: relative;
}

.new-energy-title::before,
.new-energy-title::after {
  content: '···················';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #999;
  letter-spacing: 3px;
}

.new-energy-title::before {
  right: calc(100% + 30px);
}

.new-energy-title::after {
  left: calc(100% + 30px);
}

/* 新能源轮播容器 */
.energy-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: visible; /* 允许外侧按钮显示 */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.energy-wrapper {
  overflow: hidden; /* 只隐藏轮播内容溢出 */
  border-radius: 20px;
  height: 500px;
}

.energy-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
}

.energy-slide {
  flex: none;
  width: 100%;
  height: 100%;
  position: relative;
}

/* 轮播内容 */
.energy-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.energy-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.energy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.energy-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  max-width: 800px;
  padding: 0 30px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.energy-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.energy-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
  transform: translateY(0);
  transition: all 0.3s ease;
}

/* 导航按钮样式 */
.energy-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100; /* 提高z-index确保按钮在最上层 */
  /* object-fit: contain; */
  /* padding: 15px; 为img元素添加内边距 */
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: rgba(255, 255, 255, 0.9); 添加背景确保可见性 */
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 添加阴影 */
}

.energy-nav:hover {
  transform: translateY(-50%) scale(1.1);
}

.energy-prev {
  left: -80px; /* 稍微调整位置测试可见性 */
}

.energy-next {
  right: -80px; /* 稍微调整位置测试可见性 */
}

/* 指示器样式 */
.energy-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.energy-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.energy-indicator.active,
.energy-indicator:hover {
  background: #fff;
  transform: scale(1.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
  .new-energy-container {
    padding: 0 100px;
  }

  .energy-nav {
    width: 60px;
    height: 60px;
  }

  .energy-prev {
    left: -60px;
  }

  .energy-next {
    right: -60px;
  }

  .energy-title {
    font-size: 36px;
  }

  .energy-subtitle {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .new-energy-section {
    padding: 60px 0;
  }

  .new-energy-container {
    padding: 0 80px;
  }

  .new-energy-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .new-energy-title::before,
  .new-energy-title::after {
    display: none;
  }

  .energy-wrapper {
    height: 400px;
  }

  .energy-nav {
    width: 50px;
    height: 50px;
  }

  .energy-prev {
    left: -50px;
  }

  .energy-next {
    right: -50px;
  }

  .energy-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .energy-subtitle {
    font-size: 16px;
  }
}

/* ========== 说明区域样式 ========== */
.explain-section {
  padding: 80px 0;
  /* background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%); */
  background-image: url('../img/Rectangle 34627481@2x.png');
  overflow-x: hidden; /* 防止水平溢出 */
}

.explain-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* background-image: url('../img/Rectangle 34627481@2x.png'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  position: relative;
}

.explain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-height: 400px;
  padding: 40px;
}

/* 大卡片占据两行 */
.large-card {
  grid-row: 1 / 3;
  grid-column: 1;
}

/* 其他卡片的位置 */
.explain-card:nth-child(2) {
  grid-row: 1;
  grid-column: 2;
}

.explain-card:nth-child(3) {
  grid-row: 1;
  grid-column: 3;
}

.explain-card:nth-child(4) {
  grid-row: 2;
  grid-column: 2;
}

.explain-card:nth-child(5) {
  grid-row: 2;
  grid-column: 3;
}

/* 卡片基础样式 */
.explain-card {
  background: #fff;
  border-radius: 5px;
  padding: 20px;
  border: 2px dashed #a8d8ea;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.explain-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(63, 183, 113, 0.15);
  border-color: #3fb771;
}

/* 大卡片特殊样式 */
.large-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background: #fff;
  border: 2px dashed #a8d8ea;
  position: relative;
}

/* 大卡片底部图片 */
.card-bottom-image {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  /* margin-top: auto; */
  margin-bottom: -20px;
  flex: 1;
  min-height: 184px;
  background-image: url('../img/Mask group@2x(1).png');
  background-size: cover;
  background-position: bottom right;
  background-repeat: no-repeat;
}

/* 图标样式 */
.card-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 大卡片图标保持标准大小 */
.large-card .card-icon {
  width: 24px;
  height: 24px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 图标和标题的容器 */
.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  width: 100%;
}

/* 文字内容 */
.card-text {
  /* flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%; */
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  font-weight: 400;
  font-size: 28px;
  color: #666666;
  line-height: 38px;
  justify-content: center;
}

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0;
  line-height: 1.2;
  flex: 1;
}

.large-card .card-title {
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.2;
  flex: 1;
}

.card-desc {
  overflow-wrap: break-word;
  word-break: break-word;
  font-weight: 400;
  font-size: 21px;
  color: #666666;
  line-height: 33px;
}

.large-card .card-desc {
  font-size: 21px;
  line-height: 33px;
  color: #666666;
  font-weight: 400;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
  .explain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    gap: 16px;
    min-height: auto;
    padding: 24px;
  }

  .large-card,
  .explain-card:nth-child(2),
  .explain-card:nth-child(3),
  .explain-card:nth-child(4),
  .explain-card:nth-child(5) {
    grid-row: auto;
    grid-column: auto;
  }

  .explain-card {
    padding: 20px;
  }

  .card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-desc {
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  .explain-section {
    padding: 40px 0;
  }

  .explain-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    gap: 12px;
    padding: 12px;
  }

  .large-card,
  .explain-card:nth-child(2),
  .explain-card:nth-child(3),
  .explain-card:nth-child(4),
  .explain-card:nth-child(5) {
    grid-row: auto;
    grid-column: auto;
  }

  .explain-card {
    padding: 14px;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .card-header {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    width: 100%;
  }

  .card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .card-title {
    font-size: 15px;
    margin-bottom: 0;
    flex: 1;
  }

  .card-desc {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 大卡片底部图片在手机端的调整 */
  .large-card .card-bottom-image {
    width: calc(100% + 28px);
    margin-left: -14px;
    margin-right: -14px;
    margin-bottom: -14px;
    min-height: 90px;
    margin-top: 12px;
  }
}

/* ========== 蛮牛历程轮播样式 ========== */
.history-section {
  padding: 80px 0;
  overflow-x: hidden; /* 防止水平溢出 */
}

.history-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.history-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 60px;
  position: relative;
}

.history-title::before,
.history-title::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 18px;
  background: #246f43;
  border-radius: 10px;
}

.history-title::before {
  left: calc(50% - 80px);
}

.history-title::after {
  right: calc(50% - 80px);
}

/* 轮播容器 */
.history-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 80px 20px;
}

.carousel-track {
  display: flex;
  gap: 20px;
}

.carousel-item {
  flex: none;
  width: calc(33.333% - 13.333px);
  padding: 0;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
}

.carousel-wrapper {
  overflow-x: hidden;
  overflow-y: visible;
  border-radius: 0;
  min-height: 400px;
}

.carousel-track {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 卡片样式 */
.history-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-item:hover .history-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* 卡片图片区域 */
.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.carousel-item:hover .card-image img {
  transform: scale(1.05);
}

/* 卡片日期标签 */
.card-date {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

/* 卡片内容区域 */
.card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  /* margin-bottom: 12px; */
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 导航按钮 */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  /* background: #fff; */
  /* border: 2px solid #e0e0e0; */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;

  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:hover {
  transform: calc(1.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:hover img {
  filter: brightness(0) invert(1);
}

.carousel-nav img {
  width: 20px;
  height: 20px;
  transition: filter 0.3s ease;
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

/* 指示器 */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
  background: #3fb771;
  transform: scale(1.2);
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .history-carousel {
    padding: 30px 60px 20px;
  }

  .prev-btn {
    left: 10px;
  }

  .next-btn {
    right: 10px;
  }
}

@media screen and (max-width: 992px) {
  .history-carousel {
    padding: 30px 50px 20px;
  }

  .carousel-track {
    gap: 16px;
  }

  .carousel-item {
    width: calc(50% - 8px); /* 平板端显示2张 */
  }

  .card-image {
    height: 180px;
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-description {
    font-size: 13px;
  }

  .prev-btn,
  .next-btn {
    width: 40px;
    height: 40px;
  }

  .prev-btn {
    left: 5px;
  }

  .next-btn {
    right: 5px;
  }
}

@media screen and (max-width: 768px) {
  .history-section {
    padding: 60px 0;
  }

  .history-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .history-title::before {
    left: calc(50% - 60px);
  }

  .history-title::after {
    right: calc(50% - 60px);
  }

  .history-carousel {
    padding: 30px 20px 20px;
  }

  .carousel-track {
    gap: 12px;
  }

  .carousel-item {
    width: 100%; /* 手机端显示1张 */
  }

  .card-image {
    height: 200px;
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .card-description {
    font-size: 14px;
  }

  .prev-btn,
  .next-btn {
    display: none;
  }

  .carousel-indicators {
    margin-top: 25px;
  }
}

@media screen and (max-width: 480px) {
  .item-image img {
    height: 200px;
  }

  .item-content {
    padding: 20px;
  }

  .item-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .item-description {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .item-date {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* ========== 动画效果 ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== 响应式设计 ========== */
@media screen and (max-width: 1200px) {
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .green-content {
    gap: 60px;
  }
}

@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
    line-height: 40px;
  }

  .story-content h2 {
    font-size: 28px;
  }

  .mission-title,
  .vision-title {
    font-size: 32px;
  }

  .green-content {
    flex-direction: column;
    gap: 40px;
  }

  .nav-menu {
    display: none;
  }
}
