/* ===================================
   CTA SECTION - MODERN DESIGN
   =================================== */

/* Section Container */
.cta-modern-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.cta-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.cta-modern-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Header Section */
.cta-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cta-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.cta-badge-icon {
    color: white;
    display: flex;
    align-items: center;
}

.cta-badge-text {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.cta-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e293b, #475569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 500;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Content Grid */
.cta-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Main CTA Card */
.cta-main-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15);
}

.cta-card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.cta-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cta-main-card:hover .cta-background-image {
    transform: scale(1.05);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(71, 85, 105, 0.8) 100%);
    z-index: 2;
}

.cta-card-content {
    position: relative;
    z-index: 3;
    padding: 3rem;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.cta-content-header {
    margin-bottom: 2rem;
}

.cta-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-icon-wrapper svg {
    color: white;
}

.cta-card-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-card-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Features */
.cta-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.cta-feature-icon {
    display: flex;
    align-items: center;
    color: #3b82f6;
}

.cta-feature-item span {
    font-weight: 500;
    font-size: 0.875rem;
    color: white;
}

/* Actions */
.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.cta-button-icon {
    transition: transform 0.3s ease;
}

.cta-primary-button:hover .cta-button-icon {
    transform: translate(2px, -2px);
}

.cta-secondary-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Stats Grid */
.cta-stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-stat-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cta-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    border-color: #cbd5e1;
}

.cta-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    color: #3b82f6;
    flex-shrink: 0;
}

.cta-stat-content {
    flex: 1;
}

.cta-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.cta-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

/* Trust Section */
.cta-trust-section {
    background: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 2;
}

.cta-trust-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.cta-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 16px;
    color: white;
    flex-shrink: 0;
}

.cta-trust-text {
    flex: 1;
}

.cta-trust-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.cta-trust-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cta-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .cta-main-title {
        font-size: 3rem;
    }
    
    .cta-card-content {
        padding: 2.5rem;
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .cta-modern-section {
        padding: 4rem 0;
    }
    
    .cta-header {
        margin-bottom: 3rem;
    }
    
    .cta-main-title {
        font-size: 2.5rem;
    }
    
    .cta-subtitle {
        font-size: 1.125rem;
    }
    
    .cta-content-grid {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .cta-card-content {
        padding: 2rem;
        min-height: 400px;
    }
    
    .cta-card-title {
        font-size: 1.75rem;
    }
    
    .cta-card-description {
        font-size: 1rem;
    }
    
    .cta-features {
        gap: 1rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-primary-button,
    .cta-secondary-button {
        justify-content: center;
        width: 100%;
    }
    
    .cta-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-stat-card {
        padding: 1.5rem;
    }
    
    .cta-trust-section {
        padding: 2rem;
    }
    
    .cta-trust-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .cta-modern-section {
        padding: 3rem 0;
    }
    
    .cta-main-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-card-content {
        padding: 1.5rem;
        min-height: 350px;
    }
    
    .cta-card-title {
        font-size: 1.5rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-feature-item {
        justify-content: center;
    }
    
    .cta-stat-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-stat-number {
        font-size: 1.75rem;
    }
    
    .cta-trust-section {
        padding: 1.5rem;
    }
    
    .cta-trust-icon {
        width: 56px;
        height: 56px;
    }
    
    .cta-trust-title {
        font-size: 1.125rem;
    }
    
    .cta-trust-description {
        font-size: 0.875rem;
    }
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-header,
.cta-main-card,
.cta-stat-card,
.cta-trust-section {
    animation: fadeInUp 0.6s ease-out;
}

.cta-main-card {
    animation-delay: 0.1s;
}

.cta-stat-card:nth-child(1) {
    animation-delay: 0.2s;
}

.cta-stat-card:nth-child(2) {
    animation-delay: 0.3s;
}

.cta-stat-card:nth-child(3) {
    animation-delay: 0.4s;
}

.cta-trust-section {
    animation-delay: 0.5s;
}

/* Focus states for accessibility */
.cta-primary-button:focus,
.cta-secondary-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* Loading animation for future dynamic content */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.cta-loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hover effects for interactive elements */
.cta-stat-card,
.cta-trust-section {
    cursor: default;
}

.cta-main-card {
    cursor: pointer;
}

/* Print styles */
@media print {
    .cta-modern-section {
        background: white;
        box-shadow: none;
    }
    
    .cta-main-card,
    .cta-stat-card,
    .cta-trust-section {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}