/* Shared Nextsens identity across public and authenticated surfaces. */
:root {
  --ink: #202937;
  --muted: #66758b;
  --line: #e0e4ec;
  --canvas: #f3f4f7;
  --blue: #243fb5;
  --blue-dark: #1d3294;
  --blue-soft: #edf1fc;
  --gold: #b88b0a;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.nst-badge {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #2452d7;
  color: #fff;
  font-size: 19px;
  font-weight: 750;
  box-shadow: 0 3px 7px rgb(32 41 55 / 14%);
}
.brand-copy strong { color: var(--ink); }
.brand-copy strong span { color: var(--blue); }
.brand-copy small { color: var(--muted); }
.sidebar, .topbar { background: #fafbfe; }
.nav-item.active { color: var(--blue-dark); background: #e8edfc; }
.metric { border-top-color: var(--blue); }
.metric.amber { border-top-color: var(--gold); }
.eyebrow { color: var(--blue-dark); }
.public-site {
  --green: #243fb5;
  --paper: #f1f3f7;
  --warm: #faf0d2;
  background: #fafbfe;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
}
.public-site .site-header { min-height: 72px; }

/* Fixed Navigation Header Bar */
.site-header-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: #ffffff !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid #e0e4ec !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06) !important;
}
.public-site .site-header-bar .site-header {
  min-height: 72px !important;
  border-bottom: none !important;
  padding-block: 6px !important;
}

.site-header-spacer {
  height: 74px;
  width: 100%;
  display: block;
}

/* Smooth Scrolling & Section Offsets for Fixed Header */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
#pricing,
#ecosystem,
.plans-section,
.ecosystem-section {
  scroll-margin-top: 10px;
}
.plans-section .section-heading,
.ecosystem-section .section-heading,
.support-hero,
.downloads-section,
.faq-section {
  scroll-margin-top: 92px !important;
}

/* Ecosystem Product Buttons */
.ecosystem-card .button,
.ecosystem-btn {
  background: #243fb5 !important;
  color: #ffffff !important;
  border: 1px solid #243fb5 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 6px rgba(36, 63, 181, 0.25) !important;
  transition: all 0.2s ease !important;
}
.ecosystem-card .button:hover,
.ecosystem-btn:hover {
  background: #1b2f8a !important;
  border-color: #1b2f8a !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(36, 63, 181, 0.35) !important;
}

/* Download buttons and secondary buttons */
.public-site .secondary-button,
.secondary-button {
  background: #ffffff !important;
  color: #243fb5 !important;
  border: 1.5px solid #243fb5 !important;
}
.public-site .secondary-button:hover,
.secondary-button:hover {
  background: #f0f4ff !important;
  color: #172554 !important;
}

.public-site .download-btn-primary,
.download-btn-primary {
  background: #243fb5 !important;
  color: #ffffff !important;
  border: 1px solid #243fb5 !important;
}
.public-site .download-btn-primary:hover,
.download-btn-primary:hover {
  background: #1b2f8a !important;
  border-color: #1b2f8a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.public-site .brand { gap: 13px; }
.public-site .nst-wordmark { color: var(--ink); font-size: 29px; font-weight: 700; line-height: 1.2; }
.nst-wordmark span { color: var(--blue); font-weight: 800; }
.brand-copy .nst-wordmark { font-size: 18px; white-space: nowrap; }
.public-site .nst-tagline { display: block; color: #94710a; font-size: 13px; margin-top: 4px; }
.public-site .nst-product { display: block; color: var(--blue-dark); font-size: 12px; font-weight: 650; margin-top: 5px; }
.public-site .button { background: var(--blue); border-color: var(--blue); }
.public-site .button:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.public-site .intro { padding-top: 54px; padding-bottom: 22px; }
.public-site .intro h1 { color: var(--blue); }
.public-site .hero-copy { color: var(--ink); font-weight: 650; }
.public-site .product-preview { border-top-color: #c49b23; }
.public-site .plans-section { background: #f0f2f6; }
.public-site .plan { box-shadow: 0 3px 10px rgb(32 41 55 / 4%); }
.public-site .plan h3 { color: var(--blue-dark); }
.public-site .notice { background: #edf1fc; }
.public-site .notice.error, .public-site .notice.danger { background: #fff1ee; }
.public-site .site-footer { border-top: 1px solid var(--line); }
@media (max-width: 700px) {
  .site-header-spacer { height: 108px !important; }
  .public-site .site-header { flex-wrap: wrap !important; padding-block: 8px !important; gap: 8px !important; min-height: auto !important; }
  .public-site .site-header nav { width: 100% !important; justify-content: space-between !important; gap: 8px !important; font-size: 13px !important; }
  .public-site .nst-wordmark { font-size: 20px !important; }
  .public-site .nst-badge { width: 38px !important; height: 38px !important; flex: 0 0 38px !important; font-size: 15px !important; }
  .public-site .nst-tagline { font-size: 11px !important; }
  .public-site .brand { min-width: 0 !important; gap: 8px !important; }
  .public-site .brand > span:last-child { min-width: 0; overflow-wrap: anywhere; }
  .public-site .intro { padding-top: 20px !important; }
  .plans-section .section-heading, .ecosystem-section .section-heading, .support-hero, .downloads-section, .faq-section { scroll-margin-top: 120px !important; }
}

/* NST Checkout and Payment Authorization Button */
#pay,
.btn-nst-authorize,
.account-page button#pay,
.account-page button[type="submit"]:not(.btn-cancel-link) {
  background: #2452d7 !important;
  color: #ffffff !important;
  border: 1px solid #2452d7 !important;
  border-radius: 6px !important;
  padding: 13px 28px !important;
  font-size: 16px !important;
  font-weight: 650 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: 0 3px 8px rgba(36, 82, 215, 0.28) !important;
  transition: all 0.2s ease-in-out !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 12px 0 !important;
}

#pay:hover,
.btn-nst-authorize:hover,
.account-page button#pay:hover,
.account-page button[type="submit"]:not(.btn-cancel-link):hover {
  background: #1b42b8 !important;
  border-color: #1b42b8 !important;
  box-shadow: 0 5px 14px rgba(36, 82, 215, 0.38) !important;
  transform: translateY(-1px) !important;
}

#pay:active,
.btn-nst-authorize:active,
.account-page button#pay:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 4px rgba(36, 82, 215, 0.2) !important;
}

#pay:disabled,
.btn-nst-authorize:disabled,
.account-page button#pay:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
}

