/* ── Pricing Modal ── */
        .hr-pricing-backdrop {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 9999;
            align-items: center;
            justify-content: center;
            padding: 16px;
        }

        .hr-pricing-backdrop.open {
            display: flex;
        }

        .hr-pricing-card {
            background: #fff;
            width: 95%;
            max-width: 1150px;
            max-height: 90vh;
            border-radius: 20px;
            position: relative;
            padding: 24px;
            display: flex;
            flex-direction: column;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        }

        .hr-pricing-close {
            position: absolute;
            top: 18px;
            right: 20px;
            background: none;
            border: none;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            color: #94a3b8;
            padding: 5px 9px;
            border-radius: 8px;
            transition:
                background 0.15s,
                color 0.15s;
        }

        .hr-pricing-close:hover {
            background: #e2e8f0;
            color: #1e293b;
        }

        .hr-pricing-header {
            text-align: center;
            margin-bottom: 24px;
            padding-bottom: 12px;
            border-bottom: 1px solid #f1f5f9;
            flex-shrink: 0;
        }

        .hr-pricing-header h2 {
            font-size: 1.75rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 6px;
        }

        .hr-pricing-header p {
            color: #64748b;
            font-size: 0.95rem;
            max-width: 500px;
            margin: 0 auto;
        }

        .hr-pricing-plans {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            width: 100%;
            max-width: 1100px;
            margin: 0 auto;
            overflow: visible;
        }

        @media (min-width: 992px) {
            .hr-pricing-plans {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                overflow-x: visible;
            }
        }

        @media (max-width: 900px) {
            .hr-pricing-plans {
                grid-template-columns: 1fr;
                gap: 32px;
                overflow-y: auto;
                flex: 1;
            }

            .hr-plan.popular {
                transform: scale(1);
                margin: 8px 0;
            }

            .hr-pricing-card {
                height: 90vh;
                display: flex;
                flex-direction: column;
            }
        }

        @media (max-width: 720px) {
            .hr-pricing-plans {
                grid-template-columns: 1fr;
                gap: 28px;
                padding: 10px 0 16px;
            }

            .hr-pricing-card {
                padding: 32px 18px 28px;
            }
        }


        

        /* ── Base Plan Card ── */
        .hr-plan {
            background: #fff;
            border: 1.5px solid #e2e8f0;
            border-radius: 14px;
            padding: 28px 22px 24px;
            position: relative;
            display: flex;
            flex-direction: column;
            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        }

        .hr-plan:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
        }

        /* ── Creator (Popular) ── */
        .hr-plan.popular {
            border-color: #7c3aed;
            border-radius: 14px;
            background: linear-gradient(160deg, #0d0a1e 0%, #130d26 100%);
            box-shadow:
                0 0 0 2.5px #7c3aed,
                0 2px 8px rgba(0, 0, 0, 0.08);
            transform: scale(1.06);
            z-index: 1;
        }

        .hr-plan.popular:hover {
            transform: scale(1.06) translateY(-4px);
            box-shadow:
                0 0 0 2.5px #7c3aed,
                0 12px 32px rgba(0, 0, 0, 0.14);
        }

        /* Creator card - text overrides for dark background */
        .hr-plan.popular .hr-plan-name {
            color: #ffffff;
        }

        .hr-plan.popular .hr-plan-sublabel {
            color: rgba(255, 255, 255, 0.55);
        }

        .hr-plan.popular .hr-plan-price {
            color: #ffffff;
        }

        .hr-plan.popular .hr-plan-price span {
            color: rgba(255, 255, 255, 0.45);
        }

        .hr-plan.popular .hr-feat-group-label {
            color: rgba(255, 255, 255, 0.4);
        }

        .hr-plan.popular .hr-plan-rows {
            border-top-color: rgba(255, 255, 255, 0.1);
        }

        .hr-plan.popular .hr-plan-rows>div {
            color: rgba(255, 255, 255, 0.65);
        }

        .hr-plan.popular .hr-plan-rows>div span:last-child,
        .hr-plan.popular .hr-plan-rows>div strong {
            color: #e9d5ff;
        }

        .hr-plan.popular .hr-plan-features li {
            color: rgba(255, 255, 255, 0.8);
        }

        /* ── Pro (Premium) ── */
        .hr-plan.pro {
            border-color: #334155;
            border-top: 4px solid transparent;
            background-image:
                linear-gradient(#fff, #fff),
                linear-gradient(90deg, #1e293b, #475569, #b45309);
            background-origin: border-box;
            background-clip: padding-box, border-box;
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.14);
        }

        .hr-plan.pro:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 40px rgba(15, 23, 42, 0.2);
        }

        /* ── Badges ── */
        .hr-plan-badge {
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 0.7rem;
            font-weight: 700;
            padding: 4px 13px;
            border-radius: 20px;
            white-space: nowrap;
            letter-spacing: 0.05em;
            text-transform: uppercase;
        }

        .hr-plan-badge.badge-popular {
            background: #7c3aed;
            color: #fff;
        }

        .hr-plan-badge.badge-pro {
            background: linear-gradient(90deg, #1e293b, #475569);
            color: #fff;
        }

        /* ── Plan Name & Price ── */
        .hr-plan-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 2px;
        }

        .hr-plan-sublabel {
            font-size: 0.76rem;
            color: #94a3b8;
            margin-bottom: 10px;
            font-style: italic;
        }

        .hr-plan.pro .hr-plan-sublabel {
            color: #b45309;
            font-style: normal;
            font-weight: 600;
        }

        .hr-plan-price {
            font-size: 2.2rem;
            font-weight: 800;
            color: #0f172a;
            margin-bottom: 18px;
            letter-spacing: -0.03em;
        }

        .hr-plan-price span {
            font-size: 0.88rem;
            font-weight: 400;
            color: #94a3b8;
            letter-spacing: 0;
        }

        /* ── Feature Group Labels ── */
        .hr-feat-group-label {
            font-size: 0.68rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: #94a3b8;
            margin: 10px 0 4px;
        }

        .hr-feat-group-label:first-of-type {
            margin-top: 0;
        }

        /* ── Capability Rows ── */
        .hr-plan-rows {
            border-top: 1px solid #f1f5f9;
            padding-top: 4px;
            margin-bottom: 4px;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .hr-plan-rows>div {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 10px;
            font-size: 0.84rem;
            color: #64748b;
        }

        .hr-plan-rows>div>span:first-child {
            white-space: nowrap;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .hr-plan-rows>div span:last-child,
        .hr-plan-rows>div strong {
            font-weight: 600;
            color: #1e293b;
            text-align: right;
        }

        .hr-row-icon {
            width: 13px;
            height: 13px;
            opacity: 0.5;
            flex-shrink: 0;
        }

        /* ── Core Features List ── */
        .hr-plan-features {
            list-style: none;
            margin: 0 0 12px;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
            flex: 1;
        }

        .hr-plan-features li {
            font-size: 14px;
            color: #475569;
            display: flex;
            align-items: flex-start;
            gap: 7px;
            line-height: 1.4;
            margin-bottom: 6px;
        }

        .hr-plan-features li::before {
            content: "";
            display: inline-block;
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            margin-top: 1px;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
        }

        .hr-plan-features li.feat-gold {
            color: #92400e;
            font-weight: 600;
        }

        .hr-plan-features li.feat-gold::before {
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        }

        .hr-trust-note {
            font-size: 0.74rem;
            color: #94a3b8;
            font-style: italic;
            margin: -4px 0 12px 21px;
            line-height: 1.4;
        }

        .hr-feat-info-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            font-size: 10px;
            font-weight: 700;
            font-style: normal;
            cursor: pointer;
            flex-shrink: 0;
            margin-left: auto;
            transition: background 0.15s, color 0.15s;
            position: relative;
            line-height: 1;
        }

        .hr-feat-info-icon:hover {
            background: #e0e7ff;
            color: #6366f1;
        }

        .hr-feat-tooltip {
            display: none;
            position: absolute;
            top: 50%;
            right: calc(100% + 12px);
            transform: translateY(-50%);
            background: #1e293b;
            color: #f8fafc;
            font-size: 12px;
            font-weight: 400;
            line-height: 1.5;
            padding: 10px 14px;
            border-radius: 10px;
            width: 240px;
            box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
            z-index: 100;
            pointer-events: none;
            text-align: left;
        }

        .hr-feat-tooltip::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 100%;
            transform: translateY(-50%);
            border: 6px solid transparent;
            border-left-color: #1e293b;
        }

        .hr-feat-info-icon:hover .hr-feat-tooltip {
            display: block;
        }

        /* ── CTA Buttons ── */
        .hr-plan-btn {
            width: 100%;
            padding: 12px 0;
            border-radius: 9px;
            font-size: 0.91rem;
            font-weight: 700;
            cursor: pointer;
            transition:
                transform 0.15s ease,
                box-shadow 0.15s ease,
                opacity 0.15s;
            margin-top: auto;
            letter-spacing: 0.01em;
        }

        .hr-plan-btn:hover {
            transform: translateY(-1px);
        }

        .hr-plan-btn.btn-starter {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            border: none;
            color: #fff;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
        }

        .hr-plan-btn.btn-starter:hover {
            box-shadow: 0 6px 22px rgba(15, 23, 42, 0.4);
        }

        .hr-plan-btn.btn-creator {
            background: #7c3aed;
            border: none;
            color: #fff;
            box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
        }

        .hr-plan-btn.btn-creator:hover {
            background: #6d28d9;
            box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
        }

        .hr-plan-btn.btn-pro {
            background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
            border: none;
            color: #fff;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
        }

        .hr-plan-btn.btn-pro:hover {
            box-shadow: 0 6px 22px rgba(15, 23, 42, 0.4);
        }

        /* ── Trust Section ── */
        .hr-trust-section {
            margin-top: 28px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px 32px;
        }

        @media (max-width: 560px) {
            .hr-trust-section {
                grid-template-columns: 1fr;
            }
        }

        .hr-trust-item {
            display: flex;
            gap: 10px;
            align-items: flex-start;
        }

        .hr-trust-item-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            color: #64748b;
            margin-top: 1px;
        }

        .hr-trust-item-text strong {
            display: block;
            font-size: 0.83rem;
            color: #1e293b;
            font-weight: 700;
            margin-bottom: 2px;
        }

        .hr-trust-item-text span {
            font-size: 0.78rem;
            color: #94a3b8;
            line-height: 1.45;
        }