/* =========================================
   LUNA IPTV — PRICING PAGE
========================================= */


/* =========================================
   HEADER
========================================= */

.pricing-page header {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;

    z-index: 20;

    background: linear-gradient(
        180deg,
        rgba(2, 7, 14, 0.88) 0%,
        rgba(2, 7, 14, 0.45) 55%,
        transparent 100%
    );

    border: 0;
}

.pricing-page header nav {
    gap: 20px;
}


/* =========================================
   MAIN PRICING HERO
========================================= */

.pricing-main-hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #02060d;
}


/* =========================================
   FULL SCREEN HERO IMAGE
========================================= */

.pricing-main-hero .pricing-hero-image {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    max-width: none;
    max-height: none;

    margin: 0;
    padding: 0;

    display: block;

    object-fit: cover;

    /* Moon + TV remain towards right */
    object-position: center center;

    transform: none;

    z-index: 0;
}


/* =========================================
   HERO OVERLAY
========================================= */

.pricing-main-hero::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    /*
       Left darker so text is readable.
       Right side lighter so TV remains visible.
    */

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.38) 30%,
            rgba(0, 0, 0, 0.10) 58%,
            rgba(0, 0, 0, 0.04) 100%
        );
}


/* =========================================
   HERO CONTENT
========================================= */

.pricing-main-hero .hero-copy {
    position: relative;

    z-index: 3;

    width: min(1400px, calc(100% - 100px));
    max-width: none;

    margin: 0 auto;

    padding-top: 80px;

    opacity: 1;
    transform: none;

    text-align: left;
}


/* =========================================
   EYEBROW
========================================= */

.pricing-main-hero .eyebrow {
    display: block;

    width: fit-content;
    max-width: 600px;

    margin: 0 0 25px;

    font-size: 14px;
    line-height: 1.4;

    letter-spacing: 4px;
}


/* =========================================
   HERO HEADING
========================================= */

