/* ===========================================
   PREMIUM CTA SECTION
=========================================== */

.cta-section {
    padding: 80px 0;
    background: #fff;
}

.cta-container {
    position: relative;
    overflow: hidden;

    max-width: 1100px;
    margin: auto;
    padding: 90px 50px;

    text-align: center;

    border-radius: 0;

    background: linear-gradient(
        90deg,
        #FE6B3D,
        #EF3176,
        #7B2CBF
    );

    box-shadow: 0 35px 80px rgba(123, 44, 191, .25);

    opacity: 0;
    transform: translateY(80px);

    transition: 1s cubic-bezier(.22,1,.36,1);
}

/* Scroll Reveal */

.cta-container.show {
    opacity: 1;
    transform: translateY(0);
}

/* Heading */

.cta-container h2 {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 54px;
    font-weight: 700;
    margin-bottom: 20px;

    opacity: 0;
    transform: translateY(40px);
    transition: .8s;
}

.cta-container.show h2 {
    opacity: 1;
    transform: translateY(0);
}

/* Paragraph */

.cta-container p {
    color: #fff;
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;

    opacity: 0;
    transform: translateY(30px);
    transition: .8s;
    transition-delay: .2s;
}

.cta-container.show p {
    opacity: 1;
    transform: translateY(0);
}

/* Button */

.cta-btn {
    position: relative;
    overflow: hidden;

    display: inline-block;

    padding: 18px 45px;

    background: #fff;
    color: #222;

    font-family: Inter, sans-serif;
    font-size: 22px;
    font-weight: 600;

    text-decoration: none;

    border-radius: 6px;

    opacity: 0;
    transform: scale(.8);

    transition: .6s;
    transition-delay: .4s;
}

.cta-container.show .cta-btn {
    opacity: 1;
    transform: scale(1);
}

.cta-btn::before {
    content: "";

    position: absolute;

    top: -120%;
    left: -40%;

    width: 40%;
    height: 350%;

    background: rgba(255,255,255,.5);

    transform: rotate(25deg);
}

.cta-btn:hover::before {
    animation: shineBtn .8s linear;
}

.cta-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* Background Glow */

.cta-container::after {
    content: "";

    position: absolute;

    right: -100px;
    bottom: -100px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    filter: blur(80px);

    animation: floatGlow2 10s ease-in-out infinite;
}

/* ===========================================
   Responsive
=========================================== */
@media (max-width: 768px) {

    .cta-section {
        position: relative;
        z-index: 1;
        padding: 48px 20px;
    }

    .cta-container {
        position: relative;
        z-index: 2;

        isolation: isolate;

        padding: 38px 20px;

        overflow: hidden;
    }

    .cta-container h2 {
        font-size: 28px;
    }

    .cta-container h2,
    .cta-container p,
    .cta-btn {
        position: relative;
        z-index: 1;
    }

    .cta-container p {
        font-size: 16px;
    }

    .cta-btn {
        position: relative;
        z-index: 2;

        display: flex;

        width: 100%;
        min-height: 52px;

        align-items: center;
        justify-content: center;

        box-sizing: border-box;

        padding: 15px 18px;

        font-size: 15px;

        opacity: 1;
        transform: none;

        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .cta-btn::before,
    .cta-container::after {
        pointer-events: none;
    }

    .cta-container::after {
        z-index: 0;
    }
}
