/* ==========================================================
   Modern header — same purple brand palette, glass style
   Loaded after style.css / responsive.css so it overrides them.
   ========================================================== */
:root {
  --hdr-purple-1: #7b19cb;
  --hdr-purple-2: #4d22d7;
  --hdr-yellow: #ffeb3b;
  --hdr-orange-1: #fc9715;
  --hdr-orange-2: #e45b2d;
  --hdr-glass: rgba(255, 255, 255, 0.08);
  --hdr-glass-border: rgba(255, 255, 255, 0.16);
}

/* ---------- top bar ---------- */
.transparent--header .header-top {
  background: rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-top-left {
  gap: 10px;
  flex-wrap: wrap;
}
.header-top-left .support-part,
.header-top-left .email-part {
  margin-right: 0;
}
.transparent--header .header-top-left a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.25s, color 0.25s;
}
.transparent--header .header-top-left a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.transparent--header .header-top-left i {
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: rgba(255, 235, 59, 0.16);
  color: var(--hdr-yellow);
}

/* ---------- main bar ---------- */
.header-bottom {
  padding: 14px 0;
  transition: padding 0.3s ease;
}
.header-bottom .navbar {
  padding: 8px 10px 8px 8px;
  border-radius: 20px;
  background: var(--hdr-glass);
  border: 1px solid var(--hdr-glass-border);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(20, 0, 60, 0.18);
  transition: all 0.3s ease;
}

/* logo */
.site-logo.site-title {
  line-height: 0;
}
.site-logo .hdr-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.site-logo:hover .hdr-logo {
  transform: translateY(-2px);
}

/* menu links */
.main-menu {
  align-items: center;
  gap: 4px;
}
.transparent--header .main-menu > li > a,
.main-menu > li > a {
  position: relative;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.92);
}
.main-menu > li:last-child a {
  padding-right: 16px;
}
.main-menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--hdr-yellow);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.transparent--header .main-menu > li > a:hover,
.transparent--header .main-menu > li.active > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.main-menu > li > a:hover::after,
.main-menu > li.active > a::after {
  width: 22px;
}
.transparent--header .main-menu > li.active > a {
  color: var(--hdr-yellow);
}

/* dropdown arrow */
.main-menu > li.menu_has_children > a {
  padding-right: 30px;
}
.transparent--header li.menu_has_children:after,
li.menu_has_children:after {
  top: 50%;
  right: 12px;
  margin-top: -9px;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

/* dropdown panel */
.sub-menu,
.transparent--header .sub-menu {
  left: 0;
  top: calc(100% + 18px);
  width: 240px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, #6a1bd0 0%, #4422c9 100%);
  box-shadow: 0 20px 45px rgba(25, 0, 70, 0.35);
}
.main-menu li:hover > .sub-menu {
  top: calc(100% + 8px);
}
.sub-menu::before {
  /* hover bridge so the menu does not close while moving the mouse */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.sub-menu li + li {
  border-top: none;
  margin-top: 2px;
}
.sub-menu li a,
.transparent--header .sub-menu li a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.2s ease;
}
.sub-menu li a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--hdr-yellow);
  padding-left: 18px;
}

/* buttons */
.header-join-part {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
}
.header-join-part .ml-10 {
  margin-left: 0;
}
.hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.hdr-btn:hover {
  transform: translateY(-2px);
}
.hdr-btn--ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}
.hdr-btn--ghost:hover {
  color: var(--hdr-purple-2);
  background: #fff;
  border-color: #fff;
}
.hdr-btn--primary {
  color: #fff;
  border: none;
  background: linear-gradient(135deg, var(--hdr-orange-1) 0%, var(--hdr-orange-2) 100%);
  box-shadow: 0 8px 20px rgba(228, 91, 45, 0.45);
}
.hdr-btn--primary:hover {
  color: #fff;
  box-shadow: 0 12px 26px rgba(228, 91, 45, 0.6);
}

/* ---------- scrolled (sticky) state ---------- */
.transparent--header.menu-fixed {
  background: linear-gradient(90deg, var(--hdr-purple-1) 0%, var(--hdr-purple-2) 100%);
  box-shadow: 0 8px 30px rgba(30, 0, 80, 0.35);
}
.transparent--header.menu-fixed .header-bottom {
  background: transparent;
  padding: 6px 0;
}
.header-section.menu-fixed .header-bottom .navbar {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.header-section.menu-fixed .site-logo .hdr-logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
}

/* ---------- hamburger ---------- */
.navbar-toggler {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}
.menu-toggle {
  width: 26px;
  height: 18px;
}

/* ---------- tablet / mobile ---------- */
@media (max-width: 1199px) {
  .transparent--header .header-bottom,
  .header-bottom {
    background: transparent;
    box-shadow: none;
    padding: 10px 0;
  }
  .header-bottom .navbar {
    border-radius: 16px;
  }
  .navbar-collapse {
    margin-top: 10px;
    padding: 6px 14px;
    border-radius: 14px;
    background: linear-gradient(160deg, #6a1bd0 0%, #4422c9 100%);
  }
  .main-menu {
    margin-top: 6px;
    align-items: stretch;
    gap: 0;
  }
  .main-menu > li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .transparent--header .main-menu > li > a,
  .main-menu li a {
    display: block;
    padding: 12px 6px;
    border-radius: 8px;
  }
  .main-menu > li > a::after {
    display: none;
  }
  .transparent--header li.menu_has_children:after,
  li.menu_has_children:after {
    top: 13px;
    right: 6px;
    margin-top: 0;
  }
  .sub-menu,
  .transparent--header .sub-menu {
    position: static;
    width: 100%;
    margin-bottom: 8px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
  }
  .sub-menu::before {
    display: none;
  }
  .header-join-part {
    margin: 14px 0 16px;
  }
  .hdr-btn {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 575px) {
  .site-logo .hdr-logo,
  .header-section.menu-fixed .site-logo .hdr-logo {
    width: 52px;
    height: 52px;
  }
  .transparent--header .header-top-left a {
    font-size: 12px;
  }
}

/* ---------- inner page banner (e.g. PRODUCTS title) ----------
   The header is taller now, so push the title down and centre it
   in the purple space below the header. */
@media (min-width: 1200px) {
  .inner-page-banner-section {
    padding-top: 190px;
    padding-bottom: 40px;
  }
}
.inner-page-content-area .page-title {
  margin-bottom: 0 !important;
  letter-spacing: 1px;
}

/* Pages where a white card is pulled up into the banner
   (.main-area = -70px, .mt-minus = -90px): add that overlap to the
   bottom padding so the title stays centred above the card. */
@media (min-width: 1200px) {
  .inner-page-banner-section:has(+ section .main-area) {
    padding-bottom: 110px;
  }
  .inner-page-banner-section:has(+ section.mt-minus),
  .inner-page-banner-section:has(+ section .mt-minus) {
    padding-bottom: 130px;
  }
}
