/* 基础容器样式（同效果1，新增动画） */
.hero {
  height: 450px;
  text-align: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 80, 60, 0.18);
  z-index: 1;
}
.hero-container {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

/* 呼吸动画标题 */
.hero-container h2 {
    font-family: "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
    -webkit-text-stroke: 1px #027a48;
    animation: breath 3s ease-in-out infinite;
}
/* 呼吸动画定义 */
@keyframes breath {
  0%, 100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 15px rgba(0, 180, 120, 0.4);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 25px rgba(0, 180, 120, 0.6);
    transform: scale(1.03);
  }
}

/* 副标题 */
.hero-container p {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0 0 2rem 0;
  text-shadow: 0 2px 4px rgba(0, 50, 40, 0.6);
}

/* 弹跳按钮 */
.hero-container .btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: #ffffff;
  color: #039855;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 120, 80, 0.3);
  transition: all 0.3s ease;
}
.hero-container .btn:hover {
  background: #039855;
  color: #ffffff;
  /* 弹跳效果 */
  animation: bounce 0.6s ease;
}
/* 弹跳动画定义 */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}