/* =========================================================
   משתני עיצוב מרכזיים
   כל הצבעים, הצללים והעיגולים החוזרים נשמרים כאן במקום
   לכתוב אותם מחדש בכל סלקטור.
   ========================================================= */
:root {
  --ink: #1b2340;
  --ink-soft: #45516f;
  --muted: #74809a;
  --purple: #6b5bd3;
  --purple-dark: #5142b4;
  --lavender: #f1efff;
  --mint: #e3f8f2;
  --mint-strong: #bcecdf;
  --page: #fbfcff;
  --surface: #ffffff;
  --surface-soft: #f6f7fb;
  --border: #e5e8f1;
  --shadow: 0 24px 60px rgba(50, 57, 102, 0.1);
  --radius-lg: 26px;
  --radius-md: 18px;
}


/* =========================================================
   איפוס וכללי בסיס
   החלק הזה אחראי להתנהגות אחידה של הדף בדפדפנים שונים.
   ========================================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--mint-strong);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

/* מיכל מרכזי שמגביל את רוחב התוכן */
.container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

/* איפוס קטן לכותרות ולפסקאות */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}


/* =========================================================
   אזור הפתיחה — Hero
   כולל את הרקע, הכותרת, הטקסט והכפתורים.
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 82% 14%,
      rgba(170, 157, 255, 0.19),
      transparent 26rem
    ),
    linear-gradient(
      125deg,
      #ffffff 0%,
      #f8f6ff 58%,
      #f1fcf9 100%
    );
}

/* עיגולי הרקע הדקורטיביים */
.hero-orb {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(107, 91, 211, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-one {
  top: -280px;
  left: 49%;
  width: 680px;
  height: 680px;
}

.hero-orb-two {
  top: -170px;
  left: 55%;
  width: 480px;
  height: 480px;
  border-color: rgba(92, 202, 179, 0.13);
}

/* פריסת שני הטורים: טקסט מצד אחד ותצוגת הבוט מצד שני */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(410px, 1.04fr);
  align-items: center;
  gap: 76px;
  min-height: 625px;
  padding-block: 82px 96px;
}

.hero-copy {
  max-width: 610px;
}

/* התווית הקטנה שמעל הכותרת */
.eyebrow,
.section-label {
  margin: 0;
  color: var(--purple);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 21px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 5px rgba(107, 91, 211, 0.1);
}

/* הכותרת הראשית */
h1 {
  max-width: 590px;
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 6.6vw, 5.75rem);
  font-weight: 800;
  letter-spacing: -0.07em;
}

h1 span,
.about-copy h2 span {
  color: var(--purple);
}

/* פסקת ההסבר */
.hero-description {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.85;
}

/* כפתורי הפתיחה */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  gap: 14px;
  color: var(--ink);
  background: var(--mint-strong);
  box-shadow: 0 12px 28px rgba(93, 181, 160, 0.16);
}

.button-primary:hover {
  box-shadow: 0 16px 34px rgba(93, 181, 160, 0.26);
}

.button-secondary {
  color: var(--ink-soft);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.76);
}

.button-secondary:hover {
  background: var(--surface);
}

.button-arrow {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  color: var(--surface);
  background: var(--ink);
  font-size: 0.94rem;
}

/* שלוש נקודות היתרון שמתחת לכפתורים */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 19px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-highlights b {
  color: var(--purple);
  font-size: 0.9rem;
}


/* =========================================================
   תצוגת הצ'אט הדקורטיבית
   זהו הכרטיס שמדמה שיחה עם הבוט בתוך אזור ה־Hero.
   ========================================================= */
.hero-visual {
  position: relative;
  display: grid;
  min-height: 500px;
  place-items: center;
}

/* טבעות הרקע שמאחורי הכרטיס */
.visual-ring {
  position: absolute;
  border: 1px solid rgba(107, 91, 211, 0.14);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.visual-ring-large {
  width: 620px;
  height: 390px;
}

.visual-ring-small {
  width: 470px;
  height: 305px;
  border-color: rgba(92, 202, 179, 0.14);
  transform: rotate(25deg);
}

/* הכרטיס הלבן שמכיל את הדמיית השיחה */
.chat-card {
  position: relative;
  z-index: 1;
  width: min(410px, 100%);
  overflow: hidden;
  border: 1px solid rgba(27, 35, 64, 0.1);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

/* שורת המותג והסטטוס בראש כרטיס הצ'אט */
.chat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 51px;
  padding: 0 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  background: #fcfcff;
  font-size: 0.72rem;
}

/*
   ב־HTML קיים כרגע chat-card-top פנימי נוסף.
   display: contents גורם לו לא ליצור שורת Flex נוספת,
   ולכן הלוגו והסטטוס מסתדרים באותה שורה של הכרטיס החיצוני.
*/
.chat-card-top > .chat-card-top {
  display: contents;
}

.chat-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* הלוגו האופקי בתוך שורת הכותרת */
.chat-brand-logo {
  display: block;
  width: 115px;
  max-width: 115px;
  height: auto;
  flex-shrink: 0;
}

/* סטטוס הבוט — order מציב אותו בצד ימין ב־RTL */
.chat-status {
  display: inline-flex;
  order: -1;
  align-items: center;
  flex-shrink: 0;
  gap: 6px;
  color: #319b65;
  font-weight: 700;
  white-space: nowrap;
}

.chat-status i,
.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #45bd79;
  box-shadow: 0 0 0 4px rgba(69, 189, 121, 0.1);
}

