:root {
  --ink: #111827;
  --steel: #263241;
  --muted: #5f6b7a;
  --line: #dbe2ea;
  --mist: #f5f7f9;
  --white: #ffffff;
  --water: #13b7a6;
  --blue: #176bff;
  --yellow: #f6c84c;
  --dark: #0c1118;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Arial, Tahoma, sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header {
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 226, 234, 0.82);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 250px;
}

.brand-logo {
  width: 230px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-name {
  display: block;
  font-weight: 800;
  line-height: 1.05;
}

.brand-sub {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--steel);
  font-size: 14px;
  white-space: nowrap;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a.active {
  color: var(--blue);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

a.language:hover {
  color: var(--blue);
  border-color: rgba(23, 107, 255, 0.34);
}

.button,
button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.button.outline {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: stretch;
  color: var(--white);
  overflow: hidden;
  background: var(--dark);
}

.hero.compact {
  min-height: 470px;
}

.hero.compact h1 {
  max-width: 820px;
  font-size: clamp(42px, 5.6vw, 68px);
}

.hero.compact .arabic-title {
  max-width: 820px;
  overflow-wrap: anywhere;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 12, 20, 0.92) 0%, rgba(6, 12, 20, 0.77) 36%, rgba(6, 12, 20, 0.2) 68%, rgba(6, 12, 20, 0.04) 100%),
    linear-gradient(0deg, rgba(6, 12, 20, 0.56) 0%, rgba(6, 12, 20, 0) 48%);
}

html[dir="rtl"] .hero::after {
  background:
    linear-gradient(270deg, rgba(6, 12, 20, 0.92) 0%, rgba(6, 12, 20, 0.77) 36%, rgba(6, 12, 20, 0.2) 68%, rgba(6, 12, 20, 0.04) 100%),
    linear-gradient(0deg, rgba(6, 12, 20, 0.56) 0%, rgba(6, 12, 20, 0) 48%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 24px 52px;
  display: grid;
  align-content: center;
}

html[dir="rtl"] .hero-inner {
  justify-items: end;
}

.hero-copy {
  width: min(620px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--water);
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.94;
  font-weight: 850;
}

html[dir="rtl"] .hero h1 {
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 1.12;
}

.hero .arabic-title {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(24px, 3.2vw, 42px);
  direction: rtl;
  font-weight: 700;
}

.hero p {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-strip {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 8px 8px 0 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.strip-item {
  min-height: 96px;
  padding: 20px;
  border-right: 1px solid var(--line);
}

.strip-item:last-child {
  border-right: 0;
}

html[dir="rtl"] .strip-item {
  border-right: 0;
  border-left: 1px solid var(--line);
}

html[dir="rtl"] .strip-item:last-child {
  border-left: 0;
}

.strip-item strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}

.strip-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.section {
  padding: 88px 24px;
}

.section.alt {
  background: var(--mist);
}

.section.dark-band {
  color: var(--white);
  background: var(--ink);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.dark-band .section-kicker {
  color: var(--water);
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

p {
  color: var(--muted);
  line-height: 1.62;
}

.dark-band p,
.dark-band .muted {
  color: rgba(255, 255, 255, 0.72);
}

.lead {
  margin-top: 16px;
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.card.pad {
  padding: 24px;
}

.dark-card {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--steel);
}

.card-media.tall {
  aspect-ratio: 4 / 5;
}

.card-media img {
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 24px;
}

.tag {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--blue);
  background: rgba(23, 107, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.feature-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: var(--steel);
  line-height: 1.45;
}

html[dir="rtl"] .feature-list li {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.feature-list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--water);
}

.dark-band .feature-list li {
  color: rgba(255, 255, 255, 0.78);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: 46px;
}

.image-panel {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.metric {
  border-left: 3px solid var(--water);
  padding: 8px 0 8px 14px;
}

html[dir="rtl"] .metric {
  border-left: 0;
  border-right: 3px solid var(--water);
  padding: 8px 14px 8px 0;
}

.metric strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step {
  counter-increment: step;
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 34px;
  color: var(--water);
  font-weight: 850;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.spec-table th,
.spec-table td {
  padding: 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

html[dir="rtl"] .spec-table th,
html[dir="rtl"] .spec-table td {
  text-align: right;
}

.spec-table th {
  width: 28%;
  color: var(--steel);
  background: #f9fbfd;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.quote-band {
  padding: 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, #111827, #173b72);
}

.quote-band h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.quote-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 13px;
  font-weight: 750;
}

html[dir="rtl"] .form input,
html[dir="rtl"] .form select,
html[dir="rtl"] .form textarea {
  text-align: right;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.form .full {
  grid-column: 1 / -1;
}

.arabic {
  direction: rtl;
  font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .brand {
  min-width: 260px;
}

html[dir="rtl"] .brand-name {
  line-height: 1.18;
}

.footer {
  padding: 44px 24px;
  background: #080c12;
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.footer strong {
  color: var(--white);
}

.footer p {
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

html[dir="rtl"] .footer-links {
  justify-content: flex-start;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 20px;
  }

  .brand {
    min-width: auto;
  }

  .nav-links {
    width: 100%;
    order: 3;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    display: block;
    min-height: auto;
  }

  .hero-inner {
    min-height: 650px;
  }

  .hero.compact .hero-inner {
    min-height: 430px;
  }

  .hero-strip,
  .grid.four,
  .grid.three,
  .grid.two,
  .steps,
  .split,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    border-radius: 0;
  }

  .strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  html[dir="rtl"] .strip-item {
    border-left: 0;
  }

  .quote-band,
  .form {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .nav {
    gap: 12px;
  }

  .brand {
    width: 100%;
    min-width: 0;
  }

  html[dir="rtl"] .brand {
    min-width: 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    overflow-x: visible;
    white-space: normal;
    flex-wrap: wrap;
    gap: 8px 14px;
    line-height: 1.2;
  }

  .nav-links a {
    padding: 4px 0;
  }

  .hero-inner {
    padding-top: 70px;
    min-height: 600px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero h1,
  html[dir="rtl"] .hero h1 {
    font-size: clamp(39px, 12vw, 54px);
  }

  .section {
    padding: 62px 18px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }
}
