@import url("password-toggle.css");

/* ==========================================================
   NX Landing - totally new theme (bento + panel dashboard)
   ========================================================== */

:root{
    --nx-bg: #0b1020;
    --nx-surface: #0f172a;
    --nx-surface-2: #101b33;
    --nx-border: rgba(148, 163, 184, 0.18);
    --nx-text: rgba(226, 232, 240, 0.92);
    --nx-muted: rgba(226, 232, 240, 0.65);
    --nx-strong: #ffffff;
    --nx-blue: #2563eb;
    --nx-blue-2: #60a5fa;
    --nx-gold: #f59e0b;
    --nx-green: #22c55e;
    --nx-indigo: #6366f1;
    --nx-shadow: 0 24px 60px rgba(0,0,0,0.45);
    --nx-radius: 16px;
    --nx-radius-lg: 22px;
}

.nx-landing{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--nx-bg);
    color: var(--nx-text);
    overflow-x: hidden;
}

.nx-main{ padding-top: 74px; }

/* Topbar */
.nx-topbar{
    background: rgba(11, 16, 32, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--nx-border);
}
@media (max-width: 991.98px) {
    /* Backdrop blur is very expensive when the collapse animates / repaints */
    .nx-topbar {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(11, 16, 32, 0.97);
    }
}
.nx-topbar-inner{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding: 0.85rem 0;
}
@media (min-width: 992px) {
    .nx-topbar-inner {
        flex-wrap: nowrap;
    }
}
.nx-brand{
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: var(--nx-strong);
    font-weight: 800;
    letter-spacing: -0.01em;
}
.nx-brand-logo{ height: 34px; width: auto; display:block; filter: drop-shadow(0 12px 22px rgba(0,0,0,0.35)); }
.nx-brand-name{ color: rgba(255,255,255,0.92); }
.nx-menu-btn{
    width: 44px; height: 44px;
    display: inline-flex; align-items:center; justify-content:center;
    border-radius: 12px;
    border: 1px solid var(--nx-border);
    background: rgba(255,255,255,0.04);
    color: var(--nx-text);
    touch-action: manipulation;
}
.nx-nav{
    align-items: center;
    gap: 0.25rem;
}
.nx-nav-link{
    display: inline-flex;
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    color: var(--nx-muted);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.nx-nav-link:hover{
    color: var(--nx-strong);
    background: rgba(255,255,255,0.06);
    transform: translateY(-1px);
}
.nx-nav-link[aria-current="page"]{
    color: var(--nx-strong);
    background: rgba(255,255,255,0.08);
}
.nx-nav-link[aria-current="page"]:hover{
    transform: none;
}
.nx-nav-actions{
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-left: 0.35rem;
}

/* Topbar - mobile: stack nav full-width under logo + toggler */
@media (max-width: 991.98px) {
    .nx-menu-btn {
        margin-left: auto;
        flex-shrink: 0;
    }
    .nx-nav.collapse {
        flex-basis: 100%;
        width: 100%;
        order: 3;
        margin-top: 0.25rem;
        padding-top: 0.85rem;
        border-top: 1px solid var(--nx-border);
        flex-direction: column;
        align-items: stretch;
        gap: 0.15rem;
        background: rgba(11, 16, 32, 0.92);
        border-radius: 12px;
        transform: translateZ(0);
    }
    /* Bootstrap collapse toggles display:block; use flex for layout */
    .nx-nav.collapse.show,
    .nx-nav.collapsing {
        display: flex !important;
    }
    /* Drop Bootstrap’s height tween - it reflows every frame and feels laggy on mobile */
    #nxNav.collapsing {
        transition: none !important;
    }
    .nx-brand-logo {
        filter: none;
    }
    .nx-nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.65rem 0.85rem;
        border-radius: 10px;
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    .nx-nav-link:hover {
        transform: none;
    }
    .nx-nav-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-left: 0;
        margin-top: 0.35rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
        gap: 0.5rem;
    }
    .nx-nav-actions .nx-btn {
        width: 100%;
        justify-content: center;
    }
}
@media (min-width: 992px) {
    .nx-nav.collapse {
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        flex-grow: 1;
        gap: 0.25rem;
    }
}

