/* ============================================================
   NEXPAY — Global Stylesheet
   File: assets/css/style.css
   The base layer for every page. Tokens + primitives only.
   ============================================================ */

/* NEXPAY: START - Icon font */
@font-face {
    font-family: 'NexPay Bootstrap Icons';
    src: url('../fonts/bootstrap-icons.woff2') format('woff2'),
         url('../fonts/bootstrap-icons.woff') format('woff');
    font-display: block;
}

.bi,
[class^="bi-"],
[class*=" bi-"] {
    font-family: 'NexPay Bootstrap Icons' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    line-height: 1;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* NEXPAY: END - Icon font */

/* NEXPAY: START - Design Tokens */
:root {
    /* Brand palette (mirrors config/constants.php) */
    --nx-primary:      #1D4ED8;
    --nx-electric:     #2563EB;
    --nx-navy:         #071A52;
    --nx-light:        #EFF6FF;
    --nx-white:        #FFFFFF;
    --nx-text:         #0F172A;
    --nx-muted:        #64748B;

    /* Extended palette */
    --nx-primary-hover: #1E40AF;
    --nx-primary-soft:  #DBEAFE;
    --nx-border:        #E5E7EB;
    --nx-border-strong: #CBD5E1;
    --nx-surface:       #FFFFFF;
    --nx-surface-alt:   #F8FAFC;

    /* Status */
    --nx-success:       #16A34A;
    --nx-success-soft:  #DCFCE7;
    --nx-warning:       #D97706;
    --nx-warning-soft:  #FEF3C7;
    --nx-danger:        #DC2626;
    --nx-danger-soft:   #FEE2E2;
    --nx-info:          #0284C7;
    --nx-info-soft:     #E0F2FE;

    /* Radii */
    --nx-radius-xs: 6px;
    --nx-radius-sm: 10px;
    --nx-radius:    14px;
    --nx-radius-lg: 20px;
    --nx-radius-xl: 28px;
    --nx-radius-pill: 999px;

    /* Shadows */
    --nx-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
    --nx-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --nx-shadow:    0 8px 24px rgba(7, 26, 82, 0.08);
    --nx-shadow-lg: 0 20px 48px rgba(7, 26, 82, 0.12);

    /* Layout */
    --nx-container: 1200px;
    --nx-container-sm: 960px;
    --nx-navbar-h: 72px;

    /* Typography */
    --nx-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --nx-font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
    --nx-body-weight: 450;

    /* Transitions */
    --nx-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --nx-t-fast: 120ms var(--nx-ease);
    --nx-t: 200ms var(--nx-ease);
    --nx-t-slow: 320ms var(--nx-ease);

    /* Z-index scale */
    --nx-z-nav: 1000;
    --nx-z-drawer: 1050;
    --nx-z-modal: 1100;
    --nx-z-toast: 1200;
}
/* NEXPAY: END - Design Tokens */


/* NEXPAY: START - Reset & Base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--nx-font);
    font-size: 16px;
    font-weight: var(--nx-body-weight);
    line-height: 1.6;
    color: var(--nx-text);
    background: var(--nx-white);
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--nx-primary); text-decoration: none; transition: color var(--nx-t); }
a:hover { color: var(--nx-primary-hover); }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--nx-primary-soft); color: var(--nx-navy); }
/* NEXPAY: END - Reset & Base */


/* NEXPAY: START - Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--nx-navy);
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--nx-text); }

.nx-lead { font-size: 1.125rem; color: var(--nx-muted); line-height: 1.7; }
.nx-small { font-size: 0.875rem; }
.nx-meta { font-size: 0.8125rem; color: var(--nx-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.nx-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nx-primary);
    margin-bottom: 12px;
}

.nx-num {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    font-weight: 700;
}
.nx-num-lg { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; }
.nx-num-md { font-size: 1.5rem; font-weight: 700; }
/* NEXPAY: END - Typography */

/* NEXPAY: START - Icon lists */
.nx-check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nx-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.nx-check-list li + li { margin-top: 10px; }
.nx-check-list li i {
    flex: 0 0 auto;
    color: var(--nx-primary);
    line-height: inherit;
}
/* NEXPAY: END - Icon lists */


/* NEXPAY: START - Container */
.nx-container {
    width: 100%;
    max-width: var(--nx-container);
    margin-inline: auto;
    padding-inline: 24px;
}
.nx-container-sm { max-width: var(--nx-container-sm); }

@media (max-width: 640px) {
    .nx-container { padding-inline: 20px; }
}
/* NEXPAY: END - Container */


/* NEXPAY: START - Buttons */
.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--nx-radius-sm);
    border: 1px solid transparent;
    background: transparent;
    color: var(--nx-text);
    cursor: pointer;
    text-decoration: none;
    transition: background var(--nx-t), color var(--nx-t), border-color var(--nx-t), transform var(--nx-t-fast), box-shadow var(--nx-t);
    white-space: nowrap;
    user-select: none;
}
.nx-btn:disabled, .nx-btn.is-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.nx-btn:focus-visible { outline: 2px solid var(--nx-electric); outline-offset: 2px; }

