/* =============================================================================================
   NEXUS SERVICE MARKETING SYSTEM - global theme
   Palette: black / graphite / silver / gold
   ============================================================================================= */

/* ------------------------------------------------------------------ 1. design tokens */
:root {
    /* base surfaces */
    --n-black: #08080a;
    --n-black-2: #0e0e12;
    --n-charcoal: #16161b;
    --n-graphite: #202027;
    --n-graphite-2: #272730;
    --n-line: rgba(255, 255, 255, 0.12);
    --n-line-soft: rgba(255, 255, 255, 0.07);

    /* silver text ramp */
    --n-text: #e8e9ed;
    --n-text-2: #c9ccd3;
    --n-text-muted: #8b8d97;
    --n-text-faint: #6b6d76;

    /* gold ramp */
    --n-gold: #d4af37;
    --n-gold-light: #f3df8a;
    --n-gold-deep: #8a6d1d;
    --n-gold-gradient: linear-gradient(135deg, #f3df8a, #d4af37, #8a6d1d);
    --n-gold-glow: rgba(212, 175, 55, 0.35);

    /* glass */
    --n-glass: rgba(255, 255, 255, 0.05);
    --n-glass-strong: rgba(255, 255, 255, 0.09);
    --n-glass-border: rgba(255, 255, 255, 0.12);
    --n-glass-blur: blur(18px) saturate(140%);
    --n-radius: 20px;
    --n-radius-sm: 12px;
    --n-radius-lg: 28px;

    /* semantic */
    --n-success: #46c98b;
    --n-warning: #e0a63c;
    --n-danger: #e05a63;
    --n-info: #5aa9e0;

    --n-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
    --n-shadow-gold: 0 12px 34px rgba(212, 175, 55, 0.22);
    --n-header-h: 72px;
    --n-sidebar-w: 268px;

    --n-font-display: "Playfair Display", "Cinzel", Georgia, "Times New Roman", serif;
    --n-font-body: "Inter", "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------------ 2. base */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.nexus-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--n-font-body);
    color: var(--n-text-2);
    background-color: var(--n-black);
    background-image:
        radial-gradient(1100px 620px at 12% -8%, rgba(212, 175, 55, 0.11), transparent 60%),
        radial-gradient(900px 520px at 88% 4%, rgba(201, 204, 211, 0.09), transparent 62%),
        radial-gradient(900px 700px at 50% 110%, rgba(138, 109, 29, 0.12), transparent 60%),
        linear-gradient(180deg, #08080a 0%, #0e0e12 45%, #08080a 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}

/* fine film grain over the whole page */
body.nexus-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.32;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.nexus-body > * {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, .font-display {
    font-family: var(--n-font-display);
    color: var(--n-text);
    letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

a {
    color: var(--n-gold);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--n-gold-light);
}

p {
    color: var(--n-text-muted);
}

::selection {
    background: rgba(212, 175, 55, 0.35);
    color: #fff;
}

/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--n-black-2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2c2c35, #1a1a20);
    border-radius: 10px;
    border: 2px solid var(--n-black-2);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--n-gold-deep), var(--n-gold));
}

/* ------------------------------------------------------------------ 3. drifting orbs */
.orb-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    will-change: transform;
}

.orb-gold {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.5), transparent 70%);
    animation: drift-a 22s ease-in-out infinite;
}

.orb-silver {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 204, 211, 0.32), transparent 70%);
    animation: drift-b 28s ease-in-out infinite;
}

.orb-deep {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(138, 109, 29, 0.42), transparent 70%);
    animation: drift-c 34s ease-in-out infinite;
}

.orb-1 { top: -80px; left: -60px; }
.orb-2 { top: 18%; right: -90px; animation-delay: -6s; }
.orb-3 { bottom: -120px; left: 32%; animation-delay: -12s; }

@keyframes drift-a {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(60px, 50px, 0) scale(1.12); }
    66% { transform: translate3d(-30px, 90px, 0) scale(0.94); }
}

@keyframes drift-b {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1.05); }
    50% { transform: translate3d(-70px, 60px, 0) scale(0.92); }
}

