.features-container{
   position: relative;
   width: 100%;
   height: auto;
   height: 102.9rem;
}
.features {
   width: 100%;
   height: 100%;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   align-items: center;
   /* padding-top: 9.6rem; */
   padding-bottom: 6rem;
   background: transparent;
}

.vector-logo-2 {
   display: none;
   padding-top: 9.6rem;
   animation: appearBottom linear;
   animation-timeline: view();
   animation-range: entry 5% cover 50%;
}

.features-title {
   width: 124.8rem;
   height: auto;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   margin-bottom: 4rem;
}

.features-title h1 {
   font-size: 3.2rem;
   font-weight: 700;
   text-align: center;
   color: #101828;
}

.features-title p {
   font-size: 1.8rem;
   text-align: center;
   width: 40%;
   color: #475467;
   font-weight: 500;
   margin-top: 1.6rem;
}

.features-title>*:nth-child(2) {
   margin-top: 1.6rem;
}

.features-title>*:nth-child(3) {
   margin-top: 1rem;
}

/* ========== FEATURES-1: Side-by-side layout ========== */
.features-1 {
   width: 124.8rem;
   height: 60rem;
   border: 0.1rem solid rgba(2, 123, 255, 0.1);
   border-radius: 2.4rem;
   overflow: hidden;
   background: #ffffff;
   box-shadow: 0 0.4rem 2.4rem rgba(2, 123, 255, 0.06);
   display: flex;
   flex-direction: row;
}

/* ========== VERTICAL SCROLL MENU ========== */
.menu-features-1 {
   width: 30rem;
   height: 100%;
   display: flex;
   flex-direction: column;
   overflow-y: auto;
   scrollbar-width: none;
   /* Firefox */
   -ms-overflow-style: none;
   /* IE */
   position: relative;
   border-right: 0.1rem solid rgba(2, 123, 255, 0.1);
   background: #f8fbff;
   font-size: 1.6rem;
   font-weight: 600;
   flex-shrink: 0;
}

.menu-features-1::-webkit-scrollbar {
   display: none;
}

/* The scrolling track */
.menu-scroll-track {
   display: flex;
   flex-direction: column;
   animation: scrollUp 18s linear infinite;
}

.menu-features-1:hover .menu-scroll-track {
   animation-play-state: paused;
}

@keyframes scrollUp {
   0% {
      transform: translateY(0);
   }

   100% {
      transform: translateY(-50%);
   }
}

/* Each menu item */
.menu-features-1 .feature-menu-item {
   width: 100%;
   min-height: 10rem;
   border: none;
   background-color: transparent;
   display: flex;
   align-items: center;
   padding: 2rem 2.4rem;
   background: transparent;
   cursor: pointer;
   gap: 1.2rem;
   color: #475467;
   transition: all 0.3s ease;
   border-bottom: 0.1rem solid rgba(2, 123, 255, 0.06);
   position: relative;
   overflow: hidden;
}

.menu-features-1 .feature-menu-item::before {
   content: '';
   position: absolute;
   left: 0;
   top: 0;
   bottom: 0;
   width: 0.3rem;
   background: transparent;
   transition: background 0.3s ease;
}

.menu-features-1 .feature-menu-item:hover {
   background: rgba(2, 123, 255, 0.04);
}

.menu-features-1 .feature-menu-item.active-menu-feature {
   background: linear-gradient(135deg, rgba(2, 123, 255, 0.08), rgba(77, 163, 255, 0.04));
   color: #027BFF;
}

