:root {
  --background: #ffffff;
  --foreground: #404040;
  --primary: #0f9dbd;
  --primary-10: rgba(15, 157, 189, 0.1);
  --primary-05: rgba(15, 157, 189, 0.05);
  --primary-20: rgba(15, 157, 189, 0.2);
  --primary-foreground: #ffffff;
  --secondary: #dbdbdb;
  --muted-foreground: #6b6b6b;
  --border: #d1d1d1;
  --accent: #14aed1;
  --radius: 0.5rem;
}

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

body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; }

.container { width: 100%; max-width: 1100px; margin: 0 auto;     padding: 0 1rem;; }
.container.narrow { max-width: 780px; }

/* Header */
.site-header { background: var(--primary); padding: 1rem 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-foreground); }

.nav-desktop { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
.nav-link:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  font-family: inherit;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { opacity: 0.9; }
.btn-secondary { background: var(--secondary); color: var(--foreground); padding: 0.4rem 0.9rem; font-size: 0.875rem; }
.btn-primary { background: var(--primary); color: #fff; padding: 0.75rem 3rem; font-size: 1rem; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.lang-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.lang-btn svg { width: 1rem; height: 1rem; }

.mobile-controls { display: none; align-items: center; gap: 0.75rem; }
.hamburger {
  background: none; border: none; color: #fff; cursor: pointer; padding: 0.25rem;
  display: inline-flex;
}
.hamburger svg { width: 1.5rem; height: 1.5rem; }

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}
.nav-mobile.open { display: block; }
.nav-mobile .nav-link { display: block; padding: 0.5rem 0; }
.nav-mobile .lang-wrap { padding: 0.5rem 0; }

/* Hero */
.hero { padding: 5rem 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.15; }
.hero .lead { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.hero .sub { color: var(--muted-foreground); margin-bottom: 2rem; }
.hero-card {
     border-radius: 1rem;
    padding: 0rem;
    text-align: center;
}
.hero-card .stat { font-size: 2.25rem; font-weight: 700; color: var(--primary); margin-bottom: 1rem; }
.hero-card p { color: var(--muted-foreground); }

/* Features */
.features { background: var(--secondary); padding: 4rem 0; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 880px; margin: 0 auto; }
.feature {
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.2s;
}
.feature:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); }
.feature-icon {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  background: var(--primary-10);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
}
.feature-icon svg { width: 1.75rem; height: 1.75rem; }
.feature h3 { font-size: 1.125rem; margin-bottom: 0.25rem; }
.feature p { font-size: 0.875rem; color: var(--muted-foreground); }

/* Steps */
.steps { padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps h2 { font-size: 1.875rem; margin-bottom: 0.75rem; }
.steps .sub { color: var(--muted-foreground); margin-bottom: 2.5rem; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step {
  background: var(--primary-05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}
[dir="rtl"] .step { border-left: none; border-right: 4px solid var(--primary); }
.step .num { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.step h3 { font-size: 1.125rem; }

/* Contacts */
.contacts { padding: 4rem 0; text-align: center; }
.contacts h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.contact-pill {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--secondary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
}
.contact-pill svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.contact-pill a { font-weight: 500; text-decoration: none; }
.contact-pill a:hover { color: var(--primary); }

/* Legal / about pages */
.page { padding: 4rem 0; }
.page h1 { font-size: 1.875rem; text-align: center; margin-bottom: 2rem; }
.page .updated { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.page h2 { font-size: 1.25rem; margin: 1.5rem 0 0.75rem; }
.page p { margin-bottom: 1rem; }
.page a { color: var(--primary); }

/* Footer */
.site-footer { background: var(--secondary); padding: 2rem 0; }
.footer-nav { display: flex; justify-content: center; gap: 2rem; }
.footer-nav a { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); }
.footer-nav a:hover { color: var(--foreground); }

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .mobile-controls { display: flex; }
  .hero-grid, .step-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
}