@keyframes drift-c {
    0%, 100% { transform: translate3d(0, 0, 0) scale(0.96); }
    50% { transform: translate3d(70px, -60px, 0) scale(1.14); }
}

/* ------------------------------------------------------------------ 4. glass surfaces */
.glass,
.glass-panel,
.glass-card,
.card-glass {
    position: relative;
    background: var(--n-glass);
    border: 1px solid var(--n-glass-border);
    border-radius: var(--n-radius);
    backdrop-filter: var(--n-glass-blur);
    -webkit-backdrop-filter: var(--n-glass-blur);
    box-shadow: var(--n-shadow);
}

/* top inner highlight that sells the acrylic edge */
.glass::before,
.glass-panel::before,
.glass-card::before,
.card-glass::before {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    pointer-events: none;
}

.glass-fallback {
    background: rgba(20, 20, 25, 0.94);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .glass,
    .glass-panel,
    .glass-card,
    .card-glass {
        background: rgba(20, 20, 25, 0.94);
    }
}

.glass-hover {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.glass-hover:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.18), var(--n-shadow-gold);
}

/* ------------------------------------------------------------------ 5. navbar */
.nexus-navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    min-height: var(--n-header-h);
    background: rgba(10, 10, 13, 0.72);
    border-bottom: 1px solid var(--n-glass-border);
    backdrop-filter: var(--n-glass-blur);
    -webkit-backdrop-filter: var(--n-glass-blur);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.nexus-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--n-font-display);
    font-size: 1.45rem;
    letter-spacing: 0.16em;
    color: var(--n-text);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--n-gold-gradient);
    color: #12100a;
    font-size: 1.25rem;
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.32);
    transition: transform 0.35s ease;
}

.navbar-brand:hover .brand-mark {
    transform: rotate(-8deg) scale(1.06);
}

.brand-word {
    background: var(--n-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.nexus-navbar .nav-link {
    position: relative;
    color: var(--n-text-2);
    font-weight: 500;
    padding: 0.55rem 0.9rem !important;
}

.nexus-navbar .nav-link:hover {
    color: var(--n-text);
}

.nav-underline::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--n-gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.nav-underline:hover::after,
.nav-underline.active::after {
    transform: scaleX(1);
}

.nexus-navbar .navbar-toggler {
    border-color: var(--n-glass-border);
}

.nexus-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23d4af37' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------------------ 6. buttons */
.btn {
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(1px);
}

.btn-gold {
    background: var(--n-gold-gradient);
    color: #17130a;
    border: none;
    box-shadow: 0 10px 26px rgba(212, 175, 55, 0.26);
}

.btn-gold:hover {
    color: #17130a;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(212, 175, 55, 0.42);
}

.btn-gold::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg);
}

.btn-gold:hover::after {
    animation: shimmer 0.85s ease;
}

@keyframes shimmer {
    from { left: -120%; }
    to { left: 160%; }
}

.btn-outline-gold {
    border: 1px solid rgba(212, 175, 55, 0.55);
    color: var(--n-gold);
    background: rgba(212, 175, 55, 0.06);
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.14);
    border-color: var(--n-gold);
    color: var(--n-gold-light);
    transform: translateY(-2px);
}

.btn-silver {
    background: linear-gradient(135deg, #e8e9ed, #a9acb6);
    color: #121216;
    border: none;
}

.btn-silver:hover {
    color: #121216;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(201, 204, 211, 0.22);
}

.btn-ghost {
    background: var(--n-glass);
    border: 1px solid var(--n-glass-border);
    color: var(--n-text-2);
    backdrop-filter: var(--n-glass-blur);
}

.btn-ghost:hover {
    color: var(--n-text);
    border-color: rgba(212, 175, 55, 0.4);
    background: var(--n-glass-strong);
    transform: translateY(-2px);
}

.btn-danger-soft {
    background: rgba(224, 90, 99, 0.14);
    border: 1px solid rgba(224, 90, 99, 0.42);
    color: #f09099;
}

.btn-danger-soft:hover {
    background: rgba(224, 90, 99, 0.24);
    color: #ffb3ba;
}

.btn-success-soft {
    background: rgba(70, 201, 139, 0.13);
    border: 1px solid rgba(70, 201, 139, 0.4);
    color: #7fdcae;
}

.btn-success-soft:hover {
    background: rgba(70, 201, 139, 0.22);
    color: #a4f0cd;
}

/* ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.4);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* ------------------------------------------------------------------ 7. typography helpers */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--n-gold);
    font-weight: 600;
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--n-gold));
}

