/* 重构英雄区域 - 更专业的布局和视觉效果 */

.hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  z-index: -2;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  z-index: 1;
}

.hero-subtitle {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  color: white !important;
}

.hero h1 span {
  color: var(--accent-color) !important;
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.hero-stat {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 16px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-stat:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-image {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 1;
}

.mascot-showcase {
  position: relative;
  width: 100%;
  height: 500px;
}

.mascot-bg {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.floating-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-color);
  animation: float 3s ease-in-out infinite;
}

.floating-dot.dot-1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
  width: 14px;
  height: 14px;
}

.floating-dot.dot-2 {
  top: 20%;
  right: 15%;
  animation-delay: 0.5s;
  width: 10px;
  height: 10px;
  background-color: var(--warning-color);
}

.floating-dot.dot-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
}

.floating-dot.dot-4 {
  bottom: 30%;
  right: 20%;
  animation-delay: 1.5s;
  width: 8px;
  height: 8px;
}

.mascot-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  animation: mascot-float 4s ease-in-out infinite;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent-color) !important;
  color: white;
  box-shadow: 0 10px 20px rgba(0, 182, 122, 0.3);
}

.btn-primary:hover {
  background: #00a36d !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 182, 122, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.15) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-icon {
  margin-right: 8px;
}

/* 动画 */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes mascot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* 响应式调整 */
@media (max-width: 992px) {
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .btn-group {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  .mascot-showcase {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .mascot-showcase {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 50px 0 30px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mascot-showcase {
    height: 300px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
} 