/* ===================================
   MODERN ANIMATED CTA SECTION
   =================================== */

.cta-modern {
    position: relative;
    padding: 8rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #fefce8 50%, #ffffff 100%);
    overflow: hidden;
}

/* Animated Background Elements */
.cta-bg-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: 10%;
    animation-delay: -7s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: -30px;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        transform: translate(50px, -50px) rotate(90deg);
        border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
    }

    50% {
        transform: translate(0, -100px) rotate(180deg);
        border-radius: 80% 20% 50% 50% / 20% 75% 25% 80%;
    }

    75% {
        transform: translate(-50px, -50px) rotate(270deg);
        border-radius: 20% 80% 80% 20% / 75% 25% 75% 25%;
    }
}

.gradient-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: -200px;
    right: 20%;
}

.orb-2 {
    background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
    bottom: -200px;
    left: 15%;
    animation-delay: -4s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

/* Content Wrapper */
.cta-content-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(251, 191, 36, 0.1);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Left Text Section */
.cta-text-section {
    animation: slideInLeft 0.8s ease 0.2s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.8s ease 0.4s both;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.cta-badge svg {
    width: 16px;
    height: 16px;
    animation: lightning 2s ease-in-out infinite;
}

@keyframes lightning {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20% {
        transform: rotate(10deg);
    }
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: #111;
    margin-bottom: 1rem;
    animation: slideInLeft 0.8s ease 0.3s both;
}

.highlight-text {
    position: relative;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    opacity: 0.2;
    border-radius: 4px;
    animation: underlineExpand 1s ease 0.8s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    animation: slideInLeft 0.8s ease 0.4s both;
}

/* Trust Indicators */
.cta-trust {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInLeft 0.6s ease calc(0.5s + var(--i) * 0.1s) both;
}

.trust-item:nth-child(1) {
    --i: 1;
}

.trust-item:nth-child(2) {
    --i: 2;
}

.trust-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trust-item span {
    color: #6b7280;
    font-size: 0.95rem;
}

/* Right Action Section */
.cta-action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: slideInRight 0.8s ease 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-button-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #111 0%, #1f2937 100%);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(251, 191, 36, 0.2);
    animation: pulseButton 2s ease-in-out infinite;
}

@keyframes pulseButton {

    0%,
    100% {
        box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.2),
            0 0 0 3px rgba(251, 191, 36, 0.2);
    }

    50% {
        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.3),
            0 0 0 6px rgba(251, 191, 36, 0.3);
    }
}

.cta-button-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.3),
        0 0 0 6px rgba(251, 191, 36, 0.4);
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-arrow {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.cta-button-modern:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}

.cta-button-modern:hover .btn-glow {
    opacity: 0.3;
}

.cta-helper-text {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cta-modern {
        padding: 5rem 0;
    }

    .cta-content-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 3rem;
        text-align: center;
    }

    .cta-text-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-title {
        font-size: 2.25rem;
    }

    .cta-badge {
        margin-bottom: 1rem;
    }

    .cta-trust {
        align-items: center;
    }
}

@media (max-width: 640px) {
    .cta-title {
        font-size: 1.875rem;
    }

    .cta-content-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .cta-button-modern {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .floating-shape {
        display: none;
    }
}