*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fb;
    color:#222;
}

/* NAVBAR */

nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 8%;
    background:#2563eb;
    color:white;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:24px;
    font-weight:bold;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav ul li a{
    text-decoration:none;
    color:white;
    font-weight:600;
}

nav button{
    background:white;
    color:#2563eb;
    border:none;
    padding:8px 15px;
    border-radius:8px;
    cursor:pointer;
}

/* HERO */

.hero{
    text-align:center;
    padding:80px 10%;
}

.hero h1{
    font-size:50px;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
}

.quote-card{
    margin-top:30px;
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

/* STATS */

.stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    padding:20px 8%;
}

.card{
    background:white;
    padding:25px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.card h2{
    color:#2563eb;
}

/* SECTION */

section{
    padding:50px 8%;
}

section h2{
    margin-bottom:20px;
}

/* INPUTS */

input,
textarea{
    width:100%;
    padding:12px;
    border:1px solid #ccc;
    border-radius:10px;
    margin-bottom:15px;
}

textarea{
    height:150px;
    resize:none;
}

button{
    background:#2563eb;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:10px;
    cursor:pointer;
}

button:hover{
    opacity:.9;
}

/* TASKS */

.task-box{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.task-box input{
    margin-bottom:0;
}

#taskList{
    list-style:none;
}

#taskList li{
    background:white;
    margin:10px 0;
    padding:15px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
    display:flex;
    justify-content:space-between;
    align-items:center;
}

/* NOTES */

.note{
    background:white;
    padding:15px;
    margin-top:15px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

/* TIMER */

.timer-box{
    text-align:center;
}

.timer-box h1{
    font-size:70px;
    margin-bottom:20px;
}

.timer-box button{
    margin:5px;
}

/* AI PLANNER */

#planOutput{
    margin-top:20px;
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

/* BADGES */

.badges{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
}

.badge{
    background:white;
    padding:20px;
    border-radius:12px;
    box-shadow:0 3px 10px rgba(0,0,0,.08);
}

/* FOOTER */

footer{
    background:#111827;
    color:white;
    text-align:center;
    padding:20px;
    margin-top:50px;
}

/* DARK MODE */

.dark{
    background:#121212;
    color:white;
}

.dark .card,
.dark .quote-card,
.dark .badge,
.dark .note,
.dark #taskList li,
.dark #planOutput{
    background:#1f1f1f;
    color:white;
}

.dark input,
.dark textarea{
    background:#2a2a2a;
    color:white;
    border:none;
}

/* MOBILE */

@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h1{
        font-size:35px;
    }

    .task-box{
        flex-direction:column;
    }

    .timer-box h1{
        font-size:50px;
    }
}
.progress-container{
    width:100%;
    height:25px;
    background:#ddd;
    border-radius:30px;
    overflow:hidden;
    margin-top:20px;
}

#progressBar{
    width:0%;
    height:100%;
    background:#2563eb;
    transition:0.5s;
}