.text-gold { color: var(--n-gold) !important; }
.text-gold-light { color: var(--n-gold-light) !important; }
.text-silver { color: var(--n-text-2) !important; }
.text-muted-silver { color: var(--n-text-muted) !important; }

.gold-text {
    background: var(--n-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.section-lead {
    color: var(--n-text-muted);
    max-width: 640px;
}

.divider-gold {
    height: 1px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55), transparent);
}

/* ------------------------------------------------------------------ 8. hero / public blocks */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0 70px;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.05;
    font-weight: 700;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.32);
    color: var(--n-gold-light);
    font-size: 0.82rem;
    letter-spacing: 0.06em;
}

.hero-panel {
    padding: 34px;
    border-radius: var(--n-radius-lg);
}

.hero-visual {
    position: relative;
    border-radius: var(--n-radius-lg);
    padding: 30px;
    min-height: 380px;
}

.hero-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.hero-stat {
    flex: 1 1 140px;
    padding: 16px 18px;
    border-radius: var(--n-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--n-line-soft);
}

.hero-stat .value {
    font-family: var(--n-font-display);
    font-size: 1.55rem;
    color: var(--n-text);
}

.hero-stat .label {
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--n-text-faint);
}

.category-card {
    padding: 26px;
    border-radius: var(--n-radius);
    height: 100%;
    cursor: pointer;
}

.category-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 1.6rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.28);
    color: var(--n-gold);
    margin-bottom: 16px;
    transition: transform 0.35s ease, background 0.35s ease;
}

.category-card:hover .category-icon {
    transform: translateY(-4px) rotate(-6deg);
    background: rgba(212, 175, 55, 0.22);
}

.feature-card {
    padding: 26px;
    border-radius: var(--n-radius);
    height: 100%;
}

.feature-card .icon {
    font-size: 1.9rem;
    color: var(--n-gold);
    margin-bottom: 12px;
    display: block;
}

.step-card {
    position: relative;
    padding: 26px;
    border-radius: var(--n-radius);
    height: 100%;
}

.step-number {
    font-family: var(--n-font-display);
    font-size: 2.6rem;
    line-height: 1;
    background: var(--n-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plan-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--n-radius);
    padding: 24px;
    height: 100%;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.6), var(--n-shadow-gold);
}

.plan-price {
    font-family: var(--n-font-display);
    font-size: 2rem;
    color: var(--n-text);
}

.plan-price .currency {
    font-size: 1rem;
    color: var(--n-gold);
    vertical-align: super;
}

.plan-spec {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.plan-spec .k { color: var(--n-text-faint); }
.plan-spec .v { color: var(--n-text-2); font-weight: 500; }

.plan-badge {
    position: absolute;
    top: 18px;
    right: 18px;
}

/* animated counters */
.counter {
    font-family: var(--n-font-display);
    font-size: clamp(2rem, 4vw, 2.9rem);
    background: var(--n-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.vendor-card {
    padding: 24px;
    border-radius: var(--n-radius);
    text-align: center;
    height: 100%;
}

.vendor-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-family: var(--n-font-display);
    font-size: 1.6rem;
    color: var(--n-gold);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--n-glass-border);
}

.testimonial-card {
    padding: 26px;
    border-radius: var(--n-radius);
    height: 100%;
}

.star-row {
    color: var(--n-gold);
    letter-spacing: 2px;
}

.testimonial-card blockquote {
    color: var(--n-text-2);
    font-style: italic;
    margin: 12px 0;
    line-height: 1.8;
}

.faq-item {
    border-bottom: 1px solid var(--n-line-soft);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 4px;
    background: none;
    border: 0;
    color: var(--n-text);
    font-family: var(--n-font-display);
    font-size: 1.05rem;
    text-align: left;
}

.faq-question .chev {
    transition: transform 0.35s ease;
    color: var(--n-gold);
}

.faq-question[aria-expanded="true"] .chev {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer.show {
    opacity: 1;
}

.cta-band {
    border-radius: var(--n-radius-lg);
    padding: 46px 40px;
    position: relative;
    overflow: hidden;
}

/* ------------------------------------------------------------------ 9. forms */
.form-control,
.form-select,
.input-group-text {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--n-glass-border);
    color: var(--n-text);
    border-radius: 12px;
    padding: 0.68rem 0.95rem;
}

.form-control:focus,
.form-select:focus {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.6);
    color: var(--n-text);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.14);
}

