/* ============================================================
   כמה בזבזתי — v4 · clean, app-matched, mobile-first
   ============================================================ */

:root {
  --bg: #0b0f15;
  --card: #121824;
  --card-hi: #161d2b;
  --border: #1f2836;
  --border-hi: #2b3648;
  --text: #f3f6fa;
  --muted: #94a1b5;
  --faint: #5c6879;
  --accent: #2dd4bf;
  --accent-press: #14b8a6;
  --accent-ink: #04241e;
  --amber: #fbbf24;
  --mono: 'JetBrains Mono', 'Courier New', monospace;
  --sans: 'Heebo', -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #5eead4; }
img { max-width: 100%; display: block; }
::selection { background: rgba(45, 212, 191, 0.25); }

.skip { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 18px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; color: var(--accent-ink); }

.wrap { max-width: 1060px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 760px) { .wrap { padding-inline: 32px; } }

section { padding-block: 64px; }
@media (min-width: 900px) { section { padding-block: 112px; } }

.mono, .num { font-family: var(--mono); }

/* ---------- type ---------- */
.overline {
  display: block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent);
  margin-bottom: 12px;
}
.h2 {
  font-size: clamp(28px, 7.4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.sub {
  font-size: clamp(15.5px, 4vw, 18px);
  color: var(--muted);
  text-wrap: pretty;
  max-width: 58ch;
}
.section-head { margin-bottom: 36px; }
.section-head .sub { margin-top: 12px; }
@media (min-width: 900px) { .section-head { margin-bottom: 56px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 15.5px;
  min-height: 50px; padding: 12px 22px;
  border-radius: 14px; border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #46e2ce; color: var(--accent-ink); }

.btn-store {
  background: var(--card-hi);
  border-color: var(--border-hi);
  color: var(--text);
  text-align: right;
  gap: 12px;
  justify-content: flex-start;
  padding-inline: 18px;
}
.btn-store:hover { border-color: #3b4a61; color: var(--text); background: #1a2231; }
.btn-store svg { flex: 0 0 auto; }
.store-lines { display: flex; flex-direction: column; line-height: 1.25; }
.store-lines small { font-size: 11.5px; font-weight: 400; color: var(--muted); }
.store-lines b { font-size: 15.5px; font-weight: 700; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 15, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-logo { width: 28px; height: 28px; border-radius: 7px; }

.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 14.5px; }
.nav-links a:hover { color: var(--text); }
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-side { display: flex; align-items: center; gap: 18px; }
.nav-blog { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.nav-blog:hover { color: var(--text); }
@media (min-width: 900px) { .nav-side .nav-blog { display: none; } }
.nav-side .btn { min-height: 40px; padding: 8px 18px; font-size: 14px; border-radius: 11px; }

/* ---------- hero ---------- */
.hero { padding-top: 118px; padding-bottom: 0; }
@media (min-width: 900px) { .hero { padding-top: 170px; } }

.hero-grid { display: flex; flex-direction: column; gap: 44px; }
.hero-kicker { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; }
.hero h1 {
  font-size: clamp(54px, 16vw, 104px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  display: flex; flex-direction: column;
}
.hero h1 .line2 { color: var(--accent); }
.type-cursor { color: var(--accent); animation: blink 1.05s step-end infinite; font-weight: 300; margin-inline-start: 2px; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-cursor { animation: none; } }

.hero-tagline { margin-top: 22px; font-size: clamp(17px, 4.6vw, 21px); font-weight: 800; color: var(--text); line-height: 1.32; letter-spacing: -0.01em; text-wrap: balance; }
.hero-sub { margin-top: 20px; }
.hero-tagline + .hero-sub { margin-top: 10px; }

.cta-row { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
@media (min-width: 420px) { .cta-row { flex-direction: row; flex-wrap: wrap; } .cta-row .btn { flex: 0 1 auto; } }

.fine { margin-top: 18px; font-size: 13px; color: var(--faint); display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.fine .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }

/* phone */
.phone {
  width: min(300px, 78vw);
  border-radius: 42px;
  padding: 8px;
  background: #1a212d;
  border: 1px solid var(--border-hi);
  box-shadow: 0 40px 80px -32px rgba(0, 0, 0, 0.8);
}
.phone-screen { border-radius: 34px; overflow: hidden; aspect-ratio: 9 / 19.55; background: #0d1119; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.hero-stage { display: flex; justify-content: center; }

@media (min-width: 900px) {
  .hero-grid { flex-direction: row; align-items: center; justify-content: space-between; }
  .hero-copy { max-width: 540px; }
  .hero-stage { padding-inline-end: 40px; }
}

/* ---------- proof ---------- */
.proof { padding-block: 44px; margin-top: 56px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .proof { padding-block: 52px; margin-top: 96px; } }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
.proof-item { display: flex; flex-direction: column; gap: 3px; align-items: center; text-align: center; }
.proof-item .val { font-family: var(--mono); font-weight: 700; font-size: clamp(21px, 5.6vw, 30px); }
.proof-item .val .unit { color: var(--accent); }
.proof-item .lbl { font-size: 12.5px; color: var(--muted); }
.proof-item.stars .val { color: var(--amber); font-size: clamp(17px, 4.4vw, 22px); letter-spacing: 0.14em; }
.proof-item.stars { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .proof-grid { grid-template-columns: repeat(5, 1fr); }
  .proof-item.stars { grid-column: auto; }
}

/* ---------- memories gallery ---------- */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(74vw, 280px);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin-inline: -20px;
  padding-inline: 20px;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.memento { scroll-snap-align: center; display: flex; flex-direction: column; gap: 12px; }
.phone-sm { width: 100%; border-radius: 32px; padding: 6px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.85); }
.phone-sm .phone-screen { border-radius: 27px; }
.memento-img {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.85);
}
.memento-cap b { display: block; font-size: 15px; font-weight: 700; }
.memento-cap span { font-size: 13px; color: var(--muted); }

@media (min-width: 900px) {
  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    gap: 22px;
    align-items: start;
  }
  .memento-img { transition: transform 0.3s ease; }
  .memento:hover .memento-img { transform: translateY(-5px); }
}

/* world map block */
.worldmap { margin-top: 64px; display: flex; flex-direction: column; gap: 36px; }
.worldmap h3 { font-size: clamp(23px, 6vw, 34px); font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; margin-bottom: 12px; text-wrap: pretty; }
.statline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px;
  margin-top: 20px;
  font-family: var(--mono); font-size: 13.5px; color: var(--muted);
}
.statline b { color: var(--accent); font-weight: 700; }
.stage { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .worldmap { flex-direction: row; align-items: center; justify-content: space-between; margin-top: 100px; }
  .worldmap-copy { max-width: 500px; }
}

/* ---------- feature rows ---------- */
.rows { border-top: 1px solid var(--border); }
.row-item { display: flex; gap: 16px; padding: 20px 2px; border-bottom: 1px solid var(--border); }
.row-ix { font-family: var(--mono); font-size: 12.5px; color: var(--accent); padding-top: 5px; min-width: 24px; }
.row-body { flex: 1; }
.row-body b { display: block; font-size: 16.5px; font-weight: 700; margin-bottom: 3px; }
.row-body p { font-size: 14.5px; color: var(--muted); max-width: 52ch; }
.row-mock { margin-top: 14px; }

@media (min-width: 760px) {
  .rows.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; border-top: none; }
  .rows.two-col .row-item { border-top: none; }
  .rows.two-col .row-item:nth-child(1), .rows.two-col .row-item:nth-child(2) { border-top: 1px solid var(--border); }
  .row-item { padding: 24px 2px; }
}

/* inline mocks — quiet, no boxes */
.mock-budget { max-width: 340px; }
.mock-budget .lbls { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; margin-bottom: 7px; }
.mock-budget .lbls .left { color: var(--accent); font-weight: 700; }
.mock-budget .lbls .right { color: var(--faint); }
.mock-budget .track { height: 6px; border-radius: 99px; background: var(--card-hi); overflow: hidden; }
.mock-budget .fill { height: 100%; width: 70%; border-radius: 99px; background: var(--accent); }

.mock-calc { font-family: var(--mono); font-size: 14px; color: var(--faint); direction: ltr; display: inline-block; white-space: nowrap; }
.mock-calc b { color: var(--accent); font-weight: 600; }

.mock-cats { display: flex; flex-wrap: wrap; gap: 7px; }
.mock-cats span {
  font-size: 12.5px; font-weight: 600;
  border-radius: 99px; padding: 5px 12px;
  border: 1px solid;
}
.mock-cats .c1 { color: #fca5a5; border-color: rgba(252, 165, 165, 0.3); }
.mock-cats .c2 { color: #93c5fd; border-color: rgba(147, 197, 253, 0.3); }
.mock-cats .c3 { color: #fcd34d; border-color: rgba(252, 211, 77, 0.3); }

/* ---------- split sections ---------- */
.split { display: flex; flex-direction: column; gap: 40px; }
.split-copy { width: 100%; }
@media (min-width: 900px) {
  .split { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; }
  .split.flip { flex-direction: row-reverse; }
  .split-copy { max-width: 520px; }
}

.checklist { margin-top: 28px; display: flex; flex-direction: column; }
.check-item { display: flex; gap: 13px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.check-item:first-child { border-top: 1px solid var(--border); }
.check-item svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.check-item b { display: block; font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.check-item p { font-size: 14.5px; color: var(--muted); }

.groups-title {
  font-size: clamp(44px, 12vw, 76px);
  font-weight: 900; line-height: 1; letter-spacing: -0.02em;
  display: flex; flex-direction: column;
}
.groups-title .line2 { color: var(--accent); }

/* ---------- essentials ---------- */
.essentials { padding-top: 0; }
.ess-grid { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--border); }
.ess { display: flex; align-items: center; gap: 12px; padding: 15px 2px; border-bottom: 1px solid var(--border); font-size: 15px; font-weight: 600; }
.ess svg { flex: 0 0 auto; width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 620px) {
  .ess-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: none; }
  .ess:nth-child(1), .ess:nth-child(2) { border-top: 1px solid var(--border); }
}
@media (min-width: 980px) {
  .ess-grid { grid-template-columns: 1fr 1fr 1fr; column-gap: 40px; }
  .ess:nth-child(3) { border-top: 1px solid var(--border); }
}

/* ---------- faq ---------- */
.faq-wrap { max-width: 720px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 2px; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chev { flex: 0 0 auto; width: 16px; height: 16px; fill: none; stroke: var(--faint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.25s; }
.faq-item[open] .chev { rotate: 180deg; stroke: var(--accent); }
.faq-item .answer { padding: 0 2px 18px; color: var(--muted); font-size: 14.5px; max-width: 62ch; }

/* ---------- cta ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(30px, 8.6vw, 54px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.08; }
.cta p { color: var(--muted); margin-top: 12px; font-size: clamp(15px, 4vw, 17.5px); }
.cta .cta-row { justify-content: center; margin-top: 30px; }
.cta .fine { justify-content: center; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.foot-tag { color: var(--muted); font-size: 13.5px; margin-top: 10px; max-width: 30ch; }
.foot-legal { color: var(--faint); font-size: 12px; margin-top: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 { font-size: 12px; letter-spacing: 0.06em; color: var(--faint); font-weight: 700; margin-bottom: 3px; }
.foot-col a { color: var(--muted); font-size: 14px; }
.foot-col a:hover { color: var(--text); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; } .footer { padding-bottom: 56px; } }

/* ---------- mobile sticky download bar ---------- */
.dockbar {
  position: fixed; z-index: 60;
  inset-inline: 0; bottom: 0;
  display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 15, 21, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.dockbar.show { transform: translateY(0); }
.dockbar .btn { flex: 1; min-height: 46px; font-size: 14.5px; padding: 10px 8px; }
@media (min-width: 760px) { .dockbar { display: none; } }

/* ---------- blog ---------- */
.blog-head { padding-top: 118px; padding-bottom: 36px; }
@media (min-width: 900px) { .blog-head { padding-top: 170px; padding-bottom: 48px; } }
.blog-body { min-height: 55vh; padding-bottom: 90px; }

/* ---------- reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.65, 0.3, 1); }
  [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- tweaks ---------- */
.tweaks {
  position: fixed; z-index: 90;
  inset-inline-end: 14px; bottom: 84px;
  width: min(290px, calc(100vw - 28px));
  background: #10151f;
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  padding: 15px;
  display: none;
}
@media (min-width: 760px) { .tweaks { bottom: 14px; } }
.tweaks.open { display: block; }
.tweaks-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tweaks-title { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--accent); }
.tweaks-close { background: none; border: none; color: var(--muted); font-size: 19px; cursor: pointer; line-height: 1; }
.tweaks-row { margin-bottom: 12px; }
.tweaks-row:last-child { margin-bottom: 0; }
.tweaks-label { font-size: 12px; color: var(--muted); margin-bottom: 7px; }
.seg { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.seg button { flex: 1; background: none; border: none; border-radius: 7px; color: var(--muted); font-family: var(--sans); font-size: 12.5px; font-weight: 600; padding: 7px 4px; cursor: pointer; }
.seg button.active { background: rgba(45, 212, 191, 0.15); color: var(--accent); }


/* ---------- download dropdown ---------- */
.dl-menu { position: relative; }
.dl-trigger { gap: 7px; }
.dl-caret { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.2s; }
.dl-menu.open .dl-caret { rotate: 180deg; }
.dl-panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: 270px; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--card);
  border: 1px solid var(--border-hi);
  border-radius: 16px;
  box-shadow: 0 26px 52px -22px rgba(0, 0, 0, 0.85);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 60;
}
.dl-menu.open .dl-panel { opacity: 1; visibility: visible; transform: none; }
.dl-panel .btn-store { width: 100%; min-height: 54px; padding: 10px 16px; border-radius: 12px; }
.dl-panel .store-lines b, .dl-panel .store-lines small { white-space: nowrap; }

/* ---------- faq SEO (english) ---------- */
.faq-item .answer-en {
  display: block;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.65;
  color: var(--faint);
  text-align: left;
}
