:root {
  --nb-purple: #3e067f;
  --nb-purple-dark: #29045e;
  --nb-accent: #7c0011;
  --nb-ink: #1c1230;
  --nb-muted: #5b5670;
  --nb-soft: #f5f3f8;
}

body { overflow-x: hidden; }

.nb-page p { font-size: 1rem; color: var(--nb-muted); }
.nb-page h2 { font-weight: 800; letter-spacing: -.02em; color: var(--nb-ink); }
.nb-page h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.25; }
.nb-page h3, .nb-page h4 { color: var(--nb-ink); font-weight: 700; line-height: 1.35; }
.nb-soft { background: var(--nb-soft); }
.nb-page .nb-section-title { margin: 0 0 2rem; font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; }
.nb-page .nb-products-title { margin: 0 0 1.5rem; color: var(--nb-accent); font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

/* Buttons */
.nb-btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--nb-purple); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; cursor: pointer; transition: background-color .2s ease;
}
.nb-btn:hover { background: var(--nb-purple-dark); color: #fff; }
.nb-btn i { font-size: .8em; transition: transform .2s ease; }
.nb-btn:hover i { transform: translateX(3px); }
.nb-btn--white { background: #fff; color: var(--nb-purple); }
.nb-btn--white:hover { background: #ece4f6; color: var(--nb-purple); }
.nb-link { padding: 0; border: 0; background: none; cursor: pointer; color: var(--nb-purple); font-size: .85rem; font-weight: 700; text-decoration: none; }
.nb-link:hover { color: var(--nb-accent); }
.nb-link i { margin-left: .35rem; font-size: .8em; transition: transform .2s ease; }
.nb-link:hover i { transform: translateX(3px); }

/* Video */
.nb-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #000; box-shadow: 0 12px 36px rgba(28,18,48,.2); }
.nb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Category banners */
.nb-banner { position: relative; background: var(--nb-purple) center / cover no-repeat; }
.nb-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(41,4,94,.92) 0%, rgba(41,4,94,.7) 55%, rgba(41,4,94,.3) 100%); }
.nb-banner .container { position: relative; }
.nb-banner--rmm { background-image: url('/images/nable/remote-monitoring-management.jpg'); }
.nb-banner--backup { background-image: url('/images/nable/backup-data-protection.jpg'); }
.nb-banner--security { background-image: url('/images/nable/pioneering-security.jpg'); }
.nb-banner--ops { background-image: url('/images/nable/optimize-backend-operations.jpg'); }
.nb-page .nb-banner h2 { margin-bottom: 1rem; color: #fff; }
.nb-page .nb-banner p { margin-bottom: 1.5rem; color: rgba(255,255,255,.88); font-size: 1.1rem; line-height: 1.6; }
.nb-banner .nb-btn { background: #fff; color: var(--nb-purple); }
.nb-banner .nb-btn:hover { background: #ece4f6; }

/* Cards */
.nb-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(28,18,48,.1); transition: transform .3s ease, box-shadow .3s ease; }
.nb-card:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(62,6,127,.2); }
.nb-img-wrapper { display: flex; align-items: center; justify-content: center; flex: none; height: 130px; background: linear-gradient(135deg, #f5f3f8, #e8e1f2); }
.nb-img-wrapper img { width: 72px; height: 72px; object-fit: contain; }
.nb-logo-wrapper img { width: 80px; height: 80px; }
.nb-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.1rem 1.25rem 1.3rem; }
.nb-text-wrapper { flex: 1; margin-bottom: .9rem; }
.nb-page .nb-card h4 { margin-bottom: .4rem; font-size: 1rem; }
.nb-page .nb-card p { margin: 0; font-size: .9rem; line-height: 1.55; }

/* Trusted by */
.nb-feat { height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: 1.6rem 1.5rem; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(28,18,48,.1); }
.nb-page .nb-feat h4 { margin-bottom: .75rem; color: var(--nb-purple); font-size: 1.1rem; }
.nb-page .nb-feat p { margin: 0 0 .75rem; font-size: .95rem; line-height: 1.6; }
.nb-page .nb-feat .nb-person { margin-bottom: 0; font-size: .88rem; }
.nb-feat__foot { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; border-top: 1px solid #ece8f2; }
.nb-feat__foot img { width: 40px; height: 40px; flex: none; }
.nb-page .nb-feat__foot p { flex: 1; margin: 0; font-size: .9rem; }
.nb-feat__go { border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--nb-soft); color: var(--nb-purple); text-decoration: none; }
.nb-feat__go:hover { background: var(--nb-purple); color: #fff; }

/* CTA */
.nb-cta { background: var(--nb-purple); }
.nb-page .nb-cta p { max-width: 640px; margin: 0 auto 1.5rem; color: #fff; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .nb-btn, .nb-card, .nb-btn i, .nb-link i { transition: none; }
}

/* Hero logo */
.nb-hero-logo { display: block; width: auto; height: 38px; margin-bottom: 1.5rem; }
