/* ==================== Benefits Section ==================== */

.benefits-section {
    background: #f6f5f4;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f6f5f4;
    pointer-events: none;
}

.benefits-section .container {
    position: relative;
    z-index: 1;
}

/* Header */
.benefits-header {
    text-align: center;
    margin-bottom: 60px;
}

.benefits-header h1 {
    font-family: 'Sebenta', 'Crimson Pro', Georgia, 'Times New Roman', serif;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: #2D3436;
    margin-bottom: 20px;
}

.benefits-header h1 span {
    font-family: 'Sebenta', 'Crimson Pro', Georgia, 'Times New Roman', serif;
	font-size: 80%;
    background: linear-gradient(135deg, #6C5CE7 0%, #FD79A8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}

.benefits-header .subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.benefits-features {
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: -16px -8px 0px;
    margin-bottom: 60px;
}

.benefit-card {
    background-color: #FFFFFF;
    border: 0.8px solid #00000020;
    border-radius: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin: 16px 0px 0px;
    max-width: 100%;
    min-width: 200px;
    flex: 1 1 calc(20% - 20px);
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.15);
    border-color: rgba(108, 92, 231, 0.3);
}

.benefit-card img {
    box-sizing: border-box;
    margin: 0px 0px 15px;
    max-width: 120px;
    width: 120px;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    align-self: flex-start;
    transition: transform 0.3s ease;
}

.benefit-card:hover img {
    transform: scale(1.05);
}

.benefit-card h3 {
    box-sizing: border-box;
    color: #22142D;
    font-family: Satoshi, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 26.4px;
    margin: 0px 0px 10px;
    overflow-wrap: break-word;
    text-align: left;
}

.benefit-card p {
    box-sizing: border-box;
    color: #22142D;
    font-family: Satoshi, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17.008px;
    line-height: 23.8112px;
    margin: 0px 0px 16px;
    overflow-wrap: break-word;
    text-align: left;
}

/* CTA Section */
.benefits-cta {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
    box-sizing: border-box;
}

.benefits-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: #f26419;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(242, 100, 25, 0.3);
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    line-height: 1.4;
    min-height: auto;
    width: auto;
    min-width: 280px;
}

.benefits-cta .btn-cta:hover {
    box-shadow: 0 12px 25px rgba(242, 100, 25, 0.4);
    background: #e55a0f;
}

.benefits-cta .btn-cta:active {
    transform: none !important;
}

.benefits-avatars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.benefits-avatars img {
    height: 40px;
    width: auto;
}

.benefits-avatars .arrow-text {
    font-size: 14px;
    font-weight: 700;
    color: #2D3436;
    letter-spacing: 0.5px;
}

/* Testimonial */
.benefits-testimonial {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.15);
    border-radius: 20px;
    padding: 25px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefits-testimonial-rating {
    margin-bottom: 20px;
}

.benefits-testimonial-rating img {
    height: 30px;
    width: auto;
}

.benefits-testimonial p {
    font-size: 18px;
    line-height: 1.7;
    color: #2D3436;
    margin-bottom: 25px;
}

.benefits-testimonial p strong {
    color: #6C5CE7;
    font-weight: 700;
}

.benefits-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.benefits-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.benefits-author-info {
    text-align: left;
}

.benefits-author-name {
    font-size: 18px;
    font-weight: 700;
    color: #2D3436;
    margin-bottom: 5px;
}

.benefits-author-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #636E72;
}

.benefits-author-meta img {
    width: 20px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .benefit-card {
        flex: 1 1 calc(33.333% - 20px);
    }

    .benefits-header h1 {
        font-size: 42px;
    }
}

/* Desktop - ограничение ширины кнопки для переноса текста */
@media (min-width: 769px) {
    .benefits-cta .btn-cta {
        max-width: 500px;
        width: auto;
    }
}

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

    .benefits-header h1 {
        font-size: 31px;
    }

    .benefits-header .subtitle {
        font-size: 18px;
    }

    .benefit-card {
        flex: 1 1 100%;
        padding: 25px 20px;
    }

    .benefit-card img {
        margin: 0px 0px 15px;
        max-width: 100px;
        width: 100px;
    }

    .benefits-cta {
        padding: 0 20px;
    }

    .benefits-cta .btn-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        text-align: center;
        line-height: 1.4;
        min-height: auto;
    }

    .benefits-testimonial {
        padding: 30px 20px;
    }

    .benefits-testimonial p {
        font-size: 16px;
    }

    .benefits-author {
        flex-direction: row;
        text-align: left;
    }

    .benefits-author-info {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .benefits-header h1 {
        font-size: 25px;
    }

    .benefits-header .subtitle {
        font-size: 16px;
    }

    .benefit-card h3 {
        font-size: 20px;
        line-height: 22px;
    }

    .benefit-card p {
        font-size: 15px;
        line-height: 21px;
    }

    .benefits-cta {
        padding: 0 16px;
    }

    .benefits-cta .btn-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
        text-align: center;
        line-height: 1.4;
        min-height: auto;
    }

    .benefits-avatars {
        flex-direction: column;
        gap: 10px;
    }
}


