/* =============================================
   Pricing Comparison Slider Block
   ============================================= */

.pcs-section {
    width: 100%;
    padding: 80px 0;
    background-color: #f0eeff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Background overlay */
.pcs-overlay {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}
.pcs-overlay--left  { left: 0; }
.pcs-overlay--right { right: 0; }
.pcs-overlay img { display: block; width: auto; max-height: 100%; }

.pcs-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* Title */
.pcs-title {
    font-weight: 700;
    margin: 0;
    text-align: center;
    margin-bottom: 20px;
}

/* Subtitle */
.pcs-subtitle {
    margin: -16px 0 0;
    text-align: center;
    max-width: 700px;
}
.pcs-subtitle p { margin: 0; }

/* Card */
.pcs-card {
    width: 100%;
    max-width: 995px;
    background: rgba(123, 61, 232, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(42, 28, 74, 1);
    padding: 60px 50px 12px;
    position: relative;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(30px)
}

/* Badge */
.pcs-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(123, 61, 232, 1);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    padding: 7px 24px 5px;
    border-radius: 10px;
    white-space: nowrap;
}

/* Savings row */
.pcs-savings-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.pcs-arrow-icon {
    width: 60px;
    height: auto;
    flex-shrink: 0;
    margin-top: -24px;
}

.pcs-savings-text {
    margin: 0;
    font-size: 34px;
    color: rgba(42, 28, 74, 1);
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.pcs-savings-text strong {
    font-weight: 700;
}

.pcs-savings-amount {
    font-size: 56px;
    font-weight: 700;
    color: rgba(123, 61, 232, 1);
    line-height: 1;
    margin-left: 10px;
}

.pcs-savings-period {
    font-size: 30px;
    color: rgba(123, 61, 232, 1);
    font-weight: 400;
}

/* Slider */
.pcs-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}

.pcs-slider-label {
    font-size: 18px;
    color: rgba(123, 61, 232, 1);
    white-space: nowrap;
    flex-shrink: 0;
    position: absolute;
    top: 32px;
    left: -12px;
}

.pcs-slider-label.pcs-slider-label--max {
    right: -12px;
    left: unset;
}

.pcs-slider-track {
    flex: 1;
    position: relative;
}

.pcs-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(to right, rgba(123, 61, 232, 1) 0%, rgba(123, 61, 232, 1) 0%, rgba(207, 183, 250, 1) 0%, rgba(207, 183, 250, 1) 100%);
    outline: none;
    cursor: pointer;
}

.pcs-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 61, 232, 1) 38%, #fff 38%);
    border: 1px solid rgba(123, 61, 232, 1);
    backdrop-filter: blur(6px);
    box-shadow: 0px 1px 11px 0px rgba(59, 17, 162, 1);
    cursor: grab;
    transition: transform 0.15s ease;
}

.pcs-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
}

.pcs-slider::-moz-range-thumb {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #3C10A6;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px #3C10A6, 0 2px 8px rgba(60, 16, 166, 0.3);
    cursor: grab;
}

/* List size row */
.pcs-listsize-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 30px;
}

.pcs-listsize-label {
    font-size: 30px;
    color: rgba(42, 28, 74, 1);
}

.pcs-listsize-value {
    background: #fff;
    border-radius: 10px;
    padding: 6px 54px 0px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.pcs-listsize-number {
    font-size: 30px;
    font-weight: 700;
    color: rgba(59, 17, 162, 1);
}

/* Source */
.pcs-source {
    margin: 0;
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    line-height: 91%;
    letter-spacing: 0%;
    color: rgba(42, 28, 74, 1);
}

/* CTA */
.pcs-cta-wrapper {
    display: flex;
    justify-content: center;
}

.pcs-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px 14px;
    border-radius: 999px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.pcs-cta-btn:hover {
    opacity: 0.88;
}

/* Responsive */
@media (max-width: 768px) {
    .pcs-section {
        padding: 48px 0;
    }

    .pcs-card {
        padding: 40px 24px 28px;
    }

    .pcs-savings-text {
        font-size: 20px;
    }

    .pcs-savings-amount {
        font-size: 24px;
    }

    .pcs-savings-period {
        font-size: 24px;
    }

    .pcs-arrow-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .pcs-listsize-row {
        flex-direction: column;
        gap: 16px;
    }
}
