/* GOODY – שכבה עתידנית מעל העיצוב החדש.
   עתידני: רקע חי, זכוכית, קווי אור, סריקה. מוכר ומזמין: סרטון כמו ריל, שיחה כמו ווטסאפ, עברית פשוטה. */

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --bg: #030714;
  --surface: rgba(18, 34, 78, .46);
  --raised: rgba(28, 52, 112, .5);
  --solid: #0A1836;
  --solid-2: #0E2147;
  --line: rgba(150, 176, 255, .17);
  --line-strong: rgba(172, 196, 255, .36);
  --ice: #9DB8FF;
  --r: 18px;
  --r-ctl: 14px;
}

html { background: var(--bg); }
body { background: transparent; }

/* ---------- רקע חי ---------- */

.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sky__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(38% 30% at 82% 14%, rgba(52, 100, 255, .36), transparent 70%),
    radial-gradient(32% 26% at 8% 48%, rgba(255, 196, 12, .11), transparent 70%),
    radial-gradient(42% 30% at 72% 90%, rgba(52, 100, 255, .2), transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}
.sky__grid {
  position: absolute; inset: -60px 0;
  background-image: linear-gradient(rgba(150, 176, 255, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 176, 255, .075) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(85% 60% at 50% 32%, #000, transparent 88%); mask-image: radial-gradient(85% 60% at 50% 32%, #000, transparent 88%);
  animation: gridmove 9s linear infinite;
}
@keyframes drift { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
@keyframes gridmove { to { transform: translateY(52px); } }

.band { background: linear-gradient(180deg, rgba(3, 7, 20, 0), rgba(14, 30, 72, .5) 22%, rgba(14, 30, 72, .5) 78%, rgba(3, 7, 20, 0)); }

/* ---------- כניסות עם עומק ---------- */

.js .rv { transform: perspective(900px) translateY(26px) rotateX(9deg); transform-origin: 50% 100%; }
.js .rv.in { transform: none; }

/* ---------- סרגל עליון ---------- */

.bar.solid { background: rgba(3, 7, 20, .62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-bottom: 1px solid var(--line); }
.bar::after { box-shadow: 0 0 14px 1px rgba(255, 196, 12, .7); }
.kg { padding: 3px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(3, 7, 20, .5); }
.kg b { text-shadow: 0 0 14px rgba(255, 196, 12, .6); }
.logo { text-shadow: 0 0 18px rgba(255, 196, 12, .45); }

/* ---------- פתיחה: מסגרת סריקה על הסרטון ---------- */

.hero__h em { font-style: normal; color: var(--gold); text-shadow: 0 0 36px rgba(255, 196, 12, .55); }
.hero__media::after { background: linear-gradient(180deg, rgba(3, 7, 20, .6) 0, rgba(3, 7, 20, 0) 18%, rgba(3, 7, 20, 0) 38%, rgba(3, 7, 20, .88) 62%, var(--bg) 100%); }
.hud { position: absolute; z-index: 1; inset: calc(var(--bar) + 8px) 12px 44% 12px; overflow: hidden; pointer-events: none; }
.hud::before { /* ארבע פינות */
  content: ''; position: absolute; inset: 0;
  --c: rgba(255, 224, 122, .95);
  background:
    linear-gradient(var(--c), var(--c)) top left / 22px 2px, linear-gradient(var(--c), var(--c)) top left / 2px 22px,
    linear-gradient(var(--c), var(--c)) top right / 22px 2px, linear-gradient(var(--c), var(--c)) top right / 2px 22px,
    linear-gradient(var(--c), var(--c)) bottom left / 22px 2px, linear-gradient(var(--c), var(--c)) bottom left / 2px 22px,
    linear-gradient(var(--c), var(--c)) bottom right / 22px 2px, linear-gradient(var(--c), var(--c)) bottom right / 2px 22px;
  background-repeat: no-repeat;
  animation: lock 1.1s var(--ease-out) .5s backwards;
}
.hud::after { /* קו הסריקה: נע מלמעלה למטה, נח, וחוזר */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 49.3%, rgba(255, 236, 170, .95) 50%, transparent 50.7%), linear-gradient(180deg, transparent 38%, rgba(255, 196, 12, .16) 50%, transparent 50.5%);
  transform: translateY(-50%); animation: scan 7s var(--ease-in-out) 1.2s infinite;
}
@keyframes lock { from { opacity: 0; transform: scale(1.12); } }
@keyframes scan { 0% { transform: translateY(-50%); opacity: 0; } 6% { opacity: 1; } 40% { transform: translateY(50%); opacity: 1; } 46%, 100% { transform: translateY(50%); opacity: 0; } }
.sound { left: 24px; top: calc(var(--bar) + 20px); }

/* ---------- כפתורים ---------- */

.btn--gold { position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 240, 190, .7), 0 12px 36px -10px rgba(255, 196, 12, .7); }
.btn--gold::after {
  content: ''; position: absolute; inset: 0 auto 0 0; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .6), rgba(255, 255, 255, 0));
  transform: translateX(-130%) skewX(-18deg); animation: sheen 5s var(--ease-out) 2s infinite;
}
@keyframes sheen { 0%, 68% { transform: translateX(-130%) skewX(-18deg); } 100% { transform: translateX(400%) skewX(-18deg); } }
.btn--wa { background: rgba(14, 28, 66, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.dock .btn--wa { background: rgba(14, 28, 66, .8); }
.dock { background: linear-gradient(180deg, rgba(3, 7, 20, 0), rgba(3, 7, 20, .96) 52%); }

/* ---------- פס תוצאות ---------- */

.ticker { background: rgba(14, 28, 66, .4); border-color: var(--line); }
.ticker__track b { text-shadow: 0 0 14px rgba(255, 196, 12, .5); }

/* ---------- משטחי זכוכית עם זרקור שעוקב אחרי העכבר ---------- */

.case, .tile, .stage, .final__form { position: relative; }
.case { padding: 10px 10px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.case h3, .case p { padding-inline: 6px; }
.case__img { position: relative; border-radius: 12px; }
.case__img::after { /* סריקה חד פעמית כשהכרטיס נכנס למסך */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent 42%, rgba(255, 236, 170, .55) 50%, transparent 58%);
  transform: translateX(-70%);
}
.case__img.scan::after { animation: sweep 1.1s var(--ease-in-out) .15s; }
@keyframes sweep { 0% { opacity: 1; transform: translateX(-70%); } 100% { opacity: 1; transform: translateX(70%); } }
.case h3 b { text-shadow: 0 0 22px rgba(255, 196, 12, .45); }
.tile { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.tile--app { background: linear-gradient(140deg, rgba(40, 70, 150, .55), rgba(18, 34, 78, .5)); border-color: rgba(255, 196, 12, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 0 44px -14px rgba(255, 196, 12, .5); }
.tile > .ph { filter: drop-shadow(0 0 10px rgba(255, 196, 12, .55)); }
.tile--video > div, .tile--book > div { background: linear-gradient(180deg, rgba(3, 7, 20, 0), rgba(3, 7, 20, .94) 62%); }
.final__form { background: rgba(8, 18, 44, .7); border-color: var(--line-strong); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px -40px rgba(52, 100, 255, .8); }

.case::before, .tile::before, .stage::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 228, 140, .16), transparent 62%);
  transition: opacity .3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .case:hover::before, .tile:hover::before, .stage:hover::before { opacity: 1; }
}

/* ---------- לפני/אחרי ---------- */

.ba { border: 1px solid var(--line-strong); box-shadow: 0 40px 90px -50px rgba(52, 100, 255, .9); }
.ba__rule { box-shadow: 0 0 16px 2px rgba(255, 196, 12, .7); }
.ba__knob { box-shadow: 0 0 0 6px rgba(255, 196, 12, .18), 0 0 26px rgba(255, 196, 12, .6); }
.ba__kg { text-shadow: 0 0 30px rgba(255, 196, 12, .5); }
.story__tx blockquote { border-inline-start-color: var(--gold); box-shadow: none; }

/* ---------- 12 השבועות: הכרטיסים נערמים, אז הם אטומים ---------- */

.stage { background: linear-gradient(160deg, var(--solid-2), var(--solid)); border-color: var(--line-strong); border-top-color: rgba(255, 224, 122, .7); box-shadow: 0 -18px 40px rgba(3, 7, 20, .7), inset 0 1px 0 rgba(255, 255, 255, .08); }
.stage:nth-child(even) { background: linear-gradient(160deg, #132A5C, var(--solid-2)); }
.stage__when { letter-spacing: .02em; }

/* ---------- ההתחייבות: אור זהב שמקיף את המסגרת ---------- */

.promise { background: transparent; color: var(--text); padding: 0 var(--pad); }
.promise .wrap { position: relative; padding: clamp(40px, 8vw, 68px) 24px; border-radius: var(--r); text-align: center; background: rgba(8, 18, 44, .78); box-shadow: inset 0 0 0 1px var(--line), 0 0 70px -24px rgba(255, 196, 12, .55); }
.promise .wrap::before {
  content: ''; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 58%, var(--gold) 76%, #FFF3C4 82%, var(--gold) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: orbit 5s linear infinite;
}
@keyframes orbit { to { --ang: 360deg; } }
.promise__k { color: var(--gold-soft); font-weight: 500; }
.promise__p { color: var(--muted); font-weight: 400; }

/* ---------- השיחה: נראית כמו ווטסאפ, כי את זה כולם מכירים ---------- */

.sheet::backdrop { background: rgba(2, 5, 14, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet__panel { background: rgba(9, 20, 50, .9); -webkit-backdrop-filter: blur(26px) saturate(160%); backdrop-filter: blur(26px) saturate(160%); border-top-color: rgba(255, 224, 122, .55); box-shadow: 0 -30px 90px -30px rgba(52, 100, 255, .9); }
.sheet__h { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 400; margin-bottom: 18px; }
.sheet__h img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); }
.sheet__h span { display: flex; flex-direction: column; line-height: 1.3; }
.sheet__h b { font-weight: 800; font-size: 1.2rem; }
.sheet__h small { font-size: .88rem; color: var(--muted); }

.lead__q { width: 100%; margin-bottom: 14px; font-size: 1rem; font-weight: 400; }
.bubble {
  display: inline-block; max-width: 90%; padding: 11px 15px; align-self: flex-start;
  border-radius: 18px 18px 6px 18px; background: rgba(40, 68, 140, .6); border: 1px solid var(--line);
  font-weight: 500; font-size: 1.04rem; line-height: 1.45; color: var(--text);
  animation: pop .45s var(--ease-out) backwards;
}
.bubble b { font-weight: 500; }
.bubble--me { align-self: flex-end; border-radius: 18px 18px 18px 6px; background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 700; }
.lead__ack { color: var(--text); animation-delay: .4s; }
.lead__step--2 { animation: none; }
.lead__step--2 > .field, .lead__step--2 > .btn, .lead__step--2 > .lead__legal, .lead__step--2 > .link { animation: pop .5s var(--ease-out) .75s backwards; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chip span { background: rgba(14, 28, 66, .5); }
.field input { background: rgba(3, 7, 20, .5); border-color: var(--line-strong); }
.field input:focus { box-shadow: 0 0 0 4px rgba(255, 196, 12, .16); }

@media (min-width: 900px) {
  .hero__media::after { background: none; }
  .hud { inset: 10px; }
  .sound { left: 20px; top: 20px; }
  .hero__media { box-shadow: 0 50px 120px -50px rgba(52, 100, 255, .95), 0 0 0 1px rgba(255, 196, 12, .35); }
  .promise .wrap { max-width: 760px; }
  .sheet__panel { background: rgba(9, 20, 50, .92); }
}

@media (prefers-reduced-motion: reduce) {
  .sky__glow, .sky__grid, .hud::before, .hud::after, .btn--gold::after, .promise .wrap::before, .bubble, .case__img.scan::after,
  .lead__step--2 > .field, .lead__step--2 > .btn, .lead__step--2 > .lead__legal, .lead__step--2 > .link { animation: none; }
  .hud::after { opacity: 0; }
  .js .rv { transform: none; }
}

/* ---------- הסצנה: דמות אחת במרכז, והגלילה מעבירה אותה מ-47 ל-77 ----------
   כל התנועה נגזרת ממשתנה אחד (--p, מ-0 עד 1) שהקוד מעדכן לפי מיקום הגלילה. */

.scene { position: relative; height: 380vh; --p: 0; }
.scene__pin {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  --w: clamp(0, (var(--p) - .14) / .58, 1);            /* כמה מה"היום" כבר נחשף */
}
.scene__pin::before { /* האור מתחמם ככל שמתקדמים */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--w);
  background: radial-gradient(60% 46% at 50% 52%, rgba(255, 196, 12, .26), transparent 70%);
}
.scene__big {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-weight: 800; font-size: 74vw; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 224, 122, calc(.16 + var(--w) * .34));
  transform: translate3d(0, calc(4vh - var(--p) * 10vh), 0) scale(calc(1 + var(--p) * .12));
}
.scene__line {
  position: absolute; inset: calc(var(--bar) + 22px) var(--pad) auto; text-align: center; z-index: 3;
  font-weight: 800; font-size: clamp(2.3rem, 10vw, 4.2rem); line-height: 1.06; letter-spacing: -.02em;
}
.scene__line .thin { font-size: .5em; line-height: 1.4; }
.scene__line--a { opacity: calc(1 - (var(--p) - .1) * 6); transform: translate3d(0, calc(var(--p) * -60px), 0); }
.scene__line--b { color: var(--gold); text-shadow: 0 0 40px rgba(255, 196, 12, .5); opacity: calc((var(--p) - .62) * 6); transform: translate3d(0, calc((1 - clamp(0, (var(--p) - .62) * 6, 1)) * 40px), 0); }

.capsule {
  position: absolute; z-index: 2; left: 50%; top: 54%; height: min(54svh, 560px); aspect-ratio: 4 / 5.4;
  border-radius: 999px 999px 26px 26px / 220px 220px 26px 26px; overflow: hidden; background: #0A1730;
  border: 1px solid rgba(255, 224, 122, calc(.3 + var(--w) * .6));
  box-shadow: 0 0 0 8px rgba(255, 196, 12, calc(var(--w) * .08)), 0 50px 120px -40px rgba(52, 100, 255, .9), 0 0 calc(var(--w) * 90px) -10px rgba(255, 196, 12, .7);
  transform: translate3d(-50%, -50%, 0) scale(calc(.88 + var(--p) * .16));
}
.capsule img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.capsule__after { clip-path: inset(calc((1 - var(--w)) * 100%) 0 0 0); }
.capsule__scan {
  position: absolute; inset-inline: 0; top: 0; height: 100%; pointer-events: none;
  transform: translate3d(0, calc((1 - var(--w)) * 100%), 0);
  background: linear-gradient(180deg, rgba(255, 240, 180, 1) 0, rgba(255, 196, 12, .35) 3px, rgba(255, 196, 12, 0) 90px);
  opacity: calc(var(--w) * (1 - var(--w)) * 5);
}
.capsule__read { position: absolute; inset: auto 0 14px; text-align: center; font-size: 1rem; color: var(--text); text-shadow: 0 2px 14px rgba(3, 7, 20, .9); }
.capsule__read b { font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; margin-inline-end: 4px; }

/* כרטיסים שמרחפים פנימה מהצדדים, כל אחד בזמן שלו ובעומק שלו */
.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; max-width: 46vw; padding: 10px 12px;
  border-radius: 14px; background: rgba(12, 26, 62, .92); border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 18px 40px -18px rgba(3, 7, 20, .9);
  font-size: .86rem; font-weight: 500; line-height: 1.3;
  --f: clamp(0, (var(--p) - var(--at)) / .12, 1);
  opacity: var(--f);
  transform: translate3d(calc((1 - var(--f)) * var(--dx)), calc((1 - var(--f)) * 30px - var(--p) * var(--dz)), 0) scale(calc(.9 + var(--f) * .1));
}
.float .ph { font-size: 1.5rem; color: var(--gold); flex: none; filter: drop-shadow(0 0 8px rgba(255, 196, 12, .6)); }
.float b { font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--gold); }
.float--1 { --at: .2; --dx: 70px; --dz: 46px; right: 10px; top: 34%; }
.float--2 { --at: .34; --dx: -70px; --dz: 22px; left: 10px; top: 48%; }
.float--3 { --at: .48; --dx: 70px; --dz: 60px; right: 10px; top: 66%; }
.float--4 { --at: .62; --dx: -70px; --dz: 34px; left: 10px; top: 74%; }
.scene__quote {
  position: absolute; z-index: 3; inset: auto var(--pad) calc(96px + env(safe-area-inset-bottom)); text-align: center;
  font-weight: 500; font-size: 1.1rem; line-height: 1.45;
  opacity: calc((var(--p) - .82) * 8); transform: translate3d(0, calc((1 - clamp(0, (var(--p) - .82) * 8, 1)) * 24px), 0);
}

