

:root {
    --pri: #f8fafc;
    --sec: #0b1120;

    --tri1: #facc15;
    --tri2: #1e293b;

    --glass: rgba(255,255,255,0.08);
    --border: rgba(255,255,255,0.15);

    --red: #ef4444;
    --green: #22c55e;
    --blue: #38bdf8;
}



@font-face {
    font-family: aeonik;
    font-weight: 300;
    src: url(./AeonikTRIAL-Light.otf);
}
@font-face {
    font-family: aeonik;
    font-weight: 500;
    src: url(./AeonikTRIAL-Regular.otf);
}
@font-face {
    font-family: aeonik;
    font-weight: 700;
    src: url(./AeonikTRIAL-Bold.otf);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: aeonik, sans-serif;
    color: var(--pri);
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(circle at top, var(--tri2), var(--sec));
    transition: background 0.6s ease;
}



#main {
    height: 100%;
    width: 100%;
    padding-top: 110px;
    background: var(--sec);
    transition: background 0.6s ease;
}

/* 
   NAVBAR */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    z-index: 999;
}

.nav-in {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: var(--glass);
    backdrop-filter: blur(22px);
    border-radius: 22px;
    padding: 22px 36px;
    border: 1px solid var(--border);
}

.nav-in h2 {
    font-size: 28px;
    font-weight: 700;
}

.theme {
    background: var(--pri);
    padding: 12px 28px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.theme h4 {
    color: var(--sec);
    font-weight: 700;
}

.theme:hover {
    transform: translateY(-3px);
}



.allElems {
    height: 100%;
    width: 100%;
    padding: 42px;
    overflow-y: auto;
}

/* 
   HEADER */

.allElems header {
    background-image: url(https://images.unsplash.com/photo-1717361279773-b2e7ee713d2e?q=80&w=3869);
    background-size: cover;
    background-position: center;

    border-radius: 32px;
    padding: 10px;

    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;

    position: relative;
    overflow: hidden;
}

.allElems header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.8),
        rgba(0,0,0,0.25)
    );
}

.allElems header * {
    position: relative;
    z-index: 2;
}

.header1 h1 {
    font-size: 78px;
    font-weight: 800;
}

.header1 h2 {
    font-size: 36px;
}

.header1 h4 {
    font-size: 28px;
    opacity: 0.85;
}

.header2 h2 {
    font-size: 72px;
    font-weight: 800;
}

.header2 h4 {
    font-size: 34px;
    margin-bottom: 30px;
}

.header2 h3 {
    opacity: 0.85;
}

/* 
   FEATURE CARDS
*/

.allFeatures {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: space-between;
}

.elem {
    width: 300px;
    height: 300px;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    cursor: pointer;

    background: var(--glass);
    backdrop-filter: blur(22px);
    border: 1px solid var(--border);

    box-shadow: 0 35px 100px rgba(0,0,0,0.65);
    transition: 0.45s ease;
}

.elem:hover {
    transform: translateY(-18px) scale(1.06);
}

.elem img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.elem h2 {
    position: absolute;
    bottom: 8%;
    left: 8%;
    font-size: 30px;
    font-weight: 700;
}

/* 
   FULL PAGE
*/

.fullElem {
    position: fixed;
    inset: 0;
    display: none;
    padding: 60px;

    background: linear-gradient(
        180deg,
        var(--sec),
        rgba(0,0,0,0.98)
    );

    z-index: 999;
    overflow-y: auto;

    animation: fade 0.4s ease;
}

@keyframes fade {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.fullElem h2 {
    font-size: 56px;
    margin-bottom: 40px;
}

/* 
   GLASS PAGES */

.todo-list-fullpage,
.daily-planner-fullpage,
.motivational-fullpage,
.pomodoro-fullpage {
    height: 100%;
    background: var(--glass);
    backdrop-filter: blur(24px);
    border-radius: 36px;
    padding: 50px;
    border: 1px solid var(--border);
}

.addTask,
.allTask {
    background: rgba(0,0,0,0.45);
    border-radius: 28px;
    padding: 36px;

    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);

    box-shadow:
        inset 0 0 0 rgba(0,0,0,0),
        0 25px 70px rgba(0,0,0,0.55);
}

/* 
   INPUTS
*/

.addTask input,
.addTask textarea {
    /* width: 100%; */
    background: var(--pri);
    color: var(--sec);

    border-radius: 14px;
    padding: 15px 20px;
    font-size: 20px;

    border: none;
    outline: none;

    transition: 0.25s ease;
}

.addTask input::placeholder,
.addTask textarea::placeholder {
    color: #9086866c;
}

