/* ── Navbar Widget ──────────────────────────────────────────────────────────── */
.neweb-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.5s;
    background: transparent;
}

.neweb-navbar.scrolled {
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

[data-theme="dark"] .neweb-navbar.scrolled {
    border-bottom-color: #334155;
    background: rgba(12, 18, 34, 0.85);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.neweb-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.neweb-navbar__logo {
    display: flex;
    text-decoration: none;
}

.neweb-navbar__logo-light { display: block; }
.neweb-navbar__logo-dark { display: none; }
[data-theme="dark"] .neweb-navbar__logo-light { display: none; }
[data-theme="dark"] .neweb-navbar__logo-dark { display: block; }

.neweb-navbar__links {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.neweb-navbar__link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.025em;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.neweb-navbar__link:hover {
    color: #1e293b;
}

[data-theme="dark"] .neweb-navbar__link {
    color: #94a3b8;
}

[data-theme="dark"] .neweb-navbar__link:hover {
    color: #f1f5f9;
}

.neweb-navbar__cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    border-radius: 9999px;
    background: var(--color-brand);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: box-shadow 0.3s;
}

.neweb-navbar__cta:hover {
    box-shadow: 0 0 24px rgba(36, 127, 195, 0.3);
    color: #ffffff;
}

/* Mobile */
.neweb-navbar__mobile-controls {
    display: none;
    align-items: center;
    gap: 8px;
}

.neweb-mobile-toggle {
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    padding: 4px;
}

[data-theme="dark"] .neweb-mobile-toggle {
    color: #cbd5e1;
}

.neweb-mobile-menu {
    display: none;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .neweb-mobile-menu {
    border-top-color: rgba(51, 65, 85, 0.5);
    background: rgba(12, 18, 34, 0.95);
}

.neweb-mobile-menu.open {
    display: block;
}

.neweb-mobile-menu__inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.neweb-mobile-menu__link {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.neweb-mobile-menu__link:hover {
    color: #1e293b;
}

[data-theme="dark"] .neweb-mobile-menu__link {
    color: #cbd5e1;
}

[data-theme="dark"] .neweb-mobile-menu__link:hover {
    color: #ffffff;
}

.neweb-mobile-menu__cta {
    display: block;
    margin-top: 16px;
    padding: 12px 0;
    border-radius: 9999px;
    background: var(--color-brand);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 768px) {
    .neweb-navbar__links { display: none !important; }
    .neweb-navbar__mobile-controls { display: flex; }
}

@media (min-width: 769px) {
    .neweb-navbar__mobile-controls { display: none !important; }
    .neweb-mobile-menu { display: none !important; }
}
