:root {

    --background: #07111f;
    --surface: #0d1a2b;
    --surface2: #122238;

    --text: #f1f6ff;
    --muted: #9aadc2;

    --green: #45e0a8;
    --blue: #5ea7ff;

    --border: rgba(255,255,255,.09);

}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);

    color: var(--text);

    line-height: 1.6;

}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}


/* NAVBAR */

.navbar {

    height: 75px;

    position: sticky;
    top: 0;

    z-index: 20;

    display: flex;
    align-items: center;

    justify-content: space-between;

    padding: 0 7%;

    background:
        rgba(7,17,31,.88);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid var(--border);

}

.logo {

    font-size: 25px;

    font-weight: 900;

}

.logo span {
    color: var(--green);
}

.navbar nav {

    display: flex;

    gap: 30px;

    color: var(--muted);

}

.navbar nav a:hover {
    color: white;
}


/* BUTTONS */

.btn {

    border: none;

    background: var(--green);

    color: #03120d;

    padding:
        13px 20px;

    border-radius: 11px;

    font-weight: 800;

    transition: .2s;

}

.btn:hover {

    transform:
        translateY(-2px);

}

.btn.outline {

    background: transparent;

    color: white;

    border:
        1px solid var(--border);

}

.btn-small {

    padding:
        9px 15px;

}

.full {
    width: 100%;
}


/* HERO */

.hero {

    min-height: 700px;

    padding:
        100px 7%;

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 70px;

    align-items: center;

}

.eyebrow {

    color: var(--green);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 2px;

    margin-bottom: 14px;

}

.hero h1 {

    font-size:
        clamp(48px,6vw,80px);

    line-height: .98;

    letter-spacing: -4px;

}

.hero h1 span {
    color: var(--green);
}

.hero-content > p:not(.eyebrow) {

    color: var(--muted);

    font-size: 18px;

    max-width: 650px;

    margin:
        25px 0;

}

.hero-buttons {

    display: flex;

    gap: 12px;

    flex-wrap: wrap;

}

.stats {

    display: flex;

    gap: 40px;

    margin-top: 45px;

}

.stats div {

    display: grid;

}

.stats strong {
    font-size: 25px;
}

.stats span {

    color: var(--muted);

    font-size: 13px;

}


/* HERO CARD */

.hero-panel {

    position: relative;

}

.floating {

    position: absolute;

    right: 0;

    top: -25px;

    padding: 10px 14px;

    background:
        var(--surface2);

    border:
        1px solid var(--border);

    border-radius: 10px;

    color: var(--green);

    font-weight: 800;

    font-size: 11px;

}

.course-preview {

    padding:
        70px 40px;

    border:
        1px solid var(--border);

    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            #122238,
            #0b1626
        );

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.3);

    transform:
        rotate(2deg);

}

.course-preview small {

    color: var(--green);

    font-weight: 900;

}

.course-preview h2 {

    font-size: 34px;

    line-height: 1.1;

    margin:
        15px 0;

}

.course-preview p {

    color: var(--muted);

}

.fake-progress {

    height: 8px;

    background: #1c2c40;

    border-radius: 20px;

    margin:
        30px 0 8px;

}

.fake-progress span {

    display: block;

    width: 72%;

    height: 100%;

    background: var(--green);

    border-radius: inherit;

}


/* SECTIONS */

.section {

    padding:
        100px 7%;

}

.section h2 {

    font-size:
        clamp(35px,4vw,55px);

    line-height: 1.05;

    letter-spacing: -2px;

}


/* FILTERS */

.filters {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 35px;

}

.filter {

    padding:
        9px 15px;

    border:
        1px solid var(--border);

    background: transparent;

    color: var(--muted);

    border-radius: 999px;

}

.filter.active {

    background: var(--green);

    color: #03120d;

    border-color: var(--green);

}


/* COURSES */

.course-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;

}

.course-card {

    padding: 25px;

    min-height: 310px;

    display: flex;

    flex-direction: column;

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius: 18px;

    transition: .25s;

}

.course-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(69,224,168,.4);

}

.course-icon {

    font-size: 32px;

    margin-bottom: 15px;

}

.course-category {

    color: var(--green);

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;

}

.course-card h3 {

    font-size: 22px;

    margin:
        8px 0;

}

.course-card p {

    color: var(--muted);

    font-size: 14px;

    flex: 1;

}

.course-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-top: 20px;

}

.price {

    font-size: 22px;

    font-weight: 900;

}


/* PASS */

