/* =====================================================
   HailGeeks footer - clean responsive footer
   Works with the existing footer HTML/classes.
   ===================================================== */

.site-footer {
  --footer-bg: #07111f;
  --footer-bg-soft: #0b1a2c;
  --footer-line: rgba(207, 219, 238, .16);
  --footer-card: rgba(255, 255, 255, .045);
  --footer-card-border: rgba(207, 219, 238, .14);
  --footer-text: rgba(232, 239, 250, .82);
  --footer-muted: rgba(232, 239, 250, .62);
  --footer-heading: #ffffff;
  --footer-blue: #4da3ff;
  --footer-blue-soft: rgba(77, 163, 255, .14);

  position: relative;
  overflow: hidden;
  padding: 66px 0 26px;
  color: var(--footer-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(18, 100, 240, .18) 0, transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(77, 163, 255, .12) 0, transparent 30%),
    linear-gradient(180deg, var(--footer-bg-soft) 0%, var(--footer-bg) 100%);
  border-top: 1px solid rgba(18, 100, 240, .10);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255,255,255,.04) 49%, transparent 50% 100%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 42%);
  opacity: .55;
}

.site-footer .container {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

.site-footer .footer-main {
  width: 100%;
}

.site-footer .footer-right {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr .9fr .9fr .8fr;
  gap: 30px;
  align-items: start;
  width: 100%;
}

.site-footer .footer-link {
  min-width: 0;
}

.site-footer h6 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 15px;
  padding: 0 0 9px;
  color: var(--footer-heading);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.site-footer h6::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--footer-blue);
}

.site-footer ul,
.site-footer .linlGroup ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 0;
  padding: 0;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: var(--footer-muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ffffff;
  transform: translateX(2px);
}

.site-footer a:focus-visible {
  outline: 2px solid rgba(77, 163, 255, .55);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-footer .social {
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-footer .social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--footer-card-border);
  border-radius: 12px;
  background: var(--footer-card);
  color: rgba(255,255,255,.88);
  font-size: 20px;
  line-height: 1;
  transform: none;
}

.site-footer .social a:hover,
.site-footer .social a:focus-visible {
  color: #ffffff;
  border-color: rgba(77, 163, 255, .42);
  background: var(--footer-blue-soft);
  transform: translateY(-1px);
}

.site-footer .footer-copy {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--footer-line);
  text-align: center;
}

.site-footer .footer-copy p {
  margin: 0;
  color: rgba(232, 239, 250, .54);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 520;
}

