/* ==========================================================================
   Hero Section ("Build AI That Delivers Measurable Business Impact")
   ========================================================================== */

/* Outer wrapper — carries the shared background gradient across both the
   hero and stats sections so it reads as one seamless block instead of
   two separately-colored sections. */
.hero-stats-wrap {
  background:
    radial-gradient(120% 160% at 50% -30%, rgba(47, 107, 255, 0.14) 0%, rgba(47, 107, 255, 0) 60%),
    linear-gradient(rgb(246, 249, 255) 0%, rgb(251, 252, 255) 46%, rgb(255, 255, 255) 100%);
}

.hero-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 24px 30px;
  background: transparent;
  color: rgb(11, 16, 32);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.hero-section *,
.hero-section *::before,
.hero-section *::after {
  box-sizing: border-box;
}

/* Container
   ========================================================================== */

.hero-section__container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
  transition: opacity 0.7s, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Eyebrow
   ========================================================================== */

.hero-section__eyebrow {
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(37, 71, 224);
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: 0.1s;
}

/* Heading
   ========================================================================== */

.hero-section__heading {
  margin: 12px auto 0 !important;
  max-width: 1200px;
  font-size: clamp(32px, 3.9vw, 52px) !important;
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1.12;
  color: rgb(11, 16, 32);
  text-wrap: pretty;
  white-space: pre-line;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: 0.25s;
}

/* Description
   ========================================================================== */

.hero-section__description {
  margin: 14px auto 0 !important;
  max-width: 800px;
  font-size: 17px !important;
  line-height: 1.7;
  color: rgb(90, 100, 114);
  text-wrap: pretty;
  white-space: pre-line;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: 0.4s;
}

/* CTA
   ========================================================================== */

.hero-section__cta-wrapper {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: 0.55s;
}

.hero-section__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-section__btn {
  background: rgb(239, 62, 46);
  color: rgb(255, 255, 255) !important;
  font-weight: 700;
  font-size: 16px;
  padding: 17px 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: rgba(239, 62, 46, 0.34) 0px 14px 34px;
  transition: transform 0.25s, box-shadow 0.25s, background-color 0.25s;
  text-decoration: none !important;
}

.hero-section__btn:hover,
.hero-section__btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: rgba(239, 62, 46, 0.5) 0px 18px 38px;
  background: rgb(225, 52, 36);
}

.hero-section__btn:focus-visible {
  outline: 2px solid rgb(225, 52, 36);
  outline-offset: 3px;
}

.hero-section__arrow {
  transition: transform 0.25s ease;
}

.hero-section__btn:hover .hero-section__arrow,
.hero-section__btn:focus-visible .hero-section__arrow {
  transform: translateX(4px);
}

.hero-section__secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #2547E0;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.hero-section__secondary-link:hover,
.hero-section__secondary-link:focus-visible {
  color: #2547E0;
}

.hero-section__secondary-text {
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  line-height: 1.2;
  transition: border-color 0.2s ease;
}

.hero-section__secondary-link:hover .hero-section__secondary-text,
.hero-section__secondary-link:focus-visible .hero-section__secondary-text {
  border-color: #2547E0;
  color:#2547E0 !important;
}

.hero-section__secondary-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.hero-section__secondary-link:hover .hero-section__secondary-arrow,
.hero-section__secondary-link:focus-visible .hero-section__secondary-arrow {
  transform: translateX(4px);
}

/* Reveal state, applied by module.js
   ========================================================================== */

.hero-section__container.is-visible .hero-section__eyebrow,
.hero-section__container.is-visible .hero-section__heading,
.hero-section__container.is-visible .hero-section__description,
.hero-section__container.is-visible .hero-section__cta-wrapper {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Screen Responsiveness
   ========================================================================== */

@media (max-width: 600px) {
  .hero-section {
    padding: 48px 16px 40px;
  }

  .hero-section__cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-section__btn {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
  }
}

/* ==========================================================================
   Stats Section (metric counters)
   ========================================================================== */

.stats-section {
  width: 100%;
  padding: 10px 24px 30px;
  background: transparent;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}

.stats-section *,
.stats-section *::before,
.stats-section *::after {
  box-sizing: border-box;
}

/* Container
   ========================================================================== */

.stats-section__container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;

  /* Initial hidden state for entrance animation */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.stats-section__container.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Individual metric block
   ========================================================================== */

.stats-section__metric {
  flex: 1;
  padding: 0 clamp(12px, 2vw, 28px);
  text-align: center;
  position: relative;
}

/* Vertical divider lines between metrics */
.stats-section__metric:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: rgba(200, 210, 225, 0.5);
}

/* Icon (optional, driven by an icon font class name entered in the editor).
   Sits inline inside .stats-section__val, right after the suffix — same
   row as the number, matching the reference design. */

.stats-section__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #2547E0;
  align-self:end;
}

/* Value wrapper
   ========================================================================== */

.stats-section__val {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: clamp(26px, 2.7vw, 34px) !important;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #2547E0;
}

.stats-section__suffix {
  font-size: clamp(26px, 2.7vw, 34px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  color: #2547E0;
}

/* Labels below values
   ========================================================================== */

.stats-section__label {
  margin-top: 8px !important;
  font-size: 13.5px !important;
  font-weight: 600;
  letter-spacing: .01em;
  color: #39414F;
}
@media (max-width: 720px) {
.stats-section__label{
   min-height:40px;
  }}
/* Mobile Screen Responsiveness
   ========================================================================== */

@media (max-width: 640px) {
  .stats-section__container {
    flex-direction: column;
    gap: 28px;
  }

  .stats-section__metric {
    width: 100%;
    padding: 0;
  }

  /* Hide vertical dividers and replace with horizontal dividers on mobile */
  .stats-section__metric:not(:last-child)::after {
    display: none;
  }
  .stats-section__label{
   min-height:auto;
  }}
  
}
