/* ============================================
        CTA BANNER
============================================ */

.cta-section {
    position: relative;
    padding: 60px 0 130px;
    background: var(--bg);
    overflow: hidden;
    transition: background .4s ease;
}

.cta-section .container {
    width: min(1320px, 92%);
    margin: auto;
    position: relative;
    z-index: 3;
}

.cta-banner {
    position: relative;
    padding: 80px 70px;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    isolation: isolate;
    transition: transform .4s ease, box-shadow .4s ease;
}

/* Animated gradient border */
.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 40%, transparent 60%, var(--accent-3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

body.dark .cta-banner {
    background: linear-gradient(135deg, rgba(212, 164, 45, .10), rgba(17, 17, 17, .85) 45%, rgba(212, 164, 45, .06));
    box-shadow: 0 25px 70px var(--shadow-strong);
}

body.light .cta-banner {
    background: linear-gradient(135deg, rgba(89, 184, 255, .10), rgba(255, 255, 255, .9) 45%, rgba(89, 184, 255, .06));
    box-shadow: 0 25px 70px var(--shadow);
}

.cta-banner:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 90px var(--shadow-strong), 0 0 60px var(--accent-glow);
}

/* Glows */
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.cta-glow-1 {
    width: 380px;
    height: 380px;
    top: -150px;
    right: -100px;
    background: radial-gradient(circle, var(--accent-glow-strong), transparent 65%);
}

.cta-glow-2 {
    width: 300px;
    height: 300px;
    bottom: -130px;
    left: 10%;
    background: radial-gradient(circle, var(--accent-glow), transparent 65%);
}

/* Shine sweep */
.cta-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 45%;
    height: 100%;
    transform: skewX(-20deg);
    background: linear-gradient(transparent, rgba(255, 255, 255, .06), transparent);
    animation: ctaShine 7s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes ctaShine {
    0%, 60% { left: -60%; }
    100% { left: 160%; }
}

/* Content */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.cta-tag {
    display: inline-block;
    padding: 9px 24px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--accent);
    background: var(--accent-soft);
    border: 1px solid var(--accent-border);
    margin-bottom: 26px;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.5;
    color: var(--text);
    margin-bottom: 22px;
}

.cta-content h2 span {
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cta-content p {
    font-size: 17px;
    line-height: 2.1;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 460px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    color: var(--bg);
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
    box-shadow: 0 12px 35px var(--accent-glow-strong);
    transition: transform .35s ease, box-shadow .35s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--accent-glow-strong);
}

.cta-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    color: var(--accent);
    border: 1.5px solid var(--accent);
    transition: all .35s ease;
}

.cta-btn-ghost:hover {
    background: var(--accent-soft);
    transform: translateY(-5px);
}

/* Art */
.cta-art {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-art-circle {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
    color: var(--bg);
    box-shadow: 0 20px 55px var(--accent-glow-strong);
    animation: ctaFloat 5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.cta-art-circle svg {
    width: 64px;
    height: 64px;
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.cta-art-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--accent);
    animation: ringSpin 30s linear infinite;
    opacity: .6;
}

.ring-1 { width: 180px; height: 180px; }
.ring-2 { width: 210px; height: 210px; animation-direction: reverse; animation-duration: 40s; opacity: .35; }
.ring-3 { width: 240px; height: 240px; animation-duration: 55s; opacity: .2; }

@keyframes ringSpin {
    to { transform: rotate(360deg); }
}

/* ============================================
        RESPONSIVE
============================================ */

@media (max-width: 900px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 60px 35px;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .cta-art {
        width: 190px;
        height: 190px;
    }

    .cta-art-circle {
        width: 100px;
        height: 100px;
    }

    .ring-1 { width: 150px; height: 150px; }
    .ring-2 { width: 175px; height: 175px; }
    .ring-3 { width: 195px; height: 195px; }
}

@media (max-width: 600px) {
    .cta-section { padding: 40px 0 100px; }
    .cta-banner { padding: 45px 24px; border-radius: 28px; }
    .cta-content h2 { font-size: 26px; }
    .cta-content p { font-size: 15px; }
    .cta-buttons a { width: 100%; justify-content: center; }
    .cta-art { display: none; }
}
