/* Nexa homepage interactive layer */
nav .nav-logo img,
.site-nav .nav-logo img,
.brand img[src*="logo_nexa"] {
  width: auto;
  height: 56px;
  max-width: 236px;
  object-fit: contain;
  image-rendering: auto;
  filter:
    drop-shadow(0 10px 18px rgba(15,23,42,0.22))
    drop-shadow(0 0 10px rgba(212,175,55,0.16));
}

nav .nav-logo a {
  min-width: 186px;
}

.brand img[src*="logo_nexa"] {
  height: 46px;
}

.hero.hero-gradient {
  min-height: 820px;
  padding: 148px 5% 82px;
  align-items: center;
}

.hero.hero-gradient::before {
  background:
    linear-gradient(90deg, rgba(3,7,18,0.56), rgba(3,7,18,0.22) 46%, rgba(3,7,18,0.58)),
    radial-gradient(circle at 22% 26%, rgba(212,175,55,0.22), transparent 34%),
    radial-gradient(circle at 80% 62%, rgba(179,135,40,0.16), transparent 34%) !important;
}

.hero.hero-gradient .hero-content.nexa-hero-grid {
  width: min(1240px, 100%);
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.85fr);
  gap: 24px;
  align-items: stretch;
  text-align: left;
  z-index: 3;
}

.nexa-hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(7,15,28,0.32), rgba(15,23,42,0.18)),
    radial-gradient(circle at 18% 10%, rgba(212,175,55,0.08), transparent 34%);
  box-shadow: 0 34px 100px rgba(3,7,18,0.26), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(6px) saturate(1.08);
  -webkit-backdrop-filter: blur(6px) saturate(1.08);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.nexa-hero-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(243,210,122,0.44);
  background:
    linear-gradient(145deg, rgba(7,15,28,0.40), rgba(15,23,42,0.24)),
    radial-gradient(circle at 18% 10%, rgba(212,175,55,0.10), transparent 34%);
  box-shadow: 0 40px 110px rgba(3,7,18,0.32), inset 0 1px 0 rgba(255,255,255,0.18);
}

.nexa-hero-copy-panel {
  min-height: 540px;
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.nexa-hero-copy-panel > :not(.nexa-hero-particles) {
  position: relative;
  z-index: 1;
}

.nexa-hero-copy-panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -42% 18%;
  height: 260px;
  background: radial-gradient(circle, rgba(212,175,55,0.24), transparent 62%);
  pointer-events: none;
}

.nexa-hero-fit-panel {
  min-height: 540px;
  padding: 24px;
  display: flex;
  align-items: stretch;
}

img.nexa-hero-logo,
.nexa-hero-logo {
  width: min(330px, 100%) !important;
  max-width: 330px !important;
  height: auto !important;
  margin: 0 0 24px !important;
  display: block;
  filter:
    drop-shadow(2px 0 0 rgba(0,0,0,0.84))
    drop-shadow(-2px 0 0 rgba(0,0,0,0.84))
    drop-shadow(0 2px 0 rgba(0,0,0,0.84))
    drop-shadow(0 -2px 0 rgba(0,0,0,0.84))
    drop-shadow(0 18px 34px rgba(0,0,0,0.48))
    drop-shadow(0 0 18px rgba(212,175,55,0.16)) !important;
}

.nexa-hero-kicker {
  margin: 0 0 12px !important;
  color: #F3D27A !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem !important;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: none !important;
}

.nexa-hero-copy-panel h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 4.25vw, 4.05rem);
  line-height: 1;
  letter-spacing: -0.035em;
  opacity: 1 !important;
}

.nexa-hero-copy-panel > p:not(.nexa-hero-kicker) {
  max-width: 620px;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.75;
  opacity: 1 !important;
}

.nexa-hero-copy-panel .hero-buttons {
  justify-content: flex-start;
  opacity: 1 !important;
}

.nexa-hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.88;
  pointer-events: none;
}

.nexa-urgency-network {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 20%, rgba(212,175,55,0.20), transparent 34%),
    linear-gradient(135deg, #08111f, #0F172A) !important;
}

.nexa-urgency-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.78;
  pointer-events: none;
}

.nexa-urgency-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin: 0 auto;
}

.nexa-urgency-network::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(8,17,31,0.80), rgba(8,17,31,0.44), rgba(8,17,31,0.80));
  pointer-events: none;
}

.nexa-hero-fit-panel > :not(.nexa-hero-particles) {
  position: relative;
  z-index: 1;
}

