/* =============================================================
   overview-hero-block.css — Bluworks v2
   Centred gradient hero used on /overview.
   Token values resolved from Website/style.css.
   ============================================================= */

/* ── Section ── */
.po-hero {
  text-align: center;
  padding: clamp(88px, 12vw, 128px) 0 16px;
  background: linear-gradient(180deg, #EEF3FF 0%, #FAFBFD 100%);
  padding-bottom:60px !important;
}

.po-hero .container {
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── H1 ── */
.po-hero h1 {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 auto 20px;
  color: #0A0F1E;
}

html[dir="rtl"] .po-hero h1 {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
}

/* ── Animated keyword underline ── */
.po-keyword-underline {
  position: relative;
  display: inline-block !important;
}

.po-keyword-underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 6px;
  width: 0;
  background: #1E50E5;
  border-radius: 3px;
  transition: width 1100ms cubic-bezier(0.65, 0, 0.35, 1);
  transition-delay: 400ms;
}

.po-keyword-underline.animate::after {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .po-keyword-underline::after {
    transition: none;
    width: 100%;
  }
}

/* ── Lead text ── */
.po-hero p.lead {
  font-family: 'Neue Haas Grotesk Display', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #4B5068;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 580px;
}

html[dir="rtl"] .po-hero p.lead {
  font-family: 'Noto Sans Arabic', 'Segoe UI', sans-serif;
}

/* ── Reveal animations ── */
.po-hero .reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 320ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.po-hero .reveal.in {
  opacity: 1;
  transform: none;
  max-width: 1080px;
}
.po-hero .reveal-d2 {
  transition-delay: 80ms;
}

@media (prefers-reduced-motion: reduce) {
  .po-hero .reveal,
  .po-hero .reveal.in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── Mobile ── */
@media (max-width: 600px) {
  .po-hero {
    padding-top: clamp(50px, 10vw, 88px);
    padding-bottom:40px !important;
  }
  .po-hero p.lead{
  font-size:16px;
  }
  .po-hero h1 {

    font-size: clamp(33px, 5vw, 64px) !important;

}
}