/**
 * ============================================================================
 * CALL TO ACTION SECTION
 * Elegant, centered design with perfect spacing
 * ============================================================================
 */

/* CTA Section Container */
.cta-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(
        135deg,
        #1e293b 0%,
        #0f172a 100%
    );
    overflow: hidden;
}

/* Background Pattern */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Inner Container */
.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 32px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Content Box */
.cta-content-box {
    text-align: center;
}

/* Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(244, 114, 182, 0.1));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 50px;
    margin-bottom: 32px;
    animation: fadeInUp 0.6s ease;
}

.cta-badge i {
    font-size: 0.875rem;
    color: #f472b6;
}

.cta-badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
}

/* Main Content */
.cta-main-content {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

/* Heading */
.cta-heading {
    font-size: clamp(1.875rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-heading-accent {
    display: block;
    background: linear-gradient(135deg, #f472b6, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    margin-top: 8px;
}

/* Text */
.cta-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Button Group */
.cta-button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* CTA Buttons */
.btn-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
}

.btn-cta-text,
.btn-cta-icon {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

/* Filled Button */
.btn-cta-filled {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

.btn-cta-filled::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-cta-filled:hover::before {
    opacity: 1;
}

.btn-cta-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.6);
}

.btn-cta-filled:hover .btn-cta-text,
.btn-cta-filled:hover .btn-cta-icon {
    color: #ec4899;
}

.btn-cta-filled:hover .btn-cta-icon {
    transform: translateX(4px);
}

/* Outlined Button */
.btn-cta-outlined {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-outlined::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-cta-outlined:hover::before {
    opacity: 1;
}

.btn-cta-outlined:hover {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-cta-outlined:hover .btn-cta-icon {
    transform: translateX(4px);
}

/* Features List */
.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-feature-item i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ec4899, #f472b6);
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.625rem;
    flex-shrink: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Small Mobile (320px - 480px) */
@media (min-width: 320px) {
    .cta-section {
        padding: 60px 16px;
    }
    
    .cta-inner {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .cta-badge {
        padding: 8px 20px;
        margin-bottom: 24px;
    }
    
    .cta-main-content {
        margin-bottom: 32px;
    }
    
    .cta-button-group {
        margin-bottom: 32px;
    }
    
    .btn-cta {
        width: 100%;
        padding: 16px 32px;
    }
    
    .cta-features {
        max-width: 100%;
    }
}

/* Standard Mobile (481px - 640px) */
@media (min-width: 481px) {
    .cta-section {
        padding: 70px 20px;
    }
    
    .cta-inner {
        padding: 50px 32px;
    }
}

/* Large Mobile / Tablet (641px - 768px) */
@media (min-width: 641px) {
    .cta-section {
        padding: 80px 24px;
    }
    
    .cta-inner {
        padding: 60px 40px;
    }
    
    .cta-badge {
        padding: 10px 28px;
        margin-bottom: 32px;
    }
    
    .cta-main-content {
        margin-bottom: 40px;
    }
    
    .cta-button-group {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .btn-cta {
        width: auto;
        min-width: 220px;
    }
    
    .cta-features {
        flex-direction: row;
        max-width: 100%;
    }
    
    .cta-feature-item {
        flex: 1;
        padding: 14px 16px;
        justify-content: flex-start;
    }
}

/* Desktop (769px - 1024px) */
@media (min-width: 769px) {
    .cta-section {
        padding: 100px 32px;
    }
    
    .cta-inner {
        padding: 70px 60px;
        border-radius: 28px;
    }
    
    .cta-badge {
        padding: 12px 32px;
        margin-bottom: 40px;
    }
    
    .cta-main-content {
        margin-bottom: 48px;
    }
    
    .cta-button-group {
        margin-bottom: 48px;
    }
    
    .btn-cta {
        padding: 18px 44px;
        min-width: 240px;
    }
}

/* Large Desktop (1025px+) */
@media (min-width: 1025px) {
    .cta-section {
        padding: 120px 40px;
    }
    
    .cta-inner {
        padding: 80px 80px;
        max-width: 1000px;
    }
    
    .cta-heading {
        margin-bottom: 24px;
    }
}

/* Extra Large Desktop (1280px+) */
@media (min-width: 1280px) {
    .cta-inner {
        max-width: 1100px;
        padding: 90px 100px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cta-badge,
    .cta-main-content,
    .cta-button-group,
    .cta-features {
        animation: none;
    }
    
    .btn-cta:hover {
        transform: none;
    }
    
    .btn-cta:hover .btn-cta-icon {
        transform: none;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .cta-section {
        background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
    }
}