/* Buttons */
.nx-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}
.nx-btn-lg{ padding: 0.9rem 1.3rem; }
.nx-btn-primary{
    background: linear-gradient(135deg, var(--nx-gold), #ffd18a);
    color: #0b1020;
    box-shadow: 0 14px 36px rgba(245,158,11,0.22);
}
.nx-btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 18px 46px rgba(245,158,11,0.28); color:#0b1020; }
.nx-btn-ghost{
    background: rgba(255,255,255,0.04);
    border-color: var(--nx-border);
    color: var(--nx-text);
}
.nx-btn-ghost:hover{ background: rgba(255,255,255,0.08); color: var(--nx-strong); transform: translateY(-1px); }
.nx-btn-soft{
    background: rgba(37,99,235,0.14);
    border-color: rgba(37,99,235,0.18);
    color: rgba(226,232,240,0.95);
}
.nx-btn-soft:hover{ background: rgba(37,99,235,0.2); transform: translateY(-1px); color: rgba(226,232,240,0.98); }
.nx-btn-invert{
    background: #ffffff;
    color: #0b1020;
}
.nx-btn-outline-invert{
    background: rgba(255,255,255,0.0);
    border-color: rgba(255,255,255,0.55);
    color: #ffffff;
}
.nx-btn-outline-invert:hover{ background: rgba(255,255,255,0.12); color:#fff; transform: translateY(-1px); }

/* Auth (login/register pages) */
.nx-auth{
    position: relative;
    padding: 4.2rem 0 3rem;
}
.nx-auth-wrap{
    max-width: 520px;
    margin: 0 auto;
}
.nx-auth-form .form-label{
    color: rgba(226,232,240,0.78);
    font-weight: 800;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}
.nx-auth-form .form-control{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(148,163,184,0.28);
    color: rgba(226,232,240,0.96);
    border-radius: 14px;
    padding: 0.8rem 1rem;
}
.nx-auth-form .form-control::placeholder{
    color: rgba(226,232,240,0.45);
}
.nx-auth-form .form-control:focus{
    background: rgba(255,255,255,0.05);
    border-color: rgba(245,158,11,0.55);
    box-shadow: 0 0 0 0.2rem rgba(245,158,11,0.12);
    color: rgba(226,232,240,0.98);
}
.nx-auth-form .form-check-input{
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(148,163,184,0.28);
}
.nx-auth-links{
    margin-top: 0.75rem;
    display:flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem 1rem;
}

/* Legacy auth markup (e.g. forgot-password.php) */
.nx-landing .auth-wrapper{
    min-height: calc(100vh - 74px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding: 6.5rem 1rem 3.25rem;
}
.nx-landing .auth-card{
    width: 100%;
    max-width: 520px;
    border-radius: var(--nx-radius-lg);
    border: 1px solid rgba(148,163,184,0.26);
    background: rgba(15,23,42,0.78);
    box-shadow: var(--nx-shadow);
    overflow: hidden;
    backdrop-filter: blur(14px);
    padding: 1.25rem 1.25rem 1.2rem;
}
.nx-landing .auth-card h1{
    font-weight: 950;
    color: var(--nx-strong);
    font-size: 1.5rem;
    margin: 0 0 0.6rem;
}
.nx-landing .auth-card .text-muted{
    color: rgba(226,232,240,0.65) !important;
}
.nx-landing .auth-card .form-label{
    color: rgba(226,232,240,0.78);
    font-weight: 800;
    margin-bottom: 0.45rem;
}
.nx-landing .auth-card .form-control{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(148,163,184,0.28);
    color: rgba(226,232,240,0.96);
    border-radius: 14px;
    padding: 0.8rem 1rem;
}
.nx-landing .auth-card .form-control:focus{
    border-color: rgba(245,158,11,0.55);
    box-shadow: 0 0 0 0.2rem rgba(245,158,11,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(226,232,240,0.98);
}
.nx-landing .auth-card .btn-primary{
    background: linear-gradient(135deg, var(--nx-gold), #ffd18a);
    color: #0b1020;
    border-color: transparent;
    font-weight: 800;
    border-radius: 14px;
    padding: 0.8rem 1rem;
    width: 100%;
}
.nx-landing .auth-card .btn-primary:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 46px rgba(245,158,11,0.28);
    color:#0b1020;
}
.nx-landing .auth-card .btn-link{
    color: rgba(245,158,11,0.95) !important;
    font-weight: 800;
    text-decoration: none;
}
.nx-landing .auth-card .btn-link:hover{
    color: #ffd18a !important;
    text-decoration: none;
}

/* Inputs inside NX panels (used by Contact / Payment pages) */
.nx-panel .form-control,
.nx-panel textarea.form-control{
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(148,163,184,0.28);
    color: rgba(226,232,240,0.96);
    border-radius: 14px;
    padding: 0.8rem 1rem;
}
.nx-panel .form-control::placeholder,
.nx-panel textarea.form-control::placeholder{
    color: rgba(226,232,240,0.45);
}
.nx-panel .form-control:focus,
.nx-panel textarea.form-control:focus{
    border-color: rgba(245,158,11,0.55);
    box-shadow: 0 0 0 0.2rem rgba(245,158,11,0.12);
    background: rgba(255,255,255,0.05);
    color: rgba(226,232,240,0.98);
}
.nx-panel .form-check-input{
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(148,163,184,0.28);
}

/* Hero */
.nx-hero{ position: relative; padding: 3.2rem 0 2.2rem; }
.nx-hero-bg{
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 520px at 10% 12%, rgba(245,158,11,0.18) 0%, transparent 60%),
        radial-gradient(900px 520px at 92% 22%, rgba(96,165,250,0.18) 0%, transparent 60%),
        radial-gradient(900px 520px at 55% 95%, rgba(34,197,94,0.12) 0%, transparent 60%),
        linear-gradient(180deg, #0b1020 0%, #0b1220 100%);
    pointer-events: none;
}
.nx-hero-inner{
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.2rem;
    align-items: center;
}
@media (max-width: 991.98px){
    .nx-hero-inner{ grid-template-columns: 1fr; }
}
.nx-pill{
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.28);
    background: rgba(255,255,255,0.04);
    color: rgba(226,232,240,0.9);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.nx-h1{
    font-size: clamp(2.1rem, 3.2vw + 1rem, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: var(--nx-strong);
    margin: 0 0 1rem;
}
.nx-lead{
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--nx-muted);
    max-width: 42rem;
    margin: 0 0 1.35rem;
}
.nx-hero-cta{ display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.nx-badges{ display:flex; flex-wrap:wrap; gap:0.6rem 0.9rem; }
.nx-badge{
    display:inline-flex; align-items:center; gap:0.5rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    color: rgba(226,232,240,0.82);
    font-weight: 600;
    font-size: 0.92rem;
}
.nx-badge i{ color: rgba(245,158,11,0.95); }

.nx-hero-panel {
    display: flex;
    align-items: center;
    justify-content: center;
}
.nx-hero-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--nx-radius-lg);
}

/* CEO strip - full-width band under hero */
.nx-ceo-strip {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}
.nx-ceo-strip-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 120% 80% at 15% 50%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 90% 70% at 92% 40%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        linear-gradient(105deg, rgba(15, 23, 42, 0.97) 0%, rgba(17, 24, 39, 0.99) 45%, rgba(11, 16, 32, 1) 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}
.nx-ceo-strip-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 30%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
    pointer-events: none;
}
.nx-ceo-strip-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: clamp(1.15rem, 3.5vw, 2.5rem);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: clamp(1.35rem, 3vw, 2.1rem) clamp(1rem, 5vw, 3.5rem);
    box-sizing: border-box;
    backdrop-filter: blur(0);
}
.nx-ceo-photo-wrap {
    position: relative;
    flex-shrink: 0;
}
.nx-ceo-photo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.55), rgba(99, 102, 241, 0.45), rgba(37, 99, 235, 0.35));
    opacity: 0.9;
    z-index: 0;
}
.nx-ceo-photo {
    position: relative;
    z-index: 1;
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: 22px;
    border: 2px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.2),
        0 20px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
