/* בסיס כללי */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050816;
  color: #f5f7fb;
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* פריסת אתר כללית */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top left, #1a1f3b, #050816 55%, #020617 100%);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* ניווט עליון */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(3,7,18,0.9), rgba(3,7,18,0.6));
  border-bottom: 1px solid rgba(148,163,184,0.16);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(from 220deg, #38bdf8, #6366f1, #8b5cf6, #22c55e, #38bdf8);
  padding: 2px;
}

.brand-mark-inner {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 20%, #0ea5e9, #020617 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  color: #e5e7eb;
  padding-bottom: 0.15rem;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.25rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to left, #22c55e, #38bdf8);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 1px solid rgba(148,163,184,0.25);
  background: radial-gradient(circle at top right, rgba(56,189,248,0.18), rgba(15,23,42,0.96));
  color: #e5e7eb;
  box-shadow: 0 10px 35px rgba(15,23,42,0.7);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.2s ease;
}

.nav-cta span {
  font-size: 1.1rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.9);
  border-color: rgba(129,140,248,0.8);
  background: radial-gradient(circle at top right, rgba(56,189,248,0.26), rgba(15,23,42,0.98));
}

/* כפתור המבורגר לנייד */
.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  background: rgba(15,23,42,0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before {
  transform: translateY(-4px);
}

.nav-toggle span::after {
  transform: translateY(4px);
}

.nav-toggle.open span {
  transform: rotate(45deg);
}

.nav-toggle.open span::before {
  transform: rotate(-90deg);
}

.nav-toggle.open span::after {
  opacity: 0;
}

/* תוכן דף כללי */
main {
  flex: 1;
}

section {
  padding: 3.5rem 0 4.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 640px;
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* דף הבית – Hero */
.hero {
  padding: 3.5rem 0 4.75rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-copy {
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(94,234,212,0.4);
  color: #a5f3fc;
  font-size: 0.78rem;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(12px);
}

.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #6ee7b7, #22c55e);
  box-shadow: 0 0 0 4px rgba(45,212,191,0.3);
}

.hero-title {
  font-size: clamp(2.6rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.hero-title-main,
.hero-title-sub {
  background: linear-gradient(to left, #22c55e, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-title-main {
  font-size: 1.08em;
  font-weight: 800;
}

.hero-title-sub {
  font-size: 0.88em;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 540px;
  color: #9ca3af;
  margin-bottom: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-bottom: 2.2rem;
  color: #d1d5db;
  font-size: 0.9rem;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-meta-pill {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.8rem;
  color: #e5e7eb;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #020617;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 16px 45px rgba(34,197,94,0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(34,197,94,0.45);
  filter: brightness(1.05);
}

.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #a5b4fc;
}

.btn-secondary-link span {
  font-size: 1rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.4rem;
}

.hero-badge {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(148,163,184,0.45);
  background: radial-gradient(circle at top right, rgba(148,163,184,0.18), rgba(15,23,42,0.96));
  color: #e5e7eb;
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.hero-card {
  position: relative;
  border-radius: 1.4rem;
  border: 1px solid rgba(148,163,184,0.35);
  background: radial-gradient(circle at top right, rgba(59,130,246,0.22), rgba(15,23,42,0.98));
  box-shadow: 0 22px 70px rgba(15,23,42,0.9);
  padding: 1.4rem 1.3rem 1.5rem;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.hero-card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-card-pill {
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(129,140,248,0.7);
  font-size: 0.75rem;
  color: #c7d2fe;
}

.hero-timeline {
  margin-top: 0.4rem;
}

.hero-timeline-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.hero-timeline-label {
  font-size: 0.8rem;
  color: #cbd5f5;
}

.hero-progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  overflow: hidden;
  margin-top: 0.25rem;
}

.hero-progress-fill {
  position: absolute;
  inset: 0;
  width: 72%;
  background: linear-gradient(to left, #22c55e, #14b8a6, #38bdf8);
}

.hero-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-milestone {
  padding: 0.7rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.45);
}

.hero-milestone-label {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.hero-milestone-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-milestone-tag {
  margin-top: 0.2rem;
  font-size: 0.7rem;
  color: #a5b4fc;
}

.hero-glow {
  position: absolute;
  inset: auto auto -18% -16%;
  width: 230px;
  height: 230px;
  background: radial-gradient(circle at center, rgba(56,189,248,0.55), transparent 60%);
  opacity: 0.55;
  filter: blur(2px);
  pointer-events: none;
}

/* מקטע גרפים בדף הראשי */
.analytics-section {
  padding-top: 0;
}

.analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.analytics-layout-main {
  grid-column: 2;
}

.analytics-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.analytics-subtitle {
  font-size: 0.9rem;
  color: #9ca3af;
}

.analytics-charts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-card {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: radial-gradient(circle at top right, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  border: 1px solid rgba(148,163,184,0.45);
  box-shadow: 0 18px 40px rgba(15,23,42,0.9);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.chart-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.chart-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  color: #a5b4fc;
}

.chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.chart-meta-figure {
  font-size: 0.95rem;
  font-weight: 600;
  color: #e5e7eb;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 80px;
}

.chart-bar {
  flex: 1;
  border-radius: 0.4rem 0.4rem 0.2rem 0.2rem;
  background: linear-gradient(to top, #22c55e, #4ade80);
}

.chart-bar:nth-child(2) {
  height: 70%;
  background: linear-gradient(to top, #38bdf8, #60a5fa);
}

.chart-bar:nth-child(3) {
  height: 90%;
}

.chart-bar:nth-child(4) {
  height: 55%;
  background: linear-gradient(to top, #f97316, #fb923c);
}

.chart-xlabels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: #9ca3af;
}

.chart-line {
  position: relative;
  height: 70px;
  margin-top: 0.4rem;
}

.chart-line-grid {
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  border: 1px dashed rgba(75,85,99,0.7);
}

.chart-line-path {
  position: absolute;
  inset: 12px 10px 12px 10px;
  border-radius: 0.75rem;
  background: linear-gradient(
    to right,
    rgba(56,189,248,0.05),
    rgba(56,189,248,0.35),
    rgba(56,189,248,0.05)
  );
  overflow: hidden;
}

.chart-line-path::before {
  content: "";
  position: absolute;
  inset: 18% 4% 35% 2%;
  border-radius: inherit;
  border: 2px solid rgba(56,189,248,0.9);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.chart-line-dot {
  position: absolute;
  right: 16%;
  top: 24%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.35);
}

.chart-progress {
  height: 7px;
  border-radius: 999px;
  background: rgba(15,23,42,0.9);
  overflow: hidden;
  margin-top: 0.5rem;
}

.chart-progress-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(to left, #22c55e, #a3e635);
}

.chart-caption {
  margin-top: 0.3rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.analytics-visual {
  grid-column: 1;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(3,7,18,1));
  box-shadow: 0 22px 55px rgba(15,23,42,0.95);
  display: flex;
  flex-direction: column;
}

.analytics-visual img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.analytics-visual-caption {
  padding: 0.75rem 0.9rem 0.9rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

@media (max-width: 960px) {
  .analytics-visual {
    margin-bottom: 1.5rem;
  }

  .analytics-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .analytics-layout-main,
  .analytics-visual {
    grid-column: 1;
  }
}

/* דף אודות */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: flex-start;
}

.about-text {
  font-size: 1rem;
  line-height: 1.9;
  color: #e5e7eb;
}

.about-text p + p {
  margin-top: 1rem;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.5);
}

.about-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.about-card-body {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.7;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.about-pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.5);
  font-size: 0.78rem;
  color: #e5e7eb;
}

/* דף שירותים */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  border-radius: 1.1rem;
  padding: 1rem 1rem 1.1rem;
  background: radial-gradient(circle at top right, rgba(37,99,235,0.3), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.45);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top right, rgba(59,130,246,0.3), transparent 55%);
  opacity: 0.7;
  pointer-events: none;
}

.service-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(129,140,248,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.service-title {
  position: relative;
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.service-body {
  position: relative;
  font-size: 0.85rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.service-meta {
  position: relative;
  font-size: 0.78rem;
  color: #a5b4fc;
}

/* דף צור קשר */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-card {
  padding: 1.4rem 1.3rem 1.5rem;
  border-radius: 1.2rem;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: 0 18px 55px rgba(15,23,42,0.9);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.contact-label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.contact-value a {
  color: #e5e7eb;
  font-size: 0.95rem;
}

.contact-value a:hover {
  color: #a5b4fc;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.field label {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.field input,
.field textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(15,23,42,0.9);
  color: #e5e7eb;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  resize: vertical;
  min-height: 42px;
}

.field textarea {
  min-height: 100px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(59,130,246,0.9);
  box-shadow: 0 0 0 1px rgba(59,130,246,0.7);
}

.contact-note {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.6rem;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-aside-card {
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top right, rgba(56,189,248,0.16), rgba(15,23,42,0.98));
  border: 1px solid rgba(148,163,184,0.55);
}

.contact-aside-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.contact-aside-body {
  font-size: 0.84rem;
  color: #d1d5db;
  line-height: 1.7;
}

/* פוטר */
.footer {
  border-top: 1px solid rgba(148,163,184,0.2);
  padding: 1.2rem 0 1.5rem;
  margin-top: auto;
  background: radial-gradient(circle at top, rgba(15,23,42,0.85), rgba(3,7,18,1));
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* רספונסיביות */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }

  .hero-visual {
    order: -1;
  }

  .about-layout,
  .services-grid,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed;
    inset-inline: 1rem;
    top: 64px;
    padding: 0.9rem 1.1rem;
    border-radius: 1rem;
    background: rgba(15,23,42,0.97);
    border: 1px solid rgba(148,163,184,0.55);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    transform-origin: top;
    transform: scaleY(0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.7rem;
  }

  section {
    padding: 2.7rem 0 3.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