.form-control::placeholder {
    color: var(--n-text-faint);
}

.form-select option {
    background: #14141a;
    color: var(--n-text);
}

.form-label {
    color: var(--n-text-muted);
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.input-group-text {
    color: var(--n-text-muted);
}

/* floating labels */
.form-floating > .form-control,
.form-floating > .form-select {
    height: 56px;
    padding: 1.25rem 0.9rem 0.6rem;
    color: var(--n-text);
}

.form-floating > label {
    color: var(--n-text-muted);
    padding: 1.25rem 0.9rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
    color: var(--n-gold);
}

.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:not(:placeholder-shown) ~ label {
    color: var(--n-text-muted);
}

/* validation */
.field-validation-error,
.text-danger,
.validation-summary-errors ul,
.invalid-feedback {
    color: #f09099 !important;
}

.input-validation-error {
    border-color: rgba(224, 90, 99, 0.7) !important;
    box-shadow: 0 0 0 0.15rem rgba(224, 90, 99, 0.12) !important;
}

.valid.modified:not([type=checkbox]) {
    border-color: rgba(70, 201, 139, 0.7) !important;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--n-text-muted);
    z-index: 5;
}

.password-wrapper {
    position: relative;
}

.auth-card {
    max-width: 460px;
    margin: 40px auto;
    padding: 34px;
    border-radius: var(--n-radius-lg);
}

.auth-card-wide {
    max-width: 760px;
}

.otp-box {
    letter-spacing: 0.5em;
    text-align: center;
    font-family: var(--n-font-display);
}

/* ------------------------------------------------------------------ 10. tables */
.table-glass {
    width: 100%;
    margin-bottom: 0;
    color: var(--n-text-2);
    border-collapse: separate;
    border-spacing: 0;
}

.table-glass thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(16, 16, 21, 0.94);
    backdrop-filter: blur(12px);
    color: var(--n-text-faint);
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 14px 16px;
    border-bottom: 1px solid var(--n-glass-border);
    white-space: nowrap;
}

.table-glass tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.table-glass tbody tr {
    transition: background 0.25s ease;
}

.table-glass tbody tr:hover {
    background: rgba(212, 175, 55, 0.055);
}

.table-glass tbody tr:last-child td {
    border-bottom: 0;
}

.table-glass tfoot td {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid var(--n-glass-border);
    font-weight: 600;
    color: var(--n-text);
}

.table-glass .num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.table-wrap {
    border-radius: var(--n-radius);
    overflow: hidden;
    border: 1px solid var(--n-glass-border);
    background: rgba(255, 255, 255, 0.03);
}

.table-wrap-lg {
    max-height: 68vh;
    overflow: auto;
}

.pagination-nexus {
    gap: 6px;
}

.pagination-nexus .page-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--n-glass-border);
    color: var(--n-text-2);
    border-radius: 10px;
    padding: 6px 14px;
    transition: all 0.2s ease;
}

.pagination-nexus .page-link:hover {
    color: var(--n-gold-light);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(212, 175, 55, 0.1);
}

.pagination-nexus .page-item.active .page-link {
    background: var(--n-gold-gradient);
    border-color: transparent;
    color: #14140f;
    font-weight: 600;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--n-glass-border);
    color: var(--n-text);
    border-radius: 10px;
    padding: 5px 10px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    color: var(--n-text-muted);
    padding: 10px 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: 1px solid var(--n-glass-border) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--n-text-2) !important;
    border-radius: 8px !important;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--n-gold-gradient) !important;
    color: #17130a !important;
    border-color: transparent !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(212, 175, 55, 0.18) !important;
    color: var(--n-text) !important;
}

