@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600&display=swap');

.price-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 9.6rem;
}

.box-price-container {
    position: relative;
    background: transparent;
}

.price-title {
    width: 124.8rem;
    height: 16.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.price-title h1 {
    font-size: 3.2rem;
    color: #101828;
}

.price-title p {
    width: 40%;
    font-size: 1.8rem;
    color: #475467;
    font-weight: 500;
    line-height: 2.8rem;
    text-align: center;
}

.price-content {
    width: 124.8rem;
    height: 67.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-bottom {
    width: 124.8rem;
    height: 16rem;
}

.price-conten-packages {
    width: 100%;
    height: 10.8rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.left-price-conten-packages h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #101828;
}

.left-price-conten-packages p {
    font-size: 1.8rem;
    font-weight: 500;
    color: #475467;
}

.price-content-container {
    width: 100%;
    height: 51.9rem;
}

.menu-price {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    background: #e8f2ff;
    width: 28.7rem;
    height: 4.8rem;
    align-items: center;
    padding: 0.4rem;
    border-radius: 0.8rem;
    border: 0.1rem solid rgba(2, 123, 255, 0.2);
    box-shadow: 0 0.4rem 1.2rem rgba(2, 123, 255, 0.08);
}

.menu-price button {
    background: transparent;
    color: #027BFF;
    border: none;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: background 0.3s;
    width: 9.6rem;
    height: 4rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.menu-price button:hover,
.menu-price button.active {
    background: #027BFF;
    color: #FFFFFF;
    width: 9.6rem;
    height: 4rem;
}

.product-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2.4rem;
    max-width: 124.8rem;
}

.product {
    background: #fff;
    border-radius: 2.4rem;
    box-shadow: 0 0.4rem 1.6rem rgba(2, 123, 255, 0.06);
    width: 29.4rem;
    height: 51.9rem;
    padding: 4rem 0 4rem 0;
    text-align: center;
    position: relative;
    transition: transform 0.3s, opacity 0.4s, box-shadow 0.3s;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 0.1rem solid #EAECF0;
}

.product:hover {
    transform: scale(1.03);
    box-shadow: 0 0.8rem 2.4rem rgba(2, 123, 255, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.price-content-container ul {
    padding-top: 0.2rem;
    border-top: 0.1rem dashed #EAECF0;
}

.product.hot {
    border: 0.2rem solid #027BFF;
    width: 29.7rem;
    box-shadow: 0 0.4rem 2rem rgba(2, 123, 255, 0.12);
}

.product.hot ul {
    width: 99%;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    border-top: 0.1rem dashed #EAECF0;
}

.product.hot::after {
    content: " HOT ";
    position: absolute;
    top: -2rem;
    left: 40%;
    background: linear-gradient(135deg, #027BFF, #4da3ff);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 0.8rem;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 2.4rem;
    box-shadow: 0 0.4rem 1.2rem rgba(2, 123, 255, 0.3);
}

.discount-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #FFEDD5;
    color: #F97316;
    padding: 0.4rem 1rem;
    border-radius: 10rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: 0.1rem solid #FED7AA;
    box-shadow: 0 0.2rem 0.8rem rgba(249, 115, 22, 0.1);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    animation: pulse 2s infinite;
}

.discount-tag i {
    font-size: 1.1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.name-price {
    margin-top: 0rem;
    width: 100%;
    height: 10rem;
    padding-bottom: 2rem;
}

.product h3 {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    color: #475467;
}

.price h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 4.8rem;
    text-align: center;
    color: #101828;
}

.name-price .plan-name {
    font-size: 2rem;
    font-weight: 700;
    line-height: 4.8rem;
    text-align: center;
    color: #475467;
    margin: 0;
}

.price {
    color: #101828;
    font-weight: bold;
    padding-top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.price p {
    margin-top: 1rem;
    margin-left: 0.5rem;
    font-size: 1.5rem;
}

.product.hot .price {
    background: linear-gradient(to right, #027BFF, #4da3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.price-container ul {
    width: 100%;
    height: 27.5rem;
    text-align: left;
    padding: 4rem 2.4rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.4rem;
}

.price-container ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.6rem;
    color: #475467;
    font-weight: 500;
}

.price-container ul li i.fa-check {
    color: #027BFF;
    margin-right: 0.6rem;
}

.price-container ul li i.fa-xmark {
    color: #D0D5DD;
    margin-right: 0.6rem;
}

.btn-bynow {
    cursor: pointer;
    width: 23rem;
    height: 5.6rem;
    border-radius: 1.2rem;
    background-color: #FFFFFF;
    border: 0.1rem solid #D0D5DD;
    font-size: 2rem;
    color: #344054;
    transition: all 0.3s ease;
}

.btn-bynow:hover {
    background-color: #f0f7ff;
    border-color: #027BFF;
    color: #027BFF;
}

.btn-bynow-bander {
    width: 15.6rem;
    cursor: pointer;
}

.product.hot .btn-bynow {
    width: 23rem;
    height: 5.6rem;
    border-radius: 1.2rem;
    background: linear-gradient(135deg, #027BFF, #4da3ff);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 0.4rem 1.2rem rgba(2, 123, 255, 0.25);
}

.product.hot .btn-bynow:hover {
    background: linear-gradient(135deg, #0066db, #3d93ff);
    box-shadow: 0 0.6rem 2rem rgba(2, 123, 255, 0.35);
}

.price-bottom {
    position: relative;
    width: 124.8rem;
    height: 14.8rem;
    background: linear-gradient(135deg, #027BFF, #4da3ff);
    border-radius: 2rem;
    padding: 3.2rem 4.8rem;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-bottom-box-1 {
    margin-right: 2rem;
    color: #FFFFFF;
}

.price-bottom-box-1 h2 {
    font-size: 2.8rem;
}

.price-bottom-box-1 p {
    font-size: 1.8rem;
}

.price-bottom-box-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.price-bottom-box-2 h3 {
    width: 100%;
    font-size: 1.8rem;
    font-weight: 500;
    color: #FFFFFF;
}

.price-bottom-box-2 h2 {
    font-size: 4.8rem;
    color: #FFFFFF;
}

.price-bottom-box-2 p {
    margin-top: 1.5rem;
    font-size: 1.8rem;
    color: #FFFFFF;
}

.price-bottom::after {
    margin-top: 3.2rem;
    height: 8.4rem;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: inherit;
    background-image: linear-gradient(to right,
            transparent 0%,
            transparent 30%,
            white calc(30% + 0.2rem),
            transparent calc(30% + 0.4rem),
            transparent 55%,
            white calc(55% + 0.2rem),
            transparent calc(55% + 0.4rem));
    opacity: 0.3;
}

@media (max-width: 768px) {
    .price-container {
        width: 100%;
        height: auto;
        padding: 4.8rem 2rem;
        gap: 3.2rem;
    }

    .price-title {
        width: 100%;
        height: auto;
    }

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

    .price-title p {
        font-size: 1.5rem;
        width: 100%;
        line-height: 1.4;
    }

    .price-content {
        width: 100%;
        height: auto;
        gap: 3.2rem;
    }

    .price-conten-packages {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 2rem;
        padding: 1.6rem 0;
    }

    .left-price-conten-packages h2 {
        text-align: center;
        font-size: 2rem;
    }

    .left-price-conten-packages p {
        font-size: 1.5rem;
        text-align: center;
    }

    .product-container {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3.2rem;
        margin-left: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .price-content-container {
        height: auto;
    }

    .product {
        width: 100%;
        max-width: 32rem;
        height: auto;
        min-height: 48rem;
    }

    .product.hot {
        width: 100%;
        max-width: 32rem;
        flex-shrink: 1;
    }

    .product.hot::after {
        left: 50%;
        transform: translateX(-50%);
        top: -1.6rem;
    }

    .price-bottom {
        flex-direction: column;
        width: 100%;
        height: auto;
        gap: 3.2rem;
        padding: 3.2rem 2rem;
    }

    .price-bottom::after {
        display: none; /* Hide line pattern on mobile for clarity */
    }

    .price-bottom-box-1 {
        margin: 0;
        text-align: center;
    }

    .price-bottom-box-1 h2 {
        margin-bottom: 0.8rem;
        font-size: 2.2rem;
    }

    .price-bottom-box-1 p {
        font-size: 1.5rem;
    }

    .price-bottom-box-2 {
        text-align: center;
        justify-content: center;
    }

    .price-bottom-box-2 h2 {
        font-size: 3.6rem;
    }

    .btn-bynow-bander {
        width: 100%;
        max-width: 28rem;
        height: 5rem;
        font-size: 1.6rem;
    }
}
