/* ===== צבעים – בהתאם לאפליקציה ===== */
:root {
  --ink: #171717;          /* שחור – כפתורים, כותרות */
  --bg: #f9f9f9;           /* רקע האפליקציה */
  --surface: #ffffff;      /* כרטיסים */
  --chip: #ececec;         /* כפתורים משניים */
  --green: #17b55c;        /* "ימים נותרו" */
  --red: #e5232e;          /* באיחור */
  --plate: #fdd116;        /* לוחית רישוי */
  --plate-blue: #0b47bf;
  --text: #171717;
  --muted: #6b6b6b;
  --border: #e4e4e4;
  --radius: 28px;
  --shadow: 0 2px 6px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Rubik", "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ===== Top bar ===== */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(249,249,249,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 22px; letter-spacing: 2px; text-decoration: none; direction: ltr; }
.brand img { border-radius: 9px; }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a { color: var(--text); font-weight: 500; text-decoration: none; }
.topbar nav a:hover { text-decoration: underline; }
.topbar nav a.nav-cta {
  background: var(--ink); color: #fff; padding: 9px 20px; border-radius: 999px; font-weight: 700;
}
.topbar nav a.nav-cta:hover { text-decoration: none; opacity: .88; }

/* ===== Hero ===== */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.wordmark {
  display: inline-flex; align-items: center; gap: 18px; direction: ltr;
  margin-bottom: 26px;
}
.wordmark img { width: 72px; height: 72px; border-radius: 18px; box-shadow: var(--shadow); }
.wordmark span {
  font-size: clamp(56px, 9vw, 96px); font-weight: 800; letter-spacing: 6px; line-height: 1; color: var(--ink);
}
.hero h1 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.2; margin: 0 0 16px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero .lead { color: var(--muted); font-size: 19px; max-width: 32em; margin: 0 0 28px; }
.hero-note { color: var(--muted); font-size: 14px; margin: 16px 0 0; }

/* Store buttons */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.15;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}
.store:hover { opacity: .88; }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-weight: 400; font-size: 11px; color: rgba(255,255,255,.7); }
.stores.compact .store { padding: 9px 18px; font-size: 15px; }

/* Phones */
.phone {
  width: 280px; padding: 10px; border-radius: 44px; background: #111;
  box-shadow: 0 30px 60px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.08);
}
.phone img { width: 100%; border-radius: 34px; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; background: var(--bg); }
.phones { position: relative; height: 600px; }
.phones .phone { position: absolute; }
.phones .front { width: 290px; inset-inline-end: 40px; top: 0; z-index: 2; }
.phones .back { width: 250px; inset-inline-start: 0; top: 70px; transform: rotate(-6deg); opacity: .95; }

/* ===== Showcase ===== */
.showcase { margin: 24px auto 40px; }
.show-row {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  background: var(--surface); border-radius: 40px; box-shadow: var(--shadow);
  padding: 48px 56px; margin-bottom: 28px; overflow: hidden;
}
.show-row.reverse { flex-direction: row-reverse; }
.show-text { max-width: 30em; }
.show-text h2 { font-size: 34px; margin: 12px 0 10px; line-height: 1.2; }
.show-text p { color: var(--muted); font-size: 18px; margin: 0; }
.step {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 20px;
}
.show-row .phone { width: 250px; flex: none; margin-bottom: -120px; }

/* ===== Cards ===== */
.latest { margin: 56px auto; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 30px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; background: var(--surface); color: var(--text); text-decoration: none;
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-3px); }
.card h3 { margin: 12px 0 8px; font-size: 20px; line-height: 1.4; }
.card p { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.card .more { font-weight: 700; font-size: 15px; }
.tag {
  display: inline-block; align-self: flex-start; font-size: 13px; font-weight: 700;
  color: var(--ink); background: var(--chip); padding: 4px 12px; border-radius: 999px;
}

/* ===== Partners (B2B) ===== */
.partners { margin: 40px auto 56px; }
.partners-box {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 36px;
}
.partners-box h2 { margin: 0 0 8px; font-size: 24px; }
.partners-box p { margin: 0; color: var(--muted); font-size: 16px; max-width: 42em; }
.partners-email { flex: none; font-weight: 800; font-size: 18px; direction: ltr; }

/* ===== Page / Article ===== */
.page-head { padding: 48px 20px 24px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 10px; line-height: 1.2; }
.lead { color: var(--muted); font-size: 19px; }
.article { padding-top: 32px; padding-bottom: 64px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.article h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.2; margin: 14px 0 8px; }
.meta { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

.prose { font-size: 18px; }
.prose h2 { font-size: 26px; margin: 40px 0 10px; line-height: 1.3; }
.prose h3 { font-size: 20px; margin: 28px 0 6px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose .answer {
  background: var(--surface); border-radius: 22px; padding: 18px 22px; font-size: 18px; box-shadow: var(--shadow);
  border-inline-start: 6px solid var(--green);
}
.prose .note, .note {
  background: var(--chip); border-radius: 18px; padding: 12px 18px; font-size: 15px; color: #444;
}
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; background: var(--surface); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { text-align: start; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--chip); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* CTA */
.cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin: 32px 0; padding: 26px 28px; border-radius: var(--radius);
  background: var(--ink); color: #fff;
}
.cta strong { font-size: 21px; display: block; margin-bottom: 4px; }
.cta p { margin: 0; color: rgba(255,255,255,.75); font-size: 16px; max-width: 30em; }
.cta .store { background: #fff; color: var(--ink); box-shadow: none; }
.cta .store small { color: var(--muted); }

/* FAQ */
.faq h2 { font-size: 26px; margin: 40px 0 12px; }
.faq details { background: var(--surface); border-radius: 20px; margin-bottom: 10px; padding: 0 22px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: left; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; }
.related h2 { font-size: 24px; margin: 40px 0 16px; }

.btn { display: inline-block; background: var(--ink); color: #fff; padding: 11px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0 24px; margin-top: 40px; }
.footer .brand { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer nav a { color: rgba(255,255,255,.85); text-decoration: none; }
.fineprint { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 24px; }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .hero { padding: 36px 0 24px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .stores { justify-content: center; }
  .phones { height: 480px; width: 330px; margin: 8px auto 0; }
  .phones .front { width: 240px; inset-inline-end: 0; }
  .phones .back { width: 200px; top: 60px; }
  .show-row, .show-row.reverse { flex-direction: column; text-align: center; padding: 36px 24px 0; gap: 28px; }
  .show-text h2 { font-size: 28px; }
  .show-row .phone { width: 230px; margin-bottom: -140px; }
  .show-row { padding-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar nav { gap: 14px; }
  .topbar nav a[href="/about"] { display: none; }
  .topbar nav a.nav-cta { padding: 7px 14px; font-size: 15px; }
  .wordmark { gap: 12px; }
  .wordmark img { width: 52px; height: 52px; border-radius: 14px; }
  .prose { font-size: 17px; }
  .cta { padding: 22px; }
  .section-head h2 { font-size: 24px; }
  .section-head a { white-space: nowrap; font-size: 15px; }
}
