/* ============================================================
   Think-AI - מערכת עיצוב ראשית
   ============================================================
   כאן מוגדרים כל המשתנים המרכזיים של האתר:
   צבעים, גדלי טיפוגרפיה, מרווחים, אנימציות, ועוד.
   שימוש במשתני CSS (CSS Variables) מאפשר שינוי גלובלי בקלות.
   ============================================================ */

:root {
  /* ===== צבעים ראשיים (AI Aesthetic 2026) ===== */
  --color-bg-primary: #0A0A1F;        /* רקע ראשי - כחול-שחור עמוק (יצירת תחושה של חלל/AI) */
  --color-bg-secondary: #0F0F2D;      /* רקע משני - לסקציות חלופיות */
  --color-bg-card: rgba(255, 255, 255, 0.03); /* רקע כרטיס שקוף - Glassmorphism */
  --color-bg-card-hover: rgba(255, 255, 255, 0.06); /* רקע כרטיס ב-hover */

  /* ===== צבעי מבטא (הצבעים הכי "זוהרים" באתר) ===== */
  --color-violet: #8B5CF6;            /* סגול נאון - הצבע הראשי של המותג */
  --color-violet-light: #A78BFA;      /* סגול בהיר יותר */
  --color-violet-dark: #7C3AED;       /* סגול כהה לגווני hover */
  --color-cyan: #06B6D4;              /* ציאן - "AI blue" טרנדי */
  --color-cyan-light: #22D3EE;        /* ציאן בהיר */
  --color-pink: #EC4899;              /* פינק נאון - למבטאים חזקים */
  --color-pink-light: #F472B6;        /* פינק רך */

  /* ===== גרדיאנטים (אפקטי לובי עיצוביים) ===== */
  --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 100%);  /* סגול→ציאן (הלוגו/כפתורים ראשיים) */
  --gradient-accent: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);    /* פינק→סגול (מבטאים) */
  --gradient-glow: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 50%, #EC4899 100%); /* הטרופינה המלאה - לכותרות */
  --gradient-dark: linear-gradient(180deg, #0A0A1F 0%, #1a1a3e 100%);     /* גרדיאנט רקע עדין */

  /* ===== טקסט ===== */
  --color-text-primary: #F8FAFC;      /* טקסט ראשי - לבן רך (לא לבן חריף) */
  --color-text-secondary: #CBD5E1;    /* טקסט משני - אפור-כחול */
  --color-text-muted: #94A3B8;        /* טקסט עמום - לתיאורים */
  --color-text-dim: #64748B;          /* טקסט מאוד עמום - footer וכו' */

  /* ===== גבולות ===== */
  --color-border: rgba(139, 92, 246, 0.2);     /* גבול סגלגל שקוף - לכרטיסים */
  --color-border-hover: rgba(139, 92, 246, 0.5); /* גבול בולט יותר ב-hover */

  /* ===== טיפוגרפיה ===== */
  --font-heading: 'Heebo', 'Rubik', system-ui, sans-serif;  /* לכותרות - Heebo עברי מודרני */
  --font-body: 'Rubik', 'Heebo', system-ui, sans-serif;     /* לטקסט רץ - Rubik קריא מאוד */
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;  /* לקוד/מספרים טכניים */

  /* גדלי טקסט - מבוססי קנה מידה מוסיקלי (Modular Scale) */
  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.875rem;   /* 14px */
  --text-base: 1rem;     /* 16px - בסיס */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.25rem;    /* 20px */
  --text-2xl: 1.5rem;    /* 24px */
  --text-3xl: 2rem;      /* 32px */
  --text-4xl: 2.5rem;    /* 40px */
  --text-5xl: 3rem;      /* 48px */
  --text-6xl: 4rem;      /* 64px */
  --text-7xl: 5rem;      /* 80px */
  --text-8xl: 6rem;      /* 96px */

  /* ===== מרווחים (Spacing) - סקאלה של 8px ===== */
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px */
  --space-6: 1.5rem;     /* 24px */
  --space-8: 2rem;       /* 32px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */
  --space-32: 8rem;      /* 128px */

  /* ===== רדיוסים (rounded corners) ===== */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-3xl: 2rem;     /* 32px */
  --radius-full: 9999px;  /* עיגול מלא */

  /* ===== אנימציות ===== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);    /* מעברים מהירים - hover על כפתורים */
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);    /* מעבר סטנדרטי */
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);    /* מעבר איטי - לכרטיסים גדולים */
  --transition-bounce: 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55); /* מעבר עם "קפיצה" */

  /* ===== צללים (Shadows) - כולל glow effects! ===== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-violet: 0 0 40px rgba(139, 92, 246, 0.4);  /* זוהר סגול - לכפתורים */
  --shadow-glow-cyan: 0 0 40px rgba(6, 182, 212, 0.4);     /* זוהר ציאן */
  --shadow-glow-pink: 0 0 40px rgba(236, 72, 153, 0.4);    /* זוהר פינק */

  /* ===== רוחב מקסימלי ל-container ===== */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* ===== Z-index - שכבות ===== */
  --z-background: -1;
  --z-default: 1;
  --z-sticky: 100;
  --z-navbar: 500;
  --z-modal: 1000;
  --z-tooltip: 1500;
}

