:root {
  --blue: #2f86d6;
  --blue-deep: #1f7fd0;
  --blue-dark: #155a94;
  --ink: #0f1b2d;
  --slate: #475569;
  --muted: #6b7a8d;
  --line: #e5ebf2;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --bg-deep: #0f1b2d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Hebrew typography + RTL */
html[lang="he"] body {
  font-family: "Heebo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html[dir="rtl"] .footer-meta { text-align: left; }
html[dir="rtl"] .about-highlights,
html[dir="rtl"] .hero-inner,
html[dir="rtl"] .about-text { text-align: right; }
html[dir="rtl"] .eyebrow { letter-spacing: normal; }

a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo { height: 38px; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--slate); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--blue-deep); text-decoration: none; }
.lang-toggle {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--slate);
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  min-width: 68px;
}
.lang-toggle:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(79, 157, 224, 0.18), transparent 60%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 820px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 16px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--slate);
  max-width: 680px;
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 12px;
}
.section-sub {
  color: var(--slate);
  font-size: 18px;
  max-width: 680px;
  margin: 0 0 44px;
}

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4e3f3; }
.card-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), #4f9de0);
  color: #fff;
  font-size: 24px;
  margin-bottom: 18px;
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0; color: var(--slate); }

/* Work / Systems built */
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4e3f3; }
.work-logo {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 16px;
}
.work-name { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.work-desc { margin: 0; color: var(--slate); font-size: 14px; }

/* Steps */
.step { padding: 8px 4px; }
.step-num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-deep);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.step h4 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--slate); font-size: 15px; }

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-text p { color: var(--slate); margin: 0 0 18px; font-size: 17px; }
.about-highlights {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-highlights li {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.about-highlights strong { color: var(--ink); font-size: 16px; }
.about-highlights span { color: var(--muted); font-size: 14px; }

/* Contact */
.section-contact {
  background:
    radial-gradient(900px 400px at 50% 120%, rgba(47, 134, 214, 0.22), transparent 60%),
    var(--bg-deep);
  color: #fff;
  text-align: center;
}
.section-contact .section-title { color: #fff; }
.section-contact .section-sub { color: #c7d4e3; margin-left: auto; margin-right: auto; }
.contact-email {
  display: inline-block;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #fff;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  transition: all 0.18s ease;
}
.contact-email:hover { background: rgba(255,255,255,0.1); text-decoration: none; border-color: #fff; }
.contact-details { margin-top: 28px; color: #c7d4e3; }
.contact-details p { margin: 4px 0; font-size: 17px; }
.contact-details a { color: #fff; }
.contact-person { font-weight: 600; color: #fff !important; }
.contact-role { color: #9fc4ea !important; font-size: 15px !important; margin-top: 0 !important; }

/* Footer */
.site-footer { background: var(--bg-deep); color: #c7d4e3; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 34px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-meta { text-align: right; }
.footer-meta p { margin: 2px 0; font-size: 14px; }
.footer-meta a { color: #fff; }
.copyright { color: #8ea2b8 !important; margin-top: 8px !important; }
.version { opacity: 0.55; font-size: 12px; margin-inline-start: 6px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav { gap: 10px; }
  .nav a:not(.nav-cta) { display: none; }
  .hero { padding: 64px 0 56px; }
  .section { padding: 60px 0; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}
