/* 
   Nexus Enterprise Theme 
   2027 Premium Financial & Logistics Platform UI
   Full Section Suite
*/

:root {
    /* 2027 Design System: Perceptually Uniform OKLCH Palette */
    --nx-bg-light: oklch(98% 0 0);
    --nx-card-light: rgba(255, 255, 255, 0.7);
    --nx-text-main-light: oklch(27% 0.04 240);
    --nx-text-muted-light: oklch(53% 0.04 240);
    --nx-grid-light: rgba(15, 23, 42, 0.04);
    --nx-border-light: rgba(15, 23, 42, 0.08);
    --nx-shadow-light: 0 20px 40px -15px rgba(15, 23, 42, 0.05);

    --nx-bg-dark: oklch(10% 0.02 240);
    --nx-card-dark: rgba(13, 18, 31, 0.35);
    --nx-text-main-dark: oklch(98% 0.01 240);
    --nx-text-muted-dark: oklch(71% 0.03 240);
    --nx-grid-dark: rgba(255, 255, 255, 0.02);
    --nx-border-dark: rgba(255, 255, 255, 0.08);
    --nx-shadow-dark: 0 20px 40px -15px rgba(0, 0, 0, 0.6);

    --nx-accent-red: oklch(63% 0.22 25);
    --nx-accent-red-glow: oklch(63% 0.22 25 / 40%);
    --nx-accent-cyan: oklch(78% 0.18 200);
    --nx-accent-cyan-glow: oklch(78% 0.18 200 / 40%);
    --nx-accent-blue: oklch(40% 0.15 240);
}

/* Base Theme */
.nx-theme-bg {
    background-color: var(--nx-bg-light);
    color: var(--nx-text-main-light);
    transition: background-color 0.4s ease, color 0.4s ease;
}
html.dark .nx-theme-bg {
    background-color: var(--nx-bg-dark);
    color: var(--nx-text-main-dark);
}