@media (min-width: 900px) {
  .scene__big { font-size: min(46vw, 620px); }
  .scene__line { inset: 26% 8vw auto auto; width: 26vw; text-align: start; }
  .capsule { height: min(72svh, 640px); top: 53%; }
  .float { max-width: 280px; font-size: 1rem; padding: 14px 16px; }
  .float--1 { right: 22vw; top: 62%; }
  .float--2 { left: 20vw; top: 30%; }
  .float--3 { right: 18vw; top: 78%; }
  .float--4 { left: 22vw; top: 60%; }
  .scene__quote { inset: auto auto 12% 8vw; width: 24vw; text-align: start; font-size: 1.3rem; }
}

/* בלי תנועה: הסצנה מוצגת כתמונת סיום אחת, בלי הצמדה */
@media (prefers-reduced-motion: reduce) {
  .scene { height: auto; --p: 1; }
  .scene__pin { position: relative; }
}

/* ================= סבב תיקונים 2 ================= */

/* לוגו + "מסה לרזים" */
.brand { grid-column: 2; display: flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand span { font-weight: 700; font-size: .92rem; color: var(--gold); padding-inline-start: 10px; border-inline-start: 1px solid var(--line-strong); white-space: nowrap; }

/* המונה והקו בסרגל: הקוד מעדכן אותם (ב-iPhone הגרסה ב-CSS הראתה 0) */
.kg { display: inline-flex; }
.kg b { animation: none; counter-reset: none; }
.kg b::after { content: none; }
.bar::after { animation: none; transform: scaleX(var(--prog, 0)); }

/* פתיחה ממורכזת, כפתור אחד גדול, שורות וי */
.hero__copy { align-items: center; text-align: center; gap: 12px; }
.hero__h { font-size: clamp(2rem, 9.2vw, 4.2rem); }
.hero__h .thin { font-size: .47em; font-weight: 500; color: var(--gold-soft); }
.hero__p { max-width: 30ch; }
.btn--xl { width: 100%; max-width: 440px; min-height: 66px; margin-top: 6px; font-size: 1.22rem; font-weight: 800; overflow: visible; }
.btn--xl::after { display: none; }
.btn--xl::before { /* טבעת אור שפועמת סביב הכפתור הראשי */
  content: ''; position: absolute; inset: -5px; border-radius: 18px; border: 2px solid rgba(255, 224, 122, .9); pointer-events: none;
  animation: halo 2.2s var(--ease-out) infinite;
}
@keyframes halo { 0% { opacity: .9; transform: scale(.97); } 100% { opacity: 0; transform: scale(1.07, 1.3); } }
.checks { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 6px 20px; font-size: .9rem; color: var(--muted); }
.checks li { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.checks .ph { color: var(--gold); font-size: 1.05rem; }
.walink { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; color: var(--muted); font-size: .94rem; text-decoration: underline; text-underline-offset: 4px; }
.walink .ph { font-size: 1.3rem; color: var(--wa); }
.js .btn--xl, .js .checks, .js .hero__copy .walink { animation: rise .8s var(--ease-out) backwards; animation-delay: .62s; }
.js .checks { animation-delay: .76s; }
.js .hero__copy .walink { animation-delay: .9s; }
.final .walink { align-self: center; }

/* הסצנה: קצרה יותר, מתחילה לזוז מיד, וברור שממשיכים לגלול */
.scene { height: 250vh; }
.scene__pin { --w: clamp(0, (var(--p) - .03) / .62, 1); }
.scene__line--a { opacity: calc(1 - (var(--p) - .3) * 7); }
.scene__line--b { opacity: calc((var(--p) - .48) * 7); transform: translate3d(0, calc((1 - clamp(0, (var(--p) - .48) * 7, 1)) * 40px), 0); }
.float--1 { --at: .1; } .float--2 { --at: .24; } .float--3 { --at: .38; } .float--4 { --at: .52; }
.scene__quote { opacity: calc((var(--p) - .76) * 8); transform: translate3d(0, calc((1 - clamp(0, (var(--p) - .76) * 8, 1)) * 24px), 0); }
.scene__ruler { position: absolute; z-index: 3; inset: calc(var(--bar) + 124px) 14% auto; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.scene__ruler b { font-weight: 700; }
.scene__ruler b:last-child { color: var(--gold); }
.scene__ruler span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.scene__ruler i { display: block; height: 100%; background: var(--gold); transform-origin: 100% 50%; transform: scaleX(var(--w)); box-shadow: 0 0 12px rgba(255, 196, 12, .9); }
.scene__cue { position: absolute; z-index: 4; inset: auto 0 calc(92px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .95rem; font-weight: 700; color: var(--gold); opacity: calc((.7 - var(--p)) * 8); pointer-events: none; text-shadow: 0 2px 12px rgba(3, 7, 20, .9); }
.scene__cue .ph { font-size: 1.7rem; animation: nudge-down 1.3s var(--ease-in-out) infinite; }
@keyframes nudge-down { 0%, 100% { transform: translateY(-3px); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
.capsule { top: 57%; height: min(50svh, 540px); }

/* 12 השבועות: ציר שמתמלא וכרטיסים */
.tl { margin-top: 30px; }
.tl__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 640px; margin: 0 auto; padding-inline: var(--pad); }
.tl__track::before, .tl__fill { content: ''; position: absolute; inset: 9px calc(var(--pad) + 10%) auto; height: 4px; border-radius: 4px; }
.tl__track::before { background: rgba(255, 255, 255, .14); }
.tl__fill { background: linear-gradient(270deg, var(--gold), #FFF3C4); transform-origin: 100% 50%; transform: scaleX(var(--fill, 0)); transition: transform .5s var(--ease-out); box-shadow: 0 0 14px rgba(255, 196, 12, .8); }
.tl__seg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 60px; padding: 0 2px; border: 0; background: none; color: var(--dim); font: 500 .8rem/1.2 'Heebo', Arial, sans-serif; cursor: pointer; transition: color .3s ease; }
.tl__seg::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--solid); border: 2px solid var(--line-strong); transition: transform .35s var(--ease-out), background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.tl__seg.done::before { background: var(--gold); border-color: var(--gold); }
.tl__seg.on { color: var(--text); font-weight: 700; }
.tl__seg.on::before { background: var(--gold); border-color: #FFF3C4; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(255, 196, 12, .18), 0 0 20px rgba(255, 196, 12, .8); }
.tl__rail { margin-top: 16px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 14px calc((100vw - min(78vw, 360px)) / 2) 22px; scrollbar-width: none; }
.tl__rail::-webkit-scrollbar { display: none; }
.tl__card { scroll-snap-align: center; min-height: 230px; padding: 24px 22px; border-radius: var(--r); background: linear-gradient(160deg, var(--solid-2), var(--solid)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; opacity: .45; transform: scale(.93); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), border-color .45s ease, box-shadow .45s ease; }
.tl__card.on { opacity: 1; transform: none; border-color: rgba(255, 224, 122, .75); box-shadow: 0 0 60px -18px rgba(255, 196, 12, .7), inset 0 1px 0 rgba(255, 255, 255, .1); }
.tl__card > .ph { font-size: 2.2rem; color: var(--gold); margin-bottom: 8px; filter: drop-shadow(0 0 10px rgba(255, 196, 12, .6)); }
.tl__when { font-size: .86rem; font-weight: 500; color: var(--gold-soft); }
.tl__card h3 { font-weight: 800; font-size: 1.7rem; line-height: 1.25; }
.tl__card p { color: var(--muted); }

/* ההתחייבות */
.promise .wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.promise__k { margin: 0; font-weight: 700; color: var(--gold); }
.promise__h { margin: 0; }
.promise__h em { font-style: normal; color: var(--gold); display: block; text-shadow: 0 0 34px rgba(255, 196, 12, .5); }
.promise__p { margin: 0; max-width: 44ch; color: var(--text); }
.promise__c { font-size: .92rem; color: var(--muted); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-strong); }

/* מה אתה מקבל: רשימה אחת, אותו מראה לכל פריט */
.gets { margin-top: 28px; display: grid; gap: 10px; }
.gets li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); }
.gets .ph { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px; font-size: 1.7rem; color: var(--gold); background: rgba(255, 196, 12, .1); border: 1px solid rgba(255, 196, 12, .45); }
.gets h3 { font-weight: 700; font-size: 1.14rem; line-height: 1.3; }
.gets p { color: var(--muted); font-size: .95rem; line-height: 1.5; }

/* הטופס: ברור על מה לוחצים */
.lead__hint { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .92rem; font-weight: 700; color: var(--gold); }
.lead__hint .ph { font-size: 1.3rem; animation: nudge-down 1.3s var(--ease-in-out) infinite; }
.chip span { position: relative; min-height: 76px; border: 2px solid rgba(255, 196, 12, .85); background: rgba(255, 196, 12, .12); color: var(--text); font-size: 1.14rem; font-weight: 800; box-shadow: 0 10px 28px -14px rgba(255, 196, 12, .8); }
.chip span small { color: var(--gold-soft); }
.chip span::after { content: ''; position: absolute; inset: -4px; border-radius: 16px; border: 2px solid rgba(255, 224, 122, .8); pointer-events: none; animation: halo 2.4s var(--ease-out) infinite; }
.chip:nth-child(2) span::after { animation-delay: .25s; }
.chip:nth-child(3) span::after { animation-delay: .5s; }
.chip input:checked + span::after { animation: none; opacity: 0; }

@media (min-width: 900px) {
  .brand img { height: 36px; }
  .hero__copy { align-items: center; }
  .scene__ruler { inset: auto 34% 7% ; }
  .scene__cue { inset: auto 0 3%; }
  .capsule { top: 50%; height: min(66svh, 620px); }
  .gets { grid-template-columns: 1fr 1fr; }
  .gets li:last-child { grid-column: 1 / -1; }
  .tl__rail { grid-auto-columns: 340px; padding-inline: calc((100vw - 340px) / 2); }
}

@media (prefers-reduced-motion: reduce) {
  .btn--xl::before, .chip span::after, .scene__cue .ph, .lead__hint .ph { animation: none; }
  .btn--xl::before, .chip span::after { opacity: 0; }
  .scene__cue { display: none; }
  .tl__card { opacity: 1; transform: none; }
}

/* הסרגל: הלוגו בצד ימין, המונה בצד שמאל */
.bar { display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 28px; }

/* תוצאות בלי פנים: זוג תמונות חתוכות מהצוואר ומטה, עם תוויות */
.case__img--pair { position: relative; }
.case__img--pair img { object-position: 50% 12%; }
.tag { position: absolute; top: 8px; z-index: 1; padding: 2px 10px; border-radius: 8px; font-size: .78rem; font-weight: 700; background: rgba(3, 7, 20, .8); color: var(--text); }
.tag--b { right: 8px; }
.tag--a { left: 8px; background: var(--gold); color: var(--on-gold); }
.more__h { margin-top: 30px; font-weight: 700; font-size: 1.3rem; }
.rail--more { margin-top: 12px; grid-auto-columns: min(66vw, 300px); }
.case--mini { padding: 8px; }

/* hero-stacked: במובייל הסרטון והטקסט כבר לא אחד על השני.
   הסרטון מקבל חלון משלו (החלק העליון שלו נחתך, הפנים והכתוביות נשארים), והטקסט יושב מתחתיו על רקע נקי. */
@media (max-width: 899px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; z-index: 0; height: 42svh; min-height: 250px; }
  .hero__media video { object-position: 50% 26%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(3, 7, 20, .62) 0, rgba(3, 7, 20, 0) 24%, rgba(3, 7, 20, 0) 80%, var(--bg) 100%); }
  .hud { inset: calc(var(--bar) + 6px) 12px 14px; }
  .sound { top: auto; bottom: 22px; left: 22px; }
  .hero__copy { padding: 14px var(--pad) 22px; }
}

/* smooth-scene: הסצנה זזה רק עם transform ו-opacity (בלי clip-path, צל או קו מתאר שמשתנים בכל פריים),
   כדי שהטלפון יזיז שכבות מוכנות ולא יצייר מחדש תמונות בזמן הגלילה. */
.scene { height: 220vh; }
.capsule { border-color: rgba(255, 224, 122, .6); box-shadow: 0 40px 90px -40px rgba(52, 100, 255, .8); will-change: transform; }
.capsule__wipe { position: absolute; inset: 0; overflow: hidden; transform: translate3d(0, calc((1 - var(--w)) * 100%), 0); will-change: transform; }
.capsule__after { clip-path: none; transform: translate3d(0, calc((1 - var(--w)) * -100%), 0); will-change: transform; }
.scene__big { -webkit-text-stroke: 1.5px rgba(255, 224, 122, .45); opacity: calc(.35 + var(--w) * .65); will-change: transform, opacity; }
.float, .scene__line, .scene__quote, .capsule__scan { will-change: transform, opacity; }

/* בטלפון: בלי טשטוש רקע ובלי רקע שזז, שניהם יקרים בזמן גלילה */
@media (max-width: 899px) {
  .sky__glow, .sky__grid { animation: none; }
  .bar.solid { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(3, 7, 20, .93); }
  .btn--wa, .sheet::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .sheet__panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(9, 20, 50, .98); }
}

