/* ==================================================
   DIGITAL PRIVACY ESSENTIALS
   COURSE PAGE
================================================== */


/* ==================================================
   HERO
================================================== */

.course-hero {
    width: 100%;

    background:
        linear-gradient(
            135deg,
            #101010 0%,
            #171717 50%,
            #0c0c0c 100%
        );

    color: #ffffff;

    border-bottom: 1px solid #242424;
}


.course-hero-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 100px 50px 110px;

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 90px;
}


/* ==================================================
   HERO CONTENT
================================================== */

.course-hero-content {
    max-width: 720px;
}


.course-eyebrow {
    display: inline-block;

    margin-bottom: 25px;

    color: #858585;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 3px;
}


.course-hero h1 {
    margin: 0;

    font-size: clamp(52px, 6vw, 82px);

    font-weight: 600;

    line-height: 1.02;

    letter-spacing: -4px;
}


.course-hero h1 span {
    display: block;

    color: #818181;
}


.course-hero-description {
    max-width: 640px;

    margin: 30px 0 0;

    color: #aaaaaa;

    font-size: 16px;

    line-height: 1.8;
}


/* ==================================================
   HERO META
================================================== */

.course-hero-meta {
    margin-top: 35px;

    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}


.course-meta-item {
    padding: 10px 14px;

    display: flex;

    align-items: center;

    gap: 8px;

    background-color: rgba(255, 255, 255, 0.04);

    border: 1px solid #2c2c2c;

    border-radius: 8px;

    color: #b5b5b5;

    font-size: 11px;
    font-weight: 500;
}


.course-meta-item svg {
    width: 15px;
    height: 15px;

    color: #888888;
}


/* ==================================================
   HERO BUTTON
================================================== */

.course-primary-button {
    width: fit-content;

    margin-top: 38px;

    padding: 16px 22px;

    display: flex;

    align-items: center;

    gap: 10px;

    background-color: #ffffff;

    color: #111111;

    border: 1px solid #ffffff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.course-primary-button svg {
    width: 16px;
    height: 16px;

    transition: transform 0.3s ease;
}


.course-primary-button:hover {
    background-color: #eeeeee;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);
}


.course-primary-button:hover svg {
    transform: translateY(3px);
}


/* ==================================================
   COURSE COVER
================================================== */

.course-hero-visual {
    width: 100%;

    display: flex;

    justify-content: flex-end;
}


.course-cover {
    width: 100%;
    max-width: 470px;

    aspect-ratio: 4 / 5;

    padding: 30px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(255, 255, 255, 0.10),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #202020 0%,
            #111111 60%,
            #090909 100%
        );

    border: 1px solid #333333;

    border-radius: 18px;

    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.35);
}


