/*=========================================
    CTA
=========================================*/

.cta {

    position: relative;

}

.cta-box {

    position: relative;

    overflow: hidden;

    padding: 100px 60px;

    border-radius: 30px;

    background: linear-gradient(135deg,
            #151515,
            #0d0d0d);

    border: 1px solid rgba(255, 255, 255, .08);

    text-align: center;

    transition:
        transform .4s,
        border-color .4s,
        box-shadow .4s;

}

.cta-box::selection {

    background: transparent;

}

.cta-box:hover {

    transform: translateY(-6px);

    border-color: rgba(255, 212, 0, .18);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .35),
        0 0 50px rgba(255, 212, 0, .06);

}

.cta-box::before {

    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    top: -350px;

    transform: translateX(-50%);

    background: radial-gradient(circle,
            rgba(255, 212, 0, .15),
            transparent 70%);

    pointer-events: none;

    animation: ctaGlow 8s ease-in-out infinite;

}

@keyframes ctaGlow {

    0%,
    100% {

        transform: translateX(-50%) scale(1);

        opacity: .9;

    }

    50% {

        transform: translateX(-50%) scale(1.12);

        opacity: 1;

    }

}

.cta-box::after {
    content: "";
    position: absolute;
    inset: 0;
    top: 0;

    left: -120%;

    width: 120px;

    height: 100%;

    background: linear-gradient(90deg,

            transparent,

            rgba(255, 255, 255, .04),

            transparent);

    transform: skewX(-25deg);

    transition: 1.2s;
    border-radius: 30px;
    border: 1px solid rgba(255, 212, 0, .12);
    pointer-events: none;
}

.cta-box:hover::after {

    left: 130%;

}

.cta-title {

    position: relative;

    font-family: var(--font-title);

    font-size: clamp(2.8rem, 5vw, 4.5rem);

    line-height: 1.1;

    margin: 30px 0 24px;

}

.cta-title span {

    color: var(--color-primary);

    text-shadow: 0 0 18px rgba(255, 212, 0, .18);

}

.cta-description {

    position: relative;

    max-width: 620px;

    margin: auto;

    color: var(--color-text-secondary);

    font-size: 1.15rem;

    line-height: 1.8;

}

.cta-actions {

    position: relative;

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 55px;

}

.cta-actions::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 80px;

    background: radial-gradient(circle,

            rgba(255, 212, 0, .10),

            transparent 70%);

    left: 50%;

    transform: translateX(-50%);

    top: -10px;

    pointer-events: none;

}

.cta-actions .btn-primary {
    box-shadow: 0 10px 30px rgba(255, 212, 0, .15);
}

.cta-actions .btn-primary:hover {

    box-shadow:

        0 15px 40px rgba(255, 212, 0, .25);

}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 212, 0, .4);
    color: var(--color-primary);
    background: transparent;
    transition: .3s;
    font-weight: 600;
}

.btn-outline:hover {
    background: rgba(255, 212, 0, .08);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

@media(max-width:768px) {

    .cta-box {
        padding: 70px 25px;
        border-radius: 22px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 15px;
    }

    .cta-actions a {
        width: 100%;
    }

    .cta-title {
        font-size: clamp(2.2rem, 6vw, 3.2rem);
    }
}