/* ============================================================
   פופו דיגיטל — הצעה ואפיון | אוריאן שירותי סיעוד
   מערכת עיצוב: שחור #1a1c25 · אדום #e42544 · אפור/לבן #fafafa
   ללא צהוב/זהב. גרדיאנטים בגווני אדום בלבד.
   אייקונים: lucide.dev (סְפרייט SVG מוטמע).
   תנועה: כניסת תוכן בגלילה בלבד. RTL. מוכן להדפסה.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800;900&display=swap');

:root {
  /* ── מעטפת פופו דיגיטל ── */
  --ink:                #1a1c25;   /* שחור ראשי */
  --red:                #e42544;   /* אדום מותג */
  --paper:              #fafafa;   /* אפור/לבן משני */

  /* גווני עומק — נגזרים מהשחור הראשי בלבד */
  --bg:                 #1a1c25;
  --bg-2:               #141620;
  --surface:            #21242f;
  --surface-2:          #2a2d3a;

  /* גווני אדום — כולם אותו גוון, בהירות שונה */
  --red-light:          #ff5c72;
  --red-deep:           #a01029;
  --red-dim:            rgba(228, 37, 68, 0.13);
  --red-dim-2:          rgba(228, 37, 68, 0.06);
  --red-glow:           rgba(228, 37, 68, 0.40);
  --red-border:         rgba(228, 37, 68, 0.32);

  --text:               #fafafa;
  --text-muted:         rgba(250, 250, 250, 0.64);
  --text-dimmer:        rgba(250, 250, 250, 0.40);

  --glass-bg:           rgba(250, 250, 250, 0.030);
  --glass-bg-hover:     rgba(250, 250, 250, 0.050);
  --glass-border:       rgba(250, 250, 250, 0.085);
  --glass-border-hover: rgba(250, 250, 250, 0.16);

  /* ── מותג אוריאן שירותי סיעוד ──
     לשימוש אך ורק בסקשן "תצוגה מקדימה של המותג". */
  --orian-deep:         #351a3e;
  --orian:              #602c71;
  --orian-soft:         #a976b2;
  --orian-white:        #ffffff;

  --font:               'Assistant', 'Segoe UI', Arial, sans-serif;

  --radius-sm:          10px;
  --radius-md:          18px;
  --radius-lg:          26px;

  --ease:               cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition:         0.35s var(--ease);
  --transition-fast:    0.18s var(--ease);

  --shadow-card:        0 4px 24px rgba(0,0,0,0.38), 0 1px 3px rgba(0,0,0,0.28);
}

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  direction: rtl;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 12% 0%, var(--red-dim-2), transparent 62%),
    radial-gradient(ellipse 55% 38% at 100% 22%, rgba(228,37,68,0.045), transparent 62%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 1;
}

/* ── אייקונים (lucide) ────────────────────────────────────── */
.icon {
  width: 1em; height: 1em; flex-shrink: 0;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -0.125em;
}
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ── SHARED PRIMITIVES ────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
}

.section { padding: 64px 0; }

.section-header { text-align: center; max-width: 660px; margin: 0 auto 40px; }
.section-header p { color: var(--text-muted); margin-top: 10px; font-size: 1.05rem; }

.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--red-light);
  background: var(--red-dim);
  border: 1px solid var(--red-border);
  padding: 6px 14px; border-radius: 999px;
}
.section-label .icon { width: 0.95em; height: 0.95em; }

h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; line-height: 1.22; margin-top: 16px; }
h2 { font-size: clamp(1.55rem, 3.3vw, 2.15rem); font-weight: 800; line-height: 1.3; }
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.4; }