.course-cover::before {
    content: "";

    width: 270px;
    height: 270px;

    position: absolute;

    right: -100px;
    bottom: -100px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


.course-cover::after {
    content: "";

    width: 190px;
    height: 190px;

    position: absolute;

    right: -60px;
    bottom: -60px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 50%;
}


.course-cover-top {
    display: flex;

    justify-content: space-between;

    position: relative;

    z-index: 2;

    color: #777777;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}


.course-cover-center {
    position: relative;

    z-index: 2;
}


.course-cover-center > svg {
    width: 50px;
    height: 50px;

    margin-bottom: 28px;

    color: #888888;

    stroke-width: 1.4;
}


.course-cover-center h2 {
    max-width: 350px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(32px, 4vw, 48px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -2px;
}


.course-cover-center h2 span {
    display: block;

    color: #858585;
}


.course-cover-center p {
    max-width: 290px;

    margin: 20px 0 0;

    color: #8f8f8f;

    font-size: 13px;

    line-height: 1.7;
}


.course-cover-bottom {
    position: relative;

    z-index: 2;

    color: #696969;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;
}


/* ==================================================
   INTRODUCTION
================================================== */

.course-intro {
    width: 100%;

    background-color: #f5f5f3;

    color: #111111;
}


.course-intro-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 115px 50px;

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;
}


.course-intro-heading > span {
    display: block;

    margin-bottom: 18px;

    color: #8a8a8a;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
}


.course-intro-heading h2 {
    max-width: 520px;

    margin: 0;

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -2px;
}


.course-intro-heading h2 strong {
    display: block;

    color: #868686;

    font-weight: 500;
}


.course-intro-content {
    max-width: 620px;
}


.course-intro-content p {
    margin: 0 0 22px;

    color: #626262;

    font-size: 15px;

    line-height: 1.9;
}


.course-intro-content p:last-child {
    margin-bottom: 0;
}


/* ==================================================
   SECTION HEADER
================================================== */

.course-section-header {
    max-width: 760px;

    margin-bottom: 60px;
}


.course-section-header > span {
    display: block;

    margin-bottom: 18px;

    color: #888888;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
}


.course-section-header h2 {
    margin: 0;

    color: #111111;

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -2px;
}


.course-section-header h2 strong {
    color: #858585;

    font-weight: 500;
}


/* ==================================================
   WHAT YOU'LL LEARN
================================================== */

.course-learning {
    width: 100%;

    background-color: #ffffff;

    color: #111111;
}


.course-learning-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 115px 50px;
}


.course-learning-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* ==================================================
   LEARNING CARD
================================================== */

.course-learning-card {
    min-height: 315px;

    padding: 30px;

    position: relative;

    background-color: #f7f7f5;

    border: 1px solid #e2e2df;

    border-radius: 14px;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}


.course-learning-card:hover {
    transform: translateY(-6px);

    background-color: #ffffff;

    border-color: #c9c9c5;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.07);
}


.course-card-number {
    position: absolute;

    top: 25px;
    right: 25px;

    color: #a0a0a0;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}


.course-learning-card > svg {
    width: 28px;
    height: 28px;

    margin-bottom: 55px;

    color: #4d4d4d;

    stroke-width: 1.6;
}


.course-learning-card h3 {
    margin: 0 0 13px;

    color: #171717;

    font-size: 19px;
    font-weight: 600;
}


.course-learning-card p {
    margin: 0;

    color: #737373;

    font-size: 13px;

    line-height: 1.75;
}


/* ==================================================
   WHO IT'S FOR
================================================== */

.course-audience {
    width: 100%;

    background-color: #111111;

    color: #ffffff;
}


.course-audience-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 115px 50px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}


.course-audience-content > span {
    display: block;

    margin-bottom: 18px;

    color: #737373;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
}


.course-audience-content h2 {
    margin: 0;

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 500;

    line-height: 1.1;

    letter-spacing: -2px;
}


.course-audience-content h2 strong {
    display: block;

    color: #777777;

    font-weight: 500;
}


.course-audience-content p {
    max-width: 550px;

    margin: 27px 0 0;

    color: #959595;

    font-size: 14px;

    line-height: 1.85;
}


/* ==================================================
   AUDIENCE LIST
================================================== */

.course-audience-list {
    display: flex;

    flex-direction: column;

    border-top: 1px solid #292929;
}


.course-audience-item {
    min-height: 75px;

    display: flex;

    align-items: center;

    gap: 16px;

    border-bottom: 1px solid #292929;

    color: #c5c5c5;

    font-size: 13px;

    transition:
        padding-left 0.3s ease,
        color 0.3s ease;
}


.course-audience-item:hover {
    padding-left: 8px;

    color: #ffffff;
}


.course-audience-item svg {
    width: 18px;
    height: 18px;

    min-width: 18px;

    color: #777777;
}


/* ==================================================
   INCLUDED
================================================== */

.course-includes {
    width: 100%;

    background-color: #f5f5f3;

    color: #111111;
}


.course-includes-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 115px 50px;
}


.course-includes-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* ==================================================
   INCLUDE ITEM
================================================== */

.course-include-item {
    min-height: 190px;

    padding: 27px;

    display: flex;

    align-items: center;

    gap: 20px;

    background-color: #ffffff;

    border: 1px solid #ddddda;

    border-radius: 13px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.course-include-item:hover {
    transform: translateY(-4px);

    border-color: #c7c7c4;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.06);
}


.course-include-item > svg {
    width: 24px;
    height: 24px;

    min-width: 24px;

    color: #555555;

    stroke-width: 1.6;
}


.course-include-item h3 {
    margin: 0 0 9px;

    color: #181818;

    font-size: 16px;
    font-weight: 600;
}


.course-include-item p {
    margin: 0;

    color: #767676;

    font-size: 13px;

    line-height: 1.7;
}


/* ==================================================
   PURCHASE
================================================== */

.course-purchase {
    width: 100%;

    background-color: #ffffff;

    color: #111111;

    scroll-margin-top: 90px;
}


.course-purchase-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 120px 50px;

    display: grid;

    grid-template-columns: 1fr 0.78fr;

    gap: 100px;

    align-items: center;
}


/* ==================================================
   PURCHASE LEFT
================================================== */

.course-purchase-info > span {
    display: block;

    margin-bottom: 18px;

    color: #898989;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 3px;
}


.course-purchase-info h2 {
    max-width: 650px;

    margin: 0;

    color: #111111;

    font-size: clamp(40px, 4.5vw, 62px);

    font-weight: 500;

    line-height: 1.08;

    letter-spacing: -2.5px;
}


.course-purchase-info h2 strong {
    display: block;

    color: #858585;

    font-weight: 500;
}


