.pricing-hero {
    height: auto;
    padding: 130px 19px 30px 19px;
    scroll-margin-top: 80px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
    box-sizing: border-box;
    text-align: center;
}

.pricing-hero-title {
    font-size: 50px;
    font-weight: 500;
    color: black;
    margin: 0;
    line-height: 1.1;
}

.pricing-plans {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 80px;
    width: 100%;
    box-sizing: border-box;
}

.plan-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}

.pricing-card {
    width: 398px;
    padding: 54px 43px;
    border-radius: 22px;
    border: 1px solid black;
    border-bottom-width: 1px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 47px;
    box-sizing: border-box;
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-content-group-1,
.pricing-content-group-2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.pricing-content-group-2 {
    margin-top: -15px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pricing-card.card-highlighted {
    border: 2px solid #53F7E6;
    border-bottom-width: 7px;
    border-left-color: #53F7E6;
    border-top-color: #53F7E6;
    border-right-color: #53F7E6;
    border-bottom-color: #53F7E6;
}

.pricing-card.card-highlighted-alt {
    border: 1px solid #53F7E6;
    border-bottom-width: 5px;
    border-left-color: #53F7E6;
    border-top-color: #53F7E6;
    border-right-color: #53F7E6;
    border-bottom-color: #53F7E6;
}

.pricing-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.plan-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 4px;
}

.plan-title {
    font-size: 26px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.plan-duration {
    font-size: 18px;
    font-weight: 500;
    color: black;
    margin: 0;
}

.pricing-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.data-pack-price {
    gap: 8px;
}

.price-amount {
    font-size: 70px;
    font-weight: 700;
    color: black;
    line-height: 1;
}

.price-term {
    font-size: 13px;
    font-weight: 400;
    color: black;
}

.price-separator-term {
    font-size: 36px;
    font-weight: 400;
    color: black;
}

.plan-bonus {
    display: inline-block;
    padding: 2px 6px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 4px;
}

.plan-billing {
    font-size: 14px;
    font-weight: 400;
    color: black;
    margin: 0;
    line-height: 1.5;
}

.plan-billing .original-price {
    text-decoration: line-through;
}

.plan-billing .discounted-price {
    font-weight: 700;
}

.plan-billing.small-text {
    max-width: 330px;
}

.pricing-card-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin-top: auto;
}

.payment-type {
    font-size: 18px;
    font-weight: 500;
    color: black;
    text-align: center;
    margin: 5px 0 0 0;
}

.plan-button {
   width: 100%;
   padding: 14px 33px;
   text-align: center;
   box-sizing: border-box;
}

.plan-features-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: black;
    text-decoration: none;
    text-align: center;
    padding: 10px 0;
    transition: color 0.2s ease-in-out;
}

.plan-features-link::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('assets/images/Arrow Icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

.plan-features-link:hover {
    color: #555;
}

.plan-save-percent {
    color: #888888;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-badge-alt {
    display: inline-block;
    padding: 2px 6px;
    font-size: 22px;
    font-weight: 700;
    border-radius: 4px;
    color: black;
    margin-bottom: 5px;
}

#payment-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
    z-index: 1000;
    overflow-y: auto;
}

#payment-overlay.show { display: flex; }

#payment-content {
    background-color: white;
    border-radius: 16px;
    padding: 40px 50px;
    width: auto;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#close-payment-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

#close-payment-overlay:hover { color: #333; }

#payment-content h2 {
    text-align: center;
    color: black;
    font-size: 24px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.payment-options { display: flex; flex-direction: column; gap: 16px; width: 100%; }

.payment-option-card {
    width: 380px;
    padding: 30px 35px;
    border-radius: 12px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    box-sizing: border-box;
}

.payment-option-card h3 {
    color: black;
    font-size: 20px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 500;
    margin: 0;
}

.payment-icons-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.payment-icons-row img { height: 18px; width: auto; max-width: 35px; object-fit: contain; }

.payment-icons-row.crypto { gap: 10px; }

.payment-icons-row.crypto img { height: 24px; }

.payment-icons-row.crypto span { font-size: 20px; font-weight: 500; }

.payment-continue-btn { align-self: stretch; margin-top: 10px; font-size: 20px; padding: 12px 20px; }

.guarantee-text {
    text-align: center;
    color: black;
    font-size: 14px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 500;
    margin-top: 10px;
}

#payment-overlay .payment-icons-row .payment-icon-applepay { height: 19.8px !important; }

