/* Showcase site — Hebrew RTL, Taster-inspired product language */
:root {
  --bg: #F4F2EE;
  --surface: #FFFFFF;
  --surface-2: #FAF9F7;
  --line: #E7E3DD;
  --line-2: #DCD7CF;
  --text: #121212;
  --text-2: #66615B;
  --text-3: #9C978F;
  --ink: #111111;
  --r-xl: 36px;
  --r-lg: 28px;
  --r: 20px;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 18px 50px -24px rgba(20,20,20,.22);
  --shadow-lg: 0 2px 6px rgba(20,20,20,.05), 0 40px 90px -30px rgba(20,20,20,.35);
  --wrap: 1280px;
  --a: #5B4BFF;
  --tint: #ECE8FF;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { margin: 0; font-family: "Heebo", system-ui, sans-serif; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.55; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
svg.lucide { width: 18px; height: 18px; stroke-width: 1.9; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(244,242,238,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; flex: none; }
.mark { width: 34px; height: 34px; border-radius: 11px; background: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 8px; }
.mark i { border-radius: 3px; background: #fff; }
.mark i:nth-child(2) { background: #FF6A1A; } .mark i:nth-child(3) { background: #5B4BFF; } .mark i:nth-child(4) { background: #12B76A; }
.nav-links { display: flex; gap: 4px; margin-inline-start: 18px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
@media (max-width: 1180px) { .nav .hide-m { display: none; } .nav-links a { padding: 0 11px; font-size: 14px; } }
.nav-links a { height: 38px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 14.5px; font-weight: 500; color: var(--text-2); }
.nav-links a:hover { background: rgba(0,0,0,.05); color: var(--text); }
.nav-links a.on { background: var(--ink); color: #fff; }
.nav .spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 17px; height: 17px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: #fff; border-color: var(--text-3); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

/* ---------- Home hero ---------- */
.hero { padding: 84px 0 56px; position: relative; }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); font-weight: 900; letter-spacing: -.045em; line-height: .98; margin: 22px 0 24px; }
.hero h1 span { color: var(--text-3); }
.hero p.lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--text-2); max-width: 640px; line-height: 1.6; }
.hero-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.stats div { padding: 18px 26px; border-inline-start: 1px solid var(--line); }
.stats div:first-child { border-inline-start: 0; }
.stats b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stats span { font-size: 13px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.chip { display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 14.5px; letter-spacing: .02em; transition: border-color .15s, transform .15s; }
.chip:hover { border-color: var(--text-3); transform: translateY(-1px); }
.chip small { font-weight: 500; color: var(--text-3); letter-spacing: 0; font-size: 13px; }

/* ---------- App cards ---------- */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 12px 0 40px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stage { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--a) 28%, var(--tint)) 0%, var(--tint) 55%); }
.stage.dark { background: radial-gradient(110% 90% at 85% 0%, color-mix(in srgb, var(--a) 34%, #0c0c0d) 0%, var(--tint) 60%); }
.stage::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,.07) 1px, transparent 0); background-size: 16px 16px; mask-image: linear-gradient(to bottom, #000, transparent 70%); pointer-events: none; }
.stage.dark::after { background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0); }
.browser { position: absolute; z-index: 1; inset-inline-start: 7%; top: 10%; width: 82%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); transition: transform .35s; }
.browser .bar { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: #F1EFEC; border-bottom: 1px solid rgba(0,0,0,.06); direction: ltr; }
.browser .bar i { width: 7px; height: 7px; border-radius: 50%; background: #D5D0C8; }
.browser .bar u { flex: 1; height: 11px; margin: 0 18% 0 10%; border-radius: 6px; background: rgba(0,0,0,.06); text-decoration: none; }
.dark .browser { background: #111; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); }
.dark .browser .bar { background: #1E1E1F; border-bottom-color: rgba(255,255,255,.06); }
.dark .browser .bar i { background: #3A3A3C; }
.dark .browser .bar u { background: rgba(255,255,255,.08); }
.browser img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.phone { position: absolute; z-index: 2; inset-inline-end: 6%; bottom: -9%; width: 23%; padding: 5px; border-radius: 30px; background: #0F0F10; box-shadow: 0 30px 60px -18px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08) inset; transition: transform .35s; }
.phone img { width: 100%; border-radius: 25px; aspect-ratio: 390/844; object-fit: cover; object-position: top; }
.card:hover .browser { transform: translateY(-6px); }
.card:hover .phone { transform: translateY(-12px) rotate(-1.5deg); }
.card-body { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 26px 24px; border-top: 1px solid var(--line); }
.num { font-size: 13px; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; }
.card h3 { font-size: 26px; font-weight: 900; letter-spacing: .01em; line-height: 1.1; display: flex; align-items: center; gap: 10px; }
.card h3 .dot { width: 10px; height: 10px; background: var(--a); }
.card .tag { font-size: 14.5px; color: var(--text-2); margin-top: 4px; }
.go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); transition: background .2s, color .2s; }
.card:hover .go { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat { display: inline-flex; margin-top: 10px; gap: 6px; flex-wrap: wrap; }
.cat span { font-size: 12.5px; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }

/* ---------- Principles ---------- */
.section { padding: 72px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); font-weight: 900; letter-spacing: -.035em; line-height: 1.05; }
.sec-head p { color: var(--text-2); max-width: 520px; margin-top: 10px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.principle .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--bg); margin-bottom: 18px; }
.principle .ico svg { width: 22px; height: 22px; }
.principle h3 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.principle p { color: var(--text-2); margin-top: 8px; font-size: 15px; }

.footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--text-3); font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- App page ---------- */
.app-hero { padding: 40px 0 34px; }
.crumb { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 14px; font-weight: 500; }
.crumb:hover { color: var(--text); }
.app-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 48px; align-items: center; margin-top: 26px; }
.app-top h1 { font-size: clamp(56px, 8vw, 112px); font-weight: 900; letter-spacing: -.02em; line-height: .9; margin: 18px 0 18px; }
.app-top .lead { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.app-top .desc { color: var(--text-2); margin-top: 14px; font-size: 16.5px; max-width: 520px; }
.meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 28px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.meta div { padding: 14px 18px; border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
.meta div:nth-child(-n+2) { border-top: 0; }
.meta div:nth-child(odd) { border-inline-start: 0; }
.meta span { display: block; font-size: 12.5px; color: var(--text-3); font-weight: 500; }
.meta b { font-size: 15px; font-weight: 700; }
.swatches { display: flex; gap: 6px; margin-top: 4px; }
.swatches i { width: 22px; height: 22px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(0,0,0,.08) inset; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.stage.big { border-radius: var(--r-xl); aspect-ratio: 16 / 11.5; box-shadow: var(--shadow); border: 1px solid var(--line); }
.stage.big .browser { top: 9%; inset-inline-start: 6%; width: 80%; border-radius: 16px; }
.stage.big .phone { width: 24%; bottom: -7%; border-radius: 36px; padding: 6px; }
.stage.big .phone img { border-radius: 30px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--a) 14%, #fff); color: color-mix(in srgb, var(--a) 70%, #000); }
.feature .ico svg { width: 21px; height: 21px; }
.feature h3 { font-size: 16.5px; font-weight: 800; }
.feature p { color: var(--text-2); font-size: 14.5px; margin-top: 3px; }

.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 2px; }
.seg button { height: 40px; padding: 0 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text-2); display: inline-flex; align-items: center; gap: 8px; }
.seg button.on { background: var(--ink); color: #fff; }
.shots { display: grid; gap: 22px; }
.shots.desktop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.shots.mobile { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 18px; }
.shots[hidden] { display: none; }
.shot { margin: 0; }
.shot .frame { display: block; width: 100%; cursor: zoom-in; position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; text-align: start; }
.shot .frame:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.shot .frame .bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #F1EFEC; border-bottom: 1px solid var(--line); direction: ltr; }
.shot .frame .bar i { width: 8px; height: 8px; border-radius: 50%; background: #D5D0C8; }
.shot .frame .bar u { flex: 1; height: 12px; margin: 0 22% 0 12%; border-radius: 6px; background: rgba(0,0,0,.06); text-decoration: none; }
.shot .frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.shots.mobile .frame { border-radius: 34px; padding: 6px; background: #0F0F10; border: 0; }
.shots.mobile .frame img { aspect-ratio: 390/844; border-radius: 28px; }
.shot figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 4px 0; }
.shot figcaption .t { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; min-width: 0; }
.shot figcaption .t em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.shot figcaption .t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--text-2); white-space: nowrap; height: 30px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); flex: none; }
.live:hover { color: var(--text); border-color: var(--text-3); }
.live svg { width: 14px; height: 14px; }
.shots.mobile figcaption { flex-direction: column; align-items: flex-start; gap: 8px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pager a { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; transition: transform .2s, box-shadow .2s; }
.pager a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.pager .thumb { width: 132px; aspect-ratio: 16/10; border-radius: 12px; overflow: hidden; flex: none; border: 1px solid var(--line); }
.pager .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pager span { font-size: 13px; color: var(--text-3); font-weight: 500; }
.pager b { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 900; }
.pager .next { flex-direction: row-reverse; text-align: end; }
.pager .next > div { flex: 1; }
.pager .next b { justify-content: flex-end; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(14,14,16,.92); backdrop-filter: blur(8px); display: none; flex-direction: column; }
.lb.open { display: flex; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; color: #fff; }
.lb-top .t { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 10px; }
.lb-top .t em { font-style: normal; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.lb-top .acts { display: flex; gap: 8px; }
.lb-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-top .live { background: rgba(255,255,255,.1); color: #fff; border-color: transparent; height: 44px; padding: 0 16px; }
.lb-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 84px 28px; position: relative; }
.lb-body img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); object-fit: contain; }
.lb-body.m img { border-radius: 30px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav.prev { inset-inline-start: 20px; }
.lb-nav.next { inset-inline-end: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .app-top { grid-template-columns: 1fr; gap: 32px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .shots.mobile { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .principles { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav .wrap { height: 62px; }
  .nav-links, .nav .hide-m { display: none; }
  .hero { padding: 44px 0 30px; }
  .hero h1 { margin: 16px 0 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .stats div { padding: 14px 18px; }
  .stats div:nth-child(3) { border-inline-start: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats b { font-size: 24px; }
  .chips { margin-top: 26px; }
  .chip { height: 38px; padding: 0 14px; font-size: 13.5px; }
  .apps { grid-template-columns: 1fr; gap: 18px; }
  .card { border-radius: 26px; }
  .card-body { padding: 16px 18px 18px; gap: 14px; }
  .card h3 { font-size: 22px; }
  .card .tag { font-size: 14px; }
  .go { width: 40px; height: 40px; }
  .num { display: none; }
  .card-body { grid-template-columns: 1fr auto; }
  .phone { border-radius: 20px; padding: 3px; }
  .phone img { border-radius: 17px; }
  .section { padding: 48px 0; }
  .features { grid-template-columns: 1fr; }
  .shots.desktop { grid-template-columns: 1fr; }
  .shots.mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .meta div { padding: 12px 14px; }
  .pager { grid-template-columns: 1fr; }
  .pager .thumb { width: 96px; }
  .stage.big .phone { border-radius: 24px; padding: 4px; }
  .stage.big .phone img { border-radius: 20px; }
  .lb-body { padding: 0 12px 16px; }
  .lb-nav { display: none; }
  .lb-top { padding: 12px 14px; }
  .lb-top .live span { display: none; }
}