.course-purchase-info > p {
    max-width: 610px;

    margin: 28px 0 0;

    color: #707070;

    font-size: 14px;

    line-height: 1.85;
}


/* ==================================================
   PURCHASE BENEFITS
================================================== */

.course-purchase-benefits {
    max-width: 580px;

    margin-top: 38px;

    border-top: 1px solid #dddddd;
}


.course-purchase-benefits > div {
    min-height: 55px;

    display: flex;

    align-items: center;

    gap: 13px;

    border-bottom: 1px solid #dddddd;

    color: #555555;

    font-size: 13px;
}


.course-purchase-benefits svg {
    width: 17px;
    height: 17px;

    color: #555555;
}


/* ==================================================
   PURCHASE CARD
================================================== */

.course-purchase-card {
    width: 100%;
    max-width: 500px;

    justify-self: end;

    padding: 38px;

    background:
        linear-gradient(
            145deg,
            #181818 0%,
            #101010 100%
        );

    color: #ffffff;

    border: 1px solid #292929;

    border-radius: 18px;

    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.18);
}


.course-purchase-label {
    display: block;

    margin-bottom: 30px;

    color: #777777;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2.5px;
}


/* ==================================================
   PRICE
================================================== */

.course-price {
    display: flex;

    align-items: flex-start;

    margin-bottom: 25px;
}


.course-price-currency {
    margin-top: 11px;
    margin-right: 7px;

    color: #a0a0a0;

    font-size: 19px;
    font-weight: 500;
}


.course-price > strong {
    color: #ffffff;

    font-size: 74px;
    font-weight: 600;

    line-height: 0.9;

    letter-spacing: -5px;
}


.course-price > div {
    margin-top: 7px;
    margin-left: 5px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}


.course-price-decimal {
    color: #ffffff;

    font-size: 22px;
    font-weight: 600;
}


.course-price-type {
    margin-top: 7px;

    color: #777777;

    font-size: 9px;

    white-space: nowrap;
}


/* ==================================================
   PURCHASE DESCRIPTION
================================================== */

.course-purchase-description {
    margin: 0 0 27px;

    color: #8d8d8d;

    font-size: 12px;

    line-height: 1.7;
}


/* ==================================================
   BUY BUTTON
================================================== */

.course-buy-button {
    width: 100%;

    min-height: 57px;

    padding: 15px 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background-color: #ffffff;

    color: #111111;

    border: 1px solid #ffffff;

    border-radius: 9px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.course-buy-button svg {
    width: 17px;
    height: 17px;

    transition: transform 0.3s ease;
}


.course-buy-button:hover {
    background-color: #eeeeee;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);
}


.course-buy-button:hover svg {
    transform: translate(3px, -3px);
}


/* ==================================================
   SECURE CHECKOUT
================================================== */

.course-purchase-security {
    margin-top: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    color: #727272;

    font-size: 9px;
}


.course-purchase-security svg {
    width: 13px;
    height: 13px;
}


/* ==================================================
   PURCHASE DETAILS
================================================== */

.course-purchase-details {
    margin-top: 30px;

    padding-top: 25px;

    display: flex;

    flex-direction: column;

    gap: 14px;

    border-top: 1px solid #292929;
}


.course-purchase-details > div {
    display: flex;

    align-items: center;

    gap: 11px;

    color: #969696;

    font-size: 11px;
}


.course-purchase-details svg {
    width: 15px;
    height: 15px;

    color: #686868;
}


/* ==================================================
   PURCHASE LEGAL
================================================== */

.course-purchase-legal {
    margin: 27px 0 0;

    padding-top: 22px;

    color: #646464;

    border-top: 1px solid #292929;

    font-size: 9px;

    line-height: 1.7;
}


.course-purchase-legal a {
    color: #a6a6a6;

    text-decoration: underline;

    text-underline-offset: 3px;

    transition: color 0.25s ease;
}


.course-purchase-legal a:hover {
    color: #ffffff;
}


/* ==================================================
   SUPPORT CTA
================================================== */

.course-support {
    width: 100%;

    background-color: #f5f5f3;

    color: #111111;
}


.course-support-container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding: 75px 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;
}


.course-support-container > div {
    max-width: 730px;
}


.course-support-container > div > span {
    display: block;

    margin-bottom: 12px;

    color: #8a8a8a;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 3px;
}


.course-support-container h2 {
    margin: 0;

    color: #151515;

    font-size: clamp(27px, 3vw, 38px);

    font-weight: 500;

    letter-spacing: -1.3px;
}


.course-support-container p {
    margin: 13px 0 0;

    color: #777777;

    font-size: 13px;

    line-height: 1.7;
}


/* ==================================================
   SUPPORT BUTTON
================================================== */

