/* =========================================
   RELIZON WORKFORCE ERP — PRICING SECTION
========================================= */

.pricing-section {
    --pricing-primary: #165bfb;
    --pricing-text: #15213b;
    --pricing-muted: #68758d;
    --pricing-border: #e3e9f4;

    position: relative;
    overflow: hidden;
    padding: 65px 16px;
    background:
        radial-gradient(ellipse at 5% 10%, rgba(22, 91, 251, .07), transparent 34%),
        radial-gradient(ellipse at 95% 80%, rgba(104, 77, 237, .06), transparent 32%),
        #f8faff;
    font-family: "Inter", sans-serif;
}

.pricing-container {
    max-width: 1640px;
    margin: 0 auto;
}

.pricing-heading {
    max-width: 760px;
    margin: 0 auto 43px;
    text-align: center;
}

.pricing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 19px;
    padding: 9px 14px;
    border: 1px solid #dce7ff;
    border-radius: 50px;
    background: #fff;
    color: #165bfb;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.pricing-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #165bfb;
    box-shadow: 0 0 0 4px rgba(22, 91, 251, .10);
}

.pricing-heading h2 {
    margin: 0 0 19px;
    color: #15213b;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.pricing-heading h2 span {
    color: #165bfb;
}

.pricing-heading>p {
    max-width: 650px;
    margin: 0 auto;
    color: #68758d;
    font-size: 16px;
    line-height: 1.85;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 25px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 26px 22px 23px;
    border: 1px solid #e1e7f2;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 30px rgba(22, 43, 84, .035);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.pricing-card:hover {
    transform: translateY(-7px);
    border-color: #b9ccff;
    box-shadow: 0 22px 48px rgba(22, 55, 120, .10);
}

.pricing-professional {
    border: 2px solid #165bfb;
    box-shadow: 0 16px 42px rgba(22, 91, 251, .10);
}

.pricing-professional:hover {
    border-color: #165bfb;
    box-shadow: 0 24px 52px rgba(22, 91, 251, .16);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    z-index: 1;
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: 50px;
    background: #165bfb;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 5px 14px rgba(22, 91, 251, .25);
}

.pricing-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: #edf3ff;
    color: #165bfb;
    font-size: 27px;
    font-weight: 700;
}

.pricing-professional .pricing-icon {
    background: #165bfb;
    color: #fff;
}

.pricing-enterprise .pricing-icon {
    background: #f0ebff;
    color: #7544c8;
}

.pricing-custom {
    border-color: #cbd8f3;
    background: linear-gradient(160deg, #ffffff 0%, #f7f9ff 100%);
}

.pricing-custom .pricing-icon {
    background: #fff1e8;
    color: #e56b25;
}

.pricing-custom .pricing-subtitle {
    color: #e56b25;
}

.pricing-custom .pricing-cta {
    border-color: #165bfb;
    background: #165bfb;
    color: #ffffff;
}

.pricing-custom .pricing-cta:hover {
    border-color: #1048d1;
    background: #1048d1;
}

.pricing-price-custom strong {
    font-size: clamp(27px, 2vw, 34px);
    letter-spacing: -1px;
}

.pricing-price-custom .pricing-price-label {
    margin-top: 8px;
}

.pricing-addon-custom {
    border-style: solid;
    border-color: #e3e9f4;
    background: #ffffff;
}

.pricing-card-top h3 {
    margin: 0 0 7px;
    color: #15213b;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.6px;
}

.pricing-subtitle {
    margin: 0 0 12px;
    color: #165bfb;
    font-size: 16px;
    font-weight: 700;
}

.pricing-description {
    min-height: 48px;
    margin: 0;
    color: #68758d;
    font-size: 16px;
    line-height: 1.8;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    flex-wrap: wrap;
    margin: 25px 0 22px;
    color: #15213b;
}

.pricing-currency {
    align-self: flex-start;
    margin-top: 7px;
    font-size: 19px;
    font-weight: 700;
}

.pricing-price strong {
    font-size: clamp(35px, 3vw, 43px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
}

.pricing-price-label {
    width: 100%;
    margin-top: 6px;
    color: #8792a7;
    font-size: 16px;
}

.pricing-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 5px 14px;
    border: 1px solid #e9edf5;
    border-radius: 13px;
    background: #f9fbff;
}

.pricing-metrics>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #e9edf5;
}