#payment-overlay .payment-icons-row .payment-icon-googlepay { height: 19.8px !important; }

.pay-container {
    max-width: 720px;
    width: 100%;
    margin: 0 auto 60px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    padding: 36px 40px;
    box-sizing: border-box;
}

.pay-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 28px;
    gap: 8px;
}

.pay-tab {
    flex: 1;
    text-align: center;
    padding: 14px 0;
    cursor: pointer;
    font-size: 1.05rem;
    border-radius: 8px 8px 0 0;
    border-bottom: 2px solid transparent;
    transition: border 0.2s;
}

.pay-tab.active {
    font-weight: 700;
    border-bottom: 2px solid #08CFBB;
    color: #08CFBB;
    background: #f0faf9;
}

.product-list {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #eee;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.product-item:hover {
    border-color: #08CFBB;
    box-shadow: 0 2px 8px rgba(8,207,187,0.1);
}

.product-item:has(.product-radio:checked) {
    border-color: #08CFBB;
    background: #f0faf9;
}

.product-radio {
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    outline: none;
    transition: border 0.2s;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    cursor: pointer;
    flex-shrink: 0;
}

.product-radio:checked { border: 2px solid #08CFBB; }

.product-radio:checked::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #08CFBB;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.product-info { flex: 1; min-width: 0; }

.product-name { font-size: 1rem; font-weight: 600; }

.product-desc { color: #999; font-size: 0.85rem; margin-top: 3px; }

.product-price { font-size: 1.1rem; font-weight: 700; color: #08CFBB; flex-shrink: 0; margin-left: 8px; }

.product-discount { font-size: 0.85rem; color: #fff; background: #08CFBB; font-weight: 600; margin-left: 8px; white-space: nowrap; padding: 2px 8px; border-radius: 4px; }

.pay-form-row { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }

.pay-form-col { flex: 1; min-width: 200px; }

.input-label { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; display: block; color: #333; }

.input-box { width: 100%; padding: 12px 14px; border: 1px solid #e0e0e0; border-radius: 10px; font-size: 1rem; margin-bottom: 6px; box-sizing: border-box; transition: border-color 0.15s; }

.input-box:focus { border-color: #08CFBB; outline: none; box-shadow: 0 0 0 3px rgba(8,207,187,0.1); }

.input-tip { color: #999; font-size: 0.88rem; margin-bottom: 20px; line-height: 1.5; }

.pay-channels { display: flex; gap: 20px; margin-bottom: 24px; }

.pay-channel { display: flex; align-items: center; cursor: pointer; font-size: 1rem; padding: 8px 16px; border: 1px solid #eee; border-radius: 8px; transition: border-color 0.15s; }

.pay-channel:has(input:checked) { border-color: #08CFBB; background: #f0faf9; }

.pay-channel input { margin-right: 8px; accent-color: #08CFBB; }

.pay-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    background: #08CFBB;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.pay-btn:hover { background: #07b8a6; }

.pay-btn:disabled { background: #b2ebf2; cursor: not-allowed; }

.pay-error { color: #e53935; text-align: center; margin-bottom: 16px; }

.pay-faq-box {
    margin-top: 28px;
    background: #f8f9fb;
    border-radius: 10px;
    padding: 20px 20px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: #444;
}

.pay-faq-box a { color: #08CFBB; font-weight: 600; text-decoration: underline; }

@media (max-width: 992px) {
    .pricing-hero {
        height: auto;
        padding: 100px 15px 10px 15px;
        gap: 20px;
        margin-bottom: 40px;
    }
    .pricing-plans {
        gap: 30px;
        margin-bottom: 40px;
    }
    .plan-group {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .pricing-card {
        width: 100%;
        padding: 40px 30px;
        gap: 30px;
    }
    .price-amount {
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    #payment-content {
        padding: 30px 20px;
        width: 90%;
        max-width: 90%;
    }
    .payment-option-card {
        width: 100%;
        padding: 20px;
    }
    .pricing-plans .plan-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .pricing-plans .plan-group .pricing-card:nth-child(1) { order: 3; }
    .pricing-plans .plan-group .pricing-card:nth-child(2) { order: 1; }
    .pricing-plans .plan-group .pricing-card:nth-child(3) { order: 2; }
}

@media (max-width: 600px) {
    .pay-container {
        padding: 20px 16px;
        margin: 0 12px 40px;
        box-shadow: 0 1px 10px rgba(0,0,0,0.04);
    }
    .product-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .pay-channels {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .price-amount {
        font-size: 40px;
    }
}