.nx-btn i { font-size: 1.05em; }

.nx-btn-primary {
    background: var(--nx-primary);
    color: var(--nx-white);
    box-shadow: 0 6px 16px rgba(29, 78, 216, 0.24);
}
.nx-btn-primary:hover { background: var(--nx-primary-hover); color: var(--nx-white); transform: translateY(-1px); }

.nx-btn-ghost {
    background: var(--nx-white);
    color: var(--nx-navy);
    border-color: var(--nx-border);
}
.nx-btn-ghost:hover { border-color: var(--nx-primary); color: var(--nx-primary); }

.nx-btn-outline {
    background: transparent;
    color: var(--nx-primary);
    border-color: var(--nx-primary);
}
.nx-btn-outline:hover { background: var(--nx-primary); color: var(--nx-white); }

.nx-btn-soft {
    background: var(--nx-light);
    color: var(--nx-primary);
}
.nx-btn-soft:hover { background: var(--nx-primary-soft); }

.nx-btn-danger { background: var(--nx-danger); color: var(--nx-white); }
.nx-btn-danger:hover { filter: brightness(0.94); }

.nx-btn-lg { padding: 15px 26px; font-size: 16px; border-radius: var(--nx-radius); }
.nx-btn-sm { padding: 9px 14px; font-size: 13.5px; }
.nx-btn-block { width: 100%; }
/* NEXPAY: END - Buttons */


/* NEXPAY: START - Cards */
.nx-card {
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius);
    padding: 24px;
    box-shadow: var(--nx-shadow-sm);
    transition: box-shadow var(--nx-t), transform var(--nx-t), border-color var(--nx-t);
}
.nx-card-hover:hover {
    box-shadow: var(--nx-shadow);
    transform: translateY(-2px);
    border-color: var(--nx-primary-soft);
}
.nx-card-flat { box-shadow: none; }
.nx-card-navy {
    background: linear-gradient(135deg, var(--nx-navy) 0%, var(--nx-primary) 100%);
    color: var(--nx-white);
    border-color: transparent;
}
.nx-card-navy h1, .nx-card-navy h2, .nx-card-navy h3, .nx-card-navy h4, .nx-card-navy p { color: inherit; }

.nx-card-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; color: var(--nx-navy); }
.nx-card-body  { color: var(--nx-muted); font-size: 0.9375rem; }
/* NEXPAY: END - Cards */


