.hero-section {
  background-image: url('/images/banner/hero-bg.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 0 100px;
  position: relative;
  min-height: 70vh;
}

.hero-section.has-background {
  min-height: 70vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding-top: 80px;
  z-index: 1;
}

.hero-section.has-background .carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
}

.hero-section.has-background .carousel-inner,
.hero-section.has-background .carousel-item {
  height: 100%;
}

.hero-section.has-background .carousel-item {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
}

.hero-section.has-background .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
  opacity: 0.5;
}

.hero-section.has-background .carousel-item::after {
  display: none;
}

.hero-section.has-background .carousel-indicators {
  bottom: 30px;
  z-index: 10;
}

.hero-section.has-background .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.hero-section.has-background .carousel-indicators button.active {
  background-color: var(--primary-color);
  border-color: white;
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.60) 50%, rgba(0,0,0,0.60) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
}

.hero-content .container {
  padding-top: 30px;
}

.hero-badges {
  margin-bottom: 2rem;
}

.hero-badges .hero-tagline-secondary {
  margin-bottom: 1rem !important;
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,51,102,0.7), rgba(0,31,61,0.75));
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 1rem !important;
  font-weight: 500;
  letter-spacing: 0.1px;
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
  opacity: 0.5;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2.5rem !important;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.5),
    0 4px 20px rgba(0,0,0,0.4),
    0 8px 30px rgba(0,0,0,0.3),
    0 0 60px rgba(0,123,255,0.4);
  animation: fadeInUp 1s ease;
  letter-spacing: -2px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  line-height: 1.5;
  margin-top: 1rem !important;
}

/* 页面标题字体大小与其他页面保持一致 */
.hero-title.page-title {
  font-size: 2.5rem !important;
}

/* 页面副标题字体大小与其他页面保持一致 */
.hero-subtitle.page-subtitle {
  font-size: 1.4rem !important;
}

.hero-subtitle {
  font-size: 2.2rem;
  margin-bottom: 3rem !important;
  margin-top: 1rem !important;
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.15s both;
  font-weight: 300;
  letter-spacing: 0.1px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  display: inline-block;
  line-height: 1.4;
}

/* 长段落式副标题（如中国站公司简介页业务描述）：限宽居中、自然换行、去下划线
   放在 .hero-subtitle 之后，并用同等特异性的双类选择器覆盖 font-size 的 !important */
.hero-subtitle.page-subtitle.hero-subtitle-paragraph {
  display: block !important;
  max-width: 760px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.05rem !important;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.2px;
  padding: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  opacity: 0.92;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin-top: 1.5rem !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 0.3s both;
  opacity: 0.95;
  background: rgba(0,0,0,0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  line-height: 1.8;
}

.hero-tagline-secondary {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  letter-spacing: 0.1px;
  background: linear-gradient(135deg, rgba(0,51,102,0.7), rgba(0,31,61,0.75));
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.7rem 1.8rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  display: inline-block;
  white-space: pre-line;
  line-height: 1.8;
}


.hero-cta {
  padding: 15px 40px;
  font-size: 1.2rem;
  border-radius: 50px;
  background-color: var(--accent-color);
  border: none;
  animation: fadeInUp 1s ease 0.4s both;
  transition: all 0.3s ease;
}

.hero-cta:hover {
  background-color: #ff8533;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 102, 0, 0.4);
}

.hero-image {
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInRight 1s ease 0.6s both;
}

