/* ===== CTA Enhancement Styles ===== */

/* Page Header CTA Section - Above the fold for all pages */
.page-header-cta {
    background: linear-gradient(135deg, #1a1f2e 0%, #3b82f6 100%);
    padding: var(--space-6) 0;
    padding-top: calc(var(--space-6) + 80px); /* Add padding for fixed header */
    text-align: center;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.page-header-cta h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    color: var(--white);
}

.page-header-cta p {
    font-size: var(--text-base);
    margin-bottom: var(--space-5);
    opacity: 0.95;
}

.page-header-cta .btn {
    background: white;
    color: #0f1419;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.page-header-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f1f5f9;
}

/* Inline CTA Boxes - For content sections */
.inline-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    padding: var(--space-6);
    border-radius: var(--space-3);
    text-align: center;
    color: var(--white);
    margin: var(--space-8) 0;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.inline-cta h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-3);
    color: var(--white);
}

.inline-cta p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-5);
    opacity: 0.95;
}

.inline-cta .btn {
    background-color: var(--white);
    color: #0f1419;
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.inline-cta .btn:hover {
    background-color: #f1f5f9;
    color: #0f1419;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Sticky CTA Button - Appears on scroll */
.sticky-cta {
    position: fixed;
    bottom: var(--space-5);
    right: var(--space-5);
    z-index: 999;
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.sticky-cta .btn {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    white-space: nowrap;
}

.sticky-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.45);
}

.sticky-cta .btn i {
    font-size: var(--text-lg);
}

/* Hero CTA Enhancements */
.hero-buttons .btn {
    min-width: 240px;
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn-primary {
    background: var(--gradient-accent);
    animation: pulse 2s infinite;
}

.hero-buttons .btn-secondary {
    margin: 0;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    }
    50% {
        box-shadow: 0 8px 24px rgba(6, 182, 212, 0.5);
    }
}

/* CTA in Navigation */
#consultationBtn {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: var(--space-2) var(--space-5);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

#consultationBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    color: var(--white);
}

/* Tablet and up */
@media (min-width: 768px) {
    .page-header-cta h2 {
        font-size: var(--text-3xl);
    }
    
    .page-header-cta p {
        font-size: var(--text-lg);
    }
    
    .inline-cta {
        padding: var(--space-8);
    }
    
    .inline-cta h3 {
        font-size: var(--text-3xl);
    }
    
    .inline-cta p {
        font-size: var(--text-xl);
    }
    
    .sticky-cta {
        bottom: var(--space-6);
        right: var(--space-6);
    }
    
    .sticky-cta .btn {
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-lg);
    }
    
    .hero-buttons .btn {
        min-width: 220px;
        padding: var(--space-4) var(--space-6);
        font-size: var(--text-base);
    }
}

/* Desktop and up */
@media (min-width: 992px) {
    .page-header-cta h2 {
        font-size: var(--text-4xl);
    }
    
    .inline-cta h3 {
        font-size: var(--text-4xl);
    }
    
    .hero-buttons .btn {
        min-width: 240px;
        padding: var(--space-4) var(--space-8);
        font-size: var(--text-lg);
    }
}

/* Mobile specific */
@media (max-width: 767px) {
    .sticky-cta {
        bottom: var(--space-4);
        right: var(--space-4);
        left: var(--space-4);
    }
    
    .sticky-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
