﻿/* ============================================================
   CTA.CSS
   ============================================================ */

.cta {
    padding: var(--space-5xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-900) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    position: relative;
    overflow: hidden;
}

    .cta-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    }

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cta-desc {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.cta .btn-primary {
    background: white;
    color: var(--brand-700);
    box-shadow: none;
}

    .cta .btn-primary:hover {
        background: var(--brand-50);
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
    }

.cta .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: none;
}

    .cta .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.5);
    }

/* Floating decoration circles */
.cta-float {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: ctaFloat 10s ease-in-out infinite;
}

.cta-float-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.cta-float-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    right: 10%;
    animation-delay: -3s;
}

.cta-float-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: -30px;
    animation-delay: -6s;
}

@keyframes ctaFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.1);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-actions {
        flex-direction: column;
    }

        .cta-actions .btn {
            width: 100%;
        }

    .cta-wrapper {
        padding: var(--space-2xl) var(--space-lg);
    }
}
