/* ============================================
   Final CTA Section - Animated Background (Even Section)
   ============================================ */

.final-cta-section {
    background: 
        linear-gradient(135deg, #fafbff 0%, #f0f4ff 25%, #ffffff 50%, #f8faff 75%, #fafbff 100%),
        linear-gradient(45deg, rgba(42, 193, 174, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Animated Background Elements */
.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        /* Dynamic orbs */
        radial-gradient(circle 100px at 10% 20%, rgba(42, 193, 174, 0.1) 0%, transparent 70%),
        radial-gradient(circle 80px at 90% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
        radial-gradient(circle 60px at 20% 80%, rgba(6, 182, 212, 0.09) 0%, transparent 70%),
        radial-gradient(circle 90px at 80% 70%, rgba(245, 158, 11, 0.06) 0%, transparent 70%),
        radial-gradient(circle 70px at 50% 10%, rgba(236, 72, 153, 0.07) 0%, transparent 70%),
        /* Geometric patterns */
        linear-gradient(45deg, transparent 48%, rgba(42, 193, 174, 0.03) 49%, rgba(42, 193, 174, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(139, 92, 246, 0.03) 49%, rgba(139, 92, 246, 0.03) 51%, transparent 52%);
    background-size: auto, auto, auto, auto, auto, 120px 120px, 100px 100px;
    animation: finalCtaFloating 30s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes finalCtaFloating {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) translateX(15px) rotate(2deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-35px) translateX(-10px) rotate(0deg);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-15px) translateX(-20px) rotate(-2deg);
        opacity: 0.7;
    }
}

/* Content Styling */
.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* CTA Badge */
.cta-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: finalCtaFadeInUp 0.8s ease forwards 0.2s;
}

.cta-badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #8B5CF6;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 1.5rem;
    background: 
        linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(42, 193, 174, 0.1) 100%);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.cta-badge-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2), transparent);
    transition: left 0.8s ease;
}

.cta-badge:hover .cta-badge-text::before {
    left: 100%;
}

.cta-badge:hover .cta-badge-text {
    background: 
        linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(42, 193, 174, 0.15) 100%);
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

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

/* Main Title */
.final-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: finalCtaFadeInUp 0.8s ease forwards 0.4s;
}

/* Description */
.final-cta-description {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: finalCtaFadeInUp 0.8s ease forwards 0.6s;
}

/* CTA Buttons */
.final-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: finalCtaFadeInUp 0.8s ease forwards 0.8s;
}

.cta-primary-btn {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-primary-btn:hover::before {
    left: 100%;
}

.cta-primary-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.cta-secondary-btn {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid #2BC7B4;
    color: #2BC7B4;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-secondary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2BC7B4, #8B5CF6);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cta-secondary-btn:hover::before {
    opacity: 1;
}

.cta-secondary-btn:hover {
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(42, 193, 174, 0.4);
}

/* CTA Features */
.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: finalCtaFadeInUp 0.8s ease forwards 1s;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-feature i {
    color: #22c55e;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-feature:hover {
    color: #1e293b;
    transform: translateY(-2px);
}

.cta-feature:hover i {
    color: #16a34a;
    transform: scale(1.2);
}

/* Trust Indicators */
.cta-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: finalCtaFadeInUp 0.8s ease forwards 1.2s;
}

.trust-item {
    text-align: center;
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #2BC7B4;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(42, 193, 174, 0.2);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-number {
    color: #059669;
    transform: scale(1.1);
}

.trust-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Floating Shapes */
.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: finalCtaShapeFloat 8s ease-in-out infinite;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2BC7B4, #06B6D4);
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F59E0B, #F97316);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #EC4899, #F472B6);
    bottom: 20%;
    right: 10%;
    animation-delay: 6s;
}

@keyframes finalCtaShapeFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .final-cta-section {
        padding: 80px 0;
    }
    
    .final-cta-title {
        font-size: 2.8rem;
    }
    
    .final-cta-description {
        font-size: 1.1rem;
    }
    
    .final-cta-buttons {
        gap: 1rem;
    }
    
    .cta-trust-indicators {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .final-cta-section {
        padding: 60px 0;
    }
    
    .final-cta-title {
        font-size: 2.2rem;
    }
    
    .final-cta-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .final-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-primary-btn,
    .cta-secondary-btn {
        width: 100%;
        max-width: 300px;
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-trust-indicators {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .trust-number {
        font-size: 1.5rem;
    }
    
    .floating-shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .final-cta-title {
        font-size: 1.8rem;
    }
    
    .final-cta-description {
        font-size: 0.95rem;
    }
    
    .cta-badge-text {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
    
    .trust-number {
        font-size: 1.3rem;
    }
    
    .trust-label {
        font-size: 0.8rem;
    }
}

/* Performance optimizations */
.final-cta-content,
.floating-shape,
.trust-item {
    will-change: transform;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .final-cta-section::before,
    .floating-shape,
    .final-cta-content > * {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .cta-primary-btn:hover,
    .cta-secondary-btn:hover,
    .trust-item:hover {
        transform: none;
    }
}