/* Background Grids */
.nx-grid-bg {
    background-image: 
        linear-gradient(to right, var(--nx-grid-light) 1px, transparent 1px),
        linear-gradient(to bottom, var(--nx-grid-light) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center center;
}
html.dark .nx-grid-bg {
    background-image: 
        linear-gradient(to right, var(--nx-grid-dark) 1px, transparent 1px),
        linear-gradient(to bottom, var(--nx-grid-dark) 1px, transparent 1px);
}

/* Nexus Card */
.nx-card {
    background: var(--nx-card-light);
    border: 1px solid var(--nx-border-light);
    box-shadow: var(--nx-shadow-light);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
}
html.dark .nx-card {
    background: var(--nx-card-dark);
    border-color: var(--nx-border-dark);
    box-shadow: var(--nx-shadow-dark);
}

/* Typography */
.nx-title {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.04em;
    font-weight: 800;
}
.nx-mono {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    letter-spacing: -0.02em;
}

/* Animated Text Gradient */
@keyframes nx-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.nx-text-gradient {
    background-size: 200% auto;
    animation: nx-gradient-shift 5s ease infinite;
}

/* Scroll Reveal */
.nx-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.nx-reveal.nx-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Float Animation */
@keyframes nx-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.nx-animate-float {
    animation: nx-float 6s ease-in-out infinite;
}

/* Chart Animations */
@keyframes nx-draw-line {
    to { stroke-dashoffset: 0; }
}
.nx-chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: nx-draw-line 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.nx-chart-line, .nx-chart-fill {
    transition: d 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes nx-pulse-glow {
    0%, 100% { opacity: 0.5; filter: drop-shadow(0 0 8px var(--nx-accent-cyan-glow)); }
    50% { opacity: 1; filter: drop-shadow(0 0 16px var(--nx-accent-cyan)); }
}
.nx-chart-glow {
    animation: nx-pulse-glow 3s infinite;
}

/* Asset Tabs */
.asset-tab.active {
    border-color: var(--nx-accent-cyan);
    background: rgba(0, 212, 255, 0.08);
    color: var(--nx-accent-cyan);
}

/* Tracker Nodes */
.nx-node {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--nx-grid-light);
    border: 2px solid var(--nx-text-muted-light);
    position: relative; z-index: 2;
    transition: all 0.5s ease;
}
html.dark .nx-node {
    background: var(--nx-grid-dark);
    border-color: var(--nx-text-muted-dark);
}
.nx-node.active {
    background: var(--nx-accent-cyan);
    border-color: var(--nx-accent-cyan);
    box-shadow: 0 0 16px var(--nx-accent-cyan-glow);
    transform: scale(1.2);
}
.nx-node.completed {
    background: var(--nx-accent-blue);
    border-color: var(--nx-accent-cyan);
}

.nx-path {
    height: 3px;
    background: var(--nx-border-light);
    flex: 1; margin: 0 -2px;
    position: relative; z-index: 1;
}
html.dark .nx-path { background: var(--nx-border-dark); }
.nx-path.active::after {
    content: '';
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: var(--nx-accent-cyan);
    width: 100%;
    box-shadow: 0 0 12px var(--nx-accent-cyan-glow);
    animation: nx-fill-path 1.5s ease-in-out forwards;
    transform-origin: left;
}
@keyframes nx-fill-path {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

/* Neon Text */
.nx-neon-cyan {
    color: var(--nx-accent-cyan);
    text-shadow: 0 0 12px var(--nx-accent-cyan-glow);
}
.nx-neon-red {
    color: var(--nx-accent-red);
    text-shadow: 0 0 12px var(--nx-accent-red-glow);
}

/* Spotlight Hover */
.nx-spotlight { position: relative; }
.nx-spotlight::before {
    content: "";
    position: absolute; inset: 0;
    border-radius: inherit; padding: 1px;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(0,212,255,0.4), transparent 40%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none; opacity: 0;
    transition: opacity 0.4s; z-index: 10;
}
html.dark .nx-spotlight:hover::before { opacity: 1; }

/* Ambient Blobs */
.nx-ambient-blob {
    position: fixed; border-radius: 50%;
    filter: blur(120px); pointer-events: none;
    z-index: 0; mix-blend-mode: screen;
}
html.dark .nx-ambient-blob { mix-blend-mode: color-dodge; }

/* Toast Animations */
@keyframes nx-toast-slide-up {
    0% { transform: translateY(100%); opacity: 0; }
    10% { transform: translateY(0); opacity: 1; }
    90% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0; }
}
.nx-toast-item {
    animation: nx-toast-slide-up 6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ═══════════════════════════════════════════
   TRUSTED BY LOGO STRIP
   ═══════════════════════════════════════════ */
.nx-logo-strip img,
.nx-logo-strip svg {
    height: 28px;
    opacity: 0.35;
    filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}
.nx-logo-strip img:hover,
.nx-logo-strip svg:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ═══════════════════════════════════════════
   ANIMATED STATS COUNTER BAR
   ═══════════════════════════════════════════ */
.nx-stat-value {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS STEP CONNECTOR
   ═══════════════════════════════════════════ */
.nx-step-line {
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    right: calc(-50% + 32px);
    height: 2px;
    background: linear-gradient(90deg, var(--nx-border-light), var(--nx-border-light));
    z-index: 0;
}
html.dark .nx-step-line {
    background: linear-gradient(90deg, var(--nx-border-dark), var(--nx-border-dark));
}
@media (max-width: 767px) {
    .nx-step-line { display: none; }
}

/* ═══════════════════════════════════════════
   PLAN CARDS
   ═══════════════════════════════════════════ */
.nx-plan-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.nx-plan-card:hover {
    transform: translateY(-8px);
}
.nx-plan-card.featured {
    border-color: rgba(0, 106, 217, 0.4);
    box-shadow: 0 0 40px rgba(0, 106, 217, 0.15);
}
html.dark .nx-plan-card.featured {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.nx-testimonial-card {
    min-width: 100%;
    flex-shrink: 0;
    transition: opacity 0.5s, transform 0.5s;
}

/* ═══════════════════════════════════════════
   FAQ ACCORDION
   ═══════════════════════════════════════════ */
.nx-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s;
}
.nx-faq-answer.open {
    max-height: 300px;
}
.nx-faq-chevron {
    transition: transform 0.3s;
}
.nx-faq-chevron.open {
    transform: rotate(180deg);
}

/* ═══════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════ */
@keyframes nx-shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.nx-cta-shimmer {
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 100%
    );
    background-size: 200% 100%;
    animation: nx-shimmer 3s linear infinite;
}

/* ═══════════════════════════════════════════
   MOBILE STICKY CTA
   ═══════════════════════════════════════════ */
.nx-mobile-sticky {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--nx-border-light);
    background: rgba(255, 255, 255, 0.85);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
html.dark .nx-mobile-sticky {
    background: rgba(7, 11, 20, 0.9);
    border-color: var(--nx-border-dark);
}
.nx-mobile-sticky.visible {
    transform: translateY(0);
}
body.pub-nav-menu-open .nx-mobile-sticky {
    opacity: 0 !important;
    transform: translateY(120%) !important;
    pointer-events: none !important;
}
@media (min-width: 768px) {
    .nx-mobile-sticky { display: none !important; }
}

/* ═══════════════════════════════════════════
   TICKER ANIMATION
   ═══════════════════════════════════════════ */
@keyframes nx-ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}
.nx-ticker-track {
    display: flex;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    animation: nx-ticker 32s linear infinite;
}
.nx-ticker-track:hover {
    animation-play-state: paused;
}

/* Home section polish */
.nx-title,
.nx-mono {
    letter-spacing: 0;
}

.nx-theme-bg {
    background-image: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(246,248,252,0.96));
}
html.dark .nx-theme-bg {
    background-image: linear-gradient(180deg, rgba(7,11,20,0.98), rgba(9,13,24,0.98));
}

