/* ========================================
   我爱扬州 — 横幅样式
   ======================================== */

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a6b5a 0%, #2d9cdb 40%, #36b5a0 70%, #27ae60 100%);
}

.hero__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero__background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 107, 90, 0.6) 0%, rgba(45, 156, 219, 0.4) 50%, rgba(39, 174, 96, 0.5) 100%);
  z-index: 0;
}

@keyframes heroZoom {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  max-width: 800px;
}

.hero__eyebrow {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  opacity: 0.7;
  animation: bounce 2s ease infinite;
}

.hero__scroll-icon {
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  position: relative;
}

.hero__scroll-icon::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; top: 8px; }
  50% { opacity: 0.3; top: 20px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* --- Stats Bar --- */
.stats {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 3;
  margin-top: -48px;
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.stat {
  text-align: center;
  padding: 36px 24px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #eee;
}

.stat__icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.stat__value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- CTA Section --- */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 72px 24px;
  text-align: center;
}

.cta__title {
  color: var(--white);
  margin-bottom: 12px;
}

.cta__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .btn--white {
  background: var(--white);
  color: var(--primary);
}

.cta .btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.cta .btn--outline-white {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 500;
  transition: all var(--transition);
}

.cta .btn--outline-white:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
  }

  .stats {
    margin-top: -36px;
  }

  .stats__inner {
    grid-template-columns: 1fr;
  }

  .stat:not(:last-child)::after {
    right: 20%;
    top: auto;
    bottom: 0;
    height: 1px;
    width: 60%;
  }

  .stat {
    padding: 24px;
  }

  .cta {
    padding: 56px 24px;
  }

  .cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__scroll {
    display: none;
  }
}
