/* ============================================================
   Bot-Traffic - בית תוכנה | עיצוב ראשי
   RTL · Dark futuristic · WCAG 2.1 AA
   ============================================================ */

:root {
  --bg: #04060f;
  --bg-2: #080c1c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e8ecf8;
  --text-dim: #a3adc9;
  --accent: #00e5ff;
  --accent-2: #7c4dff;
  --accent-3: #ff4ecd;
  --grad: linear-gradient(90deg, #00e5ff, #7c4dff 55%, #ff4ecd);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --header-h: 74px;
  --font: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-en: 'Space Grotesk', 'Heebo', monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: #7df3ff; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; }

::selection { background: rgba(124, 77, 255, 0.55); color: #fff; }

/* ---------- נגישות: מקלדת ודילוג ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  right: 16px;
  z-index: 2000;
  background: var(--accent);
  color: #04121a;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 0 0 12px 12px;
  transition: top 0.25s;
}
.skip-link:focus { top: 0; color: #04121a; }

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

/* ---------- רקע דקורטיבי ---------- */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.35;
  animation: orbFloat 18s var(--ease) infinite alternate;
}
.orb-1 { width: 520px; height: 520px; background: #0a4d63; top: -160px; inset-inline-start: -120px; }
.orb-2 { width: 460px; height: 460px; background: #2b1a66; bottom: -140px; inset-inline-end: -100px; animation-delay: -6s; }
.orb-3 { width: 380px; height: 380px; background: #4d1050; top: 42%; inset-inline-start: 38%; animation-delay: -12s; opacity: 0.22; }

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -50px, 0) scale(1.15); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 140, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 140, 220, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 40%, transparent 100%);
}

/* ---------- מבנה כללי ---------- */
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 24px; }

section { padding: 96px 0; position: relative; }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 1.1rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradShift 6s linear infinite;
}
@keyframes gradShift { to { background-position: 200% center; } }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 34px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}
.btn-sm { padding: 10px 22px; font-size: 0.92rem; }

.btn-primary {
  background: var(--grad);
  background-size: 200% auto;
  color: #051018;
  box-shadow: 0 10px 34px rgba(0, 229, 255, 0.28);
}
.btn-primary:hover {
  background-position: 100% center;
  transform: translateY(-3px);
  box-shadow: 0 16px 44px rgba(124, 77, 255, 0.4);
  color: #051018;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.15);
}

/* ---------- כותרת עליונה ---------- */
.site-header {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.site-header.scrolled {
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-text {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
.logo-accent { color: var(--accent); }
.logo:hover .logo-text { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
  display: block;
  padding: 9px 16px;
  color: var(--text-dim);
  font-weight: 500;
  border-radius: 100px;
  position: relative;
  transition: color 0.25s, background 0.25s;
}
.main-nav ul a:hover { color: #fff; background: var(--surface-2); }
.main-nav ul a.active { color: #fff; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 0 80px;
  position: relative;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 900px; margin-inline: auto; }

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 900;
  margin: 18px 0 22px;
}

.hero-type {
  display: block;
  min-height: 1.3em;
}
.type-cursor { color: var(--accent); animation: blink 0.9s step-end infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 26px;
  right: 50%;
  transform: translateX(50%);
  color: var(--text-dim);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounceY 2.2s ease-in-out infinite;
}
@keyframes bounceY { 0%, 100% { transform: translateX(50%) translateY(0); } 50% { transform: translateX(50%) translateY(10px); } }

/* ---------- פס נתונים ---------- */
.stats-strip { padding: 0 0 40px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  direction: ltr;
}
.stat-label { color: var(--text-dim); font-size: 0.95rem; margin-top: 4px; }

/* ---------- מארקי טכנולוגיות ---------- */
.tech-marquee { padding: 40px 0; overflow: hidden; border-block: 1px solid var(--border); background: rgba(255,255,255,0.015); }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.tech-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }
.tech-chip {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px 26px;
  border-radius: 100px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.tech-chip:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- כרטיסי שירותים ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.35);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(124, 77, 255, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--accent);
  margin-bottom: 22px;
}
.card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 0.98rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; }