@media (min-width: 576px) {
    .nx-ceo-photo {
        width: 152px;
        height: 152px;
        border-radius: 24px;
    }
    .nx-ceo-photo-ring {
        border-radius: 30px;
        inset: -7px;
    }
}
@media (min-width: 992px) {
    .nx-ceo-photo {
        width: 168px;
        height: 168px;
        border-radius: 26px;
    }
    .nx-ceo-photo-ring {
        border-radius: 32px;
        inset: -8px;
    }
}
.nx-ceo-copy {
    flex: 1;
    min-width: 0;
    position: relative;
    padding-left: 1.15rem;
}
.nx-ceo-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.9), rgba(99, 102, 241, 0.55));
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}
@media (max-width: 575.98px) {
    /* Card-style layout: photo + headline row, quote full width below */
    .nx-ceo-strip-inner {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: start;
        column-gap: 1rem;
        row-gap: 0.65rem;
        padding: 1rem 1rem 1.2rem;
    }
    .nx-ceo-photo-wrap {
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
    }
    .nx-ceo-copy {
        display: contents;
    }
    .nx-ceo-copy::before {
        display: none;
    }
    .nx-ceo-meta {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        margin-bottom: 0;
        min-width: 0;
    }
    .nx-ceo-role {
        font-size: 0.6rem;
        padding: 0.18rem 0.5rem;
    }
    .nx-ceo-name {
        font-size: 1.08rem;
        line-height: 1.2;
    }
    .nx-ceo-quote {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 0;
        padding: 0.9rem 0.85rem 1rem 2.75rem;
        border-left: none;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 14px;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
    .nx-ceo-quote::before {
        left: 0.5rem;
        top: 0.45rem;
        font-size: 2.35rem;
        color: rgba(245, 158, 11, 0.28);
    }
    .nx-ceo-quote::after {
        right: 0.45rem;
        bottom: 0.35rem;
        font-size: 1.65rem;
        color: rgba(99, 102, 241, 0.22);
    }
    .nx-ceo-quote p {
        font-size: 1rem;
        line-height: 1.65;
        padding-top: 0.15rem;
        padding-right: 0.25rem;
        letter-spacing: -0.01em;
        text-wrap: pretty;
    }
    .nx-ceo-photo {
        width: 96px;
        height: 96px;
        border-radius: 18px;
    }
    .nx-ceo-photo-ring {
        border-radius: 22px;
        inset: -5px;
    }
}
.nx-ceo-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.85rem;
    margin-bottom: 0.65rem;
}
.nx-ceo-role {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(11, 16, 32, 0.95);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(253, 224, 71, 0.88));
    box-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
}
.nx-ceo-name {
    font-size: clamp(1.05rem, 1.2vw + 0.9rem, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--nx-strong);
}
.nx-ceo-quote {
    margin: 0;
    padding: 0.85rem 0 0.35rem 0.85rem;
    border: none;
    border-left: 2px solid rgba(245, 158, 11, 0.35);
    position: relative;
}
.nx-ceo-quote::before {
    content: "\201C";
    position: absolute;
    left: 0.15rem;
    top: -0.1rem;
    font-size: clamp(2.75rem, 4vw + 1.5rem, 4rem);
    line-height: 1;
    font-family: Georgia, "Times New Roman", ui-serif, serif;
    color: rgba(245, 158, 11, 0.22);
    pointer-events: none;
    z-index: 0;
}
.nx-ceo-quote::after {
    content: "\201D";
    position: absolute;
    right: 0.15rem;
    bottom: -0.15rem;
    font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
    line-height: 1;
    font-family: Georgia, "Times New Roman", ui-serif, serif;
    color: rgba(99, 102, 241, 0.18);
    pointer-events: none;
    z-index: 0;
}
.nx-ceo-quote p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-top: 0.35rem;
    font-size: clamp(0.95rem, 1.15vw + 0.82rem, 1.12rem);
    line-height: 1.68;
    font-weight: 500;
    font-style: italic;
    color: rgba(241, 245, 249, 0.95);
    letter-spacing: -0.012em;
    max-width: 62ch;
}
@media (min-width: 1200px) {
    .nx-ceo-quote p {
        max-width: none;
    }
}

