/* CaptionsHE – דף נחיתה (welcome.php) */

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

:root {
    --purple: #5c4c9f;
    --purple-soft: #a395ec;
    --peach: #fda085;
    --pink: #ff5e8a;
    --grad: linear-gradient(135deg, #5c4c9f 0%, #fda085 100%);
    --grad-text: linear-gradient(90deg, #a395ec 0%, #ff8fae 50%, #fda085 100%);

    --bg: #06050a;
    --surface-solid: #120f1b;
    --border: rgba(255, 255, 255, .08);
    --border-strong: rgba(255, 255, 255, .16);
    --text: #f6f4fb;
    --muted: #aaa3bd;

    --radius: 24px;
    --container: 1200px;
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* גרעיניות עדינה על כל הדף */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: .06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.grad-text {
    background: var(--grad-text);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }

/* ---------- כפתורים ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    font: inherit;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .2s, border-color .2s;
    white-space: nowrap;
    isolation: isolate;
}
.btn:focus-visible { outline: 3px solid var(--peach); outline-offset: 3px; }
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 10px 40px -10px rgba(253, 160, 133, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
    overflow: hidden;
}
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(120%);
    transition: transform .8s var(--ease-out);
}
.btn-primary:hover::before { transform: translateX(-120%); }
.btn-primary:hover { box-shadow: 0 18px 50px -12px rgba(253, 160, 133, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost {
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    border-color: var(--border-strong);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }
.btn .arrow { transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(-4px); }

/* ---------- פס התקדמות + טיימקוד ---------- */
.scroll-playhead {
    position: fixed;
    top: 0; inset-inline: 0;
    height: 3px;
    z-index: 80;
    pointer-events: none;
    background: rgba(255, 255, 255, .05);
}
.scroll-playhead span {
    position: absolute;
    inset: 0;
    background: var(--grad);
    transform-origin: right;
    transform: scaleX(var(--progress, 0));
}
.scroll-tc {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(12, 10, 18, .7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: .8rem;
    direction: ltr;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s, transform .4s var(--ease-out);
}
.scroll-tc.on { opacity: 1; transform: none; }
.scroll-tc i { color: var(--peach); font-size: .65rem; }

/* ---------- כותרת עליונה צפה ---------- */
.site-header {
    position: fixed;
    top: 16px;
    inset-inline: 0;
    z-index: 60;
    display: flex;
    justify-content: center;
    padding: 0 16px;
    pointer-events: none;
}
.header-pill {
    pointer-events: auto;
    width: 100%;
    max-width: 1100px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 8px;
    padding-inline-start: 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(12, 10, 18, .55);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8);
}
@supports (animation-timeline: scroll()) {
    .header-pill {
        animation: header-shrink linear both;
        animation-timeline: scroll(root);
        animation-range: 0 220px;
    }
    @keyframes header-shrink {
        to { max-width: 900px; background: rgba(12, 10, 18, .82); border-color: var(--border-strong); }
    }
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; gap: 2px; margin-inline-start: auto; }
.main-nav a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: .93rem;
    transition: color .2s, background-color .2s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); background: rgba(255, 255, 255, .07); outline: none; }
.main-nav .mobile-only { display: none; }
.header-actions { display: flex; gap: 8px; flex: none; }
.nav-toggle {
    display: none;
    position: relative;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    flex: none;
}
.nav-toggle span {
    position: absolute;
    left: 14px; right: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100svh;
    padding: 150px 0 80px;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse 60% 50% at 75% 20%, rgba(92, 76, 159, .6), transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 60%, rgba(253, 160, 133, .25), transparent 70%),
        var(--bg);
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 220px;
    z-index: -1;
    background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-grid {
    position: absolute; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
/* סרגל טיימליין מעל הכותרת: שנתות שנמוגות לצדדים, שמות התוכנות במונו, ופלייהד שעובר פעם אחת */
.hero-ruler {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 760px;
    margin: 0 auto 30px;
    direction: ltr;
    opacity: 0;
    animation: fade-up 1s var(--ease-out) .1s forwards;
}
.ruler-ticks {
    flex: 1;
    height: 14px;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 1px, transparent 1px 50px) left bottom / 100% 14px no-repeat,
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 10px) left bottom / 100% 6px no-repeat;
    -webkit-mask: linear-gradient(90deg, transparent, #000 85%);
    mask: linear-gradient(90deg, transparent, #000 85%);
}
.ruler-ticks:last-child {
    -webkit-mask: linear-gradient(270deg, transparent, #000 85%);
    mask: linear-gradient(270deg, transparent, #000 85%);
}
.ruler-apps {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex: none;
    font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    font-size: .8rem;
    letter-spacing: .04em;
    color: rgba(246, 244, 251, .78);
}
.ruler-app { display: inline-flex; align-items: center; gap: 8px; }
.ruler-app img { width: 22px; height: 22px; border-radius: 6px; }
.ruler-sep { color: var(--peach); }
.hero-ruler::after {
    content: "";
    position: absolute;
    top: -6px; bottom: -6px;
    left: 0;
    width: 2px;
    background: var(--peach);
    box-shadow: 0 0 14px rgba(253, 160, 133, .9);
    opacity: 0;
    animation: ruler-sweep 2.2s var(--ease-out) .5s forwards;
}
@keyframes ruler-sweep {
    0% { left: 0; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.hero h1 {
    font-size: clamp(2.7rem, 8vw, 6rem);
    font-weight: 900;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: -0.035em;
}
.hero h1 .word {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    transform: translateY(30px);
    animation: word-in 1s var(--ease-out) forwards;
    animation-delay: calc(var(--i) * 110ms + 150ms);
}
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }
.hero .lead {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: var(--muted);
    max-width: 640px;
    margin: 24px auto 36px;
    opacity: 0;
    animation: fade-up 1s var(--ease-out) .8s forwards;
}
.hero-ctas {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    opacity: 0;
    animation: fade-up 1s var(--ease-out) 1s forwards;
}
.hero-note { margin-top: 18px; font-size: .88rem; color: var(--muted); opacity: 0; animation: fade-up 1s var(--ease-out) 1.15s forwards; }
.hero-note i { color: var(--peach); margin-inline-end: 4px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- הדגמת עורך חיה + שכבות עומק ---------- */
.editor-stage {
    position: relative;
    perspective: 1300px;
    perspective-origin: 50% 40%;
    margin: 70px auto 0;
    max-width: 1020px;
    opacity: 0;
    animation: fade-up 1.2s var(--ease-out) 1.3s forwards;
}
.editor {
    position: relative;
    border-radius: 22px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(255,255,255,.25), rgba(255,255,255,.04) 40%, rgba(253,160,133,.35));
    box-shadow: 0 60px 140px -50px rgba(92, 76, 159, .9), 0 30px 80px -40px rgba(253, 160, 133, .5);
    /* דלת: הציר בצד ימין. js/landing.js מסובב אותה לפי הגלילה עד שהיא נסגרת ישר מול הצופה */
    transform-origin: 100% 50%;
    transform: rotateY(-52deg) scale(.9);
    will-change: transform;
}
/* צל על הכנף כשהיא פתוחה – כהה יותר בקצה הרחוק */
.editor::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(6, 5, 10, .9), rgba(6, 5, 10, .15) 75%, transparent);
    opacity: var(--shade, .8);
}
/* הבזק אור שעובר על המסך ברגע שהדלת ננעלת */
.editor::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 6;
    border-radius: 22px;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .16) 48%, rgba(253, 160, 133, .14) 52%, transparent 65%);
    background-size: 250% 100%;
    background-position: 120% 0;
    opacity: 0;
}
.editor.locked::before { animation: door-glare 1.1s var(--ease-out); }
@keyframes door-glare {
    0% { opacity: 1; background-position: 120% 0; }
    100% { opacity: 0; background-position: -30% 0; }
}
.editor-inner { border-radius: 21px; overflow: hidden; background: #0d0b14; text-align: start; }
.editor-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, .02);
    direction: ltr;
}
.editor-bar .dots { display: flex; gap: 6px; }
.editor-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.editor-bar .dots i:nth-child(2) { background: #febc2e; }
.editor-bar .dots i:nth-child(3) { background: #28c840; }
.editor-bar .title { flex: 1; text-align: center; font-size: .8rem; color: var(--muted); font-family: ui-monospace, monospace; }
.editor-bar .status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .75rem; font-weight: 700;
    color: #4ade80;
    padding: 3px 10px; border-radius: 999px;
    background: rgba(74, 222, 128, .1);
}
.editor-bar .status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.editor-body { display: grid; grid-template-columns: 1fr 260px; min-height: 360px; }
.preview {
    position: relative;
    display: grid;
    place-items: end center;
    padding: 28px 20px 34px;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(92, 76, 159, .55), transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(253, 160, 133, .35), transparent 55%),
        linear-gradient(160deg, #1a1530, #0b0912);
    overflow: hidden;
}
.preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 3px);
    pointer-events: none;
}
.preview .silhouette {
    position: absolute;
    bottom: 0; left: 50%;
    width: 200px; height: 230px;
    transform: translateX(-50%);
    background:
        radial-gradient(circle at 50% 28%, rgba(255,255,255,.14) 0 52px, transparent 53px),
        radial-gradient(ellipse 110px 90px at 50% 100%, rgba(255,255,255,.1) 0 99%, transparent 100%);
}
.caption-line {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .28em;
    min-height: 2.6em;
    font-size: clamp(1.25rem, 3.2vw, 2.1rem);
    font-weight: 800;
    text-shadow: 0 3px 18px rgba(0, 0, 0, .7);
}
.caption-line .cw {
    display: inline-block;
    padding: 0 .12em;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(12px) scale(.9);
    transition: opacity .3s var(--ease-out), transform .45s var(--ease-out), background-color .25s;
}
.caption-line .cw.shown { opacity: 1; transform: none; }
.caption-line .cw.active { background: var(--grad); color: #fff; }
.side-panel {
    border-inline-start: 1px solid var(--border);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: rgba(255, 255, 255, .015);
}
.side-panel .panel-logo { height: 22px; width: auto; align-self: flex-start; }
.field label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 6px; }
.field .fake-input {
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--border-strong);
    background: rgba(255, 255, 255, .04);
    font-size: .85rem;
    display: flex; justify-content: space-between; align-items: center;
}
.field .fake-input i { color: var(--muted); font-size: .7rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: .72rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--muted); }
.chips span.on { border-color: transparent; background: rgba(163, 149, 236, .2); color: var(--text); }
.progress { margin-top: auto; font-size: .75rem; color: var(--muted); }
.progress .track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 6px; }
.progress .fill { height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .4s linear; }
.fake-btn { text-align: center; padding: 10px; border-radius: 10px; background: var(--grad); font-weight: 700; font-size: .85rem; }
.timeline { border-top: 1px solid var(--border); padding: 14px 16px 16px; background: #0a0910; direction: ltr; }
.timeline-wrap { position: relative; }
.tl-row { position: relative; height: 34px; margin-bottom: 8px; border-radius: 8px; background: rgba(255,255,255,.025); overflow: hidden; }
.tl-row.captions .clip {
    position: absolute;
    top: 5px; bottom: 5px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(92,76,159,.9), rgba(253,160,133,.85));
    font-size: .68rem;
    font-weight: 700;
    color: #fff;
    padding: 0 8px;
    display: flex; align-items: center;
    direction: rtl;
    white-space: nowrap;
    overflow: hidden;
    opacity: 0;
    transform: scaleX(.4);
    transform-origin: left;
    transition: opacity .4s, transform .6s var(--ease-out);
}
.tl-row.captions .clip.shown { opacity: 1; transform: none; }
.waveform { display: flex; align-items: center; gap: 2px; height: 100%; padding: 0 6px; }
.waveform i {
    flex: 1;
    min-width: 2px;
    height: calc(var(--h) * 100%);
    border-radius: 2px;
    background: linear-gradient(to top, rgba(163,149,236,.5), rgba(253,160,133,.8));
    animation: wave 1.4s ease-in-out infinite alternate;
    animation-delay: calc(var(--d) * -1s);
}
@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.playhead {
    position: absolute;
    top: 8px; bottom: 8px;
    left: 16px;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 12px rgba(255,255,255,.8);
    z-index: 2;
}
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: #fff; }