/* ------------------------------------------------------------------ 11. badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: 1px solid transparent;
}

.badge-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.badge-success { background: rgba(70, 201, 139, 0.14); color: #74dfae; border-color: rgba(70, 201, 139, 0.35); }
.badge-warning { background: rgba(224, 166, 60, 0.14); color: #f0c069; border-color: rgba(224, 166, 60, 0.35); }
.badge-danger { background: rgba(224, 90, 99, 0.14); color: #f09099; border-color: rgba(224, 90, 99, 0.35); }
.badge-info { background: rgba(90, 169, 224, 0.14); color: #8cc7ee; border-color: rgba(90, 169, 224, 0.35); }
.badge-gold { background: rgba(212, 175, 55, 0.14); color: var(--n-gold-light); border-color: rgba(212, 175, 55, 0.4); }
.badge-muted { background: rgba(255, 255, 255, 0.06); color: var(--n-text-muted); border-color: var(--n-line-soft); }

/* ------------------------------------------------------------------ 12. tabs */
.glass-tabs {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--n-glass-border);
    flex-wrap: wrap;
}

.glass-tab {
    padding: 8px 18px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--n-text-muted);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-tab:hover {
    color: var(--n-text);
}

.glass-tab.active {
    background: var(--n-gold-gradient);
    color: #17130a;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.28);
}

.underline-tabs {
    display: flex;
    gap: 26px;
    border-bottom: 1px solid var(--n-line-soft);
    overflow-x: auto;
}

.underline-tabs .nav-link {
    color: var(--n-text-muted);
    padding: 12px 2px;
    border: 0;
    background: none;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
}

.underline-tabs .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--n-gold-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.underline-tabs .nav-link.active {
    color: var(--n-gold);
}

.underline-tabs .nav-link.active::after {
    transform: scaleX(1);
}

/* ------------------------------------------------------------------ 13. dashboard shell */
.dash-shell {
    display: flex;
    min-height: 100vh;
}

.glass-sidebar {
    width: var(--n-sidebar-w);
    flex: 0 0 var(--n-sidebar-w);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 22px 16px;
    background: rgba(12, 12, 16, 0.82);
    border-right: 1px solid var(--n-glass-border);
    backdrop-filter: var(--n-glass-blur);
    -webkit-backdrop-filter: var(--n-glass-blur);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px 22px;
    border-bottom: 1px solid var(--n-line-soft);
    margin-bottom: 18px;
}

.sidebar-section {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--n-text-faint);
    padding: 16px 12px 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--n-text-muted);
    font-weight: 500;
    font-size: 0.92rem;
    margin-bottom: 4px;
    position: relative;
    transition: all 0.28s ease;
}

.sidebar-link i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.sidebar-link:hover {
    color: var(--n-text);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.sidebar-link.active {
    color: var(--n-gold-light);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.16), rgba(212, 175, 55, 0.02));
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.22);
}

.sidebar-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 3px;
    background: var(--n-gold-gradient);
}

.dash-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dash-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 26px;
    background: rgba(10, 10, 13, 0.75);
    border-bottom: 1px solid var(--n-glass-border);
    backdrop-filter: var(--n-glass-blur);
    -webkit-backdrop-filter: var(--n-glass-blur);
}

.dash-content {
    padding: 26px;
    flex: 1 1 auto;
}

.page-title {
    font-size: 1.5rem;
    margin: 0;
}

.page-subtitle {
    color: var(--n-text-muted);
    font-size: 0.9rem;
    margin: 2px 0 0;
}

/* KPI cards */
.kpi-card {
    position: relative;
    padding: 22px;
    border-radius: var(--n-radius);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.kpi-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.6), var(--n-shadow-gold);
}

.kpi-card .kpi-icon {
    position: absolute;
    right: 18px;
    top: 18px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    font-size: 1.15rem;
    background: rgba(212, 175, 55, 0.12);
    color: var(--n-gold);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.kpi-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--n-text-faint);
}

.kpi-value {
    font-family: var(--n-font-display);
    font-size: 2rem;
    line-height: 1.2;
    color: var(--n-text);
    margin-top: 4px;
}

