:root {
  --nj-ink: #18111f;
  --nj-muted: #746b79;
  --nj-violet: #5b21b6;
  --nj-violet-dark: #41127f;
  --nj-magenta: #db2777;
  --nj-coral: #ff7557;
  --nj-lilac: #f3edff;
  --nj-cream: #fff9f4;
  --nj-line: rgba(55, 24, 70, .11);
  --nj-shadow: 0 24px 70px rgba(67, 31, 82, .12);
}

.nj-landing-body {
  background: #fffdfb;
  color: var(--nj-ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: -.01em;
}

.nj-landing-body .navbar {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nj-landing-body .navbar.scroll {
  background: rgba(24, 17, 31, .22) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.nj-landing-body .navbar-brand .logo {
  width: auto;
  max-width: 168px !important;
  max-height: 48px;
}

.nj-landing-body .navbar .nav-link {
  font-weight: 700;
  letter-spacing: -.01em;
}

.nj-home .btn {
  font-weight: 750;
  border-radius: 14px !important;
  letter-spacing: -.01em;
}

.nj-home .btn-primary,
.nj-home .btn-main.btn-primary {
  background: var(--nj-violet) !important;
  border-color: var(--nj-violet) !important;
  box-shadow: 0 10px 24px rgba(91, 33, 182, .2);
}

.nj-home .btn-primary:hover,
.nj-home .btn-main.btn-primary:hover {
  background: var(--nj-violet-dark) !important;
  border-color: var(--nj-violet-dark) !important;
  transform: translateY(-1px);
}

.nj-home .btn-outline-primary {
  color: var(--nj-violet) !important;
  border-color: rgba(91, 33, 182, .3) !important;
}

.nj-home .btn-outline-primary:hover {
  color: #fff !important;
  background: var(--nj-violet) !important;
}

.nj-home {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 30%, rgba(219, 39, 119, .07), transparent 27rem),
    radial-gradient(circle at 92% 5%, rgba(91, 33, 182, .1), transparent 32rem),
    #fffdfb;
}

.nj-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 170px 0 90px;
  color: #fff;
  background: #1d1028;
}

.nj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(219, 39, 119, .48), transparent 26rem),
    radial-gradient(circle at 82% 75%, rgba(91, 33, 182, .75), transparent 34rem),
    linear-gradient(120deg, #1d1028 18%, #38134c 57%, #191020 100%);
}

.nj-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -150px;
  top: 80px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 46% 54% 59% 41%;
  transform: rotate(18deg);
}

.nj-hero .container {
  position: relative;
  z-index: 2;
}

.nj-kicker {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.35rem;
  color: var(--nj-magenta);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.nj-hero .nj-kicker {
  color: #ff86bb;
}

.nj-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

.nj-hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 7.2vw, 6.8rem);
  font-weight: 850;
  line-height: .94;
  letter-spacing: -.065em;
}

.nj-hero-title em {
  color: #ff8bc0;
  font-style: normal;
}

.nj-hero-copy {
  max-width: 610px;
  margin: 2rem 0 2.3rem;
  color: rgba(255, 255, 255, .74);
  font-size: 1.2rem;
  line-height: 1.7;
}

.nj-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

.nj-actions .btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  padding: .8rem 1.5rem;
}

.nj-btn-hot {
  color: #fff !important;
  background: linear-gradient(120deg, var(--nj-magenta), var(--nj-coral));
  border: 0;
  box-shadow: 0 18px 35px rgba(219, 39, 119, .27);
}

.nj-btn-ghost {
  color: #fff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
}

.nj-hero-mark {
  position: absolute;
  right: 5%;
  bottom: 7%;
  font-size: clamp(10rem, 27vw, 27rem);
  font-weight: 900;
  line-height: .75;
  letter-spacing: -.12em;
  color: rgba(255,255,255,.035);
  user-select: none;
}

.nj-strip {
  position: relative;
  z-index: 3;
  margin-top: -34px;
}

.nj-strip-inner {
  padding: 1.25rem 1.7rem;
  color: var(--nj-ink);
  background: #fff;
  border: 1px solid var(--nj-line);
  border-radius: 18px;
  box-shadow: var(--nj-shadow);
  font-weight: 800;
  text-align: center;
}

.nj-section {
  padding: 110px 0;
}

.nj-section-soft {
  background: var(--nj-cream);
}

.nj-display {
  max-width: 780px;
  margin: 0;
  color: var(--nj-ink);
  font-size: clamp(2.35rem, 4.8vw, 4.5rem);
  font-weight: 850;
  line-height: 1.03;
  letter-spacing: -.055em;
}