/* ============================================================
   Reset וסגנון בסיס
   ============================================================ */

/* Reset מודרני - מאפסים את כל המרווחים והמידות ברירת המחדל */
*, *::before, *::after {
  box-sizing: border-box;   /* padding+border נכנסים לתוך הרוחב/גובה - הרבה יותר אינטואיטיבי */
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;  /* גלילה חלקה בכל האתר כשלוחצים על קישורי עוגן */
  -webkit-font-smoothing: antialiased; /* שיפור הרנדור של טקסט בדפדפני Webkit */
  -moz-osx-font-smoothing: grayscale;  /* שיפור רנדור ב-macOS */
}

body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;           /* מרווח שורות נוח לקריאה */
  min-height: 100vh;
  overflow-x: hidden;         /* מונע גלילה אופקית לא רצויה מאנימציות */
  direction: rtl;             /* כיוון מימין לשמאל לעברית */
}

/* כותרות - תמיד font-heading ובולד */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;           /* בולד חזק לכותרות */
  line-height: 1.2;           /* שורות צפופות יותר לכותרות */
  letter-spacing: -0.02em;    /* צמצום קל של אותיות - מראה יותר מקצועי */
}

/* קישורים - ללא קו תחתון, מעבר חלק */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* כפתורי ברירת מחדל - מאפסים סטיילינג */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* תמונות - responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   מחלקות עזר (Utility Classes)
   ============================================================ */

/* Container - עוטפן תוכן עם רוחב מקסימלי ומרווח צדדי */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* טקסט עם גרדיאנט (אפקט קסום לכותרות) */
.gradient-text {
  background: var(--gradient-glow);     /* הגרדיאנט המלא סגול-ציאן-פינק */
  -webkit-background-clip: text;         /* הגרדיאנט מתמלא רק בתוך הטקסט */
  -webkit-text-fill-color: transparent;  /* הטקסט עצמו שקוף - רואים את הגרדיאנט */
  background-clip: text;
  color: transparent;
}

/* ============================================================
   כפתורים - העיצוב הכי חשוב לקידום לידים
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  border-radius: var(--radius-full);      /* עיגול מלא - מראה מודרני */
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;                       /* חיוני לאפקטי shine/glow פנימיים */
  white-space: nowrap;
  border: 2px solid transparent;
}

/* כפתור ראשי - הגרדיאנט המלא עם זוהר */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow-violet);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02); /* קפיצה קלה למעלה + הגדלה - מרגיש חי */
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.6); /* זוהר חזק יותר */
}

/* כפתור משני - רק מסגרת, רקע שקוף - לפעולות משניות */
.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-violet);
}

.btn-secondary:hover {
  background: var(--color-violet);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

/* כפתור רפאים - רק טקסט, לקישורים משניים */
.btn-ghost {
  background: transparent;
  color: var(--color-text-secondary);
  padding: var(--space-3) var(--space-6);
}

.btn-ghost:hover {
  color: var(--color-violet-light);
}

/* אפקט "shine" (נצנוץ שעובר) על כפתור ראשי - מוסיף תחושת פרימיום */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;                          /* מתחיל מחוץ לכפתור מימין */
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: right 0.6s;                /* האנימציה - תנועה משמאל לימין */
}

.btn-primary:hover::before {
  right: 100%;                           /* יוצא משמאל - חוצה את הכפתור */
}

/* ============================================================
   Navigation (תפריט ניווט)
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: var(--z-navbar);
  padding: var(--space-4) 0;
  background: rgba(10, 10, 31, 0.7);              /* רקע שקוף */
  backdrop-filter: blur(20px);                     /* טשטוש החלק שמאחורי ה-navbar - Glassmorphism */
  -webkit-backdrop-filter: blur(20px);             /* תמיכה בסאפארי */
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

