/* ============================================================
   Sign Mi — temporary landing page
   Cinematic signage hero · navy · RTL · mobile-first
   Display: Rubik · Body: Assistant
   ============================================================ */

:root {
  --navy:    #0B1D3A;
  --on:      #FFFFFF;
  --on-soft: #D5DEF1;
  --on-mute: #97A6C6;
  --maxw: 540px;
  --r: 16px;
  --font-display: "Rubik", system-ui, sans-serif;
  --font-body: "Assistant", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--on-soft);
  background: #07101f;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- רקע קולנועי ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("assets/hero.jpg") center 12% / cover no-repeat;
}
.bg-fade {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(120% 70% at 50% 6%, rgba(37,80,160,.30), transparent 52%),
    linear-gradient(180deg,
      rgba(8,16,33,.74) 0%,
      rgba(8,16,33,.88) 40%,
      rgba(7,13,28,.95) 72%,
      rgba(6,11,24,.99) 100%);
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed; top: 12px; right: 50%;
  transform: translate(50%, -150%);
  z-index: 60;
  background: var(--on); color: var(--navy);
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translate(50%, 0); }

/* ---------- מבנה ---------- */
.shell {
  position: relative;
  z-index: 2;
  min-height: 100dvh;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(22px, 6vw, 40px) clamp(22px, 6vw, 34px) clamp(20px, 5vw, 30px);
  display: flex;
  flex-direction: column;
}

/* ---------- כותרת עליונה ---------- */
.head {
  display: flex;
  justify-content: center;
}
.brand { display: inline-flex; text-decoration: none; }
.brand img {
  height: clamp(74px, 22vw, 96px);
  width: auto;
  display: block;
  /* היפוך הלוגו ללבן נקי על רקע כהה */
  filter: brightness(0) invert(1) drop-shadow(0 3px 14px rgba(0,0,0,.45));
}

/* תווית סטטוס */
.status {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .8rem; font-weight: 600;
  color: var(--on-soft);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 15px; border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.status__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2BD46F; box-shadow: 0 0 9px 1px rgba(43,212,111,.85);
}

/* ---------- גוף ---------- */
.lead {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(16px, 4vw, 22px);
  padding-block: clamp(40px, 12vw, 80px) clamp(8px, 3vw, 16px);
}
.title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 9.6vw, 3.1rem);
  line-height: 1.13;
  letter-spacing: -.6px;
  color: var(--on);
  text-wrap: balance;
}
.title span { display: block; color: #8FB2FF; }
.sub {
  margin: 0;
  max-width: 42ch;
  font-size: clamp(1.05rem, 4.3vw, 1.16rem);
  line-height: 1.72;
  color: var(--on-soft);
  text-wrap: pretty;
}

/* ---------- כפתורים ---------- */
.contact { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact__row { display: flex; flex-direction: column; gap: 12px; }

.btn {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 0 18px;
  border-radius: var(--r);
  text-decoration: none;
  font-family: var(--font-display);
  transition: transform .2s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background-color .2s ease, border-color .2s ease;
}
.btn__icon { flex: none; width: 25px; height: 25px; }
.btn__label { font-weight: 700; font-size: 1.08rem; }
.btn__arrow { width: 19px; height: 19px; margin-inline-start: auto; opacity: .65; transition: transform .2s ease; }
.btn__stack { display: flex; flex-direction: column; line-height: 1.28; min-width: 0; }
.btn__stack b { font-weight: 700; font-size: 1.04rem; }
.btn__stack i { font-style: normal; font-weight: 500; font-size: .9rem; color: var(--on-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ראשי — לבן מלא, פופ על הרקע */
.btn--primary {
  background: var(--on);
  color: var(--navy);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.btn--primary .btn__icon { color: #128C3E; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 24px 46px -18px rgba(0,0,0,.75); }
.btn--primary:hover .btn__arrow { transform: translateX(-4px); }

/* משני — זכוכית */
.btn--glass {
  flex: 1;
  color: var(--on);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}
.btn--glass .btn__icon { color: #9FB6E6; }
.btn--glass:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.32); transform: translateY(-2px); }

/* ---------- פוטר ---------- */
.foot {
  margin-top: 18px;
  text-align: center;
  font-size: .8rem;
  color: var(--on-mute);
}

/* ---------- פוקוס ---------- */
.btn:focus-visible, .brand:focus-visible, .skip-link:focus-visible {
  outline: 3px solid #8FB2FF;
  outline-offset: 3px;
  border-radius: 10px;
}

/* ---------- כניסה ---------- */
@media (prefers-reduced-motion: no-preference) {
  .head, .status, .title, .sub, .contact { animation: rise .8s cubic-bezier(.16,.84,.27,1) both; }
  .status { animation-delay: .06s; }
  .title { animation-delay: .12s; }
  .sub { animation-delay: .2s; }
  .contact { animation-delay: .28s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

/* ---------- דסקטופ ---------- */
@media (min-width: 760px) {
  :root { --maxw: 680px; }
  .bg { background-position: center 18%; }
  .title { font-size: 3.3rem; }
  .contact__row { flex-direction: row; }
  .btn--glass { flex: 1 1 0; }
}