.pricing-metrics>div:last-child {
    border-bottom: 0;
}

.pricing-metrics span {
    color: #68758d;
    font-size: 16px;
    line-height: 1.5;
}

.pricing-metrics strong {
    flex-shrink: 0;
    color: #15213b;
    font-size: 16px;
    font-weight: 800;
}

.pricing-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #dce5f5;
    border-radius: 11px;
    background: #fff;
    color: #165bfb;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.pricing-cta:hover {
    border-color: #165bfb;
    background: #edf3ff;
    color: #1048d1;
}

.pricing-professional .pricing-cta {
    border-color: #165bfb;
    background: #165bfb;
    color: #fff;
}

.pricing-professional .pricing-cta:hover {
    background: #1048d1;
}

.pricing-divider {
    height: 1px;
    margin: 25px 0 20px;
    background: #e9edf5;
}

.pricing-features-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 17px;
    color: #15213b;
    font-size: 16px;
    font-weight: 800;
}

.pricing-feature-count {
    color: #8b96aa;
    font-size: 12px;
    font-weight: 600;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #56647b;
    font-size: 16px;
    line-height: 1.65;
}

.pricing-check {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    margin-top: 0;
    border-radius: 50%;
    background: #e9f8f0;
    color: #16845b;
    font-size: 16px;
    font-weight: 900;
}

.pricing-addon {
    margin-top: auto;
    padding: 15px;
    border: 1px dashed #cbd8f3;
    border-radius: 12px;
    background: #f8faff;
}

.pricing-addon-label {
    display: block;
    margin-bottom: 7px;
    color: #8792a7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.pricing-addon strong {
    display: block;
    color: #34435f;
    font-size: 16px;
    line-height: 1.6;
}

.pricing-addon-note {
    margin: 10px 0 0;
    color: #68758d;
    font-size: 16px;
    line-height: 1.7;
}

.pricing-bottom {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-top: 35px;
    padding: 23px 27px;
    border: 1px solid #e0e8f8;
    border-radius: 16px;
    background: #fff;
}

.pricing-bottom-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #edf3ff;
    color: #165bfb;
    font-size: 19px;
    font-weight: 800;
}

.pricing-bottom>div:nth-child(2) {
    flex: 1;
}

.pricing-bottom strong {
    color: #15213b;
    font-size: 16px;
}

.pricing-bottom p {
    margin: 5px 0 0;
    color: #68758d;
    font-size: 16px;
    line-height: 1.6;
}

.pricing-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #165bfb;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.pricing-contact-link:hover {
    color: #1048d1;
}

.pricing-disclaimer {
    margin: 20px auto 0;
    color: #8792a7;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

/* Tablet and small laptop: two comfortable columns */
@media (min-width: 641px) {
    .pricing-section {
        padding: 80px 20px;
    }

    .pricing-heading {
        margin-bottom: 50px;
    }

    .pricing-heading h2 {
        font-size: clamp(36px, 4vw, 48px);
        letter-spacing: -1.4px;
    }

    .pricing-heading>p {
        font-size: 16px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .pricing-card {
        padding: 28px 24px 24px;
    }

    .pricing-bottom {
        align-items: center;
    }
}

/* Wide desktop: show all four plans side by side */
@media (min-width: 1101px) {
    .pricing-section {
        padding: 100px 24px;
    }

    .pricing-heading {
        margin-bottom: 58px;
    }

    .pricing-heading h2 {
        font-size: clamp(40px, 4vw, 52px);
        letter-spacing: -1.8px;
    }

    .pricing-heading>p {
        font-size: 16px;
    }

    .pricing-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .pricing-card {
        padding: 30px 20px 25px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pricing-card,
    .pricing-cta {
        transition: none;
    }

    .pricing-card:hover {
        transform: none;
    }
}