/* גרסה "מכווצת" של ה-navbar כשגוללים למטה */
.navbar.scrolled {
  padding: var(--space-3) 0;
  background: rgba(10, 10, 31, 0.9);               /* רקע יותר אטום אחרי גלילה */
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* לוגו */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: var(--text-xl);
  color: var(--color-text-primary);
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
}

/* רשימת קישורים */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-text-primary);
}

/* קו תחתון שזז מתחת לקישור פעיל (אפקט hover יפהפה) */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;                 /* הקו מתמלא מימין לשמאל */
}

.nav-link.active {
  color: var(--color-text-primary);
}

/* ============================================================
   Dropdown Menu - תפריט נפתח לניווט (לתעשיות)
   ============================================================ */

.nav-dropdown {
  position: relative;                  /* כדי שה-dropdown יתייחס אליו */
}

.dropdown-arrow {
  font-size: 10px;                     /* חץ קטן ליד הטקסט */
  margin-right: 4px;
  transition: transform var(--transition-fast);
  display: inline-block;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);           /* היפוך חץ כשפותחים */
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 240px;
  background: rgba(15, 15, 45, 0.98);  /* כמעט אטום - רקע תפריט */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-3);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-navbar);
  margin-top: var(--space-2);
}

/* פותח את ה-dropdown ב-hover על ההורה */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  color: var(--color-text-secondary);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: var(--text-sm);
  font-weight: 500;
}

.dropdown-menu a:hover {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-violet-light);
  padding-right: var(--space-5);       /* מזיז את הטקסט קצת - אפקט interactivity */
}

/* כפתור המבורגר למובייל */
.nav-toggle {
  display: none;               /* מוסתר בדסקטופ */
  flex-direction: column;
  gap: 4px;
  padding: var(--space-2);
  z-index: var(--z-modal);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

/* אנימציית המבורגר→X כשהתפריט פתוח */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   Hero Section - הסקציה הראשונה, הכי חשובה!
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;                               /* גובה מלא של המסך */
  padding: var(--space-32) 0 var(--space-20);      /* מרווח מלמעלה - שיהיה מקום ל-navbar */
  display: flex;
  align-items: center;
  overflow: hidden;                                /* מונע גלישה של האפקטים הזוהרים */
}

/* אפקטי רקע - כדורים זוהרים (Orbs) מטושטשים */
.hero-orbs {
  position: absolute;
  inset: 0;                                        /* inset: 0 = top/right/bottom/left: 0 */
  pointer-events: none;                            /* לא חוסם לחיצות */
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);                              /* טשטוש חזק - יוצר הילה זוהרת */
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;       /* אנימציית ריחוף */
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-violet);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-cyan);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--color-pink);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

/* אנימציית ריחוף של ה-orbs - תנועה אקראית עדינה */
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 1;                                      /* מעל ה-orbs */
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* תגית קטנה מעל הכותרת (Badge) */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--color-violet);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-violet-light);
  font-weight: 600;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-violet);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;         /* דופק - משדר "חי" */
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7); }
  50% { opacity: 0.7; box-shadow: 0 0 0 10px rgba(139, 92, 246, 0); }
}

/* הכותרת הגדולה של ה-hero */
.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);             /* גודל רספונסיבי - בין 40px ל-96px */
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease-out 0.1s both;    /* both = ההתחלה גם מחוץ לזמן */
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* אנימציה בסיסית - הופעה מלמטה עם fade-in */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* פס סטטיסטיקות מתחת ל-CTA */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-20);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 500;
}

/* ============================================================
   Sections - סקציות כלליות
   ============================================================ */

.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-16);
}

.section-tag {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--color-violet);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-violet-light);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  line-height: 1.6;
}

/* ============================================================
   Cards - כרטיסים (לשירותים, המלצות, וכו')
   ============================================================ */

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  backdrop-filter: blur(20px);           /* Glassmorphism */
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* אפקט כרטיס ב-hover - הילה צבעונית ותזוזה */
.card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-8px);           /* מרחף למעלה */
  box-shadow: var(--shadow-glow-violet);
}

/* "פס אור" בחלק העליון של הכרטיס - אפקט premium */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);                 /* מתחיל כאפס רוחב */
  transform-origin: right;              /* גדל מימין (כי RTL) */
  transition: transform var(--transition-base);
}

.card:hover::before {
  transform: scaleX(1);                 /* גדל לרוחב מלא ב-hover */
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-glow-violet);
}

