/* ====================================
   COZY COSMIC CTA COMPONENT
   Design System 2.0 - Replaces white-on-white CTA
   ==================================== */

.cosmic-cta {
    background: radial-gradient(circle at top left, rgba(123, 92, 255, 0.18), transparent 55%),
                radial-gradient(circle at bottom right, rgba(249, 115, 197, 0.16), transparent 45%),
                var(--bg-surface, #ffffff);
    border-radius: 24px;
    padding: 2.5rem 2.75rem;
    box-shadow: var(--shadow-soft, 0 18px 45px rgba(16, 12, 40, 0.08));
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

/* CTA Title - Serif for display */
.cosmic-cta-title {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.1;
    color: var(--text-strong, #151022);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* CTA Text - Soft color for secondary content */
.cosmic-cta-text {
    max-width: 42rem;
    margin: 0 auto 1.75rem;
    color: var(--text-soft, #6b6288);
    font-size: 1rem;
    line-height: 1.7;
    font-family: var(--font-sans, 'Source Sans 3', system-ui, sans-serif);
}

/* CTA Actions - Button container */
.cosmic-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cosmic-cta {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .cosmic-cta-title {
        font-size: clamp(1.75rem, 4vw, 2.2rem);
    }
    
    .cosmic-cta-text {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .cosmic-cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cosmic-cta-actions .button,
    .cosmic-cta-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cosmic-cta {
        padding: 1.5rem 1.25rem;
    }
    
    .cosmic-cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.5rem;
    }
    
    .cosmic-cta-text {
        margin-bottom: 1.25rem;
    }
}

/* Dark mode support */
[data-theme="dark"] .cosmic-cta {
    background: radial-gradient(circle at top left, rgba(123, 92, 255, 0.25), transparent 55%),
                radial-gradient(circle at bottom right, rgba(249, 115, 197, 0.2), transparent 45%),
                var(--bg-surface, #0b0f26);
}

[data-theme="dark"] .cosmic-cta-title {
    color: var(--text-strong, #f9f6ff);
}

[data-theme="dark"] .cosmic-cta-text {
    color: var(--text-soft, #b8b0d0);
}