/* ---------- יתרונות ---------- */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { text-align: center; padding: 30px 22px; border-radius: var(--radius); transition: background 0.3s; }
.feature:hover { background: var(--surface); }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.12), rgba(124, 77, 255, 0.12));
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--accent);
  margin-bottom: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.feature:hover .feature-icon { transform: translateY(-4px) scale(1.06); box-shadow: 0 12px 30px rgba(0, 229, 255, 0.18); }
.feature h3 { font-size: 1.1rem; margin-bottom: 10px; }
.feature p { color: var(--text-dim); font-size: 0.92rem; }

/* ---------- תהליך עבודה ---------- */
.process { counter-reset: step; }
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.process-track::before {
  content: '';
  position: absolute;
  top: 34px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,78,205,.5), rgba(124,77,255,.5), rgba(0,229,255,.5));
}
.step { text-align: center; position: relative; }
.step-dot {
  counter-increment: step;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--accent-2);
  font-family: var(--font-en);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.step-dot::after { content: counter(step, decimal); }
.step:hover .step-dot { transform: scale(1.12); box-shadow: 0 0 34px rgba(0, 229, 255, 0.35); }
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { color: var(--text-dim); font-size: 0.88rem; }

/* ---------- סיפורי הצלחה ---------- */
.case-card { display: flex; flex-direction: column; }
.case-tag {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-3);
  background: rgba(255, 78, 205, 0.1);
  border: 1px solid rgba(255, 78, 205, 0.3);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.case-metrics { display: flex; gap: 22px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.case-metric strong { display: block; font-family: var(--font-en); font-size: 1.4rem; color: var(--accent); direction: ltr; }
.case-metric span { color: var(--text-dim); font-size: 0.82rem; }

/* ---------- המלצות ---------- */
.testimonials-box { max-width: 820px; margin-inline: auto; position: relative; }
.testimonial {
  display: none;
  text-align: center;
  padding: 46px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.testimonial.active { display: block; animation: fadeUp 0.6s var(--ease); }
.testimonial blockquote { font-size: 1.25rem; font-weight: 500; margin-bottom: 22px; }
.testimonial cite { color: var(--text-dim); font-style: normal; font-size: 0.95rem; }
.testimonial cite strong { color: var(--text); display: block; font-size: 1.02rem; }
.testi-dots { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.testi-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--text-dim);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.testi-dots button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); transform: scale(1.25); }

/* ---------- שאלות נפוצות ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: start;
  padding: 20px 24px;
  cursor: pointer;
}
.faq-q .faq-icon { transition: transform 0.35s var(--ease); color: var(--accent); flex-shrink: 0; }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--text-dim); }

/* ---------- CTA ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 0%, rgba(124, 77, 255, 0.18), transparent),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='rgba(0,229,255,0.09)' stroke-width='1'%3E%3Cpath d='M10 40h60l20 20v50M110 10v40l25 25h55M200 130h-50l-20 20v60M40 210v-45l-25-25'/%3E%3C/g%3E%3Cg fill='rgba(0,229,255,0.22)'%3E%3Ccircle cx='10' cy='40' r='2.5'/%3E%3Ccircle cx='90' cy='110' r='2.5'/%3E%3Ccircle cx='110' cy='10' r='2.5'/%3E%3Ccircle cx='190' cy='75' r='2.5'/%3E%3Ccircle cx='200' cy='130' r='2.5'/%3E%3Ccircle cx='130' cy='210' r='2.5'/%3E%3Ccircle cx='40' cy='210' r='2.5'/%3E%3Ccircle cx='15' cy='140' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 34px; font-size: 1.1rem; }

/* ---------- דפי תוכן פנימיים ---------- */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 70px;
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.page-hero p { color: var(--text-dim); max-width: 700px; margin-inline: auto; font-size: 1.15rem; }

.service-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-of-type { border-bottom: none; }
.service-block:nth-child(even) .service-visual { order: -1; }
.service-block h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 16px; }
.service-block > div > p { color: var(--text-dim); margin-bottom: 18px; }

.check-list { display: grid; gap: 10px; margin: 20px 0; }
.check-list li { position: relative; padding-inline-start: 32px; color: var(--text-dim); }
.check-list li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #051018;
  background: var(--grad);
  border-radius: 50%;
}

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
a.chip { transition: border-color 0.25s, color 0.25s, transform 0.25s; }
a.chip:hover { border-color: var(--accent); color: #7df3ff; transform: translateY(-2px); }
.chip {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.22);
  padding: 6px 16px;
  border-radius: 100px;
}