.nx-home-shell {
    isolation: isolate;
}
.nx-home-shell > section {
    position: relative;
    margin-bottom: 7rem;
    scroll-margin-top: 96px;
}
.nx-home-shell .nx-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(15,23,42,0.10);
    box-shadow: 0 24px 70px -34px rgba(15,23,42,0.34), 0 1px 0 rgba(255,255,255,0.82) inset;
}
html.dark .nx-home-shell .nx-card {
    background: rgba(13,18,31,0.78);
    border-color: rgba(148,163,184,0.14);
    box-shadow: 0 28px 80px -42px rgba(0,0,0,0.9), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.nx-hero-section {
    min-height: 690px;
    justify-content: center;
}
.nx-hero-section .nx-title {
    letter-spacing: 0;
}
.nx-hero-badge {
    letter-spacing: 0;
    box-shadow: 0 12px 30px rgba(0,106,217,0.12);
}
.nx-hero-section a,
.nx-hero-section button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.75rem;
    flex-direction: row;
}
.nx-hero-section i,
.nx-hero-section svg {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.nx-partner-strip {
    padding: 1.35rem 1.5rem;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 1.25rem;
    background: rgba(255,255,255,0.58);
    box-shadow: 0 18px 50px -34px rgba(15,23,42,0.34);
}
html.dark .nx-partner-strip {
    border-color: rgba(255,255,255,0.08);
    background: rgba(13,18,31,0.42);
}
.nx-partner-logo {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    color: rgba(15,23,42,0.48);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}
html.dark .nx-partner-logo {
    color: rgba(226,232,240,0.48);
}
.nx-partner-logo--wide {
    color: rgba(15,23,42,0.34);
    font-size: 1.25rem;
    font-weight: 900;
    font-style: italic;
}
html.dark .nx-partner-logo--wide {
    color: rgba(226,232,240,0.34);
}

.nx-market-card {
    min-height: 560px;
}
#premium_chart_container {
    min-height: 280px;
}
.nx-chart-fallback {
    height: 100%;
    min-height: 280px;
    display: grid;
    place-items: center;
    border-radius: 1.25rem;
    border: 1px solid rgba(0,106,217,0.14);
    background:
        linear-gradient(135deg, rgba(0,106,217,0.10), rgba(0,212,255,0.04)),
        repeating-linear-gradient(90deg, rgba(15,23,42,0.05) 0 1px, transparent 1px 56px);
    color: var(--nx-text-muted-light);
    text-align: center;
    padding: 1.5rem;
}
html.dark .nx-chart-fallback {
    border-color: rgba(0,212,255,0.16);
    background:
        linear-gradient(135deg, rgba(0,212,255,0.09), rgba(16,185,129,0.04)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 56px);
    color: var(--nx-text-muted-dark);
}

.nx-stat-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-color: rgba(15,23,42,0.10);
    box-shadow: 0 18px 46px -34px rgba(15,23,42,0.38), 0 1px 0 rgba(255,255,255,0.9) inset;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
html.dark .nx-stat-card {
    background: #0b0f19;
    border-color: rgba(148,163,184,0.18);
    box-shadow: 0 22px 56px -38px rgba(0,0,0,0.95), 0 1px 0 rgba(255,255,255,0.06) inset;
}
.nx-stat-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--nx-accent-blue), var(--nx-accent-cyan), #10b981);
    opacity: 0.72;
}
.nx-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,106,217,0.24);
    box-shadow: 0 18px 45px -26px rgba(0,106,217,0.44);
}
html.dark .nx-stat-card:hover {
    border-color: rgba(125,211,252,0.28);
    box-shadow: 0 22px 58px -36px rgba(0,212,255,0.38), 0 1px 0 rgba(255,255,255,0.07) inset;
}

.nx-projected-return-card {
    background: #ffffff;
    border-color: rgba(15,23,42,0.10);
    box-shadow: 0 24px 64px -40px rgba(15,23,42,0.42), 0 1px 0 rgba(255,255,255,0.88) inset;
}
html.dark .nx-projected-return-card {
    background: #0b0f19;
    border-color: rgba(148,163,184,0.18);
    box-shadow: 0 28px 74px -46px rgba(0,0,0,0.96), 0 1px 0 rgba(255,255,255,0.06) inset;
}

.nx-step-card {
    padding: 1.25rem;
    border-radius: 1.25rem;
    transition: background 0.25s ease, transform 0.25s ease;
}
.nx-step-card:hover {
    background: rgba(255,255,255,0.58);
    transform: translateY(-3px);
}
html.dark .nx-step-card:hover {
    background: rgba(255,255,255,0.04);
}

.nx-tool-card,
.nx-feature-card,
.nx-quote-card,
.nx-faq-item {
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nx-tool-card:hover,
.nx-feature-card:hover,
.nx-quote-card:hover,
.nx-faq-item:hover {
    border-color: rgba(0,106,217,0.22);
    box-shadow: 0 24px 70px -36px rgba(0,106,217,0.42);
}
.nx-tool-card input[type="range"] {
    accent-color: var(--nx-accent-blue);
}

.nx-plan-card {
    min-height: 100%;
}
.nx-plan-card.featured {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.82)),
        radial-gradient(circle at top right, rgba(0,212,255,0.14), transparent 38%);
}
html.dark .nx-plan-card.featured {
    background:
        linear-gradient(180deg, rgba(14,22,38,0.92), rgba(9,13,24,0.82)),
        radial-gradient(circle at top right, rgba(0,212,255,0.12), transparent 38%);
}

.nx-final-cta {
    box-shadow: 0 30px 90px -40px rgba(0,106,217,0.65);
}