.course-support-button {
    min-width: 190px;

    padding: 15px 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background-color: #111111;

    color: #ffffff;

    border: 1px solid #111111;

    border-radius: 8px;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.course-support-button span {
    transition: transform 0.3s ease;
}


.course-support-button:hover {
    background-color: #292929;

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);
}


.course-support-button:hover span {
    transform: translateX(4px);
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 1100px) {

    .course-hero-container {
        gap: 60px;
    }


    .course-learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .course-intro-container,
    .course-audience-container,
    .course-purchase-container {
        gap: 65px;
    }


    .course-purchase-container {
        grid-template-columns: 1fr 0.9fr;
    }

}


/* ==================================================
   TABLET / MOBILE
================================================== */

@media (max-width: 900px) {

    .course-hero-container {
        padding: 85px 30px;

        grid-template-columns: 1fr;

        gap: 65px;
    }


    .course-hero-content {
        max-width: 760px;
    }


    .course-hero-visual {
        justify-content: flex-start;
    }


    .course-cover {
        max-width: 520px;
    }


    .course-intro-container {
        padding: 90px 30px;

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .course-learning-container,
    .course-includes-container {
        padding: 90px 30px;
    }


    .course-audience-container {
        padding: 90px 30px;

        grid-template-columns: 1fr;

        gap: 55px;
    }


    .course-includes-grid {
        grid-template-columns: 1fr;
    }


    .course-include-item {
        min-height: auto;
    }


    .course-purchase-container {
        padding: 95px 30px;

        grid-template-columns: 1fr;

        gap: 65px;
    }


    .course-purchase-card {
        max-width: 600px;

        justify-self: start;
    }


    .course-support-container {
        padding: 65px 30px;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 768px) {

    .course-hero-container {
        padding: 70px 20px 80px;
    }


    .course-hero h1 {
        letter-spacing: -2.5px;
    }


    .course-hero-description {
        font-size: 14px;
    }


    .course-hero-meta {
        flex-direction: column;

        align-items: flex-start;
    }


    .course-cover {
        max-width: 100%;

        padding: 25px;

        border-radius: 14px;
    }


    .course-intro-container,
    .course-learning-container,
    .course-audience-container,
    .course-includes-container,
    .course-purchase-container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .course-learning-grid {
        grid-template-columns: 1fr;
    }


    .course-learning-card {
        min-height: 280px;
    }


    .course-section-header {
        margin-bottom: 45px;
    }


    .course-support-container {
        padding: 55px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }


    .course-support-button {
        width: 100%;
    }

}


/* ==================================================
   SMALL MOBILE
================================================== */

@media (max-width: 480px) {

    .course-hero-container {
        padding-top: 60px;
        padding-bottom: 70px;
    }


    .course-hero h1 {
        font-size: 46px;

        letter-spacing: -2px;
    }


    .course-primary-button {
        width: 100%;

        justify-content: center;
    }


    .course-cover {
        aspect-ratio: 4 / 5.3;

        padding: 22px;
    }


    .course-cover-center > svg {
        width: 42px;
        height: 42px;
    }


    .course-cover-center h2 {
        font-size: 34px;
    }


    .course-intro-container,
    .course-learning-container,
    .course-audience-container,
    .course-includes-container,
    .course-purchase-container {
        padding-top: 75px;
        padding-bottom: 75px;
    }


    .course-intro-heading h2,
    .course-section-header h2,
    .course-audience-content h2,
    .course-purchase-info h2 {
        font-size: 37px;

        letter-spacing: -1.5px;
    }


    .course-learning-card {
        min-height: 260px;

        padding: 25px;
    }


    .course-learning-card > svg {
        margin-bottom: 45px;
    }


    .course-include-item {
        padding: 23px;
    }


    .course-purchase-card {
        padding: 28px 23px;

        border-radius: 14px;
    }


    .course-price > strong {
        font-size: 64px;
    }


    .course-price-decimal {
        font-size: 19px;
    }


    .course-support-container {
        padding-top: 50px;
        padding-bottom: 50px;
    }

}


/* ==================================================
   ACCESSIBILITY
================================================== */

@media (prefers-reduced-motion: reduce) {

    .course-primary-button,
    .course-primary-button svg,
    .course-learning-card,
    .course-audience-item,
    .course-include-item,
    .course-buy-button,
    .course-buy-button svg,
    .course-support-button,
    .course-support-button span {
        transition: none;
    }

}

/* ==================================================
   SMOOTH CARD HOVER
================================================== */

.course-learning-card.reveal-active {
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        scale 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.course-learning-card.reveal-active:hover {
    scale: 1.015;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        scale 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.course-include-item.reveal-active {
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        scale 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.course-include-item.reveal-active:hover {
    scale: 1.015;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        scale 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}