.service-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: '';
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent, rgba(0, 229, 255, 0.1), transparent 30%);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.service-visual span { position: relative; z-index: 1; }
.service-visual > svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 320px;
  filter: drop-shadow(0 10px 30px rgba(0, 229, 255, 0.1));
}

/* ---------- אנימציות SVG עדינות ---------- */
.svg-pulse   { animation: svgPulse 2.6s ease-in-out infinite; }
.svg-pulse-2 { animation: svgPulse 2.6s ease-in-out 1.3s infinite; }
@keyframes svgPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.svg-float, .svg-float-2 { transform-box: fill-box; transform-origin: center; }
.svg-float   { animation: svgFloat 5.5s ease-in-out infinite; }
.svg-float-2 { animation: svgFloat 6.5s ease-in-out -3s infinite; }
@keyframes svgFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.svg-dash { stroke-dasharray: 7 7; animation: svgDash 1.6s linear infinite; }
@keyframes svgDash { to { stroke-dashoffset: -28; } }

.svg-rotate     { animation: svgRotate 14s linear infinite; }
.svg-rotate-rev { animation: svgRotateRev 11s linear infinite; }
@keyframes svgRotate    { to { transform: rotate(360deg); } }
@keyframes svgRotateRev { to { transform: rotate(-360deg); } }

/* ---------- סצנת הירו ---------- */
.hero-scene {
  max-width: 1080px;
  margin: 64px auto 0;
  position: relative;
  z-index: 1;
  -webkit-mask-image: linear-gradient(#000 72%, transparent 100%);
  mask-image: linear-gradient(#000 72%, transparent 100%);
}
.hero-scene svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0, 80, 120, 0.35));
}