/* Lower homepage polish */
.nx-lower-section .nx-section-intro {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.nx-quote-card {
    isolation: isolate;
    min-height: 342px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.9), rgba(248,250,252,0.78)),
        linear-gradient(135deg, rgba(0,106,217,0.08), rgba(0,212,255,0.08)) !important;
}
html.dark .nx-quote-card {
    background:
        linear-gradient(180deg, rgba(15,23,42,0.9), rgba(7,11,20,0.82)),
        linear-gradient(135deg, rgba(0,106,217,0.16), rgba(0,212,255,0.08)) !important;
    border-color: rgba(125,211,252,0.18) !important;
}
.nx-quote-watermark {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    z-index: -1;
    color: rgba(0,106,217,0.10);
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 1;
}
html.dark .nx-quote-watermark {
    color: rgba(125,211,252,0.12);
}
.nx-quote-author {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.65rem 0.85rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(15,23,42,0.08);
}
html.dark .nx-quote-author {
    background: rgba(7,11,20,0.42);
    border-color: rgba(148,163,184,0.16);
}
.nx-quote-avatar {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #006ad9, #00a9d6);
    box-shadow: 0 12px 24px -18px rgba(0,106,217,0.82);
}
.nx-quote-dot {
    background: rgba(100,116,139,0.34);
    border: 1px solid rgba(100,116,139,0.28);
}
.nx-quote-dot.is-active {
    background: linear-gradient(135deg, #006ad9, #00a9d6);
    border-color: rgba(125,211,252,0.54);
}
html.dark .nx-quote-dot {
    background: rgba(148,163,184,0.24);
    border-color: rgba(148,163,184,0.28);
}
html.dark .nx-quote-dot.is-active {
    background: linear-gradient(135deg, #00a9d6, #7dd3fc);
    border-color: rgba(186,230,253,0.72);
}
.nx-faq-list {
    position: relative;
}
.nx-faq-item {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.86), rgba(248,250,252,0.76)),
        linear-gradient(135deg, rgba(0,106,217,0.04), transparent) !important;
}
html.dark .nx-faq-item {
    background:
        linear-gradient(180deg, rgba(15,23,42,0.78), rgba(7,11,20,0.74)),
        linear-gradient(135deg, rgba(0,212,255,0.08), transparent) !important;
    border-color: rgba(148,163,184,0.14) !important;
}
.nx-faq-item.is-open {
    border-color: rgba(0,106,217,0.26) !important;
    box-shadow: 0 22px 56px -36px rgba(0,106,217,0.48);
}
html.dark .nx-faq-item.is-open {
    border-color: rgba(125,211,252,0.32) !important;
    box-shadow: 0 22px 58px -38px rgba(0,212,255,0.52);
}
.nx-faq-question:hover {
    background: rgba(0,106,217,0.06);
}
html.dark .nx-faq-question:hover {
    background: rgba(125,211,252,0.08);
}
.nx-faq-question[aria-expanded="true"] {
    color: #0059b3 !important;
}
html.dark .nx-faq-question[aria-expanded="true"] {
    color: #bae6fd !important;
}
.nx-faq-question:focus-visible,
.nx-quote-dot:focus-visible,
.nx-final-cta a:focus-visible,
.pub-nav__mobile-auth > a:focus-visible {
    outline: 3px solid rgba(0,212,255,0.42);
    outline-offset: 3px;
}
.nx-final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}
.nx-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.26);
}
.nx-cta-trust {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
}
.nx-cta-trust span {
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    font-size: 0.78rem;
    font-weight: 700;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.20);
}
.nx-cta-shimmer {
    opacity: 0.5;
}

