@import url("../../share/colors.css");

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* ===== Heading ===== */
.block__header {
    text-align: center;
    margin: 0 auto 48px;
}

.block__title {
    color: var(--Text-Dark, #0F1C3F);
    text-align: center;
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 114%; /* 63.84px */
    letter-spacing: -0.56px;
    margin-bottom: 18px;
}

.block__title span {
    color: var(--Brand-Primary, #112AD4);
    display: block;
}

.block__subtitle {
    color: var(--Text-Muted, #5A6478);
    text-align: center;

    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 136%; /* 29.92px */
}

/* ===== Layout wrapper: panel + use-cases ===== */
.block__content {
    display: flex;
    justify-content: center;
    gap: 24px;
    align-items: stretch;
}

/* ===== Panel (image + capabilities) ===== */
.panel {
    flex: 1 1 868px;
    min-width: 0;
    padding: 32px;
    display: grid;
    grid-template-columns: minmax(0, 400px) minmax(0, 340px);
    gap: 64px;
    align-items: start;
    border-radius: 16px;
    background: var(--Brand-Primary-Lighter, #F6F7FF);
}

.panel__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.panel__figure-images {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.panel__img-back {
    width: auto;
    max-width: 100%;
    max-height: 400px;
}

.panel__caption {

    color: var(--Text-Muted, #5A6478);
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%; /* 18px */
    margin-top: 16px;
}

/* ===== Capabilities list ===== */

.capabilities {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 22px;
}

.capabilities__title {
    color: var(--Text-Primary, #202D4E);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 133%; /* 23.94px */
}

.capabilities__list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.capability {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.capability__icon {
    border-radius: 8px;
    border: 1px solid var(--Brand-Primary-10, rgba(17, 42, 212, 0.10));
    background: var(--Brand-Primary-5, rgba(17, 42, 212, 0.05));
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability__icon svg {
    width: 20px;
    height: 20px;
}

.capability__text {
    display: flex;
    flex-direction: column;
}

.capability__label {
    color: var(--Text-Primary, #202D4E);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
}

.capability__sub {
    color: var(--Text-Muted, #5A6478);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 18px */
}

/* ===== Use case cards ===== */
.usecases {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 420px;
    min-width: 0;
}

.usecase-card {
    border-radius: 12px;
    background: var(--BG-White, #FFF);
    padding: 17px;
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.usecase-card:first-child .usecase-card__badge {
    border-radius: 50px;
    border: 1px solid var(--Brand-Primary-10, rgba(17, 42, 212, 0.10));
    background: var(--Brand-Primary-5, rgba(17, 42, 212, 0.05));
    color: var(--Brand-Primary-100, #112AD4);
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 14px */
}

.usecase-card:first-child .usecase-card__title {
    color: var(--Text-Primary, #202D4E);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 133%; /* 23.94px */
}

.usecase-card:first-child .usecase-card__desc {
    color: var(--Text-Muted, #5A6478);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 18px */
}

.usecase-card:last-child .usecase-card__desc {
    color: var(--Text-Secondary, #8893A8);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 18px */
}

.usecase-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.usecase-card__content {
    position: relative;
    z-index: 2;
    max-width: 200px;
}

.usecase-card__badge {
    border-radius: 50px;
    border: 1px solid var(--BG-White-10, rgba(255, 255, 255, 0.10));
    background: var(--BG-White-6, rgba(255, 255, 255, 0.06));
    color: var(--BG-White-100, #FFF);
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 14px */
    display: inline-block;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 6px;
}

.usecase-card__title {
    color: var(--BG-White, #FFF);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 133%; /* 23.94px */
}

.usecase-card__desc {
    color: var(--Brand-Primary-Light, #EFF1FF);
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 18px */
}

.usecase-card__status {
    border-radius: 50px;
    border: 1px solid var(--BG-White-10, rgba(255, 255, 255, 0.10));
    background: var(--BG-White-6, rgba(255, 255, 255, 0.06));
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    background: var(--BG-White-6, rgba(255, 255, 255, 0.06));
    color: var(--Status-Success, #009C5B);
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 14px */
    padding: 6px 10px;
}

.usecase-card__status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--Status-Success, #009C5B);
    display: inline-block;
}

@media (max-width: 1024px) {

    .block__content {
        flex-direction: column;
    }

    .panel {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .panel__figure {
        width: 100%;
    }

    .capabilities {
        align-items: center;
        width: 100%;
    }

    .capabilities__title {
        text-align: center;
    }

    .usecases {
        flex: 1;
        flex-direction: column;
    }

    .usecase-card {
        min-height: 190px;
        padding: 24px;
    }

    .block__header {
        margin-bottom: 40px;
    }

    .block__title {
        font-size: 42px;
        font-style: normal;
        font-weight: 700;
        line-height: 116%; /* 48.72px */
        letter-spacing: -0.21px;
        text-align: left;
        margin-bottom: 14px;
    }

    .block__subtitle {
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 144%;
        text-align: left;
    }
    .capability__label {
        font-size: 15px;
    }
    .block__content {
        gap: 16px;
    }

    .usecase-card__title {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 130%; /* 26px */
        letter-spacing: -0.02px;
        margin-bottom: 6px;
    }

    .usecase-card__desc {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }

    .usecase-card__status {
        font-size: 11px;
        font-style: normal;
        font-weight: 500;
        line-height: 145%;
        margin-top: 12px;
    }
}


@media (max-width: 640px) {

    .block__header {
        margin: auto;
        margin-bottom: 24px;
        max-width: 290px;
    }

    .block__title {
        text-align: center;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: 118%; /* 37.76px */
        letter-spacing: -0.16px;
        margin-bottom: 8px;
    }

    .block__subtitle {
        text-align: center;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }

    .panel {
        padding: 32px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .panel__caption {
        display: flex;
        flex-direction: column;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%;
    }

    .panel__img-back {
        max-height: 250px;
        width: auto;
    }

    .capabilities__title {
        text-align: center;
        font-size: 16px;
        margin-bottom: 20px;
    }

    .capabilities__list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .capability {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        max-width: 100px;
    }

    .capability__icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .capability__icon svg {
        width: 21px;
        height: 21px;
    }

    .capability__label {
        font-size: 10px;
    }

    .capability__sub {
        font-size: 14px;
    }

    .usecase-card__title {
        font-size: 18px;
    }

    .usecase-card {
        align-items: center;
        padding: 16px;
    }
}