.product-features {
    padding: 140px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #C1E0FD 72.4%);
    position: relative;
}

.ankor-link {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -50px;
    gap: 12px;
    align-items: center;
    padding: 23px 32px;
    background: var(--n-white);
    box-shadow: 0px 0px 10px 0px #9DBFE980;
    border-radius: 50px;
    color: var(--bright-blue);
}

.ankor-link:hover svg,
.ankor-link:hover svg path,
.ankor-link:hover svg circle,
.ankor-link:hover svg rect {
    stroke: var(--n-very-dark-accent);
}

.ankor-link:hover {
    color: var(--n-very-dark-accent);
}

.product-features .main-h2 {
    text-align: center;
    margin-bottom: 60px;
    color: var(--n-black);
}

/* Tab Buttons */
.product-features-tab-buttons {
    display: flex;
    justify-content: center;
    margin: 0 auto 40px auto;
    background: #FFFFFF;
    border-radius: 100px;
    width: fit-content;
}

.product-features-tab-btn {
    padding: 12px 20px;
    border: none;
    background: #FFFFFF;
    color: var(--n-grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-features-tab-btn:first-child {
    border-radius: 100px 0 0 100px;
}

.product-features-tab-btn:last-child {
    border-radius: 0 100px 100px 0;
}

.product-features-tab-btn:hover {
    background: var(--n-very-light-accent);
    border-radius: 100px;
}

.product-features-tab-btn.active {
    background: var(--bright-blue);
    color: var(--n-white);
    border-radius: 100px;
}

/* Content Layout */
.product-features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Add position relative and grid layout when coming soon tab is active */
.product-features-content:has(.product-features-tab-content.coming-soon.active) {
    position: relative;
    grid-template-columns: auto 1fr 1fr;
    gap: 16px;
}

/* Swap layout for coming soon tabs - image left, tabs right */
.product-features-content:has(.product-features-tab-content.coming-soon.active) .product-features-items {
    order: 2;
}

.product-features-content:has(.product-features-tab-content.coming-soon.active) .product-features-video {
    display: flex;
    gap: 16px;
    order: 1;
}

.cta-iframe {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.cta-iframe p {
    color: var(--n-dark-grey);
}

.cta-iframe a {
    color: var(--n-dark-accent);
    text-decoration: underline;
    transition: 0.2s;
}

.cta-iframe a:hover {
    color: var(--n-very-dark-accent);
}

/* Feature Items */
.product-features-items {
    position: relative;
}

.product-features-tab-content {
    display: none;
    position: relative;
}

.product-features-tab-content.active {
    display: block;
}

.product-feature-item {
    display: flex;
    gap: 24px;
    padding: 32px;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 73.24%, rgba(255, 255, 255, 0.25) 100%);
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
}

.product-feature-item:last-child {
    margin-bottom: 0;
}

.product-feature-item:hover {
    background: linear-gradient(90deg, #FFFFFF 73.24%, rgba(255, 255, 255, 0.5) 100%);
}

.product-feature-item.active {
    background: linear-gradient(90deg, #FFFFFF 73.24%, rgba(255, 255, 255, 0.5) 100%);
    box-shadow: 0px 0px 8px 0px rgba(157, 191, 233, 0.4);
    padding: 45px 32px;
    align-items: flex-start;
}




.product-feature-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    position: relative;
}

.product-feature-item-icon svg {
    height: 100%;
    width: 100%;
}

.product-feature-item-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}


.product-feature-item-content {
    flex: 1;
}

.product-feature-item-title {
    color: var(--n-dark-grey);
}

.tab-coming-soon-badge {
    align-items: center;
    background: var(--d-accent);
    height: 100%;
    width: 37px;
    flex-direction: column;
    justify-content: center;
    border-radius: 50px;
}

.tab-coming-soon-badge div {
    display: flex;
    transform: rotate(270deg);
    width: 100%;
    gap: 8px;
    align-items: center;
    width: max-content;
}

.tab-coming-soon-badge span {
    font-size: 14px;
    color: var(--n-white);
}


.img-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.video-wrapper {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

/* Coming Soon Content Block */
.coming-soon-content-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.coming-soon-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.coming-soon-item-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: rgba(43, 127, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-item-icon svg {
    width: 32px;
    height: 32px;
}

.coming-soon-item-content {
    flex: 1;
}

.coming-soon-item-title {
    margin: 0 0 8px 0;
    color: var(--n-dark-grey);
}

.coming-soon-item-description {
    margin: 0;
    color: var(--n-grey);
}

/* Static Coming Soon Content */
.coming-soon-static-content {
    background: url(https://storage.googleapis.com/dev_resources_voka_io_303011/common/incoming.webp) center center / cover;
    border-radius: 20px;
    overflow: hidden;
    padding: 32px;
    display: flex;
    gap: 30px;
    width: 100%;
}

.coming-soon-static-icon {
    flex-shrink: 0;
}

.coming-soon-static-text h3 {
    margin: 0 0 8px 0;
    color: var(--n-dark-grey);
}

.coming-soon-static-text p {
    margin: 0;
    color: var(--n-grey);
    max-width: 400px;
}


.product-feature-item-description {
    margin-top: 8px;
    color: var(--n-grey);
}

.product-feature-item.active .product-feature-item-title {
    color: var(--bright-blue);
}

.coming-soon .product-feature-item.active .product-feature-item-title {
    color: var(--n-dark-grey);
}

.coming-soon .product-feature-item.active, .coming-soon .product-feature-item:hover {
    box-shadow: none;
    cursor: default;
}

.product-feature-item:not(.active) .product-feature-item-description {
    display: none;
}

.coming-soon .product-feature-item .product-feature-item-description {
    display: block;
}

.coming-soon .product-feature-item {
    padding: 45px 32px;
    background: #FFFFFFCC;
    align-items: start;
}

.coming-soon .product-feature-item:nth-child(1) {
    display: none;
}

/* Video Display */
.product-features-video {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;

}

.product-features-video-element {
    width: 100%;
    height: calc(100% - 60px);
    object-fit: cover;
    object-position: center;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-features-video-element.loaded {
    opacity: 1;
}

.product-features-image-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-features-image-element.loaded {
    opacity: 1;
}

.comming-soon .product-features-image-element {
    width: calc(100% - 37px);
}

.comming-soon .product-features-video-wrapper {
    width: calc(100% - 37px);
}

/* Preloader */
.product-features-video:has(.product-features-preloader) {
}

.product-features-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.product-features-preloader svg {
    display: block;
    animation: product-features-preloader-spin 1s linear infinite;
}

@keyframes product-features-preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile/Tablet Content */
.product-features-mobile-content {
    display: none;
}


@media (max-width: 1919px) {
    .product-features {
        padding: 100px 0;
    }

    .product-features-content {
        gap: 24px;
    }

    .product-feature-item.active {
        padding: 37px 24px;
    }

    .product-feature-item {
        padding: 32px 24px;
        gap: 20px;
        margin-bottom: 12px;
    }

    .coming-soon-static-content {
        padding: 24px;
        border-radius: 16px;
        gap: 20px;
    }


    .coming-soon .product-feature-item {
        padding: 37px 24px !important;
    }
}

@media (max-width: 1439px) {
    .product-features {
        padding: 80px 0;
    }

    .product-features .main-h2 {
        margin-bottom: 48px;
    }

    .product-feature-item.active {
        padding: 24px;
    }

    .product-feature-item-description {
        margin-top: 6px;
    }

    .product-feature-item {
        padding: 24px;
        gap: 16px;
        margin-bottom: 10px;
    }

    .product-feature-item-icon {
        width: 32px;
        height: 32px;
    }

    .coming-soon-static-content {
        gap: 16px;
    }

    .coming-soon-static-text h3 {
        margin-bottom: 6px;
    }

    .coming-soon .product-feature-item {
        padding: 21px 24px !important;
    }

    .product-features-content:has(.product-features-tab-content.coming-soon.active) {
        gap: 12px;
    }

    .coming-soon .product-feature-item {
        margin-bottom: 12px;
    }

    .coming-soon .product-feature-item:last-child {
        margin-bottom: 0;
    }

    .cta-iframe {
        padding: 12px;
        background: #F4F7FC;
    }

    .product-features-video-element {
        height: calc(100% - 52px);
    }
}

@media (max-width: 1279px) {
    .product-features-tab-buttons {
        margin-bottom: 32px;
    }

    .product-features-content {
        grid-template-columns: auto;
        gap: 12px;
    }

    .product-features-video {
        position: relative;
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column-reverse;
        box-shadow: 0px 0px 8px 0px #9DBFE966;
        background: linear-gradient(90deg, #FFFFFF 73.24%, rgba(255, 255, 255, 0.5) 100%);
        border-radius: 16px;
    }

    .product-features-tab-content.active {
        display: flex;
        justify-content: space-around;
        width: 100%;
        box-shadow: 0px 0px 8px 0px #9DBFE966;
        background: linear-gradient(90deg, #FFFFFF 73.24%, rgba(255, 255, 255, 0.5) 100%);
        border-radius: 16px;
    }


    .product-feature-item-content {
        display: none;
    }

    .product-feature-item {
        background: none;
        padding: 16px;
        -webkit-tap-highlight-color: transparent;
    }

    .product-feature-item.active {
        box-shadow: none;
    }

    .product-feature-item {
        margin-bottom: 0;
        padding: 16px;
    }

    .product-feature-item.active {
        padding: 16px;
    }

    /* Icon colors on mobile/tablet */
    .product-feature-item-icon svg,
    .product-feature-item-icon svg path,
    .product-feature-item-icon svg circle,
    .product-feature-item-icon svg rect {
        fill: var(--n-grey-60);
    }

    .product-feature-item.active .product-feature-item-icon svg,
    .product-feature-item.active .product-feature-item-icon svg path,
    .product-feature-item.active .product-feature-item-icon svg circle,
    .product-feature-item.active .product-feature-item-icon svg rect {
        fill: var(--bright-blue);
    }

    .product-features-mobile-content {
        display: block;
        padding: 24px;

    }

    .product-features-mobile-content h3 {
        margin: 0 0 10px 0;
        color: var(--n-dark-grey);
    }

    .product-features-mobile-content p {
        margin: 0;
        color: var(--n-grey);
    }

    .video-wrapper,
    .img-wrapper {
        width: 100%;
        border-radius: 20px;
        overflow: hidden;
        aspect-ratio: 688 / 437;
        position: relative;
        border-radius: 0;
    }

    .product-features-content:has(.product-features-tab-content.coming-soon.active) {
        display: flex;
        flex-direction: column;
        gap: 12px;

    }

    .product-features-content:has(.product-features-tab-content.coming-soon.active) .product-features-video {
        display: none;
    }

    .product-features-tab-content.coming-soon.active {
        flex-direction: column;
        background: none;
        box-shadow: none;
        gap: 12px;
    }

    .product-features-tab-content.coming-soon.active .product-feature-item-content {
        display: block;
    }

    .tab-coming-soon-badge div {
        transform: none;
    }

    .tab-coming-soon-badge {
        padding: 8px;
        width: 100%;
    }

    .product-features-content:has(.product-features-tab-content.coming-soon.active) .product-features-items {
        gap: 12px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .coming-soon .product-feature-item {
        margin-bottom: 0;
    }

    .coming-soon .product-feature-item .product-feature-item-icon svg,
    .coming-soon .product-feature-item .product-feature-item-icon svg path,
    .coming-soon .product-feature-item .product-feature-item-icon svg circle,
    .coming-soon .product-feature-item .product-feature-item-icon svg rect {
        fill: var(--bright-blue);
    }

    .coming-soon .product-feature-item {
        padding: 24px !important;
    }

    .ankor-link {
        display: none;
    }

    .coming-soon .product-feature-item:nth-child(1) {
        display: flex;
    }

    .cta-iframe {
        padding: 16px;
    }

    .product-features-video-element {
        height: calc(100% - 60px);
    }
}

@media (max-width: 577px) {
    .product-features {
        padding: 60px 0;
    }

    .product-features .main-h2 {
        margin-bottom: 40px;
    }

    .product-features-tab-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        background: transparent;
    }

    .product-features-tab-btn {
        border-radius: 50px !important;
    }

    .product-features-mobile-content {
        padding: 20px;
    }

    .coming-soon .product-feature-item {
        padding: 24px !important;
    }

    .cta-iframe {
        align-items: flex-start;
    }
    .video-wrapper, .img-wrapper{

        aspect-ratio: 343 / 320;
    }

    .product-features-video-element {
        height: calc(100% - 80px);
    }
}