/* ==========================================================
   IH Payroll – Pricing Page Styles
   File: /assets/css/payroll/payroll_pricing.css
   ========================================================== */

/* ── Tokens ─────────────────────────────────────────────── */
:root {
    --pr-blue: #0B5FFF;
    --pr-blue-dk: #0847cc;
    --pr-green: #1DB954;
    --pr-amber: #F59E0B;
    --pr-red: #EF4444;
    --pr-navy: #0D1B3E;
    --pr-surface: #F4F7FF;
    --pr-border: #DDE3F0;
    --pr-radius: 16px;
    --pr-shadow: 0 8px 32px rgba(11, 95, 255, 0.10);
}

a{
 text-decoration:none;   
    
}
/* ── Page shell ─────────────────────────────────────────── */
.pricing-page {
    background: var(--pr-surface);
}

/* ==========================================================
   HERO
   ========================================================== */
.pricing-hero {
    background: linear-gradient(135deg, #0D1B3E 0%, #0B5FFF 100%);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--pr-surface);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.pricing-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
}

.pricing-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Billing toggle ─────────────────────────────────────── */
.billing-toggle-wrap {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.billing-toggle {
    position: relative;
    width: 52px;
    height: 28px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 99px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background 0.25s;
}

.billing-toggle.yearly {
    background: #fff;
}

.billing-toggle::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pr-blue);
    transition: transform 0.25s;
}

.billing-toggle.yearly::after {
    transform: translateX(24px);
    background: var(--pr-blue);
}

.billing-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
}

.billing-label.active {
    color: #fff;
}

.badge-save {
    background: var(--pr-green);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 99px;
    letter-spacing: 0.03em;
}

/* ==========================================================
   PLAN CARDS
   ========================================================== */
.plans-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .plans-row {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }
}

.plan-card {
    background: #fff;
    border-radius: var(--pr-radius);
    border: 1.5px solid var(--pr-border);
    padding: 36px 28px 28px;
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--pr-shadow);
}

.plan-card.featured {
    border-color: var(--pr-blue);
    box-shadow: 0 12px 48px rgba(11, 95, 255, 0.18);
}

.plan-card.featured::before {
    content: '⭐ Most Popular';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pr-blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 5px 18px;
    border-radius: 0 0 10px 10px;
    white-space: nowrap;
}

/* Plan badges */
.plan-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 99px;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.plan-badge.starter {
    background: #EFF2FF;
    color: #4361EE;
}

.plan-badge.growth {
    background: #FFF7E6;
    color: #D97706;
}

.plan-badge.business {
    background: #F0FDF4;
    color: #15803D;
}

/* Plan name */
.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--pr-navy);
    margin-bottom: 6px;
}

/* Price */
.plan-price-wrap {
    margin: 20px 0 6px;
}

.plan-price {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--pr-navy);
    line-height: 1;
}

.plan-price sup {
    font-size: 1.1rem;
    vertical-align: super;
}

.plan-price-suffix {
    font-size: 0.82rem;
    color: #888;
    font-weight: 500;
}

.plan-price-monthly {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 4px;
}

.plan-original-price {
    font-size: 0.88rem;
    color: #bbb;
    text-decoration: line-through;
    margin-bottom: 18px;
}

/* Employee count */
.plan-employees {
    font-size: 0.88rem;
    color: #555;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.plan-employees i {
    color: var(--pr-blue);
}

/* CTA buttons */
.btn-plan {
    display: block;
    width: 100%;
    padding: 13px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-plan-primary {
    background: var(--pr-blue);
    color: #fff;
}

.btn-plan-primary:hover {
    background: var(--pr-blue-dk);
    color: #fff;
}

.btn-plan-outline {
    background: #fff;
    color: var(--pr-blue);
    border: 1.5px solid var(--pr-blue);
}

.btn-plan-outline:hover {
    background: var(--pr-blue);
    color: #fff;
}

/* Feature list inside card */
.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.plan-features-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #f5f5f5;
}

.plan-features-list li:last-child {
    border-bottom: none;
}

.plan-features-list .ico-ok {
    color: var(--pr-green);
    font-size: 1rem;
}

.plan-features-list .ico-no {
    color: var(--pr-red);
    font-size: 1rem;
}

.plan-features-list .ico-add {
    color: var(--pr-amber);
    font-size: 0.8rem;
    font-weight: 700;
}

/* ==========================================================
   COMPARISON TABLE
   ========================================================== */
.compare-section {
    padding: 80px 0 100px;
}

.compare-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--pr-navy);
}

.compare-table-wrap {
    border-radius: var(--pr-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    border: 1.5px solid var(--pr-border);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

/* Head row */
.compare-table thead tr {
    background: var(--pr-navy);
}

.compare-table thead th {
    padding: 18px 20px;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table thead th:first-child {
    text-align: left;
    color: rgba(255, 255, 255, 0.6);
}

.compare-table thead th.th-featured {
    background: var(--pr-blue);
    color: #fff;
}

/* Sub-head row */
.compare-table .sub-head td {
    padding: 10px 20px;
    background: #F8FAFF;
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid var(--pr-border);
    border-right: 1px solid var(--pr-border);
}

.compare-table .sub-head td.col-featured {
    background: #EEF3FF;
    color: var(--pr-blue);
}

/* Body rows */
.compare-table tbody tr {
    border-bottom: 1px solid #F0F2F8;
    transition: background 0.15s;
}

.compare-table tbody tr:hover {
    background: #FAFBFF;
}

.compare-table tbody tr:last-child {
    border-bottom: none;
}

.compare-table tbody td {
    padding: 14px 20px;
    font-size: 0.88rem;
    color: #444;
    text-align: center;
    border-right: 1px solid #F0F2F8;
}

.compare-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--pr-navy);
    padding-left: 24px;
}

.compare-table tbody td.col-featured {
    background: #F7F9FF;
}

/* Striped rows */
.compare-table tbody tr:nth-child(even) {
    background: #FAFBFF;
}

.compare-table tbody tr:nth-child(even) td.col-featured {
    background: #F2F5FF;
}

/* Category header rows */
.compare-table .cat-row td {
    background: #F0F4FF;
    color: var(--pr-blue);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 10px 24px;
    border-top: 2px solid var(--pr-border);
}

.compare-table .cat-row td.col-featured {
    background: #E8EEFF;
}

/* Value icons & labels */
.icon-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pr-green);
    vertical-align: middle;
}

