/* ============================================================================
   CTA SECTION - Reusable Call-to-Action Section
   ============================================================================
   Usage:
   <section class="cta-section">
       <div class="container">
           <div class="cta-content">
               <h2 class="cta-title">Ready to Get Started?</h2>
               <p class="cta-desc">Description text here.</p>
               <div class="cta-actions">
                   <a href="#" class="btn-gold">Primary CTA</a>
                   <a href="#" class="btn-outline">Secondary CTA</a>
               </div>
           </div>
       </div>
   </section>

   Variants:
   - .cta-section--alt: Darker background
   - .cta-section--compact: Reduced padding
   - .cta-section--left: Left-aligned content
   ============================================================================ */

/* Base CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

/* Gradient background glow */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Alt background variant */
.cta-section--alt {
    background: #0a1018;
}

/* Compact variant */
.cta-section--compact {
    padding: 80px 0;
}

/* Left-aligned variant */
.cta-section--left {
    text-align: left;
}

.cta-section--left .cta-content {
    margin-left: 0;
    margin-right: auto;
}

.cta-section--left .cta-actions {
    justify-content: flex-start;
}

/* Content container */
.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

/* CTA Title */
.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #f1f5f9;
    margin: 0 0 20px 0;
}

/* Title accent span */
.cta-title .accent {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* CTA Description */
.cta-desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #94a3b8;
    margin: 0 0 32px 0;
}

/* CTA Actions container */
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================================
   GRADIENT BACKGROUND VARIANTS
   ============================================================================ */

/* Cyan glow (default) */
.cta-section--cyan::before {
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

/* Purple glow */
.cta-section--purple::before {
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

/* Gold glow */
.cta-section--gold::before {
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

/* Green glow */
.cta-section--green::before {
    background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
}

/* Mixed glow (cyan + purple) */
.cta-section--mixed::before {
    background:
        radial-gradient(ellipse 50% 40% at 30% 50%, rgba(6, 182, 212, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 70% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
    .cta-section {
        padding: 80px 0;
    }

    .cta-section--compact {
        padding: 60px 0;
    }

    .cta-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
    }

    .cta-desc {
        font-size: 1rem;
        margin-bottom: 28px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions > * {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-section--left .cta-actions {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 60px 0;
    }

    .cta-section--compact {
        padding: 48px 0;
    }

    .cta-desc {
        font-size: 0.9375rem;
    }
}
