/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: max(70vh, 600px);
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 9.5rem; /* 留出固定头部空间，与内页一致 */
  background: var(--gradient-hero);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(196, 30, 58, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(196, 30, 58, 0.05) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C41E3A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg.active {
  opacity: 0.75;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 249, 252, 0.5) 0%, rgba(248, 249, 252, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 0;
  padding-bottom: 4rem;
  max-width: 1100px;
  text-align: left;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
  text-align: left;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(196, 30, 58, 0.1);
  border: 1px solid rgba(196, 30, 58, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  margin-bottom: 2rem;
  color: var(--primary-red);
  white-space: nowrap;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--primary-red);
  font-weight: 700;
}

.hero-description {
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 2.5rem;
  max-width: 900px;
  color: var(--text-dark);
  line-height: 1.6;
  opacity: 0.85;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-card {
  background: var(--light-bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-bg-alt);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-item:hover {
  background: rgba(196, 30, 58, 0.05);
  border-color: rgba(196, 30, 58, 0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-red);
  display: block;
  font-family: 'Outfit', sans-serif;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Floating Elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-red);
  opacity: 0.08;
  animation: float 6s ease-in-out infinite;
}

.float-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  right: -100px;
  animation-delay: 0s;
}

.float-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  left: -50px;
  animation-delay: 2s;
}

/* Hero Carousel Controls */
.hero-carousel-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-indicators {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.carousel-indicator:focus {
  outline: none;
  box-shadow: none;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.15);
}

.carousel-indicator.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
  width: 24px;
  border-radius: 12px;
}

.carousel-indicator.active:focus {
  outline: none;
  box-shadow: none;
}

