/* AGPAII EDU v45 - Fresh Hero Rebuild
   Tujuan: hero bersih, responsif, tanpa statistik 120+/JP/komunitas. */

/* Matikan sisa hero/metrik lama dari versi v37/v38 dan pseudo-element lama */
.hero-v37-metrics,
.hero-stats,
.hero-metrics,
.hero-statistics,
.hero-stat-grid,
.hero-stats-grid,
.hero-metric-grid,
.hero-trust,
.hero-trust-grid,
.hero-counter,
.hero-counters,
.hero-numbers,
.hero-highlights,
.hero-highlight-grid,
.hero-summary-cards,
.hero-mini-stats,
.hero-facts,
.hero-facts-grid,
.stats-grid,
.metrics-grid,
.stat-card,
.metric-card,
.hero-text-content::after,
.hero-v37-card-glow,
.hero-v37-mini-panel {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

.hero-section.hero-v45-clean {
  position: relative !important;
  min-height: auto !important;
  padding: 96px 0 54px !important;
  overflow: hidden !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 14% 16%, rgba(56, 189, 248, 0.28), transparent 34%),
    radial-gradient(circle at 86% 12%, rgba(34, 197, 94, 0.16), transparent 30%),
    linear-gradient(135deg, #0f766e 0%, #0f172a 56%, #111827 100%) !important;
}

.hero-section.hero-v45-clean::before,
.hero-section.hero-v45-clean::after,
.hero-v45-bg {
  content: none !important;
  display: none !important;
}

.hero-v45-container {
  position: relative !important;
  z-index: 2 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.76fr) !important;
  align-items: center !important;
  gap: 34px !important;
}

.hero-v45-copy {
  width: 100% !important;
  max-width: 660px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
  text-align: left !important;
  margin: 0 !important;
}

.hero-v45-kicker {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: fit-content !important;
  padding: 8px 13px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.22) !important;
  background: rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.94) !important;
  box-shadow: none !important;
  backdrop-filter: blur(10px) !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.hero-v45-title {
  margin: 0 !important;
  max-width: 610px !important;
  color: #ffffff !important;
  text-shadow: 0 14px 34px rgba(0,0,0,0.28) !important;
  font-size: clamp(2.25rem, 5vw, 4.7rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.06em !important;
}

.hero-v45-subtitle {
  margin: 0 !important;
  max-width: 570px !important;
  color: rgba(226, 232, 240, 0.94) !important;
  font-size: clamp(0.98rem, 1.45vw, 1.13rem) !important;
  line-height: 1.72 !important;
}

.hero-v45-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.hero-v45-actions .btn {
  min-height: 48px !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 42px rgba(0,0,0,0.18) !important;
}

.hero-v45-featured {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 430px !important;
  justify-self: end !important;
  transform: none !important;
  border-radius: 28px !important;
  padding: 20px !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  background: rgba(255,255,255,0.11) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 28px 70px rgba(0,0,0,0.28) !important;
  overflow: hidden !important;
}

.hero-v45-featured::before,
.hero-v45-featured::after {
  content: none !important;
  display: none !important;
}

.hero-v45-featured-head {
  margin-bottom: 12px !important;
}

.hero-v45-featured-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-bottom: 8px !important;
  color: rgba(255,255,255,0.78) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.hero-v45-featured .carousel-title {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.hero-v45-featured .featured-event-swiper {
  width: 100% !important;
  min-height: 250px !important;
  transform: none !important;
  overflow: hidden !important;
}

.hero-v45-featured .swiper-button-next,
.hero-v45-featured .swiper-button-prev {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.88) !important;
  color: #0f172a !important;
}

.hero-v45-featured .swiper-button-next::after,
.hero-v45-featured .swiper-button-prev::after {
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}

@media (max-width: 991px) {
  .hero-section.hero-v45-clean {
    padding: 86px 0 42px !important;
  }

  .hero-v45-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hero-v45-copy {
    max-width: 720px !important;
    text-align: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }

  .hero-v45-title,
  .hero-v45-subtitle {
    max-width: 100% !important;
  }

  .hero-v45-actions {
    justify-content: center !important;
  }

  .hero-v45-featured {
    justify-self: center !important;
    max-width: 560px !important;
  }
}

@media (max-width: 640px) {
  .hero-section.hero-v45-clean {
    padding: 78px 0 30px !important;
  }

  .hero-v45-container {
    gap: 18px !important;
  }

  .hero-v45-title {
    font-size: clamp(2rem, 11vw, 3.05rem) !important;
    line-height: 1.03 !important;
    letter-spacing: -0.045em !important;
  }

  .hero-v45-subtitle {
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
  }

  .hero-v45-actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .hero-v45-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-v45-featured {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 22px !important;
    padding: 16px !important;
  }

  .hero-v45-featured .featured-event-swiper {
    min-height: 220px !important;
  }

  .hero-v45-featured .swiper-button-next,
  .hero-v45-featured .swiper-button-prev {
    display: none !important;
  }
}


/* AGPAII EDU v46 - compact clean hero spacing/layout */
.hero-section {
  min-height: auto !important;
  padding-top: clamp(1.15rem, 2.6vw, 2.35rem) !important;
  padding-bottom: clamp(1.75rem, 3.6vw, 3rem) !important;
  display: block !important;
}

.hero-section .container,
.hero-container,
.hero-v45-container {
  width: min(1120px, calc(100% - 32px)) !important;
  margin-inline: auto !important;
}

.hero-v45-container {
  min-height: auto !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.78fr) !important;
  align-items: center !important;
  gap: clamp(1.4rem, 3vw, 2.6rem) !important;
}

