@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

.site-footer-v2 {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 7, 18, 0.8);
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.02);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
}

@media (min-width: 992px) {
  .site-footer-v2 {
    padding-bottom: 1.25rem;
  }
}

.site-footer-v2__inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem 1rem;
}

@media (min-width: 640px) {
  .site-footer-v2__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-footer-v2__inner {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2.25rem;
    padding-bottom: 0;
  }
}

.site-footer-v2__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.site-footer-v2__brand {
  text-align: center;
  width: 100%;
  max-width: 80rem;
}

@media (min-width: 768px) {
  .site-footer-v2__brand {
    text-align: left;
    margin-bottom: 0;
  }
}

.site-footer-v2__meta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
  width: 100%;
}

@media (min-width: 768px) {
  .site-footer-v2__meta-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
  }
}

.site-footer-v2__name {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  color: #fff;
  display: block;
}

.site-footer-v2__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  padding: 0;
  text-align: inherit;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  overflow-wrap: break-word;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .site-footer-v2__copy {
    flex: 1 1 12rem;
  }
}

.site-footer-v2__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .site-footer-v2__social {
    justify-content: flex-start;
  }
}

.site-footer-v2__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-v2__social a:hover {
  color: #818cf8;
}

.site-footer-v2__social svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.site-footer-v2__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .site-footer-v2__nav {
    justify-content: flex-end;
    gap: 1rem 1.25rem;
  }
}

.site-footer-v2__nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.site-footer-v2__nav a:hover {
  color: #fff;
}

.site-mobile-tabbar {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  background: rgba(3, 7, 18, 0.8) !important;
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.02);
}

.site-mobile-tabbar #foot {
  background: transparent !important;
}

.site-mobile-tabbar .nav-link.active .navbar-text {
  color: #818cf8 !important;
}

.site-mobile-tabbar .navbar-text {
  color: rgba(255, 255, 255, 0.5) !important;
}

.site-mobile-tabbar .nav-link:not(.active) .navbar-text:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

.hm-plan-sold-overlay {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  pointer-events: auto;
}

.hm-plan-sold-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 3.5vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fef3c7;
  border: 2px solid rgba(250, 204, 21, 0.85);
  background: rgba(120, 53, 15, 0.45);
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.2);
  transform: rotate(-8deg);
}
