* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

h1,h2,h3,h4,h5,h6{
    font-family: 'roc-grotesk-wide', Arial, sans-serif;
}

body {
    font-family: "Montserrat";
    margin: 0;
    background: #061b16;
    color: #fff;
    overflow-x: hidden;
    width: 100%;
    min-height: 100%;
    margin: 0;
}

.page {
    position: relative;
    min-height: 100vh;

    background-image:
        linear-gradient(90deg,
            rgba(3, 16, 13, .97) 0%,
            rgba(3, 16, 13, .92) 22%,
            rgba(3, 16, 13, .62) 48%,
            rgba(3, 16, 13, .15) 70%),
        linear-gradient(to top,
            rgba(2, 15, 11, .98),
            rgba(2, 15, 11, .15) 40%),
        url("../assets/img/background.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 75%, rgba(20, 120, 85, .35), transparent 28%),
        radial-gradient(circle at 75% 85%, rgba(0, 0, 0, .55), transparent 35%);
    pointer-events: none;
}

.content {
    max-width: 1400px;
    margin: auto;

    padding: 40px 70px 50px;

    display: flex;
    flex-direction: column;
}

.logo {
    width: 165px;
}

.hero {
    max-width: 540px;
    display: flex;
    flex-direction: column;
}

.hero h1 {
    font-size: 56px;
    line-height: .92;
    letter-spacing: -3px;
    font-weight: 800;
}

.subtitle {
    color: #6b8d74;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero p {
    font-size: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
    max-width: 520px;
}

.btn {
    width: 300px;
    background: #edf5ef;
    color: #11261f;
    padding: 14px 14px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 600;
    box-shadow:
        0 8px 40px rgba(0, 0, 0, .18);
    transition: .3s;
    text-decoration: none;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 15px 50px rgba(0, 0, 0, .35);
}

.btn img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.topics {
    font-family: "roc-grotesk-wide", Arial, sans-serif;
    display: flex;
    gap: 55px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.topic {
    width: 110px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

.topic img {
    width: 42px;
    height: 48px;
    object-fit: contain;
    opacity: .75;
    margin-bottom: 14px;
}

.courses-area {
    margin-top: 50px;
    max-width: 760px;
    position: relative;
}

.courses-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.courses-top h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -1px;
}

.courses-wrapper {
    overflow: hidden;
    width: 100%;
}

.courses-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 10px;
}

.courses-row::-webkit-scrollbar {
    display: none;
}

.course-card {
    flex: 0 0 335px;
    height: 145px;
    position: relative;
    overflow: hidden;
    border-radius: 13px;
    border: 1px solid rgba(255, 255, 255, .16);
    text-decoration: none;
    color: white;
    background: #081c17;
    transition: .25s ease;
}

.course-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(231, 241, 233, .42);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .38);
}

.course-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .62;
    transition: .25s ease;
}

.course-card:hover img {
    transform: scale(1.06);
    opacity: .8;
}

.course-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .92));
}

.course-info {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 2;
}

.course-info h3 {
    margin: 0 0 7px;
    font-size: 22px;
}

.course-info span {
    color: rgba(255, 255, 255, .82);
    font-size: 16px;
}

.progress {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar {
    width: 145px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    overflow: hidden;
}

.bar div {
    width: 10%;
    height: 100%;
    background: #8bc99a;
}

.progress small {
    color: #8bc99a;
    font-size: 13px;
}

.locked {
    pointer-events: none;
    opacity: .78;
}

.locked::before {
    content: "EM BREVE";
    position: absolute;
    top: 15px;
    right: 16px;
    z-index: 3;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.locked .course-info::before {
    content: "🔒";
    position: absolute;
    right: 50%;
    bottom: 45px;
    font-size: 34px;
    opacity: .25;
}

.arrow-prev,
.arrow-next {

    position: fixed;
    top: 75%;
    transform: translateY(-50%);

    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: none;
    justify-content: center;
    align-items: center;
    padding-bottom: 8px;

    font-size: 42px;

    color: #8BC99A;

    border: 2px solid #6f9c7b;

    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(8px);

    cursor: pointer;

    transition: .25s;

    z-index: 999;
}

.arrow-prev.show,
.arrow-next.show {
    display: flex;
}

.arrow-prev {
    left: 35px;
}

.arrow-next {
    right: 35px;
}

.arrow-prev:hover,
.arrow-next:hover {

    background: #edf5ef;
    color: #17352c;

    transform: translateY(-50%) scale(1.08);
}

.network {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 260px;
    opacity: .35;
    pointer-events: none;
}