.layer {
    position: absolute;
    z-index: 3;
    will-change: transform;
    transition: transform .9s var(--ease-out);
    pointer-events: none;
}
.layer-pr, .layer-ae {
    width: 74px; height: 74px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(20, 17, 30, .6);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.layer-pr img, .layer-ae img { width: 100%; height: 100%; border-radius: 12px; }
.layer-pr { top: -36px; right: -38px; rotate: 8deg; }
.layer-ae { bottom: 70px; left: -96px; rotate: -10deg; }
.layer-caption {
    top: 22%;
    left: -150px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(20, 17, 30, .72);
    border: 1px solid rgba(253, 160, 133, .35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(253, 160, 133, .35);
    font-size: .9rem;
}
.layer-caption .tc-mini { font-family: ui-monospace, monospace; font-size: .72rem; color: var(--muted); direction: ltr; }
.layer-caption i { color: #4ade80; }
.layer-wave {
    top: 42%;
    right: -112px;
    display: flex;
    align-items: center;
    gap: 3px;
    height: 54px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(20, 17, 30, .7);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
}
.layer-wave i { width: 4px; height: 60%; border-radius: 2px; background: var(--grad); animation: wave 1.1s ease-in-out infinite alternate; }
.layer-wave i:nth-child(odd) { animation-delay: -.4s; height: 85%; }
.layer-wave i:nth-child(3n) { animation-delay: -.8s; height: 45%; }

/* ---------- רצועת מילים ---------- */
.ticker {
    border-block: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker-track {
    display: flex;
    gap: 48px;
    width: max-content;
    animation: marquee 40s linear infinite;
    font-size: clamp(1.1rem, 2.4vw, 1.6rem);
    font-weight: 800;
    color: rgba(255, 255, 255, .28);
    white-space: nowrap;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 48px; }
.ticker-track span::after { content: "✦"; color: var(--peach); font-size: .7em; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- זרקור על וורדמארק ענק ---------- */
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot-word {
    display: block;
    direction: ltr;
    text-align: center;
    font-weight: 900;
    font-size: 19.6vw;
    line-height: .8;
    letter-spacing: -0.065em;
    padding: .06em 0 .04em;
    white-space: nowrap;
    user-select: none;
}
.spot-word.base { color: #1e1929; }
.spot-beam, .spot-lit {
    position: absolute;
    inset: 0;
    clip-path: polygon(var(--t1, 40%) 0, var(--t2, 58%) 0, var(--b2, 30%) 100%, var(--b1, 12%) 100%);
    pointer-events: none;
}
.spot-beam {
    z-index: 1;
    background: linear-gradient(180deg, rgba(163, 149, 236, .1), rgba(163, 149, 236, .3) 45%, rgba(253, 160, 133, .38));
}
.spot-lit { z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; }
.spot-lit .spot-word {
    color: transparent;
    background: linear-gradient(100deg, #a395ec, #ff8fae 50%, #fda085);
    -webkit-background-clip: text;
    background-clip: text;
}
.wordmark-section { padding-top: 100px; }
.wordmark-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 14px;
}
.wordmark-meta strong { color: var(--text); }

/* ---------- הצהרה שמתמלאת בגלילה ---------- */
.statement { padding: clamp(110px, 15vw, 200px) 20px; text-align: center; }
.statement p {
    max-width: 1200px;
    margin: 0 auto;
    font-size: clamp(2.1rem, 6vw, 5.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}
.statement .w { color: rgba(255, 255, 255, .1); transition: color .4s; }
.statement .w.on { color: var(--text); }
.statement .w.hl.on {
    color: transparent;
    background: linear-gradient(100deg, #a395ec, #ff8fae 50%, #fda085, #a395ec);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: fluid 6s ease-in-out infinite alternate;
}
@keyframes fluid { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---------- סקשנים ---------- */
.section { padding: 130px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(253, 160, 133, .3);
    background: rgba(253, 160, 133, .07);
    font-size: .82rem;
    font-weight: 700;
    color: var(--peach);
    margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); letter-spacing: -0.03em; }
.section-head p { color: var(--muted); font-size: clamp(1rem, 2vw, 1.15rem); margin: 18px auto 0; max-width: 620px; }

/* ---------- וידאו שגדל בגלילה ---------- */
.showcase-frame {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(163,149,236,.6), rgba(255,255,255,.06) 50%, rgba(253,160,133,.6));
    box-shadow: 0 50px 140px -60px rgba(92, 76, 159, 1);
}
@supports (animation-timeline: view()) {
    .showcase-frame {
        animation: grow linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 40%;
    }
    @keyframes grow { from { transform: scale(.82); opacity: .3; } to { transform: none; opacity: 1; } }
}
.showcase-frame .inner { border-radius: 27px; overflow: hidden; background: #000; }
.video-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- רצף תמונות מונע גלילה ---------- */
.scrolly { position: relative; height: 420vh; }
.scrolly-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    overflow: hidden;
}
.scrolly-glow {
    position: absolute;
    inset: 10% -10%;
    z-index: -1;
    background:
        radial-gradient(ellipse 40% 50% at 30% 50%, rgba(92, 76, 159, .45), transparent 70%),
        radial-gradient(ellipse 35% 40% at 75% 60%, rgba(253, 160, 133, .22), transparent 70%);
    filter: blur(30px);
    will-change: transform;
}
.scrolly-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr);
    gap: 56px;
    align-items: center;
}
.stages { position: relative; min-height: 240px; margin-top: 8px; }
.stage {
    position: absolute;
    inset: 0 0 auto 0;
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out);
}
.stage.active { opacity: 1; transform: none; filter: none; }
.stage-num { display: block; font-family: ui-monospace, monospace; font-size: .85rem; color: var(--peach); margin-bottom: 10px; }
.stage h3 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -0.03em; margin-bottom: 14px; }
.stage p { color: var(--muted); font-size: 1.1rem; max-width: 420px; }
.stage-dots { display: flex; gap: 8px; margin-top: 26px; }
.stage-dots i { width: 28px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background-color .4s, width .4s var(--ease-out); }
.stage-dots i.on { width: 52px; background: var(--grad); }
.scrolly-device { position: relative; }
.device-frame {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(160deg, #2a2440, #0f0c17 45%, #2b1f2a);
    border: 1px solid var(--border-strong);
    box-shadow: 0 60px 120px -50px rgba(92, 76, 159, .95), 0 30px 80px -40px rgba(253, 160, 133, .5), inset 0 1px 0 rgba(255, 255, 255, .12);
}
#seq-canvas { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; background: #111; }
.device-hud {
    position: absolute;
    top: 22px; left: 22px;
    display: flex;
    gap: 10px;
    direction: ltr;
    font-family: ui-monospace, monospace;
    font-size: .75rem;
    pointer-events: none;
}
.device-hud span { padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .65); }
.device-hud .rec { color: #ff6b6b; font-weight: 700; }
.device-ruler {
    position: absolute;
    inset: auto 20px 18px 20px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .15);
    overflow: hidden;
    direction: ltr;
}
.device-ruler span { display: block; height: 100%; width: 0; background: var(--grad); }
.float-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(20, 17, 30, .75);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9);
    font-weight: 700;
    font-size: .88rem;
    will-change: transform;
    direction: ltr;
}
.float-chip i { color: var(--peach); }
.float-chip img { width: 22px; height: 22px; border-radius: 6px; }
.chip-a { top: -24px; right: 8%; }
.chip-b { bottom: -22px; left: 6%; }

/* ---------- מודולים: כרטיסים נערמים ---------- */
.stack { display: grid; gap: 30px; }
.panel {
    position: sticky;
    top: calc(100px + var(--i) * 24px);
    min-height: min(74vh, 660px);
    border-radius: 30px;
    padding: clamp(26px, 3.4vw, 50px);
    display: grid;
    grid-template-columns: 1fr minmax(0, 1.1fr);
    grid-template-rows: auto 1fr auto;
    gap: 20px 44px;
    border: 1px solid var(--border-strong);
    overflow: hidden;
    transform-origin: 50% 0;
    will-change: transform;
    isolation: isolate;
    background: #120f1b;
}
.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(ellipse 70% 60% at 85% 0%, var(--glow), transparent 70%);
}
.panel:nth-child(1) { --glow: rgba(92, 76, 159, .55); }
.panel:nth-child(2) { --glow: rgba(253, 160, 133, .35); }
.panel:nth-child(3) { --glow: rgba(255, 94, 138, .35); background: linear-gradient(140deg, #2a2050, #1a1328 55%, #2b1a24); }
.panel-head { grid-column: 1; grid-row: 1; }
.panel .icon {
    width: 56px; height: 56px;
    display: grid; place-items: center;
    border-radius: 16px;
    background: var(--grad);
    font-size: 1.3rem;
    margin-bottom: 18px;
    box-shadow: 0 12px 30px -12px rgba(253, 160, 133, .7);
}
.panel h3 { font-size: clamp(2.4rem, 5.2vw, 5rem); letter-spacing: -0.045em; line-height: 1; }
.panel .desc { grid-column: 1; grid-row: 2; align-self: end; max-width: 460px; color: var(--muted); font-size: 1.08rem; }
.panel .num {
    grid-column: 1; grid-row: 3;
    font-size: clamp(3.4rem, 7vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: .85;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .35);
}
.panel .visual {
    grid-column: 2;
    grid-row: 1 / -1;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 30px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid var(--border);
}
.panel .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.karaoke { display: grid; gap: 22px; width: 100%; max-width: 460px; }
.karaoke .screen {
    border-radius: 16px;
    padding: 70px 20px 26px;
    text-align: center;
    background:
        radial-gradient(ellipse at 25% 20%, rgba(92, 76, 159, .7), transparent 60%),
        radial-gradient(ellipse at 85% 90%, rgba(253, 160, 133, .4), transparent 55%),
        linear-gradient(160deg, #1a1530, #0b0912);
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-weight: 800;
}
.karaoke .screen span { display: inline-block; padding: 0 .14em; border-radius: 8px; animation: karaoke 4s steps(1) infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes karaoke { 0% { background: var(--grad); } 25%, 100% { background: transparent; } }
.karaoke .chips { justify-content: center; gap: 8px; }
.karaoke .chips span {
    font-size: .95rem;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    color: var(--text);
    animation: chip 4s steps(1) infinite;
    animation-delay: calc(var(--i) * 1s);
}
@keyframes chip { 0% { border-color: rgba(253, 160, 133, .8); background: rgba(253, 160, 133, .15); } 25%, 100% { border-color: var(--border-strong); background: transparent; } }

.cuts { display: flex; align-items: center; gap: 4px; width: 100%; height: 160px; direction: ltr; position: relative; }
.cuts i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px; background: linear-gradient(to top, var(--purple-soft), var(--peach)); }
.cuts i.silent { background: rgba(255, 255, 255, .14); animation: cut-out 3.2s var(--ease-out) infinite; }
@keyframes cut-out { 0%, 35% { opacity: 1; transform: none; } 55%, 85% { opacity: 0; transform: scaleY(0); } 100% { opacity: 1; } }
.cuts .mark { position: absolute; top: -14px; bottom: -14px; width: 2px; background: repeating-linear-gradient(to bottom, var(--peach) 0 6px, transparent 6px 11px); }

/* ---------- רשימת פיצ'רים שנדלקת בגלילה ---------- */
.features-list-section {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .9fr);
    gap: 40px;
    padding: clamp(110px, 12vw, 170px) 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.features-label { position: sticky; top: 42vh; align-self: start; }
.features-label h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.features-label p { color: var(--muted); margin-top: 10px; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li {
    font-size: clamp(1.9rem, 4.4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.12;
    color: rgba(255, 255, 255, .16);
    transition: color .35s, transform .5s var(--ease-out);
    transform-origin: right center;
}
.feature-list li.on {
    color: transparent;
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    transform: translateX(-10px);
}
.feature-detail {
    position: sticky;
    top: 38vh;
    align-self: start;
    display: grid;
    gap: 16px;
    justify-items: start;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--border-strong);
    background: rgba(20, 17, 30, .6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.feature-detail .icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: var(--grad);
    font-size: 1.5rem;
    box-shadow: 0 12px 30px -12px rgba(253, 160, 133, .7);
}
.feature-detail p { font-size: 1.05rem; min-height: 5em; }
.feature-detail .icon, .feature-detail p { transition: opacity .3s, transform .5s var(--ease-out); }
.feature-detail.swap .icon, .feature-detail.swap p { opacity: 0; transform: translateY(10px); }

/* ---------- עדויות ---------- */
.marquee {
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-skew { will-change: transform; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
    width: 250px;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
    transition: transform .5s var(--ease-out);
}
.marquee-track img:hover { transform: translateY(-8px) rotate(-1.5deg) scale(1.03); }

/* ---------- התקנה ---------- */
.install-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.install-copy h2 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.03em; margin-bottom: 36px; }
.steps { list-style: none; margin: 0 0 34px; padding: 0; position: relative; }
.steps::before, .steps::after {
    content: "";
    position: absolute;
    right: 21px; top: 22px;
    width: 2px;
    height: calc(100% - 44px);
}
.steps::before { background: var(--border-strong); }
.steps::after { background: var(--grad); transform-origin: top; transform: scaleY(0); }
@supports (animation-timeline: view()) {
    .steps::after {
        animation: line-grow linear both;
        animation-timeline: view();
        animation-range: entry 40% cover 55%;
    }
    @keyframes line-grow { to { transform: scaleY(1); } }
}
@supports not (animation-timeline: view()) { .steps::after { transform: scaleY(1); } }
.steps li { position: relative; padding: 0 64px 30px 0; color: var(--muted); }
.steps li:last-child { padding-bottom: 0; }
.steps li strong { display: block; color: var(--text); font-size: 1.12rem; margin-bottom: 2px; }
.steps .num {
    position: absolute;
    right: 0; top: 0;
    z-index: 1;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--surface-solid);
    border: 2px solid rgba(253, 160, 133, .6);
    font-weight: 800;
}
.download-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.install-media .inner {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    background: #000;
    box-shadow: 0 40px 100px -50px rgba(92, 76, 159, 1);
}

/* ---------- מחירון ---------- */
.pricing-toggle { display: flex; justify-content: center; margin-bottom: 50px; }
.toggle-group {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface-solid);
}
.toggle-group .indicator {
    position: absolute;
    top: 5px; bottom: 5px;
    right: 5px;
    width: calc(50% - 5px);
    border-radius: 999px;
    background: var(--grad);
    box-shadow: 0 8px 24px -8px rgba(253, 160, 133, .7);
    transition: transform .5s var(--ease-out);
}
.toggle-group[data-active="1"] .indicator { transform: translateX(-100%); }
.toggle-group button {
    position: relative;
    z-index: 1;
    font: inherit;
    font-weight: 700;
    font-size: .95rem;
    padding: 11px 24px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: color .3s;
    white-space: nowrap;
}
.toggle-group button[aria-pressed="true"] { color: #fff; }
.toggle-group button:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; }
.gift-note { text-align: center; color: var(--peach); font-size: .9rem; font-weight: 700; margin: -34px 0 40px; min-height: 1.4em; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 26px; justify-content: center; }
.plan {
    position: relative;
    padding: 40px 34px 34px;
    border-radius: 28px;
    background: var(--surface-solid);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    isolation: isolate;
}
.plan.featured { border-color: transparent; }
.plan.featured::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: -2;
    border-radius: 29px;
    background: conic-gradient(from var(--angle), #5c4c9f, #fda085, #ff5e8a, #a395ec, #5c4c9f);
    animation: spin 5s linear infinite;
}
.plan.featured::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 28px;
    background: radial-gradient(ellipse at 50% 0%, rgba(253, 160, 133, .14), transparent 60%), var(--surface-solid);
}
@keyframes spin { to { --angle: 360deg; } }
.plan-glow { position: absolute; inset: 20px; z-index: -3; border-radius: 28px; background: var(--grad); filter: blur(50px); opacity: .35; }
.plan-tag {
    position: absolute;
    top: -14px; right: 30px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--grad);
    font-size: .8rem;
    font-weight: 800;
    box-shadow: 0 8px 20px -8px rgba(253, 160, 133, .8);
}
.plan h3 { font-size: 1rem; color: var(--muted); font-weight: 700; letter-spacing: .06em; }
.plan .price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: clamp(3rem, 7vw, 4rem);
    font-weight: 900;
    margin: 12px 0 4px;
    line-height: 1;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}