@media (max-width: 1080px) {
  .site-footer {
    padding-top: 56px;
  }

  .site-footer .footer-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 34px;
  }

  .site-footer .footer-link:nth-child(5) {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding: 42px 0 20px;
  }

  .site-footer .container {
    width: min(100% - 24px, 100%);
  }

  .site-footer .footer-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .site-footer .footer-link {
    min-height: 100%;
    padding: 16px 14px 14px;
    border: 1px solid var(--footer-card-border);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
  }

  .site-footer h6 {
    margin-bottom: 11px;
    padding-bottom: 8px;
    font-size: 11px;
    letter-spacing: .07em;
  }

  .site-footer h6::after {
    width: 22px;
  }

  .site-footer ul,
  .site-footer .linlGroup ul {
    gap: 0;
  }

  .site-footer a {
    width: 100%;
    min-height: 34px;
    padding: 4px 0;
    color: rgba(232, 239, 250, .72);
    font-size: 12.5px;
    line-height: 1.25;
  }

  .site-footer a:hover,
  .site-footer a:focus-visible {
    transform: none;
  }

  .site-footer .footer-link:nth-child(5) {
    grid-column: 1 / -1;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 16px;
  }

  .site-footer .footer-link:nth-child(5) h6 {
    margin: 0;
    padding: 0;
  }

  .site-footer .footer-link:nth-child(5) h6::after {
    content: none;
  }

  .site-footer .social {
    flex: 0 0 auto;
    gap: 8px;
  }

  .site-footer .social a {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .site-footer .footer-copy {
    margin-top: 18px;
    padding-top: 16px;
  }

  .site-footer .footer-copy p {
    margin: 0 auto;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  .site-footer .footer-right {
    gap: 10px;
  }

  .site-footer .footer-link {
    padding: 14px 12px 12px;
    border-radius: 14px;
  }

  .site-footer h6 {
    font-size: 10.5px;
  }

  .site-footer a {
    min-height: 32px;
    font-size: 12px;
  }

  .site-footer .footer-link:nth-child(5) {
    padding: 14px;
  }

  .site-footer .social a {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .site-footer .footer-right {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-link:nth-child(5) {
    grid-column: auto;
  }
}

/* =====================================================
   HailGeeks header + alert ticker - clean version
   Footer rules above were not changed.
   ===================================================== */

.hero-message,
.site-header,
.hero-message *,
.site-header *,
.hero-message *::before,
.site-header *::before,
.hero-message *::after,
.site-header *::after {
  box-sizing: border-box;
}

/* ---------------- Alert ticker ---------------- */
.hero-message {
  position: relative;
  z-index: 120;
  width: 100%;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-message-main {
  width: 100%;
  overflow: hidden;
}

.hero-ticker {
  width: 100%;
  min-height: 25px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 14px;
  white-space: nowrap;
}

.hero-ticker-active {
  background: #f2742f;
  color: #ffffff;
}

.hero-ticker-idling {
  background: #eef3f8;
  color: #31424c;
}

.ticker-track-active,
.ticker-track-idling {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 76px;
  white-space: nowrap;
  will-change: transform;
}

.ticker-track-active {
  animation: hgTickerMove 70s linear infinite;
  font-size: 11.5px;
  line-height: 25px;
  font-weight: 650;
  letter-spacing: .04em;
  --inner-gap: 76px;
}

.ticker-track-active .slide {
  display: inline-block;
}

.ticker-track-active .item {
  vertical-align: middle;
}

.ticker-track-active .item + .item {
  margin-left: var(--inner-gap);
}

.ticker-track-idling {
  animation: hgTickerMove 82s linear infinite;
  font-size: 11.5px;
  line-height: 25px;
  letter-spacing: .012em;
}

@keyframes hgTickerMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track-active,
  .ticker-track-idling {
    animation: none !important;
  }
}

/* ---------------- Header shell ---------------- */
.site-header {
  position: relative;
  z-index: 121;
  width: 100%;
  overflow: visible;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #edf1f7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header .container {
  width: min(100% - 32px, 1420px);
  max-width: 1420px;
  margin: 0 auto;
  padding: 0;
}

.header-main {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.header-left {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 42px;
}

.logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: auto;
  height: auto;
}

.logo a {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img {
  width: 140px;
  max-width: 140px;
  height: auto;
  display: block;
}

.site-nav,
.header-right {
  min-width: 0;
}

.site-nav ul,
.header-right ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav li,
.header-right li {
  margin: 0;
  padding: 0;
}

.site-nav a,
.header-right a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  color: #344054;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active,
.header-right a:hover,
.header-right a:focus-visible {
  color: #1264f0;
}

.site-nav a:focus-visible,
.header-right a:focus-visible,
.mobClick:focus-visible {
  outline: 2px solid rgba(18,100,240,.32);
  outline-offset: 3px;
}

.header-right {
  flex: 0 0 auto;
}

.header-right a.join-btn,
.site-nav-auth a.join-btn {
  min-width: 132px;
  border: 1px solid #1264f0;
  color: #1264f0;
  background: #ffffff;
  font-weight: 600;
}

.header-right a.join-btn:hover,
.header-right a.join-btn:focus-visible,
.site-nav-auth a.join-btn:hover,
.site-nav-auth a.join-btn:focus-visible {
  color: #ffffff;
  background: #1264f0;
  border-color: #1264f0;
  box-shadow: 0 10px 20px rgba(18,100,240,.14);
}

.site-nav .site-nav-auth {
  display: none;
}

/* ---------------- Mobile trigger ---------------- */
.mobClick {
  position: relative;
  width: 38px;
  height: 38px;
  display: none;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.mobClick span {
  position: absolute;
  left: 8px;
  width: 22px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: #1f2937;
  transition: top .2s ease, transform .2s ease, opacity .16s ease;
}

.mobClick span:nth-child(1) { top: 11px; }
.mobClick span:nth-child(2) { top: 18px; }
.mobClick span:nth-child(3) { top: 25px; }

.mobClick.open span:nth-child(1) {
  top: 18px;
  transform: rotate(135deg);
}

.mobClick.open span:nth-child(2) {
  opacity: 0;
}

.mobClick.open span:nth-child(3) {
  top: 18px;
  transform: rotate(-135deg);
}

/* ---------------- Toast from header include ---------------- */
.toast-container {
  z-index: 1300;
}

#bootstrap-toast {
  color: #ffffff;
  background: rgba(7, 17, 31, .96);
  border: 1px solid rgba(207, 219, 238, .16) !important;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .22);
}

#bootstrap-toast .toast-body {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}

/* ---------------- Responsive header ---------------- */
@media (max-width: 1080px) {
  .site-header .container {
    width: min(100% - 32px, 1420px);
    max-width: 1420px;
  }

  .header-left {
    gap: 22px;
  }

  .site-nav a,
  .header-right a {
    padding: 0 10px;
    font-size: 12.5px;
  }

  .header-right a.join-btn {
    min-width: 120px;
  }
}

@media (max-width: 767px) {
  .site-header .container {
    width: min(100% - 32px, 1420px);
    max-width: 1420px;
  }

  .header-main {
    min-height: 68px;
  }

  .header-left {
    width: 100%;
  }

  .logo {
    width: 100%;
    justify-content: space-between;
  }

  .logo a,
  .mobClick {
    position: relative;
    z-index: 124;
  }

  .mobClick {
    display: block;
  }

  .header-right {
    display: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 122;
    width: 100vw;
    height: 100dvh;
    max-height: none;
    padding: calc(82px + env(safe-area-inset-top)) 0 calc(22px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: #ffffff;
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease;
  }

  .site-nav.act {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul,
  .site-nav .site-nav-auth {
    width: min(100% - 32px, 420px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 0 auto;
    padding: 0;
  }

  .site-nav .site-nav-auth {
    display: grid;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #edf1f7;
  }

  .site-nav .site-nav-auth > li:first-child {
    display: none;
  }

  .site-nav li {
    width: 100%;
  }

  .site-nav a,
  .site-nav-auth a,
  .site-nav-auth a.join-btn {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 0 10px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #1f2937;
    font-size: 15px;
    line-height: 1;
    font-weight: 720;
    box-shadow: none;
  }

  .site-nav a::after,
  .site-nav-auth a::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #b6c2d2;
    font-size: 10px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.active {
    color: #1264f0;
    background: #f3f8ff;
  }

  .site-nav-auth a {
    color: #475467;
    font-size: 14px;
    font-weight: 680;
  }

  .site-nav-auth a.join-btn {
    min-height: 42px;
    justify-content: center;
    margin-top: 4px;
    color: #ffffff;
    background: #1264f0;
    font-size: 14px;
    font-weight: 820;
  }

  .site-nav-auth a.join-btn::after {
    content: none;
  }
}

@media (max-width: 767px) {
  .hero-ticker {
    min-height: 24px;
    padding: 0 12px;
  }

  .ticker-track-active,
  .ticker-track-idling {
    gap: 58px;
  }

  .ticker-track-active {
    --inner-gap: 58px;
    line-height: 24px;
    letter-spacing: .03em;
  }

  .ticker-track-idling {
    line-height: 24px;
  }

  .site-header .container {
    width: min(100% - 24px, 1420px);
    max-width: 1420px;
  }

  .header-main {
    min-height: 64px;
  }

  .logo img {
    width: 130px;
    max-width: 130px;
  }

  .site-nav {
    height: 100dvh;
    max-height: none;
    padding: calc(78px + env(safe-area-inset-top)) 0 calc(18px + env(safe-area-inset-bottom));
  }

  .site-nav ul,
  .site-nav .site-nav-auth {
    width: min(100% - 24px, 390px);
  }

  .site-nav a,
  .site-nav-auth a,
  .site-nav-auth a.join-btn {
    min-height: 43px;
    font-size: 14px;
  }

  .site-nav-auth a {
    font-size: 13.5px;
  }
}

@media (max-width: 430px) {
  .logo img {
    width: 124px;
    max-width: 124px;
  }

  .site-nav ul,
  .site-nav .site-nav-auth {
    width: min(100% - 20px, 360px);
  }

  .site-nav a,
  .site-nav-auth a,
  .site-nav-auth a.join-btn {
    min-height: 42px;
  }
}

/* =====================================================
   HailGeeks pre-footer data source strip
   Trusted source statement + middle-dot separated source list.
   Background intentionally kept the same.
   ===================================================== */
.hg-footer-data-strip {
  --prefooter-bg: #0b1a2c;
  --prefooter-bg-deep: #07111f;
  --prefooter-line: rgba(207, 219, 238, .16);
  --prefooter-heading: #ffffff;
  --prefooter-blue: #4da3ff;

  position: relative;
  overflow: hidden;
  padding: 38px 0 34px;
  background:
    radial-gradient(circle at 18% 0%, rgba(18, 100, 240, .16) 0, transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(77, 163, 255, .10) 0, transparent 26%),
    linear-gradient(180deg, #10243b 0%, var(--prefooter-bg) 100%);
  border-top: 1px solid rgba(18, 100, 240, .10);
  border-bottom: 1px solid rgba(255, 255, 255, .045);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hg-footer-data-strip,
.hg-footer-data-strip *,
.hg-footer-data-strip *::before,
.hg-footer-data-strip *::after {
  box-sizing: border-box;
}

.hg-footer-data-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.045), transparent 58%);
  opacity: .7;
}

.hg-footer-data-container {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}

.hg-footer-data-statement {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.hg-footer-data-label {
  display: block;
  margin: 0 0 12px;
  color: rgba(232, 239, 250, .66);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .115em;
  text-transform: uppercase;
}

.hg-footer-data-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 0;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.018em;
}

.hg-footer-data-list strong {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}

.hg-footer-data-list strong:not(:last-child)::after {
  content: "•";
  margin: 0 13px;
  color: rgba(77, 163, 255, .62);
  font-size: .82em;
  line-height: 1;
}

@media (max-width: 1080px) {
  .hg-footer-data-strip {
    padding: 34px 0 30px;
  }

  .hg-footer-data-list {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .hg-footer-data-strip {
    padding: 28px 0 26px;
  }

  .hg-footer-data-container {
    width: min(100% - 24px, 100%);
  }

  .hg-footer-data-label {
    margin-bottom: 10px;
    font-size: 10.5px;
    letter-spacing: .10em;
  }

  .hg-footer-data-list {
    max-width: 420px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.45;
  }

  .hg-footer-data-list strong:not(:last-child)::after {
    margin: 0 10px;
  }
}

@media (max-width: 430px) {
  .hg-footer-data-strip {
    padding: 24px 0 23px;
  }

  .hg-footer-data-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    max-width: 100%;
    font-size: 13.5px;
  }

  .hg-footer-data-list strong {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .hg-footer-data-list strong:not(:last-child)::after {
    content: none;
  }
}
