/* 首页 Hero 区域 */
.home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-color: #000000;
  /* background-image: url('assets/shouye/shouye-bg1.jpg'); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero .hero-background {
  background-image: url('../assets/shouye/shouye-bg1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 660px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.home-hero .hero-background::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
}




.charging-background {
  position: relative;
  background-image: url('../assets/shouye/car.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 723px;
}

/* 左侧子导航面板 */
.sub-nav-panel {
  position: absolute;
  left: 4rem;
  top: 1.65rem;
  z-index: 100;

}

.sub-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub-nav-link {
  display: block;
  text-decoration: none;
  font-size: 0.26rem;
  font-weight: 700;
  letter-spacing: 0.01rem;
  position: relative;
  color: #fff;
  height: 0.8rem;
  line-height: 0.8rem;
}

/* 信息框 */
.info-box {
  margin-top: 1.6rem;
  background-color: rgba(13, 13, 13, 0.36);
  /* backdrop-filter: blur(15px); */
  padding: 10px 77px;
  border-radius: 12px;
  max-width: 900px;
  /* margin: 0 auto 4rem; */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.info-title {
  font-size: 0.4rem;
  /* font-weight: 700; */
  color: #fff;
  margin-bottom: 16px;
  text-align: center;
}

.info-text {
  color: rgba(255, 255, 255, 0.9);
  /* line-height: 2; */
  font-size: 0.2rem;
}



.info-text p {
  margin: 0;
  text-align: justify;
}

/* 充电场景展示 */
.charging-scene {
  /* margin-top: 3rem; */
  text-align: center;
  display: flex;
  width: 100%;
  justify-content: center;
}

.car-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: white;
  color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}


.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}



.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}


/* 功能区域 */
.features {
  background-color: var(--bg-light);
}


.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}



/* 关于我们区域 */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 1rem;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

/* 服务区域 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-light);
  padding: 2.5rem;
  border-radius: 1rem;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.service-card ul {
  list-style: none;
}

.service-card ul li {
  padding: 0.5rem 0;
  color: var(--text-light);
  position: relative;
  padding-left: 1.5rem;
}

.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* 联系区域 */
.contact {
  background-color: var(--bg-light);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.contact-item p {
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background-color: var(--bg-color);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);

}

/* 企业文化部分 */
.culture-section {
  background-color: #000000;
  padding: 40px 0;
  color: #fff;

}

/* .culture-section .container {
  box-shadow: 0px 10px 40px 0 rgba(228, 100, 100, 0.5);
} */

.culture-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;

}

.culture-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.culture-item {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}


.culture-content {
  /* padding: 2rem; */
  width: 6rem;
  opacity: 0;
  transform: translateX(-2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.culture-content.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.culture-content:nth-child(2) {
  text-align: right;
  transform: translateX(2rem);
}

.culture-content:nth-child(2).animate-in {
  transform: translateX(0);
}

.culture-item-title {
  font-size: 0.33rem;
  color: #fff;
  margin-bottom: 0.06rem;
  font-weight: 100;
}

.culture-item-subtitle {
  font-size: 0.4rem;
  font-weight: 500;
  margin-bottom: 0.62rem;
  color: #fff;
}

.culture-item-text {
  font-size: 0.24rem;
  /* line-height: 1.8; */
  color: #fff;
}

.culture-image {
  width: 6rem;
  height: 5.2rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.8) translateY(1rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.culture-image.animate-in {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.culture-image-placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

/* 前景与目标部分 */
.prospects-section {
  position: relative;
  min-height: 600px;
  padding: 100px 0;
  background-color: #000000;
  background-image: url('../assets/shouye/shouye-bg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prospects-background-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2rem;
  background-image: url('../assets/shouye/shouye-mask3.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.prospects-background {
  /* width: 100%;
  height: 1.18rem;
  background-image: url('assets/shouye/shouye-bg2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; */
}

.prospects-content {
  position: relative;
  z-index: 2;
  max-width: 9.24rem;
  text-align: center;
  font-size: 0.36rem;
  color: #fff;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.prospects-content.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.prospects-content.animate-out {
  opacity: 0;
  transform: translateY(2rem);
}

.prospects-title {

  margin-bottom: 0.62rem;
}

.prospects-text {
  font-size: 0.36rem;
  /* line-height: 2; */
  color: #fff;
}

/* 页脚 */
.footer {
  background-color: #000000;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  color: white;
  /* padding: 3rem 0 1rem; */
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 255, 255, 0.2), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.25), transparent);
  background-size: 200% 200%;
  opacity: 0.5;
  pointer-events: none;
}

.footer-content {
  width: 100%;
  height: 5.5rem;
  background-image: url('../assets/shouye/shouye-bg3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;

}



.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}

.footer-section ul li {
  font-size: 0.24rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  /* padding-top: 2rem; */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== 移动端响应式样式 ==================== */
@media (max-width: 768px) {
  /* Hero区域移动端 */
  .home-hero .hero-background {
    height: 400px;
  }

  .charging-background {
    height: 500px;
  }

  /* 左侧子导航面板移动端隐藏或调整 */
  .sub-nav-panel {
    left: 0.4rem;
    top: 1rem;
  }

  .sub-nav-link {
    font-size: 0.2rem;
    height: 0.6rem;
    line-height: 0.6rem;
  }

  /* 信息框移动端 */
  .info-box {
    padding: 0.2rem 0.4rem;
    margin-top: 0.8rem;
    max-width: 90%;
  }

  .info-title {
    font-size: 0.28rem;
    margin-bottom: 0.2rem;
  }

  .info-text {
    font-size: 0.16rem;
  }

  /* 企业文化部分 - 横向改为纵向 */
  .culture-section {
    padding: 0.6rem 0;
  }

  .culture-title {
    font-size: 0.4rem;
    margin-bottom: 0.6rem;
  }

  .culture-item {
    flex-direction: column !important;
    width: 100%;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
  }

  .culture-content {
    width: 100% !important;
    text-align: center !important;
    transform: none !important;
    padding: 0 0.4rem;
  }

  .culture-content:nth-child(2) {
    text-align: center !important;
    transform: none !important;
  }

  .culture-image {
    width: 100% !important;
    height: auto !important;
    min-height: 3rem;
    order: -1; /* 图片放在文字前面 */
  }

  .culture-item-title {
    font-size: 0.24rem;
  }

  .culture-item-subtitle {
    font-size: 0.28rem;
    margin-bottom: 0.4rem;
  }

  .culture-item-text {
    font-size: 0.18rem;
  }

  /* 前景与目标部分移动端 */
  .prospects-section {
    min-height: auto;
    padding: 1.5rem 0;
  }

  .prospects-content {
    max-width: 90%;
    font-size: 0.24rem;
    padding: 0 0.4rem;
  }

  .prospects-title {
    font-size: 0.32rem;
    margin-bottom: 0.4rem;
  }

  .prospects-text {
    font-size: 0.24rem;
    line-height: 1.6;
  }
}