:root {
    --sd-teal: #2dd4a8;
    --sd-blue: #3eb8ff;
    --sd-purple: #7c6bff;
    --sd-ink: #0b1220;
    --sd-gradient: linear-gradient(115deg, var(--sd-teal), var(--sd-blue) 55%, var(--sd-purple));
}

.navbar-dark.bg-sd {
    background: var(--sd-ink);
    padding-top: .35rem;
    padding-bottom: .35rem;
}

.navbar-client {
    padding-top: .75rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sd-nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 992px) {
    .sd-nav-container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.navbar-client .container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .brand-logo { height: 42px; }
}

.sd-menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #eaf2ff;
    transition: background .15s ease, border-color .15s ease;
}

.sd-menu-toggle:hover,
.sd-menu-toggle:focus {
    background: rgba(62, 184, 255, 0.15);
    border-color: rgba(62, 184, 255, 0.45);
    color: #fff;
    box-shadow: none;
}

.sd-menu-toggle i { font-size: 1.15rem; }

.navbar-desktop {
    margin-left: auto;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sd-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 1rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.sd-nav-end {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-shrink: 0;
}

.sd-nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .35rem;
    flex: 1;
    min-width: 0;
}

.sd-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem .95rem;
    border-radius: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    border: none;
    background: transparent;
    white-space: nowrap;
    transition: color .15s ease, background .15s ease;
}

.sd-nav-link:hover,
.sd-nav-link:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.sd-nav-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 600;
}

.sd-nav-link--capture {
    font-size: .82rem;
    padding: .55rem .85rem;
}

.sd-nav-link i { font-size: .8rem; opacity: .85; }

.sd-nav-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 .25rem;
    flex-shrink: 0;
}

.sd-nav-actions {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding-left: .15rem;
}

.sd-nav-ghost {
    display: inline-flex;
    align-items: center;
    padding: .55rem 1rem;
    border-radius: 10px;
    color: #eaf2ff;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    transition: background .15s ease, border-color .15s ease;
}

.sd-nav-ghost:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
}

.sd-nav-login {
    display: inline-flex;
    align-items: center;
    padding: .6rem 1.25rem;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .sd-nav-link { padding: .45rem .65rem; font-size: .8125rem; }
    .sd-nav-ghost { padding: .45rem .75rem; font-size: .8125rem; }
    .sd-nav-login { padding: .5rem .95rem; font-size: .8125rem; }
}

.sd-lang-pill {
    display: inline-flex;
    padding: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 2px;
}

.sd-lang-pill .btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-weight: 700;
    font-size: .75rem;
    padding: .35rem .75rem;
    border-radius: 999px;
    line-height: 1.2;
}

.sd-lang-pill .btn.active {
    background: var(--sd-gradient);
    color: #fff;
    box-shadow: 0 4px 12px rgba(62, 184, 255, 0.28);
}

.sd-lang-pill .btn:hover:not(.active) {
    color: #eaf2ff;
    background: rgba(255, 255, 255, 0.06);
}

.sd-mobile-menu {
    width: min(320px, 88vw);
    background: var(--sd-ink);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    color: #eaf2ff;
}

.sd-mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 280px at 100% 0%, rgba(124, 107, 255, 0.35), transparent 55%),
                radial-gradient(360px 240px at 0% 100%, rgba(45, 212, 168, 0.2), transparent 50%);
    pointer-events: none;
}

.sd-mobile-menu .offcanvas-header,
.sd-mobile-menu .offcanvas-body {
    position: relative;
    z-index: 1;
}

.sd-mobile-menu .offcanvas-header {
    padding: 1.25rem 1.25rem .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-mobile-menu .btn-close {
    filter: invert(1) opacity(0.75);
    opacity: 1;
}

.sd-mobile-menu .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1.25rem;
}

.sd-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-mobile-lang-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.sd-mobile-lang .language-switch { flex-shrink: 0; }
.sd-mobile-lang .sd-lang-pill .btn { font-size: .8rem; padding: .35rem .85rem; }
.sd-mobile-lang .language-switch { display: contents; }
.sd-mobile-lang .language-switch .btn { border: none; background: transparent; }

.sd-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.sd-mobile-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    border-radius: 14px;
    color: #eaf2ff;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    border: 1px solid transparent;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background .15s ease, border-color .15s ease;
}

.sd-mobile-link:hover,
.sd-mobile-link:focus,
.sd-mobile-link.is-active {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.08);
}

.sd-mobile-link-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: var(--sd-teal);
    flex-shrink: 0;
    font-size: .95rem;
}

.sd-mobile-link-arrow {
    margin-left: auto;
    color: #64748b;
    font-size: .75rem;
}

.sd-mobile-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-mobile-footer .btn-sd {
    padding: .75rem 1rem;
    border-radius: 14px;
    font-size: 1rem;
}

.sd-mobile-footer .btn-outline-access {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #eaf2ff;
    background: transparent;
    border-radius: 14px;
    padding: .7rem 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.sd-mobile-footer .btn-outline-access:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-sd {
    background: var(--sd-gradient);
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(62, 184, 255, .35);
}

.btn-sd:hover { color: #fff; filter: brightness(1.05); }

.sd-legal-disclaimer {
    font-size: .78rem;
    line-height: 1.55;
    color: #64748b;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

.sd-page .sd-legal-disclaimer,
.footer-links + .sd-legal-disclaimer,
.sd-legal-disclaimer--on-dark {
    color: #94a3b8;
}

.sd-legal-disclaimer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sd-legal-disclaimer a:hover {
    color: var(--sd-blue);
}
