/* ===== בוא נפתח - דף שיווק ===== */

body { overflow-x: hidden; }

/* ---- ניווט עליון ---- */
.lnav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lnav-in {
  max-width: 1080px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.lnav-brand { font-family: 'Secular One'; font-size: 20px; color: var(--primary); }
.lnav-cta {
  background: var(--primary); color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: 999px;
}
.lnav-links { display: flex; align-items: center; gap: 16px; }
.lnav-links .linkbtn { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 6px 2px; }
@media (max-width: 380px) { .lnav-links .linkbtn { display: none; } }

/* ---- הירו ---- */
.hero-sec {
  background:
    radial-gradient(circle at 88% -6%, rgba(91, 46, 255, 0.14), transparent 32%),
    radial-gradient(circle at 6% 20%, rgba(232, 67, 143, 0.08), transparent 28%),
    linear-gradient(180deg, var(--surface-solid) 0%, var(--bg) 100%);
  padding: 56px 20px 40px;
}
.hero-in {
  max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero-text h1 {
  font-family: 'Secular One'; font-size: 52px; line-height: 1.12; color: var(--ink); margin-bottom: 20px;
}
.hero-text h1 .hl { color: var(--primary); }
.hero-sub { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 480px; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ctas .btn { width: auto; padding: 15px 26px; margin: 0; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); font-weight: 500; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card { width: 100%; max-width: 330px; min-height: 300px; z-index: 3; animation: heroFloat 5s ease-in-out infinite; }
.hero-card .q { font-size: clamp(19px, 2.3vw, 23px); padding: 24px 24px 30px; }
.hero-card .q, .hero-card .deck-pill, .hero-card .kind-pill {
  transition: opacity 220ms ease, transform 220ms ease;
}
.hero-card.swap .q, .hero-card.swap .deck-pill, .hero-card.swap .kind-pill {
  opacity: 0;
  transform: translateY(6px);
}
.hero-card-shadow2, .hero-card-shadow3 {
  position: absolute; top: 12px; bottom: 12px; width: 100%; max-width: 330px;
  border-radius: 28px;
  background: var(--surface-solid); border: 1px solid var(--line);
}
.hero-card-shadow2 { transform: rotate(6deg) scale(0.97); opacity: 0.6; z-index: 2; }
.hero-card-shadow3 { transform: rotate(-8deg) scale(0.94); opacity: 0.35; z-index: 1; }
@keyframes heroFloat {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(-1.2deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .hero-card { animation: none; } }

/* ---- מקטעים כלליים ---- */
.sec { padding: 64px 20px; }
.sec-in { max-width: 1080px; margin: 0 auto; }
.sec-title { font-family: 'Secular One'; font-size: 32px; text-align: center; color: var(--ink); margin-bottom: 10px; }
.sec-sub { text-align: center; color: var(--muted); font-size: 15.5px; margin-bottom: 40px; }

/* ---- שלבים ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 20px; text-align: center; position: relative;
}
.step-num {
  position: absolute; top: -14px; right: 50%; transform: translateX(50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary); color: #fff;
  font-family: 'Secular One'; font-size: 14px; display: flex; align-items: center; justify-content: center;
}
.step-emoji { font-size: 32px; margin: 10px 0 12px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---- סוגי קלפים ---- */
.kinds-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kind-card {
  background: var(--surface-solid); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 14px 18px; text-align: center;
}
.kc-ico { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.kind-card h3 { font-size: 15.5px; color: var(--primary); margin-bottom: 6px; }
.kind-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---- חפיסות ---- */
.decks-sec { background: var(--surface-solid); }
.deck-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard {
  background: color-mix(in srgb, var(--c) 6%, var(--mix-base));
  border: 1.5px solid color-mix(in srgb, var(--c) 22%, var(--mix-base));
  border-radius: var(--radius-lg); padding: 24px 18px; text-align: center;
}
.dc-emoji { font-size: 34px; margin-bottom: 10px; }
.dc-name { font-family: 'Secular One'; font-size: 19px; color: var(--c); margin-bottom: 6px; }
.dc-sub { font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 40px; }
.dc-count { margin-top: 12px; font-size: 12px; font-weight: 700; color: var(--c); }

/* ---- פיצ'רים ---- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature {
  text-align: center;
  background: var(--surface-solid);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 16px 20px;
}
.f-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  /* גוון בהיר קבוע, לא var(--primary-soft) - ראו הערה זהה ב-.guide-feature-ico */
  background: #EEE9FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.feature h3 { font-size: 15.5px; margin-bottom: 8px; color: var(--primary); }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ---- כרטיסי פיצ'ר במדריך (רשימה אנכית, לא גריד) ---- */
.guide-feature-list { display: flex; flex-direction: column; gap: 14px; }
.guide-feature-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 24px 18px 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  text-align: right;
}
.guide-feature-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 5px;
  background: var(--primary);
}
.guide-feature-ico {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  /* בכוונה גוון בהיר קבוע, לא var(--primary-soft) - לרוב האימוג'ים יש רקע לבן/בהיר
     אפוי בתוך הגרפיקה שלהם, ועל עיגול כהה במצב לילה זה נראה כמו מדבקה זרה שלא משתלבת */
  background: #EEE9FF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.guide-feature-body { flex: 1; min-width: 0; }
.guide-feature-body h3 { font-size: 16px; color: var(--primary); margin-bottom: 4px; }
.guide-feature-body p { font-size: 13.5px; color: var(--muted); line-height: 1.55; margin: 0; }
@media (max-width: 480px) {
  .guide-feature-card { padding: 15px 20px 15px 16px; gap: 12px; }
  .guide-feature-ico { width: 46px; height: 46px; font-size: 21px; }
}

/* ---- כרטיסי מסלול במדריך ---- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; align-items: stretch; }
.plan-card {
  position: relative;
  background: var(--surface-solid);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.plan-card.highlight { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-ring); }
.plan-card-badge {
  position: absolute;
  top: -12px;
  right: 50%;
  transform: translateX(50%);
  background: var(--primary);
  color: var(--on-primary, #fff);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-card-ico { font-size: 32px; margin-bottom: 10px; }
.plan-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.plan-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 720px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ---- התקנה ---- */
.install-sec { background: var(--surface-solid); }
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.install-col {
  background: var(--bg); border-radius: var(--radius-lg); padding: 26px 24px; border: 1px solid var(--line);
}
.install-col h3 { font-size: 16.5px; margin-bottom: 14px; }
.install-col ol { padding-inline-start: 20px; color: var(--muted); font-size: 14px; line-height: 2; }
.kbd {
  display: inline-block; background: var(--surface-solid); border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 1px 7px; font-size: 12px;
}

/* ---- אודות ---- */
.about-in { max-width: 640px; }
.about-signature {
  text-align: center; font-size: 13.5px; font-weight: 700; color: var(--primary);
  margin-bottom: 24px;
}
.about-sec p { font-size: 15.5px; line-height: 1.85; color: var(--ink); margin-bottom: 16px; text-align: center; }

/* ---- פוטר ---- */
.lfooter { border-top: 1px solid var(--line); padding: 30px 20px; }
.lfooter-personal {
  max-width: 1080px; margin: 0 auto 18px; text-align: center;
  font-size: 13.5px; color: var(--muted); background: var(--primary-soft);
  border-radius: var(--radius-sm); padding: 12px 16px;
}
.lfooter-personal a { color: var(--primary); font-weight: 700; text-decoration: none; }
.lfooter-in {
  max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.lfooter-brand { font-family: 'Secular One'; color: var(--primary); font-size: 16px; }
.lfooter-links { display: flex; gap: 18px; }
.lfooter-links a { color: var(--muted); text-decoration: none; font-size: 13.5px; }
.lfooter-copy { color: var(--muted-light); font-size: 12.5px; }

/* ---- רספונסיביות ---- */
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-text h1 { font-size: 38px; }
  .hero-sub { max-width: none; }
  .steps, .feature-grid, .retention-features { grid-template-columns: repeat(2, 1fr); }
  .deck-showcase { grid-template-columns: repeat(2, 1fr); }
  .kinds-grid { grid-template-columns: repeat(3, 1fr); }
  .install-grid { grid-template-columns: 1fr; }
  .sec { padding: 44px 18px; }
}
@media (max-width: 480px) {
  .hero-text h1 { font-size: 32px; }
  .steps, .feature-grid, .deck-showcase, .retention-features { grid-template-columns: 1fr; }
  .kinds-grid { grid-template-columns: repeat(2, 1fr); }
  .kind-card:last-child { grid-column: 1 / -1; }
  .hero-ctas .btn { width: 100%; }
}

/* ---- לא נגמר כשהערב נגמר ---- */
.retention-sec { background: var(--bg); }
.retention-features { grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 0 auto; }

/* ---- דפים משפטיים (פרטיות, תנאים, נגישות, מחיקת חשבון) - היה inline בכל דף בנפרד ---- */
.lnav-brand { text-decoration: none; }
.legal-back { max-width: 1080px; margin: 0 auto; padding: 14px 20px 0; }
.legal-hero { padding: 40px 24px 6px; text-align: center; }
.legal-hero h1 { font-size: 32px; margin-bottom: 10px; }
.legal-hero p { color: var(--muted); font-size: 15px; max-width: 520px; margin: 0 auto; }
.legal-updated { color: var(--muted-light); font-size: 12.5px; margin-top: 10px; }
.legal-wrap { max-width: 680px; margin: 26px auto 60px; padding: 0 20px; }
.legal-wrap.narrow { max-width: 460px; }
.legal-notice {
  background: var(--primary-soft); border: 1px solid var(--primary-ring);
  border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 22px;
  font-size: 13.5px; line-height: 1.7; color: var(--ink);
}
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 680px; margin: 0 auto; }
.faq-item { background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 4px 18px; }
.faq-item summary {
  cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 20px; color: var(--muted); flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p, .faq-item ul { color: var(--muted); font-size: 14px; line-height: 1.75; padding-bottom: 14px; margin: 0; }
.faq-item ul { padding-inline-start: 20px; margin-top: 4px; }
.faq-item li { margin-bottom: 6px; }
.faq-item p + p, .faq-item p + ul, .faq-item ul + p { margin-top: 2px; }
.faq-item b { color: var(--ink); }

/* ---- דפי תוכן ציבוריים (חפיסות, מאמרים, אודות) - site_chrome.php ---- */
.content-wrap { max-width: 720px; margin: 0 auto; padding: 8px 20px 56px; }
.content-wrap h2 { font-family: 'Secular One'; font-size: 24px; color: var(--ink); margin: 34px 0 10px; }
.content-wrap h3 { font-size: 17px; color: var(--ink); margin: 22px 0 6px; }
.content-wrap p, .content-wrap li { color: var(--ink); font-size: 16px; line-height: 1.85; }
.content-wrap p { margin: 0 0 14px; }
.content-wrap ul, .content-wrap ol { padding-inline-start: 22px; margin: 0 0 16px; }
.content-wrap li { margin-bottom: 6px; }
.content-wrap a:not(.btn) { color: var(--primary); }
.content-meta { color: var(--muted-light); font-size: 13px; margin-top: 10px; }
.sample-list { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 10px; }
.sample-list li {
  background: var(--surface-solid); border: 1px solid var(--line); border-inline-start: 4px solid var(--c, var(--primary));
  border-radius: var(--radius-md); padding: 12px 16px; margin: 0; font-size: 15.5px; line-height: 1.7;
}
.sample-list .opts { display: block; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.cta-box {
  background: var(--primary-soft); border: 1px solid var(--primary-ring); border-radius: var(--radius-md);
  padding: 20px; margin: 30px 0 10px; text-align: center;
}
.cta-box p { margin-bottom: 14px; }
.cta-box .btn { max-width: 320px; margin: 0 auto; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 16px; }
.link-grid a {
  display: block; background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px;
}
.link-grid a span { display: block; color: var(--muted); font-weight: 400; font-size: 13.5px; margin-top: 4px; }
.crumbs { font-size: 13px; color: var(--muted); max-width: 720px; margin: 0 auto; padding: 16px 20px 0; }
.crumbs a { color: var(--muted); }
.lfooter-links { flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 480px) { .lnav-links { gap: 10px; } .lnav-cta { padding: 8px 14px; } }
a.dcard { display: block; text-decoration: none; color: inherit; }