/* גרדיאנט אדום בלבד — אף פעם לא צהוב/כתום */
.gradient-text {
  background: linear-gradient(100deg, var(--red-light) 0%, var(--red) 52%, var(--red-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.red-text { color: var(--red-light); }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.87rem; color: var(--text-muted);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  padding: 8px 14px; border-radius: 999px;
}
.badge strong { color: var(--text); font-weight: 700; }
.badge .icon { color: var(--red-light); }

.cta-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--red); color: var(--paper); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 8px 28px var(--red-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px var(--red-glow); }

.cta-btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--glass-border-hover); box-shadow: none;
}
.cta-btn--ghost:hover { border-color: var(--red-border); background: var(--red-dim-2); }

.trust-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.88rem; color: var(--text-muted); }
.trust-item .icon { color: var(--red-light); width: 1.05em; height: 1.05em; }

/* ── HERO — תוכן ממורכז ─────────────────────────────────── */
.hero { padding: 44px; position: relative; }

.hero__content {
  display: flex; flex-direction: column; gap: 24px;
  align-items: center; text-align: center;
}

.hero__brand { display: flex; align-items: center; gap: 18px; width: 100%; margin-bottom: 4px; }
.brand-logo { height: 34px; width: auto; }
.hero__brand-line { flex: 1; height: 1px; }
/* ב-RTL: הראשון נמצא מימין, האחרון משמאל — כל אחד דוהה כלפי חוץ */
.hero__brand-line:first-child { background: linear-gradient(90deg, var(--glass-border-hover), transparent); }
.hero__brand-line:last-child  { background: linear-gradient(90deg, transparent, var(--glass-border-hover)); }

.hero__meta { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 2px 0; }

.hero__summary { max-width: 780px; }
.hero__summary h3 { display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 10px; }
.hero__summary h3 .icon { color: var(--red-light); }
.hero__summary p { color: var(--text-muted); font-size: 1.02rem; }

.hero__cta-row {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 100%; margin-top: 4px; padding-top: 26px; border-top: 1px solid var(--glass-border);
}
.hero__cta-row .trust-badges { justify-content: center; }

/* פרזנטור-אריה */
.hero__lion {
  width: 130px; height: auto; margin: 4px auto 0;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.45));
}

/* בדסקטופ: הטקסט מיושר לימין (לא ממורכז), והאריה בעמודה שמאלית לכל גובה ההרו.
   המירכוז נשאר למובייל/טאבלט בלבד. */
@media (min-width: 900px) {
  .hero__content { align-items: flex-start; text-align: right; }
  .hero__brand-line:first-child { display: none; }
  .hero__meta { justify-content: flex-start; }
  .hero__summary h3 { justify-content: flex-start; }
  .hero__cta-row { align-items: flex-start; }
  .hero__cta-row .trust-badges { justify-content: flex-start; }

  .hero--lion {
    display: grid; grid-template-columns: 1fr 290px; gap: 30px;
    padding-bottom: 0;
  }
  .hero--lion .hero__content { padding-bottom: 44px; }
  .hero--lion .hero__lion { align-self: end; width: 100%; margin: 0; }
}

/* ── כרטיסיות תוכן (לפי נושא — ללא מספור שלבים) ──────────── */
/* כרטיסייה אחת אחרי השנייה — טור אחד, קריאה רציפה גם בדסקטופ וגם במובייל.
   רוחב מוגבל כדי לשמור על אורך שורה נוח לקריאה בדף הרחב. */
.grid-topics {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  max-width: 880px; margin-inline: auto;
}

.card--topic { padding: 30px; }

.card__header { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.topic-icon-wrap {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: var(--red-dim); border: 1px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
}
.topic-icon-wrap .icon { width: 24px; height: 24px; color: var(--red-light); }

.card--topic p { color: var(--text-muted); font-size: 0.98rem; }
.card--topic p + p { margin-top: 12px; }
.card--topic p strong { color: var(--text); font-weight: 700; }

.card--legal { border-color: var(--red-border); }

.feature-list { margin-top: 14px; }
.feature-list li {
  position: relative; padding-right: 20px; margin-bottom: 11px;
  color: var(--text-muted); font-size: 0.95rem;
}
.feature-list li:last-child { margin-bottom: 0; }
.feature-list li::before {
  content: ''; position: absolute; right: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red-light);
}
.feature-list strong { color: var(--text); font-weight: 700; }