/* הלוגו בתחתית הדף */
.brand--foot { flex-direction: column; gap: 10px; margin-bottom: 4px; }
.brand--foot img { height: 46px; }
.brand--foot span { padding: 0; border: 0; font-size: 1rem; }

/* more-clear: במסילת "ועוד מתאמנים" התמונות גדולות יותר, אף כרטיס לא מעומעם, ורואים שיש עוד בצד */
.rail--more { grid-auto-columns: min(84vw, 400px); }
.rail--more .case { animation: none; opacity: 1; transform: none; }
.rail--more .case__img--pair { aspect-ratio: 5 / 4; }

/* pair--fit: התמונות מוצגות שלמות, בלי זום. כל תמונה מקבלת רוחב לפי הצורה שלה, ושתיהן יוצאות באותו גובה */
.pair--fit, .rail--more .pair--fit { display: flex; gap: 3px; aspect-ratio: auto; background: transparent; }
.pair--fit img { flex: var(--r, 1) 1 0; min-width: 0; width: 0; height: auto; object-fit: cover; }
.rail--more { grid-auto-columns: min(90vw, 460px); align-items: start; }
.rail { align-items: start; }

/* proof-strip: רצועת תוצאות קצרה בין המקטעים */
.proof-strip { padding-block: 10px clamp(48px, 8vw, 80px); }
.proof-strip .more__h { margin-top: 0; }