.card-icon svg {
  width: 32px;
  height: 32px;
  color: white;
}

.card-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.card-description {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.card-list {
  list-style: none;
  margin-bottom: var(--space-6);
}

.card-list li {
  padding: var(--space-2) 0;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.card-list li::before {
  content: '✓';
  color: var(--color-violet);
  font-weight: bold;
}

/* ============================================================
   Grid Layouts - פריסות של כרטיסים
   ============================================================ */

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ============================================================
   Forms - טפסים (חיוני לטופס יצירת קשר)
   ============================================================ */

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.form-input,
.form-textarea,
.form-select {
  padding: var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  color: var(--color-text-primary);
  font-family: inherit;
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  direction: rtl;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-violet);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);   /* "halo" שקוף סביב השדה */
  background: rgba(255, 255, 255, 0.05);
}

/* ============================================================
   תיקון תצוגת ה-options בתוך select
   ----------------------------------------------------------------
   הבעיה: כאשר המשתמש לוחץ על select, הדפדפן פותח רשימת
   options עם רקע ברירת מחדל לבן (של מערכת ההפעלה),
   אבל הטקסט יורש את הצבע הלבן מה-select האב = לבן על לבן.
   הפתרון: להגדיר במפורש רקע כהה + טקסט לבן ל-options עצמם.
   הערה: זה עובד בכרום/Edge/פיירפוקס. ב-Safari העיצוב מוגבל
   בגלל שהוא משתמש ברנדרר native של macOS.
   ============================================================ */
.form-select option {
  background: var(--color-bg-secondary);   /* רקע כהה כמו של האתר */
  color: var(--color-text-primary);         /* טקסט לבן רך */
  padding: var(--space-2);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  font-family: inherit;
}

.form-error {
  color: var(--color-pink);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.form-success {
  padding: var(--space-4);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgb(34, 197, 94);
  border-radius: var(--radius-lg);
  color: rgb(74, 222, 128);
  text-align: center;
  font-weight: 600;
}

/* ============================================================
   FAQ Accordion - אקורדיון שאלות נפוצות
   ============================================================ */

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
  margin-bottom: var(--space-4);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
}

.faq-question {
  width: 100%;
  padding: var(--space-6);
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-violet-light);
}

/* אייקון ה-+/- בצד */
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  color: var(--color-violet-light);
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);             /* + הופך ל-x כשפתוח */
}

.faq-answer {
  max-height: 0;                         /* מתחיל סגור */
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  color: var(--color-text-secondary);
  padding: 0 var(--space-6);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;                    /* נפתח (מקסימום גדול מספיק לכל תוכן) */
  padding: 0 var(--space-6) var(--space-6);
}

/* ============================================================
   Footer (תחתית)
   ============================================================ */

.footer {
  padding: var(--space-20) 0 var(--space-8);
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.footer-brand p {
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 400px;
}

.footer-title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-violet-light);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-violet-light);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-violet);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-dim);
  font-size: var(--text-sm);
}

/* ============================================================
   Scroll Reveal - אלמנטים שמופיעים תוך כדי גלילה
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive - מובייל (מתחת ל-1024px, 768px, וכו')
   ============================================================ */

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* הסתרת התפריט הרגיל בניידים */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;                        /* מוסתר מימין (כי RTL) */
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg-secondary);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-8);
    transition: right var(--transition-base);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border);
    gap: var(--space-6);
  }

  .nav-links.active {
    right: 0;                            /* נכנס מימין */
  }

  .nav-toggle {
    display: flex;                       /* מציג את ההמבורגר */
  }

  .hero {
    padding-top: var(--space-24);
  }

  .form-row {
    grid-template-columns: 1fr;          /* שדות אחד מתחת לשני בנייד */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);  /* 2 סטטיסטיקות בשורה בנייד */
    gap: var(--space-6);
  }

  .stat-number {
    font-size: var(--text-4xl);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero-cta {
    flex-direction: column;              /* כפתורים אחד מתחת לשני */
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

/* ============================================================
   Utility animations נוספות
   ============================================================ */

/* אנימציית הופעה מהצד */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* אנימציית "הנשימה" - scale קטן הלוך ושוב */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* אנימציית "רטט" - לקבלת הודעות חשובות */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* סקרולבר מעוצב - מותאם לעיצוב */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-violet);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-violet-light);
}

/* סימון טקסט - הצבע שמופיע כשבוחרים טקסט */
::selection {
  background: var(--color-violet);
  color: white;
}