/* NEXPAY: START - Badges */
.nx-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--nx-radius-pill);
    line-height: 1;
    letter-spacing: 0.01em;
}
.nx-badge-success { background: var(--nx-success-soft); color: #14532D; }
.nx-badge-warning { background: var(--nx-warning-soft); color: #78350F; }
.nx-badge-danger  { background: var(--nx-danger-soft);  color: #7F1D1D; }
.nx-badge-info    { background: var(--nx-info-soft);    color: #075985; }
.nx-badge-neutral { background: var(--nx-surface-alt);  color: var(--nx-muted); }
.nx-badge-primary { background: var(--nx-primary-soft); color: var(--nx-navy); }
/* NEXPAY: END - Badges */


/* NEXPAY: START - Forms */
.nx-form-group { margin-bottom: 18px; }

.nx-label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--nx-navy);
    margin-bottom: 8px;
}
.nx-label-hint { color: var(--nx-muted); font-weight: 400; margin-left: 4px; }

.nx-input,
.nx-select,
.nx-textarea {
    width: 100%;
    padding: 13px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--nx-text);
    background: var(--nx-white);
    border: 1.5px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    transition: border-color var(--nx-t), box-shadow var(--nx-t), background var(--nx-t);
    appearance: none;
}
.nx-input::placeholder, .nx-textarea::placeholder { color: #94A3B8; }
.nx-input:hover, .nx-select:hover, .nx-textarea:hover { border-color: var(--nx-border-strong); }
.nx-input:focus, .nx-select:focus, .nx-textarea:focus {
    outline: none;
    border-color: var(--nx-primary);
    box-shadow: 0 0 0 4px var(--nx-primary-soft);
}
.nx-input.is-error, .nx-select.is-error, .nx-textarea.is-error {
    border-color: var(--nx-danger);
    background: #FFF7F7;
}

.nx-textarea { min-height: 120px; resize: vertical; }

.nx-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.nx-field-error {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--nx-danger);
    font-weight: 500;
}

.nx-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--nx-muted);
}

.nx-checkbox,
.nx-radio {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--nx-text);
    cursor: pointer;
}
.nx-checkbox input,
.nx-radio input {
    margin-top: 3px;
    accent-color: var(--nx-primary);
    width: 16px; height: 16px;
}

.nx-input-icon { position: relative; }
.nx-input-icon .nx-input { padding-left: 44px; }
.nx-input-icon > i {
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    color: var(--nx-muted);
    font-size: 16px;
    pointer-events: none;
}
/* NEXPAY: END - Forms */


/* NEXPAY: START - Alerts */
.nx-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--nx-radius-sm);
    font-size: 14px;
    border: 1px solid transparent;
    margin-bottom: 16px;
}
.nx-alert i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.nx-alert-success { background: var(--nx-success-soft); color: #14532D; border-color: #86EFAC; }
.nx-alert-warning { background: var(--nx-warning-soft); color: #78350F; border-color: #FCD34D; }
.nx-alert-error   { background: var(--nx-danger-soft);  color: #7F1D1D; border-color: #FCA5A5; }
.nx-alert-info    { background: var(--nx-info-soft);    color: #075985; border-color: #7DD3FC; }
/* NEXPAY: END - Alerts */


/* NEXPAY: START - Navbar (public) */
.nx-navbar {
    position: sticky;
    top: 0;
    z-index: var(--nx-z-nav);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: box-shadow var(--nx-t);
}
.nx-navbar.is-scrolled { box-shadow: var(--nx-shadow-sm); }

.nx-navbar-inner {
    height: var(--nx-navbar-h);
    display: flex;
    align-items: center;
    gap: 32px;
}

.nx-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--nx-navy);
    letter-spacing: -0.02em;
}
.nx-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px; height: 34px;
    background: linear-gradient(135deg, var(--nx-primary), var(--nx-electric));
    color: var(--nx-white);
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(29, 78, 216, 0.28);
}
.nx-brand-mark i { font-size: 16px; }
.nx-brand-logo {
    display: block;
    width: 60px;
    height: auto;
    object-fit: contain;
    flex: 0 0 60px;
}
.nx-navbar .nx-brand-logo {
    width: 60px;
    flex-basis: 60px;
}
.nx-brand-text small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--nx-muted);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nx-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.nx-nav-link {
    padding: 8px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--nx-text);
    border-radius: var(--nx-radius-sm);
    transition: color var(--nx-t), background var(--nx-t);
}
.nx-nav-link:hover { color: var(--nx-primary); background: var(--nx-light); }
.nx-nav-link.is-active { color: var(--nx-primary); font-weight: 600; }

