:root {
  --header-bg-alpha: 0;
  --header-border-alpha: 0;
  --header-nav-color: rgba(255, 255, 255, 0.94);
  --header-nav-active: #ffffff;
  --header-toggle-bg: rgba(255, 255, 255, 0.14);
  --header-toggle-border: rgba(255, 255, 255, 0.32);
  --header-toggle-bar: #ffffff;
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, var(--header-bg-alpha));
  border-bottom: 1px solid rgba(255, 255, 255, calc(0.58 - var(--header-border-alpha)));
  transition: background 0.2s ease, border-color 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 98px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-mark {
  width: 150px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 54px;
  font-size: 17px;
  font-weight: 600;
  color: var(--header-nav-color);
}

.nav a {
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 10px rgba(15, 23, 42, 0.18);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a.is-active {
  /* color: var(--header-nav-active); */
  color: rgb(20, 81, 202);
}

.nav a:hover {
  color: var(--header-nav-active);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--header-toggle-border);
  background: var(--header-toggle-bg);
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 8px 18px rgba(15, 79, 202, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--header-toggle-bar);
  transition: background 0.2s ease;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  z-index: 29;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 320px);
  height: 100vh;
  padding: 24px 22px 28px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: -18px 0 40px rgba(15, 23, 42, 0.14);
  z-index: 30;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.mobile-nav-head .brand {
  padding: 0;
  border: 0;
}

.mobile-nav-head .brand-mark {
  width: 116px;
}

.mobile-nav-close {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 12px;
  border: 1px solid rgba(20, 81, 202, 0.12);
  background: #f7faff;
  cursor: pointer;
}

.mobile-nav-close::before,
.mobile-nav-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #1451ca;
}

.mobile-nav-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav > a {
  display: block;
  padding: 14px 10px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
  font-size: 16px;
  color: #1f2937;
}

.mobile-nav > a:first-of-type {
  margin-top: 18px;
}

.mobile-nav > .btn {
  color: white;
  width: 100%;
  margin-top: 18px;
  text-align: center;
}

.mobile-nav-toggle:checked ~ .mobile-nav-mask {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-toggle:checked ~ .mobile-nav {
  transform: translateX(0);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  min-width: 124px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, var(--primary), #24c4ff);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(22, 119, 255, 0.22);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid rgba(22, 119, 255, 0.2);
  box-shadow: none;
}

.footer {
  position: relative;
  overflow: hidden;
  background: #f4f7fb;
}

.footer::before {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -240px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 81, 202, 0.08), rgba(20, 81, 202, 0));
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 48px 0 68px;
}

.footer h5 {
  margin: 18px 0 16px;
  font-size: 28px;
  line-height: 1.25;
}

.footer p {
  margin: 8px 0;
  color: #344054;
  font-size: 15px;
}

.qrcodes {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
}

.qr {
  width: 150px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.qr-box {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background:url(static/images/erm1.png);
  background-position: center;
  background-size: contain;
  border: 10px solid #fff;
  box-shadow: inset 0 0 0 1px #d0d5dd;
}

.qr span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 34px;
    font-size: 15px;
  }

  .qrcodes {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }
.stat span.stat-number{
	font-size: 50px;
}
  .nav {
    display: none;
  }

  .header .btn {
    display: none;
  }

  .brand-mark {
    width: 122px;
  }

  .menu-toggle,
  .mobile-nav-mask,
  .mobile-nav {
    display: flex;
  }

  .mobile-nav {
    flex-direction: column;
    width: min(88vw, 320px);
    padding: 18px 18px 24px;
  }

  .mobile-nav-head {
    padding-bottom: 14px;
  }

  .mobile-nav-head .brand-mark {
    width: 108px;
  }

  .mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .mobile-nav > a {
    padding: 12px 8px;
    font-size: 15px;
  }

  .btn,
  .btn-outline {
    width: 100%;
  }

  .footer h5 {
    font-size: 24px;
    line-height: 1.35;
  }

  .footer p {
    font-size: 14px;
    line-height: 1.7;
  }

  .qrcodes {
    /* flex-direction: column; */
    gap: 14px;
  }

  .qr {
    width: 48%;
    min-width: 0;
  }
}
