/* Hide Framer's built-in nav on every Framer page. The replacement nav is
   injected by /_cms/atcon-nav.js as a sibling of Framer's React root so it
   lives outside the reconciliation tree and Framer's SPA router never sees
   clicks on it. */
[data-framer-root] nav {
  display: none !important;
}

/* Replacement floating pill nav. 1:1 visual match with `.site-header` in
   src/app/globals.css so the navigation chrome looks identical on every
   page — Framer-exported static pages AND Next.js-rendered routes. */
#atcon-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483000;
  width: min(1560px, calc(100vw - 24px));
  height: 85px;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  will-change: transform;
  font-family: "Geist", "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#atcon-nav.is-hidden {
  transform: translate(-50%, calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

.atcon-nav__inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 85px;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.26);
  border: none;
  box-shadow: 0 8px 32px rgba(0, 10, 40, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.atcon-nav__brand {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.atcon-nav__brand img {
  height: 22px;
  width: auto;
  display: block;
}

.atcon-nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.atcon-nav__links a {
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.6px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 160ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.atcon-nav__links a:hover {
  color: #ffffff;
}

.atcon-nav__links a[aria-current="page"] {
  color: #ffffff;
  font-weight: 600;
}

.atcon-nav__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0a0a0a;
  width: 127px;
  height: 55px;
  padding: 0 23px;
  border-radius: 27.5px;
  font-family: "Geist", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.atcon-nav__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(124.206% 105.686% at 50% 56.6058%,
      #04032f 4.32692%,
      #0053b3 40.3846%,
      #ebff39 73.5577%,
      #0f1d20 100%);
  box-shadow: rgba(255, 255, 255, 0.55) 0px 0px 12px 0px inset, rgba(255, 255, 255, 0.7) 0px 0px 2px 0px inset;
  transform: scale(0.28, 0.12);
  opacity: 0;
  transform-origin: center;
  transition: 
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.atcon-nav__cta:hover {
  color: #ffffff;
}

.atcon-nav__cta:hover::before {
  transform: scale(1, 1);
  opacity: 1;
}

@media (max-width: 768px) {
  #atcon-nav {
    height: 70px;
  }
  .atcon-nav__links {
    display: none;
  }
  .atcon-nav__inner {
    height: 70px;
    padding: 8px 8px 8px 20px;
    background: #050d22;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .atcon-nav__brand img {
    height: 18px;
  }
  .atcon-nav__cta {
    width: auto;
    height: auto;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
  }
}
