:root {
  --primary: #1d4ed8;
  --primary-2: #2563eb;
  --accent: #38bdf8;
  --bg: #050810;
  --panel: rgba(2, 6, 23, 0.76);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e5e7eb;
  --muted: #94a3b8;
  --telegram: #229ed9;
  --whatsapp: #25d366;
  --warning: #eab308;
  --success: #22c55e;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Tajawal", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: grid;
  place-items: center;
  padding: 22px;
  overflow-x: hidden;
}

html[dir="ltr"] body {
  font-family: "Outfit", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(29, 78, 216, 0.38),
      transparent 31%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(56, 189, 248, 0.24),
      transparent 34%
    ),
    radial-gradient(circle at 50% 8%, rgba(37, 99, 235, 0.15), transparent 32%),
    linear-gradient(145deg, #050810, #0f172a 62%, #020617);
  z-index: -3;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 78%);
  z-index: -2;
}

.orb {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  filter: blur(55px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
  z-index: -1;
}

.orb.one {
  top: 8%;
  left: 8%;
}

.orb.two {
  right: 8%;
  bottom: 8%;
  background: rgba(29, 78, 216, 0.14);
  animation-delay: -6s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(26px, -22px, 0) scale(1.08);
  }
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  background: var(--accent);
  color: #020617;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  z-index: 999;
}

.skip-link:focus {
  top: 16px;
}

.shell {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 24px;
}

.panel {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid var(--border);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.025)
    ),
    var(--panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 32px 85px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), transparent 34%);
  opacity: 0.75;
}

.hero {
  padding: clamp(24px, 4vw, 42px);
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 34px;
}

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

.logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  padding: 11px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.14);
}

.brand h1 {
  font-size: 36px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand span {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.langs button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.langs button:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(56, 189, 248, 0.4);
}

.langs button.active {
  color: #fff;
  border-color: rgba(56, 189, 248, 0.55);
  background: linear-gradient(
    135deg,
    rgba(29, 78, 216, 0.9),
    rgba(56, 189, 248, 0.35)
  );
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.12);
}

.status {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin-bottom: 22px;
  font-size: 14px;
  font-weight: 700;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
  box-shadow:
    0 0 0 6px rgba(34, 197, 94, 0.12),
    0 0 16px rgba(34, 197, 94, 0.8);
}

.title {
  position: relative;
  z-index: 2;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 18px;
}

.title .accent {
  background: linear-gradient(135deg, var(--accent), #fff);
  -webkit-background-clip: text;
  color: transparent;
}

.desc {
  position: relative;
  z-index: 2;
  max-width: 660px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.features {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 22px;
  padding: 18px;
}

.feature svg {
  width: 25px;
  height: 25px;
  color: var(--accent);
  margin-bottom: 12px;
}

.feature strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact {
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
}

.contact-head {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.contact-head h2 {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 7px;
}

.contact-head p {
  color: var(--muted);
  font-size: 15px;
}

.links {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 84px;
  padding: 16px;
  border-radius: 24px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.075),
    transparent
  );
  transform: translateX(-110%);
  transition: transform 0.55s ease;
}

html[dir="rtl"] .link::before {
  transform: translateX(110%);
}

.link:hover::before {
  transform: translateX(110%);
}

html[dir="rtl"] .link:hover::before {
  transform: translateX(-110%);
}

.link:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.36);
  background: rgba(255, 255, 255, 0.07);
}

.link.primary {
  border-color: rgba(56, 189, 248, 0.42);
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.22), rgba(56, 189, 248, 0.08)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.11);
}

.icon {
  width: 56px;
  height: 56px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.icon svg {
  width: 28px;
  height: 28px;
}

.icon.telegram {
  background: linear-gradient(135deg, #37b7f7, var(--telegram));
}

.icon.whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.icon.mail,
.icon.website {
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.copy {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
}

.copy strong {
  display: block;
  font-size: 17px;
  margin-bottom: 4px;
}

.copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.badge {
  position: relative;
  z-index: 2;
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.32);
  background: rgba(56, 189, 248, 0.09);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.notice {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(234, 179, 8, 0.22);
  background: rgba(234, 179, 8, 0.075);
}

.notice svg {
  width: 24px;
  height: 24px;
  color: var(--warning);
  flex: 0 0 auto;
  margin-top: 2px;
}

.notice p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.75;
}

.footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
  color: rgba(229, 231, 235, 0.36);
  font-size: 12px;
  letter-spacing: 0.4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 950px) {
  body {
    align-items: start;
  }

  .shell {
    max-width: 590px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    padding: 14px;
  }

  .panel {
    border-radius: 28px;
  }

  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .brand {
    flex-direction: column;
  }

  .langs {
    justify-content: center;
    width: 100%;
  }

  .status {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .title,
  .desc {
    text-align: center;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .link {
    align-items: flex-start;
  }

  .badge {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
  }

  .link.primary {
    padding-top: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