.menu-features-1 .feature-menu-item.active-menu-feature::before {
   background: linear-gradient(180deg, #027BFF, #4da3ff);
}

.menu-features-1 .feature-menu-item .item-text {
   display: flex;
   flex-direction: column;
   gap: 0.4rem;
}

.menu-features-1 .feature-menu-item .item-text p {
    font-size: 1.4rem;
    margin: 0;
}

.content-feature-detail h2 {
   font-size: 2.8rem;
   font-weight: 600;
}

.content-feature-detail p {
   width: 100%;
   font-size: 1.8rem;
   font-weight: 600;
   text-align: left;
}

.box-img-feature {
   width: 70rem;
   height: 100%;
   overflow-x: hidden;
   overflow-y: hidden;
}

.feature-detail img {
   width: auto;
   height: auto;
   max-width: 79rem;
   max-height: 44.6rem;
   border-radius: 2.4rem;
   border: 0.4rem solid #BDE4FF;
}



.menu-features-1 button.active-menu-feature {
   background: #375DFA;
   color: #FFFFFF;
   transition: 0.3s;
}

.menu-features-1 button:hover {
   background:  #375DFA;
   color: #FFFFFF;
   transition: 0.3s;
}
.menu-features-1 button:first-child {
   border-radius: 2.4rem 0 0 0;
}

.menu-features-1 button:last-child {
   border-radius: 0 2.4rem 0 0;
}

.menu-features-1 button {
   width: 20.76rem;
   height: 100%;
   border: none;
   background-color: #FFFFFF;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 0.8rem 1.6rem;
   background: transparent;
   cursor: pointer;
   gap: 0.8rem;
}

.menu-features-1 button p {
   font-size: 1.5rem;
   font-weight: 600;
   color: inherit;
   margin: 0;
}

.menu-features-1 .feature-menu-item .item-text span {
   font-size: 1.2rem;
   font-weight: 400;
   color: #98a2b3;
   line-height: 1.4;
}

.menu-features-1 .feature-menu-item.active-menu-feature .item-text span {
   color: #6ba5e7;
}

/* Arrow icon */
.menu-features-1 .feature-menu-item .item-arrow {
   margin-left: auto;
   opacity: 0;
   transform: translateX(-0.5rem);
   transition: all 0.3s ease;
   color: #027BFF;
   font-size: 1.4rem;
   flex-shrink: 0;
}

.menu-features-1 .feature-menu-item:hover .item-arrow,
.menu-features-1 .feature-menu-item.active-menu-feature .item-arrow {
   opacity: 1;
   transform: translateX(0);
}

/* ========== BOX ICON ========== */
.box-icon {
   width: 3.6rem;
   height: 3.6rem;
   background: linear-gradient(135deg, #027BFF, #4da3ff);
   color: #FFFFFF;
   font-size: 1.5rem;
   border-radius: 1rem;
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
   transition: all 0.3s ease;
}

.active-menu-feature .box-icon {
   background: #FFFFFF;
   color: #027BFF;
   box-shadow: 0 0.2rem 0.8rem rgba(2, 123, 255, 0.2);
}

.box-icon svg {
   width: 2rem;
   height: 2rem;
   color: #ffffff;
}

.active-menu-feature .box-icon svg {
   color: #027BFF;
}

/* ========== FEATURE DETAIL (Right side) ========== */
.feature-detail {
   flex: 1;
   height: 100%;
   display: flex;
   justify-content: center;
   align-items: flex-start;
   gap: 4rem;
   padding: 6rem 4rem 6rem 4rem;
   transition: opacity 0.3s ease;
}

.content-feature-detail {
   width: 32rem;
   height: auto;
   display: flex;
   flex-direction: column;
   gap: 2rem;
   justify-content: center;
}

.content-feature-detail h2 {
   font-size: 2.6rem;
   font-weight: 700;
   color: #101828;
}

.content-feature-detail p {
   width: 100%;
   font-size: 1.6rem;
   font-weight: 500;
   text-align: left;
   color: #475467;
   line-height: 1.6;
}

.box-img-feature {
   flex: 1;
   height: 100%;
   overflow: hidden;
   display: flex;
   align-items: center;
   justify-content: center;
}

.feature-detail img {
   width: auto;
   height: auto;
   max-width: 100%;
   max-height: 44.6rem;
   border-radius: 2.4rem;
   border: 0.2rem solid rgba(2, 123, 255, 0.12);
   box-shadow: 0 0.4rem 1.6rem rgba(2, 123, 255, 0.08);
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    .features {
        width: 100%;
        height: auto;
        padding: 4.8rem 2rem;
    }

    .features-title {
        width: 100%;
        margin-bottom: 3.2rem;
    }

    .features-title h1 {
        font-size: 2.4rem;
        line-height: 1.3;
    }

    .features-title p {
        font-size: 1.5rem;
        width: 100%;
        margin-top: 1.2rem;
    }

    .features-1 {
        width: 100%;
        max-width: 48rem;
        height: auto;
        flex-direction: column;
        border-radius: 1.6rem;
    }

    .menu-features-1 {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 0.1rem solid rgba(2, 123, 255, 0.1);
        padding: 1.2rem;
        overflow-x: auto;
        overflow-y: hidden;
        background: #fff;
    }

    .menu-scroll-track {
        flex-direction: row !important;
        justify-content: center;
        gap: 0.8rem;
        width: 100%;
        animation: none !important;
    }

    .menu-features-1 .feature-menu-item {
        min-height: auto;
        width: auto;
        padding: 0.8rem;
        border-bottom: none;
        justify-content: center;
    }

    .menu-features-1 .feature-menu-item::before {
        display: none;
    }

    .menu-features-1 .feature-menu-item .item-text,
    .menu-features-1 .feature-menu-item .item-arrow {
        display: none !important;
    }

    .box-icon {
        width: 4rem;
        height: 4rem;
        border-radius: 1rem;
    }

    .box-icon svg {
        width: 2rem;
        height: 2rem;
    }

    .feature-detail {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 2.4rem;
        padding: 3.2rem 2rem;
    }

    .content-feature-detail {
        width: 100%;
        gap: 1.2rem;
    }

    .content-feature-detail h2 {
        font-size: 2rem;
        line-height: 1.4;
    }

    .content-feature-detail p {
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .box-img-feature {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    .feature-detail img {
        width: 100%;
        height: auto;
        max-width: 100%;
        max-height: none;
        border-radius: 1.2rem;
    }
}