:root {
  --bg: #050713;
  --panel: #080b1a;
  --navy: #2f3559;
  --blue: #3e6bae;
  --teal: #7fb7c8;
  --green: #19d27c;
  --text: #ffffff;
  --muted: #b7c0d4;
  --line: rgba(255,255,255,0.10);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Cairo, Arial, sans-serif;
}

body[dir="rtl"] {
  font-family: Cairo, Inter, Arial, sans-serif;
}

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

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.4;
  pointer-events: none;
}

.glow-one {
  right: -120px;
  top: -120px;
  background: var(--blue);
}

.glow-two {
  left: -180px;
  top: 120px;
  background: var(--green);
  opacity: 0.18;
}

.nav {
  position: relative;
  z-index: 10;
  max-width: 1180px;
  margin: auto;
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: white;
  border-radius: 16px;
  padding: 8px;
}

.logo-mark span:nth-child(1) { background: var(--navy); grid-row: span 2; }
.logo-mark span:nth-child(2) { background: var(--green); }
.logo-mark span:nth-child(3) { background: var(--blue); }
.logo-mark span:nth-child(4) { background: var(--teal); }
.logo-mark span:nth-child(5) { background: var(--navy); }
.logo-mark span:nth-child(6) { background: #4f5db8; }

.brand-name {
  font-weight: 900;
  font-size: 21px;
}

.brand-sub {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: white;
}

.lang-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.08);
  color: white;
  border-radius: 16px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 700;
}

.hero-card {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card img {
  width: 135% !important;
  max-width: none;
  border-radius: 38px;
  display: block;
  filter: drop-shadow(0 30px 80px rgba(0,0,0,0.55));
  transform: translateX(30px);
}

.badge {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid rgba(127,183,200,0.28);
  background: rgba(127,183,200,0.10);
  color: #9ed3e2;
  border-radius: 999px;
  font-size: 14px;
  margin-bottom: 24px;
}

.badge.small {
  margin-bottom: 18px;
  background: rgba(5,7,19,0.5);
}

h1 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.hero-copy p,
.section-head p,
.contact-box p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  margin-top: 24px;
  max-width: 680px;
}

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

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  padding: 16px 24px;
  font-weight: 800;
  transition: 0.2s ease;
}

.btn.primary {
  background: var(--green);
  color: var(--bg);
}

.btn.primary:hover {
  background: #35e991;
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.05);
  color: white;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.1);
}

.hero-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 34px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
}

.panel {
  background: rgba(8,11,26,0.92);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 26px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}

.panel-head span {
  color: var(--muted);
  font-size: 14px;
}

.panel-head h2 {
  margin-top: 6px;
  font-size: 28px;
}

.network-icon {
  color: var(--teal);
  font-size: 36px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.color-grid div {
  height: 96px;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.color-grid div:nth-child(1) { background: var(--navy); }
.color-grid div:nth-child(2) { background: var(--green); }
.color-grid div:nth-child(3) { background: var(--blue); }
.color-grid div:nth-child(4) { background: var(--teal); }
.color-grid div:nth-child(5) { background: var(--navy); }
.color-grid div:nth-child(6) { background: #4f5db8; }

.mini-panel {
  margin-top: 22px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
}

.mini-panel strong {
  color: #9ed3e2;
}

.mini-panel p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  max-width: 1180px;
  margin: auto;
  padding: 90px 24px;
}

.dark-band {
  max-width: none;
  background: rgba(255,255,255,0.03);
}

.dark-band > * {
  max-width: 1180px;
  margin: auto;
}

.section-head span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 13px;
  font-weight: 900;
}

.section-head h2,
.contact-box h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.cards {
  display: grid;
  gap: 22px;
  margin-top: 50px;
}

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

.card,
.step {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  border-radius: 28px;
  padding: 26px;
  transition: 0.2s ease;
}

.card:hover,
.step:hover {
  background: rgba(255,255,255,0.075);
  transform: translateY(-4px);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(62,107,174,0.15);
  border: 1px solid rgba(127,183,200,0.22);
  color: var(--teal);
  font-size: 24px;
  margin-bottom: 22px;
}

.card h3,
.step h3 {
  font-size: 21px;
  font-weight: 900;
}

.card p,
.step p {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

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

.strength {
  border: 1px solid var(--line);
  background: rgba(8,11,26,0.75);
  border-radius: 20px;
  padding: 20px;
  color: #e7ecf7;
  line-height: 1.5;
}

.strength::before {
  content: "▣";
  color: var(--green);
  margin-inline-end: 10px;
}

.step span {
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
}

.contact-section {
  padding-bottom: 100px;
}

.contact-box {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 42px;
  align-items: center;
  border: 1px solid rgba(127,183,200,0.22);
  background: rgba(62,107,174,0.12);
  border-radius: 34px;
  padding: 44px;
}

.contact-card {
  border: 1px solid var(--line);
  background: rgba(5,7,19,0.6);
  border-radius: 24px;
  padding: 24px;
}

.contact-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-card a {
  color: white;
}

.full {
  width: 100%;
  margin-top: 12px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 24px;
  color: var(--muted);
  max-width: 1180px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body[dir="rtl"] h1,
body[dir="rtl"] h2,
body[dir="rtl"] h3,
body[dir="rtl"] p,
body[dir="rtl"] a,
body[dir="rtl"] span,
body[dir="rtl"] div {
  letter-spacing: normal;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero-grid,
  .why-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 20px 16px;
  }

  .brand-sub {
    display: none;
  }

  .hero-grid,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cards.four,
  .strengths {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 26px;
  }

  .hero-card {
    padding: 16px;
  }

  .color-grid div {
    height: 72px;
  }
}
