.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(30, 58, 95, 0.65) 45%,
    rgba(13, 148, 136, 0.55) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

/* Content */
.hero-content {
  animation: heroFadeLeft 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: #5eead4;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes heroFadeLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
}

/* Image */
.hero-image-wrap {
  display: flex;
  justify-content: center;
  animation: heroFadeRight 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  max-width: 520px;
  width: 100%;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  animation: heroImgFloat 6s ease-in-out infinite;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  animation-play-state: paused;
  transform: scale(1.04);
}

@keyframes heroImgFloat {
  0%, 100% { transform: scale(1) translateY(0); }
  50%       { transform: scale(1.02) translateY(-6px); }
}

.hero-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.3) 0%,
    transparent 50%
  );
  z-index: 1;
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 100px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content .section-label {
    display: inline-block;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
  }

  .hero-image-card img {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 16px;
    padding: 16px;
  }

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