/* Desktop Organizer Pro — product site
   Logical properties so one stylesheet serves RTL (he) and LTR (en).
   No external requests. */
@font-face {
  font-family: Assistant;
  src: url("../fonts/assistant-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #121c2e;
  --navy-2: #1a2437;
  --ink: #1c1917;
  --muted: #5a554c;
  --paper: #f3f0e8;
  --paper-2: #eae6dc;
  --card: #fffdf8;
  --cyan: #00edf9;
  --cyan-dim: #00b8c2;
  --green: #0f6d45;
  --green-hover: #148454;
  --wood: #9a6a3a;
  --line: #ddd6c8;
  --danger-ink: #6b3a12;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(18, 28, 46, 0.22);
  --max: 1120px;
  --header: 68px;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Assistant, "Segoe UI", "Noto Sans Hebrew", "Arial Hebrew", Arial, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input { font: inherit; }

:focus-visible {
  outline: 3px solid var(--cyan-dim);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(18, 28, 46, 0.94);
  color: #f6f3ec;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.brand img {
  width: 36px;
  height: 36px;
}
.brand span { line-height: 1.15; }
.brand small {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0;
  color: #b9c0cc;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline-start: auto;
}

.nav a {
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  color: #e8e4da;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.lang {
  margin-inline-start: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--cyan);
}
.lang:hover { background: rgba(0, 237, 249, 0.12); }

.nav-toggle,
#nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 480px at 80% -10%, rgba(0, 237, 249, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #18263d 62%, #1e3348 100%);
  color: #f7f4ee;
  padding: 3.2rem 0 3.6rem;
  overflow: hidden;
}

[dir="ltr"] .hero {
  background:
    radial-gradient(1200px 480px at 20% -10%, rgba(0, 237, 249, 0.12), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #18263d 62%, #1e3348 100%);
}

.hero-grid {
  display: grid;
  gap: 2.6rem;
}
.hero-copy { max-width: 42rem; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cyan);
  margin: 0 0 0.85rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 4.6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.pitch {
  margin: 0 0 1.6rem;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: #d9d4c8;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-bottom: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
}

.btn-download {
  background: var(--green);
  color: #fff;
  font-size: 1.15rem;
  padding: 0.95rem 1.55rem;
  box-shadow: 0 8px 24px rgba(15, 109, 69, 0.35);
  min-height: 3.2rem;
}
.btn-download:hover { background: var(--green-hover); }
.btn-download svg { width: 1.2rem; height: 1.2rem; fill: currentColor; }

.store-note {
  margin: 0;
  color: #c9c3b6;
  font-size: 0.95rem;
}
.store-note strong { color: #fff; font-weight: 700; }

.meta-line {
  margin: 0.3rem 0 0;
  color: #9aa3b2;
  font-size: 0.88rem;
}

.hero-shot {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d1522;
}
.hero-shot img {
  width: 100%;
  height: auto;
}

/* ---------- sections ---------- */
.section {
  padding: 4rem 0;
}
.section-head {
  margin-bottom: 2rem;
  max-width: 40rem;
}
.section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.features-lead {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.features-lead .card { background: var(--paper); }

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }

/* illustrated feature rows */
.showcase {
  display: grid;
  gap: 3.2rem;
}
.shot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.shot-row.reverse { direction: inherit; }
.shot-row .text h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}
.shot-row .text p { margin: 0; color: var(--muted); }
.shot-frame {
  margin: 0;
  background: #2a4a6e;
  border-radius: 16px;
  padding: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 14px 36px rgba(18, 28, 46, 0.14);
}
.shot-frame img {
  width: auto;
  max-width: 100%;
  max-height: 360px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.shot-frame.wide { background: #3a5878; padding: 1rem 0.8rem; }
.shot-frame.wide img { max-height: none; width: 100%; box-shadow: none; }

/* themes */
.themes { background: var(--navy); color: #f4f1ea; }
.themes .lede { color: #b9c0cc; }
.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.theme-card {
  background: #1a2437;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  color: inherit;
}
.theme-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  background: #0d1522;
}
.theme-card figcaption {
  padding: 0.7rem 0.85rem 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}

/* download band */
.download-band {
  background:
    linear-gradient(180deg, #eae6dc, var(--paper));
  text-align: center;
}
.download-band .btn-download { font-size: 1.2rem; padding: 1.05rem 1.8rem; }
.download-band .file {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.notice {
  margin: 1.4rem auto 0;
  max-width: 38rem;
  background: #fff7ea;
  border: 1px solid #efd7b0;
  color: var(--danger-ink);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  text-align: start;
}
.reqs {
  margin: 1.4rem auto 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: start;
}
.reqs p { margin: 0; }

/* footer */
.site-footer {
  background: #0d1522;
  color: #c5c9d1;
  padding: 2.2rem 0 2.4rem;
  font-size: 0.95rem;
}
.foot-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.foot-brand img {
  height: 36px;
  width: auto;
}
.foot-meta { color: #9aa3b2; }
.foot-meta a { color: #e8e4da; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.foot-meta p { margin: 0 0 0.25rem; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .theme-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .shot-row { grid-template-columns: 1fr; gap: 1.1rem; }
  /* keep image first on mobile for every row */
  .shot-row .shot-frame { order: -1; }
  .hero { padding: 2.2rem 0 2.4rem; }
  .section { padding: 3rem 0; }
}

@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-toggle {
    display: flex;
    margin-inline-start: auto;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
  }
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    position: relative;
    border-radius: 1px;
  }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    inset-inline: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.2rem 1rem;
    gap: 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav a, .lang { padding: 0.7rem 0.8rem; }
  .lang { margin: 0.4rem 0 0; align-self: start; }
  #nav-toggle:checked ~ .nav { display: flex; }
  .brand small { display: none; }
}

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