:root {
    --bg: #080808;
    --panel: #111;
    --panel2: #171717;
    --text: #f8f8f8;
    --muted: #a7a7a7;
    --line: #2a2a2a;
    --white: #fff;
    --danger: #ff6b6b;
    --success: #8df0b2
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: radial-gradient(circle at 10% 0,#202020 0,transparent 30%),var(--bg);
    color: var(--text);
    font-family: Inter,Arial,sans-serif;
    min-height: 100vh
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    
    margin: 0 80px;
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line)
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 800;
    letter-spacing: .3px
}

.brand svg {
    width: 38px;
    height: 38px
}

.navlinks {
    display: flex;
    gap: 10px;
    align-items: center
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--white);
    padding: 12px 18px;
    border-radius: 10px;
    background: var(--white);
    color: #000;
    font-weight: 750;
    cursor: pointer;
    transition: .2s
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(255,255,255,.12)
}

.btn.secondary {
    background: transparent;
    color: #fff;
    border-color: #444
}

.btn.danger {
    background: transparent;
    color: #ff9292;
    border-color: #703838
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    padding: 90px 0 70px;
    align-items: center
}

.eyebrow {
    display: inline-block;
    border: 1px solid #333;
    border-radius: 100px;
    padding: 8px 12px;
    color: #ccc;
    font-size: 13px
}

.hero h1 {
    font-size: clamp(44px,7vw,82px);
    line-height: .95;
    margin: 20px 0;
    letter-spacing: -4px
}

.hero p {
    color: #bcbcbc;
    font-size: 18px;
    line-height: 1.7;
    max-width: 650px
}

.hero-card,.card {
    background: linear-gradient(145deg,#151515,#0d0d0d);
    border: 1px solid #292929;
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 25px 80px rgba(0,0,0,.35)
}

.hero-card {
    min-height: 420px;
    position: relative;
    overflow: hidden
}

.hero-card:before {
    content: "";
    position: absolute;
    inset: -20%;
    background: repeating-linear-gradient(45deg,transparent 0 22px,rgba(255,255,255,.025) 22px 23px);
    transform: rotate(8deg)
}

.paper {
    position: relative;
    background: #fff;
    color: #000;
    border-radius: 14px;
    padding: 28px;
    min-height: 340px;
    transform: rotate(-2deg);
    box-shadow: 0 20px 60px rgba(0,0,0,.5)
}

.paper .line {
    height: 10px;
    background: #dadada;
    border-radius: 20px;
    margin: 12px 0
}

.paper .line:nth-child(3) {
    width: 75%
}

.paper .line:nth-child(4) {
    width: 90%
}

.paper .line:nth-child(5) {
    width: 55%
}

.grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.section {
    padding: 65px 0
}

.section h2 {
    font-size: 38px;
    margin: 0 0 12px
}

.muted {
    color: var(--muted)
}

.stat {
    font-size: 42px;
    font-weight: 900
}

.auth-wrap {
    min-height: calc(100vh - 76px);
    display: grid;
    place-items: center;
    padding: 40px 0
}

.auth-card {
    width: min(480px,100%)
}

.form-group {
    margin-bottom: 16px
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #cfcfcf;
    margin-bottom: 8px
}

.input,textarea {
    width: 100%;
    padding: 14px 15px;
    background: #0b0b0b;
    border: 1px solid #343434;
    border-radius: 10px;
    color: #fff;
    outline: none
}

.input:focus,textarea:focus {
    border-color: #fff
}

.alert {
    padding: 13px 15px;
    border-radius: 10px;
    border: 1px solid #444;
    margin-bottom: 18px
}

.alert.error {
    border-color: #743737;
    color: #ffb1b1;
    background: #271313
}

.alert.success {
    border-color: #285f3b;
    color: #a9f5c5;
    background: #102418
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 36px 0 22px
}

.progress {
    height: 12px;
    background: #222;
    border-radius: 99px;
    overflow: hidden;
    border: 1px solid #303030
}

.progress>span {
    display: block;
    height: 100%;
    background: #fff
}

.task-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px
}

.task-item {
    padding: 20px;
    border: 1px solid #2c2c2c;
    border-radius: 14px;
    background: #111;
    min-height: 155px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.task-item.done {
    border-color: #d8d8d8;
    background: #181818
}

.badge {
    font-size: 12px;
    padding: 6px 9px;
    border: 1px solid #3a3a3a;
    border-radius: 99px;
    color: #bbb;
    display: inline-flex;
    width: max-content
}

.timer {
    font-size: 72px;
    font-weight: 900;
    letter-spacing: -4px;
    margin: 20px 0
}

.task-content {
    font-size: 18px;
    line-height: 1.7;
    color: #d6d6d6
}

.table-wrap {
    overflow: auto;
    border: 1px solid #2a2a2a;
    border-radius: 14px
}

.table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px
}

.table th,.table td {
    text-align: left;
    padding: 15px;
    border-bottom: 1px solid #242424
}

.table th {
    color: #aaa;
    font-size: 13px
}

.sidebar-layout {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 25px;
    padding: 30px 0
}

.sidebar {
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 16px;
    height: max-content;
    position: sticky;
    top: 20px
}

.sidebar a {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
    color: #bbb
}

.sidebar a:hover,.sidebar a.active {
    background: #fff;
    color: #000
}

.footer {
    padding: 32px 0;
    border-top: 1px solid #222;
    color: #888;
    margin-top: 60px
}

.download-box {
    text-align: center;
    padding: 60px 25px
}

.check {
    font-size: 70px
}

.logo-watermark {
    opacity: .05;
    position: fixed;
    right: -120px;
    bottom: -150px;
    width: 520px;
    pointer-events: none
}

@media(max-width: 850px) {
    .hero {
        grid-template-columns:1fr;
        padding-top: 55px
    }
    .container {
    
    margin: 0 20px;
}

    .grid {
        grid-template-columns: 1fr
    }

    .task-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .sidebar-layout {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: static
    }

    .hero h1 {
        letter-spacing: -2px
    }
}

@media(max-width: 520px) {
    .navlinks .hide-mobile {
        display:none
    }

    .task-grid {
        grid-template-columns: 1fr
    }

    .timer {
        font-size: 58px
    }

    .hero-card {
        min-height: 360px
    }

    .hero {
        gap: 25px
    }

    .topbar {
        align-items: flex-start;
        flex-direction: column
    }
}