/* ── תצוגה מקדימה של המותג (אוריאן שירותי סיעוד) ─────────── */
.brand-preview { padding: 34px; display: flex; flex-direction: column; gap: 26px; }

.brand-assets { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.brand-asset {
  background: var(--orian-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 26px; display: flex; align-items: center; justify-content: center;
  min-height: 150px;
}
.brand-asset img { max-height: 108px; width: auto; object-fit: contain; }
.brand-asset--icon img { max-height: 88px; }

.brand-asset-caption {
  font-size: 0.78rem; color: var(--text-dimmer); text-align: center; margin-top: 8px;
}

.swatch-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swatch {
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--glass-border);
}
.swatch__color { height: 66px; }
.swatch__label {
  padding: 8px 10px; font-size: 0.76rem; color: var(--text-muted); background: var(--surface);
  display: flex; flex-direction: column; gap: 2px;
}
.swatch__hex { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.72rem; color: var(--text-dimmer); direction: ltr; text-align: right; }

/* ── פס הדומיין ───────────────────────────────────────────── */
/* אותו רוחב בדיוק כמו כרטיסיות "מה כלול בפרויקט" שמעליו */
.domain-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 20px 28px; flex-wrap: wrap;
  max-width: 880px; margin-inline: auto;
}
.domain-strip__name {
  font-family: ui-monospace, Menlo, Consolas, monospace; direction: ltr;
  font-size: 1.15rem; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.domain-strip__name .icon { width: 20px; height: 20px; color: var(--red-light); }
.domain-strip__status {
  font-size: 0.75rem; font-weight: 700; color: var(--red-light);
  background: var(--red-dim); border: 1px solid var(--red-border);
  padding: 3px 12px; border-radius: 999px;
}

/* ── מחיר ─────────────────────────────────────────────────── */
.grid-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.price-card { padding: 32px; display: flex; flex-direction: column; gap: 15px; }
.price-card--featured { border-color: var(--red-border); box-shadow: var(--shadow-card), 0 0 50px var(--red-dim-2); }
.price-card__tag {
  align-self: flex-start; font-size: 0.75rem; font-weight: 700; color: var(--red-light);
  background: var(--red-dim); border: 1px solid var(--red-border);
  padding: 4px 12px; border-radius: 999px;
}
.price-display { display: flex; align-items: baseline; gap: 6px; margin: 2px 0; }
.price-amount { font-size: 2.6rem; font-weight: 900; line-height: 1; }
.price-currency { font-size: 1.3rem; font-weight: 700; color: var(--text-muted); }
.price-alt { font-size: 0.92rem; color: var(--text-muted); }
.price-alt strong { color: var(--text); }
.price-note { font-size: 0.84rem; color: var(--text-dimmer); }
.price-card .cta-btn { margin-top: auto; }

/* ── תנאים ────────────────────────────────────────────────── */
.grid-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-terms .card { padding: 30px; }

.alert-box {
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--red-dim-2); border-right: 3px solid var(--red);
  font-size: 0.9rem; color: var(--text-muted);
  display: flex; gap: 11px; align-items: flex-start;
}
.alert-box .icon { width: 19px; height: 19px; color: var(--red-light); margin-top: 3px; }
.alert-box strong { color: var(--text); }

