/*------------------------------------*\
    CTA Block Styles
    Стили для Call-to-Action блоков
\*------------------------------------*/

/* Основной контейнер CTA */
.danit-cta-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 32px;
    gap: 32px;
    border-radius: 16px;
    margin: 40px 0;
    min-height: 123px;
    width: 100%;
    box-sizing: border-box;
}

/* Градиент по умолчанию (зелёный-синий) */
.danit-cta-block.style-gradient {
    background: radial-gradient(100% 172.04% at 100% 100%, #23C0AD 0%, #4C50CC 100%);
}

/* Теплый градиент (оранжевый-красный) */
.danit-cta-block.style-gradient-warm {
    background: radial-gradient(100% 172.04% at 100% 100%, #FF6B6B 0%, #FFA500 100%);
}

/* Холодный градиент (синий-фиолетовый) */
.danit-cta-block.style-gradient-cool {
    background: radial-gradient(100% 172.04% at 100% 100%, #667EEA 0%, #764BA2 100%);
}

/* Темный стиль */
.danit-cta-block.style-dark {
    background: #1e1e1e;
}

/* Светлый стиль */
.danit-cta-block.style-light {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
}

/* Текст CTA */
.danit-cta-text {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px !important;
    line-height: 120%;
    color: #FFFFFF;
    flex: 1;
    margin: 0;
}

.danit-cta-block.style-light .danit-cta-text {
    color: #000000;
}

/* Контейнер кнопки */
.danit-cta-button-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    gap: 10px;
    background: #FFFFFF;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.danit-cta-button-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.danit-cta-block.style-light .danit-cta-button-wrapper {
    background: #4C50CC;
}

.danit-cta-block.style-dark .danit-cta-button-wrapper {
    background: #23C0AD;
}

/* Текст кнопки */
.danit-cta-button-text {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: #000000;
    margin: 0;
}

.danit-cta-block.style-light .danit-cta-button-text {
    color: #FFFFFF;
}

.danit-cta-block.style-dark .danit-cta-button-text {
    color: #FFFFFF;
}

/*------------------------------------*\
    Адаптивность
\*------------------------------------*/

@media screen and (max-width: 768px) {
    .danit-cta-block {
        flex-direction: column;
        align-items: center;
        padding: 24px;
        gap: 32px;
        margin: 20px auto;
        border-radius: 16px;
        max-width: 256px;
    }
    
    .danit-cta-text {
        font-size: 20px !important;
        text-align: center;
        align-self: stretch;
    }
    
    .danit-cta-button-wrapper {
        width: auto;
        padding: 16px 24px;
    }
    
    .danit-cta-button-text {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 480px) {
    .danit-cta-block {
        padding: 24px;
        border-radius: 16px;
    }
    
    .danit-cta-text {
        font-size: 18px !important;
    }
    
    .danit-cta-button-text {
        font-size: 16px !important;
    }
}

/*------------------------------------*\
    Анимации
\*------------------------------------*/

@keyframes ctaFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.danit-cta-block {
    animation: ctaFadeIn 0.6s ease-out;
}