.kpi-delta {
    font-size: 0.82rem;
    color: var(--n-text-muted);
}

.kpi-delta.up { color: var(--n-success); }
.kpi-delta.down { color: var(--n-danger); }

/* animated progress bars */
.progress-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--n-gold-gradient);
    width: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.progress-fill.silver { background: linear-gradient(135deg, #e8e9ed, #9ea1ab); }
.progress-fill.success { background: linear-gradient(135deg, #74dfae, #2f9c68); }
.progress-fill.danger { background: linear-gradient(135deg, #f09099, #b23b44); }

/* chart cards */
.chart-card {
    padding: 22px;
    border-radius: var(--n-radius);
}

.chart-card .chart-title {
    font-family: var(--n-font-display);
    font-size: 1.05rem;
    color: var(--n-text);
}

/* timeline */
.timeline {
    position: relative;
    padding-left: 30px;
    list-style: none;
    margin: 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.6), rgba(255, 255, 255, 0.06));
}

.timeline-item {
    position: relative;
    padding-bottom: 22px;
}

.timeline-dot {
    position: absolute;
    left: -30px;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--n-charcoal);
    border: 2px solid var(--n-gold);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
}

.timeline-dot.done {
    background: var(--n-gold-gradient);
}

.timeline-dot.pending {
    border-color: var(--n-text-faint);
    box-shadow: none;
}

.timeline-dot.fail {
    border-color: var(--n-danger);
    background: rgba(224, 90, 99, 0.2);
}

.timeline-title {
    color: var(--n-text);
    font-weight: 600;
}

.timeline-meta {
    font-size: 0.78rem;
    color: var(--n-text-faint);
}

/* empty state */
.empty-state {
    padding: 54px 20px;
    text-align: center;
}

.empty-state svg {
    width: 132px;
    height: 132px;
    opacity: 0.85;
    margin-bottom: 12px;
}

.empty-state .title {
    font-family: var(--n-font-display);
    font-size: 1.2rem;
    color: var(--n-text);
}

.empty-state .text {
    color: var(--n-text-muted);
    max-width: 460px;
    margin: 6px auto 18px;
}

/* skeletons */
.skeleton {
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 37%, rgba(255, 255, 255, 0.05) 63%);
    background-size: 400% 100%;
    animation: skeleton 1.4s ease infinite;
}

@keyframes skeleton {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

.spinner-nexus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid rgba(212, 175, 55, 0.18);
    border-top-color: var(--n-gold);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* toasts */
.toast-stack {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
}

.toast-nexus {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(18, 18, 23, 0.94);
    border: 1px solid var(--n-glass-border);
    box-shadow: var(--n-shadow);
    backdrop-filter: var(--n-glass-blur);
    animation: toast-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast-nexus.hide {
    animation: toast-out 0.35s ease forwards;
}

.toast-nexus .toast-icon {
    font-size: 1.1rem;
}

.toast-nexus.success { border-left: 3px solid var(--n-success); }
.toast-nexus.error { border-left: 3px solid var(--n-danger); }
.toast-nexus.info { border-left: 3px solid var(--n-info); }
.toast-nexus.warning { border-left: 3px solid var(--n-warning); }

@keyframes toast-in {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes toast-out {
    to { opacity: 0; transform: translateX(40px); }
}

/* modal */
.modal-content {
    background: rgba(18, 18, 23, 0.96);
    border: 1px solid var(--n-glass-border);
    border-radius: var(--n-radius);
    color: var(--n-text-2);
    box-shadow: var(--n-shadow);
    backdrop-filter: var(--n-glass-blur);
}

.modal-header, .modal-footer {
    border-color: var(--n-line-soft);
}

.modal-title {
    font-family: var(--n-font-display);
    color: var(--n-text);
}

.dropdown-menu {
    background: rgba(18, 18, 23, 0.97);
    border: 1px solid var(--n-glass-border);
    border-radius: 14px;
    box-shadow: var(--n-shadow);
    backdrop-filter: var(--n-glass-blur);
    padding: 6px;
}

.dropdown-item {
    color: var(--n-text-2);
    border-radius: 9px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.12);
    color: var(--n-text);
}

.dropdown-header {
    color: var(--n-text-faint);
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dropdown-divider {
    border-color: var(--n-line-soft);
}

/* ------------------------------------------------------------------ 14. footer */
.glass-footer {
    margin-top: 60px;
    padding: 54px 0 24px;
    background: rgba(10, 10, 13, 0.7);
    border-top: 1px solid var(--n-glass-border);
    backdrop-filter: var(--n-glass-blur);
    -webkit-backdrop-filter: var(--n-glass-blur);
}

.glass-footer h6 {
    color: var(--n-gold);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-family: var(--n-font-body);
    font-weight: 700;
}

.glass-footer a {
    color: var(--n-text-muted);
    font-size: 0.9rem;
}

.glass-footer a:hover {
    color: var(--n-gold);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid var(--n-line-soft);
    font-size: 0.82rem;
    color: var(--n-text-faint);
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 1030;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: var(--n-gold-gradient);
    color: #17130a;
    border: 0;
    box-shadow: var(--n-shadow-gold);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* ------------------------------------------------------------------ 15. reveal animation */
html.js [data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js [data-reveal].revealed {
    opacity: 1;
    transform: none;
}

.tilt {
    transform-style: preserve-3d;
    transition: transform 0.25s ease;
}

/* ------------------------------------------------------------------ 16. misc blocks */
.order-id-chip {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    letter-spacing: 0.08em;
    color: var(--n-gold-light);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 8px;
    padding: 2px 9px;
    font-size: 0.84rem;
}

.account-id-chip {
    font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
    letter-spacing: 0.06em;
    color: var(--n-text);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--n-line-soft);
    border-radius: 8px;
    padding: 2px 9px;
    font-size: 0.84rem;
}

.filter-bar {
    padding: 16px 18px;
    border-radius: var(--n-radius);
    margin-bottom: 20px;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
}

.stat-line:last-child { border-bottom: 0; }
.stat-line .k { color: var(--n-text-muted); }
.stat-line .v { color: var(--n-text); font-weight: 600; }

.doc-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--n-line-soft);
}

.doc-tile .icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--n-gold);
}

.stepper {
    display: flex;
    align-items: center;
    gap: 0;
}

.stepper .step {
    flex: 1;
    text-align: center;
    position: relative;
}

.stepper .step .dot {
    width: 38px;
    height: 38px;
    margin: 0 auto 8px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--n-glass-border);
    color: var(--n-text-muted);
    font-weight: 600;
    transition: all 0.35s ease;
}

.stepper .step.active .dot {
    background: var(--n-gold-gradient);
    color: #17130a;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.3);
}

.stepper .step.done .dot {
    background: rgba(70, 201, 139, 0.18);
    border-color: rgba(70, 201, 139, 0.5);
    color: #74dfae;
}

.stepper .step::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    z-index: -1;
}