.plan .price .cur { font-size: .5em; font-weight: 700; color: var(--muted); }
.plan .period { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li i {
    flex: none;
    width: 22px; height: 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(253, 160, 133, .14);
    color: var(--peach);
    font-size: .7rem;
    margin-top: 3px;
}
.plan .btn { margin-top: auto; width: 100%; }
.plan [data-swap] { transition: opacity .25s; }
.plans.swapping [data-swap] { opacity: 0; }
.pricing-note { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 32px; }

/* ---------- שאלות נפוצות ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 50px; }
.faq-layout .section-head { text-align: start; margin: 0; position: sticky; top: 120px; align-self: start; }
.faq { display: grid; gap: 12px; }
.faq details {
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--surface-solid);
    transition: border-color .3s, background-color .3s;
}
.faq details[open] { border-color: rgba(163, 149, 236, .45); background: #161222; }
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 26px;
    font-weight: 700;
    font-size: 1.06rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 30px; height: 30px;
    border-radius: 50%;
    background:
        linear-gradient(var(--peach), var(--peach)) center / 12px 2px no-repeat,
        linear-gradient(var(--peach), var(--peach)) center / 2px 12px no-repeat,
        rgba(255, 255, 255, .06);
    transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq summary:focus-visible { outline: 3px solid var(--peach); outline-offset: -3px; border-radius: 18px; }
.faq details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .45s var(--ease-out), content-visibility .45s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 26px 24px; color: var(--muted); }

/* ---------- CTA סופי ---------- */
.final-cta {
    position: relative;
    text-align: center;
    padding: 100px 32px;
    border-radius: 36px;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid var(--border-strong);
    background: #0c0a14;
}
.final-cta::before {
    content: "";
    position: absolute;
    inset: -50%;
    z-index: -1;
    background: conic-gradient(from var(--angle), transparent 0deg, rgba(92,76,159,.7) 60deg, rgba(253,160,133,.6) 120deg, transparent 180deg, rgba(255,94,138,.4) 260deg, transparent 320deg);
    filter: blur(60px);
    animation: spin 12s linear infinite;
}
.final-cta h2 { font-size: clamp(2.2rem, 6vw, 4.2rem); letter-spacing: -0.035em; max-width: 820px; margin: 0 auto; }
.final-cta p { color: rgba(255, 255, 255, .8); font-size: 1.15rem; margin: 18px auto 34px; max-width: 600px; }
.final-cta .hero-ctas { opacity: 1; animation: none; }

/* ---------- פוטר ---------- */
.site-footer { padding: 90px 0 0; position: relative; overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top img.logo { height: 38px; width: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .93rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    text-decoration: none;
    transition: background-color .2s, transform .3s var(--ease-out);
}
.socials a:hover { background: rgba(255, 255, 255, .08); transform: translateY(-3px); }
.site-footer .spot { margin-top: 50px; }
.copyright { color: var(--muted); font-size: .85rem; padding: 18px 0 30px; text-align: center; }

/* ---------- אנימציית כניסה ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- רספונסיבי ---------- */
@media (max-width: 1024px) {
    .install-grid, .faq-layout { grid-template-columns: 1fr; }
    .install-media { order: -1; }
    .faq-layout .section-head { position: static; text-align: center; }
    .editor-body { grid-template-columns: 1fr; }
    .side-panel { display: none; }
    .scrolly-layout { grid-template-columns: 1fr; gap: 28px; }
    .scrolly-copy { text-align: center; }
    .stages { min-height: 190px; }
    .stage p { margin: 0 auto; }
    .stage-dots { justify-content: center; }
    .layer-caption { left: -20px; top: auto; bottom: 28%; }
    .layer-wave { display: none; }
    .layer-ae { left: -20px; bottom: -20px; }
    .features-list-section { grid-template-columns: 1fr; gap: 24px; }
    .features-label { position: static; text-align: center; }
    .feature-detail { display: none; }
    .feature-list { text-align: center; }
    .feature-list li { transform-origin: center; }
    .feature-list li.on { transform: scale(1.04); }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .header-pill { padding: 6px; padding-inline-start: 16px; gap: 10px; }
    .header-actions { margin-inline-start: auto; }
    .header-actions .btn-ghost { display: none; }
    .site-header { z-index: 70; }
    /* backdrop-filter יוצר containing block שכולא את התפריט המלא בתוך הכותרת */
    .site-header.menu-open .header-pill { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-color: transparent; box-shadow: none; animation: none; }
    .main-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        flex-direction: column;
        justify-content: flex-start;
        gap: 2px;
        overflow-y: auto;
        padding: 100px 28px 40px;
        margin: 0;
        background:
            radial-gradient(ellipse 80% 50% at 80% 0%, rgba(92, 76, 159, .5), transparent 70%),
            radial-gradient(ellipse 70% 40% at 10% 100%, rgba(253, 160, 133, .3), transparent 70%),
            #08070d;
        clip-path: inset(0 0 100% 0);
        visibility: hidden;
        transition: clip-path .7s var(--ease-out), visibility .7s;
    }
    .main-nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
    .main-nav a {
        font-size: clamp(1.6rem, min(8vw, 5vh), 2.4rem);
        font-weight: 800;
        color: var(--text);
        padding: 12px 8px;
        border-radius: 14px;
        border-bottom: 1px solid var(--border);
        opacity: 0;
        transform: translateY(24px);
        transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
    }
    .main-nav.open a { opacity: 1; transform: none; }
    .main-nav.open a:nth-child(2) { transition-delay: .05s; }
    .main-nav.open a:nth-child(3) { transition-delay: .1s; }
    .main-nav.open a:nth-child(4) { transition-delay: .15s; }
    .main-nav.open a:nth-child(5) { transition-delay: .2s; }
    .main-nav.open a:nth-child(6) { transition-delay: .25s; }
    .main-nav.open a:nth-child(7) { transition-delay: .3s; }
    .main-nav .mobile-only { display: flex; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .site-header { top: 10px; padding: 0 10px; }
    .brand img { height: 26px; }
    .header-actions .btn-primary { min-height: 40px; padding: 0 16px; font-size: .88rem; }
    .section { padding: 90px 0; }
    .hero { padding: 118px 0 50px; min-height: auto; }
    .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
    .hero-ruler { gap: 10px; margin-bottom: 22px; }
    .ruler-apps { gap: 8px; font-size: .7rem; letter-spacing: 0; }
    .ruler-app { gap: 6px; }
    .ruler-app img { width: 18px; height: 18px; border-radius: 5px; }
    .hero-ctas .btn { width: 100%; }
    .editor-stage { margin-top: 48px; }
    .editor-body { min-height: 230px; }
    .preview { padding: 20px 12px 24px; }
    .preview .silhouette { width: 140px; height: 160px; }
    .timeline { padding: 10px; }
    .tl-row { height: 28px; }
    .editor-bar .title { display: none; }
    .layer-pr { width: 54px; height: 54px; padding: 7px; border-radius: 16px; top: -26px; right: -6px; }
    .layer-ae, .layer-wave { display: none; }
    .layer-caption { bottom: 34%; left: -6px; padding: 8px 12px; font-size: .75rem; }
    .wordmark-section { padding-top: 60px; }
    .wordmark-meta { font-size: .78rem; }
    .scrolly { height: 340vh; }
    .stages { min-height: 172px; }
    .stage h3 { font-size: 1.9rem; margin-bottom: 8px; }
    .stage p { font-size: 1rem; }
    .scrolly-copy .section-kicker { margin-bottom: 10px; font-size: .75rem; }
    .device-frame { padding: 6px; border-radius: 14px; }
    #seq-canvas { border-radius: 9px; }
    .device-hud { top: 12px; left: 12px; font-size: .65rem; }
    .device-ruler { inset: auto 12px 10px 12px; height: 3px; }
    .float-chip { font-size: .75rem; padding: 7px 11px; }
    .chip-a { top: -18px; }
    .chip-b { bottom: -18px; }
    .panel { grid-template-columns: 1fr; grid-template-rows: none; min-height: 0; top: calc(76px + var(--i) * 14px); border-radius: 24px; }
    .panel-head, .panel .desc, .panel .num, .panel .visual { grid-column: 1; grid-row: auto; }
    .panel .visual { min-height: 220px; order: 3; padding: 20px; }
    .panel .num { order: 4; font-size: 3rem; }
    .cuts { height: 110px; }
    .marquee-track img { width: 200px; }
    .plans { grid-template-columns: 1fr; }
    .toggle-group button { padding: 10px 16px; font-size: .9rem; }
    .gift-note { margin-top: -38px; }
    .faq summary { padding: 18px 20px; font-size: 1rem; }
    .faq details p { padding: 0 20px 20px; }
    .final-cta { padding: 70px 20px; border-radius: 28px; }
    .footer-top { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
    .showcase-frame, .showcase-frame .inner { border-radius: 20px; }
    .scroll-tc { display: none; }
}

/* ---------- תנועה מופחתת ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .hero-ruler::after { display: none; }
    .reveal, .hero-ruler, .hero h1 .word, .hero .lead, .hero-ctas, .hero-note, .editor-stage { opacity: 1 !important; transform: none !important; filter: none !important; }
    .editor { transform: none !important; }
    .editor::after { opacity: 0; }
    .scrolly { height: auto; }
    .scrolly-sticky { position: relative; height: auto; padding: 100px 0; }
    .stages { min-height: 0; display: grid; gap: 28px; }
    .stage { position: relative; opacity: 1; transform: none; filter: none; }
    .stage-dots { display: none; }
    .panel { position: relative; top: auto; }
    .statement .w { color: var(--text); }
}
html.acc-no-motion .reveal,
html.acc-no-motion .hero h1 .word,
html.acc-no-motion .hero .lead,
html.acc-no-motion .hero-ctas,
html.acc-no-motion .hero-note,
html.acc-no-motion .hero-ruler,
html.acc-no-motion .editor-stage { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
html.acc-no-motion .editor { transform: none !important; }
html.acc-no-motion .editor::after { opacity: 0 !important; }
html.acc-no-motion .scrolly { height: auto; }
html.acc-no-motion .scrolly-sticky { position: relative; height: auto; padding: 100px 0; }
html.acc-no-motion .stages { min-height: 0; display: grid; gap: 28px; }
html.acc-no-motion .stage { position: relative; opacity: 1; transform: none; filter: none; }
html.acc-no-motion .stage-dots { display: none; }
html.acc-no-motion .panel { position: relative; top: auto; transform: none !important; filter: none !important; }
html.acc-no-motion .layer { transform: none !important; }
html.acc-no-motion .statement .w { color: var(--text); }
html.acc-no-motion .marquee-track,
html.acc-no-motion .ticker-track,
html.acc-no-motion .waveform i,
html.acc-no-motion .plan.featured::before,
html.acc-no-motion .final-cta::before,
html.acc-no-motion .statement .w.hl.on,
html.acc-no-motion .karaoke span,
html.acc-no-motion .cuts i { animation: none !important; }