/* Light/dark visibility pass */
.nx-market-ticker {
    background: rgba(255,255,255,0.72) !important;
    border-color: rgba(15,23,42,0.08) !important;
}
html.dark .nx-market-ticker {
    background: rgba(7,11,20,0.82) !important;
    border-color: rgba(148,163,184,0.14) !important;
}
.nx-market-ticker > .absolute.left-0 {
    background: linear-gradient(to right, rgba(255,255,255,0.96), rgba(255,255,255,0)) !important;
}
.nx-market-ticker > .absolute.right-0 {
    background: linear-gradient(to left, rgba(255,255,255,0.96), rgba(255,255,255,0)) !important;
}
html.dark .nx-market-ticker > .absolute.left-0 {
    background: linear-gradient(to right, #070b14, rgba(7,11,20,0)) !important;
}
html.dark .nx-market-ticker > .absolute.right-0 {
    background: linear-gradient(to left, #070b14, rgba(7,11,20,0)) !important;
}

.nx-hero-badge {
    color: #0059b3 !important;
    background: rgba(255,255,255,0.86) !important;
    border-color: rgba(0,106,217,0.24) !important;
}
html.dark .nx-hero-badge {
    color: #7dd3fc !important;
    background: rgba(8,16,30,0.86) !important;
    border-color: rgba(125,211,252,0.34) !important;
}
.nx-hero-section a {
    background: linear-gradient(135deg, #0059d6 0%, #0088f0 54%, #00c8e8 100%) !important;
    border: 1px solid rgba(255,255,255,0.22) !important;
    color: #fff !important;
    box-shadow: 0 18px 40px -24px rgba(0,106,217,0.9), 0 0 26px rgba(0,212,255,0.22) !important;
}
html.dark .nx-hero-section a {
    background: linear-gradient(135deg, #006ad9 0%, #008df0 52%, #00d4ff 100%) !important;
    border-color: rgba(125,211,252,0.34) !important;
    box-shadow: 0 20px 48px -24px rgba(0,212,255,0.86), 0 0 34px rgba(0,106,217,0.32) !important;
}
.nx-hero-section button {
    color: #0f172a !important;
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid rgba(100,116,139,0.28) !important;
    box-shadow: 0 16px 38px -28px rgba(15,23,42,0.42) !important;
}
html.dark .nx-hero-section button {
    color: #f8fafc !important;
    background: linear-gradient(135deg, rgba(15,23,42,0.96), rgba(30,41,59,0.9)) !important;
    border-color: rgba(125,211,252,0.38) !important;
    box-shadow: 0 16px 44px -28px rgba(0,212,255,0.54), inset 0 1px 0 rgba(255,255,255,0.08) !important;
}

.nx-plan-card a {
    background: rgba(255,255,255,0.84) !important;
    border-color: rgba(100,116,139,0.32) !important;
    color: #0f172a !important;
    box-shadow: 0 14px 32px -26px rgba(15,23,42,0.45);
}
.nx-plan-card a.bg-primary {
    background: #006ad9 !important;
    border-color: rgba(0,106,217,0.8) !important;
    color: #fff !important;
    box-shadow: 0 16px 36px -24px rgba(0,106,217,0.72) !important;
}
html.dark .nx-plan-card a {
    background: rgba(15,23,42,0.92) !important;
    border-color: rgba(148,163,184,0.26) !important;
    color: #f8fafc !important;
}
html.dark .nx-plan-card a.bg-primary {
    background: linear-gradient(135deg, #006ad9, #00a9d6) !important;
    border-color: rgba(125,211,252,0.36) !important;
}

.nx-final-cta {
    background:
        radial-gradient(circle at 18% 0%, rgba(255,255,255,0.28), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(0,212,255,0.28), transparent 32%),
        linear-gradient(135deg, #004fb9 0%, #0078e6 48%, #00abc8 100%) !important;
    border: 1px solid rgba(255,255,255,0.26);
    color: #fff;
}
html.dark .nx-final-cta {
    background:
        radial-gradient(circle at 18% 0%, rgba(125,211,252,0.26), transparent 34%),
        radial-gradient(circle at 86% 22%, rgba(16,185,129,0.18), transparent 32%),
        linear-gradient(135deg, #07265f 0%, #005fc7 45%, #008fb0 100%) !important;
    border-color: rgba(125,211,252,0.28);
    box-shadow: 0 34px 96px -42px rgba(0,212,255,0.72), inset 0 1px 0 rgba(255,255,255,0.12);
}
.nx-final-cta h2,
.nx-final-cta p {
    color: #fff !important;
    text-shadow: 0 2px 18px rgba(0,0,0,0.22);
}
.nx-final-cta p {
    opacity: 0.92;
}
.nx-final-cta a {
    background: #ffffff !important;
    color: #003f8f !important;
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 18px 38px -22px rgba(0,0,0,0.42), 0 0 0 1px rgba(255,255,255,0.28) inset !important;
}
html.dark .nx-final-cta a {
    background: #ffffff !important;
    color: #003b86 !important;
    box-shadow: 0 20px 44px -24px rgba(0,0,0,0.72), 0 0 0 1px rgba(255,255,255,0.34) inset !important;
}
.nx-final-cta .nx-final-cta-secondary {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.34) !important;
    box-shadow: 0 14px 34px -28px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.12) !important;
}
.nx-final-cta .nx-final-cta-secondary:hover {
    background: rgba(255,255,255,0.18) !important;
    transform: translateY(-2px);
}
html.dark .nx-final-cta .nx-final-cta-secondary {
    color: #f8fafc !important;
    background: rgba(7,11,20,0.34) !important;
    border-color: rgba(186,230,253,0.36) !important;
}

.nx-mobile-sticky a {
    background: linear-gradient(135deg, #006ad9, #00a9d6) !important;
    color: #fff !important;
    border: 1px solid rgba(125,211,252,0.30);
}

.pub-nav__cta--outline {
    background: rgba(255,255,255,0.82);
    color: #004ca5;
    border-color: rgba(0,76,165,0.28);
}
.dark .pub-nav__cta--outline {
    background: rgba(15,23,42,0.92);
    color: #bfdbfe;
    border-color: rgba(147,197,253,0.36);
}
.pub-nav__cta--solid,
.pub-nav__mobile-action--solid,
.pub-nav__mobile-drawer > a[href*="/user/register"],
.pub-nav__mobile-auth > a[href*="/user/register"] {
    background: linear-gradient(135deg, #0059d6, #3655ff) !important;
    color: #fff !important;
    box-shadow: 0 14px 30px -20px rgba(37,99,235,0.8);
}
.dark .pub-nav__cta--solid,
.dark .pub-nav__mobile-action--solid,
.dark .pub-nav__mobile-drawer > a[href*="/user/register"],
.dark .pub-nav__mobile-auth > a[href*="/user/register"] {
    background: linear-gradient(135deg, #006ad9, #00a9d6) !important;
    border-color: rgba(125,211,252,0.30);
}
.pub-nav__mobile-drawer > a[href*="/user/login"],
.pub-nav__mobile-auth > a[href*="/user/login"] {
    color: #004ca5 !important;
    background: rgba(0,106,217,0.08) !important;
    border-color: rgba(0,106,217,0.22) !important;
}
.dark .pub-nav__mobile-drawer > a[href*="/user/login"],
.dark .pub-nav__mobile-auth > a[href*="/user/login"] {
    color: #bfdbfe !important;
    background: rgba(15,23,42,0.92) !important;
    border-color: rgba(147,197,253,0.32) !important;
}
.pub-nav__mobile-auth > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 800 !important;
    text-decoration: none;
}
.pub-nav__mobile-auth > a.pub-nav__mobile-link[href*="/user/register"] {
    display: none !important;
}

html.dark .nx-partner-logo {
    color: rgba(226,232,240,0.72);
}
html.dark .nx-partner-logo--wide {
    color: rgba(226,232,240,0.78);
}

@media (max-width: 767px) {
    .nx-home-shell {
        padding-left: 0.875rem;
        padding-right: 0.875rem;
    }
    .nx-home-shell > section {
        margin-bottom: 4.25rem;
    }
    .nx-hero-section {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 3.5rem;
    }
    .nx-hero-section .nx-title {
        font-size: 2.75rem;
        line-height: 1.05;
    }
    .nx-hero-section p {
        font-size: 0.96rem;
        line-height: 1.65;
    }
    .nx-hero-badge {
        max-width: 100%;
        white-space: normal;
        justify-content: center;
        font-size: 0.68rem;
        line-height: 1.35;
    }
    .nx-hero-section a,
    .nx-hero-section button {
        width: 100%;
        min-height: 3.35rem;
    }
    .nx-partner-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 1rem;
        text-align: center;
    }
    .nx-partner-strip > span:first-child {
        grid-column: 1 / -1;
        margin: 0;
    }
    .nx-partner-logo {
        justify-content: center;
        min-height: 36px;
        border-radius: 0.9rem;
        background: rgba(255,255,255,0.58);
        border: 1px solid rgba(15,23,42,0.06);
    }
    html.dark .nx-partner-logo {
        background: rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.06);
    }
    .nx-market-card {
        height: auto;
        min-height: 430px;
    }
    .nx-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .nx-stat-card {
        padding: 1rem;
    }
    .nx-stat-value {
        font-size: 1.55rem;
    }
    .nx-step-card {
        align-items: flex-start;
        text-align: left;
        background: rgba(255,255,255,0.58);
        border: 1px solid rgba(15,23,42,0.06);
    }
    html.dark .nx-step-card {
        background: rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.06);
    }
    .nx-tool-card,
    .nx-feature-card,
    .nx-plan-card,
    .nx-quote-card,
    .nx-final-cta {
        padding: 1.25rem;
    }
    .nx-quote-card {
        min-height: auto;
    }
    .nx-quote-author {
        width: 100%;
        justify-content: flex-start;
        border-radius: 1rem;
        text-align: left;
    }
    .nx-final-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .nx-final-cta-actions a {
        width: 100%;
        min-height: 3.35rem;
        justify-content: center;
        font-size: 1rem;
    }
    .nx-cta-trust {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
    .nx-cta-trust span {
        justify-content: center;
    }
    #tracker-section form {
        display: grid;
        gap: 0.75rem;
    }
    #tracker-section form input {
        padding: 1rem;
    }
    #tracker-section form button {
        position: static;
        min-height: 3rem;
    }
    #toast-container {
        display: none !important;
    }
    .nx-mobile-sticky {
        z-index: 9997;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 420px) {
    .nx-hero-section .nx-title {
        font-size: 2.35rem;
    }
}

/* ══════════════════════════════════════════════════════════
   NEW SECTION CLASSES – Lower-Page Polish Pass (2026-05-20)
   ══════════════════════════════════════════════════════════ */

/* Partner / Logo strip text badges */
.nx-partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(15,23,42,0.78);
    min-height: 2.55rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.76);
    box-shadow: 0 14px 36px -28px rgba(15,23,42,0.46);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.nx-partner-logo:hover {
    color: rgba(15,23,42,0.95);
    border-color: rgba(0,106,217,0.26);
    transform: translateY(-1px);
}
html.dark .nx-partner-logo {
    color: rgba(226,232,240,0.84);
    background: rgba(255,255,255,0.055);
    border-color: rgba(255,255,255,0.10);
}
html.dark .nx-partner-logo:hover {
    color: rgba(248,250,252,0.98);
    border-color: rgba(0,212,255,0.28);
}
.nx-partner-logo--wide { font-style: italic; }
.nx-partner-mark {
    display: inline-grid;
    place-items: center;
    width: 1.45rem;
    height: 1.45rem;
    border-radius: 0.48rem;
    background: linear-gradient(135deg, var(--primary-color, #006ad9), #00bcd4);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 24px -16px rgba(0,106,217,0.85);
}
.nx-partner-mark svg {
    display: block;
    width: 1rem;
    height: 1rem;
}
.nx-partner-name {
    display: inline-block;
}

/* Section intros (eyebrow + heading wrapper) */
.nx-section-intro { scroll-margin-top: 5rem; }

/* Lower section spacing util */
.nx-lower-section { scroll-margin-top: 4rem; }

/* Testimonial / Quote Card */
.nx-quote-card {
    min-height: 20rem;
}
.nx-quote-watermark {
    position: absolute;
    top: 1.25rem;
    left: 1.75rem;
    font-size: 7rem;
    font-family: Georgia, serif;
    line-height: 1;
    color: var(--primary-color, #006ad9);
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
}
.nx-quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.nx-quote-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color, #006ad9), #00bcd4);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}
.nx-quote-dot {
    background: rgba(15,23,42,0.15);
    cursor: pointer;
}
html.dark .nx-quote-dot { background: rgba(255,255,255,0.18); }
.nx-quote-dot.is-active {
    background: var(--primary-color, #006ad9);
}

/* FAQ enhancements */
.nx-faq-item { transition: box-shadow 0.2s ease; }
.nx-faq-item.is-open {
    box-shadow: 0 0 0 2px rgba(0,106,217,0.22), var(--nx-shadow-light);
}
html.dark .nx-faq-item.is-open {
    box-shadow: 0 0 0 2px rgba(125,211,252,0.24), var(--nx-shadow-dark);
}
.nx-faq-question {
    background: transparent;
    transition: background 0.15s ease;
}
.nx-faq-question:hover {
    background: rgba(0,106,217,0.04);
}
html.dark .nx-faq-question:hover {
    background: rgba(125,211,252,0.05);
}

/* Final CTA layout helpers */
.nx-cta-content { position: relative; z-index: 10; }
.nx-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    color: rgba(255,255,255,0.92);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.26);
}
.nx-final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.5rem;
}

/* Chart fallback state */
.nx-chart-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
    padding: 2rem;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 18px,
        rgba(0,106,217,0.03) 18px,
        rgba(0,106,217,0.03) 36px
    );
    border-radius: 1rem;
}
html.dark .nx-chart-fallback {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 18px,
        rgba(0,212,255,0.03) 18px,
        rgba(0,212,255,0.03) 36px
    );
}