.hero-v45-copy,
.hero-text-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
  max-width: 640px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.78rem !important;
}

.hero-v45-badge,
.hero-tagline {
  margin-bottom: 0 !important;
  align-self: flex-start !important;
}

.hero-v45-title,
.hero-headline {
  margin: 0 !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
  max-width: 620px !important;
}

.hero-v45-subtitle,
.hero-subheadline {
  margin: 0 !important;
  max-width: 560px !important;
  line-height: 1.65 !important;
}

.hero-v45-actions,
.hero-ctas {
  margin-top: 0.45rem !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.8rem !important;
}

.hero-v45-actions .btn,
.hero-ctas .btn {
  min-height: 46px !important;
  padding: 0.78rem 1.12rem !important;
  border-radius: 999px !important;
}

.hero-v45-visual,
.hero-carousel-wrapper,
.hero-v37-featured-card {
  margin-top: 0 !important;
  transform: none !important;
  align-self: center !important;
  max-width: 430px !important;
  justify-self: end !important;
}

.hero-v45-card,
.hero-carousel-wrapper {
  border-radius: 28px !important;
}

/* Remove any leftover vertical spacers/stat cards inside hero */
.hero-v45-stats,
.hero-stats,
.hero-metrics,
.hero-v37-metrics,
.hero-mini-stats,
.hero-trust,
.hero-summary-cards,
.hero-highlights {
  display: none !important;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }

  .hero-v45-container {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
    text-align: center !important;
  }

  .hero-v45-copy,
  .hero-text-content {
    max-width: 680px !important;
    margin-inline: auto !important;
    align-items: center !important;
    gap: 0.72rem !important;
  }

  .hero-v45-title,
  .hero-headline {
    max-width: 680px !important;
  }

  .hero-v45-subtitle,
  .hero-subheadline {
    max-width: 610px !important;
  }

  .hero-v45-actions,
  .hero-ctas {
    justify-content: center !important;
  }

  .hero-v45-visual,
  .hero-carousel-wrapper,
  .hero-v37-featured-card {
    justify-self: center !important;
    width: min(100%, 430px) !important;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding-top: 0.75rem !important;
    padding-bottom: 1.65rem !important;
  }

  .hero-section .container,
  .hero-container,
  .hero-v45-container {
    width: min(100% - 24px, 1120px) !important;
  }

  .hero-v45-container {
    gap: 1.1rem !important;
  }

  .hero-v45-copy,
  .hero-text-content {
    gap: 0.65rem !important;
  }

  .hero-v45-title,
  .hero-headline {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
    line-height: 1.06 !important;
  }

  .hero-v45-subtitle,
  .hero-subheadline {
    font-size: 0.96rem !important;
    line-height: 1.58 !important;
  }

  .hero-v45-actions,
  .hero-ctas {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.68rem !important;
    margin-top: 0.35rem !important;
  }

  .hero-v45-actions .btn,
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-v45-visual,
  .hero-carousel-wrapper,
  .hero-v37-featured-card {
    width: 100% !important;
    max-width: 360px !important;
  }
}
