:root {
  --bg: #0b0b14;
  --bg-2: #12121f;
  --surface: rgba(255,255,255,.055);
  --surface-2: rgba(255,255,255,.085);
  --line: rgba(255,255,255,.12);
  --ink: #f7f7fb;
  --muted: #c6c7d6;
  --soft: #9b9db3;
  --violet: #6366f1;
  --violet-2: #8b5cf6;
  --pink: #d946ef;
  --green: #10b981;
  --grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 52%, #d946ef 100%);
  --font-ar: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --font-en: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -10%, rgba(99,102,241,.28), transparent 38rem),
    radial-gradient(circle at 8% 22%, rgba(217,70,239,.12), transparent 32rem),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-ar);
  line-height: 1.75;
}
:lang(en) { font-family: var(--font-en); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
.container { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: 10px;
  z-index: 100;
  transform: translateY(-140%);
  background: #fff;
  color: #111827;
  padding: 8px 12px;
  border-radius: 8px;
}
.skip-link:focus { transform: translateY(0); }

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11,11,20,.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-inline-start: auto;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a:hover, .footer a:hover { color: #fff; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  color: #fff;
  background: var(--surface);
}
.nav-cta, .btn-primary { border: 0; background: var(--grad); }

.hero { padding: 88px 0 70px; position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000, transparent 68%);
  pointer-events: none;
}
.hero-inner, .section, .footer { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dfe2ff;
  background: rgba(99,102,241,.16);
  border: 1px solid rgba(255,255,255,.16);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(16,185,129,.18);
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 920px;
  margin: 20px 0 18px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}
h1 span, .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding: 72px 0; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.2; margin-bottom: 10px; }
.section-sub { color: var(--muted); max-width: 700px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.card, .legal-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.card h3 { margin-bottom: 8px; font-size: 21px; }
.card p, .legal-block p, .legal-block li { color: var(--muted); }
.meta { color: var(--soft); font-size: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  border-radius: 999px;
  padding: 5px 10px;
  color: #d8dbff;
  font-size: 13px;
}
.product-card { display: flex; flex-direction: column; min-height: 100%; }
.product-card .btn { margin-top: auto; width: fit-content; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(99,102,241,.18);
  color: #c7d2fe;
  flex: 0 0 auto;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-links a {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}
.social-links a:hover { background: rgba(99,102,241,.22); color: #fff; }
.legal-block { margin-bottom: 16px; }
.legal-block h2 { font-size: 24px; }
.legal-block h3 { color: #fff; margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; }
th, td { border: 1px solid var(--line); padding: 12px; text-align: start; vertical-align: top; }
th { background: rgba(99,102,241,.16); color: #fff; }
td { color: var(--muted); }

.footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.025);
  padding: 42px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
}
.footer h2, .footer h3 { font-size: 16px; margin-bottom: 10px; }
.footer p, .footer li, .footer a { color: var(--muted); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 14px;
}

@media (max-width: 820px) {
  .nav-row { align-items: flex-start; flex-direction: column; padding: 14px 0; gap: 12px; }
  .nav-links { margin-inline-start: 0; flex-wrap: wrap; gap: 10px 14px; }
  .nav-cta { display: none; }
  .hero { padding-top: 58px; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
}