.icon-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--pr-red);
    vertical-align: middle;
}

.tick {
    color: var(--pr-green);
    font-size: 1.1rem;
}

.cross {
    color: var(--pr-red);
    font-size: 1.1rem;
}

.addon {
    font-size: 0.78rem;
    font-weight: 700;
    color: #b45309;
    background: #FEF3C7;
    border: 1px solid #FDE68A;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.limited, .limited-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: #4B5563;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.unlimited-badge {
    font-size: 0.82rem;
    font-weight: 700;
    color: #15803D;
    background: #DCFCE7;
    border: 1px solid #BBF7D0;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* Responsive horizontal scroll & sleek scrollbar */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--pr-radius);
    scrollbar-width: thin;
    scrollbar-color: var(--pr-blue) #F0F4FF;
}

.table-scroll::-webkit-scrollbar {
    height: 6px;
}

.table-scroll::-webkit-scrollbar-track {
    background: #F0F4FF;
    border-radius: 4px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: var(--pr-blue);
    border-radius: 4px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.pricing-faq {
    padding: 0 0 80px;
}

.pricing-faq h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--pr-navy);
}

.pf-item {
    border: 1.5px solid var(--pr-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #fff;
}

.pf-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 22px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--pr-navy);
    cursor: pointer;
    gap: 12px;
}

.pf-btn .pf-icon {
    color: var(--pr-blue);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.pf-item.open .pf-btn .pf-icon {
    transform: rotate(45deg);
}

.pf-item.open .pf-btn {
    color: var(--pr-blue);
}

.pf-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.pf-body-inner {
    padding: 0 22px 18px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}

/* ==========================================================
   CTA BAND
   ========================================================== */
.pricing-cta {
    background: linear-gradient(135deg, #0D1B3E, #0B5FFF);
    border-radius: 20px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
    margin-bottom: 80px;
}

.pricing-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-cta p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.btn-cta-white {
    background: #fff;
    color: var(--pr-blue);
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.96rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-white:hover {
    background: #e8eeff;
    color: var(--pr-blue);
    transform: translateY(-2px);
}

/* ==========================================================
   RESPONSIVE OVERRIDES
   ========================================================== */
@media (max-width: 1199px) {
    .plans-row {
        gap: 18px;
    }

    .plan-card {
        padding: 30px 22px 24px;
    }

    .plan-price {
        font-size: 2.1rem;
    }
}

@media (max-width: 991px) {
    .plans-row {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 28px;
    }

    .pricing-hero {
        padding: 60px 0 100px;
    }

    .pricing-hero::after {
        height: 40px;
    }

    .compare-section {
        padding: 60px 0 80px;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 45px 0 80px;
    }

    .pricing-hero h1 {
        font-size: 1.85rem;
    }

    .pricing-hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem !important;
    }

    .plan-card {
        padding: 28px 20px 22px;
    }

    .compare-section {
        padding: 40px 0 60px;
    }

    .compare-section h2 {
        font-size: 1.6rem;
    }

    .compare-table {
        min-width: 600px;
    }

    .compare-table thead th,
    .compare-table tbody td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    /* Sticky first column on mobile scroll */
    .compare-table thead th:first-child,
    .compare-table tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fff;
        box-shadow: 3px 0 8px rgba(0, 0, 0, 0.05);
        padding-left: 16px;
    }

    .compare-table thead th:first-child {
        background: var(--pr-navy);
        z-index: 3;
    }

    .compare-table .sub-head td:first-child {
        background: #F8FAFF;
    }

    .compare-table .cat-row td:first-child {
        background: #F0F4FF;
    }

    .compare-table tbody tr:nth-child(even) td:first-child {
        background: #FAFBFF;
    }

    .compare-table tbody tr:hover td:first-child {
        background: #FAFBFF;
    }

    .pricing-cta {
        padding: 36px 20px;
        margin-bottom: 50px;
        border-radius: 16px;
    }

    .pricing-cta h2 {
        font-size: 1.5rem;
    }

    .pricing-cta .d-flex {
        flex-direction: column;
        width: 100%;
        gap: 10px !important;
    }

    .btn-cta-white {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .pricing-hero h1 {
        font-size: 1.6rem;
    }

    .plan-price {
        font-size: 1.95rem;
    }

    .plan-card {
        padding: 24px 16px 20px;
        border-radius: 14px;
    }

    .plan-features-list li {
        font-size: 0.82rem;
        gap: 6px;
    }

    .compare-table thead th,
    .compare-table tbody td {
        padding: 10px 10px;
        font-size: 0.78rem;
    }

    .compare-table thead th:first-child,
    .compare-table tbody td:first-child {
        min-width: 170px;
        padding-left: 12px;
    }
}