.investors {
    position: relative;
    padding: 62px 0 27px 0;
}

/* Background gradient using pseudo-element */
.investors::before {
    content: '';
    position: absolute;
    width: 1206px;
    height: 494px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background: linear-gradient(180deg, rgba(155, 159, 142, 0.08) 0%, rgba(0, 0, 0, 0) 100%);
    border-radius: 100px;
    z-index: -1;
    pointer-events: none;
}

.investors__container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--spacing-8);
    text-align: center;
}

.investors__title {
    font-family: var(--font-primary);
    font-size: 52px;
    line-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 50px;
}

.investors__title--bold {
    font-weight: 700;
    font-style: normal;
}

.investors__title--italic {
    font-weight: 300;
    font-style: italic;
}

.investors__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    column-gap: 21px;
    row-gap: 50px;
    margin-bottom: 50px;
    width: 932px;
    margin-left: auto;
    margin-right: auto;
}

.investor {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 18px;
    width: 168px;
    overflow: visible;
}

.investor__logo {
    transition: transform 0.3s ease-out;
}

.investor:hover .investor__logo {
    transform: scale(1.06) translateY(-4px);
}

.investor__logo-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 51px;
}

.investor__logo {
    object-fit: contain;
    width: auto;
    max-width: 168px;
    height: auto;
    max-height: 51px;
}

/* Individual logo sizes */
.investor__logo[alt*="Michael Egorov"] {
    height: 48px;
}

.investor__logo[alt*="Kenetic"] {
    height: 40px;
}

.investor__logo[alt*="Fenbushi"] {
    height: 36px;
}

.investor__logo[alt*="GBV"] {
    height: 39px;
}

.investor__logo[alt*="Marshland"] {
    height: 39px;
}

.investor__logo[alt*="Big Brain"] {
    height: 37px;
}

.investor__logo[alt*="1inch"] {
    height: 43px;
}

.investor__logo[alt*="Draper"] {
    height: 56px;
}

.investor__label {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: #939886;
}

/* ==========================================================================
   Mobile Investors Styles
   Base: 375px | Breakpoint: 640px
   ========================================================================== */

@media (max-width: 640px) {
    .investors {
        padding: 30px 0 20px 0;
    }

    /* Background gradient - mobile size, positioned below title */
    .investors::before {
        width: 342px;
        height: 580px;
        border-radius: 18px;
        top: 72px; /* Below the title */
    }

    .investors__container {
        max-width: 375px;
        padding: 0 20px;
    }

    .investors__title {
        font-size: 26px;
        line-height: 32px;
        margin-bottom: 31px;
    }

    .investors__grid {
        display: grid;
        grid-template-columns: repeat(2, 168px);
        justify-content: center;
        column-gap: 6px;
        row-gap: 24px;
        width: auto;
        margin-bottom: 30px;
    }

    .investor {
        width: 168px;
        gap: 9px;
    }

    .investor:hover .investor__logo {
        transform: none;
    }

    .investor__logo-wrapper {
        height: 40px;
    }

    .investor__logo {
        max-width: 168px;
        max-height: 40px;
    }

    /* Mobile logo sizes */
    .investor__logo[alt*="Michael Egorov"] {
        height: 40px;
    }

    .investor__logo[alt*="Kenetic"] {
        height: 37px;
    }

    .investor__logo[alt*="Fenbushi"] {
        height: 28px;
    }

    .investor__logo[alt*="GBV"] {
        height: 39px;
    }

    .investor__logo[alt*="Marshland"] {
        height: 37px;
    }

    .investor__logo[alt*="Big Brain"] {
        height: 29px;
    }

    .investor__logo[alt*="1inch"] {
        height: 36px;
    }

    .investor__logo[alt*="Draper"] {
        height: 45px;
    }

    .investor__label {
        font-size: 12px;
        line-height: 16px;
    }
}
