/* Header positioning */
.header {
    background: transparent;
    padding: 0;
    z-index: 1000;
    top: 0;
}

/* Glassy floating pill navigation */
.nav-surface {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 12px 0 0;

    /* Glassmorphism styles */
    background: rgba(255, 255, 255, 0.6);
    /* semi-transparent white */
    backdrop-filter: blur(12px) saturate(180%);
    /* blur background behind it */
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* subtle inner border */

    border-radius: 18px;
    padding: 10px 24px;

    /* soft shadow for floating effect */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo img {
    max-height: 32px;
    margin-right: 10px;
}

.logo .sitename {
    font-size: 22px;
    font-weight: 700;
    color: #0e1330;
    margin: 0;
}

/* Nav links */
.navmenu ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navmenu a {
    font-size: 15px;
    font-weight: 500;
    color: #0e1330;
    text-decoration: none;
    transition: color 0.2s ease;
}

.navmenu a:hover {
    color: #423dfc;
}

/* Buttons */
.nav-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.btn-login {
    font-size: 15px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(66, 61, 252, .35);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    color: #423dfc;
    transition: all .2s ease;
}

.btn-login:hover {
    background: rgba(66, 61, 252, 0.1);
    transform: translateY(-1px);
}

.btn-signup {
    font-size: 15px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #423dfc, #7271fb);
    color: #fff;
    box-shadow: 0 4px 12px rgba(66, 61, 252, .25);
    transition: all .2s ease;
}

.btn-signup:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

/* Logo + small divider like in the screenshot */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 16px;
    margin-right: 4px;
    border-right: 1px solid rgba(0, 0, 0, .12);
}

.logo img {
    max-height: 32px;
}

.logo .sitename {
    font-size: 22px;
    font-weight: 800;
    color: var(--heading-color);
    margin: 0;
}

/* Nav links (always horizontal on desktop) */
.navmenu ul {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navmenu a {
    font-size: 15px;
    font-weight: 600;
    color: var(--nav-color);
    text-decoration: none;
}

.navmenu a:hover {
    color: var(--nav-hover-color);
}

/* Right-side actions */
.nav-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.btn-login {
    font-size: 15px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    color: #423dfc;
    border: 1px solid rgba(66, 61, 252, .35);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .02);
    transition: background .2s, box-shadow .2s, transform .15s;
}

.btn-login:hover {
    background: rgba(66, 61, 252, .06);
    transform: translateY(-1px);
}

.btn-signup {
    font-size: 15px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 12px;
    background: #fff;
    color: #1a1a2e;
    border: 1px solid rgba(0, 0, 0, .12);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}

.btn-signup:hover {
    background: #423dfc;
    color: #fff;
    border-color: #423dfc;
}

/* Mobile tweaks: stack nav when needed */
@media (max-width: 992px) {
    .nav-surface {
        padding: 8px 12px;
    }

    .navmenu ul {
        gap: 18px;
    }

    .logo {
        border-right: 0;
        padding-right: 0;
        margin-right: 0;
    }
}