:root {
    --eluva-bg: #ffffff;
    --eluva-bg-soft: #f6f8fc;
    --eluva-surface: rgba(255, 255, 255, 0.92);
    --eluva-border: rgba(3, 22, 52, 0.12);
    --eluva-text: #000000;
    --eluva-muted: #5b6577;
    --eluva-primary: #031634;
    --eluva-secondary: #5b6577;
    --eluva-font-book: 'Just360GothamBook', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --eluva-font-light: 'Just360GothamLight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@font-face {
    font-family: 'Just360GothamBook';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src:
        url('https://static.wixstatic.com/ufonts/22f5ae_c4b5dd4b012f46dcac12f003d2cdeecd/woff2/file.woff2') format('woff2'),
        url('https://static.wixstatic.com/ufonts/22f5ae_c4b5dd4b012f46dcac12f003d2cdeecd/woff/file.woff') format('woff'),
        url('https://static.wixstatic.com/ufonts/22f5ae_c4b5dd4b012f46dcac12f003d2cdeecd/ttf/file.ttf') format('truetype');
}

@font-face {
    font-family: 'Just360GothamLight';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src:
        url('https://static.wixstatic.com/ufonts/22f5ae_f4f5414f840c4043974fb93722a90927/woff2/file.woff2') format('woff2'),
        url('https://static.wixstatic.com/ufonts/22f5ae_f4f5414f840c4043974fb93722a90927/woff/file.woff') format('woff'),
        url('https://static.wixstatic.com/ufonts/22f5ae_f4f5414f840c4043974fb93722a90927/ttf/file.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

body.app-shell {
    font-family: var(--eluva-font-book);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #ffffff;
    color: var(--eluva-text);
}

body.app-shell main {
    padding-top: 5.75rem;
}

a {
    text-decoration: none;
}

.navbar {
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
    padding: 1rem 0;
    background: linear-gradient(180deg, rgba(6, 27, 61, 0.98) 0%, rgba(3, 22, 52, 0.94) 100%);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(47, 46, 46, 0.72);
    box-shadow:
        0 0 0 1px rgba(47, 46, 46, 0.28),
        0 0 6px rgba(0, 0, 0, 0.72),
        0 8px 24px rgba(3, 22, 52, 0.12);
}

.navbar .nav-item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.navbar .nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.28s ease;
    z-index: -1;
}

.navbar .navbar-cta-item::before {
    display: none;
}

.navbar .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: calc(1rem + 2px);
    font-weight: 500;
    padding: 0.85rem 1rem;
    border-radius: 0;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.navbar .nav-item:hover::before,
.navbar .nav-item:focus-within::before,
.navbar .nav-item:has(> .nav-link:hover)::before,
.navbar .nav-item:has(> .nav-link:focus-visible)::before {
    transform: scaleY(1);
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #ffffff;
    opacity: 1;
}

.navbar .nav-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.35);
    outline-offset: -2px;
}

.navbar .navbar-cta-item {
    overflow: visible;
}

.navbar .navbar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.15rem;
    padding: 0.95rem 1.35rem;
    border-radius: 0;
    background: linear-gradient(135deg, #ffffff 0%, #d9e4ff 100%);
    color: var(--eluva-primary);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 16px 34px rgba(3, 22, 52, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    opacity: 1;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.navbar .navbar-cta::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
    margin-top: -0.05rem;
    transition: transform 0.22s ease;
}

.navbar .navbar-cta:hover,
.navbar .navbar-cta:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #031634 0%, #0d2a5a 100%);
    box-shadow: 0 18px 40px rgba(3, 22, 52, 0.38);
    transform: translateY(-2px);
}

.navbar .navbar-cta:hover::after,
.navbar .navbar-cta:focus::after,
.navbar .navbar-cta:focus-visible::after {
    transform: rotate(45deg) translate(1px, -1px);
}

.navbar .navbar-cta:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 3px;
}

.navbar.is-scrolled {
    background: linear-gradient(180deg, rgba(6, 27, 61, 0.94) 0%, rgba(3, 22, 52, 0.88) 100%);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(47, 46, 46, 0.84);
    box-shadow:
        0 0 0 1px rgba(47, 46, 46, 0.32),
        0 0 8px rgba(0, 0, 0, 0.78),
        0 10px 26px rgba(3, 22, 52, 0.18);
}

.brand-logo {
    display: block;
    width: clamp(150px, 16vw, 230px);
    height: auto;
    max-height: 54px;
    object-fit: contain;
    filter: none;
}

.brand-link {
    padding: 0.25rem 0;
}

.btn-primary {
    background: var(--eluva-primary);
    border: none;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(3, 22, 52, 0.18);
    opacity: 0.92;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(3, 22, 52, 0.22);
}

.btn-outline-light {
    color: var(--eluva-primary);
    border-color: rgba(3, 22, 52, 0.24);
    background: rgba(3, 22, 52, 0.05);
    opacity: 0.9;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background: rgba(3, 22, 52, 0.12);
    border-color: rgba(3, 22, 52, 0.5);
    color: #ffffff;
    opacity: 1;
}

.navbar .btn {
    box-shadow: none;
}

.navbar .navbar-cta {
    box-shadow: 0 16px 34px rgba(3, 22, 52, 0.28);
}

.form-control,
.form-select {
    background: #ffffff;
    border: 1px solid var(--eluva-border);
    color: var(--eluva-text);
    padding: 0.9rem 1rem;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--eluva-primary);
    color: var(--eluva-text);
    box-shadow: 0 0 0 0.2rem rgba(3, 22, 52, 0.12);
}

.form-label {
    color: var(--eluva-muted);
}

.site-footer {
    border-top: 1px solid var(--eluva-border);
    background: var(--eluva-primary);
    color: #ffffff;
}

.site-footer h5 {
    color: #ffffff;
}

.footer-brand {
    line-height: 0;
}

.footer-logo {
    display: block;
    width: clamp(92px, 10vw, 132px);
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

.site-footer p,
.site-footer small {
    color: rgba(255, 255, 255, 0.82) !important;
}

.btn-scroll-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1040;
}

.btn-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 991.98px) {
    .brand-logo {
        width: clamp(130px, 42vw, 180px);
        max-height: 44px;
    }

    .navbar .navbar-cta {
        width: 100%;
        min-height: 3rem;
    }

    body.app-shell main {
        padding-top: 5rem;
    }
}
