/* Career Fixx — /plans page: the parts around the shared package cards.
   Card styles live in cf-home-sliders.css and cf-palette.css; colour variables come from .cfx-sl. */

html[data-theme] body .cfx-pl-hero .cfx-pl-hero-text { max-width: 560px; margin: 14px auto 0; color: #d3cdef; font-size: 16px; line-height: 1.6; text-align: center; }

/* the second link under Buy Now */
.cfx-sl-plan-more { position: relative; z-index: 3; display: block; margin-top: 12px; color: var(--sl-text); font-size: 13.5px; font-weight: 700; text-align: center; }
.cfx-sl-plan-more:hover { color: var(--b); text-decoration: underline; }

/* ── how to enrol ───────────────────────────────────────────────────── */
.cfx-pl-steps { padding: clamp(48px, 6vw, 80px) 0; }
.cfx-pl-head { margin-bottom: clamp(28px, 3.5vw, 44px); text-align: center; }
.cfx-pl-head .title { margin-bottom: 8px; }
.cfx-pl-steps .cfx-pl-head p { margin: 0; color: var(--sl-text); font-size: 16px; line-height: 1.6; text-align: center; }

.cfx-pl-steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: cfx-step; }
.cfx-pl-steps .cfx-pl-steps-grid > li { position: relative; margin: 0; padding: 28px 24px; overflow: hidden; border: 1px solid var(--sl-line); border-radius: 24px; background: var(--sl-card); box-shadow: 0 14px 32px rgba(40, 16, 90, .08); counter-increment: cfx-step; }
.cfx-pl-steps-grid > li::after { content: counter(cfx-step, decimal-leading-zero); position: absolute; top: 14px; right: 20px; color: #7c3aed; font-size: 52px; font-weight: 800; line-height: 1; opacity: .13; }
.cfx-pl-step-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px; background: var(--sl-grad); color: #fff; font-size: 22px; }
.cfx-pl-steps .cfx-pl-steps-grid h3 { margin: 0 0 8px; color: var(--sl-ink); font-size: 19px; line-height: 1.35; }
.cfx-pl-steps .cfx-pl-steps-grid p { margin: 0; color: var(--sl-text); font-size: 14.5px; line-height: 1.65; text-align: left; }
.cfx-pl-steps-grid p a { color: #7c3aed; font-weight: 700; text-decoration: underline; }
html[data-theme="dark"] .cfx-pl-steps-grid p a { color: #d8b4fe; }

@media (max-width: 991.98px) {
    .cfx-pl-steps-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ── package rows: two to a row ─────────────────────────────────────── */
html body section.cfx-pr { padding: clamp(40px, 5vw, 64px) 0; background: radial-gradient(rgba(123, 47, 247, .13) 1px, transparent 1.6px) 0 0 / 24px 24px, #f8f5ff; }
html[data-theme="dark"] body section.cfx-pr { background-color: #151029; }

.cfx-pr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

/* one colour per package, in order, the same as the home page */
.cfx-pr-card { --a: #ae7dff; --b: #c4a2fc; --ink: #6d28d9; }
.cfx-pr-card:nth-child(6n+2) { --a: #29c985; --b: #2fc6e6; --ink: #0b6e5c; }
.cfx-pr-card:nth-child(6n+3) { --a: #ff622f; --b: #ffa526; --ink: #b93e08; }
.cfx-pr-card:nth-child(6n+4) { --a: #2ec2ff; --b: #7358ff; --ink: #2f4fd0; }
.cfx-pr-card:nth-child(6n+5) { --a: #c91f23; --b: #750a0d; --ink: #9f1216; }
.cfx-pr-card:nth-child(6n+6) { --a: #1e553c; --b: #277e57; --ink: #1b5a3e; }
html[data-theme="dark"] .cfx-pr-card { --ink: #fff; }

.cfx-pr-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 6px; padding: 8px; border: 1px solid var(--sl-line); border-radius: 28px; background: var(--sl-card); box-shadow: 0 16px 38px rgba(40, 16, 90, .1); scroll-margin-top: 110px; transition: translate .3s ease, box-shadow .3s ease; }
.cfx-pr-card:hover { translate: 0 -5px; box-shadow: 0 26px 50px rgba(40, 16, 90, .18); }

.cfx-pr-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-width: 0; padding: 22px 14px; overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, var(--a), var(--b)); color: #fff; text-align: center; }
/* gloss across the top and a sweep on hover */
.cfx-pr-side::before { content: ''; position: absolute; top: -22%; left: -35%; width: 170%; height: 52%; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .04)); transform: rotate(-10deg); }
.cfx-pr-side::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 35%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .3), transparent); transform: skewX(-18deg); }
.cfx-pr-card:hover .cfx-pr-side::after { left: 140%; transition: left .8s ease; }
.cfx-pr-num { position: absolute; bottom: -12px; right: 6px; color: rgba(255, 255, 255, .15); font-size: 88px; font-weight: 800; line-height: 1; }
.cfx-pr-art { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 170px; }
.cfx-pr-art img { max-width: 92%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(10, 0, 40, .4)); transition: scale .4s ease, rotate .4s ease; }
.cfx-pr-card:hover .cfx-pr-art img { scale: 1.07; rotate: -3deg; }
html body section.cfx-pr .cfx-pr-side h3 { position: relative; margin: 6px 0 0; color: #fff; font-size: 24px; font-weight: 800; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; text-shadow: 0 2px 6px rgba(20, 5, 50, .3); }
.cfx-pr-price { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 8px; padding: 5px 18px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
.cfx-pr-price strong { font-size: 24px; font-weight: 800; line-height: 1.35; }
.cfx-pr-price s { font-size: 14px; opacity: .85; }

.cfx-pr-body { display: flex; flex-direction: column; min-width: 0; padding: 14px 14px 10px; }
.cfx-pr-label { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(100deg, var(--a), var(--b)); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.cfx-pr-meta { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0; padding-bottom: 9px; border-bottom: 1px dashed var(--sl-line); color: var(--sl-text); font-size: 12px; font-weight: 700; }
html body section.cfx-pr .cfx-pr-body ul { flex: 1; margin: 0 0 14px; padding: 0; list-style: none; }
html body section.cfx-pr .cfx-pr-body li { display: flex; align-items: flex-start; gap: 9px; margin: 0 0 7px; color: var(--sl-ink); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.cfx-pr-body li i { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; font-size: 11px; }

.cfx-pr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
html body section.cfx-pr .cfx-pr-btn { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border-radius: 999px; background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), linear-gradient(100deg, var(--a), var(--b)); box-shadow: 0 10px 20px rgba(40, 16, 90, .2); color: #fff; font-size: 14px; font-weight: 800; white-space: nowrap; transition: gap .3s ease, filter .3s ease; }
html body section.cfx-pr .cfx-pr-btn:hover { gap: 15px; color: #fff; filter: brightness(1.08); }
html body section.cfx-pr .cfx-pr-more { color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

@media (max-width: 991.98px) {
    .cfx-pr-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 575.98px) {
    .cfx-pr-card { grid-template-columns: minmax(0, 1fr); }
    .cfx-pr-art { height: 150px; }
}

/* ── finishing touches on the package rows ──────────────────────────── */
html body section.cfx-pr { position: relative; overflow: hidden; }
html body section.cfx-pr::before { content: ''; position: absolute; inset: 0; background: radial-gradient(30% 22% at 0% 12%, rgba(155, 60, 246, .2), transparent 70%), radial-gradient(30% 22% at 100% 48%, rgba(46, 194, 255, .18), transparent 70%), radial-gradient(30% 22% at 0% 86%, rgba(255, 98, 47, .15), transparent 70%); pointer-events: none; }
.cfx-pr > .container { position: relative; }
.cfx-pr-grid { gap: 28px; }

/* each card carries a wash of its own colour and a gradient edge */
.cfx-pr-card { position: relative; border: 2px solid transparent; background: linear-gradient(var(--sl-card), var(--sl-card)) padding-box, linear-gradient(135deg, var(--a), transparent 42%, transparent 62%, var(--b)) border-box; box-shadow: 0 18px 40px rgba(40, 16, 90, .1); }
.cfx-pr-card:hover { box-shadow: 0 28px 54px rgba(40, 16, 90, .2); background: linear-gradient(var(--sl-card), var(--sl-card)) padding-box, linear-gradient(135deg, var(--a), var(--b)) border-box; }
.cfx-pr-body { position: relative; overflow: hidden; border-radius: 22px; }
.cfx-pr-body::before { content: ''; position: absolute; inset: 0; background: linear-gradient(215deg, var(--a), transparent 55%); opacity: .12; pointer-events: none; }
.cfx-pr-body > * { position: relative; }

.cfx-pr-side { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -30px 50px rgba(20, 5, 50, .14); }
.cfx-pr-art img { animation: cfxPrFloat 4s ease-in-out infinite; }
@keyframes cfxPrFloat { 50% { translate: 0 -8px; } }
.cfx-pr-price { background: linear-gradient(180deg, #fff, #f1ecfb); border-color: #fff; box-shadow: 0 10px 20px rgba(20, 5, 50, .22); color: #1b1235; }

.cfx-pr-level { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cfx-pr-meter { display: inline-flex; gap: 3px; }
.cfx-pr-meter i { width: 11px; height: 5px; border-radius: 99px; background: var(--sl-line); }
.cfx-pr-meter i.is-on { background: linear-gradient(90deg, var(--a), var(--b)); }
.cfx-pr-meta { align-items: center; }

html body section.cfx-pr .cfx-pr-body li { margin: 0; padding: 5px 6px; border-radius: 10px; transition: background .2s ease, translate .2s ease; }
html body section.cfx-pr .cfx-pr-body li:hover { background: rgba(124, 58, 237, .08); translate: 4px 0; }

html body section.cfx-pr .cfx-pr-btn { position: relative; overflow: hidden; }
.cfx-pr-btn::after { content: ''; position: absolute; top: 0; bottom: 0; left: -45%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-18deg); }
.cfx-pr-card:hover .cfx-pr-btn::after,
.cfx-pr-card.is-featured .cfx-pr-btn::after { animation: cfxPrShine 2.6s ease-in-out infinite; }
@keyframes cfxPrShine { 0%, 40% { left: -45%; } 85%, 100% { left: 130%; } }

/* the featured package */
.cfx-pr-card.is-featured { background: linear-gradient(var(--sl-card), var(--sl-card)) padding-box, linear-gradient(135deg, var(--a), var(--b)) border-box; box-shadow: 0 0 0 5px rgba(46, 194, 255, .18), 0 26px 54px rgba(47, 79, 208, .26); }
.cfx-pr-seal { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: linear-gradient(180deg, #ffe58a, #ffb91f); box-shadow: 0 8px 16px rgba(20, 5, 50, .25); color: #4a2500; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

/* three steps: one line joins them */
.cfx-pl-steps .cfx-pl-steps-grid > li { transition: translate .3s ease, box-shadow .3s ease; }
.cfx-pl-steps .cfx-pl-steps-grid > li:hover { translate: 0 -6px; box-shadow: 0 24px 46px rgba(40, 16, 90, .16); }
.cfx-pl-steps-grid > li::before { content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 4px; border-radius: 0 0 99px 99px; background: linear-gradient(90deg, #7c3aed, #e45bb0, #f26f38); }

@media (prefers-reduced-motion: reduce) {
    .cfx-pr-art img, .cfx-pr-card:hover .cfx-pr-btn::after, .cfx-pr-card.is-featured .cfx-pr-btn::after { animation: none; }
}

/* the card that was jumped to */
.cfx-pr-card:target { animation: cfxPrPick 1.6s ease; }
@keyframes cfxPrPick { 25%, 60% { box-shadow: 0 0 0 7px var(--a), 0 30px 60px rgba(40, 16, 90, .3); } }

/* fine diagonal lines on the colour side, and the box leans as the card lifts */
.cfx-pr-side { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 14px), linear-gradient(160deg, var(--a), var(--b)); }
.cfx-pr-art { perspective: 600px; }
.cfx-pr-card:hover .cfx-pr-art img { transform: rotateY(-12deg); }
.cfx-pr-art img { transition: scale .4s ease, rotate .4s ease, transform .5s ease; }


/* ── compact rows: picture on the left, everything else on the right ── */
html body .rbt-breadcrumb-default.cfx-pl-hero { padding-bottom: 22px !important; }
html body .cfx-pl-hero .title { margin-bottom: 4px; font-size: clamp(28px, 3vw, 36px); line-height: 1.2; }
html body .cfx-pl-hero .page-list { margin-bottom: 0; line-height: 1.3; }
html[data-theme] body .cfx-pl-hero .cfx-pl-hero-text { margin-top: 4px; font-size: 14.5px; }

/* cf-spacing.css sets section padding with !important through this variable */
html body section.cfx-pr { --cf-section-pad: 22px; }
html body section.cfx-pl-steps { --cf-section-pad: 32px; }

.cfx-pr-grid { gap: 18px; }

.cfx-pr-card { grid-template-columns: 34% minmax(0, 1fr); gap: 4px; padding: 6px; border-radius: 24px; }
.cfx-pr-side { justify-content: center; padding: 14px 8px; border-radius: 18px; }
.cfx-pr-art { flex: 1; height: auto; min-height: 170px; }
.cfx-pr-art img { max-width: 100%; max-height: 210px; }
.cfx-pr-seal { top: 10px; left: 50%; translate: -50% 0; white-space: nowrap; }
.cfx-pr-num { bottom: -10px; right: 6px; font-size: 72px; }

.cfx-pr-body { padding: 10px 12px 8px; border-radius: 18px; }
.cfx-pr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-bottom: 8px; }
html body section.cfx-pr .cfx-pr-top h3 { margin: 0; color: var(--sl-ink); font-size: 22px; font-weight: 800; letter-spacing: .05em; line-height: 1.25; text-transform: uppercase; }
.cfx-pr-top .cfx-pr-price { padding: 3px 14px; border: 0; background: linear-gradient(100deg, var(--a), var(--b)); box-shadow: 0 8px 16px rgba(40, 16, 90, .2); color: #fff; text-shadow: 0 1px 3px rgba(20, 5, 50, .35); }
.cfx-pr-top .cfx-pr-price strong { font-size: 19px; }
.cfx-pr-label { padding: 4px 10px; font-size: 9.5px; }
.cfx-pr-meta { margin: 7px 0 0; padding: 0 0 7px; font-size: 11.5px; }
html body section.cfx-pr .cfx-pr-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; align-content: start; margin: 6px 0 10px; }
html body section.cfx-pr .cfx-pr-body li { gap: 7px; padding: 3px 2px; font-size: 12.5px; line-height: 1.35; }
.cfx-pr-body li i { width: 15px; height: 15px; font-size: 9px; }
html body section.cfx-pr .cfx-pr-btn { padding: 9px 16px; }

.cfx-pl-head { margin-bottom: 20px; }
.cfx-pl-steps .cfx-pl-steps-grid > li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-content: start; padding: 20px 18px; }
.cfx-pl-step-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; font-size: 19px; }
.cfx-pl-steps .cfx-pl-steps-grid h3 { margin: 0; padding-right: 36px; font-size: 17px; }
.cfx-pl-steps .cfx-pl-steps-grid p { font-size: 13.5px; line-height: 1.55; }

/* phones: the picture stays on the left, benefits run in one column */
@media (max-width: 575.98px) {
    .cfx-pr-card { grid-template-columns: 31% minmax(0, 1fr); }
    .cfx-pr-side { padding: 10px 4px; }
    .cfx-pr-art { min-height: 0; }
    .cfx-pr-seal { padding: 3px 6px; font-size: 8px; }
    .cfx-pr-seal i { display: none; }
    .cfx-pr-body { padding: 8px 6px; }
    html body section.cfx-pr .cfx-pr-top h3 { font-size: 17px; }
    .cfx-pr-label { font-size: 8.5px; }
    html body section.cfx-pr .cfx-pr-body ul { grid-template-columns: minmax(0, 1fr); }
    html body section.cfx-pr .cfx-pr-body li { font-size: 12px; }
    .cfx-pr-actions { justify-content: center; }
    html body section.cfx-pr .cfx-pr-btn { flex: 1 0 100%; }
}