/* results-big: בטלפון התמונות של לפני/אחרי ממלאות את הכרטיס מקצה לקצה, והכרטיס כמעט ברוחב המסך */
@media (max-width: 899px) {
  .rail, .rail--more { grid-auto-columns: min(92vw, 460px); padding-inline: 4vw; scroll-padding-inline: 4vw; gap: 12px; }
  .rail .case { padding: 0 0 16px; overflow: hidden; gap: 12px; }
  .rail .case--mini { padding: 0; }
  .rail .case .case__img { border-radius: 0; }
  .rail .case h3, .rail .case p { padding-inline: 16px; }
  .pair--fit, .rail--more .pair--fit { gap: 2px; }
}

/* כרטיס סיפור בלי מספר קילו: השם לבד, בתחילת השורה */
.case h3.case__name span { margin-inline-start: 0; font-size: 1.25rem; font-weight: 800; }

/* flip-card: תמונה אחת גדולה שמתחלפת בין לפני לאחרי. נגיעה מחליפה ידנית. */
.case__img.flip, .rail--more .case__img.flip { display: block; position: relative; aspect-ratio: var(--fr, 1); background: #050B1C; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.flip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: opacity .5s ease; }
.flip img:nth-of-type(2) { opacity: 0; }
.flip.is-after img:nth-of-type(1) { opacity: 0; }
.flip.is-after img:nth-of-type(2) { opacity: 1; }
.flip .tag { top: auto; bottom: 12px; padding: 7px 18px; font-size: .95rem; border-radius: 0; background: rgba(3, 7, 20, .78); color: rgba(255, 255, 255, .6); transition: background-color .3s ease, color .3s ease; }
.flip .tag--b { right: 50%; left: auto; border-radius: 0 999px 999px 0; }
.flip .tag--a { left: 50%; right: auto; border-radius: 999px 0 0 999px; }
.flip:not(.is-after) .tag--b, .flip.is-after .tag--a { background: var(--gold); color: var(--on-gold); }
@media (prefers-reduced-motion: reduce) { .flip img, .flip .tag { transition: none; } }

/* auto-scene: בטלפון הסצנה בגובה מסך אחד ומתנגנת לבד כשהיא על המסך. רק transform ו-opacity, במעברי CSS רגילים. */
.scene--auto { height: auto; }
.scene--auto .scene__pin { position: relative; height: 100svh; min-height: 620px; }
.scene--auto .scene__cue, .scene--auto .capsule__scan { display: none; }
.scene--auto .scene__pin::before { opacity: 0; transition: opacity 1.4s ease .3s; }
.scene--auto .scene__big { transform: translate3d(0, 2vh, 0); opacity: .3; transition: opacity 1.2s ease .5s; }
.scene--auto .scene__line--a { opacity: 1; transform: none; transition: opacity .4s ease, transform .5s ease; }
.scene--auto .scene__line--b { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .5s ease, transform .6s var(--ease-out); }
.scene--auto .capsule { transform: translate3d(-50%, -50%, 0) scale(.94); transition: transform 1.8s var(--ease-out) .2s; }
.scene--auto .capsule__wipe { transform: translate3d(0, 100%, 0); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .35s; }
.scene--auto .capsule__after { transform: translate3d(0, -100%, 0); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .35s; }
.scene--auto .capsule__read { will-change: transform; }
.scene--auto .float { opacity: 0; transform: translate3d(var(--dx), 18px, 0) scale(.94); transition: opacity .45s ease, transform .55s var(--ease-out); }
.scene--auto .scene__ruler i { transform: scaleX(0); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .35s; }
.scene--auto .scene__quote { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity .5s ease, transform .6s var(--ease-out); }

.scene--auto.is-on .scene__pin::before { opacity: 1; }
.scene--auto.is-on .scene__big { opacity: .9; }
.scene--auto.is-on .scene__line--a { opacity: 0; transform: translate3d(0, -24px, 0); transition-delay: 1s; }
.scene--auto.is-on .scene__line--b { opacity: 1; transform: none; transition-delay: 1.35s; }
.scene--auto.is-on .capsule { transform: translate3d(-50%, -50%, 0) scale(1); }
.scene--auto.is-on .capsule__wipe, .scene--auto.is-on .capsule__after { transform: translate3d(0, 0, 0); }
.scene--auto.is-on .float { opacity: 1; transform: none; }
.scene--auto.is-on .float--1 { transition-delay: .55s; }
.scene--auto.is-on .float--2 { transition-delay: .85s; }
.scene--auto.is-on .float--3 { transition-delay: 1.15s; }
.scene--auto.is-on .float--4 { transition-delay: 1.45s; }
.scene--auto.is-on .scene__ruler i { transform: scaleX(1); }
.scene--auto.is-on .scene__quote { opacity: 1; transform: none; transition-delay: 2s; }

/* consent-boxes: שתי תיבות ההסכמה בטופס, והשורה שמתחת לקישורי הווטסאפ */
.lead .consent { display: grid; gap: 8px; margin: 2px 0 12px; font-size: .84rem; line-height: 1.5; color: var(--muted); text-align: start; }
.lead .consent label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.lead .consent input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: var(--gold); }
.lead .consent a { color: var(--gold-soft); text-decoration: underline; }
.lead .consent .field__err { margin: 0; }
.wa-note { margin: 6px auto 0; max-width: 34ch; font-size: .76rem; line-height: 1.45; color: var(--dim); text-align: center; }
.wa-note a { color: inherit; text-decoration: underline; }