@media (prefers-reduced-motion: reduce) {
    .nx-ticker-track,
    .nx-text-gradient,
    .nx-cta-shimmer,
    .nx-toast-item {
        animation: none;
    }
    .tilt-card,
    .nx-stat-card,
    .nx-step-card {
        transition: none;
    }
}

/* ═══════════════════════════════════════════
   MOBILE SWIPE ENHANCEMENTS
   ═══════════════════════════════════════════ */
@media (max-width: 767px) {
    .nx-mobile-swipe {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        padding-bottom: 1.5rem !important;
        margin-left: -1rem !important;
        margin-right: -1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        scrollbar-width: none !important;
    }
    .nx-mobile-swipe::-webkit-scrollbar {
        display: none !important;
    }
    .nx-mobile-swipe > * {
        flex: 0 0 85% !important;
        scroll-snap-align: center !important;
        min-width: 0 !important;
    }
}

/* ═══════════════════════════════════════════
   FLUID GRADIENT MESH BACKGROUND
   ═══════════════════════════════════════════ */
.nx-fluid-mesh {
    background: transparent;
    filter: blur(80px);
}
html.dark .nx-fluid-mesh {
    filter: blur(100px);
}
.nx-mesh-blob {
    position: absolute;
    border-radius: 50%;
    animation: nx-mesh-float 20s infinite alternate ease-in-out;
    opacity: 0.5;
    mix-blend-mode: multiply;
}
html.dark .nx-mesh-blob {
    opacity: 0.3;
    mix-blend-mode: screen;
}