.addTask input:focus,
.addTask textarea:focus {
    box-shadow: 0 0 0 3px rgba(250,204,21,0.35);
}

/* 
   TASK CARD 
 */

.task {
    background: var(--pri);
    border-radius: 18px;
    padding: 22px 28px;
    margin-bottom: 16px;

    border-left: 6px solid var(--tri1);

    display: flex;
    justify-content: space-between;
    align-items: center;

    transition: 0.25s ease;
}

/* hover lift */
.task:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.task h5 {
    color: var(--sec);
    font-size: 20px;
    font-weight: 600;
}

/* important badge */
.task h5 span {
    background: var(--red);
    color: #fff;
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 11px;
    margin-left: 8px;
}

/* button */
.task button {
    background: var(--green);
    color: #3054a8ca;

    padding: 10px 22px;
    border-radius: 12px;
    border: none;

    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

    transition: 0.2s ease;
}

.task button:hover {
    transform: scale(1.05);
}

/* 
   DAILY PLANNER
 */

.day-planner {
    background: rgba(0,0,0,0.45);
    border-radius: 26px;
    padding: 35px;
}

.day-planner-time input {
    background: rgba(15,15,15,0.9);
    color: var(--pri);
    font-size: 26px;
    border-radius: 10px;
}

/* 
   MOTIVATION
 */