.nexa-capital-fit {
  width: 100%;
  margin: 0;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(3,7,18,0.34), rgba(15,23,42,0.20)),
    radial-gradient(circle at 20% 0%, rgba(212,175,55,0.12), transparent 38%);
  box-shadow: 0 24px 80px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(8px) saturate(1.12);
  -webkit-backdrop-filter: blur(8px) saturate(1.12);
  color: #fff;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.nexa-capital-fit:hover {
  transform: translateY(-3px);
  border-color: rgba(243,210,122,0.44);
  box-shadow: 0 30px 90px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.18);
}

.nexa-capital-fit.is-changing {
  transform: translateY(-2px) scale(1.01);
}

.nexa-fit-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}

.nexa-fit-topline span {
  color: rgba(248,250,252,0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nexa-fit-topline strong {
  color: #F3D27A;
  font-size: 0.88rem;
  font-weight: 800;
}

.nexa-fit-tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-bottom: 16px;
}

.nexa-fit-tabs button {
  min-height: 42px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: rgba(248,250,252,0.78);
  font: 800 0.78rem 'Montserrat', sans-serif;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nexa-fit-tabs button:hover,
.nexa-fit-tabs button.is-active {
  transform: translateY(-1px);
  border-color: rgba(243,210,122,0.64);
  background: rgba(243,210,122,0.18);
  color: #fff;
}

.nexa-fit-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.nexa-fit-body > div {
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  background: rgba(255,255,255,0.09);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nexa-fit-body > div:hover {
  transform: translateX(3px);
  border-color: rgba(243,210,122,0.36);
  background: rgba(255,255,255,0.12);
}

.nexa-fit-label {
  display: block;
  margin-bottom: 4px;
  color: rgba(248,250,252,0.58);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nexa-fit-body strong {
  display: block;
  color: #fff;
  font: 800 clamp(0.88rem, 1.4vw, 1rem) 'Montserrat', sans-serif;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.nexa-fit-meter {
  height: 7px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
}

.nexa-fit-meter span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #D4AF37, #F3D27A, #D4AF37);
  box-shadow: 0 0 18px rgba(243,210,122,0.52);
  transition: width 260ms ease;
}

.nexa-fit-note {
  margin: 14px 0 0 !important;
  color: rgba(248,250,252,0.72) !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  text-shadow: none !important;
}

.nexa-fit-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D4AF37, #F3D27A);
  color: #0F172A;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(212,175,55,0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.nexa-fit-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(212,175,55,0.34);
}

.nexa-interactive-card {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nexa-interactive-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--nexa-x, 50%) var(--nexa-y, 50%), rgba(212,175,55,0.20), transparent 34%);
  opacity: 0;
  transition: opacity 160ms ease;
}

.nexa-interactive-card:hover {
  box-shadow: 0 28px 70px rgba(15,23,42,0.16) !important;
  border-color: rgba(212,175,55,0.42) !important;
}

.nexa-interactive-card:hover::after { opacity: 1; }

.nexa-products-section {
  padding: 88px 5% 78px;
  background:
    radial-gradient(circle at 8% 6%, rgba(212,175,55,0.10), transparent 30%),
    linear-gradient(180deg, #f8fafc, #ffffff);
}

.nexa-products-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nexa-products-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 34px;
  text-align: center;
}

.nexa-section-pill {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f7f3e8;
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 800;
}

.nexa-products-header h2 {
  max-width: 860px;
  margin-bottom: 10px;
  color: #2B3A42;
}

.nexa-products-header .subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #64748b;
}

.nexa-product-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(460px, 100%);
  margin-top: 24px;
  padding: 6px;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 999px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 14px 42px rgba(15,23,42,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nexa-product-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nexa-product-tabs button:hover {
  transform: translateY(-1px);
  color: #0F172A;
}

.nexa-product-tabs button.is-active {
  background: linear-gradient(135deg, #0F172A, #1E293B);
  color: #F3D27A;
  box-shadow: 0 10px 24px rgba(15,23,42,0.18);
}

.nexa-product-group {
  margin-top: 34px;
  display: none;
  opacity: 0;
  transform: translateY(12px);
}

.nexa-product-group.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: nextermsoductGroupIn 340ms ease both;
}

@keyframes nextermsoductGroupIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.nexa-product-group-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 18px;
}

.nexa-product-group-head span {
  display: block;
  margin-bottom: 8px;
  color: #B08A20;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nexa-product-group-head h3 {
  max-width: 760px;
  color: #0F172A;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.nexa-product-group-head a {
  flex: 0 0 auto;
  color: #0F172A;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid #D4AF37;
}

