@import url("../design-tokens.css");

.tdi-what-included {
    position: relative;
    background:
        radial-gradient(circle at 78% 18%, rgba(229, 45, 36, 0.11), transparent 28%),
        radial-gradient(circle at 12% 80%, rgba(229, 45, 36, 0.06), transparent 30%),
        #030606;
    color: var(--color-white);
    overflow: hidden;
}

.tdi-what-included::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .16;
    pointer-events: none;
}

.tdi-what-included::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(229, 45, 36, 0.13);
    border-radius: var(--radius-round);
    pointer-events: none;
}

.tdi-what-included .container {
    position: relative;
    z-index: 2;
}

.tdi-what-included__list {
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

.tdi-what-included__item {
    position: relative;
    display: grid;
    grid-template-columns: 118px 1fr;
    align-items: stretch;
    min-height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(229, 45, 36, 0.13), rgba(255, 255, 255, 0.035) 34%, rgba(255, 255, 255, 0.018)),
        #070909;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.tdi-what-included__item::before {
    content: "";
    position: absolute;
    left: 118px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent,
        rgba(229, 45, 36, 0.55),
        transparent
    );
}

.tdi-what-included__item::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -70px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(229, 45, 36, 0.11);
    border-radius: var(--radius-round);
    pointer-events: none;
}

.tdi-what-included__item:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 45, 36, 0.48);
    background:
        linear-gradient(90deg, rgba(229, 45, 36, 0.2), rgba(255, 255, 255, 0.052) 36%, rgba(255, 255, 255, 0.02)),
        #080b0b;
}

.tdi-what-included__num {
    position: relative;
    z-index: 2;
    padding: 26px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #e52d24;
    font-size: 46px;
    line-height: .9;
    font-weight: 900;
    letter-spacing: -0.08em;
    text-shadow: 0 0 22px rgba(229, 45, 36, 0.26);
}

.tdi-what-included__body {
    position: relative;
    z-index: 2;
    padding: 28px 32px 28px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tdi-what-included__title {
    margin: 0 0 11px;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--color-white);
}

.tdi-what-included__text {
    margin: 0;
    max-width: 850px;
    font-size: var(--font-size-sm);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 767px) {
    .tdi-what-included__item {
        grid-template-columns: 86px 1fr;
        min-height: auto;
    }

    .tdi-what-included__item::before {
        left: 86px;
        top: 20px;
        bottom: 20px;
    }

    .tdi-what-included__num {
        padding: 24px 14px;
        font-size: 34px;
    }

    .tdi-what-included__body {
        padding: 24px 22px;
    }

    .tdi-what-included__title {
        font-size: var(--font-size-md);
    }

    .tdi-what-included__text {
        font-size: var(--font-size-xs);
    }
}

@media (max-width: 575px) {

    .tdi-what-included__list {
        margin-top: var(--space-6);
        gap: 14px;
    }

    .tdi-what-included__item {
        grid-template-columns: 1fr;
    }

    .tdi-what-included__item::before {
        display: none;
    }

    .tdi-what-included__num {
        justify-content: flex-start;
        padding: 18px 18px 0;
        font-size: var(--font-size-3xl);
    }

    .tdi-what-included__body {
        padding: 12px 18px 18px;
    }
}