﻿/* Genius Pricing Calculator Page
   Place this file at: wwwroot/css/pricing-page.css */

.genius-pricing-page {
    background: #f8f9fc;
}

    .genius-pricing-page .section-id {
        letter-spacing: 4px;
        text-transform: uppercase;
    }

.pricing-calc-card,
.pricing-estimate-card,
.everything-included-card {
    border: 1px solid #e8eaf0;
}

.pricing-control-block {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    align-items: start;
}

.pricing-control-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(238, 61, 123, .10);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pricing-control-icon span:before {
        font-size: 34px;
    }

.pricing-value-pill {
    min-width: 88px;
    padding: 9px 14px;
    border: 1px solid #edf0f5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(31, 41, 55, .08);
    text-align: center;
}

    .pricing-value-pill strong {
        display: block;
        font-size: 1.55rem;
        line-height: 1;
        color: #ee3d7b;
        font-weight: 800;
    }

    .pricing-value-pill span {
        display: block;
        font-size: .78rem;
        color: #667085;
        margin-top: 3px;
    }

.pricing-divider {
    margin: 34px 0;
    opacity: .12;
}

.genius-price-slider {
    width: 100%;
    height: 8px;
    padding: 0;
}

    .genius-price-slider::-webkit-slider-runnable-track {
        height: 6px;
        border-radius: 99px;
        background: linear-gradient(90deg, #ee3d7b var(--range-progress, 0%), #e6e8ee var(--range-progress, 0%));
    }

    .genius-price-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 22px;
        height: 22px;
        margin-top: -8px;
        border-radius: 50%;
        background: #ee3d7b;
        border: 4px solid #fff;
        box-shadow: 0 3px 10px rgba(238, 61, 123, .45);
        cursor: pointer;
    }

    .genius-price-slider::-moz-range-track {
        height: 6px;
        border-radius: 99px;
        background: #e6e8ee;
    }

    .genius-price-slider::-moz-range-progress {
        height: 6px;
        border-radius: 99px;
        background: #ee3d7b;
    }

    .genius-price-slider::-moz-range-thumb {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #ee3d7b;
        border: 4px solid #fff;
        box-shadow: 0 3px 10px rgba(238, 61, 123, .45);
        cursor: pointer;
    }

.pricing-scale {
    display: grid;
    margin-top: 12px;
    color: #667085;
    font-size: .9rem;
    font-weight: 600;
}

    .pricing-scale.four-cols {
        grid-template-columns: repeat(4, 1fr);
    }

    .pricing-scale.five-cols {
        grid-template-columns: repeat(5, 1fr);
    }

    .pricing-scale span:last-child {
        text-align: right;
    }

    .pricing-scale span:not(:first-child):not(:last-child) {
        text-align: center;
    }

.pricing-step-note {
    font-size: .83rem;
}

.pricing-currency-select {
    border: 1px solid #e1e5ee;
    border-radius: 9px;
    padding: 7px 10px;
    background: #fff;
    color: #344054;
    font-weight: 700;
    outline: none;
}

.pricing-estimate-card {
    background: linear-gradient(180deg, #fff 0%, #fff7fa 100%);
}

.pricing-main-total span {
    font-size: 3.8rem;
    line-height: 1;
    font-weight: 800;
    color: #111827;
    letter-spacing: -3px;
}

.pricing-main-total small {
    color: #475467;
    font-weight: 700;
    margin-left: 6px;
}

.pricing-breakdown {
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px dashed #ccd2dd;
    padding: 18px 0 12px;
}

    .pricing-breakdown div,
    .pricing-total-row {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        align-items: center;
        margin-bottom: 12px;
    }

    .pricing-breakdown span {
        color: #475467;
    }

    .pricing-breakdown strong {
        color: #111827;
        font-weight: 800;
    }

.pricing-total-row {
    margin-top: 18px;
    margin-bottom: 0;
    font-weight: 800;
    color: #111827;
}

    .pricing-total-row strong {
        color: #ee3d7b;
        font-size: 1.55rem;
    }

.pricing-included-list {
    padding: 17px 18px;
    background: rgba(238, 61, 123, .055);
    border: 1px solid rgba(238, 61, 123, .20);
    border-radius: 12px;
}

    .pricing-included-list p {
        display: flex;
        align-items: center;
        gap: 11px;
        margin: 0 0 10px;
        color: #1f2937;
        font-size: .96rem;
    }

        .pricing-included-list p:last-child {
            margin-bottom: 0;
        }

    .pricing-included-list span {
        width: 22px;
        height: 22px;
        min-width: 22px;
        border-radius: 50%;
        background: #ee3d7b;
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

        .pricing-included-list span:before {
            font-size: 11px;
        }

.pricing-btn-main,
.pricing-btn-secondary {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

    .pricing-btn-main span:before,
    .pricing-btn-secondary span:before {
        font-size: 14px;
    }

.included-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.included-feature {
    min-height: 122px;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    background: #fff;
    padding: 18px 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    box-shadow: 0 7px 18px rgba(31, 41, 55, .035);
}

    .included-feature > span {
        color: #ee3d7b;
        min-width: 36px;
        margin-top: 3px;
    }

        .included-feature > span:before {
            font-size: 34px;
        }

    .included-feature h6 {
        font-size: .98rem;
        line-height: 1.2;
        font-weight: 800;
        color: #111827;
        margin-bottom: 6px;
    }

    .included-feature p {
        font-size: .84rem;
        line-height: 1.45;
        color: #667085;
        margin: 0;
    }

@media (max-width: 1199px) {
    .included-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .pricing-control-block {
        grid-template-columns: 1fr;
    }

    .pricing-control-icon {
        margin-bottom: -5px;
    }

    .pricing-main-total span {
        font-size: 3.1rem;
    }
}

@media (max-width: 575px) {
    .pricing-calc-card,
    .pricing-estimate-card,
    .everything-included-card {
        padding: 28px 22px !important;
    }

    .pricing-control-body .d-flex {
        flex-direction: column;
        gap: 16px;
    }

    .pricing-value-pill {
        width: 100%;
    }

    .included-feature-grid {
        grid-template-columns: 1fr;
    }
}


.price-ticks {
    position: relative;
    height: 32px;
    margin-top: 14px;
    width: 100%;
}

    .price-ticks span {
        position: absolute;
        transform: translateX(-50%);
        font-size: 15px;
        font-weight: 700;
        color: #5f6b7a;
        white-space: nowrap;
    }

        .price-ticks span:first-child {
            transform: translateX(0);
        }

        .price-ticks span:last-child {
            transform: translateX(-100%);
        }


.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #1c2841;
    min-height: 60px;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.2px;
}

.feature-description {
    font-size: 16px;
    line-height: 1.55;
    color: #667085;
}