.pricing-main-hero .hero-copy h1 {
    width: fit-content;
    max-width: 650px;

    margin: 0 0 28px;

    font-family: Georgia, serif;

    font-size: clamp(52px, 5vw, 78px);

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* Highlighted heading */

.pricing-main-hero .hero-copy h1 em {
    font-weight: 400;
}


/* =========================================
   HERO DESCRIPTION
========================================= */

.pricing-main-hero .hero-copy p {
    width: 100%;
    max-width: 570px;

    margin: 0 0 30px;

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================
   HERO BUTTONS
========================================= */

.pricing-main-hero .actions {
    width: fit-content;
    max-width: 600px;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 25px;
}


/* =========================================
   LIVE TV / MOVIES / SERIES
========================================= */

.pricing-main-hero .hero-note {
    width: fit-content;
    max-width: 600px;

    display: flex;

    align-items: center;
    justify-content: flex-start;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 30px;
}


/* =========================================
   REMOVE OLD MOON
========================================= */

.pricing-main-hero .moon-space {
    display: none !important;
}


/* =========================================
   EXPLORE LUNA PLANS
========================================= */

.pricing-main-hero .scroll-note {
    position: absolute;

    left: max(
        50px,
        calc((100% - 1400px) / 2)
    );

    bottom: 25px;

    z-index: 4;
}


/* =========================================
   PRICING SECTION
========================================= */

.pricing-page #pricing {
    position: relative;

    z-index: 2;

    padding-top: 70px;
}


/* =========================================
   OLD PRICING HERO
========================================= */

.pricing-hero {
    text-align: center;

    padding: 75px 0 25px;
}

.pricing-hero h1 {
    font-family: Georgia, serif;

    font-size: clamp(44px, 5vw, 68px);

    font-weight: 400;

    letter-spacing: -1.5px;

    line-height: 1.14;
}

.pricing-hero p {
    max-width: 620px;

    margin: 25px auto;

    font-size: 17px;
}


/* =========================================
   PRICING EXPLAINER
========================================= */

.pricing-explainer {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;

    padding-top: 75px;
}

.pricing-explainer p {
    font-size: 16px;
}


/* =========================================
   PLAN DETAILS DIALOG
========================================= */

.pricing-page dialog {
    position: relative;

    width: 90%;
    max-width: 520px;

    padding: 38px;

    border: 1px solid #b9d9ff44;

    border-radius: 20px;

    background: #0e1d31;

    color: #f2f7ff;
}

.pricing-page dialog::backdrop {
    background: #030812cc;

    backdrop-filter: blur(5px);
}

.pricing-page dialog h2 {
    font-size: 30px;
}

.pricing-page dialog p {
    font-size: 16px;

    line-height: 1.8;
}

.pricing-page dialog .close {
    position: absolute;

    top: 10px;
    right: 15px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .pricing-main-hero {
        min-height: 780px;
    }


    .pricing-main-hero .pricing-hero-image {
        object-position: 58% center;
    }


    .pricing-main-hero .hero-copy {
        width: calc(100% - 60px);

        padding-top: 90px;
    }


    .pricing-main-hero .hero-copy h1 {
        max-width: 560px;

        font-size: clamp(48px, 6vw, 65px);
    }


    .pricing-main-hero .hero-copy p {
        max-width: 500px;
    }


    .pricing-main-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.68) 0%,
                rgba(0, 0, 0, 0.48) 40%,
                rgba(0, 0, 0, 0.12) 75%,
                rgba(0, 0, 0, 0.06) 100%
            );
    }


    .pricing-main-hero .scroll-note {
        left: 30px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    /* HEADER */

    .pricing-page header nav {
        gap: 16px;
    }


    /* HERO */

    .pricing-main-hero {
        width: 100%;

        min-height: 760px;

        margin: 0;

        padding: 0;

        display: flex;

        align-items: center;

        overflow: hidden;
    }


    /* BACKGROUND IMAGE */

    .pricing-main-hero .pricing-hero-image {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

        margin: 0;

        object-fit: cover;

        /*
           Shift image right so some of the
           TV/moon remains visible.
        */

        object-position: 65% center;
    }


    /* MOBILE OVERLAY */

    .pricing-main-hero::after {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.82) 0%,
                rgba(0, 0, 0, 0.65) 48%,
                rgba(0, 0, 0, 0.30) 75%,
                rgba(0, 0, 0, 0.15) 100%
            );
    }


    /* CONTENT */

    .pricing-main-hero .hero-copy {
        position: relative;

        z-index: 3;

        width: calc(100% - 32px);

        margin: 0 auto;

        padding-top: 80px;

        text-align: left;
    }


    /* EYEBROW */

    .pricing-main-hero .eyebrow {
        max-width: 100%;

        margin-bottom: 18px;

        font-size: 11px;

        letter-spacing: 2.5px;
    }


    /* HEADING */

    .pricing-main-hero .hero-copy h1 {
        width: 100%;
        max-width: 500px;

        margin-bottom: 20px;

        font-size: clamp(42px, 12vw, 58px);

        line-height: 1.07;

        letter-spacing: -1.3px;
    }


    /* PARAGRAPH */

    .pricing-main-hero .hero-copy p {
        width: 100%;
        max-width: 450px;

        margin-bottom: 25px;

        font-size: 16px;

        line-height: 1.65;
    }


    /* BUTTONS */

    .pricing-main-hero .actions {
        width: 100%;

        max-width: 450px;

        gap: 10px;

        margin-top: 20px;
    }


    /* HERO NOTE */

    .pricing-main-hero .hero-note {
        width: 100%;

        max-width: 450px;

        flex-wrap: wrap;

        gap: 10px;

        margin-top: 22px;
    }


    /* SCROLL NOTE */

    .pricing-main-hero .scroll-note {
        left: 16px;

        bottom: 18px;
    }


    /* OLD PRICING HERO */

    .pricing-hero {
        padding-top: 45px;
    }


    /* PRICING */

    .pricing-page #pricing {
        padding-top: 45px;
    }


    /* EXPLAINER */

    .pricing-explainer {
        grid-template-columns: 1fr;

        gap: 20px;

        padding-top: 45px;
    }


    /* DIALOG */

    .pricing-page dialog {
        width: calc(100% - 30px);

        padding: 28px 22px;
    }
}