.nj-lead {
  max-width: 640px;
  margin: 1.4rem 0 0;
  color: var(--nj-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.nj-value-grid {
  margin-top: 4.2rem;
}

.nj-value-card {
  height: 100%;
  padding: 2.1rem;
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--nj-line);
  border-radius: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.nj-value-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--nj-shadow);
}

.nj-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 1.6rem;
  color: #fff;
  background: var(--nj-violet);
  border-radius: 16px;
  font-size: 1.3rem;
}

.nj-value-card:nth-child(2) .nj-icon { background: var(--nj-magenta); }
.nj-value-card:nth-child(3) .nj-icon { background: var(--nj-coral); }
.nj-value-card h3 { font-size: 1.4rem; font-weight: 800; }
.nj-value-card p { margin: .8rem 0 0; color: var(--nj-muted); line-height: 1.7; }

.nj-steps {
  position: relative;
  color: #fff;
  background: var(--nj-violet);
}

.nj-steps .nj-display,
.nj-steps .nj-kicker { color: #fff; }

.nj-step {
  position: relative;
  padding: 2rem 1rem 1rem 0;
}

.nj-step-number {
  display: block;
  color: rgba(255,255,255,.22);
  font-size: 5.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}

.nj-step h3 { margin-top: -1rem; font-size: 1.45rem; font-weight: 800; }
.nj-step p { max-width: 300px; color: rgba(255,255,255,.72); line-height: 1.7; }

.nj-featured .card {
  overflow: hidden;
  box-shadow: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.nj-featured .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nj-shadow);
}

.nj-cta {
  padding: 55px 0 100px;
}

.nj-cta-inner {
  position: relative;
  overflow: hidden;
  padding: 5rem 3rem;
  color: #fff;
  background: linear-gradient(125deg, #21102c, #5b21b6 65%, #db2777);
  border-radius: 32px;
  box-shadow: var(--nj-shadow);
  text-align: center;
}

.nj-cta-inner::after {
  content: "NJ";
  position: absolute;
  right: -25px;
  bottom: -55px;
  color: rgba(255,255,255,.07);
  font-size: 13rem;
  font-weight: 900;
  line-height: 1;
}

.nj-cta h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 850;
  letter-spacing: -.055em;
}

.nj-cta p {
  position: relative;
  z-index: 1;
  margin: 1.2rem auto 2rem;
  color: rgba(255,255,255,.75);
  font-size: 1.1rem;
}

.nj-cta .btn { position: relative; z-index: 1; }

[data-bs-theme="dark"] .nj-section:not(.nj-steps) { background: #161019; }
[data-bs-theme="dark"] .nj-display { color: #fff; }
[data-bs-theme="dark"] .nj-value-card { background: #211825; border-color: rgba(255,255,255,.08); }

/* Authenticated navigation: never allow the logo and controls to blend
   into the header in either theme. */
[data-bs-theme="dark"] .navbar.bg-white {
  background-color: #18111f !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
}

[data-bs-theme="dark"] .navbar.bg-white .nav-link,
[data-bs-theme="dark"] .navbar.bg-white .btn-mobile-nav,
[data-bs-theme="dark"] .navbar.bg-white .icon-navbar,
[data-bs-theme="dark"] .navbar.bg-white .navbar-toggler {
  color: #f8f4fb !important;
}

[data-bs-theme="dark"] .navbar.bg-white .search-bar {
  color: #f8f4fb !important;
  background: #2b2230 !important;
  border-color: #45394c !important;
}

[data-bs-theme="dark"] .navbar.bg-white .search-bar::placeholder {
  color: #b9aebe !important;
  opacity: 1;
}

[data-bs-theme="dark"] .navbar.bg-white .button-search {
  color: #f8f4fb !important;
}

[data-bs-theme="light"] .navbar.navbar_background_color .logo {
  filter: none;
}

@media (max-width: 991.98px) {
  .nj-hero { min-height: 680px; padding: 145px 0 80px; }
  .nj-hero-title { max-width: 680px; }
  .nj-section { padding: 80px 0; }
  .navbar-collapse { border-radius: 20px; }
}

@media (max-width: 575.98px) {
  .nj-hero { min-height: 650px; padding: 125px 0 70px; }
  .nj-hero-title { font-size: 3.25rem; }
  .nj-hero-copy { font-size: 1.03rem; }
  .nj-actions { flex-direction: column; }
  .nj-actions .btn { justify-content: center; width: 100%; }
  .nj-section { padding: 68px 0; }
  .nj-value-grid { margin-top: 2.7rem; }
  .nj-cta { padding: 25px 15px 70px; }
  .nj-cta-inner { padding: 4rem 1.4rem; border-radius: 24px; }
}