/* Home mobile responsive pass - stack content first, reserve swipe only for real carousels. */
.nx-home-page,
.nx-home-page * {
    min-width: 0;
}

.nx-home-page .nx-title {
    overflow-wrap: anywhere;
}

.nx-home-page .nx-typed-cursor {
    display: none !important;
}

.nx-home-page .nx-ticker-track,
.nx-home-page .ticker-content,
.nx-home-page .nx-ticker-track > * {
    min-width: max-content;
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .nx-home-page {
        padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
    }

    .nx-market-ticker {
        margin-top: 4.75rem !important;
        height: 2.75rem !important;
    }

    .nx-home-page .nx-ticker-track {
        width: max-content !important;
        min-width: max-content !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .nx-home-page .ticker-content,
    .nx-home-page .ticker-content > span {
        width: max-content !important;
        min-width: max-content !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }

    .nx-home-page .nx-home-shell {
        width: 100%;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .nx-home-page .nx-home-shell > section {
        margin-bottom: 3.75rem !important;
    }

    .nx-home-page .nx-hero-section {
        padding-top: 2.25rem !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }

    .nx-home-page .nx-hero-badge {
        max-width: 100%;
        padding: 0.45rem 0.75rem !important;
        font-size: 0.62rem !important;
        letter-spacing: 0.08em !important;
    }

    .nx-home-page .nx-hero-section .nx-title {
        width: 100%;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(2.15rem, 11vw, 3rem) !important;
        line-height: 1.02 !important;
    }

    .nx-home-page .nx-hero-section p {
        max-width: 21rem;
        margin-bottom: 2rem !important;
    }

    .nx-home-page .nx-hero-section .nx-typed-cursor {
        display: none;
    }

    .nx-home-page .nx-hero-section a {
        min-height: 3.25rem !important;
        padding: 0.85rem 1rem !important;
        font-size: 0.95rem !important;
        border-radius: 0.9rem !important;
    }

    .nx-home-page .nx-partner-strip {
        margin-bottom: 3.75rem !important;
    }

    .nx-home-page .nx-market-card {
        height: auto !important;
        min-height: 24rem !important;
        padding: 1rem !important;
        border-radius: 1.25rem !important;
    }

    .nx-home-page .nx-market-card > .flex:first-child {
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    .nx-home-page .nx-market-card h3 {
        font-size: 1rem !important;
        line-height: 1.25 !important;
    }

    .nx-home-page #premium_chart_container {
        min-height: 17rem !important;
    }

    .nx-home-page #premium_chart_container canvas {
        max-width: 100% !important;
    }

    .nx-home-page .nx-mobile-swipe {
        display: grid !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 0 !important;
        gap: 0.9rem !important;
    }

    .nx-home-page .nx-mobile-swipe > * {
        width: 100% !important;
        max-width: 100% !important;
        flex: initial !important;
        scroll-snap-align: none !important;
    }

    .nx-home-page .nx-stats-grid.nx-mobile-swipe {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .nx-home-page .nx-process-section .nx-mobile-swipe,
    .nx-home-page .nx-feature-grid.nx-mobile-swipe,
    .nx-home-page .nx-plans-section .nx-mobile-swipe {
        grid-template-columns: 1fr !important;
    }

    .nx-home-page .nx-step-card,
    .nx-home-page .nx-feature-card,
    .nx-home-page .nx-plan-card,
    .nx-home-page .nx-tool-card {
        padding: 1.25rem !important;
        border-radius: 1.25rem !important;
    }

    .nx-home-page .nx-step-card {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .nx-home-page .nx-step-card p,
    .nx-home-page .nx-feature-card p,
    .nx-home-page .nx-plan-card li {
        max-width: none !important;
    }

    .nx-home-page .nx-tool-grid {
        gap: 1rem !important;
        margin-bottom: 3.75rem !important;
    }

    .nx-home-page .nx-tool-card h3,
    .nx-home-page .nx-feature-card h3 {
        font-size: clamp(1.45rem, 7vw, 2rem) !important;
        line-height: 1.12 !important;
    }

    .nx-home-page .nx-tool-card .grid.grid-cols-3 {
        grid-template-columns: 1fr !important;
    }

    .nx-home-page .nx-projected-return-card {
        padding: 1.25rem !important;
        margin-top: 1.75rem !important;
    }

    .nx-home-page .nx-projected-return-card [x-text="'$' + calculateProfit()"] {
        font-size: clamp(2rem, 10vw, 2.75rem) !important;
        line-height: 1.08 !important;
    }

    .nx-home-page #tracker-section .space-y-3 > .flex {
        align-items: flex-start !important;
        flex-wrap: wrap !important;
    }

    .nx-home-page #tracker-section .space-y-3 > .flex > a {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0.35rem !important;
    }

    .nx-home-page .nx-section-intro,
    .nx-home-page .nx-plans-section > .text-center {
        margin-bottom: 2rem !important;
    }

    .nx-home-page .nx-testimonial-section .overflow-x-auto {
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .nx-home-page .nx-testimonial-section .snap-center {
        width: min(88vw, 22rem) !important;
        padding: 1.25rem !important;
    }

    .nx-home-page .nx-faq-section {
        max-width: 100% !important;
    }

    .nx-home-page .nx-faq-question {
        gap: 1rem;
        padding: 1rem !important;
    }

    .nx-home-page .nx-final-cta {
        padding: 1.5rem !important;
        border-radius: 1.25rem !important;
    }
}

@media (max-width: 420px) {
    .nx-home-page .nx-home-shell {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .nx-home-page .nx-stats-grid.nx-mobile-swipe {
        grid-template-columns: 1fr !important;
    }

    .nx-home-page .nx-hero-section .nx-title {
        font-size: clamp(2rem, 10.5vw, 2.45rem) !important;
    }
}
.nx-mesh-blob-1 {
    width: 60vw; height: 60vw;
    background: #00D4FF;
    top: -10%; left: -10%;
    animation-delay: 0s;
}
.nx-mesh-blob-2 {
    width: 50vw; height: 50vw;
    background: #005288;
    bottom: -20%; right: -10%;
    animation-delay: -5s;
    animation-duration: 25s;
}
.nx-mesh-blob-3 {
    width: 40vw; height: 40vw;
    background: #FF3B30;
    top: 40%; left: 60%;
    animation-delay: -10s;
    animation-duration: 30s;
}
.nx-mesh-blob-4 {
    width: 45vw; height: 45vw;
    background: #10B981;
    bottom: 10%; left: 20%;
    animation-delay: -15s;
    animation-duration: 22s;
}
@keyframes nx-mesh-float {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(5vw, -5vw) scale(1.1) rotate(45deg); }
    66% { transform: translate(-5vw, 5vw) scale(0.9) rotate(-45deg); }
    100% { transform: translate(0, 0) scale(1) rotate(0deg); }
}

/* ═══════════════════════════════════════════
   CRITICAL FIX BLOCK — 2026-05-24
   Partner logos, ticker animation, frontend hero gap
   ═══════════════════════════════════════════ */

/* Partner logo strip — guaranteed visibility */
.nx-partner-strip {
    position: relative;
    z-index: 10;
    opacity: 1 !important;
}

.nx-home-page,
.nx-home-page a,
.nx-home-page button,
.nx-home-page input {
    cursor: auto !important;
}
.nx-home-page a,
.nx-home-page button,
.nx-home-page [role="button"],
.nx-home-page input[type="button"],
.nx-home-page input[type="submit"] {
    cursor: pointer !important;
}

.nx-partner-logo {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1;
}

.nx-partner-mark {
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent the parent .nx-logo-strip grayscale/opacity filter rules from hiding the text logos */
.nx-logo-strip .nx-partner-logo,
.nx-logo-strip .nx-partner-logo span,
.nx-logo-strip .nx-partner-mark,
.nx-logo-strip .nx-partner-mark svg {
    opacity: 1 !important;
    filter: none !important;
}

.nx-logo-strip .nx-partner-mark svg {
    height: 1rem !important;
}

/* Ticker — force animation on home page regardless of inline style resets */
.nx-home-page .nx-ticker-track {
    animation: nx-ticker 32s linear infinite !important;
}
.nx-home-page .nx-ticker-track:hover {
    animation-play-state: paused !important;
}

/* Frontend (about/contact/solutions) pages — close hero top gap */
.nx-frontend-page > .relative.z-10,
.nx-frontend-page > .contact-section {
    margin-top: -1.25rem !important;
    position: relative;
    z-index: 10;
}

/* Contact section gap correction: remove flex items-center vertical centering to push content up */
.nx-frontend-page .contact-section {
    display: block !important;
    min-height: auto !important;
    padding-top: 3.5rem !important;
}

.nx-team-card {
    height: 100%;
}

.nx-team-card__media {
    aspect-ratio: 4 / 4.5;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.08));
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    overflow: hidden;
}

.nx-team-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

@media (max-width: 768px) {
    .nx-frontend-page > .relative.z-10,
    .nx-frontend-page > .contact-section {
        margin-top: -2.5rem !important;
    }
    .nx-frontend-page .contact-section {
        padding-top: 2rem !important;
    }
}

/* Instantly vanish mobile drawer during page transitions (SPA-feel click or popstate) */
body.tsa-navigating .pub-nav__mobile-drawer {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: none !important;
}
body.tsa-navigating .pub-nav__hamburger {
    pointer-events: none !important;
}