/* Panel */
.nx-panel{
    border-radius: var(--nx-radius-lg);
    background: rgba(15,23,42,0.78);
    border: 1px solid rgba(148,163,184,0.26);
    box-shadow: var(--nx-shadow);
    overflow: hidden;
    backdrop-filter: blur(14px);
}
.nx-panel-head{
    display:flex; align-items:center; justify-content:space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.03);
}
.nx-panel-title{ font-weight: 800; color: rgba(226,232,240,0.92); letter-spacing: 0.01em; }
.nx-panel-status{ display:inline-flex; align-items:center; gap:0.45rem; font-weight:700; color: rgba(226,232,240,0.78); font-size:0.9rem; }
.nx-dot{ width:8px; height:8px; border-radius:999px; background: var(--nx-green); box-shadow: 0 0 0 6px rgba(34,197,94,0.12); }
.nx-panel-body{ padding: 1rem; }
.nx-panel-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}
.nx-metric{
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    border-radius: 14px;
    padding: 0.85rem 0.85rem;
}
.nx-metric-k{ font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(226,232,240,0.6); font-weight: 700; }
.nx-metric-v{ font-size: 1.35rem; font-weight: 900; color: rgba(226,232,240,0.96); margin-top: 0.25rem; letter-spacing: -0.02em; }
.nx-metric-v-green{ color: rgba(34,197,94,0.95); }
.nx-sparkline{
    height: 74px;
    display:flex; align-items:flex-end; gap:8px;
    padding: 0.85rem 0.85rem 0.75rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    margin-bottom: 0.9rem;
}
.nx-sparkline span{
    flex: 1;
    height: var(--h, 50%);
    min-height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(245,158,11,0.95) 0%, rgba(34,197,94,0.85) 100%);
    opacity: 0.92;
}
.nx-panel-foot{
    display:flex; align-items:center; justify-content:space-between; gap: 1rem;
}
.nx-footnote{ color: rgba(226,232,240,0.62); font-weight: 600; font-size: 0.9rem; }
.nx-link{ color: rgba(245,158,11,0.95); text-decoration:none; font-weight: 800; }
.nx-link:hover{ color: #ffd18a; }

/* Sections */
.nx-section-head{ margin-bottom: 1.25rem; }
.nx-h2{ font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.05rem); font-weight: 900; letter-spacing:-0.02em; color: var(--nx-strong); margin:0 0 0.25rem; }
.nx-sub{ margin:0; color: var(--nx-muted); font-size: 1rem; line-height: 1.6; }
.nx-h2-invert{ color: #fff; }
.nx-sub-invert{ color: rgba(255,255,255,0.78); }

/* Metrics cards row */
.nx-metrics{ padding: 2.2rem 0 2.6rem; }
.nx-metrics-row{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}
@media (max-width: 991.98px){ .nx-metrics-row{ grid-template-columns: 1fr; } }
.nx-card{
    border-radius: var(--nx-radius);
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 12px 28px rgba(0,0,0,0.22);
    padding: 1.1rem 1.1rem 1rem;
}
.nx-card-top{ display:flex; align-items:center; gap: 0.75rem; margin-bottom: 0.9rem; }
.nx-ico{
    width: 44px; height: 44px; border-radius: 14px;
    display:flex; align-items:center; justify-content:center;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    font-size: 1.25rem;
}
.nx-ico-blue{ color: var(--nx-blue-2); background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.24); }
.nx-ico-green{ color: rgba(34,197,94,0.95); background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.22); }
.nx-ico-indigo{ color: rgba(99,102,241,0.95); background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.22); }
.nx-card-label{ color: rgba(226,232,240,0.72); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.nx-card-value{ font-size: 2.1rem; font-weight: 950; letter-spacing:-0.03em; color: var(--nx-strong); line-height: 1.05; }
.nx-card-value-green{ color: rgba(34,197,94,0.95); }

/* Bento */
.nx-cap{ padding: 2.4rem 0 3.2rem; }
.nx-bento{
    display:grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.1rem;
}
@media (max-width: 991.98px){ .nx-bento{ grid-template-columns: 1fr; } }
.nx-bento-a{ grid-column: 1 / 2; grid-row: 1 / 3; }
.nx-bento-b{ grid-column: 2 / 3; grid-row: 1 / 2; }
.nx-bento-c{ grid-column: 2 / 3; grid-row: 2 / 3; }
@media (max-width: 991.98px){
    .nx-bento-a, .nx-bento-b, .nx-bento-c{ grid-column:auto; grid-row:auto; }
}
.nx-bento > article{
    border-radius: var(--nx-radius-lg);
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.03);
    box-shadow: 0 18px 44px rgba(0,0,0,0.28);
    padding: 1.25rem 1.25rem 1.15rem;
}
.nx-bento-head{ display:flex; align-items:center; gap: 0.85rem; margin-bottom: 0.75rem; }
.nx-h3{ margin:0; font-size: 1.15rem; font-weight: 900; letter-spacing:-0.02em; color: var(--nx-strong); }
.nx-p{ margin:0 0 0.95rem; color: var(--nx-muted); line-height: 1.65; }
.nx-list{ margin:0; padding-left: 1.1rem; color: rgba(226,232,240,0.78); font-weight: 600; }
.nx-list li{ margin: 0.35rem 0; }
.nx-mini-table{
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    overflow:hidden;
}
.nx-mini-table > div{
    display:flex; justify-content:space-between; gap: 1rem;
    padding: 0.6rem 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-weight: 800;
    color: rgba(226,232,240,0.78);
}
.nx-mini-table > div:first-child{ border-top: none; color: rgba(226,232,240,0.6); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; }
.nx-levels{
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
}
.nx-levels-row{
    display: grid;
    grid-template-columns: 0.62fr 1.35fr 0.85fr;
    gap: 0.75rem;
    align-items: center;
    padding: 0.58rem 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-weight: 800;
    color: rgba(226,232,240,0.80);
}
.nx-levels-row:first-child{ border-top: none; }
.nx-levels-head{
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    color: rgba(226,232,240,0.62);
    background: rgba(255,255,255,0.02);
}
.nx-levels-row:not(.nx-levels-head):nth-child(even){
    background: rgba(255,255,255,0.015);
}
.nx-levels-row span:last-child{ text-align: right; }
.nx-lv{
    width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(96,165,250,0.25);
    background: rgba(96,165,250,0.12);
    color: rgba(226,232,240,0.92);
    font-weight: 950;
}
.nx-money{
    color: rgba(34,197,94,0.95);
    font-weight: 950;
    letter-spacing: -0.01em;
}
.nx-gold-shares{
    color: rgba(245,158,11,0.98);
    font-weight: 950;
    letter-spacing: -0.01em;
}
.nx-levels-note{
    margin-top: 0.9rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.02);
    color: rgba(226,232,240,0.72);
    font-weight: 650;
    line-height: 1.5;
}

