﻿.benefits {
    position: relative;
    padding: 5rem 0;
    background-color: #111827;
    overflow: hidden;
}

.benefits__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.benefits__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.benefits__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.benefits__subtitle {
    color: #9ca3af;
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

.benefits-card {
    background: #1f2937;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefits-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.benefits-card__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(49, 46, 129, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.benefits-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.benefits-card__text {
    color: #9ca3af;
    line-height: 1.6;
}

.benefits__process {
    margin-top: 4.5rem;
}

.benefits__process-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #ffffff;
}

.benefits__steps {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
}

.benefits-step {
    position: relative;
    background: #1f2937;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.benefits-step__badge {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
}

.benefits-step__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #ffffff;
}

.benefits-step__text {
    color: #9ca3af;
    line-height: 1.6;
}

.benefits-step__arrow {
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    color: #6366f1;
}

.benefits-step__arrow svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.benefits__grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.35;
    pointer-events: none;
}

@media (min-width: 1536px) {
.benefits__inner {
    max-width: 1536px;
  }
}

@media (min-width: 768px) {
    .benefits__title {
        font-size: 2.5rem;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefits__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .benefits__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .benefits-step__arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    .benefits {
        padding: 3rem 0;
    }

    .benefits__title {
        font-size: 1.75rem;
    }

    .benefits__process-title {
        font-size: 1.5rem;
    }
}

