/* Hero Section */
.hero-container {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 背景图片改为在 HTML 中通过 inline style 设置 */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
  z-index: 1;
}

.hero.hero-hidden {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.hero:not(.hero-hidden) {
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 32px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-title span {
  display: block;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  z-index: 10;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
}

.hero-nav:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-nav-prev {
  left: 16px;
}

.hero-nav-next {
  right: 16px;
}

.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.indicator.active {
  width: 32px;
  background-color: var(--white);
  border-radius: 4px;
}

/* Product Section */
.product-section {
  background-color: var(--bg-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
  background-color: var(--primary-color);
  color: var(--white);
}

.product-image {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.product-info p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.product-card.featured .product-info p {
  color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-section {
  position: relative;
  background-color: #F3F4F6;
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.2;
}

.about-content {
  position: relative;
  background-color: var(--white);
  border-radius: 10px;
  padding: 48px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.logo-circle {
  position: relative;
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-inner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--white);
  border-radius: 50%;
}

.logo-text h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.logo-text p {
  font-size: 14px;
  color: var(--text-gray);
}

.about-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
}

.about-video {
  width: 100%;
  margin-bottom: 32px;
}

.about-video video {
  width: 100%;
  max-height: 300px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #000;
  object-fit: contain;
}

.about-right p {
  font-size: 16px;
  line-height: 1.6;
  color: #364153;
  margin-bottom: 16px;
}

/* Solution Section */
.solution-single {
  width: 100%;
  background-color: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.solution-single .solution-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.solution-single .solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-single .solution-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.solution-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.solution-icon svg {
  width: 48px;
  height: 48px;
}

.solution-info h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.solution-info p {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Advantages Section */
.advantages-section {
  position: relative;
  background: linear-gradient(180deg, #1C398E 0%, #162456 100%);
  color: var(--white);
}

.advantages-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
}

.advantages-grid {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 48px 0;
  flex-wrap: wrap;
}

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

.advantage-circle {
  width: 96px;
  height: 96px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.advantage-circle:hover {
  transform: scale(1.1);
}

.advantages-contact {
  position: relative;
  text-align: center;
}

.advantages-contact p {
  font-size: 18px;
  margin-bottom: 8px;
}

.phone-link {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #FDC700;
}

/* News Section */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.news-featured {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 502px;
  background-size: cover;
  background-position: center;
}

.news-date {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.date-day {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.date-month,
.date-year {
  display: block;
  font-size: 12px;
}

.news-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--white);
}

.news-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.news-content p {
  font-size: 14px;
  opacity: 0.9;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-image-small {
  height: 219px;
  background-size: cover;
  background-position: center;
}

.news-date-small {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.news-date-small .date-day {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.news-date-small .date-month {
  font-size: 12px;
}

.news-content-small {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  color: var(--white);
}

.news-content-small h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.news-content-small p {
  font-size: 12px;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 36px;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    padding: 32px;
    gap: 32px;
  }
  
  .solution-single .solution-image {
    height: 300px;
  }
  
  .solution-single .solution-info {
    padding: 32px 24px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 400px;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 24px;
    gap: 24px;
  }
  
  /* 手机版：视频在上，内容在下 */
  .about-content .about-left {
    order: 1;
  }
  
  .about-content .about-right {
    order: 2;
  }
  
  .about-video video {
    max-height: 200px;
  }
  
  .about-logo {
    flex-direction: column;
    text-align: center;
  }
  
  .logo-text h3 {
    font-size: 36px;
  }
  
  .about-title {
    font-size: 20px;
  }
  
  .solution-single .solution-image {
    height: 250px;
  }
  
  .solution-single .solution-info {
    padding: 24px 20px;
    gap: 16px;
  }
  
  .advantages-grid {
    gap: 16px;
  }
  
  .advantage-circle {
    width: 80px;
    height: 80px;
    font-size: 12px;
  }
  
  .news-image {
    height: 300px;
  }
  
  .news-image-small {
    height: 180px;
  }
}
