:root {
    --bg: #050816;
    --bg-alt: #0b1020;
    --card-bg: #101729;
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.12);
    --text: #f9fafb;
    --muted: #9ca3af;
    --border: #1f2937;
    --radius-lg: 18px;
    --radius-full: 999px;
    --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.5);
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #030712 38%, #020617 100%);
    color: var(--text);
    line-height: 1.6;
  }
  
  /* Layout */
  
  .container {
    width: min(1120px, 100% - 2.5rem);
    margin: 0 auto;
  }
  
  .section {
    padding: 4.5rem 0;
  }
  
  .section-alt {
    background: radial-gradient(circle at top left, #111827 0, #020617 50%, #020617 100%);
  }
  
  .section h2 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
  }
  
  /* Header */
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.9), rgba(3, 7, 18, 0.7), transparent);
    border-bottom: 1px solid rgba(31, 41, 55, 0.7);
  }
  
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
  }
  
  .logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
    background: radial-gradient(circle at top, #1f2933, #020617);
  }
  
  .nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
  }
  
  .nav a {
    color: var(--muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.2rem;
    transition: color 0.2s ease;
  }
  
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: width 0.2s ease;
  }
  
  .nav a:hover {
    color: var(--text);
  }
  
  .nav a:hover::after {
    width: 100%;
  }
  
  /* Hero */
  
  .hero {
    padding: 4.5rem 0 3.5rem;
  }
  
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 2.5rem;
    align-items: center;
  }
  
  .eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--muted);
    margin-bottom: 0.75rem;
  }
  
  .hero-title {
    font-size: clamp(2.4rem, 5vw, 3.1rem);
    margin: 0 0 0.7rem;
  }
  
  .hero-subtitle {
    color: var(--muted);
    max-width: 32rem;
    margin: 0 0 1.6rem;
    font-size: 0.98rem;
  }
  
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  
  /* Buttons */
  
  .btn {
    border-radius: var(--radius-full);
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  }
  
  .primary-btn {
    background: var(--accent);
    color: #e5e7eb;
    box-shadow: 0 18px 45px rgba(79, 70, 229, 0.4);
  }
  
  .primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(79, 70, 229, 0.55);
  }
  
  .ghost-btn {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.7);
    color: var(--text);
  }
  
  .ghost-btn:hover {
    border-color: var(--accent);
    background: rgba(15, 23, 42, 0.95);
  }
  
  /* Hero side card */
  
  .hero-card {
    background: radial-gradient(circle at top left, #111827 0, #020617 65%);
    border-radius: 22px;
    padding: 1.7rem 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(55, 65, 81, 0.9);
  }
  
  .avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 30px;
    background: radial-gradient(circle at top, #4f46e5, #111827);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
  }
  
  .hero-card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
  }
  
  .hero-card-text {
    margin: 0 0 1.1rem;
    font-size: 0.95rem;
    color: var(--muted);
  }
  
  .hero-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding-top: 0.9rem;
    display: grid;
    gap: 0.55rem;
    font-size: 0.86rem;
  }
  
  .hero-meta li span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--muted);
  }
  
  /* Two-column layout */
  
  .two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2.5rem;
    align-items: flex-start;
  }
  
  /* Info panel */
  
  .info-panel {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.4rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
  }
  
  .info-panel h3 {
    margin-top: 0;
    margin-bottom: 0.9rem;
    font-size: 1rem;
  }
  
  .pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .pill-list li {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid rgba(79, 70, 229, 0.4);
    color: #e5e7eb;
  }
  
  /* Cards */
  
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    margin-top: 1.2rem;
  }
  
  .card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.4rem 1.3rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
  }
  
  .card h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.02rem;
  }
  
  .card p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--muted);
  }
  
  /* Company card */
  
  .company-card {
    margin-top: 1.4rem;
    background: var(--card-bg);
    border-radius: 22px;
    padding: 1.7rem 1.5rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    box-shadow: var(--shadow-soft);
  }
  
  .company-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .company-logo-placeholder {
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: radial-gradient(circle at top, #4f46e5, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
  }
  
  .company-header h3 {
    margin: 0;
    font-size: 1.1rem;
  }
  
  .company-header p {
    margin: 0.1rem 0 0;
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .company-text {
    margin: 0.3rem 0 0.9rem;
    font-size: 0.94rem;
    color: var(--muted);
  }
  
  .company-list {
    margin: 0 0 0.8rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  .inline-link {
    font-size: 0.88rem;
    color: #a5b4fc;
    text-decoration: none;
  }
  
  .inline-link:hover {
    text-decoration: underline;
  }
  
  /* Contact */
  
  .contact-container {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 2.2rem;
    align-items: flex-start;
  }
  
  .contact-panel {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(55, 65, 81, 0.9);
    font-size: 0.95rem;
  }
  
  .contact-panel a {
    color: #a5b4fc;
    text-decoration: none;
  }
  
  .contact-panel a:hover {
    text-decoration: underline;
  }
  
  /* Footer */
  
  .site-footer {
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding: 1.4rem 0 1.8rem;
    background: #020617;
  }
  
  .footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--muted);
  }
  
  .footer-note {
    opacity: 0.8;
  }
  
  /* Typography */
  
  p {
    margin: 0 0 0.75rem;
    color: var(--muted);
    font-size: 0.96rem;
  }
  
  /* Responsive */
  
  @media (max-width: 900px) {
    .hero-inner {
      grid-template-columns: 1fr;
    }
  
    .hero-card {
      order: -1;
    }
  
    .two-column,
    .contact-container {
      grid-template-columns: 1fr;
    }
  
    .nav {
      display: none; /* simple mobile: hide nav, could add burger if needed */
    }
  
    .site-header {
      background: rgba(3, 7, 18, 0.92);
    }
  }
  
  @media (max-width: 600px) {
    .section {
      padding: 3.2rem 0;
    }
  
    .hero {
      padding-top: 3.2rem;
    }
  
    .hero-card,
    .company-card,
    .contact-panel,
    .info-panel {
      padding: 1.3rem 1.1rem;
    }
  }

  .hero-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2.4rem;
    align-items: center;
  }
  
  .hero-img img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 999px;
    border: 3px solid rgba(255,255,255,0.12);
    box-shadow: 0 18px 35px rgba(0,0,0,0.55);
  }

  @media (max-width: 900px) {
    .hero-inner {
      grid-template-columns: 1fr;
      text-align: center;
    }
  
    .hero-img img {
      margin: 0 auto;
    }
  }
  
  

  /* ===================================
   RTL SUPPORT (Hebrew page)
   =================================== */

body.rtl {
    direction: rtl;
    text-align: right;
  }
  
  /* Flip hero columns: text on the right, image on the left for RTL */
  body.rtl .hero-inner {
    grid-template-columns: 1fr 240px;
  }
  
  /* Right-align main text sections */
  body.rtl .hero-text,
  body.rtl .section h2,
  body.rtl p,
  body.rtl .company-text,
  body.rtl .company-header,
  body.rtl .contact-panel,
  body.rtl .info-panel,
  body.rtl .card {
    text-align: right;
  }
  
  /* Nav alignment in RTL – push items to the left side of the header */
  body.rtl .nav-container {
    flex-direction: row-reverse;
  }
  
  body.rtl .nav {
    flex-direction: row-reverse;
  }
  
  /* Keep the logo near the right edge visually */
  body.rtl .logo {
    margin-left: auto;
    margin-right: 0;
  }
  
  /* Company header: logo on the left, text to the right */
  body.rtl .company-header {
    flex-direction: row-reverse;
  }
  
  /* Contact card spacing */
  body.rtl .contact-panel p {
    margin-bottom: 0.5rem;
  }
  