:root {
  --bg: #f6fbff;
  --bg-soft: #eef6ff;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-strong: #ffffff;
  --text: #17324d;
  --muted: #5d7591;
  --primary: #2b84ff;
  --primary-dark: #1565d8;
  --secondary: #e9f3ff;
  --accent: #3cc8a7;
  --border: rgba(43, 132, 255, 0.12);
  --shadow: 0 18px 50px rgba(24, 83, 154, 0.10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(60, 200, 167, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(43, 132, 255, 0.10), transparent 28%),
    linear-gradient(180deg, #f9fcff 0%, #f3f8fe 100%);
  color: var(--text);
  font-family: "Cairo", "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(43,132,255,0.08);
}
.header-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow);
}
.brand-name {
  font-size: 1rem;
  font-weight: 800;
}
.brand-sub {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.96rem;
  transition: color .2s ease;
}
.nav a:hover,
.nav a.active { color: var(--primary-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn,
.menu-btn,
.btn {
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.lang-btn,
.menu-btn {
  padding: 11px 16px;
  border-radius: 999px;
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 700;
}
.menu-btn { display: none; }
.lang-btn:hover,
.menu-btn:hover,
.btn:hover { transform: translateY(-2px); }

.hero {
  padding: 70px 0 50px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.hero-text,
.hero-visual,
.info-card,
.service-card,
.solution-card,
.feature-card,
.contact-form-box,
.contact-info,
.timeline-item {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.hero-text {
  padding: 34px;
  border-radius: var(--radius-lg);
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #edf5ff;
  color: var(--primary-dark);
  border: 1px solid rgba(43,132,255,0.12);
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
}
.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.18;
}
.hero p {
  margin: 0;
  line-height: 2;
  color: var(--muted);
  font-size: 1.03rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 14px 30px rgba(43,132,255,0.22);
}
.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}
.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}
.stat-card strong {
  display: block;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.stat-card span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
}

.hero-visual {
  padding: 24px;
  border-radius: var(--radius-lg);
}
.visual-main {
  min-height: 220px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(43,132,255,0.95), rgba(60,200,167,0.95));
  color: white;
}
.visual-main h3,
.visual-main p { color: white; }
.visual-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(43,132,255,0.08);
}
.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.visual-card h3,
.visual-card h4 {
  margin: 0 0 10px;
}
.visual-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.section { padding: 42px 0; }
.alt-bg { background: rgba(234, 243, 252, 0.55); }
.section-head {
  margin-bottom: 22px;
}
.center-head { text-align: center; }
.section-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.9rem);
  line-height: 1.25;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 820px;
  line-height: 1.95;
}
.center-head p { margin-inline: auto; }

.cards {
  display: grid;
  gap: 18px;
}
.three-cols { grid-template-columns: repeat(3, 1fr); }
.four-cols { grid-template-columns: repeat(4, 1fr); }
.two-cols { grid-template-columns: repeat(2, 1fr); }
.info-card,
.service-card,
.solution-card,
.feature-card {
  border-radius: 24px;
  padding: 24px;
}
.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  border-radius: 16px;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.info-card h3,
.service-card h3,
.solution-card h3,
.feature-card h3,
.contact-form-box h3,
.contact-info h2,
.timeline-item h3 {
  margin: 0 0 10px;
}
.info-card p,
.service-card p,
.feature-card p,
.contact-info p,
.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.95;
}
.solution-card ul {
  margin: 14px 0 0;
  padding-inline-start: 18px;
  color: var(--muted);
}
.solution-card li { margin-bottom: 8px; line-height: 1.85; }

.timeline {
  display: grid;
  gap: 14px;
}
.timeline-item {
  border-radius: 24px;
  padding: 22px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: start;
}
.timeline-num {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: white;
  font-weight: 800;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 30px rgba(43,132,255,0.20);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.contact-info,
.contact-form-box {
  border-radius: 26px;
  padding: 28px;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.contact-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--muted);
}
.contact-item strong { color: var(--text); }
form {
  display: grid;
  gap: 12px;
}
input,
textarea {
  width: 100%;
  border: 1px solid rgba(43,132,255,0.14);
  background: white;
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  outline: none;
}
input::placeholder,
textarea::placeholder { color: #8aa0b8; }
textarea { min-height: 150px; resize: vertical; }
input:focus,
textarea:focus {
  border-color: rgba(43,132,255,0.35);
  box-shadow: 0 0 0 4px rgba(43,132,255,0.08);
}

.site-footer {
  padding: 26px 0 40px;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(43,132,255,0.10);
  padding-top: 24px;
}
.footer-wrap p,
.footer-wrap a {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

html[dir="ltr"] body {
  font-family: "Inter", Arial, sans-serif;
}
html[dir="ltr"] .brand-name,
html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] .nav a,
html[dir="ltr"] .btn,
html[dir="ltr"] .lang-btn {
  font-family: "Inter", Arial, sans-serif;
}

@media (max-width: 1100px) {
  .hero-grid,
  .four-cols,
  .three-cols,
  .two-cols,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    inset-inline: 16px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .nav.open { display: flex; }
}

@media (max-width: 640px) {
  .hero { padding-top: 42px; }
  .hero-text,
  .hero-visual,
  .contact-info,
  .contact-form-box,
  .timeline-item,
  .info-card,
  .service-card,
  .solution-card,
  .feature-card { padding: 20px; }
  .timeline-item { grid-template-columns: 1fr; }
  .visual-grid { grid-template-columns: 1fr; }
  .footer-wrap,
  .header-wrap { flex-wrap: wrap; }
}