/* ── עמוד הריטיינר ───────────────────────────────────────── */
.tier-card { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.tier-card__head { display: flex; align-items: center; gap: 13px; }
.tier-card__head .icon { width: 22px; height: 22px; color: var(--red-light); flex-shrink: 0; }
.tier-price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.tier-price strong { font-size: 1.9rem; font-weight: 900; line-height: 1.1; }
.tier-price del { color: var(--text-dimmer); font-size: 1.05rem; }
.tier-price span { color: var(--text-muted); font-size: 0.92rem; }
.tier-note { font-size: 0.84rem; color: var(--text-dimmer); }
.discount-tag {
  align-self: flex-start;
  font-size: 0.73rem; font-weight: 700; color: var(--red-light);
  background: var(--red-dim); border: 1px solid var(--red-border);
  padding: 3px 11px; border-radius: 999px;
}

.gift-box {
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--red-dim-2); border: 1px dashed var(--red-border);
  font-size: 0.93rem; color: var(--text-muted);
  display: flex; gap: 11px; align-items: flex-start;
}
.gift-box .icon { width: 20px; height: 20px; color: var(--red-light); margin-top: 2px; }
.gift-box strong { color: var(--text); }

.sub-block {
  margin-top: 4px; padding-top: 16px; border-top: 1px solid var(--glass-border);
}
.sub-block h4 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.sub-block h4 .icon { width: 18px; height: 18px; color: var(--red-light); }
.sub-block p { color: var(--text-muted); font-size: 0.94rem; }

.grid-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-chip {
  padding: 22px 14px; text-align: center; font-size: 0.9rem; color: var(--text-muted);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.service-chip:hover { border-color: var(--red-border); background: var(--red-dim-2); }
.service-chip .icon { width: 26px; height: 26px; color: var(--red-light); }

/* ── DIVIDER ──────────────────────────────────────────────── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border), transparent); margin: 8px 0; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { text-align: center; padding: 48px 0 16px; color: var(--text-dimmer); }
.site-footer .brand-logo { height: 30px; margin: 0 auto 16px; }
.site-footer a { color: var(--red-light); }
.site-footer .validity { color: var(--text-muted); }
.site-footer .validity strong { color: var(--text); }
.footer-copy { font-size: 0.78rem; margin-top: 8px; }

/* ── כפתור הדפסה / PDF ────────────────────────────────────── */
.fab {
  position: fixed; bottom: 24px; left: 24px; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--glass-border-hover); border-radius: 999px;
  padding: 12px 18px; font-family: var(--font); font-size: 0.85rem; font-weight: 700;
  cursor: pointer; box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}
.fab:hover { background: var(--red-dim); border-color: var(--red-border); }
.fab .icon { width: 16px; height: 16px; }

/* ── כניסת תוכן בגלילה ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.03s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.21s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.27s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.39s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .cta-btn:hover { transform: none; }
}

/* ── רספונסיביות ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .brand-assets { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .page-wrapper { padding: 32px 16px 72px; }
  .hero { padding: 26px; }
  .grid-terms, .grid-pricing { grid-template-columns: 1fr; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .swatch-row { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
  .brand-preview, .card--topic, .price-card, .tier-card, .grid-terms .card { padding: 24px; }
}

/* ── הדפסה ────────────────────────────────────────────────── */
@media print {
  .fab { display: none; }
  html, body { background: #fff !important; color: #1a1c25; }
  body { background-image: none !important; }
  .page-wrapper { max-width: 100%; padding: 0; }
  .card { background: #fff; border-color: #ddd; box-shadow: none; backdrop-filter: none; }
  .gradient-text, .red-text { color: var(--red) !important; -webkit-text-fill-color: var(--red) !important; }
  .badge, .section-label, .price-card__tag, .discount-tag, .domain-strip__status { color: var(--red) !important; }
  .card--topic p, .feature-list li, .section-header p, .tier-note, .price-note,
  .hero__summary p, .swatch__label, .gift-box, .alert-box, .sub-block p, .service-chip { color: #3a3d4a !important; }
  .feature-list strong, .card--topic p strong, .badge strong { color: #1a1c25 !important; }
  /* לוגו פופו דיגיטל בהיר — היפוך כדי שייראה על נייר לבן */
  .brand-logo { filter: invert(1) brightness(0.3); }
  .section { padding: 26px 0; page-break-inside: avoid; }
  .card { page-break-inside: avoid; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}