/* ============================================================
   Code Demo - דמו של מסוף עם שיחה (לדף Claude Code)
   מציג "צילום" של עבודה אמיתית - משדר professional + טכני
   ============================================================ */

.code-demo {
  background: #0d0d1a;                  /* שחור עמוק - כמו טרמינל אמיתי */
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  direction: ltr;                       /* המסוף תמיד LTR */
}

/* הכותרת של הטרמינל עם 3 נקודות (macOS style) */
.code-demo-header {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
}

.code-demo-dots {
  display: flex;
  gap: 6px;
}

.code-demo-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
}

.code-demo-dots span:nth-child(1) { background: #ff5f56; }  /* אדום - סגירה */
.code-demo-dots span:nth-child(2) { background: #ffbd2e; }  /* צהוב - מזעור */
.code-demo-dots span:nth-child(3) { background: #27c93f; }  /* ירוק - הגדלה */

.code-demo-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* גוף המסוף - כאן הטקסט של ה"שיחה" */
.code-demo-body {
  padding: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.8;
  min-height: 300px;
}

.code-line {
  margin-bottom: var(--space-2);
  color: var(--color-text-secondary);
}

.code-prompt {
  color: var(--color-violet-light);     /* סמל > בסגול */
  font-weight: bold;
  margin-left: 8px;
}

.code-user {
  color: var(--color-text-primary);     /* הטקסט של המשתמש בלבן */
}

.code-ai {
  color: var(--color-cyan-light);       /* פלט Claude בציאן */
  animation: typewriter 0.3s ease-in;   /* אפקט הקלדה קטן */
}

.code-file {
  color: var(--color-pink-light);       /* שמות קבצים בורוד */
  text-decoration: underline;
}

.code-cmd {
  background: rgba(139, 92, 246, 0.15);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--color-violet-light);
}

.code-success {
  color: #4ade80;                       /* ירוק - "success" */
  font-weight: bold;
}

.code-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--color-violet-light);
  animation: blink 1s infinite;         /* קורסור מהבהב */
  vertical-align: middle;
}

@keyframes typewriter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* ============================================================
   Comparison Table - טבלת השוואה בין Claude Code ל-אחרים
   ============================================================ */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-4) var(--space-5);
  text-align: right;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table thead {
  background: rgba(139, 92, 246, 0.1);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-primary);
}

.comparison-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.05);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table td.highlight {
  color: var(--color-violet-light);     /* קובע ייחודיות לעמודת Claude Code */
  font-weight: 600;
}

/* ============================================================
   WhatsApp Float Button - כפתור WhatsApp צף מימין למטה
   ============================================================ */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;                           /* בצד שמאל - לא מפריע לתוכן ב-RTL */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;                  /* ירוק WhatsApp הרשמי */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: var(--z-navbar);
  transition: all var(--transition-base);
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* דופק עדין - מזכיר למשתמש שאפשר ליצור קשר */
@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7); }
}

/* ============================================================
   Industry Hero - כותרת מיוחדת לדפי תעשיות
   ============================================================ */

.industry-hero {
  min-height: 70vh;
  position: relative;
  padding: var(--space-32) 0 var(--space-16);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.industry-icon-large {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-3xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-glow-violet);
  animation: breathe 3s ease-in-out infinite;
}

.industry-icon-large svg {
  width: 60px;
  height: 60px;
  color: white;
}

/* ============================================================
   Blog Article - עיצוב מאמר בלוג בודד
   ============================================================ */

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
  font-size: var(--text-lg);
  line-height: 1.9;
  color: var(--color-text-secondary);
}

.article-content h2 {
  font-size: var(--text-3xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}

.article-content h3 {
  font-size: var(--text-2xl);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--color-violet-light);
}

.article-content p {
  margin-bottom: var(--space-5);
}

.article-content ul,
.article-content ol {
  margin-bottom: var(--space-5);
  padding-right: var(--space-6);
}

.article-content li {
  margin-bottom: var(--space-2);
}

.article-content strong {
  color: var(--color-text-primary);
  font-weight: 700;
}

.article-content code {
  background: rgba(139, 92, 246, 0.15);
  color: var(--color-violet-light);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.9em;
  direction: ltr;
  display: inline-block;
}