.nexa-product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 0.32fr);
  grid-template-columns: none;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 8px 18px;
  margin-inline: -8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(212,175,55,0.65) rgba(15,23,42,0.10);
}

.nexa-product-grid::-webkit-scrollbar {
  height: 9px;
}

.nexa-product-grid::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
}

.nexa-product-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, #D4AF37, #F3D27A);
}

.nexa-product-link {
  display: block;
  min-height: 218px;
  padding: 22px;
  border: 1px solid rgba(226,232,240,0.92);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  color: inherit;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(15,23,42,0.05);
  scroll-snap-align: start;
}

.nexa-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.nexa-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nexa-products-section .nexa-product-link {
  transition:
    opacity 520ms ease,
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nexa-products-section .nexa-product-link:hover {
  background: rgba(255,255,255,0.80);
}

.nexa-products-section .nexa-product-link:hover h4,
.nexa-products-section .nexa-product-link:active h4 {
  color: #1E293B !important;
  -webkit-text-fill-color: #1E293B !important;
}

.nexa-products-section .nexa-product-link:hover p,
.nexa-products-section .nexa-product-link:active p {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
}

.nexa-products-section .nexa-product-link:hover span,
.nexa-products-section .nexa-product-link:active span {
  color: #7A5A0C !important;
  -webkit-text-fill-color: #7A5A0C !important;
  background: rgba(212,175,55,0.16) !important;
}

.nexa-cursor-dot,
.nexa-cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 160ms ease, width 160ms ease, height 160ms ease, border-color 160ms ease, background 160ms ease;
}

.nexa-cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #F3D27A;
  box-shadow: 0 0 16px rgba(243,210,122,0.68);
}

.nexa-cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243,210,122,0.48);
  border-radius: 999px;
  background: rgba(243,210,122,0.04);
}

body.nexa-cursor-ready .nexa-cursor-dot,
body.nexa-cursor-ready .nexa-cursor-ring {
  opacity: 1;
}

body.nexa-cursor-active .nexa-cursor-ring {
  width: 52px;
  height: 52px;
  border-color: rgba(243,210,122,0.78);
  background: rgba(243,210,122,0.10);
}

.hero.hero-gradient .nexa-hero-copy-panel h1,
.hero.hero-gradient .nexa-hero-copy-panel p,
.hero.hero-gradient .nexa-hero-copy-panel .hero-buttons,
.hero.hero-gradient .nexa-hero-copy-panel .hero-brand {
  opacity: 1 !important;
  animation: none !important;
  transform: none;
}

.nexa-hero-copy-panel.nexa-interactive-card:hover h1,
.nexa-hero-copy-panel.nexa-interactive-card:hover p,
.nexa-hero-copy-panel.nexa-interactive-card:hover a,
.nexa-hero-copy-panel.nexa-interactive-card:hover span {
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

.nexa-magnetic {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nexa-product-link span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(212,175,55,0.13);
  color: #7A5A0C;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nexa-product-link h4 {
  margin: 0 0 10px;
  color: #1E293B;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  line-height: 1.18;
}

.nexa-product-link p {
  margin: 0;
  color: #64748b;
  font-size: 0.93rem;
  line-height: 1.65;
}

.nexa-product-link::before {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #0F172A;
  color: #F3D27A;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nexa-product-link::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 27px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #F3D27A;
  border-right: 2px solid #F3D27A;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.nexa-product-link:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.nexa-product-link:hover::after {
  opacity: 1;
  transform: rotate(45deg) translate(1px, -1px);
}

@media (max-width: 820px) {
  .hero.hero-gradient {
    min-height: auto;
    padding: 124px 5% 62px;
  }
  .hero.hero-gradient .hero-content.nexa-hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nexa-hero-copy-panel,
  .nexa-hero-fit-panel {
    min-height: auto;
  }
  .nexa-hero-copy-panel {
    padding: 28px;
  }
  .nexa-hero-logo {
    width: min(320px, 92%) !important;
  }
  .nexa-capital-fit {
    width: min(100%, 560px);
    padding: 15px;
  }
  .nexa-fit-tabs { grid-template-columns: 1fr; }
  .nexa-fit-body { grid-template-columns: 1fr; }
  .nexa-product-tabs {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .nexa-product-tabs button {
    border-radius: 14px;
  }
  .nexa-product-group-head {
    align-items: start;
    flex-direction: column;
  }
  .nexa-product-grid {
    grid-auto-columns: minmax(82vw, 1fr);
  }
  .nexa-product-link {
    min-height: auto;
  }
}