.motivation-wrapper {
    background: linear-gradient(135deg, var(--tri1), #fde047);
    border-radius: 30px;
}

.motivation-wrapper * {
    color: #000 !important;
}

/* 
   POMODORO
 */

.pomo-timer h1 {
    font-size: 180px;
    letter-spacing: 6px;
    text-shadow: 0 0 60px rgba(250,204,21,0.6);
}

.pomo-timer button {
    background: linear-gradient(135deg, var(--tri1), #fde047);
    color: #000;
    padding: 16px 42px;
    font-size: 26px;
    border-radius: 14px;
    border: none;
    cursor: pointer;

    /* 🔥 smooth animation */
    transition: 
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.2s ease;

    /* depth */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* 🖱 hover feel */
.pomo-timer button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* 👆 click / press feel */
.pomo-timer button:active {
    transform: scale(0.95) translateY(1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* 🧠 keyboard accessibility */
.pomo-timer button:focus-visible {
    outline: 3px solid rgba(253, 224, 71, 0.7);
    outline-offset: 3px;
}


/* 
   CLOSE BUTTON
 */

.back {
    position: fixed;
    top: 40px;
    right: 50px;

    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    padding: 14px 36px;
    border-radius: 14px;
    font-size: 22px;
    border: none;
    cursor: pointer;

    /* 🔥 depth */
    box-shadow: 0 14px 40px rgba(239, 68, 68, 0.6);

    /* ✨ smooth animation */
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        filter 0.2s ease;
}

/* 🖱 hover effect */
.back:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 18px 50px rgba(239, 68, 68, 0.75);
}

/* 👆 click / press feel */
.back:active {
    transform: scale(0.94) translateY(2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.9);
}

/* ⌨ accessibility */
.back:focus-visible {
    outline: 3px solid rgba(239, 68, 68, 0.8);
    outline-offset: 4px;
}

/* 
    TODO PAGE 
 */

.todo-list-fullpage h2 {
    margin-bottom: 40px;
}

/* main layout */
.todo-list-fullpage .todo-container {
    height: calc(100% - 90px);
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 20px;
}

/* LEFT PANEL */
.todo-list-fullpage .addTask {
    height: 100%;
    padding: 14px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* form spacing */
.todo-list-fullpage .addTask form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* input polish */
.addTask input,
.addTask textarea {
    border-radius: 15px;
    font-size: 20px;
}

/* textarea height */
.addTask textarea {
    min-height: 150px;
    resize: none;
}

/* checkbox alignment */
.mark-imp {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

/* ADD TASK BUTTON */
.addTask button {
    margin-top: auto;
    height: 52px;
    font-size: 20px;
    border-radius: 14px;
    cursor: pointer;
    color:rgba(33, 28, 28, 0.581);
}

/* RIGHT PANEL */
.todo-list-fullpage .allTask {
    height: 100%;
    padding: 30px;
    border-radius: 28px;
    overflow-y: auto;
}

/* TASK CARD */
.task {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 26px;
    border-radius: 18px;
    margin-bottom: 16px;

    background: var(--pri);
    border-left: 6px solid var(--tri1);

    transition: 0.25s ease;
}

.task:hover {
    transform: translateY(-2px);
}

/* text */
.task h5 {
    font-size: 20px;
    color: var(--sec);
}

/* button */
.task button {
    border-radius: 12px;
    padding: 10px 22px;
    font-size: 16px;
}

/* 
   RESPONSIVE FIX
 */

@media (max-width: 900px) {

    .todo-list-fullpage .todo-container {
        grid-template-columns: 1fr;
    }

    .addTask {
        height: auto;
    }
}


/* 
   DAILY PLANNER FIX
 */

.daily-planner-fullpage h2 {
    margin-bottom: 60px;
}

.daily-planner {
    height: calc(100% - 10px);
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    /* 🔥 GAP FIX */
    gap: 10px;

    overflow-y: auto;
    padding-right: 6px;
}

.day-planner-time {
    position: relative;
}

/* time label */
.day-planner-time p {
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 14px;
    color: var(--tri1);
    letter-spacing: 0.5px;
}

/* input card */
.day-planner-time input {
    width: 100%;
    padding: 46px 28px 20px;
    font-size: 22px;

    border-radius: 14px;

    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.12);

    transition: 0.25s ease;
}

/* ✨ hover effect */
.day-planner-time input:hover {
    border-color: rgba(250,204,21,0.5);
}

/* ✨ focus effect */
.day-planner-time input:focus {
    outline: none;
    border-color: var(--tri1);
    box-shadow: 0 0 0 2px rgba(250,204,21,0.25);
}


/* 
   MOTIVATION PAGE FIX
 */



.motivation-container {
    width: 85%;
    max-width: 1100px;
    height: auto;
}

.motivation-wrapper {
    padding: 45px;
}

.motivation-1 h2 {
    font-size: 36px;
}

.motivation-2 {
    margin: 30px 0;
}

.motivation-2 h1 {
    font-size:42px;
    line-height: 1.3;
}

.motivation-3 h2 {
    font-size: 30px;
}

/* 
   MOBILE RESPONSIVE 
 */

@media (max-width: 900px) {

    .todo-list-fullpage .todo-container {
        flex-direction: column;
    }

    .todo-list-fullpage .addTask,
    .todo-list-fullpage .allTask {
        width: 100%;
        height: auto;
    }

    .daily-planner {
        grid-template-columns: 1fr;
    }

    .pomo-timer h1 {
        font-size: 120px;
    }
}


/* ---------- GLOBAL FIX ---------- */

.fullElem {
    box-sizing: border-box;
}

.todo-list-fullpage,
.motivational-fullpage,
.pomodoro-fullpage {
    overflow: hidden;
}

/* ✅ allow planner scrolling */
.daily-planner-fullpage {
    overflow-y: auto;
}


/* 
   TODO PAGE FIX
 */

.todo-list-fullpage .todo-container {
    align-items: stretch;
}

.todo-list-fullpage .addTask,
.todo-list-fullpage .allTask {
    min-height: 100%;
}

/* prevent left panel shrinking */
.todo-list-fullpage .addTask {
    flex-shrink: 0;
}

/* smooth scroll only right panel */
.todo-list-fullpage .allTask {
    overflow-y: auto;
    scrollbar-width: thin;
}

/* 
   DAILY PLANNER FIX
    */

.daily-planner {
    align-content: flex-start;
}

.day-planner-time {
    height: auto;
}

.day-planner-time input {
    box-sizing: border-box;
}

/* 
   MOTIVATION PAGE FIX
 */

.motivation-fullpage {
    display: flex;
    justify-content: center;
    align-items: center;
}

.motivation-container {
    margin: auto;
}

.motivation-wrapper {
    width: 100%;
}

/* 
   MOBILE FIX 
 */

@media (max-width: 900px) {

    .todo-list-fullpage {
        overflow-y: auto;
    }

    .todo-list-fullpage .todo-container {
        height: auto;
    }

    .daily-planner {
        height: auto;
    }
}



/* 
   LARGE TABLETS
 */
@media (max-width: 1200px) {

    .allElems {
        padding: 32px;
    }

    .allFeatures {
        justify-content: center;
    }

    .elem {
        width: 280px;
        height: 280px;
    }

    .header1 h1 {
        font-size: 64px;
    }

    .header2 h2 {
        font-size: 60px;
    }
}

/* 
   TABLET VIEW
 */
@media (max-width: 992px) {

    nav {
        padding: 20px 30px;
    }

    .nav-in {
        padding: 18px 26px;
    }

    .allElems header {
        flex-direction: column;
        gap: 25px;
    }

    .header1 h1 {
        font-size: 56px;
    }

    .header2 h2 {
        font-size: 54px;
    }

    .allFeatures {
        gap: 28px;
        justify-content: center;
    }
}

/* 
   MOBILE / SMALL TABLET
 */
@media (max-width: 768px) {

    #main {
        padding-top: 95px;
    }

    nav {
        padding: 18px 20px;
    }

    .nav-in {
        flex-direction: row;
        padding: 16px 22px;
    }

    .nav-in h2 {
        font-size: 22px;
    }

    .theme {
        padding: 10px 22px;
    }

    .allElems {
        padding: 25px;
    }

    /* header */
    .allElems header {
        padding: 30px;
        margin-bottom: 40px;
    }

    .header1 h1 {
        font-size: 46px;
    }

    .header1 h2 {
        font-size: 28px;
    }

    .header2 h2 {
        font-size: 48px;
    }

    /* feature cards */
    .elem {
        width: 100%;
        max-width: 360px;
        height: 260px;
    }

    /* full pages */
    .fullElem {
        padding: 30px;
    }

    .todo-list-fullpage,
    .daily-planner-fullpage,
    .motivational-fullpage,
    .pomodoro-fullpage {
        padding: 30px;
    }
}

/* 
   SMALL MOBILE
 */
@media (max-width: 480px) {

    nav {
        padding: 15px;
    }

    .nav-in {
        padding: 14px 18px;
        border-radius: 18px;
    }

    .nav-in h2 {
        font-size: 20px;
    }

    .theme h4 {
        font-size: 14px;
    }

    .allElems {
        padding: 18px;
    }

    .allElems header {
        padding: 25px;
    }

    .header1 h1 {
        font-size: 38px;
    }

    .header1 h2 {
        font-size: 24px;
    }

    .header2 h2 {
        font-size: 40px;
    }

    .elem {
        height: 230px;
    }

    /* planner */
    .daily-planner {
        grid-template-columns: 1fr;
    }

    /* pomodoro */
    .pomo-timer h1 {
        font-size: 100px;
    }

    .pomo-timer button {
        font-size: 22px;
        padding: 14px;
    }

    /* close button */
    .back {
        top: 25px;
        right: 25px;
        padding: 12px 26px;
        font-size: 18px;
    }
}

/* 
   NAVBAR BRANDING
 */

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.brand h2 span {
    color: var(--tri1);
}

.brand p {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 6px;
}

/* 
   PREMIUM LOGO ANIMATION
 */

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* yellow highlight */
.logo span {
    color: var(--tri1);
    position: relative;
}

/* shine animation */
.logo::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -120%;
    width: 60%;
    height: 200%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.8),
        transparent
    );
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% {
        left: -120%;
    }
    60% {
        left: 120%;
    }
    100% {
        left: 120%;
    }
}

/* hover glow */
.logo:hover {
    text-shadow:
        0 0 12px rgba(250,204,21,0.8),
        0 0 30px rgba(250,204,21,0.6);
    transform: scale(1.04);
    transition: 0.3s ease;
}

/* tagline fade */
.brand p {
    font-size: 13px;
    opacity: 0.65;
    margin-top: 6px;
    transition: 0.3s ease;
}

.logo:hover + p {
    opacity: 1;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* ⚡ ICON */
.logo-icon {
    font-size: 30px;
    color: var(--tri1);
    animation: pulseGlow 2.5s infinite ease-in-out;
}

/* TEXT */
.logo-text {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 1px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* brand color */
.logo-text span {
    color: var(--tri1);
}

/* SHINE SWEEP */
.logo-text::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -130%;
    width: 70%;
    height: 220%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.9),
        transparent
    );
    transform: skewX(-25deg);
    animation: shineSweep 5s infinite;
}

/* FLOAT ANIMATION */
.brand {
    animation: floatBrand 6s ease-in-out infinite;
}

/* 🟡 GLOW ON HOVER */
.logo-wrap:hover .logo-text {
    text-shadow:
        0 0 12px rgba(250,204,21,0.9),
        0 0 40px rgba(250,204,21,0.7);
    transform: scale(1.05);
    transition: 0.3s ease;
}

.logo-wrap:hover .logo-icon {
    transform: rotate(-12deg) scale(1.1);
}

/* TAGLINE */
.tagline {
    font-size: 13px;
    opacity: 0.65;
    margin-top: 6px;
    letter-spacing: 0.4px;
}

/* 
   KEYFRAMES
 */

@keyframes shineSweep {
    0%   { left: -130%; }
    60%  { left: 130%; }
    100% { left: 130%; }
}

@keyframes pulseGlow {
    0%,100% {
        text-shadow: 0 0 6px rgba(250,204,21,0.6);
    }
    50% {
        text-shadow: 0 0 18px rgba(250,204,21,1);
    }
}

@keyframes floatBrand {
    0%,100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