/* Top earners (last 48h) */
.nx-top5{
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
    overflow: hidden;
}
.nx-top5-row{
    display: grid;
    grid-template-columns: 0.6fr 1.6fr 1fr 1.1fr;
    gap: 0.85rem;
    align-items: center;
    padding: 0.58rem 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-weight: 800;
    color: rgba(226,232,240,0.80);
}
.nx-top5-row:first-child{ border-top: none; }
.nx-top5-head{
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: rgba(226,232,240,0.62);
    background: rgba(255,255,255,0.02);
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}
.nx-top5-rank{
    width: 34px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(34,197,94,0.25);
    background: rgba(34,197,94,0.10);
    color: rgba(226,232,240,0.92);
    font-weight: 950;
}
.nx-top5-user{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nx-top5-country{
    color: rgba(226,232,240,0.66);
    font-weight: 750;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nx-top5-right{ text-align: right; }
.nx-top5-amount{
    color: rgba(34,197,94,0.95);
    font-weight: 950;
    letter-spacing: -0.01em;
}

/* Capabilities (bento) - phones & small tablets */
@media (max-width: 767.98px) {
    .nx-cap {
        padding: 1.65rem 0 2.35rem;
    }
    .nx-cap .nx-section-head {
        margin-bottom: 1.05rem;
    }
    .nx-bento {
        gap: 0.85rem;
    }
    .nx-bento > article {
        padding: 1.05rem 0.9rem 0.95rem;
        border-radius: var(--nx-radius);
    }
    .nx-bento-head {
        align-items: flex-start;
        gap: 0.65rem;
        margin-bottom: 0.6rem;
    }
    .nx-bento-head .nx-ico {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }
    .nx-bento .nx-h3 {
        font-size: 1.05rem;
        line-height: 1.28;
    }
    .nx-bento .nx-p {
        font-size: 0.94rem;
        line-height: 1.62;
        margin-bottom: 0.8rem;
    }
    /* Levels table: swipe horizontally instead of squishing */
    .nx-levels {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        border-radius: 14px;
        scrollbar-width: thin;
    }
    .nx-levels .nx-levels-row {
        min-width: 318px;
        padding: 0.5rem 0.72rem;
        gap: 0.5rem;
        grid-template-columns: 3.25rem minmax(0, 1.35fr) minmax(5.5rem, 1fr);
    }
    .nx-levels-head {
        font-size: 0.68rem;
        letter-spacing: 0.06em;
    }
    .nx-lv {
        width: 30px;
        height: 26px;
        font-size: 0.82rem;
    }
    .nx-levels-note {
        margin-top: 0.75rem;
        padding: 0.55rem 0.72rem;
        font-size: 0.88rem;
        line-height: 1.5;
    }
    /* Top 5: horizontal scroll */
    .nx-top5 {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        border-radius: 14px;
        scrollbar-width: thin;
    }
    .nx-top5 .nx-top5-row {
        min-width: 300px;
        padding: 0.5rem 0.72rem;
        gap: 0.5rem;
        grid-template-columns: 2.75rem minmax(0, 1.5fr) minmax(0, 1fr) minmax(4.25rem, 1.1fr);
    }
    .nx-top5-head {
        font-size: 0.68rem;
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }
    .nx-top5-rank {
        width: 30px;
        height: 26px;
        font-size: 0.82rem;
    }
    .nx-callout {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0.75rem 0.8rem;
        border-radius: 14px;
    }
    .nx-callout-k {
        align-self: flex-start;
    }
    .nx-callout-v {
        font-size: 0.92rem;
        line-height: 1.55;
    }
}
@media (max-width: 420px) {
    .nx-top5-country {
        display: none;
    }
    .nx-top5 .nx-top5-row {
        min-width: 268px;
        grid-template-columns: 2.75rem minmax(0, 1fr) minmax(4.5rem, 1.2fr);
    }
    .nx-top5-right {
        padding-left: 0.2rem;
    }
    .nx-levels .nx-levels-row {
        min-width: 292px;
        grid-template-columns: 3rem minmax(0, 1.3fr) minmax(5rem, 1fr);
        gap: 0.45rem;
    }
    .nx-levels-note {
        padding: 0.55rem 0.65rem;
    }
}
.nx-callout{
    position: relative;
    display:flex;
    gap: 0.75rem;
    align-items:center;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    border: 1px solid rgba(245,158,11,0.28);
    background:
        radial-gradient(520px 160px at 20% 0%, rgba(245,158,11,0.22) 0%, transparent 55%),
        linear-gradient(135deg, rgba(245,158,11,0.14) 0%, rgba(245,158,11,0.06) 100%);
    box-shadow: 0 18px 44px rgba(0,0,0,0.25);
}
.nx-callout::after{
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(245,158,11,0.22), rgba(99,102,241,0.08));
    opacity: 0.25;
    pointer-events: none;
    padding: 1px;
}
.nx-callout-k{
    font-weight: 950;
    color: rgba(245,158,11,0.98);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(245,158,11,0.35);
    background: rgba(245,158,11,0.12);
    white-space: nowrap;
}
.nx-callout-v{
    color: rgba(226,232,240,0.92);
    font-weight: 700;
    line-height: 1.5;
}

.nx-gold-percent{
    color: rgba(245,158,11,0.98);
    font-weight: 950;
    letter-spacing: -0.01em;
}

/* Workflow timeline */
.nx-flow{ padding: 2.2rem 0 3.2rem; }
.nx-timeline{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
}
@media (max-width: 991.98px){ .nx-timeline{ grid-template-columns: 1fr; } }
.nx-step{
    border-radius: var(--nx-radius-lg);
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(255,255,255,0.03);
    padding: 1.1rem 1.1rem 1rem;
}
.nx-step-num{
    display:inline-flex;
    font-weight: 950;
    letter-spacing: 0.08em;
    color: rgba(96,165,250,0.95);
    background: rgba(96,165,250,0.12);
    border: 1px solid rgba(96,165,250,0.22);
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
    margin-bottom: 0.75rem;
}
.nx-step-title{ font-weight: 950; color: var(--nx-strong); margin-bottom: 0.25rem; }
.nx-step-desc{ color: var(--nx-muted); line-height: 1.6; }

/* CTA */
.nx-cta{ padding: 2.8rem 0 3.2rem; }
.nx-cta-box{
    border-radius: 24px;
    padding: 1.6rem 1.6rem;
    border: 1px solid rgba(255,255,255,0.14);
    background: linear-gradient(135deg, rgba(37,99,235,0.9) 0%, rgba(245,158,11,0.85) 100%);
    box-shadow: var(--nx-shadow);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 1.25rem;
}
@media (max-width: 991.98px){ .nx-cta-box{ flex-direction: column; align-items:flex-start; } }
.nx-cta-actions{ display:flex; flex-wrap:wrap; gap: 0.75rem; }

/* Footer */
.nx-footer{
    padding: 2.2rem 0 2.4rem;
    border-top: 1px solid rgba(148,163,184,0.18);
    background: rgba(11,16,32,0.88);
}
.nx-footer-inner{
    display:grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 1.8rem;
}
.nx-footer-col{
    display:flex;
    flex-direction: column;
}
.nx-footer-brand{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}
.nx-footer-logo{ height: 34px; width: auto; }
.nx-footer-name{ font-weight: 900; color: rgba(226,232,240,0.92); }
.nx-footer-desc{
    color: rgba(226,232,240,0.62);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.05rem;
    display: block;
    width: 100%;
    max-width: 32rem;
    line-height: 1.65;
}
.nx-footer-col-title{
    color: rgba(226,232,240,0.78);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 1rem;
    margin-bottom: 0.65rem;
}
.nx-footer-ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.nx-footer-ul li{
    margin: 0.42rem 0;
}
.nx-footer-ul a{
    color: rgba(226,232,240,0.66);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    transition: color 0.18s ease;
}
.nx-footer-ul a:hover{
    color: rgba(226,232,240,0.92);
}
.nx-footer-bottom{
    grid-column: 1 / -1;
    margin-top: 0.35rem;
    color: rgba(226,232,240,0.55);
    font-weight: 650;
}

@media (max-width: 991.98px){
    .nx-footer-inner{ grid-template-columns: 1fr; }
}

html{ scroll-behavior: smooth; }

/* Contact / legal / proofs landing heroes (shared) */
.nx-contact-hero,
.nx-legal-hero,
.nx-proofs-hero{
    position: relative;
    padding: 2.75rem 0 2.25rem;
    margin-bottom: 0.25rem;
}
.nx-contact-hero-bg,
.nx-legal-hero-bg,
.nx-proofs-hero-bg{
    position: absolute;
    inset: 0;
    background:
        radial-gradient(720px 420px at 8% 0%, rgba(245,158,11,0.14) 0%, transparent 58%),
        radial-gradient(640px 380px at 92% 18%, rgba(96,165,250,0.14) 0%, transparent 55%),
        linear-gradient(180deg, rgba(15,23,42,0.35) 0%, transparent 100%);
    pointer-events: none;
}
.nx-contact-hero .nx-h1,
.nx-legal-hero .nx-h1,
.nx-proofs-hero .nx-h1{
    font-size: clamp(1.85rem, 2.2vw + 1rem, 2.65rem);
}
.nx-contact-quick .nx-card{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.nx-contact-quick .nx-card-top{
    margin-bottom: 0.5rem;
}
.nx-contact-card-title{
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--nx-strong);
    margin: 0.2rem 0 0;
    line-height: 1.25;
}
.nx-contact-subhead{
    color: rgba(226,232,240,0.7);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.nx-contact-email-link{
    display: inline-block;
    word-break: break-word;
    font-size: clamp(1.05rem, 1.1vw + 0.95rem, 1.28rem);
    font-weight: 850;
    color: rgba(226,232,240,0.98);
    text-decoration: none;
    margin-bottom: 1rem;
    line-height: 1.45;
}
.nx-contact-email-link:hover{
    color: rgba(245,158,11,0.98);
}
.nx-contact-divider{
    border-color: rgba(148,163,184,0.2);
    margin: 1.15rem 0;
    opacity: 1;
}
.nx-contact-tip{
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid rgba(148,163,184,0.16);
    background: rgba(255,255,255,0.03);
    color: rgba(226,232,240,0.78);
    font-weight: 650;
    font-size: 0.95rem;
    line-height: 1.55;
}
.nx-contact-tip strong{
    color: rgba(245,158,11,0.95);
    font-weight: 850;
}
.nx-contact-list{
    margin: 0;
    padding-left: 1.15rem;
    color: rgba(226,232,240,0.78);
    font-weight: 650;
    line-height: 1.65;
    font-size: 0.95rem;
}
.nx-contact-list li{
    margin: 0.4rem 0;
}
.nx-contact-form .form-label{
    color: rgba(226,232,240,0.82);
    font-weight: 800;
    font-size: 0.92rem;
    margin-bottom: 0.4rem;
}
.nx-contact-form .form-text{
    color: rgba(226,232,240,0.52);
    font-size: 0.85rem;
    margin-top: 0.35rem;
}
.nx-panel-status.nx-contact-form-hint{
    font-size: 0.8rem;
    font-weight: 650;
    color: rgba(226,232,240,0.55);
}
@media (max-width: 575.98px){
    .nx-contact-hero,
    .nx-legal-hero,
    .nx-proofs-hero{ padding: 2.1rem 0 1.65rem; }
}

/* Terms / legal document layout */
.nx-legal-meta{
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(226,232,240,0.58);
    font-weight: 650;
}
.nx-legal-quick .nx-card{
    height: 100%;
    display: flex;
    flex-direction: column;
}
.nx-legal-quick .nx-card-top{
    margin-bottom: 0.45rem;
}
.nx-toc-panel .nx-panel-body{
    padding-top: 0.85rem;
}
.nx-toc-sticky{
    position: sticky;
    top: 5.5rem;
    align-self: flex-start;
    z-index: 1;
}
@media (max-width: 991.98px){
    .nx-toc-sticky{
        position: static;
    }
}
.nx-toc-title{
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 900;
    color: rgba(226,232,240,0.55);
    margin-bottom: 0.65rem;
}
.nx-toc-list{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.nx-toc-list a{
    display: block;
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
    color: rgba(226,232,240,0.78);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.4;
    border: 1px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.nx-toc-list a:hover,
.nx-toc-list a:focus-visible{
    color: rgba(226,232,240,0.96);
    background: rgba(255,255,255,0.05);
    border-color: rgba(148,163,184,0.14);
}
.nx-legal-doc{
    padding: 0;
}
.nx-legal-doc .nx-panel-body{
    padding: 1.1rem 1.15rem 1.25rem;
}
@media (min-width: 576px){
    .nx-legal-doc .nx-panel-body{
        padding: 1.25rem 1.35rem 1.45rem;
    }
}
.nx-legal-section{
    scroll-margin-top: 5.5rem;
    padding-bottom: 1.35rem;
    margin-bottom: 1.35rem;
    border-bottom: 1px solid rgba(148,163,184,0.14);
}
.nx-legal-section:last-of-type{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.nx-legal-h{
    font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
    font-weight: 950;
    letter-spacing: -0.02em;
    color: var(--nx-strong);
    margin: 0 0 0.65rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.nx-legal-h .nx-legal-num{
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65rem;
    height: 1.65rem;
    margin-top: 0.1rem;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 950;
    color: rgba(11,16,32,0.95);
    background: linear-gradient(135deg, rgba(245,158,11,0.95), rgba(253,224,71,0.88));
}
.nx-legal-p{
    margin: 0 0 0.85rem;
    color: rgba(226,232,240,0.76);
    font-weight: 650;
    line-height: 1.7;
    font-size: 0.97rem;
}
.nx-legal-p:last-child{
    margin-bottom: 0;
}
.nx-legal-list{
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
    color: rgba(226,232,240,0.76);
    font-weight: 650;
    line-height: 1.68;
    font-size: 0.95rem;
}
.nx-legal-list:last-child{
    margin-bottom: 0;
}
.nx-legal-list li{
    margin: 0.4rem 0;
}
.nx-legal-list li::marker{
    color: rgba(245,158,11,0.65);
}
.nx-legal-note{
    margin-top: 0.5rem;
    padding: 0.8rem 0.95rem;
    border-radius: 14px;
    border: 1px solid rgba(99,102,241,0.22);
    background: rgba(99,102,241,0.08);
    color: rgba(226,232,240,0.82);
    font-weight: 650;
    font-size: 0.92rem;
    line-height: 1.55;
}
.nx-legal-note strong{
    color: rgba(165,180,252,0.98);
    font-weight: 850;
}

/* Payment proofs page */
.nx-proofs-table-wrap{
    margin-top: 0.35rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.18);
    background: rgba(0,0,0,0.2);
}
.nx-proofs-table{
    --bs-table-bg: transparent;
    --bs-table-color: rgba(255, 255, 255, 0.94);
    --bs-table-hover-bg: rgba(255,255,255,0.06);
    --bs-table-hover-color: rgba(255, 255, 255, 0.98);
    color: rgba(255, 255, 255, 0.94);
    font-weight: 650;
    font-size: 0.95rem;
}
.nx-proofs-table thead th{
    border-bottom: 1px solid rgba(148,163,184,0.22);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    padding: 0.85rem 1rem;
    white-space: nowrap;
}
.nx-proofs-table tbody td{
    border-color: rgba(148,163,184,0.12);
    padding: 0.8rem 1rem;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.94);
}
.nx-proofs-table .nx-proofs-user{
    font-weight: 750;
    color: rgba(255, 255, 255, 0.96);
}
.nx-proofs-table .nx-proofs-amt{
    font-weight: 800;
    color: #4ade80;
    text-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
@media (max-width: 767.98px){
    .nx-proofs-table thead th,
    .nx-proofs-table tbody td{
        padding: 0.65rem 0.65rem;
        font-size: 0.88rem;
    }
}
.nx-proofs-empty{
    text-align: center;
    padding: 2rem 1.25rem 2.1rem;
}
.nx-proofs-empty-ico{
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(148,163,184,0.2);
    background: rgba(255,255,255,0.04);
    font-size: 1.5rem;
    color: rgba(245,158,11,0.75);
}
.nx-proofs-empty-title{
    font-weight: 950;
    font-size: 1.2rem;
    color: rgba(226,232,240,0.95);
    margin-bottom: 0.45rem;
}
.nx-proofs-empty-desc{
    color: rgba(226,232,240,0.62);
    font-weight: 650;
    line-height: 1.6;
    max-width: 26rem;
    margin: 0 auto 1.1rem;
    font-size: 0.96rem;
}
.nx-proofs-empty-actions{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}
/* How it works — long-form */
.nx-hiw-toc{
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin-top: 1.35rem;
    max-width: 52rem;
}
.nx-hiw-toc a{
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 750;
    color: rgba(226,232,240,0.85);
    text-decoration: none;
    border: 1px solid rgba(148,163,184,0.22);
    background: rgba(255,255,255,0.04);
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.nx-hiw-toc a:hover{
    color: rgba(226,232,240,0.98);
    background: rgba(255,255,255,0.07);
    border-color: rgba(245,158,11,0.35);
}
.nx-hiw-section{
    scroll-margin-top: 5.5rem;
    padding: 2.35rem 0;
}
.nx-hiw-section--tight{
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}
.nx-hiw-prose .nx-p{
    max-width: 52rem;
}
.nx-hiw-split .nx-panel{
    height: 100%;
}
.nx-hiw-faq .nx-panel{
    margin-bottom: 0.75rem;
}
.nx-hiw-faq .nx-panel:last-child{
    margin-bottom: 0;
}
.nx-hiw-faq-q{
    font-weight: 900;
    color: rgba(226,232,240,0.95);
    margin: 0 0 0.45rem;
    font-size: 1rem;
}
.nx-hiw-faq-a{
    margin: 0;
    color: rgba(226,232,240,0.72);
    font-weight: 650;
    line-height: 1.62;
    font-size: 0.95rem;
}
@media (max-width: 575.98px){
    .nx-hiw-toc{
        gap: 0.4rem;
    }
    .nx-hiw-toc a{
        font-size: 0.82rem;
        padding: 0.35rem 0.6rem;
    }
}
@media (min-width: 992px){
    .nx-hiw-levels-bento{
        align-items: stretch;
    }
    .nx-hiw-levels-bento > article.nx-hiw-levels-col{
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .nx-hiw-levels-bento .nx-bento-b.nx-hiw-levels-table{
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
    }
    .nx-hiw-levels-bento .nx-bento-b.nx-hiw-levels-table .nx-levels-note{
        margin-top: auto;
    }
    .nx-hiw-levels-bento .nx-hiw-levels-col-body{
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}
