
<style>
    :root{
        --primary:#2d5bae;
        --soft-bg:#f6f9fb;
        --border:#e9eef3;
    }

    .progress-card{
        background:#fff;
        border-radius:16px;
        box-shadow:0 10px 30px rgba(0,0,0,.06);
        overflow:hidden;
    }

    .progress-header{
        background:#2d5bae;
        padding:30px;
        color:#fff;
        text-align:center;
    }

    .progress-header h3{
        margin:0;
        font-weight:700;
        letter-spacing:.3px;
        font-size:28px;
    }

    .progress-header p{
        margin-top:6px;
        opacity:.9;
        font-size:.95rem;
        margin-bottom:0;
    }

    .progress-body{
        padding:30px;
    }

    /* Pricing specific styles */
    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr 400px;
        gap: 30px;
        align-items: start;
    }

    @media (max-width: 992px) {
        .pricing-grid {
            grid-template-columns: 1fr;
            gap: 30px;
        }
    }

    .calculator-header {
        margin-bottom: 30px;
        text-align: center;
    }

    .calculator-icon {
        width: 64px;
        height: 64px;
        background:#2d5bae;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        /*box-shadow: 0 8px 20px rgba(0, 166, 180, 0.2);*/
    }

    .calculator-icon i {
        font-size: 28px;
        color: white;
    }

    .calculator-title {
        font-size: 24px;
        font-weight: 700;
        color: #2d5bae;
        margin-bottom: 8px;
    }

    .calculator-description {
        color:#2d5bae;
        font-size: 15px;
        line-height: 1.6;
        font-weight: 300;
    }

    .credit-ratio-card {
        background: #f1f5f9;
        border-radius: 16px;
        padding: 24px;
        margin-bottom: 24px;
        border: 1px solid #e5e9f2;
    }

    .ratio-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .ratio-icon {
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #2d5bae;
        font-size: 18px;
        box-shadow: 0 4px 8px rgba(0, 166, 180, 0.1);
    }

    .ratio-title {
        font-size: 16px;
        font-weight: 600;
        color: #2d5bae;
        margin-bottom: 4px;
    }

    .ratio-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: white;
        border-radius: 14px;
        padding: 16px;
        border: 1px solid #e5e9f2;
    }

    .ratio-item {
        text-align: center;
        flex: 1;
    }

    .ratio-number {
        font-size: 24px;
        font-weight: 700;
        color: #2d5bae;
        margin-bottom: 4px;
    }

    .ratio-label {
        font-size: 13px;
        color:#2d5bae;
        font-weight: 400;
    }

    .ratio-equals {
        font-size: 20px;
        font-weight: 700;
        color:#2d5bae;
        padding: 0 16px;
    }

       /* Custom Plan Section */
.custom-plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #eef3f8;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.custom-plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.custom-plan-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #2d5bae;
    margin-bottom: 10px;
}

.custom-plan-header p {
    color: #2d5bae;
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
}

.custom-plan-form .form-label {
    font-weight: 600;
    color: #2d5bae;
    margin-bottom: 6px;
}

.custom-plan-form .form-control {
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #dfe6ee;
    font-size: 15px;
}

.custom-plan-form .form-control:focus {
    border-color: #2d5bae;
    box-shadow: 0 0 0 2px rgba(45, 91, 174, 0.15);
}

.custom-plan-btn {
    margin-top: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, #2d5bae, #1e4aa1);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

/* Hover */
.custom-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(45, 91, 174, 0.3);
    color: #fff;
}

/* Active (click feedback) */
.custom-plan-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(45, 91, 174, 0.25);
}

/* Focus (keyboard accessibility) */
.custom-plan-btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(45, 91, 174, 0.25),
        0 12px 25px rgba(45, 91, 174, 0.3);
}