.nx-nav-actions { display: flex; align-items: center; gap: 10px; }

.nx-nav-toggle {
    display: none;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    color: var(--nx-navy);
    font-size: 22px;
}

@media (max-width: 992px) {
    .nx-nav-links, .nx-nav-actions { display: none; }
    .nx-nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
}
/* NEXPAY: END - Navbar (public) */


/* NEXPAY: START - Mobile Drawer */
.nx-mobile-drawer {
    position: fixed;
    top: var(--nx-navbar-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--nx-navbar-h));
    height: calc(100dvh - var(--nx-navbar-h));
    z-index: calc(var(--nx-z-nav) + 1); /* above the navbar */
    background: var(--nx-white);
    padding: 24px;
    overflow-y: auto;
    display: block;                          /* always in the flow */
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;                      /* extra safety over display:none */
    transition:
        opacity var(--nx-t) var(--nx-ease),
        transform var(--nx-t) var(--nx-ease),
        visibility 0s linear var(--nx-t);    /* delay visibility when hiding */
    -webkit-overflow-scrolling: touch;
}

.nx-mobile-drawer.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition:
        opacity var(--nx-t) var(--nx-ease),
        transform var(--nx-t) var(--nx-ease),
        visibility 0s;                       /* reveal immediately when opening */
}

.nx-mobile-links { display: flex; flex-direction: column; gap: 4px; }

.nx-mobile-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 500;
    color: var(--nx-navy);
    border-bottom: 1px solid var(--nx-border);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.nx-mobile-link:hover,
.nx-mobile-link:active { color: var(--nx-primary); }

.nx-mobile-link.is-active { color: var(--nx-primary); font-weight: 600; }
.nx-mobile-link.is-primary { color: var(--nx-primary); font-weight: 600; }

.nx-mobile-divider { height: 12px; }
/* NEXPAY: END - Mobile Drawer */


