.hubeetDescription {
    display: flex;
    justify-content: center;
    width: 100vw;
    box-sizing: border-box;
    background: #0f142f;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.hubeetDescription::before,
.hubeetDescription::after {
    content: "";
    position: absolute;
    inset: -20%;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    pointer-events: none;
    opacity: 0.22;
}

.hubeetDescription::before {
    /* Relative path so it works regardless of the site mount path */
    background-image: url("../../../img/ai/hubeetBg02.png");
    transform: rotate(-4deg);
    opacity: 0.55;
}

.hubeetDescription::after {
    /* Not used: kept only for future extensions */
    display: none;
}

.hubeetDescription .center {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
.hubeetDescription .center .titleSection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: flex-start;
    visibility: hidden;
    opacity: 1;
    transform: translate3d(0, 36px, 0);
    transition: transform 540ms ease-out;
    will-change: transform, opacity;
}

.hubeetDescription .titleSection p {
    color: var(--primary-50, #EDEFF7);
    font-family: "Space Grotesk";
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: 0.96px;
    margin: 0;

}

.hubeetDescription .titleSection .badgeTrajectory {
    color: var(--accent-500, #05F29B);
    font-family: "Space Grotesk";
    font-size: 21px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: 0.84px;
    text-transform: uppercase;
    text-decoration: none;
    width: 100%;
}

.hubeetDescription .titleSection .logoHubeet {
    width: auto;
    height: 2.25rem;
    object-fit: contain;
}

.hubeetDescription .titleSection .titlePanel {
    display: flex;
    width: 100%;
    border: 1px solid rgba(184, 191, 224, 0.2);
    border-left: 0;
    border-right: 0;
  
    overflow: hidden;
    background: rgba(10, 16, 45, 0.82);
}

.hubeetDescription .titleSection .logoPanel {
    width: 24rem;
    min-height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(184, 191, 224, 0.2);
    padding: 1.5rem;
    box-sizing: border-box;
    background: linear-gradient(55deg, #DE8FFF 14.16%, #3D73EB 115.55%);
}

.hubeetDescription .titleSection .subtitlePanel {
    display: flex;
    flex-direction: column;
    background: rgba(25, 30, 56, 0.72);
    width: 100%;
    gap: 1rem;
    padding: 2.5rem;
    box-sizing: border-box;
}

.hubeetDescription .titleSection .subtitlePanel .buttonPrimary {
    width: fit-content;
    margin-top: 0.5rem;
}

.hubeetDescription .columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    visibility: hidden;
    opacity: 1;
    transform: translate3d(0, 48px, 0);
    transition: transform 680ms ease-out;
    will-change: transform, opacity;
}

.hubeetDescription .titleSection.is-visible,
.hubeetDescription .columns.is-visible {
    visibility: visible;
}

.hubeetDescription .column {
    display: contents;
}

.hubeetDescription .item {
    display: flex;
    align-items: flex-start;
    border: 1px solid rgba(149, 159, 208, 0.4);
    background: rgba(25, 30, 56, 0.72);
    padding: 2.5rem;
    min-height: 8.75rem;
    height: 100%;
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 560ms ease-out, transform 560ms ease-out;
    will-change: transform, opacity;
}

.hubeetDescription .item.item-is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hubeetDescription .columns .item:nth-of-type(odd) {
    border-left: 0;
}

.hubeetDescription .columns .item:nth-of-type(even) {
    border-right: 0;
}

.hubeetDescription .item .textSection {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.hubeetDescription .item .textSection h3 {
    margin: 0;
    color: var(--primary-50, #EDEFF7);
    font-family: "Space Grotesk";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
}

.hubeetDescription .item .textSection p {
    margin: 0;
    color: var(--primary-100, #DCDFEF);
    line-clamp: 3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media only screen and (max-width: 1200px) {
    .hubeetDescription .titleSection .logoPanel {
        width: 18rem;
        min-height: 9.5rem;
        padding: 1.25rem;
    }

    .hubeetDescription .titleSection p {
        font-size: 36px;
    }
    .hubeetDescription .center {
        gap: 0;
    }
    .hubeetDescription .titleSection .badgeTrajectory {
        font-size: 18px;
    }

    .hubeetDescription .titleSection .subtitlePanel {
        padding: 2rem;
    }

    .hubeetDescription .item {
        padding: 1.75rem;
    }

    .hubeetDescription .item .textSection h3 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 980px) {
    .hubeetDescription .titleSection .titlePanel {
        flex-direction: column;
    }
    .hubeetDescription .center {
        gap: 0;
    }
    .hubeetDescription .titleSection .logoPanel {
        width: 100%;
        min-height: 5.5rem;
        border-right: 0;
        border-bottom: 1px solid rgba(184, 191, 224, 0.2);
        justify-content: flex-start;
    }

    .hubeetDescription .columns {
        grid-template-columns: 1fr;
    }

    .hubeetDescription .columns .item {
        border-left: 0;
        border-right: 0;
    }
}

@media only screen and (max-width: 820px) {
    .hubeetDescription {
        padding: 4rem 0;
    }

    .hubeetDescription::before,
    .hubeetDescription::after {
        inset: -35%;
        opacity: 0.45;
    }

    .hubeetDescription .center {
        gap: 0;
    }

    .hubeetDescription .titleSection p {
        font-size: 32px;
        max-width: 100%;
    }

    .hubeetDescription .titleSection .badgeTrajectory {
        font-size: 18px;
    }

    .hubeetDescription .titleSection .logoHubeet {
        height: 1.75rem;
    }

    .hubeetDescription .titleSection .subtitlePanel {
        padding: 1.5rem;
    }

    .hubeetDescription .titleSection .subtitlePanel .buttonPrimary {
        margin-top: 0.25rem;
    }

    .hubeetDescription .item {
        padding: 1.25rem;
        height: auto;
    }

    .hubeetDescription .item .textSection h3 {
        font-size: 20px;
    }

    .hubeetDescription .item .textSection p {
        font-size: 14px;
        line-clamp: unset;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
    }
}