/* ---------- דפי טקסט משפטי ---------- */
.legal-content { max-width: 860px; margin-inline: auto; padding-bottom: 40px; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 14px; color: #fff; }
.legal-content h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.legal-content p, .legal-content li { color: var(--text-dim); margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-inline-start: 26px; }
.legal-content ol { padding-inline-start: 26px; }
.legal-updated { font-size: 0.9rem; color: var(--text-dim); border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 12px 18px; display: inline-block; }

/* ---------- מאמרים ---------- */
.crumbs { font-size: 0.88rem; color: var(--text-dim); margin-bottom: 18px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.crumbs a { color: var(--text-dim); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-top: 22px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta svg { color: var(--accent); }

.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.article-layout > * { min-width: 0; }

.toc-box {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.toc-box summary {
  font-size: 1.02rem;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.toc-box summary::-webkit-details-marker { display: none; }
.toc-box summary::after {
  content: '▾';
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}
.toc-box[open] summary::after { transform: rotate(180deg); }
.toc-box[open] summary { margin-bottom: 14px; }
.toc-box ol { list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.toc-box li { counter-increment: toc; }
.toc-box a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: background 0.25s, color 0.25s;
}
.toc-box a::before { content: counter(toc) '. '; color: var(--accent); font-family: var(--font-en); }
.toc-box a:hover { background: var(--surface-2); color: #fff; }

.article-body { max-width: 780px; min-width: 0; overflow-wrap: break-word; }
.article-body .article-lead { font-size: 1.18rem; color: var(--text); font-weight: 500; margin-bottom: 30px; }
.article-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 46px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.article-body h3 { font-size: 1.15rem; margin: 28px 0 10px; }
.article-body p { color: var(--text-dim); margin-bottom: 16px; }
.article-body ul, .article-body ol { padding-inline-start: 24px; margin-bottom: 18px; display: grid; gap: 9px; }
.article-body ul { list-style: disc; }
.article-body li { color: var(--text-dim); }
.article-body li strong, .article-body p strong { color: var(--text); }
.article-body a { font-weight: 600; }
.article-body .faq-list { margin-top: 20px; }

.table-wrap { overflow-x: auto; min-width: 0; max-width: 100%; margin: 20px 0; border: 1px solid var(--border); border-radius: 14px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 460px; }
.article-body th {
  text-align: start;
  background: var(--surface-2);
  color: #fff;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
.article-body td { padding: 13px 18px; color: var(--text-dim); border-bottom: 1px solid var(--border); }
.article-body tr:last-child td { border-bottom: none; }

.article-cta {
  margin-top: 50px;
  text-align: center;
  background: radial-gradient(ellipse 60% 90% at 50% 0%, rgba(124, 77, 255, 0.16), transparent), var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 44px 30px;
}
.article-cta h2 { margin-top: 0 !important; }
.article-cta p { max-width: 480px; margin: 0 auto 24px; }

.post-card h2 { font-size: 1.35rem; margin-bottom: 12px; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--accent); }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; margin-top: 14px; }
.post-meta svg { color: var(--accent); }
.blog-more { text-align: center; color: var(--text-dim); margin-top: 36px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 26px; }
  .toc-box { position: static; padding: 18px 20px; }
  .article-meta { gap: 6px 14px; font-size: 0.82rem; margin-top: 16px; }
  .article-body .article-lead { font-size: 1.08rem; }
  .article-body h2 { margin: 34px 0 12px; }
  .article-body th, .article-body td { padding: 10px 12px; font-size: 0.88rem; }
  .table-wrap { -webkit-overflow-scrolling: touch; }
  .article-cta { padding: 32px 20px; margin-top: 36px; }
  .crumbs { font-size: 0.8rem; }
}

/* ---------- פס תצוגה מוקדמת ---------- */
.preview-bar {
  position: relative;
  z-index: 5;
  margin-top: var(--header-h);
  background: linear-gradient(90deg, rgba(255, 78, 205, 0.16), rgba(124, 77, 255, 0.16));
  border-bottom: 1px solid rgba(255, 78, 205, 0.35);
  color: #ffd6f2;
  text-align: center;
  padding: 12px 18px;
  font-size: 0.92rem;
}
.preview-bar + .page-hero { padding-top: 40px; }

.article-related { margin-top: 44px; }
.article-related h2 { margin-top: 0 !important; font-size: 1.2rem !important; }

/* ---------- מחשבון עלות ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 34px;
  align-items: start;
}
.calc-form { display: grid; gap: 20px; }
.calc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.calc-field > label { font-weight: 600; font-size: 0.98rem; }
.calc-field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  width: 100%;
  appearance: none;
}
.calc-field select option { background: var(--bg-2); color: var(--text); }
.calc-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12); }

.calc-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  font-size: 0.93rem;
  color: var(--text-dim);
  transition: border-color 0.25s, color 0.25s;
}
.calc-check:hover { border-color: rgba(0, 229, 255, 0.4); color: var(--text); }
.calc-check input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

.calc-result { position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.calc-result-inner {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 229, 255, 0.14), transparent), var(--surface);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
}
.calc-label { color: var(--text-dim); font-size: 0.9rem; }
.calc-price {
  font-family: var(--font-en);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  direction: ltr;
  margin: 8px 0 2px;
  line-height: 1.2;
}
.calc-currency { color: var(--text-dim); font-size: 0.82rem; }
.calc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.calc-meta-label { display: block; color: var(--text-dim); font-size: 0.78rem; margin-bottom: 4px; }
.calc-meta strong { font-size: 0.95rem; color: var(--text); }
.calc-note { color: var(--text-dim); font-size: 0.83rem; margin-bottom: 18px; }

@media (max-width: 900px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 520px) {
  .calc-checks { grid-template-columns: 1fr; }
}

/* ---------- טפסים ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: start; }

.form-card, .info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px 34px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.95rem; }
.req { color: var(--accent-3); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color 0.25s, box-shadow 0.25s;
  width: 100%;
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%), linear-gradient(135deg, var(--text-dim) 50%, transparent 50%); background-position: calc(0% + 20px) 55%, calc(0% + 25px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field select option { background: var(--bg-2); color: var(--text); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12);
}
.form-field textarea { min-height: 140px; resize: vertical; }

.consent-row { flex-direction: row; align-items: flex-start; gap: 12px; }
.consent-row input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--accent); flex-shrink: 0; }
.consent-row label { font-weight: 400; color: var(--text-dim); font-size: 0.9rem; }

.hp-field { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: rgba(0, 220, 130, 0.12); border: 1px solid rgba(0, 220, 130, 0.4); color: #7dffc9; }
.form-status.err { display: block; background: rgba(255, 80, 80, 0.12); border: 1px solid rgba(255, 80, 80, 0.4); color: #ffb3b3; }

.info-card h2 { font-size: 1.3rem; margin-bottom: 18px; }
.info-card ul { display: grid; gap: 14px; }
.info-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.info-card li .ic { color: var(--accent); flex-shrink: 0; margin-top: 3px; font-weight: 700; }
.info-card li .ic svg { display: block; }
.badge-pill { display: inline-flex; align-items: center; gap: 7px; }
.badge-pill svg { color: var(--accent); flex-shrink: 0; }
.eyebrow svg { flex-shrink: 0; }

/* ---------- פוטר ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(3, 5, 12, 0.6);
  padding: 70px 0 30px;
  margin-top: 40px;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr 0.65fr 1.05fr 0.85fr 1fr; gap: 36px; margin-bottom: 46px; }
.footer-col h3 { font-size: 1.02rem; margin-bottom: 16px; color: #fff; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--text-dim); }
.footer-col a:hover { color: var(--accent); }
.footer-about p { color: var(--text-dim); font-size: 0.94rem; margin-top: 14px; max-width: 320px; }
.footer-contact { margin-bottom: 18px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge-pill { border: 1px solid var(--border); border-radius: 100px; padding: 5px 14px; font-size: 0.8rem; }

/* ---------- כפתורים צפים (וואטסאפ + חיוג) ---------- */
.fab-stack {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fab {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.12); color: #fff; }
.fab svg { position: relative; z-index: 2; }
.fab::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  z-index: 1;
}
.fab-whatsapp::after { background: #128c3e; background: linear-gradient(135deg, #25d366, #128c3e); }
.fab-phone::after { background: linear-gradient(135deg, #00b3d6, #6a3de8); }

/* בורדר מונפש - טבעת גרדיאנט מסתובבת */
.fab-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  animation: fabSpin 2.6s linear infinite;
}
.fab-whatsapp .fab-ring {
  background: conic-gradient(from 0deg, transparent 0%, #7dffb0 18%, #25d366 30%, transparent 45%, transparent 55%, #25d366 72%, #7dffb0 82%, transparent 100%);
}
.fab-phone .fab-ring {
  background: conic-gradient(from 0deg, transparent 0%, #00e5ff 18%, #7c4dff 30%, transparent 45%, transparent 55%, #7c4dff 72%, #00e5ff 82%, transparent 100%);
}
@keyframes fabSpin { to { transform: rotate(360deg); } }

/* פעימת הילה עדינה */
.fab::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  animation: fabPulse 2.6s ease-out infinite;
  z-index: 0;
}
.fab-whatsapp::before { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
.fab-phone::before { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.45); }
@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.fab-phone::before { animation-name: fabPulsePhone; }
@keyframes fabPulsePhone {
  0%   { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.4); }
  70%  { box-shadow: 0 0 0 16px rgba(0, 229, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0); }
}

body.a11y-nomotion .fab-ring { animation: none; }
body.a11y-nomotion .fab::before { animation: none; box-shadow: none; }

@media (max-width: 768px) {
  .fab-stack { bottom: 18px; inset-inline-end: 16px; gap: 12px; }
  .fab { width: 56px; height: 56px; }
}

/* ---------- ווידג'ט נגישות ---------- */
.a11y-widget { position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 1500; }
.a11y-toggle {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  background: #1156d6;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
}
.a11y-toggle:hover { transform: scale(1.1); }
.a11y-panel {
  position: absolute;
  bottom: 68px;
  inset-inline-start: 0;
  width: 250px;
  background: #0b1226;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.a11y-title { font-size: 1.02rem; margin-bottom: 14px; }
.a11y-actions { display: grid; gap: 8px; }
.a11y-actions button {
  font-family: inherit;
  font-size: 0.92rem;
  text-align: start;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.a11y-actions button:hover { background: var(--surface-2); }
.a11y-actions button[aria-pressed="true"] { border-color: var(--accent); color: var(--accent); }
.a11y-reset { color: var(--accent-3) !important; }
.a11y-statement-link { display: block; margin-top: 14px; font-size: 0.85rem; text-align: center; }

/* מצבי נגישות */
body.a11y-bigtext { font-size: 20px; }
body.a11y-bigtext-2 { font-size: 23px; }
body.a11y-readable, body.a11y-readable * { font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: 0.02em; }
body.a11y-links a { text-decoration: underline !important; color: #6ee7ff !important; }
body.a11y-contrast { background: #000; color: #fff; }
body.a11y-contrast .bg-decor { display: none; }
body.a11y-contrast .card, body.a11y-contrast .form-card, body.a11y-contrast .info-card,
body.a11y-contrast .faq-item, body.a11y-contrast .testimonial, body.a11y-contrast .stats-grid,
body.a11y-contrast .cta-band { background: #0a0a0a; border-color: #fff; }
body.a11y-contrast p, body.a11y-contrast li, body.a11y-contrast .stat-label { color: #f0f0f0; }
body.a11y-contrast .site-header.scrolled, body.a11y-contrast .site-footer { background: #000; }
body.a11y-nomotion *, body.a11y-nomotion *::before, body.a11y-nomotion *::after {
  animation: none !important;
  transition: none !important;
}
body.a11y-nomotion #heroCanvas { display: none; }

/* ---------- אנימציות גילוי ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- העדפת צמצום תנועה ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  #heroCanvas { display: none; }
}

/* ---------- רספונסיביות ---------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process-track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 30px; }
  .service-block:nth-child(even) .service-visual { order: 0; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }
  .page-hero { padding: calc(var(--header-h) + 44px) 0 40px; }
  .page-hero p { font-size: 1.02rem; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    right: 0; left: 0;
    background: rgba(5, 8, 18, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 16px;
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    visibility: hidden;
  }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a { padding: 14px 18px; font-size: 1.05rem; }
  .nav-cta { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .hero-scroll { display: none; }
}

@media (max-width: 520px) {
  .features-grid, .process-track, .footer-grid { grid-template-columns: 1fr; }
  .container { padding-inline: 18px; }
  .form-card, .info-card { padding: 28px 22px; }
}

/* ---------- מאמר במובייל: כותרת קומפקטית ויישור להתחלה ---------- */
@media (max-width: 768px) {
  .article-hero { text-align: start; padding: calc(var(--header-h) + 26px) 0 20px; }
  .article-hero .crumbs { justify-content: flex-start; font-size: 0.78rem; margin-bottom: 14px; }
  .article-hero .eyebrow { font-size: 0.72rem; padding: 4px 12px; margin-bottom: 10px; }
  .article-hero h1 { font-size: 1.6rem; line-height: 1.35; margin-bottom: 6px; }
  .article-hero .article-meta { justify-content: flex-start; font-size: 0.78rem; gap: 4px 14px; margin-top: 12px; }
  .article-body .article-lead { font-size: 1.02rem; }
  .article-body { font-size: 0.98rem; }
  .article-body h2 { font-size: 1.28rem; }

  /* טבלה → כרטיסים מוערמים, ללא גלילה אופקית */
  .table-wrap { border: none; border-radius: 0; overflow: visible; margin: 18px 0; }
  .article-body table { min-width: 0; width: 100%; display: block; font-size: 0.92rem; }
  .article-body thead { display: none; }
  .article-body tbody, .article-body tr, .article-body td { display: block; width: 100%; }
  .article-body tr {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    padding: 6px 0;
    margin-bottom: 12px;
  }
  .article-body td { border: none; padding: 8px 16px; display: flex; justify-content: space-between; gap: 14px; }
  .article-body td::before {
    content: attr(data-label);
    color: var(--text);
    font-weight: 600;
    flex-shrink: 0;
  }
  .article-body td:first-child {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 4px;
    display: block;
  }
  .article-body td:first-child::before { content: none; }

  /* ביצועים בנייד: ביטול אפקטי blur כבדים */
  .orb { display: none; }
  .card, .form-card, .info-card, .stats-grid, .service-visual, .toc-box,
  .site-header.scrolled, .main-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header.scrolled { background: rgba(5, 8, 18, 0.97); }
  .service-visual > svg { filter: none; }
}
