/* =========================================================
   Packages — widget-style cards (glowing tile + timeline list)
   ========================================================= */
.wpk {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: max(18px, calc(26 * var(--u)));
  margin-top: max(36px, calc(48 * var(--u)));
}

/* outer shell */
.wcard {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(180deg, #1a1a1d 0%, #111113 100%);
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 30px 60px -30px rgba(0,0,0,.9);
  transition: transform .6s cubic-bezier(.16,1,.3,1), border-color .4s;
}
.wcard:hover { transform: translateY(-4px); border-color: rgba(255,214,106,.18); }

/* glowing tile */
.wtile {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 300px;
  padding: 26px 26px 24px;
  border-radius: 26px;
  overflow: hidden;
  isolation: isolate;
  background: #070707;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.wtile::before {                     /* bottom glow */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 50% 118%, var(--glow-a) 0%, var(--glow-b) 38%, transparent 72%),
    linear-gradient(180deg, transparent 45%, var(--glow-c) 100%);
}
.wtile::after {                      /* bright rim at the bottom edge */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 2px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--rim), transparent);
  filter: blur(.5px);
}
.wcard--gold   { --glow-a: rgba(255,200,60,.95); --glow-b: rgba(245,150,3,.45); --glow-c: rgba(245,170,3,.18); --rim: #ffe08a; }
.wcard--region { --glow-a: rgba(245,170,3,.55); --glow-b: rgba(160,90,10,.28); --glow-c: rgba(245,170,3,.08); --rim: rgba(255,214,106,.55); }

.wtile__badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
  color: #0b0b0b;
  background: linear-gradient(180deg, #ffd24d, #f5aa03);
}
.wtile__badge--ghost {
  color: #ffd66a; background: rgba(245,170,3,.1);
  border: 1px solid rgba(245,170,3,.3);
}
.wtile__price { margin-top: 18px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; direction: ltr; justify-content: flex-end; }
.wtile__now {
  font-family: var(--font-wix-display);
  font-size: max(46px, calc(64 * var(--u)));
  font-weight: 700; line-height: 1; letter-spacing: -.02em;
  color: #fff;
}
.wtile__was { font-family: var(--font-wix); font-size: 18px; color: rgba(255,255,255,.4); }
.wtile__foot { margin-top: auto; display: flex; flex-direction: column; gap: 4px; }
.wtile__foot strong { color: #fff; font-size: 19px; font-weight: 600; }
.wtile__foot span { color: rgba(255,255,255,.78); font-size: 14.5px; }

/* side: label + timeline list + button */
.wside {
  position: relative;
  display: flex; flex-direction: column;
  padding: 20px 14px 14px 10px;
}
.wside__label {
  font-size: 12.5px; letter-spacing: .04em;
  color: #8d8d92;
}
.wlist { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.wlist li {
  position: relative;
  display: flex; flex-direction: column; gap: 3px;
  padding-inline-start: 14px;
}
.wlist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 2px; bottom: 2px;
  width: 3px; border-radius: 3px;
  background: var(--bar);
  box-shadow: 0 0 12px var(--bar);
}
.wlist b { color: #f1f1f1; font-size: 16.5px; font-weight: 500; }
.wlist span { color: #78787d; font-size: 13.5px; }

/* buy: pill + round floating icon */
.wbuy {
  margin-top: auto;
  align-self: stretch;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 22px;
  height: 52px; padding-inline: 20px 6px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  color: #0b0b0b;
  background: linear-gradient(180deg, #ffd24d 0%, #f5aa03 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 26px rgba(245,170,3,.25);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s;
}
.wside .wlist + .wbuy { margin-top: auto; }
.wside .wlist { margin-bottom: 22px; }
.wbuy i {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0b0b0b; color: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 0 18px rgba(255,214,106,.35);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
.wbuy svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.wbuy:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 16px 34px rgba(245,170,3,.38); }
.wbuy:hover i { transform: rotate(90deg); }
.wbuy--ghost {
  color: #f1f1f1;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,214,106,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.wbuy--ghost i { background: linear-gradient(180deg, #ffd24d, #f5aa03); color: #0b0b0b; box-shadow: 0 0 18px rgba(245,170,3,.4); }
.wbuy--ghost:hover { border-color: rgba(255,214,106,.6); box-shadow: none; }

/* tablet: stack the two cards */
@media (max-width: 1100px) {
  .wpk { grid-template-columns: 1fr; max-width: 720px; margin-inline: auto; }
}
/* phone: tile on top, list below */
@media (max-width: 560px) {
  .wcard { grid-template-columns: 1fr; border-radius: 28px; }
  .wtile { min-height: 210px; padding: 22px; border-radius: 22px; }
  .wtile__now { font-size: 52px; }
  .wside { padding: 18px 12px 6px; }
}

/* both cards: list first, price tile second */
@media (min-width: 561px) {
  .wcard .wside { order: -1; padding: 20px 10px 14px 14px; }
}

/* ---------- polish ---------- */
.wtile {
  min-height: 320px;
  background:
    radial-gradient(90% 55% at 50% -10%, rgba(255,255,255,.07), transparent 60%),
    #070707;
}
.wtile > * { position: relative; }
.wtile__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wtile__top .wtile__badge { align-self: auto; }
.wtile__was { font-size: 15px; color: rgba(255,255,255,.38); text-decoration-thickness: 1.5px; }
.wtile__price {
  margin-top: auto; padding-top: 18px;
  flex-direction: column; align-items: flex-start; gap: 8px;
  direction: rtl;
}
.wtile__now {
  direction: ltr;
  display: inline-flex; align-items: flex-start;
  font-size: max(50px, calc(68 * var(--u)));
  background: linear-gradient(180deg, #ffffff 30%, #ffe3a3 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.wtile__now i {
  font-style: normal;
  font-size: .5em; line-height: 1;
  margin: .14em .06em 0 0;
  color: #ffd66a; -webkit-text-fill-color: #ffd66a;
}
.wtile__note { font-size: 12.5px; color: rgba(255,255,255,.5); }
.wtile__foot {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.wcard--region { --glow-a: rgba(255,190,60,.75); --glow-b: rgba(200,120,10,.35); --glow-c: rgba(245,170,3,.12); --rim: rgba(255,214,106,.75); }

/* list rows as soft chips */
.wside__label { display: inline-flex; align-items: center; gap: 8px; }
.wside__label::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #f5aa03; box-shadow: 0 0 10px #f5aa03;
}
.wlist { gap: 8px; }
.wlist li {
  padding: 11px 16px 11px 12px;
  padding-inline-start: 22px;
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.04);
  transition: background .3s, border-color .3s, transform .4s cubic-bezier(.16,1,.3,1);
}
.wlist li::before { inset-inline-start: 10px; top: 12px; bottom: 12px; }
.wlist li:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); transform: translateX(-3px); }
.wlist b { font-size: 15.5px; }
.wlist span { font-size: 12.5px; }

@media (max-width: 560px) {
  .wtile { min-height: 0; }
  .wtile__price { padding-top: 26px; }
}

/* ---------- perks: free support + real trading capital ---------- */
.perks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.perk {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 13.5px; color: #d9d9dc;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
}
.perk svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.perk b { font-weight: 700; }
.perk--cash { color: #c9f5dc; background: rgba(43,213,118,.07); border-color: rgba(43,213,118,.22); }
.perk--cash svg, .perk--cash b { color: #2bd576; }
.perk--cash b { font-family: var(--font-wix); direction: ltr; unicode-bidi: isolate; }
.perk--support { color: #ffe6ae; background: rgba(245,170,3,.07); border-color: rgba(245,170,3,.24); }
.perk--support svg, .perk--support b { color: #ffc93d; }
.perks--w { margin: 0 0 18px; }
.wside .wlist { margin-bottom: 12px; }
.course .perks { margin: 14px 0 18px; }
.course .course__price { margin-top: auto; }
.perks--w .perk { white-space: nowrap; }

/* each package card on its own full-width row */
.wpk { grid-template-columns: 1fr; max-width: none; }
.perks--w .perk { white-space: normal; }
@media (min-width: 561px) {
  .wcard { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; }
  .wside { padding: 22px 18px 16px 12px; }
  .wcard .wside { padding: 22px 18px 16px 12px; }
  .wtile { min-height: 340px; }
}
@media (min-width: 900px) {
  .wlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .perks--w { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .wbuy { max-width: 360px; }
}
@media (min-width: 900px) {
  .wtile { min-height: 280px; }
  .wside { justify-content: space-between; }
  .wside .wlist + .perks--w + .wbuy, .wside .wbuy { margin-top: 18px; }
}

/* ---------- one accent only: gold ---------- */
.wlist li { --bar: #f5aa03 !important; }
.wlist li::before { box-shadow: 0 0 10px rgba(245,170,3,.45); }
.perk,
.perk--cash,
.perk--support {
  color: #d9d9dc;
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.07);
}
.perk--cash svg, .perk--cash b,
.perk--support svg, .perk--support b { color: #ffc93d; }

/* ---------- course covers (coded, gold on black) ---------- */
.course__art.cover {
  background:
    radial-gradient(70% 80% at 70% 15%, rgba(245,170,3,.22), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 38px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 38px 100%,
    #070707;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.course__art.cover::after {        /* soft bottom glow */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -30%; height: 60%;
  background: radial-gradient(closest-side, rgba(245,170,3,.25), transparent);
  pointer-events: none;
}
.course__art.cover svg { position: absolute; inset: 8% 4% 4%; width: 92%; height: 88%; z-index: 1; overflow: visible; }
.cover__tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  direction: ltr;
  padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-wix); font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: #ffd66a;
  background: rgba(245,170,3,.08);
  border: 1px solid rgba(245,170,3,.25);
}
.course:hover .course__art.cover svg { transform: translateY(-3px); }
.course__art.cover svg { transition: transform .6s cubic-bezier(.16,1,.3,1); }

/* ---------- calmer course cards ---------- */
.course .perks { gap: 8px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.06); }
.course .perk {
  padding: 0; background: none !important; border: 0 !important;
  font-size: 13.5px; color: #a9a9ad;
}
.course .perk svg { width: 16px; height: 16px; color: #f5aa03; }
.course .perk b { color: #e9e9ea; font-weight: 600; }
.course__foot {
  margin-top: auto; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.course .course__foot .course__price { margin: 0; }
.course .course__foot .course__price b { font-size: 30px; color: #fff; }
.course .buy.cbuy {
  width: auto; margin: 0;
  height: 44px; padding-inline: 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  color: #0b0b0b;
  background: linear-gradient(180deg, #ffd24d, #f5aa03);
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
}
.course .buy.cbuy:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 10px 24px rgba(245,170,3,.3); }

/* covers: gold card, dark artwork */
.course__art.cover {
  background:
    radial-gradient(80% 90% at 75% 10%, rgba(255,255,255,.45), transparent 60%),
    linear-gradient(160deg, #ffd65a 0%, #f5aa03 100%);
  border: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}
.course__art.cover::after { display: none; }
.cover__tag {
  color: #ffd66a;
  background: #0b0b0b;
  border: 0;
}

/* price beside the title */
.course__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.course__titles { min-width: 0; }
.course .course__head .course__price { margin: 2px 0 0; flex-shrink: 0; }
.course .course__head .course__price b { font-size: 30px; color: #fff; }
.course__foot { padding-top: 20px; }
.course .buy.cbuy { width: 100%; }

/* breathing room between the package widgets and the course cards */
.wpk + .courses { margin-top: max(28px, calc(40 * var(--u))); }

/* ---------- filling the price tile: logo mark, savings, mini timer ---------- */
.wtile__mark {
  position: absolute; z-index: -1;
  width: 62%; max-width: 260px;
  top: 50%; left: -8%;
  transform: translateY(-58%) rotate(-12deg);
  opacity: .06;
  filter: grayscale(1) brightness(2.2);
  pointer-events: none;
}
.wtile__mid { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.wtile__save {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  font-size: 13px; color: #ffe6ae;
  background: rgba(245,170,3,.1); border: 1px solid rgba(245,170,3,.28);
}
.wtile__save b { color: #ffd24d; font-weight: 700; }
.wtile__timer {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; color: #a9a9ad;
}
.wtile__timer svg { width: 15px; height: 15px; fill: none; stroke: #f5aa03; stroke-width: 1.8; stroke-linecap: round; }
.wtile__timer span { font-family: var(--font-wix); color: #fff; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; white-space: pre; }
.wtile__timer i { font-style: normal; }
html.bf .wtile__save.p-bf, html.bf .wtile__timer.p-bf { display: inline-flex !important; }
.wtile__timer span { direction: rtl; font-family: inherit; color: #d9d9dc; white-space: nowrap; }
.wtile__timer span b { font-family: var(--font-wix); color: #fff; font-weight: 700; }
.wtile__timer span bdi { font-family: var(--font-wix); color: #fff; font-variant-numeric: tabular-nums; }
.wtile__mark { opacity: .045; width: 70%; }

/* ---------- price tile v2 layout ----------
   top:    badge ············ old price
   middle: big price, then "one-time payment · save €X"
   bottom: package name ······ countdown            */
.wtile__price { margin-top: auto; padding-top: 10px; }
.wtile__note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.wtile__note > span:first-child { color: rgba(255,255,255,.55); }
.wtile__note .wtile__save { padding: 4px 10px; font-size: 12.5px; border-radius: 8px; }
html.bf .wtile__note .wtile__save.p-bf { display: inline-flex !important; }

.wtile__foot {
  flex-direction: row !important;
  align-items: flex-end; justify-content: space-between; gap: 14px;
}
.wtile__name { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wtile__name strong { color: #fff; font-size: 19px; font-weight: 600; }
.wtile__name span { color: rgba(255,255,255,.78); font-size: 14.5px; }

.wtile__foot .wtile__timer {
  flex-shrink: 0;
  display: none;
  align-items: center; gap: 9px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,214,106,.25);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
html.bf .wtile__foot .wtile__timer.p-bf { display: flex !important; }
.wtile__foot .wtile__timer svg { width: 18px; height: 18px; }
.wtile__foot .wtile__timer > div { display: flex; flex-direction: column; line-height: 1.35; }
.wtile__foot .wtile__timer i { font-style: normal; font-size: 11px; color: #a9a9ad; }
.wtile__foot .wtile__timer [data-bft] { font-size: 13px; }

@media (max-width: 420px) {
  .wtile__foot { flex-direction: column !important; align-items: flex-start; }
}

/* covers v3: dark card, gold artwork (no grid) */
.course__art.cover {
  background:
    radial-gradient(80% 70% at 50% 110%, rgba(245,170,3,.28), transparent 65%),
    radial-gradient(70% 60% at 85% 0%, rgba(255,255,255,.06), transparent 60%),
    #0b0b0c !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.course__art.cover svg { filter: drop-shadow(0 0 14px rgba(245,170,3,.35)); }
.cover__tag { color: #ffd24d !important; background: rgba(245,170,3,.1) !important; border: 1px solid rgba(245,170,3,.3) !important; }

/* covers: flat dark, no gradient */
.course__art.cover { background: #0b0b0c !important; }
.course__art.cover::after { display: none !important; }

/* keep the artwork clear of the corner tag */
.course__art.cover svg { inset: 24% 6% 6% !important; width: 88% !important; height: 70% !important; }

/* not included (e.g. no 6-month support) — muted, crossed icon */
.perk.perk--none { color: #7c7c82; background: transparent; border-style: dashed; border-color: rgba(255,255,255,.09); }
.perk--none svg { color: #6a6a70; }
.perk--none b { font-weight: 500; color: #8d8d92; }
.perk--none > span, .perk--none > span b { color: #7c7c82; text-decoration: none; }
.perk--none > span { position: relative; display: inline-block; }
.perk--none > span::after { content: ""; position: absolute; left: -2px; right: -2px; top: 52%; height: 1.5px; border-radius: 2px; background: #ff4d4d; transform: translateY(-50%); pointer-events: none; }
.course .perk.perk--none b { color: #7c7c82; font-weight: 600; }
