/* עיצוב דף המכירה. משתמש בטוקנים של styles.css, ולכן הוא יורש
   אוטומטית את הערכה הכהה ואת כיוון הכתיבה של השפה הפעילה. */

.landing {
  font: 16px/1.65 "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.landing-wrap { max-width: 1100px; margin: 0 auto; padding-inline: 20px; }

/* ===== סרגל עליון ===== */
.lp-nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-nav-inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px;
}
.lp-brand {
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px;
  color: inherit; text-decoration: none;
}
.lp-brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.lp-nav-spacer { flex: 1; }
.lp-lang {
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  color: inherit; font: inherit; font-size: 13.5px; padding: 6px 9px;
}

/* ===== כפתורים ===== */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 11px;
  padding: 11px 20px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn-primary {
  background: linear-gradient(135deg, var(--header-from), var(--header-to));
  color: var(--header-ink); box-shadow: var(--shadow);
}
.lp-btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.lp-btn-lg { padding: 14px 26px; font-size: 16.5px; border-radius: 13px; }

/* ===== גיבור ===== */
.lp-hero { padding: 64px 0 52px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lp-badge {
  display: inline-block; font-size: 13px; font-weight: 600;
  color: var(--brand-dark); background: var(--c2-bg);
  border: 1px solid var(--c2-line); border-radius: 999px; padding: 5px 13px;
  margin-bottom: 18px;
}
.lp-hero h1 {
  font-size: clamp(32px, 4.4vw, 50px); line-height: 1.12; margin: 0 0 18px;
  letter-spacing: -.02em;
}
.lp-hero p.lp-lead { font-size: 18px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lp-hero-note { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }

/* תצוגה מוקטנת של הסידור, מצוירת ב-CSS ולא תמונה */
.lp-shot {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 14px; overflow: hidden;
}
.lp-shot-head {
  display: flex; align-items: center; gap: 6px; padding: 0 2px 12px;
  border-bottom: 1px solid var(--line); margin-bottom: 12px;
}
.lp-shot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.lp-shot-title { font-size: 12.5px; color: var(--muted); margin-inline-start: 6px; }
.lp-grid-demo { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.lp-grid-demo span {
  height: 26px; border-radius: 6px; border-inline-start: 3px solid transparent;
}
.lp-c0 { background: var(--c0-bg); border-inline-start-color: var(--c0-line); }
.lp-c1 { background: var(--c1-bg); border-inline-start-color: var(--c1-line); }
.lp-c2 { background: var(--c2-bg); border-inline-start-color: var(--c2-line); }
.lp-c3 { background: var(--c3-bg); border-inline-start-color: var(--c3-line); }
.lp-empty { background: var(--closed-a); }
.lp-shot-alert {
  margin-top: 12px; font-size: 12.5px; padding: 8px 11px; border-radius: 8px;
  background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line);
}

/* ===== מקטעים ===== */
.lp-section { padding: 58px 0; }
.lp-section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.lp-section h2 {
  font-size: clamp(25px, 3vw, 33px); margin: 0 0 34px; letter-spacing: -.015em;
}
/* כשיש כותרת משנה, היא זו שמחזיקה את הרווח שמתחת */
.lp-section h2:has(+ .lp-section-sub), .lp-center h2 { margin-bottom: 10px; }
.lp-center > h2:only-child { margin-bottom: 34px; }
.lp-section-sub { color: var(--muted); margin: 0 0 34px; font-size: 16.5px; }
.lp-center { text-align: center; }
.lp-center .lp-section-sub { margin-inline: auto; max-width: 42em; }

.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px;
}
.lp-section-alt .lp-card { background: var(--surface-sunken); }
.lp-card h3 { margin: 0 0 8px; font-size: 17.5px; }
.lp-card p { margin: 0; color: var(--muted); font-size: 15px; }
.lp-card-icon { font-size: 24px; line-height: 1; display: block; margin-bottom: 12px; }

/* צעדים ממוספרים */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.lp-step { counter-increment: step; }
.lp-step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--header-from), var(--header-to));
  color: var(--header-ink); font-weight: 700; font-size: 17px;
}
.lp-step h3 { margin: 0 0 7px; font-size: 17.5px; }
.lp-step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== תוכניות ===== */
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.lp-plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 22px; display: flex; flex-direction: column; position: relative;
}
.lp-section-alt .lp-plan { background: var(--surface-sunken); }
.lp-plan-featured {
  border-color: var(--brand); box-shadow: var(--shadow);
}
.lp-plan-tag {
  position: absolute; top: -12px; inset-inline-start: 22px;
  background: var(--brand); color: var(--brand-ink);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.lp-plan-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.lp-plan-range { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.lp-plan-price { font-size: 38px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.lp-plan-per { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.lp-plan .lp-btn { margin-top: auto; }
.lp-pricing-note { color: var(--muted); font-size: 14px; margin: 26px 0 0; text-align: center; }

/* ===== שאלות ===== */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
  padding: 15px 18px; margin-bottom: 11px;
}
.lp-section-alt .lp-faq details { background: var(--surface-sunken); }
.lp-faq summary { font-weight: 600; cursor: pointer; font-size: 16px; }
.lp-faq summary::marker { color: var(--brand); }
.lp-faq p { margin: 11px 0 0; color: var(--muted); font-size: 15px; }

/* ===== קריאה לפעולה בסיום ===== */
.lp-cta {
  background: linear-gradient(135deg, var(--header-from), var(--header-to));
  color: var(--header-ink); border-radius: 20px; padding: 46px 32px; text-align: center;
  margin: 58px 0;
}
.lp-cta h2 { margin: 0 0 10px; color: var(--header-ink); }
.lp-cta p { margin: 0 0 24px; opacity: .9; font-size: 17px; }
.lp-cta .lp-btn-primary { background: var(--header-ink); color: var(--brand-dark); }

/* ===== כותרת תחתונה ===== */
.lp-footer {
  border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px;
}
.lp-footer-inner { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lp-footer-inner .lp-nav-spacer { flex: 1; }

/* ===== מסכים צרים ===== */
@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .lp-cards, .lp-steps, .lp-plans { grid-template-columns: 1fr; }
  .lp-hero { padding: 40px 0 34px; }
  .lp-section { padding: 42px 0; }
}
@media (max-width: 560px) {
  .lp-nav-inner { min-height: 56px; gap: 8px; }
  .lp-brand span { display: none; }
  .lp-hero-actions .lp-btn { flex: 1; }
  /* בעברית שמות הכפתורים ארוכים יותר, והסרגל העליון גלש מהמסך בטלפון */
  .lp-nav .lp-btn { padding: 9px 12px; font-size: 14px; }
  .lp-lang { padding: 5px 7px; font-size: 12.5px; }
}

/* שורת תקופת הניסיון בכרטיס התוכנית */
.lp-plan-trial {
  font-size: 13px; font-weight: 600; color: var(--ok);
  background: var(--ok-bg); border: 1px solid var(--ok-line);
  border-radius: 999px; padding: 3px 10px; display: inline-block; margin-bottom: 8px;
}
