/* NDV One - דף הנחיתה של ndvpay.com. בלי שום דבר מבחוץ: הגופן מהאתר, בלי תמונות כבדות.
   הפלטה הסופית (בחירה של נתנאל, 16.11): 6, אדום עגבנייה ונייבי.
   כל הצבעים כמשתנים. אזור עם class="alt" מקבל את הצבעים ההפוכים של הפלטה */

@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- פלטה 6: אדום עגבנייה ונייבי ---------- */
:root {
  --bg: #fff4ee;
  --ink: #10213f;
  --muted: #3d4a63;
  --surface: #ffffff;
  --line: #f2d6c8;
  --soft: #ffe6dc;
  --acc: #ff4d3d;          /* כפתור ראשי. הטקסט עליו נייבי: 4.9:1 */
  --acc-ink: #10213f;
  --hl: #ff4d3d;           /* הדגשה גדולה בלבד (כותרת), לא טקסט קטן */
  --focus: #10213f;
  --err: #b3261e;
  --mk-frame: #10213f;
  --mk-n: #10213f;
  --mk-one: #ff4d3d;

  --alt-bg: #10213f;
  --alt-ink: #ffffff;
  --alt-muted: #c8d0e2;
  --alt-surface: #1a2d52;
  --alt-line: #2c4272;
  --alt-field-line: #7489b3; /* מסגרת של שדות הטופס באזור הכהה: 4.55:1 מול הרקע, 3.87:1 מול המילוי (רכיבי ממשק צריכים לפחות 3:1) */
  --alt-soft: #22365f;
  --alt-acc: #ff4d3d;
  --alt-acc-ink: #10213f;
  --alt-hl: #ff4d3d;
  --alt-focus: #ffffff;
  --alt-err: #ffb4ab;
  --alt-mk-frame: #ffffff;
  --alt-mk-n: #ffffff;
  --alt-mk-one: #ff4d3d;

  --demo-bg: #ff4d3d;
  --demo-ink: #10213f;
  --demo-btn: #10213f;
  --demo-btn-ink: #ffffff;

  --wa: #167a3e;           /* ניגודיות 5.4:1 מול לבן */
  --wa-ink: #ffffff;
  --gutter: 16px;
  --radius: 18px;
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

/* אזור הפוך: אותם רכיבים, הצבעים ההפוכים של הפלטה. הוא כהה, ולכן תיבת הסימון והרשימה של הדפדפן בגרסה הכהה */
.alt {
  color-scheme: dark;
  --bg: var(--alt-bg);
  --ink: var(--alt-ink);
  --muted: var(--alt-muted);
  --surface: var(--alt-surface);
  --line: var(--alt-line);
  --field-line: var(--alt-field-line); /* רק לשדות, הבחירות והרשימה. הכרטיסים והקווים נשארים עם --line */
  --soft: var(--alt-soft);
  --acc: var(--alt-acc);
  --acc-ink: var(--alt-acc-ink);
  --hl: var(--alt-hl);
  --focus: var(--alt-focus);
  --err: var(--alt-err);
  --mk-frame: var(--alt-mk-frame);
  --mk-n: var(--alt-mk-n);
  --mk-one: var(--alt-mk-one);
}

/* ---------- בסיס ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.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;
}
.nowrap { white-space: nowrap; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 680px; }
.ico { width: 1.35em; height: 1.35em; flex: none; }
.skip {
  position: absolute; inset-inline-start: var(--gutter); top: -100px; z-index: 30;
  background: var(--ink); color: var(--bg); font-weight: 700; padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: .75rem; }

/* ---------- הלוגו (מסגרת טאבלט ובתוכה N1) ---------- */
.mark { width: 30px; height: auto; flex: none; display: block; }
.mark__frame { fill: none; stroke: var(--mk-frame); stroke-width: 10; }
.mark__btn { fill: var(--mk-frame); }
.mark__n { fill: var(--mk-n); }
.mark__one { fill: var(--mk-one); }
.brand { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; text-decoration: none; color: var(--ink); direction: ltr; }
.brand__word { font-weight: 900; font-size: 1.35rem; line-height: .9; letter-spacing: .01em; }
.brand__word span { display: block; font-weight: 700; font-size: 1.05rem; color: var(--mk-one); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 56px; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1.125rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--acc); color: var(--acc-ink); box-shadow: 0 6px 18px rgb(0 0 0 / 14%); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--soft); }
.btn--small { min-height: 44px; padding: .45rem 1rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--demo { background: var(--demo-btn); color: var(--demo-btn-ink); font-size: 1.25rem; min-height: 62px; padding-inline: 1.75rem; }
.ico--arrow { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }

/* ---------- השורה העליונה ---------- */
.top { padding: .5rem 0; }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }

/* ---------- הפתיח ---------- */
.hero { padding: .75rem 0 3rem; overflow: hidden; }
.hero__in { display: grid; gap: 2.25rem; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .95rem; color: var(--ink);
  background: var(--soft); border-radius: 999px; padding: .3rem .85rem; margin-bottom: 1rem;
}
.hero__title { font-size: clamp(2.6rem, 13vw, 4.4rem); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; margin-bottom: 1rem; }
.hl { color: var(--hl); }
.hero__lead { font-size: clamp(1.125rem, 4.6vw, 1.35rem); color: var(--muted); max-width: 32em; margin-bottom: 1.5rem; text-wrap: pretty; }
.cta-row { display: flex; flex-direction: column; gap: .75rem; }
.hero__note { margin-top: .9rem; font-size: .95rem; color: var(--muted); }
.hero__note a { color: var(--ink); font-weight: 700; }

/* האיור: טאבלט עם כרטיסי הזמנות (HTML ו-CSS בלבד) */
.hero__art { position: relative; margin: 0; padding: 0 0 2.75rem; }
.device {
  background: #0d0f12; border-radius: 30px; padding: 14px; width: 100%; max-width: 440px; margin-inline: auto;
  box-shadow: 0 28px 60px rgb(16 33 63 / 28%); transform: rotate(-2deg);
}
.device__screen {
  background: #f7f7f5; color: #16181b; border-radius: 18px; padding: 14px;
  display: grid; gap: 10px;
}
.scr-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 1.05rem; }
.scr-top b { background: var(--acc); color: var(--acc-ink); border-radius: 99px; padding: 2px 12px; font-size: .85rem; }
.ord {
  background: #fff; border: 2px solid #e9e9e5; border-radius: 14px; padding: 10px 12px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.ord__n { font-weight: 900; font-size: 1.05rem; line-height: 1.25; }
.ord__d { font-size: .85rem; color: #55585d; line-height: 1.3; }
.ord__s { flex: none; font-weight: 800; font-size: .8rem; border-radius: 99px; padding: 4px 10px; background: #e6e6e2; color: #16181b; }
.ord--new { border-color: #ff4d3d; box-shadow: 0 0 0 4px rgb(255 77 61 / 22%); }
.ord__s--new { background: #c3271a; color: #fff; }
.ord__s--ready { background: #dff3e6; color: #0d6b3a; }
.pop {
  position: absolute; inset-inline-end: 0; bottom: .5rem; max-width: 290px;
  display: flex; align-items: center; gap: .75rem; background: #fff; color: #111; border-radius: 18px;
  padding: .7rem .9rem; box-shadow: 0 18px 40px rgb(0 0 0 / 22%);
  animation: pop-in .6s .4s both cubic-bezier(.2, .9, .3, 1.2);
}
.pop__ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: #10213f; --mk-frame: #ffffff; --mk-n: #ffffff; --mk-one: #ff4d3d;
}
.mark--pop { width: 22px; }
.pop__txt b { display: block; font-size: 1rem; font-weight: 900; line-height: 1.3; }
.pop__txt span { display: block; font-size: .85rem; color: #555; }
.art-cap { position: absolute; bottom: -.6rem; inset-inline-start: 0; font-size: .8rem; color: var(--muted); }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } }

/* ---------- אזורים ---------- */
.sec { padding: 3.25rem 0; background: var(--bg); color: var(--ink); }
.soft { background: var(--soft); }
.sec__title { font-size: clamp(1.9rem, 8vw, 2.75rem); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; margin-bottom: 1.5rem; text-wrap: balance; }
.sec__sub { color: var(--muted); font-size: 1.0625rem; margin-top: 1.25rem; }
.sec__title + .sec__sub { margin-top: -.75rem; margin-bottom: 1.5rem; }

/* הבעיה */
.pains { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.pain {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.15rem; display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; row-gap: .2rem; align-items: start;
}
.pain__ico { grid-row: span 2; width: 38px; height: 38px; fill: none; stroke: var(--hl); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.pain p { color: var(--muted); }
.pains__end { margin-top: 1.5rem; font-size: 1.25rem; font-weight: 800; line-height: 1.4; }

/* מה מקבלים */
.feats { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem;
  display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; row-gap: .2rem; align-items: start;
}
.feat__ico {
  grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--soft); color: var(--ink);
}
.feat__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.3; }
.feat p { color: var(--muted); }

/* איך זה עובד */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: none; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step__n {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-weight: 900; font-size: 1.5rem;
}
.step h3 { font-size: 1.25rem; font-weight: 800; line-height: 1.3; padding-top: .3rem; }
.step p { color: var(--muted); }

/* למי זה מתאים */
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li {
  font-weight: 700; font-size: 1.05rem; padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--surface); border: 2px solid var(--line);
}
.tags li:last-child { background: transparent; border-style: dashed; }

/* תראו בעצמכם */
.demo { background: var(--demo-bg); color: var(--demo-ink); padding: 3.25rem 0; --focus: var(--demo-ink); }
.demo__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.demo__title { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 900; line-height: 1.05; margin-bottom: .75rem; }
.demo__lead { font-size: 1.15rem; font-weight: 500; max-width: 26em; margin-bottom: 1.5rem; }
.demo .btn--demo { width: 100%; max-width: 420px; }
.demo__url { margin-top: .75rem; font-weight: 700; font-size: 1rem; }

/* שאלות נפוצות */
.faq { display: grid; gap: .65rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .75rem 1.1rem; font-weight: 800; font-size: 1.125rem;
}
.faq summary::-webkit-details-marker { display: none; }
/* חץ למטה כשסגור, למעלה כשפתוח (גבולות פיזיים, כדי שהכיוון לא יתהפך ב-RTL) */
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor;
  transform: rotate(45deg); margin-top: -6px; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { padding: 0 1.1rem 1.1rem; color: var(--muted); }
.faq details a { color: var(--ink); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ---------- הטופס ---------- */
.form-sec { scroll-margin-top: 0; }
.form { display: grid; gap: 1.15rem; }
.notice { background: var(--surface); border-radius: 12px; padding: .9rem 1rem; }
.field { display: grid; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend { font-weight: 700; font-size: 1.0625rem; padding: 0; }
.req { font-weight: 500; color: var(--muted); font-size: .95rem; }
.field input[type="text"], .field input[type="tel"], .select select {
  width: 100%; min-height: 54px; padding: .7rem .95rem; border-radius: 12px;
  border: 2px solid var(--field-line, var(--line)); background: var(--surface); color: var(--ink);
  font: inherit; font-size: 1.0625rem;
}
.field input[type="tel"] { text-align: right; }
.field input:focus-visible, .select select:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__hint { font-size: .9rem; color: var(--muted); }
.field__err { color: var(--err); font-weight: 700; font-size: .95rem; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-inline-end: 2.75rem; cursor: pointer; }
.select::after {
  content: ""; position: absolute; inset-inline-end: 1.1rem; top: 50%; width: 10px; height: 10px; pointer-events: none;
  border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: translateY(-70%) rotate(45deg);
}
.chips__row { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1.25rem; border-radius: 999px;
  border: 2px solid var(--field-line, var(--line)); background: var(--surface); font-weight: 700;
}
.chip input:checked + span { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.check { grid-template-columns: auto 1fr; column-gap: .75rem; align-items: start; }
.check input { width: 26px; height: 26px; margin: .15rem 0 0; accent-color: var(--acc); cursor: pointer; }
.check label { font-weight: 500; font-size: 1rem; }
.check label a { font-weight: 700; color: var(--ink); }
.check .field__err { grid-column: 1 / -1; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__errors { border: 2px solid var(--err); border-radius: 14px; padding: .9rem 1.1rem; background: var(--surface); }
.form__errors-title { font-weight: 800; margin-bottom: .35rem; }
.form__errors ul { margin: 0; padding-inline-start: 1.2rem; }
.form__errors a { color: var(--err); font-weight: 700; }
.thanks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.25rem; display: grid; gap: .75rem; justify-items: start; }
.thanks__title { font-size: 1.5rem; font-weight: 900; line-height: 1.25; }
.thanks__text { color: var(--muted); font-size: 1.0625rem; }
[hidden] { display: none !important; }

/* ---------- התחתית ---------- */
/* הריווח בתחתית בטלפון: מקום לפס הקבוע, בצבע של התחתית (ולא פס בהיר מתחתיה) */
.foot {
  background: var(--bg); color: var(--ink); text-align: center; font-size: .95rem;
  padding: 2.5rem 0 calc(2rem + 84px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
}
.foot__in { display: grid; justify-items: center; gap: .4rem; }
.foot p { color: var(--muted); }
.foot a { color: var(--ink); }
.foot__by { font-weight: 700; }
.foot__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.25rem; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.brand--foot { margin-bottom: .25rem; }

/* ---------- הפס הקבוע בתחתית הטלפון ---------- */
.dock {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 20;
  display: flex; gap: .6rem; align-items: center;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(0 0 0 / 10%);
  transition: transform .25s ease, visibility .25s;
}
.dock__main { flex: 1; min-height: 52px; }
.dock__wa {
  flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--wa-ink);
}
.dock__wa .ico { width: 28px; height: 28px; }
.dock.is-hidden { transform: translateY(110%); visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .dock { transition: none; } }

/* ---------- מסך רחב ---------- */
@media (min-width: 600px) {
  .cta-row { flex-direction: row; flex-wrap: wrap; }
  .cta-row .btn { flex: 0 1 auto; }
  .pains, .feats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
}
@media (min-width: 900px) {
  :root { --gutter: 32px; }
  .foot { padding-bottom: 2rem; }
  .dock { display: none; }
  .top { padding: 1rem 0; }
  .hero { padding: 2rem 0 4.5rem; }
  .hero__in { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
  .sec, .demo { padding: 4.5rem 0; }
  .pains { grid-template-columns: repeat(3, 1fr); }
  .feats { grid-template-columns: repeat(3, 1fr); }
  .mark { width: 34px; }
  .brand__word { font-size: 1.5rem; }
}
