/* Pricing: two tracks ("יד על ההגה" / "ראש שקט") behind one toggle, three plans, everything-in-every-plan grid */
.pr-sec { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #faf7fd 45%, #fff 100%); }
.pr-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: prFloat 18s ease-in-out infinite alternate; }
.pr-bg i:nth-child(1) { width: 420px; height: 420px; background: #ffd9cd; top: 6%; inset-inline-start: -140px; }
.pr-bg i:nth-child(2) { width: 520px; height: 520px; background: #e6dcf7; top: 38%; inset-inline-end: -200px; animation-duration: 22s; }
.pr-bg i:nth-child(3) { width: 360px; height: 360px; background: #ffe6dc; bottom: -120px; inset-inline-start: 30%; animation-duration: 26s; }
@keyframes prFloat { to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.pr-sec .wrap { position: relative; }

/* the toggle */
.pr-toggle { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(560px, 100%); margin: 0 auto 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 999px; padding: 6px; }
.pr-pill { position: absolute; top: 6px; bottom: 6px; inset-inline-start: 6px; width: calc(50% - 6px); border-radius: 999px; background: linear-gradient(135deg, var(--plum), var(--plum-2)); box-shadow: 0 8px 22px rgba(46,18,82,.3); transition: transform .45s cubic-bezier(.34,1.3,.64,1); }
.pr-toggle.alt .pr-pill { transform: translateX(-100%); }
.pr-toggle button { position: relative; z-index: 1; font: inherit; border: 0; background: none; border-radius: 999px; padding: 10px 14px; cursor: pointer; color: var(--muted); display: flex; flex-direction: column; align-items: center; line-height: 1.25; transition: color .3s; }
.pr-toggle button b { font-size: 18px; font-weight: 800; }
.pr-toggle button small { font-size: 12.5px; font-weight: 500; }
.pr-toggle button.on { color: #fff; }

/* the question under the toggle */
.pr-q { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.pr-q-h { font-size: 21px; font-weight: 800; color: var(--plum); }
.pr-q-a { color: var(--muted); font-size: 16px; margin-top: 4px; animation: prFlip .45s var(--ease); }
#pricing[data-mode="self"] .q-all, #pricing[data-mode="all"] .q-self,
#pricing[data-mode="self"] .pr-fine-all, #pricing[data-mode="all"] .pr-fine-self { display: none; }

/* the cards */
.pr-plans .plan { transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .6s var(--ease); transition-delay: 0s; }
.pr-plans .plan.reveal { transition-delay: calc(var(--i) * .12s); }
.pr-plans .plan:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(46,18,82,.16); }
.pr-plans .plan-hot { background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ang, 0deg), var(--coral), #b48cf0, var(--plum), var(--coral)) border-box; border: 2.5px solid transparent; animation: prSpin 6s linear infinite; }
.pr-plans .plan-hot:hover { transform: translateY(-14px); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes prSpin { to { --ang: 360deg; } }
.pr-plans .badge { background: var(--plum); color: #fff; box-shadow: 0 8px 18px rgba(46,18,82,.3); }
.pr-plans .price b { display: block; font-variant-numeric: tabular-nums; }
.pr-plans .price b span { display: inline-block; font-size: inherit; color: inherit; }
.pr-plans .price .p-note { display: block; color: var(--muted); font-size: 15px; }
.pr-plans[data-mode="self"] .p-all, .pr-plans[data-mode="all"] .p-self { display: none !important; }
.pr-plans.flip .price b, .pr-plans.flip .pr-split, .pr-plans.flip .pr-extra { animation: prFlip .5s var(--ease); }
@keyframes prFlip { from { opacity: 0; transform: translateY(10px) scale(.97); } }

.pr-extra { background: var(--plum-soft); color: var(--plum-2); font-weight: 600; font-size: 15px; border-radius: 14px; padding: 10px 14px; margin: 12px 0 18px; text-align: center; }
.pr-split { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; background: linear-gradient(150deg, #fff4ef, #ffe5dc); border: 1.5px solid #ffcdbd; border-radius: 14px; padding: 10px 14px; margin: 12px 0 18px; font-size: 15.5px; color: var(--ink); }
.pr-split b { color: var(--plum); font-weight: 800; }
.pr-split i { font-style: normal; color: var(--coral-ink); font-weight: 800; }
.pr-lim li b { color: var(--plum); }
.pr-lim li:last-child { color: var(--coral-ink); font-weight: 600; }

/* everything in every plan */
.pr-all { margin-top: 56px; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 36px; box-shadow: var(--shadow); }
.pr-all h3 { text-align: center; font-size: clamp(24px, 3vw, 32px); color: var(--plum); margin-bottom: 24px; }
.pr-all ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pr-all li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: start; padding: 14px; border-radius: 18px; transition: background .25s, transform .25s var(--ease); opacity: 0; transform: translateY(14px); }
.pr-all.shown li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease), background .25s; transition-delay: calc(var(--i) * .05s); }
.pr-all li:hover { background: var(--bg-soft); }
.pr-all i { grid-row: span 2; width: 44px; height: 44px; border-radius: 14px; background: var(--coral-soft); display: grid; place-items: center; }
.pr-all svg { width: 24px; height: 24px; fill: none; stroke: var(--coral-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pr-all b { color: var(--plum); font-size: 16px; }
.pr-all span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }

@media (max-width: 1024px) { .pr-all ul { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .pr-toggle button b { font-size: 16px; } .pr-toggle button small { font-size: 11.5px; } .pr-toggle button { padding: 8px 6px; }
  .pr-all { padding: 22px 14px; } .pr-all ul { grid-template-columns: 1fr; gap: 4px; } .pr-plans .plan-hot:hover { transform: none; } .pr-q-h { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) {
  .pr-bg i, .pr-plans .plan-hot, .pr-q-a { animation: none; }
  .pr-all li, .pr-pill { transition: none; }
  .pr-all li { opacity: 1; transform: none; }
}
