/* ===== RESET ===== */
*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:"Segoe UI",Roboto,Arial,sans-serif;
    background:#f3f4f6;
    color:#111;
}

/* ===== TOPBAR ===== */
.topbar{
    height:64px;
    background:linear-gradient(135deg,#4f46e5,#3b82f6);
    color:#fff;
    padding:0 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 4px 14px rgba(0,0,0,.25);
}

/* ===== BRAND ===== */
.brand{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    font-weight:600;
    white-space:nowrap;
}

/* ===== BADGE ===== */
.badge{
    background:#22c55e;
    color:#fff;
    padding:3px 10px;
    font-size:11px;
    border-radius:20px;
    font-weight:600;
}

/* ===== NAV DESKTOP ===== */
.nav{
    display:flex;
    align-items:center;
    gap:18px;
}

.nav a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    opacity:.9;
    position:relative;
}

.nav a:hover{
    opacity:1;
}

/* underline animation */
.nav a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-4px;
    width:0;
    height:2px;
    background:#fff;
    transition:.25s;
}

.nav a:hover::after{
    width:100%;
}

/* ===== HAMBURGER ===== */
.menu-toggle{
    display:none;
    font-size:26px;
    cursor:pointer;
    user-select:none;
}

/* ===== MOBILE MENU ===== */
@media(max-width:768px){

    .menu-toggle{
        display:block;
    }

    .nav{
        position:absolute;
        top:72px;
        right:14px;
        background:#1e3a8a;
        flex-direction:column;
        width:240px;
        padding:16px;
        border-radius:16px;
        gap:14px;
        box-shadow:0 12px 30px rgba(0,0,0,.4);
        display:none;
        animation:menuDrop .25s ease;
    }

    .nav.show{
        display:flex;
    }

    .nav a{
        font-size:15px;
        padding:6px 0;
    }
}

/* ===== ANIMATION ===== */
@keyframes menuDrop{
    from{
        opacity:0;
        transform:translateY(-10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}