.home-banner {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url("/static/assets/images/banner-bg-cover.jpg");
  background-size: cover;
  position: relative;
  overflow: hidden;
}
/* .home-banner::before {
  content: "";
  background-image: url("/static/assets/images/testi-map.png");
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: auto;
  background-repeat: no-repeat;
  background-position: center center;
  transform-origin: center;
  animation: earthRotation 60s linear infinite;
} */
/* @keyframes earthRotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */
.banner-content {
  padding-top: 10%;
}

.home-banner h1 {
  font-weight: 700;
  line-height: 65px;
  font-size: 40px;
  color: #000;
  padding: 0 20px;
  animation: scaleAnimation 10s infinite ease-in-out;
}
.home-banner h1 span {
  color: var(--primary-color);
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 搜索框整体 */
.search-box {
  position: relative;
  display: flex;
  width: 100%;
  background: #ededed;
  margin-top: 3%;
  border: 2px solid #ffffff;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

/* 鼠标聚焦时边框和阴影变化 */
.search-box:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 输入框样式 */
.search-input {
  flex: 1; /* 自适应剩余空间 */
  border: none;
  outline: none;
  padding: 16px 24px;
  font-size: 16px;
  background: transparent;
  color: var(--text-primary);
}

.search-input::placeholder {
  color: #535353; /* 占位符颜色 */
}

/* 搜索按钮 */
.search-button {
  border: none;
  background: var(--primary-color);
  color: #ffffff;
  padding: 16px 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px; /* 防止按钮过小 */
}

.search-button:hover {
  background: #333333; /* 悬停时稍微亮一点 */
}

.search-button:active {
  transform: scale(0.95); /* 点击时轻微缩小，增加反馈 */
}
.banner-img {
  margin-top: 3%;
}
.banner-img img {
  width: 220px;
  object-fit: cover;
  animation: floatAnimation 3s ease-in-out infinite; /* 添加浮动动画 */
}
/* 浮动动画效果 */
@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px); /* 向上浮动 */
  }
  100% {
    transform: translateY(0px);
  }
}
/* 功能特性 */
.features {
  padding: 80px 0;
  background: var(--bg-primary);
}

.price-box {
  max-width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0px);
  transition: opacity 0.6s, transform 0.6s;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: white;
  font-size: 24px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
}
/* 性能数据 */
.stats {
  padding: 80px 0;
  background: var(--dark-bg-gb);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  animation: countUp 2s ease-out;
}

.stat-number {
  color: var(--primary-color);
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.stat-label {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 500;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-box {
  padding: 80px 0;
}
.about-grid {
  display: flex;
}
.about-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  flex-shrink: 0;
}
.about-img img {
  width: 90%;
}
.about-text {
  font-size: 1.2rem;
  color: var(--accent-color);
}
.about-content {
  padding: 20px;
}
.about-content a {
  display: inline-block;
  margin: 15px auto;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  padding: 10px 50px;
  background: var(--primary-color);
  border-radius: 20px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .about-grid {
    flex-direction: column;
    align-items: center;
  }
  .about-img {
    width: 88%;
  }
  .about-content {
    padding: 0;
  }
}