/* שורת הכותרת של הבוט בתוך הכרטיס */
.chat-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 23px 23px 19px;
}

.chat-card-title h2 {
  margin: 0 0 2px;
  font-size: 1.05rem;
}

.chat-card-title p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

/* שלוש הנקודות בצד הכותרת */
.more-dots {
  margin-inline-start: auto;
  color: #a2a9bb;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

/*
   האווטאר הקטן בתוך כרטיס הצ'אט.
   התמונה נשארת בתוך הריבוע ואינה נחתכת.
*/
.bot-avatar {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  place-items: center;
  border-radius: 15px 15px 15px 4px;
  background: transparent;
  font-size: 0;
}

.bot-avatar-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.bot-avatar::after,
.bot-card-avatar::after,
.bot-card-avatar2::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 6px;
  height: 6px;
  border: 2px solid #8b80d5;
  border-radius: 50%;
  content: "";
  background: var(--surface);
}

/* אזור ההודעות המדומה */
.conversation {
  display: flex;
  min-height: 246px;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding: 4px 23px 17px;
  background: #fbfbfe;
}

.conversation-time {
  align-self: center;
  margin-bottom: 4px;
  color: #a0a8ba;
  font-size: 0.68rem;
}

/* בועות ההודעות */
.bubble {
  max-width: 82%;
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  font-size: 0.81rem;
  line-height: 1.55;
}

.bubble-bot {
  color: var(--ink-soft);
  background: var(--lavender);
}

.bubble-user {
  align-self: flex-end;
  border-radius: 14px 14px 4px 14px;
  color: #245046;
  background: var(--mint);
}

/* שדה ההקלדה הדקורטיבי בתחתית הכרטיס */
.chat-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 0 14px 0 17px;
  border-top: 1px solid var(--border);
  color: #9aa2b5;
  background: var(--surface);
  font-size: 0.76rem;
}

.chat-input b {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 9px;
  color: var(--surface);
  background: var(--purple);
  font-size: 1rem;
}

/* תגיות המידע שמרחפות ליד כרטיס הצ'אט */
.visual-note {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid rgba(27, 35, 64, 0.09);
  border-radius: 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(50, 57, 102, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
}

.visual-note-top {
  top: 65px;
  right: 8px;
}

.visual-note-bottom {
  bottom: 61px;
  left: 3px;
  color: var(--purple-dark);
}

.note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #45bd79;
  box-shadow: 0 0 0 4px rgba(69, 189, 121, 0.1);
}

.note-spark {
  color: var(--purple);
  font-size: 1rem;
}


/* =========================================================
   אזור הפתרון וכרטיסי היתרונות
   ========================================================= */
.section {
  padding: 108px 0;
}

.solution-section {
  background: var(--surface-soft);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 45px;
}

/* תווית האזור — ללא שינוי אותיות אוטומטי */
.section-label {
  margin-bottom: 14px;
  text-transform: none;
}