/* Disabled state */
.custom-plan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
    .credit-controls {
        background: white;
        border-radius: 16px;
        padding: 24px;
        border: 1px solid #eef3f8;
        margin-bottom: 24px;
    }

    .controls-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .controls-title {
        font-size: 18px;
        font-weight: 600;
        color: #2d5bae;
    }

    .credit-display {
        font-size: 13px;
        color: #2d5bae;
        background: white;
        padding: 6px 12px;
        border-radius: 50px;
        border: 1px solid #e5e9f2;
        font-weight: 500;
    }

    .slider-container {
        margin-bottom: 24px;
    }

    .slider-labels {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .slider-label {
        font-size: 13px;
        color: #2d5bae;
        font-weight: 500;
    }

    .credit-slider {
        width: 100%;
        height: 8px;
        -webkit-appearance: none;
        background: linear-gradient(to right, #2d5bae 0%, #2d5bae var(--val, 50%), #dfe6ee var(--val, 50%), #dfe6ee 100%);
        border-radius: 8px;
        outline: none;
        transition: background 0.15s linear;
    }

    .credit-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 22px;
        height: 22px;
        background: white;
        border: 3px solid #2d5bae;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }

    .credit-slider::-webkit-slider-thumb:hover {
        transform: scale(1.05);
    }

    .input-controls {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 20px;
    }

    .qty-btn {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        background: white;
        border: 1px solid #d7dce8;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 18px;
        color: #2d5bae;
        font-weight: bold;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .qty-btn:hover {
        border-color: #007c7a;
        background: #f1f5f9;
    }

    .credit-input-wrapper {
        flex: 1;
        position: relative;
    }

    .credit-input {
        width: 100%;
        padding: 14px 20px;
        font-size: 20px;
        font-weight: 700;
        color: #2d5bae;
        background: white;
        border: 1px solid #2d5bae;
        border-radius: 14px;
        text-align: center;
        transition: all 0.2s ease;
    }

    .credit-input:focus {
        outline: none;
        border-color:#2d5bae;
        box-shadow: 0 0 0 2px rgba(0, 166, 180, 0.1);
    }

    .credit-unit {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        color: #2d5bae;
        font-size: 16px;
        font-weight: 500;
    }

    #credit-error {
        display: none;
        background: #ffefef;
        border: 1px solid #ff7c7c;
        padding: 15px;
        border-radius: 10px;
        text-align: center;
        color: #d60000;
        font-weight: 600;
        margin-top: 20px;
    }

    .price-summary-card {
        background: white;
        border-radius: 16px;
        padding: 30px;
        border: 1px solid #eef3f8;
        box-shadow: 0 4px 15px rgba(0,0,0,.04);
    }

    .summary-header {
        text-align: center;
        margin-bottom: 24px;
    }

    .summary-title {
        font-size: 22px;
        font-weight: 700;
        color: #2d5bae;
        margin-bottom: 8px;
    }

    .summary-subtitle {
        color: #2d5bae;
        font-size: 14px;
        font-weight: 300;
    }

    .price-display {
        text-align: center;
        margin-bottom: 24px;
        padding: 24px;
        background: white;
        border-radius: 16px;
        border: 1px solid #e5e9f2;
    }

    .total-price {
        font-size: 52px;
        font-weight: 900;
        color:#2d5bae;
        line-height: 1;
        margin-bottom: 8px;
    }

    .price-per-credit {
        font-size: 15px;
        color: #2d5bae;
        font-weight: 500;
    }

    .summary-details {
        background: white;
        border-radius: 12px;
        padding: 20px;
        border: 1px solid #eef3f8;
        margin-bottom: 24px;
    }

    .summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
        color:#2d5bae;
    }

    .summary-row:last-child {
        border-bottom: none;
    }

    .summary-label {
        font-size: 15px;
        color: #64748B;
    }

    .summary-value {
        font-size: 16px;
        font-weight: 600;
        color: #2d5bae;
    }

    .summary-row.total {
        border-top: 1px solid #f1f5f9;
        border-bottom: none;
        padding-top: 16px;
        margin-top: 8px;
        font-weight: 800;
        font-size: 18px;
    }

    .summary-row.total .summary-label {
        font-size: 18px;
        font-weight: 800;
        color: #2d5bae;
    }

    .summary-row.total .summary-value {
        font-size: 20px;
        font-weight: 800;
        color: #2d5bae;
    }

    .buy-button {
        width: 100%;
        padding: 18px;
        background:#2d5bae;
        color: white;
        border: none;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .buy-button:hover {
        background: #2d5bae;
        transform: translateY(-1px);
    }

    .trust-badges {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .trust-badge {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 12px;
        background: white;
        border-radius: 50px;
        border: 1px solid #e5e9f2;
        font-size: 12px;
        color: #2d5bae;
        font-weight: 500;
    }

    .trust-badge i {
        color: #2d5bae;
        font-size: 14px;
    }

    .empty-state{
        padding:50px 0;
        color:#2d5bae;
        font-size:.95rem;
    }

    /* Keep text white on hover / focus / active */
    .buy-button,
    .buy-button:hover,
    .buy-button:focus,
    .buy-button:active {
        color: #fff !important;
    }

    /* Remove Bootstrap focus shadow */
    .buy-button:focus,
    .qty-btn:focus {
        box-shadow: none !important;
        outline:none;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .hero-banner {
            padding:60px 0;
        }
        
        .progress-header {
            padding:24px;
        }
        
        .progress-header h3 {
            font-size:24px;
        }
        
        .progress-body {
            padding:20px;
        }
        
        .calculator-title {
            font-size: 22px;
        }
        
        .total-price {
            font-size:42px;
        }
        
        .ratio-content {
            flex-direction: column;
            gap:12px;
        }
        
        .ratio-equals {
            padding:0;
        }
        
        .input-controls {
            flex-direction: row;
        }
        
        .qty-btn {
            width:48px;
            height:48px;
        }
        
        .price-summary-card {
            padding:24px;
        }
        .credit-unit {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #2d5bae;
            font-size: 16px;
            font-weight: 500;
        }
        .controls-header {
            display: inline-grid;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
    }

    @media (max-width: 576px) {
        .hero-banner {
            padding:40px 0;
        }
        
        .progress-header {
            padding:20px;
        }
        
        .progress-body {
            padding:16px;
        }
        
        .calculator-icon {
            width:56px;
            height:56px;
        }
        
        .calculator-icon i {
            font-size:24px;
        }
        
        .input-controls {
            flex-direction:row;
        }
        .credit-unit {
        position: absolute;
        right: 30%;
        top: 79%;
        transform: translateY(-50%);
        color: #2d5bae;
        font-size: 16px;
        font-weight: 500;
    }
        
            .qty-btn {
        width: 18%;
        height: 58px;
    }

        /* Custom Plan Section */
.custom-plan-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #eef3f8;
    box-shadow: 0 10px 25px rgba(0,0,0,.05);
}

.custom-plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.custom-plan-header h3 {
    font-size: 26px;
    font-weight: 800;
    color: #2d5bae;
    margin-bottom: 10px;
}

.custom-plan-header p {
    color: #2d5bae;
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
}

.custom-plan-form .form-label {
    font-weight: 600;
    color: #2d5bae;
    margin-bottom: 6px;
}

.custom-plan-form .form-control {
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #dfe6ee;
    font-size: 15px;
}

.custom-plan-form .form-control:focus {
    border-color: #2d5bae;
    box-shadow: 0 0 0 2px rgba(45, 91, 174, 0.15);
}

.custom-plan-btn {
    margin-top: 10px;
    padding: 16px 34px;
    background: linear-gradient(135deg, #2d5bae, #1e4aa1);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

/* Hover */
.custom-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(45, 91, 174, 0.3);
    color: #fff;
}

/* Active (click feedback) */
.custom-plan-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(45, 91, 174, 0.25);
}

/* Focus (keyboard accessibility) */
.custom-plan-btn:focus {
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(45, 91, 174, 0.25),
        0 12px 25px rgba(45, 91, 174, 0.3);
}

/* Disabled state */
.custom-plan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

@media (max-width: 400px) {
    .credit-unit {
        position: absolute;
        right: 10%;
        top: 79%;
        transform: translateY(-50%);
        color: #2d5bae;
        font-size: 16px;
        font-weight: 500;
    }


    }
</style>