/* ============================================================
   JOBLYNK — RECRUITER PRICING (recruiter-pricing.html)
   Premium system aligned with home.css
   ============================================================ */

.pricing-page {
    --rp-max: 1180px;
    --rp-gutter: 1.25rem;
    --rp-border: rgba(148, 163, 184, 0.12);
    --rp-border-hover: rgba(129, 140, 248, 0.4);
    --rp-section-pad: 0;
    --rp-accent: #6366f1;
    --rp-accent-light: #a5b4fc;
    --rp-accent-soft: rgba(99, 102, 241, 0.12);
    --rp-accent-border: rgba(129, 140, 248, 0.28);
    --rp-green: #059669;
    --rp-green-light: #34d399;
    --rp-green-soft: rgba(16, 185, 129, 0.12);
    --rp-green-border: rgba(52, 211, 153, 0.32);
    --rp-page-bg: transparent;
    --rp-card: linear-gradient(180deg, rgba(30, 41, 59, 0.55), rgba(15, 23, 42, 0.68));
    --rp-card-hover: linear-gradient(180deg, rgba(40, 51, 71, 0.72), rgba(20, 28, 46, 0.78));
    --rp-card-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(2, 6, 23, 0.35);
    --rp-card-shadow-hover: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 22px 48px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(99, 102, 241, 0.12);
}

/* Hero shell — aligns with home landing */
.pricing-hero-section {
    position: relative;
    overflow: hidden;
}

.pricing-hero-section .hero-grid-bg {
    opacity: 0.55;
}

.pricing-page .landing-nav-link.is-active {
    color: var(--text);
}

.pricing-page .landing-nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.pricing-page .mobile-nav-link.is-active {
    color: var(--accent-light);
}

/* ── Section rule (shared with home) ─────────────────────── */
.pricing-page .rp-section-rule {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.pricing-page .rp-section-rule-line {
    width: 2.5rem;
    height: 2px;
    border-radius: 1px;
    background: linear-gradient(90deg, var(--rp-green), transparent);
    flex-shrink: 0;
}

.pricing-page .rp-section-rule-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--rp-green-light);
    white-space: nowrap;
}

/* ── Hero header ─────────────────────────────────────────── */
.pricing-header {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: start;
    gap: 2.5rem;
    max-width: var(--rp-max);
    margin: 0 auto;
    padding: 2.5rem var(--rp-gutter) 2rem;
    text-align: left;
}

.pricing-header-copy .hero-eyebrow {
    margin-bottom: 0.85rem;
}

.pricing-header-copy .hero-checklist {
    margin: 1.25rem 0 0;
    justify-content: flex-start;
}

.pricing-header-copy {
    min-width: 0;
}