.section-label-logo {
  display: block;
  width: 145px;
  height: auto;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 4.5vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.section-intro {
  max-width: 405px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  min-height: 280px;
  padding: 26px 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.feature-card:hover {
  border-color: #d4cdfb;
  box-shadow: 0 16px 34px rgba(50, 57, 102, 0.07);
  transform: translateY(-5px);
}

.feature-card-accent {
  border-color: #dcd6ff;
  background: linear-gradient(145deg, #faf9ff, var(--lavender));
}

.feature-number {
  color: #a29ae1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 38px 0 22px;
  place-items: center;
  border-radius: 15px 15px 15px 4px;
  color: var(--purple);
  background: var(--lavender);
  font-size: 1.35rem;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.feature-card p {
  max-width: 255px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}


/* =========================================================
   אזור הבוטים וכרטיס הבוט
   ========================================================= */
.bots-section {
  background: var(--surface);
}

.bot-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 31px 34px;
  border: 1px solid #ddd9f5;
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, #fcfbff, #f4f2ff);
  box-shadow: 0 18px 45px rgba(50, 57, 102, 0.07);
}

.bot-card-info {
  display: flex;
  align-items: center;
  gap: 19px;
}

/*
   שני הסלקטורים קיימים בגרסאות/חלקים שונים של ה־HTML:
   bot-card-avatar הוא האווטאר הרגיל,
   ו־bot-card-avatar2 הוא האווטאר שמכיל את לוגו סבונים.
   לכן שניהם מקבלים את מסגרת האווטאר הבסיסית.
*/
.bot-card-avatar,
.bot-card-avatar2 {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 24px 24px 24px 6px;
  color: var(--ink);
  background: linear-gradient(140deg, #bcb1ff, #a0e6dc);
  font-size: 2rem;
}

/*
   רק bot-card-avatar2 מכיל את מבנה התמונה המקונן.
   השימוש בסלקטור צאצא מונע ערבוב עם .bot-avatar
   שמייצג את האווטאר הקטן שבתצוגת הצ'אט.
*/
.bot-card-avatar2 {
  border-radius: 0;
  background: transparent;
  font-size: 0;
  overflow: visible;
}

.bot-card-avatar2 > .bot-avatar2 {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: visible;
  place-items: center;
  border-radius: 0;
  background: transparent;
}

.bot-card-avatar2 > .bot-avatar2 > .bot-avatar-logo2 {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
}

.bot-card-avatar::after {
  right: 10px;
  bottom: 10px;
  width: 8px;
  height: 8px;
}

/* אין נקודת סטטוס על הלוגו עצמו; הסטטוס מופיע ב־status-pill */
.bot-card-avatar2::after {
  display: none;
}

.bot-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 8px;
}

.bot-title-row h3 {
  margin: 0;
  font-size: 1.55rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #319b65;
  background: #e4f7eb;
  font-size: 0.68rem;
  font-weight: 750;
}

.status-pill i {
  width: 5px;
  height: 5px;
  box-shadow: none;
}

.bot-card-info p {
  max-width: 580px;
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.7;
}

.bot-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.bot-tags span {
  padding: 4px 10px;
  border: 1px solid #e0e2ef;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
}

.bot-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--purple-dark);
  font-size: 0.91rem;
  font-weight: 750;
  transition: transform 180ms ease, color 180ms ease;
}

.bot-link:hover {
  color: var(--purple);
  transform: translateX(-4px);
}

.link-arrow {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: var(--surface);
  background: var(--purple);
  font-size: 1rem;
}


/* =========================================================
   אזור אודות ופרטי ההזמנות
   ========================================================= */
.about-section {
  padding-top: 0;
  background: var(--surface);
}

.about-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px 48px;
  border: 1px solid #d8d4f8;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(
      circle at 20% 0%,
      rgba(255, 255, 255, 0.75),
      transparent 22rem
    ),
    linear-gradient(110deg, #f2f0ff, #effbf8);
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

/* מרווח ועיצוב מספר הטלפון */
#title2 {
  margin: 32px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
}


/* =========================================================
   תחתית האתר
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  gap: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-inner p {
  margin: 0;
}


/* =========================================================
   התאמות למסכים בינוניים
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .feature-card {
    padding-inline: 22px;
  }

  .bot-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .bot-link {
    align-self: flex-end;
  }
}


/* =========================================================
   התאמות למסכים קטנים וטלפונים
   ========================================================= */
@media (max-width: 720px) {
  .container {
    width: min(100% - 32px, 560px);
  }

  .hero-grid {
    min-height: 0;
    padding-block: 68px 78px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.45rem);
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-highlights {
    gap: 9px 14px;
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 435px;
  }

  .chat-card {
    width: min(390px, calc(100% - 16px));
  }

  .chat-brand-logo {
    width: 95px;
    max-width: 95px;
  }

  .visual-ring-large {
    width: 540px;
    height: 330px;
  }

  .visual-ring-small {
    width: 420px;
    height: 260px;
  }

  .visual-note-top {
    top: 19px;
    right: 0;
  }

  .visual-note-bottom {
    bottom: 10px;
    left: 0;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-intro {
    margin-top: 17px;
    font-size: 0.93rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-icon {
    margin-top: 28px;
  }

  .bot-card {
    padding: 25px 21px;
    border-radius: 21px;
  }

  .bot-card-info {
    align-items: flex-start;
    gap: 14px;
  }

  .bot-card-avatar {
    width: 61px;
    height: 61px;
    border-radius: 20px 20px 20px 5px;
    font-size: 1.65rem;
  }

  .bot-card-avatar2 {
    width: 61px;
    height: 61px;
    border-radius: 0;
    background: transparent;
  }

  .bot-card-avatar::after {
    right: 8px;
    bottom: 8px;
    width: 7px;
    height: 7px;
  }

  .bot-title-row h3 {
    font-size: 1.36rem;
  }

  .bot-card-info p {
    font-size: 0.86rem;
  }

  .bot-link {
    align-self: stretch;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #dedff0;
  }

  .about-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 31px 24px;
    border-radius: 21px;
  }

  .about-copy h2 {
    font-size: 2rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
    gap: 9px;
  }
}


/* =========================================================
   נגישות: משתמש שמעדיף פחות אנימציות
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
