:root {
    --green: #15CD72;
    --blue: #4D77FF;
    --cyan: #1FD2F9;
    --light-grey: #F2F3F7;
    --border-grey: #E3E6EE;
    --text-color: #333;
    --shadow-color: #13144D26;
}
.desktop-view {
    display: grid;
    grid-template-columns: 240px 1fr 1fr 1fr;
    row-gap: 0px;
}

.comparison-header {
    grid-column: 2 / span 3;
    display: flex;
    gap: 1px;
    padding-bottom: 0px;
}

.header-card {
    flex: 1;
}

.header-card .card-title {
    padding: 18px 15px;
    border-radius: 12px;
    color: white;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0px 10px 11px 0px var(--shadow-color);
}

.card-title.green {
    background-color: var(--green);
}

.card-title.blue {
    background-color: var(--blue);
}

.card-title.cyan {
    background-color: var(--cyan);
}

.comparison-body {
    grid-column: 1 / span 4;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-grey);
    border-radius: 12px;
    overflow: hidden;
}

.row {
    display: grid;
    grid-template-columns: 240px 1fr 1fr 1fr;
    border-bottom: 1px solid var(--border-grey);
}

.row:last-child {
    border-bottom: none;
}

.cell-header {
    padding: 13px;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    background-color: #FDFDFF;
    border-right: 1px solid var(--border-grey);
}

.cell {
    padding: 13px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    line-height: 1.3;
}

.row .cell:not(:first-child) {
    border-right: 1px solid var(--border-grey);
}

.row .cell:last-child {
    border-right: none;
}

.comparison-body .row .cell:nth-of-type(3) {
    background-color: var(--light-grey);
}

.promo-text {
    text-align: center;
    margin: 40px auto;
    max-width: 95%;
    font-size: 19px;
    line-height: 1.2;
}

.promo-text strong {
    color: var(--blue);
}

.mobile-view {
    display: none;
}

@media (max-width: 480px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
        position: relative;
    }

    .page-container {
        padding: 0;
        margin-top: 10px;
    }

    .mobile-nav {
        display: flex;
        align-items: center;
        padding: 0;
        padding-bottom: 8px;
    }

    .nav-arrow {
        position: absolute;
        top: 0;
        transform: translateY(10%);
        flex-shrink: 0;
        cursor: pointer;
        padding: 10px;
        user-select: none;
        font-size: 18px;
        color: rgb(37, 36, 36);
        z-index: 10;
    }

    .left-arrow {
        left: 15px;
        top: 40px;
    }

    .right-arrow {
        right: 15px;
        top: 40px;
    }

    .mobile-tabs-wrapper {
        flex-grow: 1;
        overflow: hidden;
    }

    .mobile-tabs {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .fixed-nav .mobile-tab {
        padding: 10px 20px;
    }

    .mobile-tab {
        padding: 12px 7px;
        border-radius: 10px;
        color: var(--text-color);
        font-weight: 600;
        text-align: center;
        flex-shrink: 0;
        opacity: 0.5;
        transition: all 0.1s ease;
    }

    .mobile-tab.active {
        color: white;
        opacity: 1;
        transform: scale(1.1);
        box-shadow: 0 5px 15px var(--shadow-color);
    }

    .mobile-tab.green.active {
        background-color: var(--green);
    }

    .mobile-tab.blue.active {
        background-color: var(--blue);
    }

    .mobile-tab.cyan.active {
        background-color: var(--cyan);
    }

    .mobile-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        transition: height 0.3s ease-in-out;
        -ms-overflow-style: none;
        scrollbar-width: none;
        overflow-y: hidden;
    }

    .mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .carousel-track {
        display: flex;
        align-items: flex-start;
    }

    .mobile-card {
        min-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
        scroll-snap-align: center;
        overflow-y: hidden;
    }

    .mobile-row {
        padding: 15px 0;
        border-bottom: 1px solid #00CBFF;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-row:last-child {
        border-bottom: none;
    }

    .mobile-header {
        font-weight: 700;
        font-size: 17px;
        text-align: center;
        margin-bottom: 8px;
    }

    .mobile-value {
        font-size: 16px;
        text-align: center;
        line-height: 1.5;
        color: #555;
        flex: 1;
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100px;
        min-width: 100%;
    }

    .promo-text {
        font-size: 16px;
        width: 100%;
        min-width: 100%;
        padding-bottom: 20px;
        line-height: 1.3;
    }


    .fixed-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0px 10px 11px 0px var(--shadow-color);
        z-index: 100;
        padding: 10px 5px;
    }

    .mobile-nav-placeholder {
        height: 70px;
        display: none;
    }
}

@media (max-width: 360px) {
    .mobile-tab {
        font-size: 16px;
        padding: 10px 8px;
    }
}