.article-content pre {
  background: #0d0d1a;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  overflow-x: auto;
  margin-bottom: var(--space-6);
  direction: ltr;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.article-content pre code {
  background: none;
  padding: 0;
  color: var(--color-text-primary);
}

.article-content blockquote {
  border-right: 4px solid var(--color-violet);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-6) 0;
  background: rgba(139, 92, 246, 0.05);
  border-radius: var(--radius-md);
  font-style: italic;
  color: var(--color-text-primary);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  flex-wrap: wrap;
}

.article-tag {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid var(--color-violet);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--color-violet-light);
  font-weight: 600;
}

/* ============================================================
   Blog Article Advanced Components - אלמנטים מתקדמים למאמרים
   חיוני לחיזוק SEO/AEO/GEO ולמראה מקצועי כמו אתרי AI מובילים
   ============================================================ */

/* Table of Contents - תוכן עניינים בצד המאמר - מסייע למנועי AI להבין מבנה */
.toc-container {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  margin: var(--space-8) 0;
}

.toc-title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: var(--space-2);
  padding-right: var(--space-8);
  position: relative;
}

.toc-list li::before {
  content: counter(toc-counter);
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc-list a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
  display: inline-block;
  padding: 4px 0;
}

.toc-list a:hover {
  color: var(--color-violet-light);
}

/* Callout Boxes - תיבות התראה ומידע - חשוב לקריאות וניווט */
.callout {
  margin: var(--space-6) 0;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-xl);
  border-right: 4px solid;
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.callout-icon {
  font-size: var(--text-2xl);
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-content {
  flex: 1;
}

.callout-title {
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.callout-info {
  background: rgba(6, 182, 212, 0.08);
  border-color: #06B6D4;
}

.callout-info .callout-title {
  color: #06B6D4;
}

.callout-warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: #F59E0B;
}

.callout-warning .callout-title {
  color: #F59E0B;
}

.callout-success {
  background: rgba(16, 185, 129, 0.08);
  border-color: #10B981;
}

.callout-success .callout-title {
  color: #10B981;
}

.callout-tip {
  background: rgba(139, 92, 246, 0.08);
  border-color: var(--color-violet);
}

.callout-tip .callout-title {
  color: var(--color-violet-light);
}

/* Stats Grid - תיבות סטטיסטיקה - לתוכן עם נתונים מספריים */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.stat-box {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
  transition: transform var(--transition-base);
}

.stat-box:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* Key Takeaways Box - מסגרת "תובנות מרכזיות" - חזק במיוחד ל-AEO */
.key-takeaways {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
  border: 1px solid var(--color-violet);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin: var(--space-10) 0;
  position: relative;
}

.key-takeaways::before {
  content: '✨';
  position: absolute;
  top: -16px;
  right: var(--space-6);
  background: var(--color-bg-primary);
  padding: 0 var(--space-3);
  font-size: var(--text-2xl);
}

.key-takeaways-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.key-takeaways ul {
  margin: 0;
  padding-right: var(--space-6);
}

.key-takeaways li {
  margin-bottom: var(--space-3);
  color: var(--color-text-secondary);
}

/* FAQ Section במאמר - חיוני ל-AEO ול-FAQ Schema */
.article-faq {
  margin: var(--space-12) 0;
}

.article-faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-3);
  overflow: hidden;
  transition: all var(--transition-base);
}

.article-faq-item:hover {
  border-color: var(--color-violet);
}

.article-faq-question {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: var(--color-text-primary);
  font-size: var(--text-lg);
}

.article-faq-answer {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Pull Quote - ציטוט בולט באמצע המאמר */
.pull-quote {
  font-size: var(--text-2xl);
  font-weight: 600;
  font-style: italic;
  text-align: center;
  padding: var(--space-8) var(--space-6);
  margin: var(--space-10) 0;
  border-top: 2px solid var(--color-violet);
  border-bottom: 2px solid var(--color-violet);
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
  color: var(--color-text-primary);
  line-height: 1.5;
}

.pull-quote::before {
  content: '"';
  font-size: var(--text-5xl);
  color: var(--color-violet);
  display: block;
  line-height: 0.8;
  margin-bottom: var(--space-2);
}

/* Reading Progress Bar - בר התקדמות בקריאה */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(139, 92, 246, 0.1);
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  width: 0%;
  transition: width 0.1s ease;
}

/* Author Box - מסגרת מחבר */
.author-box {
  display: flex;
  gap: var(--space-5);
  align-items: center;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  margin: var(--space-10) 0;
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: var(--text-2xl);
  font-weight: 900;
  color: white;
}

.author-info h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
  color: var(--color-text-primary);
}

.author-info p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Related Topics - תגי קישור בסוף סעיף */
.related-topics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-6) 0;
}

