/*
 * Shared plan-card styles: index.html pricing preview, landing/pricing.html (job seekers)
 * and company-landing/company-pricing.html (companies + agencies).
 * Bump the ?v= on every page's <link> when editing (assets are cached for 7 days).
 */

/* Buttons */
.mj-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: 14px; font-size: 15px; font-weight: 700;
    border: 2px solid transparent; text-decoration: none; cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.mj-btn:hover { text-decoration: none; transform: translateY(-2px); }
.mj-btn:focus-visible { outline: 3px solid rgba(89,129,215,.45); outline-offset: 2px; }
.mj-btn-primary { color: #fff !important; background: linear-gradient(135deg, #5981d7 0%, #8f9adf 55%, #b478de 100%); box-shadow: 0 10px 24px rgba(89,129,215,.32); }
.mj-btn-ghost { color: #191a38 !important; background: #fff; border-color: #d8dfeb; }
.mj-btn-ghost:hover { background: #f3f6fb; }
.mj-btn-light { color: #191a38 !important; background: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.mj-btn-outline-light { color: #fff !important; border-color: rgba(255,255,255,.55); background: transparent; }
.mj-btn-outline-light:hover { background: rgba(255,255,255,.1); }
.mj-btn-block { width: 100%; }

/* Section */
.mj-plans { padding: 76px 0; background: linear-gradient(180deg, #f6f7fc 0%, #fff 100%); }
.mj-plans--page { padding-top: 150px; min-height: 70vh; }
.mj-plans-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.mj-plans-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #6f4df0; }
.mj-plans-head h2, .mj-plans-head h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: #191a38; margin: 10px 0 12px; }
.mj-plans-head p { font-size: 17px; line-height: 1.6; color: #5a6b87; margin: 0 0 24px; }
.mj-plans-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: #e9ecf6; gap: 4px; }
.mj-plans-toggle button {
    border: 0; background: transparent; padding: 10px 20px; border-radius: 999px;
    font-weight: 700; font-size: 15px; color: #41506b; cursor: pointer;
}
.mj-plans-toggle button.active { background: #191a38; color: #fff; box-shadow: 0 6px 16px rgba(25,26,56,.25); }
/* Flex (not grid) so a short last row, e.g. a 4th plan, centres instead of hugging the left */
.mj-plans-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; align-items: stretch; }
.mj-plans-grid > .mj-plan { flex: 0 1 340px; min-width: 260px; }
.mj-plans--page .mj-plans-grid { row-gap: 36px; }
.mj-plans-empty { text-align: center; color: #5a6b87; padding: 20px 0; }
.mj-plans-foot { text-align: center; margin-top: 30px; }
.mj-plans-foot a { font-weight: 700; color: #5b3fd1; font-size: 16px; }

/* Card */
.mj-plan {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border: 1px solid #e3e7f2; border-radius: 22px; padding: 30px 26px;
    box-shadow: 0 12px 30px rgba(16,24,40,.06);
}
.mj-plan--featured { border: 2px solid #6f4df0; box-shadow: 0 24px 50px rgba(111,77,240,.2); transform: translateY(-8px); }
.mj-plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #5981d7, #b478de); color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.mj-plan-type { font-size: 13px; font-weight: 700; color: #6f4df0; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 4px; }
.mj-plan-name { font-size: 22px; font-weight: 800; color: #191a38; margin: 0 0 16px; }
.mj-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; font-size: 40px; font-weight: 800; color: #191a38; line-height: 1; }
.mj-plan-price s { font-size: 18px; font-weight: 600; color: #98a2b3; }
.mj-plan-save { align-self: center; font-size: 12px; font-weight: 800; color: #067647; background: #dcfae6; padding: 4px 10px; border-radius: 999px; }
.mj-plan-period { color: #5a6b87; margin: 6px 0 20px; font-size: 15px; }
.mj-plan-offer { color: #067647; font-size: 13px; font-weight: 600; margin: -12px 0 18px; }
.mj-plan-list { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.mj-plan-list li { display: flex; gap: 10px; padding: 7px 0; color: #344054; font-size: 15px; border-top: 1px solid #f0f2f7; }
.mj-plan-list li i { color: #5981d7; width: 18px; margin-top: 3px; text-align: center; }

@media (max-width: 991px) {
    .mj-plan--featured { transform: none; }
    .mj-plans--page { padding-top: 110px; }
}
@media (max-width: 575px) {
    .mj-plans-toggle button { padding: 9px 14px; font-size: 14px; }
}