.pass {

    margin:
        0 7% 100px;

    padding:
        70px;

    display: grid;

    grid-template-columns:
        1.3fr .7fr;

    gap: 60px;

    border:
        1px solid var(--border);

    border-radius: 30px;

    background:
        linear-gradient(
            135deg,
            #102a31,
            #10233b
        );

}

.pass h2 span {
    color: var(--green);
}

.pass > div:first-child > p:not(.eyebrow) {

    color: var(--muted);

    max-width: 600px;

    margin:
        20px 0;

}

.pass ul {

    list-style: none;

    display: grid;

    gap: 8px;

}

.pass-card {

    background:
        rgba(0,0,0,.25);

    padding: 30px;

    border:
        1px solid var(--border);

    border-radius: 20px;

}

.pass-card > p:first-child {

    color: var(--green);

    font-weight: 900;

}

.pass-price {

    font-size: 58px;

    font-weight: 900;

    margin:
        20px 0;

}

.pass-price small {

    font-size: 18px;

    color: var(--muted);

}


/* ABOUT */

.about {

    max-width: 900px;

}

.about > p:last-child {

    color: var(--muted);

    margin-top: 20px;

    font-size: 18px;

}


/* DASHBOARD */

.dashboard {

    border-top:
        1px solid var(--border);

}

.dashboard-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 40px;

}

.my-courses {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 18px;

}

.my-course {

    background:
        var(--surface);

    padding: 25px;

    border:
        1px solid var(--border);

    border-radius: 18px;

}

.my-course p {

    color: var(--muted);

    font-size: 14px;

}

.progress {

    height: 7px;

    background:
        #1b2b40;

    margin:
        20px 0;

    border-radius: 20px;

}

.progress span {

    display: block;

    height: 100%;

    background: var(--green);

    border-radius: inherit;

}


/* MODALS */

.modal {

    position: fixed;

    inset: 0;

    z-index: 100;

    display: grid;

    place-items: center;

    padding: 20px;

}

.hidden {
    display: none !important;
}

.modal-background {

    position: absolute;

    inset: 0;

    background:
        rgba(0,0,0,.75);

    backdrop-filter:
        blur(7px);

}

.modal-box {

    position: relative;

    width:
        min(480px,100%);

    background:
        var(--surface);

    border:
        1px solid var(--border);

    border-radius: 22px;

    padding: 35px;

    z-index: 2;

}

.modal-box h2 {

    font-size: 34px;

    margin-bottom: 20px;

}

.modal-box input {

    width: 100%;

    padding: 14px;

    margin-bottom: 12px;

    background:
        #091524;

    border:
        1px solid var(--border);

    border-radius: 10px;

    color: white;

    outline: none;

}

.modal-box input:focus {

    border-color:
        var(--green);

}

.close {

    position: absolute;

    right: 18px;

    top: 10px;

    border: none;

    background: transparent;

    color: var(--muted);

    font-size: 30px;

}

.modal-link {

    text-align: center;

    color: var(--muted);

    margin-top: 18px;

    font-size: 14px;

}

.modal-link button {

    border: none;

    background: transparent;

    color: var(--green);

}

.modal-price {

    font-size: 30px;

    font-weight: 900;

    margin:
        20px 0;

}


/* TOAST */

.toast {

    position: fixed;

    right: 20px;

    bottom: 20px;

    padding:
        15px 20px;

    background:
        var(--surface2);

    border:
        1px solid var(--border);

    border-radius: 12px;

    transform:
        translateY(120px);

    opacity: 0;

    transition: .3s;

    z-index: 200;

}

.toast.show {

    transform:
        translateY(0);

    opacity: 1;

}


/* FOOTER */

footer {

    border-top:
        1px solid var(--border);

    padding:
        30px 7%;

    display: flex;

    justify-content: space-between;

    color: var(--muted);

}


/* RESPONSIVE */

@media(max-width:900px) {

    .hero,
    .pass {

        grid-template-columns: 1fr;

    }

    .course-grid,
    .my-courses {

        grid-template-columns:
            repeat(2,1fr);

    }

}

@media(max-width:650px) {

    .navbar nav {
        display: none;
    }

    .hero {

        padding:
            70px 5%;

    }

    .section {

        padding:
            70px 5%;

    }

    .course-grid,
    .my-courses {

        grid-template-columns: 1fr;

    }

    .pass {

        margin:
            0 4% 70px;

        padding:
            40px 25px;

    }

    .dashboard-header {

        align-items:
            flex-start;

        gap: 20px;

        flex-direction:
            column;

    }

    footer {

        display: grid;

        gap: 10px;

    }

}