
:root {
    --nx-bg: #0F1A3A;
    --nx-accent: #3E7BFA;
    --nx-white: #FFFFFF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #0F172A;
}

.nx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 26, 58, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nx-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nx-logo img {
    height: 40px;
    min-height: 32px;
    max-height: 56px;
    display: block;
}

.nx-nav {
    display: flex;
    gap: 2vw;
    flex: 1;
    justify-content: center;
}

.nx-nav a {
    color: var(--nx-white);
    text-decoration: none;
    font-size: clamp(14px, 0.9vw, 18px);
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.nx-nav a:hover {
    color: var(--nx-accent);
    opacity: 1;
}

.nx-nav a.is-active {
    color: var(--nx-accent);
    opacity: 1;
}

.nx-cta {
    background: var(--nx-white);
    color: var(--nx-bg);
    border-radius: 999px;
    padding: 8px 22px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 0.9vw, 18px);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.22);
}

.nx-cta:hover {
    background: #EDEDED;
    transform: translateY(-1px);
}

.nx-burger {
    display: none;
    width: 26px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
}
.nx-burger span {
    height: 3px;
    width: 100%;
    background: var(--nx-white); 
    border-radius: 2px;
}


.nx-mobile-menu {
    display: none;
    flex-direction: column;
    background: #ffffff;
    position: fixed;
    top: 64px;
    right: 16px;
    width: min(320px, calc(100% - 32px));
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    z-index: 1000;
}

.nx-mobile-menu a {
    padding: 12px 0;
    font-size: 16px;
    color: #0F1A3A;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.nx-mobile-menu a:last-child {
    border-bottom: none;
}

.nx-mobile-menu a.is-active {
    color: #3E7BFA;
}

.nx-mobile-menu.open {
    display: flex;
}

.nx-mobile-cta {
    margin-top: 8px;
    padding: 10px 16px;
    background: #3E7BFA;
    color: #fff !important;
    border-radius: 50px;
    text-align: center;
    border: none;
}