/* route-map: 12 השבועות כמסלול אנכי. קו אחד שמתמלא, ותחנות שנדלקות כשמגיעים אליהן בגלילה. רק transform ו-opacity. */
.weeks { overflow-x: clip; }
.route { list-style: none; position: relative; max-width: 600px; margin: 30px auto 0; padding: 0 var(--pad); }
.route__stop { position: relative; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 14px; padding-bottom: 22px; }
.route__stop::before, .route__stop::after { content: ''; position: absolute; inset-inline-start: 22px; top: 23px; bottom: -23px; width: 2px; }
.route__stop::before { background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .28) 0 6px, transparent 6px 13px); }
.route__stop::after { background: linear-gradient(to bottom, var(--gold), #FFF3C4); box-shadow: 0 0 14px rgba(255, 196, 12, .9); transform: scaleY(0); transform-origin: 50% 0; transition: transform .8s var(--ease-out) .15s; }
.route__stop.on::after { transform: scaleY(1); }
.route__stop--end { padding-bottom: 0; align-items: center; }
.route__stop--end::before, .route__stop--end::after { display: none; }

.route__node { position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #0A1730; border: 2px solid var(--line-strong); color: var(--dim); font-weight: 800; font-size: .92rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; transition: transform .45s var(--ease-out), background-color .3s ease, border-color .3s ease, color .3s ease; }
.route__node .ph { font-size: 1.4rem; }
.route__node::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; }
.route__stop.on .route__node { background: var(--gold); border-color: #FFF3C4; color: var(--on-gold); transform: scale(1.08); }
.route__stop.on .route__node::after { animation: route-ping .9s var(--ease-out) .1s 1; }
@keyframes route-ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(2.1); } }

.route__card { position: relative; padding: 18px 18px 16px; border-radius: var(--r); background: rgba(12, 26, 62, .92); border: 1px solid var(--line-strong); opacity: .32; transform: translate3d(-22px, 0, 0); transition: opacity .5s ease, transform .6s var(--ease-out), border-color .4s ease; }
.route__stop.on .route__card { opacity: 1; transform: none; border-color: rgba(255, 224, 122, .7); }
.route__card::before, .route__card::after { content: ''; position: absolute; width: 14px; height: 14px; border: 2px solid var(--gold); opacity: 0; transition: opacity .4s ease .3s; }
.route__card::before { top: -1px; inset-inline-start: -1px; border-inline-end: 0; border-bottom: 0; border-start-start-radius: var(--r); }
.route__card::after { bottom: -1px; inset-inline-end: -1px; border-inline-start: 0; border-top: 0; border-end-end-radius: var(--r); }
.route__stop.on .route__card::before, .route__stop.on .route__card::after { opacity: 1; }
.route__card > .ph { float: inline-end; font-size: 2rem; color: var(--gold); }
.route__when { display: block; font-size: .86rem; font-weight: 500; color: var(--gold-soft); }
.route__card h3 { font-weight: 800; font-size: 1.6rem; line-height: 1.2; margin: 2px 0 6px; }
.route__card p { color: var(--muted); }
.route__prog { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.route__prog span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.route__prog i { display: block; height: 100%; background: var(--gold); transform-origin: 100% 50%; transform: scaleX(0); transition: transform .9s var(--ease-out) .35s; }
.route__stop.on .route__prog i { transform: scaleX(var(--v, 0)); }
.route__prog small { flex: none; font-size: .78rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.route__end { display: grid; gap: 2px; opacity: .32; transition: opacity .5s ease; }
.route__end b { font-weight: 800; font-size: 1.25rem; color: var(--gold); }
.route__end span { color: var(--muted); }
.route__stop.on .route__end { opacity: 1; }
@media (min-width: 900px) { .route { max-width: 680px; } .route__card { padding: 22px 24px 20px; } }
@media (prefers-reduced-motion: reduce) {
  .route__stop::after, .route__node, .route__card, .route__prog i, .route__end, .route__card::before, .route__card::after { transition: none; }
  .route__stop.on .route__node::after { animation: none; }
}
