:root{
    --bg:#050816;
    --surface:#0C1327;
    --surface2:#111A33;
    --border:#23304A;
    --text:#F5F7FA;
    --muted:#8FA0C2;
    --gold:#D6B36A;
    --green:#22C55E;
    --orange:#F59E0B;
    --red:#EF4444;
    --radius:22px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Inter, sans-serif;
}

body{
    background:
    radial-gradient(circle at top,#0B1635 0%,#050816 55%);
    color:var(--text);
    min-height:100vh;
}

/* HEADER */

.topbar{
    width:100%;
    padding:28px 48px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    border-bottom:1px solid rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
}

.logo h1{
    font-size:34px;
    letter-spacing:3px;
}

.logo span{
    color:var(--muted);
    font-size:14px;
}

.user{
    display:flex;
    align-items:center;
    gap:14px;
}

.avatar{
    width:46px;
    height:46px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--gold),#8A6A2F);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111;
    font-weight:700;
    font-size:18px;
}

.info{
    display:flex;
    flex-direction:column;
}

.info small{
    color:var(--muted);
}

.logout{
    color:#fff;
    text-decoration:none;
    padding:10px 16px;
    border:1px solid var(--border);
    border-radius:12px;
    transition:.2s;
}

.logout:hover{
    background:var(--surface);
}

/* MAIN */

main{
    max-width:1450px;
    margin:auto;
    padding:40px;
}

/* HERO */

.hero{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    margin-bottom:35px;
    gap:30px;
}

.subtitle{
    color:var(--gold);
    font-size:13px;
    letter-spacing:2px;
    margin-bottom:10px;
}

.hero h2{
    font-size:42px;
    margin-bottom:10px;
}

.desc{
    color:var(--muted);
    max-width:650px;
    line-height:1.6;
}

/* STATS */

.stats{
    display:flex;
    gap:18px;
}

.stat{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border-radius:18px;
    padding:20px 28px;
    min-width:130px;
}

.stat h3{
    font-size:30px;
}

.stat span{
    color:var(--muted);
    font-size:13px;
}

.green h3{
    color:var(--green);
}

/* PROGRESS */

.progressCard{
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.05);
    border-radius:22px;
    padding:24px;
    margin-bottom:30px;
}

.progressText{
    display:flex;
    justify-content:space-between;
    margin-bottom:14px;
}

.progress{
    height:14px;
    background:#18233D;
    border-radius:20px;
    overflow:hidden;
}

#bar{
    height:100%;
    width:0;
    border-radius:20px;
    background:linear-gradient(90deg,#22C55E,#86EFAC);
    transition:.35s;
}

/* SEARCH */

.toolbar{
    display:flex;
    gap:16px;
    margin-bottom:30px;
}

.toolbar input,
.toolbar select{
    background:var(--surface);
    border:1px solid var(--border);
    color:white;
    padding:14px 18px;
    border-radius:14px;
    font-size:15px;
}

.toolbar input{
    flex:1;
}

/* GRID */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(330px,1fr));
    gap:22px;
}

/* CARD */

.card{
    background:linear-gradient(180deg,var(--surface),var(--surface2));
    border:1px solid rgba(255,255,255,.05);
    border-radius:22px;
    padding:22px;
    transition:.25s;
}

.card:hover{
    transform:translateY(-4px);
    border-color:rgba(214,179,106,.4);
    box-shadow:0 12px 35px rgba(0,0,0,.35);
}

.code{
    color:var(--gold);
    font-size:13px;
    letter-spacing:1px;
    margin-bottom:8px;
}

.card h3{
    font-size:24px;
    margin-bottom:14px;
}

.card p{
    color:var(--muted);
    margin-bottom:18px;
}

.card select,
.card textarea{
    width:100%;
    background:#08101F;
    color:white;
    border:1px solid var(--border);
    border-radius:12px;
    padding:12px;
    margin-top:10px;
}

.card textarea{
    resize:vertical;
    min-height:90px;
}

/* STATUS COLORS */

.todo{
    border-left:4px solid var(--red);
}

.progressing{
    border-left:4px solid var(--orange);
}

.done{
    border-left:4px solid var(--green);
}

/* FOOTER */

footer{
    text-align:center;
    padding:35px;
    color:var(--muted);
    font-size:13px;
}

/* LOGIN */

.login{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:100vh;
}

.loginBox{
    width:420px;
    background:linear-gradient(180deg,var(--surface),var(--surface2));
    border:1px solid rgba(255,255,255,.05);
    border-radius:28px;
    padding:40px;
}

.loginBox h1{
    margin-bottom:25px;
    text-align:center;
    letter-spacing:2px;
}

.loginBox input{
    width:100%;
    background:#08101F;
    border:1px solid var(--border);
    color:white;
    padding:14px;
    border-radius:14px;
    margin-bottom:15px;
}

.loginBox button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,var(--gold),#A88445);
    color:#111;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.loginBox button:hover{
    transform:translateY(-2px);
}

@media(max-width:900px){

.hero{
    flex-direction:column;
    align-items:flex-start;
}

.stats{
    width:100%;
    flex-wrap:wrap;
}

.topbar{
    padding:24px;
}

main{
    padding:24px;
}

}