/* Go-live header helpers — keep existing typography from style.css */

/* Center the hero underline under "recognition." */
.hero-content .hero-title-line {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 75%;
  max-width: 100%;
}

.golive-header .golive-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Match homepage menu alignment (flex-end) — demo-page centers nav by default */
@media (min-width: 1200px) {
  body.demo-page .golive-header .header_inner .header_menu_inner {
    justify-content: flex-end !important;
  }
}

/* EN/SW — Figma pill: green border, active green fill + white text */
.golive-lang {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 3px;
  border: 1.5px solid #459852;
  border-radius: 999px;
  background: #fff;
  box-sizing: border-box;
  gap: 0;
}

.golive-lang__option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 100%;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #183455;
  font-family: "Lexend Deca", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  appearance: none;
  -webkit-appearance: none;
}

.golive-lang__option.is-active {
  color: #fff;
  background: #459852;
}

.golive-lang__option:not(.is-active):hover {
  color: #459852;
}

.golive-lang__divider {
  display: none;
}

.golive-menu-btn {
  flex-shrink: 0;
}

.signin-dropdown .signin-panel__eyebrow {
  margin: 0 0 14px;
  padding: 0 4px;
  max-width: 100%;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #4a5568 !important;
  white-space: normal;
}

/* Desktop: wrapper transparent so WA / back-to-top keep existing fixed positions */
.golive-mobile-dock {
  display: contents;
}

/* Hide floating dock (WA / back-to-top / sticky CTA) while mobile menu is open */
body.golive-menu-open .golive-mobile-dock,
body.golive-menu-open .golive-mobile-dock > *,
body.golive-menu-open .whatsapp-float,
body.golive-menu-open #backtoTop.BackToTop,
body.golive-menu-open .golive-sticky-cta,
#app_Mainheader.MenuOpen ~ .golive-mobile-dock,
#app_Mainheader.MenuOpen ~ .golive-mobile-dock > *,
#app_Mainheader.MenuOpen ~ .golive-mobile-dock .whatsapp-float,
#app_Mainheader.MenuOpen ~ .golive-mobile-dock #backtoTop.BackToTop,
#app_Mainheader.MenuOpen ~ .golive-mobile-dock .golive-sticky-cta {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.golive-sticky-cta {
  display: none;
}

@media (max-width: 1199.98px) {
  .golive-header .header_rt {
    gap: 8px !important;
    flex-shrink: 0;
    align-items: center;
  }

  .golive-header .golive-lang {
    height: 34px !important;
    max-height: 34px !important;
    padding: 2px !important;
    box-sizing: border-box !important;
    align-self: center;
    overflow: hidden;
  }

  .golive-header .golive-lang__option {
    min-width: 32px;
    padding: 0 6px;
    font-size: 13px;
    line-height: 1;
  }

  /* Keep Sign in visible; only hide desktop Start CTA */
  .golive-header .header_rt_btn {
    display: flex !important;
    align-items: center;
    gap: 8px !important;
  }

  .golive-header .golive-desktop-start {
    display: none !important;
  }

  /* Green hamburger — let existing style.css size it; just force visible */
  .golive-header #menu_mbl_CTA.golive-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .golive-header .golive-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  /* Bottom dock: CTA pill + WhatsApp + Back to top */
  .golive-mobile-dock {
    display: flex !important;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    z-index: 1040;
    align-items: center;
    gap: 8px;
    pointer-events: none;
  }

  .golive-mobile-dock > * {
    pointer-events: auto;
  }

  .golive-mobile-dock .golive-sticky-cta.btn-start-journey {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 1 1 auto;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid #fff !important;
    box-shadow: 0 6px 18px rgba(70, 151, 84, 0.35) !important;
  }

  .golive-mobile-dock .whatsapp-float {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    align-items: center !important;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35) !important;
  }

  .golive-mobile-dock .whatsapp-float svg {
    width: 22px !important;
    height: 22px !important;
  }

  .golive-mobile-dock .whatsapp-float__label {
    display: none !important;
  }

  .golive-mobile-dock .whatsapp-float::after {
    animation: none !important;
  }

  .golive-mobile-dock #backtoTop.BackToTop {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Keep dock fully gone while drawer is open (override BackToTop forced visibility) */
  body.golive-menu-open .golive-mobile-dock,
  #app_Mainheader.MenuOpen ~ .golive-mobile-dock {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .header_rt_btn .loginBtn {
    margin-left: 0;
    padding: 0 9px !important;
    min-width: inherit;
  }
}

@media (max-width: 374px) {
  .Applogo_col img {
    max-width: 105px;
  }

  .Applogo_col {
    margin-right: 5px !important;
  }

  .golive-header .header_rt {
    gap: 5px !important;
  }
}

@media (min-width: 1200px) {
  .golive-header #menu_mbl_CTA.golive-menu-btn {
    display: none !important;
  }

  .golive-sticky-cta {
    display: none !important;
  }
}

/* How it works CTA — same green pill as other sections (styles were section-scoped) */
.guided-journey-section .btn-primary-talvuna {
  min-width: 203px;
  height: 64px;
  padding: 0 32px;
  background: #459852;
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 22px;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.guided-journey-section .btn-primary-talvuna:hover,
.guided-journey-section .btn-primary-talvuna:focus {
  background: #183455 !important;
  border-color: #183455 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: none;
}

@media (max-width: 1199.98px) {
  .guided-journey-section .btn-primary-talvuna {
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    line-height: 15px !important;
    border-radius: 10px;
  }
}

@media (max-width: 767.98px) {
  .guided-journey-section .btn-primary-talvuna {
    height: 44px !important;
    padding: 0 18px !important;
    font-size: 14px !important;
    line-height: 14px !important;
  }
}