.pricing-header h1 {
    max-width: 14ch;
    font-size: clamp(2.1rem, 4.6vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    margin: 0 0 0.95rem;
    color: #f8fafc;
    font-weight: 800;
}

.pricing-header h1 em {
    font-style: normal;
    color: var(--rp-green-light);
}

.pricing-header p {
    max-width: 34rem;
    margin: 0;
    color: #cbd5e1;
    font-size: 1.02rem;
    line-height: 1.6;
    font-weight: 500;
}

.pricing-value-claim {
    margin: 1rem 0 0;
    max-width: 34rem;
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.pricing-value-claim strong {
    color: #6ee7b7;
}

.pricing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.pricing-hero-panel {
    border: 1px solid var(--rp-border);
    border-radius: 18px;
    background: var(--rp-card);
    box-shadow: var(--rp-card-shadow);
    padding: 1.35rem 1.4rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-hero-panel:hover {
    border-color: var(--rp-green-border);
    box-shadow: var(--rp-card-shadow-hover);
}

.pricing-hero-panel h2 {
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.pricing-hero-panel ul {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pricing-hero-panel li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.pricing-hero-panel i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
    border: 1px solid var(--rp-green-border);
    color: var(--rp-green-light);
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.14);
}

/* ── Hint + strips ─────────────────────────────────────────── */
.signup-hint {
    max-width: var(--rp-max);
    margin: 0 auto;
    padding: 0 var(--rp-gutter) 1.25rem;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: left;
}

.intro-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.25rem;
    max-width: var(--rp-max);
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    background: var(--rp-card);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 16px;
    box-shadow: var(--rp-card-shadow);
}

.intro-banner i {
    flex: 0 0 auto;
    font-size: 1.35rem;
    color: #fbbf24;
}

.intro-banner .intro-text {
    flex: 1 1 220px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.intro-banner .intro-text strong {
    color: #fcd34d;
}

.intro-banner .intro-price {
    margin-left: auto;
    font-size: 1.65rem;
    font-weight: 800;
    color: #fcd34d;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.pricing-benefit-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: var(--rp-max);
    margin: 1rem auto 0;
    padding: 0 var(--rp-gutter);
}

.pricing-benefit-strip span {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--rp-border);
    border-radius: 14px;
    background: var(--rp-card);
    box-shadow: var(--rp-card-shadow);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.pricing-benefit-strip span:hover {
    border-color: var(--rp-green-border);
}

.pricing-benefit-strip i {
    color: var(--rp-green-light);
    font-size: 0.78rem;
}

/* ── Pricing cards ─────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: var(--rp-max);
    margin: 2rem auto 2.25rem;
    padding: 0 var(--rp-gutter);
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.35rem 1.3rem;
    border: 1px solid var(--rp-border);
    border-radius: 18px;
    background: var(--rp-card);
    box-shadow: var(--rp-card-shadow);
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
    transform: translateY(-3px);
    border-color: var(--rp-border-hover);
    background: var(--rp-card-hover);
    box-shadow: var(--rp-card-shadow-hover);
}

.price-card.featured::before,
.price-card.intro::before {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.price-card.featured::before {
    content: 'Most Popular';
    background: linear-gradient(135deg, var(--rp-green), var(--rp-green-light));
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.price-card.featured {
    border-color: var(--rp-green-border);
}

.price-card.featured:hover {
    border-color: rgba(52, 211, 153, 0.55);
    box-shadow: 0 22px 48px rgba(2, 6, 23, 0.5), 0 0 0 1px rgba(52, 211, 153, 0.14);
}

.price-card.intro {
    border-color: rgba(245, 158, 11, 0.32);
}

.price-card.intro::before {
    content: 'Limited Offer';
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.price-card.intro:hover {
    border-color: rgba(245, 158, 11, 0.45);
}

.card-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    margin-bottom: 0.95rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(99, 102, 241, 0.08));
    border: 1px solid var(--rp-accent-border);
    color: var(--rp-accent-light);
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.16);
}

.price-card.intro .card-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(245, 158, 11, 0.08));
    border-color: rgba(245, 158, 11, 0.32);
    color: #fcd34d;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.14);
}

.price-card.featured .card-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(16, 185, 129, 0.08));
    border-color: var(--rp-green-border);
    color: var(--rp-green-light);
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.16);
}

.card-tier {
    margin-bottom: 0.55rem;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-price {
    color: #f8fafc;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 0.3rem;
}

.card-price small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}

.card-desc {
    min-height: 2.4rem;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.card-savings {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.card-savings.green {
    background: var(--rp-green-soft);
    border: 1px solid var(--rp-green-border);
    color: var(--rp-green-light);
}

.card-savings.orange {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.28);
    color: #fcd34d;
}

.card-features {
    display: grid;
    gap: 0.1rem;
    flex-grow: 1;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.3rem 0;
    line-height: 1.45;
}

.card-features li i {
    margin-top: 0.15rem;
    color: var(--rp-green-light);
    font-size: 0.72rem;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 11px;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.card-btn:focus-visible,
.tc-box input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(129, 140, 248, 0.45);
    outline-offset: 3px;
}

.card-btn.primary,
.card-btn.orange-btn {
    background: linear-gradient(135deg, var(--rp-green), #10b981);
}

.card-btn.outline {
    background: rgba(2, 6, 23, 0.35);
    border: 1px solid var(--rp-border);
    color: #e2e8f0;
}

.card-btn.outline:hover {
    border-color: var(--rp-accent-border);
    color: var(--rp-accent-light);
    background: var(--rp-accent-soft);
}

.card-btn.orange-btn:hover,
.card-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, 0.32);
}

/* ── Terms + notes ─────────────────────────────────────────── */
.tc-section,
.notes-section {
    max-width: var(--rp-max);
    margin: 0 auto 1.25rem;
    padding: 0 var(--rp-gutter);
}

.notes-section {
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rp-border);
}

.tc-box,
.notes-card {
    border: 1px solid var(--rp-border);
    border-radius: 16px;
    background: var(--rp-card);
    box-shadow: var(--rp-card-shadow);
    padding: 1.2rem 1.35rem;
}

.tc-box {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.tc-box input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 0.2rem;
    accent-color: var(--rp-green);
    cursor: pointer;
}

.tc-content label {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.tc-content a {
    color: var(--rp-accent-light);
    font-weight: 700;
}

.tc-content span {
    display: block;
    margin-top: 0.4rem;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 600;
}

.notes-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.98rem;
    font-weight: 800;
    margin-bottom: 0.95rem;
    color: #f1f5f9;
}

.notes-card h3 i {
    color: var(--rp-accent-light);
}

.notes-intro {
    margin-bottom: 1.15rem;
}

.notes-intro .rp-section-rule {
    margin-bottom: 0;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.notes-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.notes-item-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--rp-green-soft);
    border: 1px solid var(--rp-green-border);
    color: var(--rp-green-light);
    font-size: 0.82rem;
    flex-shrink: 0;
}

.notes-item-copy strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.86rem;
    color: #f1f5f9;
    font-weight: 700;
    line-height: 1.35;
}

.notes-item-copy p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
}

/* ── Payment result ────────────────────────────────────────── */
.payment-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: var(--rp-max);
    margin: 0 auto 1rem;
    padding: 1rem 1.35rem;
    border-radius: 14px;
    font-size: 0.92rem;
    font-weight: 700;
    box-sizing: border-box;
    width: calc(100% - 2 * var(--rp-gutter));
}

.payment-result.success {
    background: var(--rp-green-soft);
    border: 1px solid var(--rp-green-border);
    color: var(--rp-green-light);
}

.payment-result.cancelled {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #fca5a5;
}

.pricing-footer.landing-footer {
    text-align: left;
    padding-top: 3rem;
    border-top: 1px solid var(--rp-border);
    background: transparent;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .pricing-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.75rem var(--rp-gutter) 1.5rem;
    }

    .pricing-header h1 {
        max-width: none;
    }

    .pricing-benefit-strip,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .notes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pricing-header {
        text-align: left;
    }

    .pricing-header h1 {
        font-size: clamp(1.95rem, 9vw, 2.6rem);
    }

    .pricing-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-hero-actions .btn-landing {
        width: 100%;
        justify-content: center;
    }

    .intro-banner {
        margin-left: var(--rp-gutter);
        margin-right: var(--rp-gutter);
    }

    .intro-banner .intro-price {
        margin-left: 0;
        width: 100%;
    }

    .pricing-benefit-strip,
    .pricing-grid,
    .notes-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .tc-box {
        padding: 1rem;
    }
}