.stepper .step:first-child::before { display: none; }

.stepper .step .label {
    font-size: 0.82rem;
    color: var(--n-text-muted);
}

.stepper .step.active .label { color: var(--n-gold-light); }

.step-pane { display: none; }
.step-pane.active { display: block; animation: fade-up 0.45s ease; }

@keyframes fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.alert-nexus {
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid var(--n-glass-border);
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.alert-nexus.alert-danger { border-color: rgba(224, 90, 99, 0.45); background: rgba(224, 90, 99, 0.1); color: #f6b7bd; }
.alert-nexus.alert-success { border-color: rgba(70, 201, 139, 0.45); background: rgba(70, 201, 139, 0.1); color: #a4f0cd; }
.alert-nexus.alert-warning { border-color: rgba(224, 166, 60, 0.45); background: rgba(224, 166, 60, 0.1); color: #f2cd8e; }
.alert-nexus.alert-info { border-color: rgba(90, 169, 224, 0.45); background: rgba(90, 169, 224, 0.1); color: #b3d9f4; }

/* ------------------------------------------------------------------ 17. print (invoice) */
.print-sheet {
    background: #ffffff;
    color: #16161b;
    border-radius: 14px;
    padding: 34px;
}

.print-sheet h1, .print-sheet h2, .print-sheet h3, .print-sheet h4, .print-sheet h5 {
    color: #16161b;
}

.print-sheet table {
    width: 100%;
    border-collapse: collapse;
}

.print-sheet table th,
.print-sheet table td {
    border: 1px solid #d8d8de;
    padding: 9px 12px;
    font-size: 0.88rem;
}

.print-sheet table th {
    background: #f2f2f5;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
}

.print-sheet .print-gold {
    color: #8a6d1d;
}

@media print {
    body.nexus-body {
        background: #ffffff !important;
        color: #16161b;
    }

    body.nexus-body::before,
    .no-print,
    .nexus-navbar,
    .glass-footer,
    .glass-sidebar,
    .dash-topbar,
    .back-to-top {
        display: none !important;
    }

    .print-sheet {
        box-shadow: none;
        border-radius: 0;
        padding: 0;
    }

    @page {
        size: A4;
        margin: 14mm;
    }
}

/* ------------------------------------------------------------------ 18. utilities */
.gap-2-rem { gap: 2rem; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.w-100 { width: 100% !important; }
.mt-auto { margin-top: auto !important; }
.mb-0 { margin-bottom: 0 !important; }
.fw-600 { font-weight: 600; }
.fs-14 { font-size: 0.88rem; }
.letter-spacing { letter-spacing: 0.06em; }
.nowrap { white-space: nowrap; }
.pointer { cursor: pointer; }
.gold-border { border-color: rgba(212, 175, 55, 0.4) !important; }
.gold-soft-bg { background: rgba(212, 175, 55, 0.07); }
.text-warning-silver { color: var(--n-gold-light) !important; }
.text-danger-silver { color: #e78b8b !important; }
.stat-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--n-line-soft);
    font-size: 1.05rem;
    font-weight: 600;
}
.stat-total .v { color: var(--n-gold-light); }
.h-6 { font-size: 1.1rem; }

/* ------------------------------------------------------------------ star rating */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star-rating input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.star-rating label {
    cursor: pointer;
    font-size: 1.7rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.18);
    transition: color 0.2s ease, transform 0.2s ease;
}

.star-rating label i {
    display: block;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: rgba(212, 175, 55, 0.65);
    transform: translateY(-2px);
}

.star-rating label:has(~ input:checked),
.star-rating input:checked + label {
    color: var(--n-gold);
}

.star-rating input:focus-visible + label {
    outline: 2px solid var(--n-gold-light);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ------------------------------------------------------------------ 19. reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ------------------------------------------------------------------ 20. responsive */
@media (max-width: 991.98px) {
    .glass-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        z-index: 1050;
        transform: translateX(-100%);
        transition: transform 0.35s ease;
    }

    .glass-sidebar.open {
        transform: translateX(0);
    }

    .dash-content { padding: 18px; }
}

@media (max-width: 575.98px) {
    .hero { min-height: auto; padding: 60px 0 40px; }
    .hero-panel, .hero-visual { padding: 22px; }
    .glass-card, .card-glass, .glass-panel { border-radius: 16px; }
}


/* ------------------------------------------------------------------ 99. account switch, demo access, admin portal */
.auth-switch {
    max-width: 520px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
}

.auth-switch .btn {
    border-radius: 999px;
}

.demo-access {
    max-width: 460px;
    border-radius: var(--n-radius-lg);
    border: 1px dashed rgba(212, 175, 55, 0.45);
}

.demo-row {
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-login-card {
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.08), 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(212, 175, 55, 0.08);
}

/* Navbar single line fix (desktop) */
@media (min-width: 992px) {
    .nexus-navbar .navbar-nav {
        flex-wrap: nowrap;
        align-items: center;
        gap: 2px;
    }

    .nexus-navbar .nav-link,
    .nexus-navbar .btn {
        white-space: nowrap;
    }

    .nexus-navbar .nav-link {
        padding-left: .55rem;
        padding-right: .55rem;
        font-size: .9rem;
    }

    .nexus-navbar .btn-sm {
        padding: .35rem .7rem;
        font-size: .82rem;
    }
}


/* Mobile menu: dim overlay behind the open sidebar */
@media (max-width: 991.98px) {
    .glass-sidebar.open + .sidebar-overlay {
        display: block !important;
    }
}