/* NEXPAY: START - Footer (public) */
.nx-footer {
    background: var(--nx-navy);
    color: #C7D2FE;
    margin-top: 96px;
    padding: 72px 0 32px;
}
.nx-footer a { color: #C7D2FE; }
.nx-footer a:hover { color: var(--nx-white); }
.nx-footer .nx-brand { color: var(--nx-white); }
.nx-footer .nx-brand-text small { color: #93A5E0; }

.nx-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 2.4fr;
    gap: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nx-footer-tagline { color: #A5B4FC; font-size: 0.9375rem; margin-top: 12px; max-width: 320px; }

.nx-social { display: flex; gap: 10px; margin-top: 20px; }
.nx-social a {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--nx-white);
    font-size: 15px;
    transition: background var(--nx-t);
}
.nx-social a:hover { background: var(--nx-primary); }

.nx-footer-groups {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.nx-footer-title {
    color: var(--nx-white);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.nx-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nx-footer-list a { font-size: 14.5px; color: #A5B4FC; }

.nx-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    font-size: 13px;
    color: var(--nx-white);
}
.nx-footer-bottom p { color: var(--nx-white); }
.nx-footer-meta { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--nx-white); }

.nx-app-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 24px 28px;
    color: var(--nx-muted);
    font-size: 12px;
}
.nx-app-footer p { margin: 0; color: inherit; }
.nx-app-footer a { color: var(--nx-muted); }
.nx-app-footer a:hover { color: var(--nx-primary); }

@media (max-width: 900px) {
    .nx-footer-top { grid-template-columns: 1fr; gap: 40px; }
    .nx-footer-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
    .nx-footer-groups { grid-template-columns: 1fr; }
    .nx-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
/* NEXPAY: END - Footer (public) */


/* NEXPAY: START - Section Helpers */
.nx-section { padding: 88px 0; }
.nx-section-sm { padding: 56px 0; }
.nx-section-navy { background: var(--nx-navy); color: var(--nx-white); }
.nx-section-navy h1, .nx-section-navy h2, .nx-section-navy h3, .nx-section-navy h4 { color: var(--nx-white); }
.nx-section-light { background: var(--nx-light); }

.nx-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.nx-section-head h2 { margin-bottom: 12px; }
.nx-section-head p { color: var(--nx-muted); font-size: 1.0625rem; }

.nx-grid { display: grid; gap: 24px; }
.nx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 900px) {
    .nx-grid-3, .nx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .nx-grid-2, .nx-grid-3, .nx-grid-4 { grid-template-columns: 1fr; }
    .nx-section { padding: 64px 0; }
}
/* NEXPAY: END - Section Helpers */


/* NEXPAY: START - Feature Icon */
.nx-feature-icon {
    display: inline-grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: var(--nx-radius-sm);
    background: var(--nx-light);
    color: var(--nx-primary);
    font-size: 22px;
    margin-bottom: 18px;
}
.nx-feature-icon-navy {
    background: rgba(255, 255, 255, 0.1);
    color: var(--nx-white);
}
/* NEXPAY: END - Feature Icon */


/* NEXPAY: START - Utilities */
.nx-hidden { display: none !important; }
.nx-text-center { text-align: center; }
.nx-text-right  { text-align: right; }
.nx-text-muted  { color: var(--nx-muted); }
.nx-text-navy   { color: var(--nx-navy); }
.nx-text-primary{ color: var(--nx-primary); }
.nx-text-success{ color: var(--nx-success); }
.nx-text-danger { color: var(--nx-danger); }
.nx-text-white  { color: var(--nx-white); }

.nx-d-flex { display: flex; }
.nx-flex-between { display: flex; align-items: center; justify-content: space-between; }
.nx-flex-center  { display: flex; align-items: center; justify-content: center; }
.nx-flex-col     { display: flex; flex-direction: column; }
.nx-gap-4  { gap: 4px; }
.nx-gap-8  { gap: 8px; }
.nx-gap-12 { gap: 12px; }
.nx-gap-16 { gap: 16px; }
.nx-gap-24 { gap: 24px; }

.nx-mt-0 { margin-top: 0; } .nx-mt-8 { margin-top: 8px; }
.nx-mt-16 { margin-top: 16px; } .nx-mt-24 { margin-top: 24px; }
.nx-mt-32 { margin-top: 32px; } .nx-mt-48 { margin-top: 48px; }
.nx-mb-0 { margin-bottom: 0; } .nx-mb-8 { margin-bottom: 8px; }
.nx-mb-16 { margin-bottom: 16px; } .nx-mb-24 { margin-bottom: 24px; }
.nx-mb-32 { margin-bottom: 32px; }

.nx-w-100 { width: 100%; }
.nx-rounded { border-radius: var(--nx-radius); }
.nx-rounded-pill { border-radius: var(--nx-radius-pill); }
.nx-shadow-sm { box-shadow: var(--nx-shadow-sm); }
.nx-shadow { box-shadow: var(--nx-shadow); }

.nx-divider { height: 1px; background: var(--nx-border); margin: 24px 0; border: 0; }
/* NEXPAY: END - Utilities */

/* NEXPAY: START - Anchor scroll offset
   Sticky navbar height + a little breathing room. Applies to every
   section that can be linked via #anchor, so the first row of content
   never slides under the navbar — whether from a URL fragment, a
   back/forward navigation, or a smooth-scroll click.
   Uses scroll-margin-top, which the browser honors natively. */
.nx-section,
.nx-hero,
.nx-trust-strip,
.nx-final-cta,
[id] {
    scroll-margin-top: calc(var(--nx-navbar-h) + 16px);
}
/* NEXPAY: END - Anchor scroll offset */
