.pricing-calculator {
    font-family: Arial, sans-serif;
    color: #333;
    margin: auto;
}

.pricing-header {
    text-align: center;
    padding: 20px;
    background: #0041a8;
    color: #fff;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.control {
    flex: 1;
    min-width: 250px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.term-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.term-buttons button {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    flex: 1;
}

.term-buttons button.active {
    background: #0041a8;
    color: #fff;
    border-color: #0041a8;
}

input[type="range"] {
    width: 100%;
    margin-top: 10px;
}

.pricing-output {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.featured-price {
    font-size: 24px;
    font-weight: bold;
    color: #0041a8;
}

.featured-price .per-user {
    font-size: 12px;
    vertical-align: super;
    color: #555;
    margin-left: 4px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.primary-btn {
    padding: 10px 20px;
    background: #0041a8;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.secondary-btn {
    padding: 10px 20px;
    background: #ddd;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .controls, .pricing-output {
        flex-direction: column;
    }
    .term-buttons {
        flex-direction: column;
    }
}

/* Optional highlight for PAYG */
.card:nth-child(4) {
    border: 2px solid #0041a8;
}
``