.related-topic-tag {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all var(--transition-base);
}

.related-topic-tag:hover {
  background: var(--color-violet);
  color: white;
  border-color: var(--color-violet);
}

/* Hero של מאמר משופר - עם breadcrumbs ומידע נוסף */
.article-hero {
  padding: 140px 0 var(--space-12);
  position: relative;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.05), transparent);
}

.breadcrumbs {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--color-violet-light);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span.separator {
  opacity: 0.5;
}

/* Article Lead - פתיחה עם הדגשה */
.article-lead {
  font-size: var(--text-xl);
  line-height: 1.7;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   Responsive - Mobile - 768px and below
   התאמות מלאות למסכי מובייל - חיוני לתצוגת הבלוג בנייד
   ============================================================ */

@media (max-width: 768px) {
  /* ה-dropdown במובייל - לא מרחף, אלא נפתח בתוך התפריט */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: var(--space-2) var(--space-4);
    margin-top: 0;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 16px;
    left: 16px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  /* ============================================================
     Blog Article - תיקוני מובייל למאמרי בלוג
     ============================================================ */

  /* תוכן המאמר - פחות padding במובייל */
  .article-content {
    padding: var(--space-6) var(--space-4);
    font-size: var(--text-base);
    line-height: 1.7;
  }

  .article-content h2 {
    font-size: var(--text-2xl);
    margin-top: var(--space-8);
  }

  .article-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-6);
  }

  .article-content p {
    margin-bottom: var(--space-4);
  }

  /* Article Hero - הקטנת padding */
  .article-hero {
    padding: 100px 0 var(--space-8);
  }

  /* Article Lead - גודל קטן יותר */
  .article-lead {
    font-size: var(--text-lg);
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-6);
  }

  /* Article Meta - גלישה לשורות במובייל */
  .article-meta {
    gap: var(--space-2);
    font-size: var(--text-xs);
  }

  .article-meta span {
    flex-shrink: 0;
  }

  /* Breadcrumbs - גלישה במובייל */
  .breadcrumbs {
    font-size: var(--text-xs);
    margin-bottom: var(--space-3);
  }

  /* Reading Progress Bar - דק יותר במובייל */
  .reading-progress {
    height: 3px;
  }

  /* ============================================================
     Table of Contents - תוכן עניינים במובייל
     ============================================================ */
  .toc-container {
    padding: var(--space-4);
    margin: var(--space-6) 0;
  }

  .toc-title {
    font-size: var(--text-base);
    margin-bottom: var(--space-3);
  }

  .toc-list li {
    padding-right: var(--space-7);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
  }

  .toc-list li::before {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* ============================================================
     Callout Boxes - תיבות מידע במובייל - flex column
     ============================================================ */
  .callout {
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    margin: var(--space-5) 0;
  }

  .callout-icon {
    font-size: var(--text-xl);
  }

  .callout-title {
    font-size: var(--text-base);
  }

  /* ============================================================
     Stats Grid - 2 columns במובייל (לא 1)
     ============================================================ */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    margin: var(--space-6) 0;
  }

  .stat-box {
    padding: var(--space-4);
  }

  .stat-number {
    font-size: var(--text-2xl);
  }

  .stat-label {
    font-size: var(--text-xs);
  }

  /* ============================================================
     Comparison Tables - גלילה אופקית במובייל
     ============================================================ */
  .article-content {
    overflow-x: hidden;
  }

  .comparison-table {
    font-size: var(--text-sm);
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    white-space: normal;
    word-wrap: break-word;
  }

  /* ============================================================
     Pull Quote - הקטנה במובייל
     ============================================================ */
  .pull-quote {
    font-size: var(--text-lg);
    padding: var(--space-5) var(--space-4);
    margin: var(--space-6) 0;
    line-height: 1.4;
  }

  .pull-quote::before {
    font-size: var(--text-3xl);
  }

  /* ============================================================
     Key Takeaways - מובייל
     ============================================================ */
  .key-takeaways {
    padding: var(--space-5) var(--space-4);
    margin: var(--space-6) 0;
  }

  .key-takeaways-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
  }

  .key-takeaways ul {
    padding-right: var(--space-5);
  }

  .key-takeaways li {
    font-size: var(--text-sm);
  }

  /* ============================================================
     FAQ Section - מובייל
     ============================================================ */
  .article-faq-question {
    padding: var(--space-4);
    font-size: var(--text-base);
  }

  .article-faq-answer {
    padding: 0 var(--space-4) var(--space-4);
    font-size: var(--text-sm);
  }

  /* ============================================================
     Author Box - flex column במובייל
     ============================================================ */
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: var(--space-5);
    gap: var(--space-3);
  }

  .author-avatar {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }

  /* ============================================================
     Related Topics - מובייל
     ============================================================ */
  .related-topic-tag {
    padding: 6px 12px;
    font-size: var(--text-xs);
  }

  /* ============================================================
     Code Blocks במאמר - גלילה אופקית
     ============================================================ */
  .article-content pre {
    padding: var(--space-3);
    font-size: 12px;
    line-height: 1.5;
    border-radius: var(--radius-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .article-content code {
    font-size: 0.85em;
    padding: 2px 6px;
  }

  /* ============================================================
     Blockquotes במאמר
     ============================================================ */
  .article-content blockquote {
    padding: var(--space-3) var(--space-4);
    margin: var(--space-4) 0;
    font-size: var(--text-sm);
  }

  /* ============================================================
     CTA Boxes בסוף מאמר - תיקוני flex
     ============================================================ */
  .article-content > div[style*="background: linear-gradient"] {
    padding: var(--space-6) var(--space-4) !important;
  }

  .article-content > div[style*="background: linear-gradient"] h3 {
    font-size: var(--text-xl) !important;
  }

  .article-content > div[style*="background: linear-gradient"] p {
    font-size: var(--text-base) !important;
  }

  .article-content > div[style*="background: linear-gradient"] > div[style*="display: flex"] {
    flex-direction: column;
    gap: var(--space-2) !important;
  }

  .article-content > div[style*="background: linear-gradient"] .btn {
    width: 100%;
    text-align: center;
  }

  /* ============================================================
     Code Demo / Other Components
     ============================================================ */
  .code-demo-body {
    font-size: var(--text-xs);
    padding: var(--space-4);
  }

  /* ============================================================
     Featured Post בדף הבלוג - תיקון מובייל
     הקלפים הגדולים שמופיעים בדף הבלוג הראשי
     ============================================================ */

  /* card עם padding מוגזם - הקטנה משמעותית */
  .section .card[style*="padding: var(--space-12)"] {
    padding: var(--space-5) !important;
  }

  /* Grid 2 columns - הופך לעמודה אחת במובייל */
  .grid-2 {
    grid-template-columns: 1fr !important;
    gap: var(--space-5) !important;
  }

  /* SVG illustration גדול מדי - להקטין בכרטיס מובחר */
  .card div[style*="aspect-ratio: 16/10"] svg {
    width: 60px !important;
    height: 60px !important;
  }

  .card div[style*="aspect-ratio: 16/10"] {
    aspect-ratio: 16/9 !important;
  }

  /* כותרות h2 בתוך כרטיסים גדולים - הקטנה */
  .card[style] h2 {
    font-size: var(--text-2xl) !important;
    line-height: 1.3 !important;
  }

  /* פסקאות בתוך featured post */
  .card[style] p[style*="text-lg"] {
    font-size: var(--text-base) !important;
    line-height: 1.6 !important;
  }

  /* meta info של featured post - לעבור לשורות */
  .card[style] div[style*="display: flex"][style*="gap: var(--space-4)"] {
    flex-wrap: wrap;
    gap: var(--space-2) !important;
  }

  /* ============================================================
     Hero של מאמרים - h1 גדול מדי במובייל
     ============================================================ */
  .article-hero h1 {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  .article-hero p[style*="text-xl"] {
    font-size: var(--text-base) !important;
    line-height: 1.5 !important;
  }
}

/* ============================================================
   Mobile Small - 480px ומטה
   התאמות נוספות למסכים קטנים במיוחד
   ============================================================ */

@media (max-width: 480px) {
  /* Stats Grid - שורה אחת במסך קטן מאוד */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* כותרת מאמר - גודל נוח לקריאה */
  .article-content h2 {
    font-size: var(--text-xl);
  }

  /* הקטנת ה-toc */
  .toc-list li {
    font-size: var(--text-xs);
  }

  /* CTA padding */
  .article-content > div[style*="background: linear-gradient"] {
    padding: var(--space-5) var(--space-3) !important;
  }

  /* Article meta - שורה אחת חכמה */
  .article-meta {
    gap: var(--space-1);
    font-size: 11px;
  }

  /* Pull quote קטן יותר */
  .pull-quote {
    font-size: var(--text-base);
    padding: var(--space-4) var(--space-3);
  }
}
