/* האתר השיווקי ודפי המידע. אותה פלטה כמו האפליקציה */
@import url('/app/css/tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0; }
a { color: var(--blue-ink); }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.brand svg { width: 34px; height: 34px; }
.nav nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
@media (max-width: 760px) { .nav nav { display: none; } .nav .cta { margin-inline-start: auto; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform 160ms var(--ease-out), filter 180ms ease; white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--pink); color: var(--on-accent); box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--pink) 90%, transparent); }
.btn.dark { background: var(--ink); color: var(--bg); }
.btn.ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn.lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
@media (hover: hover) and (pointer: fine) { .btn:hover { filter: brightness(0.96); } }

/* גיבור */
.hero { position: relative; padding: 72px 0 48px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% -30% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; background: radial-gradient(closest-side, color-mix(in srgb, var(--pink) 45%, transparent), transparent); z-index: -1; }
.hero::after { content: ''; position: absolute; inset: auto auto -30% -25%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, color-mix(in srgb, var(--blue) 35%, transparent), transparent); z-index: -1; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; } .hero { padding: 96px 0 72px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); margin: 18px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--pink-ink), var(--blue-ink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 560px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

.mock { position: relative; justify-self: center; width: min(380px, 100%); }
.mock .phone { border-radius: 40px; border: 10px solid var(--ink); background: #fff; color: #111; overflow: hidden; box-shadow: var(--shadow-3); }
.mock .bar { display: flex; align-items: center; gap: 10px; padding: 14px; border-bottom: 1px solid #eee; font-weight: 600; font-size: 14px; }
.mock .av { width: 32px; height: 32px; border-radius: 50%; background: #f1dee2; color: #8e4d5c; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.mock .body { padding: 16px 14px 22px; display: grid; gap: 9px; min-height: 380px; align-content: start; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 20px; font-size: 14.5px; line-height: 1.4; unicode-bidi: plaintext; }
.bub.cmt { justify-self: start; border: 1px solid #e5e5e5; font-size: 13.5px; }
.bub.cmt small { display: block; color: #8e8e8e; font-size: 11px; }
.bub.me { justify-self: end; background: #8a78a8; color: #fff; border-end-end-radius: 6px; }
.sys { justify-self: center; font-size: 11.5px; color: #8e8e8e; }
.btns { justify-self: end; width: 64%; display: grid; gap: 5px; }
.btns span { display: block; text-align: center; padding: 9px; border-radius: 14px; border: 1px solid #ddd; font-size: 13.5px; font-weight: 600; color: #3a5a8c; }
.mock .float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; box-shadow: var(--shadow-2); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mock .f1 { inset-block-start: 18%; inset-inline-start: -14%; }
.mock .f2 { inset-block-end: 12%; inset-inline-end: -12%; }
@media (max-width: 520px) { .mock .f1 { inset-inline-start: -2%; } .mock .f2 { inset-inline-end: -2%; } }
.bub, .sys, .btns { animation: rise 420ms var(--ease-out) both; }
.body > :nth-child(2) { animation-delay: 300ms; } .body > :nth-child(3) { animation-delay: 700ms; } .body > :nth-child(4) { animation-delay: 1000ms; } .body > :nth-child(5) { animation-delay: 1300ms; } .body > :nth-child(6) { animation-delay: 1600ms; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

section.block { padding: 72px 0; }
section.block.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 12px; }
.sec-head p { color: var(--ink-2); font-size: 18px; }

.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.alt .step { background: var(--bg); }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); margin-bottom: 16px; }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--ink-2); }

.feat { display: grid; gap: 16px; }
@media (min-width: 760px) { .feat { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .feat { grid-template-columns: repeat(3, 1fr); } }
.feat article { padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.feat .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { color: var(--ink-2); font-size: 16px; }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; font-size: 16px; }
.compare th, .compare td { padding: 14px 16px; text-align: start; border-bottom: 1px solid var(--line); }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-family: var(--font-display); font-size: 16px; background: var(--surface-2); }
.compare td.us { background: color-mix(in srgb, var(--pink) 14%, transparent); font-weight: 600; }
.compare-wrap { overflow-x: auto; border-radius: 22px; }

.prices { display: grid; gap: 16px; }
@media (min-width: 720px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .prices { grid-template-columns: repeat(4, 1fr); } }
.price-card { position: relative; padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; align-content: start; }
.price-card.pop { border: 2px solid var(--pink); box-shadow: var(--shadow-2); }
.price-card .tag { position: absolute; top: -13px; inset-inline-start: 20px; background: var(--pink); color: var(--on-accent); font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.price-card .p { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; }
.price-card .p small { font-size: 16px; font-weight: 500; color: var(--ink-2); }
.price-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15.5px; }
.price-card li::before { content: '✓'; color: var(--sage-ink); font-weight: 700; margin-inline-end: 8px; }

.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: '+'; color: var(--ink-3); font-size: 22px; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--ink-2); margin-top: 10px; }

.final { text-align: center; padding: 80px 0; }
.final h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }

footer { padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--ink-2); text-decoration: none; }

/* דפי מסמך (פרטיות, תנאים) */
.doc { padding: 48px 0 72px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-3); margin-bottom: 32px; }
.doc h2 { font-size: 22px; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.doc .box { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); margin: 18px 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
