:root {
  --bg-1: #020735;
  --bg-2: #071f8f;
  --bg-3: #0047ff;
  --white: #ffffff;
  --muted: #e7efff;
  --cyan: #10a7ff;
  --cyan-soft: rgba(16, 167, 255, 0.45);
  --line: rgba(45, 157, 255, 0.42);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  overflow: auto;
  font-family:
    "Expo Arabic", "Expo Arabic Book", "Expo Arabic Medium", "Tajawal", "Cairo",
    "Segoe UI", Arial, sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 21%, rgba(0, 93, 255, 0.48), transparent 34%),
    radial-gradient(
      circle at 20% 76%,
      rgba(0, 132, 255, 0.26),
      transparent 32%
    ),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 83%);
}
body:before,
body:after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}
body:before {
  background-image:
    radial-gradient(circle, rgba(62, 169, 255, 0.95) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 255, 255, 0.68) 0 1px, transparent 2px);
  background-size:
    170px 190px,
    260px 230px;
  animation: twinkle 7s ease-in-out infinite alternate;
  opacity: 0.54;
}
body:after {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.28),
    transparent 18%,
    transparent 82%,
    rgba(0, 0, 0, 0.28)
  );
}
#digitalCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.85;
}
.page-shell {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 34px 18px 42px;
}
.hero-card {
  position: relative;
  width: min(900px, 96vw);
  text-align: center;
  padding: 8px 22px 18px;
  isolation: isolate;
}
.logo-watermark {
  position: absolute;
  top: 8vh;
  left: 50%;
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  transform: translateX(-16%);
  background: url("../img/logoB.png") center/contain no-repeat;
  opacity: 0.14;
  filter: brightness(1.15) saturate(1.45)
    drop-shadow(0 0 40px rgba(0, 91, 255, 0.55));
  mix-blend-mode: screen;
  z-index: 0;
}
.brand-block {
  position: relative;
  margin-bottom: 64px;
  z-index: 2;
}
.logo {
  width: 390px;
  max-width: 76vw;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 28px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.34))
    drop-shadow(0 0 20px rgba(255, 255, 255, 0.18));
}
.brand-block:before,
.brand-block:after {
  content: "";
  position: absolute;
  top: 86px;
  width: 210px;
  height: 82px;
  opacity: 0.72;
  background:
    linear-gradient(
      90deg,
      transparent 0 16px,
      var(--line) 16px 18px,
      transparent 18px
    ),
    linear-gradient(
      135deg,
      transparent 0 54%,
      var(--line) 54% 56%,
      transparent 56%
    ),
    radial-gradient(circle at 0 12px, var(--cyan) 0 7px, transparent 8px);
}
.brand-block:before {
  right: calc(50% + 165px);
}
.brand-block:after {
  left: calc(50% + 165px);
  transform: scaleX(-1);
}
h1 {
  margin: 0;
  position: relative;
  z-index: 2;
  font-size: clamp(46px, 6.4vw, 74px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  text-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 16px rgba(255, 255, 255, 0.13);
}
.divider {
  width: min(520px, 82vw);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 28px;
  position: relative;
  z-index: 2;
}
.divider span {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 10px var(--cyan);
}
.divider i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
.message {
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(20px, 2.7vw, 29px);
  line-height: 1.75;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
  position: relative;
  z-index: 2;
}
.construction-visual {
  position: relative;
  z-index: 4;
  width: min(430px, 82vw);
  margin: 44px auto 18px;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 28px rgba(16, 167, 255, 0.22));
}
.construction-visual:after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 2px;
  height: 14px;
  border-radius: 50%;
  background: rgba(16, 167, 255, 0.3);
  filter: blur(12px);
  z-index: -1;
}
.construction-visual img {
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
  object-fit: contain;
}
.thanks {
  position: relative;
  z-index: 4;
  margin: 0 0 34px;
  color: var(--cyan);
  font-size: clamp(20px, 2.7vw, 27px);
  text-shadow: 0 0 18px rgba(16, 167, 255, 0.65);
}
.launch-countdown {
  --launch-progress: 0%;
  position: relative;
  z-index: 8;
  width: min(760px, 94vw);
  margin: 0 auto 30px;
  padding: 24px;
  overflow: hidden;
  text-align: right;
  border: 1px solid rgba(60, 196, 255, 0.42);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(7, 42, 142, 0.82), rgba(0, 12, 70, 0.9)),
    radial-gradient(circle at 10% 10%, rgba(30, 200, 255, 0.24), transparent 34%);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.32),
    0 0 38px rgba(11, 133, 255, 0.14),
    inset 0 0 34px rgba(20, 150, 255, 0.1);
  backdrop-filter: blur(16px);
  isolation: isolate;
}
.launch-countdown:before,
.launch-countdown:after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.launch-countdown:before {
  inset: 0;
  background-image:
    linear-gradient(rgba(55, 194, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(55, 194, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}
.launch-countdown:after {
  width: 220px;
  height: 220px;
  left: -90px;
  top: -110px;
  border: 1px solid rgba(63, 215, 255, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(45, 184, 255, 0.04),
    0 0 0 58px rgba(45, 184, 255, 0.025);
}
.launch-work-motion {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.work-scan {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -42%;
  width: 34%;
  transform: skewX(-12deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(54, 211, 255, 0.025) 20%,
    rgba(54, 211, 255, 0.17) 50%,
    rgba(54, 211, 255, 0.025) 80%,
    transparent
  );
  filter: blur(1px);
  animation: workScan 7.5s linear infinite;
}
.work-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(49, 216, 255, 0.48);
  stroke: rgba(51, 195, 255, 0.2);
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.work-circuit path {
  fill: none;
  stroke-dasharray: 8 12;
  animation: circuitFlow 7s linear infinite;
}
.work-circuit path:nth-child(2) {
  animation-duration: 9s;
  animation-direction: reverse;
}
.work-circuit path:nth-child(3),
.work-circuit path:nth-child(4) {
  animation-duration: 11s;
}
.work-circuit circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: circuitNode 2.4s ease-in-out infinite;
}
.work-circuit circle:nth-of-type(2) { animation-delay: -0.8s; }
.work-circuit circle:nth-of-type(3) { animation-delay: -1.6s; }
.work-circuit circle:nth-of-type(4) { animation-delay: -2s; }
.work-packet {
  position: absolute;
  width: 46px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #36dfff);
  box-shadow: 10px 0 14px rgba(54, 223, 255, 0.5);
  opacity: 0;
}
.packet-one {
  top: 24%;
  right: -52px;
  animation: packetMove 5.4s linear infinite;
}
.packet-two {
  top: 62%;
  right: -52px;
  animation: packetMove 7s linear 1.4s infinite;
}
.packet-three {
  top: 84%;
  right: -52px;
  animation: packetMove 6.2s linear 3s infinite;
}
.work-pulse {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(74, 225, 255, 0.8);
  border-radius: 50%;
  background: rgba(39, 198, 255, 0.34);
  box-shadow: 0 0 16px rgba(45, 211, 255, 0.74);
  animation: workPulse 3s ease-out infinite;
}
.pulse-one { top: 18%; left: 17%; }
.pulse-two { top: 49%; left: 73%; animation-delay: -1s; }
.pulse-three { top: 79%; left: 34%; animation-delay: -2s; }
.launch-signal {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  color: #70dfff;
  font-family: Consolas, "Courier New", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  direction: ltr;
}
.launch-signal i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2dffb2;
  box-shadow: 0 0 14px rgba(45, 255, 178, 0.9);
  animation: launchSignal 1.8s ease-in-out infinite;
}
.launch-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.launch-heading p {
  margin: 0 0 5px;
  color: rgba(220, 240, 255, 0.7);
  font-size: 13px;
}
.launch-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}
.launch-heading time {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid rgba(93, 213, 255, 0.28);
  border-radius: 999px;
  color: #a9eaff;
  background: rgba(0, 17, 80, 0.5);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  direction: rtl;
}
.countdown-unit {
  position: relative;
  min-height: 112px;
  display: grid;
  place-content: center;
  gap: 3px;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(72, 191, 255, 0.25);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(19, 109, 229, 0.18), rgba(0, 13, 62, 0.7));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 12px 26px rgba(0, 0, 0, 0.16);
}
.countdown-unit:before {
  content: "";
  position: absolute;
  top: 0;
  right: 20%;
  left: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #43d7ff, transparent);
  box-shadow: 0 0 12px #28bfff;
}
.countdown-unit strong {
  direction: ltr;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 6vw, 50px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: 0.02em;
  text-shadow: 0 0 24px rgba(31, 192, 255, 0.5);
}
.countdown-unit span {
  color: rgba(212, 239, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}
.launch-progress {
  height: 5px;
  margin: 18px 2px 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(1, 9, 48, 0.72);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
}
.launch-progress span {
  display: block;
  width: var(--launch-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0c8dff, #34e4ff, #2dffb2);
  box-shadow: 0 0 16px rgba(51, 220, 255, 0.76);
  transition: width 0.6s ease;
}
.tech-capabilities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.tech-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid rgba(74, 193, 255, 0.2);
  border-radius: 10px;
  color: rgba(235, 247, 255, 0.86);
  background: rgba(2, 20, 82, 0.56);
  font-size: 12px;
  font-weight: 700;
}
.tech-capabilities svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #40d5ff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.launch-status {
  margin: 13px 0 0;
  text-align: center;
  color: rgba(220, 241, 255, 0.74);
  font-size: 13px;
  line-height: 1.7;
}
.launch-countdown.is-complete .launch-signal i {
  background: #fff;
}
@keyframes launchSignal {
  0%, 100% { opacity: 0.5; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes workScan {
  from { transform: translateX(0) skewX(-12deg); }
  to { transform: translateX(430%) skewX(-12deg); }
}
@keyframes circuitFlow {
  to { stroke-dashoffset: -80; }
}
@keyframes circuitNode {
  0%, 100% { opacity: 0.25; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.7); }
}
@keyframes packetMove {
  0% { opacity: 0; transform: translateX(0); }
  10%, 82% { opacity: 0.75; }
  100% { opacity: 0; transform: translateX(-900px); }
}
@keyframes workPulse {
  0% { opacity: 0; transform: scale(0.45); box-shadow: 0 0 0 0 rgba(45, 211, 255, 0.42); }
  22% { opacity: 0.9; }
  100% { opacity: 0; transform: scale(1.35); box-shadow: 0 0 0 20px rgba(45, 211, 255, 0); }
}
@media (max-width: 600px) {
  .launch-countdown {
    width: 100%;
    max-width: 410px;
    padding: 18px 14px;
    border-radius: 22px;
  }
  .launch-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .countdown-grid {
    gap: 7px;
  }
  .countdown-unit {
    min-height: 88px;
    border-radius: 14px;
  }
  .countdown-unit strong {
    font-size: clamp(28px, 10vw, 38px);
  }
  .tech-capabilities {
    gap: 6px;
  }
  .tech-capabilities span {
    padding: 7px 9px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .launch-signal i,
  .work-scan,
  .work-circuit path,
  .work-circuit circle,
  .work-packet,
  .work-pulse {
    animation: none;
  }
  .launch-progress span {
    transition: none;
  }
}
.contact-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  direction: ltr;
  color: #fff;
  position: relative;
  z-index: 8;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 24px;
  border: 1px solid rgba(65, 170, 255, 0.34);
  border-radius: 22px;
  background: rgba(0, 18, 85, 0.62);
  box-shadow:
    0 16px 45px rgba(0, 0, 0, 0.28),
    inset 0 0 25px rgba(15, 110, 255, 0.14);
  backdrop-filter: blur(10px);
}
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 32px;
  padding: 0 30px;
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
  border-inline-end: 1px solid rgba(55, 168, 255, 0.75);
  transition: 0.25s ease;
}
.contact-item:last-child {
  border-inline-end: 0;
}
.contact-item:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}
.contact-item svg {
  width: 27px;
  height: 27px;
  stroke: var(--cyan);
  stroke-width: 1.9;
  fill: none;
  filter: drop-shadow(0 0 7px rgba(16, 167, 255, 0.55));
}
.socials {
  margin-top: 24px;
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: center;
  gap: 20px;
  direction: ltr;
}
.socials a {
  width: 48px;
  height: 48px;
  border: 1px solid var(--cyan);
  border-radius: 50%;
  color: var(--cyan);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 20px;
  box-shadow:
    0 0 15px rgba(16, 167, 255, 0.18) inset,
    0 0 12px rgba(16, 167, 255, 0.16);
  transition: 0.25s ease;
}
.socials a:hover {
  background: var(--cyan);
  color: #001354;
  box-shadow: 0 0 26px rgba(16, 167, 255, 0.75);
}
.grid-floor {
  position: fixed;
  z-index: 2;
  left: -10%;
  right: -10%;
  bottom: -12%;
  height: 30vh;
  background:
    linear-gradient(rgba(16, 167, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 167, 255, 0.25) 1px, transparent 1px);
  background-size: 44px 28px;
  transform: perspective(420px) rotateX(62deg);
  transform-origin: bottom;
  box-shadow: 0 -20px 90px rgba(0, 96, 255, 0.55);
  opacity: 0.42;
}
.city {
  position: fixed;
  bottom: 18vh;
  z-index: 2;
  width: 260px;
  height: 230px;
  opacity: 0.5;
  background:
    linear-gradient(
        to top,
        rgba(19, 146, 255, 0.9),
        rgba(19, 146, 255, 0.15) 1px,
        transparent 1px
      )
      0 0/40px 16px,
    linear-gradient(
      90deg,
      transparent 0 12px,
      rgba(19, 146, 255, 0.75) 12px 14px,
      transparent 14px 40px
    ),
    linear-gradient(
      to top,
      transparent 0 12%,
      rgba(0, 101, 255, 0.18) 12% 100%
    );
  clip-path: polygon(
    0 100%,
    0 42%,
    13% 42%,
    13% 15%,
    27% 15%,
    27% 56%,
    40% 56%,
    40% 28%,
    58% 28%,
    58% 5%,
    72% 5%,
    72% 66%,
    87% 66%,
    87% 32%,
    100% 32%,
    100% 100%
  );
  filter: drop-shadow(0 0 16px rgba(16, 167, 255, 0.75));
}
.city-left {
  left: 0;
}
.city-right {
  right: 0;
  transform: scaleX(-1);
}
@keyframes twinkle {
  from {
    opacity: 0.34;
    transform: translateY(0);
  }
  to {
    opacity: 0.72;
    transform: translateY(-8px);
  }
}
@media (max-width: 760px) {
  .page-shell {
    padding-top: 28px;
    padding-bottom: 30px;
  }
  .brand-block {
    margin-bottom: 42px;
  }
  .brand-block:before,
  .brand-block:after {
    display: none;
  }
  .logo {
    width: 280px;
    max-width: 86vw;
  }
  .message {
    font-size: 20px;
  }
  .construction-visual {
    width: min(340px, 88vw);
    margin-top: 34px;
  }
  .contact-bar {
    gap: 14px;
    flex-direction: column;
    padding: 16px 18px;
    border-radius: 18px;
    width: min(92vw, 390px);
  }
  .contact-item {
    border: 0 !important;
    padding: 0;
    font-size: 16px;
    justify-content: center;
    width: 100%;
  }
  .city {
    width: 160px;
    height: 150px;
    bottom: 18vh;
    opacity: 0.35;
  }
  .thanks {
    margin-bottom: 32px;
  }
  .socials {
    gap: 14px;
  }
  .socials a {
    width: 44px;
    height: 44px;
  }
}
@media (max-height: 860px) and (min-width: 761px) {
  .page-shell {
    padding-top: 18px;
    padding-bottom: 30px;
  }
  .logo {
    width: 300px;
  }
  .brand-block {
    margin-bottom: 38px;
  }
  .brand-block:before,
  .brand-block:after {
    top: 64px;
  }
  .brand-block:before {
    right: calc(50% + 125px);
  }
  .brand-block:after {
    left: calc(50% + 125px);
  }
  h1 {
    font-size: 54px;
  }
  .divider {
    margin: 18px auto;
  }
  .message {
    font-size: 22px;
    line-height: 1.55;
  }
  .construction-visual {
    width: 330px;
    margin: 28px auto 10px;
  }
  .thanks {
    margin-bottom: 22px;
    font-size: 21px;
  }
  .contact-bar {
    padding: 14px 18px;
  }
  .contact-item {
    font-size: 16px;
    padding: 0 20px;
  }
  .contact-item svg {
    width: 24px;
    height: 24px;
  }
  .socials {
    margin-top: 16px;
  }
  .socials a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .grid-floor {
    height: 24vh;
    opacity: 0.32;
  }
  .city {
    bottom: 14vh;
    opacity: 0.32;
  }
}

/* Contact Form */
.contact-form-card {
  position: relative;
  z-index: 9;
  width: min(720px, 94vw);
  margin: 10px auto 28px;
  padding: 22px;
  border: 1px solid rgba(65, 170, 255, 0.34);
  border-radius: 26px;
  background: rgba(0, 18, 85, 0.58);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.28),
    inset 0 0 28px rgba(15, 110, 255, 0.12);
  backdrop-filter: blur(12px);
}
.contact-form-card h2 {
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.2;
  color: #fff;
}
.contact-form-card p {
  margin: 0 0 18px;
  color: rgba(231, 239, 255, 0.88);
  font-size: 16px;
}
.contact-form-card p span {
  color: var(--cyan);
  font-weight: 800;
  direction: ltr;
  display: inline-block;
}
.form-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 15px;
  line-height: 1.7;
  text-align: right;
}
.form-alert.success {
  color: #dfffee;
  background: rgba(17, 185, 112, 0.14);
  border: 1px solid rgba(17, 185, 112, 0.42);
}
.form-alert.error {
  color: #ffe7e7;
  background: rgba(255, 76, 76, 0.14);
  border: 1px solid rgba(255, 76, 76, 0.42);
}
.contact-form {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  text-align: right;
}
.contact-form span {
  font-size: 14px;
  color: rgba(231, 239, 255, 0.86);
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(65, 170, 255, 0.36);
  outline: 0;
  border-radius: 15px;
  padding: 13px 15px;
  background: rgba(2, 9, 49, 0.66);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  box-shadow: inset 0 0 18px rgba(0, 93, 255, 0.12);
  transition: 0.2s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(231, 239, 255, 0.48);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 3px rgba(16, 167, 255, 0.14),
    inset 0 0 18px rgba(0, 93, 255, 0.18);
}
.message-field textarea {
  resize: vertical;
  min-height: 112px;
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}
.send-btn {
  justify-self: center;
  min-width: 190px;
  border: 0;
  border-radius: 999px;
  padding: 13px 28px;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 800;
  color: #001354;
  background: linear-gradient(90deg, #10a7ff, #66d7ff);
  box-shadow:
    0 0 22px rgba(16, 167, 255, 0.45),
    0 10px 25px rgba(0, 0, 0, 0.22);
  transition: 0.25s ease;
}
.send-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 32px rgba(16, 167, 255, 0.7),
    0 14px 30px rgba(0, 0, 0, 0.28);
}
@media (max-width: 760px) {
  .contact-form-card {
    padding: 18px;
    margin-bottom: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card h2 {
    font-size: 24px;
  }
  .send-btn {
    width: 100%;
  }
}

/* =========================
   V8 Mobile Responsive Fix
   إصلاح عرض الهاتف ومنع تمدد الصفحة أفقياً
   ========================= */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img,
svg,
canvas {
  max-width: 100%;
}
#digitalCanvas {
  max-width: 100vw;
  overflow: hidden;
}
.page-shell {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}
.hero-card {
  max-width: 100%;
}
.logo-watermark {
  pointer-events: none;
}

@media (max-width: 760px) {
  body {
    min-height: 100svh;
    background:
      radial-gradient(
        circle at 50% 16%,
        rgba(0, 93, 255, 0.42),
        transparent 34%
      ),
      radial-gradient(
        circle at 50% 78%,
        rgba(0, 132, 255, 0.22),
        transparent 40%
      ),
      linear-gradient(180deg, #071f8f 0%, #020735 86%);
  }
  body:after {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.18),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.18)
    );
  }
  #digitalCanvas {
    opacity: 0.48;
  }
  .page-shell {
    min-height: 100svh;
    display: block;
    padding: 18px 14px 28px;
  }
  .hero-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-watermark {
    position: fixed;
    top: 55px;
    left: 50%;
    width: 310px;
    height: 310px;
    max-width: 88vw;
    max-height: 88vw;
    transform: translateX(-50%);
    opacity: 0.1;
  }
  .brand-block {
    width: 100%;
    margin: 0 0 28px;
  }
  .logo {
    width: min(320px, 82vw);
    max-width: 100%;
    border-radius: 18px;
  }
  h1 {
    width: 100%;
    font-size: clamp(32px, 10vw, 46px);
    line-height: 1.15;
    margin: 0;
    white-space: normal;
  }
  .divider {
    width: min(320px, 86vw);
    gap: 9px;
    margin: 18px auto 18px;
  }
  .divider i {
    width: 10px;
    height: 10px;
  }
  .message {
    width: 100%;
    font-size: clamp(16px, 5vw, 20px);
    line-height: 1.75;
  }
  .construction-visual {
    width: min(270px, 78vw);
    margin: 26px auto 12px;
  }
  .thanks {
    font-size: clamp(17px, 5vw, 22px);
    margin: 0 0 20px;
  }
  .contact-form-card {
    width: 100%;
    max-width: 410px;
    margin: 0 auto 18px;
    padding: 16px;
    border-radius: 22px;
  }
  .contact-form-card h2 {
    font-size: 22px;
  }
  .contact-form-card p {
    font-size: 14px;
    line-height: 1.65;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 11px 13px;
    border-radius: 13px;
  }
  .message-field textarea {
    min-height: 96px;
  }
  .send-btn {
    min-width: 0;
    width: 100%;
    padding: 12px 18px;
    font-size: 16px;
  }
  .contact-bar {
    width: 100%;
    max-width: 410px;
    margin: 0 auto;
    padding: 14px 14px;
    gap: 10px;
    border-radius: 20px;
  }
  .contact-item {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .contact-item svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }
  .socials {
    margin-top: 16px;
    gap: 12px;
  }
  .socials a {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }
  .city {
    bottom: 8vh;
    width: 120px;
    height: 118px;
    opacity: 0.22;
  }
  .grid-floor {
    height: 22vh;
    bottom: -9%;
    left: -30%;
    right: -30%;
    opacity: 0.24;
    background-size: 34px 24px;
  }
}

@media (max-width: 390px) {
  .page-shell {
    padding: 14px 10px 24px;
  }
  .logo {
    width: min(280px, 84vw);
  }
  h1 {
    font-size: 32px;
  }
  .message {
    font-size: 16px;
  }
  .construction-visual {
    width: min(230px, 76vw);
  }
  .contact-form-card {
    padding: 14px;
  }
}

/* =========================
   V9 Live Chat Widget
   دردشة مباشرة بتصميم زجاجي متوافق مع الهاتف
   ========================= */
.live-chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  direction: rtl;
  font-family:
    "Expo Arabic", "Expo Arabic Book", "Expo Arabic Medium", "Tajawal", "Cairo",
    "Segoe UI", Arial, sans-serif;
}
.chat-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(55, 190, 255, 0.58);
  border-radius: 999px;
  padding: 13px 18px;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    rgba(0, 109, 255, 0.92),
    rgba(13, 185, 255, 0.92)
  );
  box-shadow:
    0 0 26px rgba(16, 167, 255, 0.35),
    0 16px 36px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
}
.chat-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chat-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28ffb4;
  box-shadow: 0 0 0 0 rgba(40, 255, 180, 0.65);
  animation: chatPulse 1.6s infinite;
}
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 360px;
  max-width: calc(100vw - 28px);
  overflow: hidden;
  border: 1px solid rgba(65, 170, 255, 0.42);
  border-radius: 24px;
  background: rgba(0, 18, 85, 0.84);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 0 30px rgba(15, 110, 255, 0.14);
  backdrop-filter: blur(16px);
  transform: translateY(16px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
}
.chat-panel.is-open,
.live-chat-widget.is-open .chat-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 18px;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.62),
    rgba(0, 188, 255, 0.18)
  );
  border-bottom: 1px solid rgba(65, 170, 255, 0.32);
}
.chat-header strong {
  display: block;
  font-size: 19px;
  color: #fff;
  margin-bottom: 5px;
}
.chat-header span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(231, 239, 255, 0.86);
}
.chat-header span i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #28ffb4;
  box-shadow: 0 0 14px rgba(40, 255, 180, 0.9);
}
.chat-close {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.chat-body {
  padding: 18px;
}
.chat-body p {
  margin: 0 0 14px;
  color: rgba(231, 239, 255, 0.9);
  font-size: 14px;
  line-height: 1.7;
}
.chat-form {
  display: grid;
  gap: 10px;
}
.chat-form input,
.chat-form textarea {
  width: 100%;
  border: 1px solid rgba(65, 170, 255, 0.36);
  outline: 0;
  border-radius: 14px;
  padding: 12px 13px;
  background: rgba(2, 9, 49, 0.76);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  box-shadow: inset 0 0 16px rgba(0, 93, 255, 0.12);
}
.chat-form input::placeholder,
.chat-form textarea::placeholder {
  color: rgba(231, 239, 255, 0.48);
}
.chat-form input:focus,
.chat-form textarea:focus {
  border-color: var(--cyan);
  box-shadow:
    0 0 0 3px rgba(16, 167, 255, 0.14),
    inset 0 0 18px rgba(0, 93, 255, 0.18);
}
.chat-form textarea {
  resize: vertical;
  min-height: 88px;
}
.chat-form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  color: #001354;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  background: linear-gradient(90deg, #10a7ff, #66d7ff);
  box-shadow: 0 0 20px rgba(16, 167, 255, 0.36);
}
.chat-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}
.chat-alert.success {
  color: #dfffee;
  background: rgba(17, 185, 112, 0.14);
  border: 1px solid rgba(17, 185, 112, 0.42);
}
.chat-alert.error {
  color: #ffe7e7;
  background: rgba(255, 76, 76, 0.14);
  border: 1px solid rgba(255, 76, 76, 0.42);
}
.chat-quick-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.chat-quick-actions a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(65, 170, 255, 0.36);
  border-radius: 999px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-weight: 800;
}
.chat-quick-actions a:hover {
  background: rgba(16, 167, 255, 0.2);
}
@keyframes chatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 255, 180, 0.65);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(40, 255, 180, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 255, 180, 0);
  }
}
@media (max-width: 760px) {
  .live-chat-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
  }
  .chat-toggle,
  .chat-panel {
    pointer-events: auto;
  }
  .chat-toggle {
    padding: 12px 15px;
    font-size: 14px;
  }
  .chat-panel {
    right: 0;
    bottom: 66px;
    width: 100%;
    max-width: 100%;
    border-radius: 22px;
  }
  .chat-body {
    padding: 15px;
  }
  .chat-header {
    padding: 15px;
  }
  .chat-toggle span:last-child {
    display: none;
  }
  .chat-toggle svg {
    width: 25px;
    height: 25px;
  }
}

/* V10 Realtime Chat */
.live-chat-widget.realtime .chat-panel {
  width: min(430px, calc(100vw - 28px));
  min-height: 540px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 12%, rgba(42, 185, 255, 0.22), transparent 28%),
    radial-gradient(circle at 82% 68%, rgba(0, 97, 255, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(3, 29, 140, 0.96) 0%, rgba(1, 12, 64, 0.98) 100%);
  box-shadow:
    0 30px 85px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(72, 184, 255, 0.14),
    inset 0 0 38px rgba(15, 110, 255, 0.18);
  isolation: isolate;
}
.live-chat-widget.realtime .chat-panel:before,
.live-chat-widget.realtime .chat-panel:after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.live-chat-widget.realtime .chat-panel:before {
  inset: 70px 0 0;
  background:
    linear-gradient(rgba(39, 184, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 184, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle, rgba(73, 197, 255, 0.62) 0 1px, transparent 2px);
  background-size: 34px 34px, 34px 34px, 78px 70px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
  opacity: 0.78;
}
.live-chat-widget.realtime .chat-panel:after {
  left: -22%;
  right: -22%;
  bottom: -126px;
  height: 250px;
  background:
    radial-gradient(ellipse at center, rgba(24, 190, 255, 0.42), transparent 58%),
    linear-gradient(rgba(31, 181, 255, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 181, 255, 0.22) 1px, transparent 1px);
  background-size: auto, 38px 26px, 38px 26px;
  filter: blur(1px);
  transform: perspective(360px) rotateX(64deg);
  transform-origin: bottom;
  opacity: 0.78;
}
.live-chat-widget.realtime .chat-header,
.live-chat-widget.realtime .rt-chat-start,
.live-chat-widget.realtime .rt-chat-box {
  position: relative;
  z-index: 1;
}
.live-chat-widget.realtime [hidden] {
  display: none !important;
}
.live-chat-widget.realtime .chat-header {
  min-height: 82px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(12, 85, 218, 0.84), rgba(0, 193, 255, 0.22)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
}
.live-chat-widget.realtime .chat-header strong {
  font-size: 20px;
}
.live-chat-widget.realtime .chat-header span {
  font-size: 13px;
}
.rt-chat-start {
  min-height: 458px;
  align-content: center;
  padding: 24px 22px 26px;
  display: grid;
  gap: 12px;
}
.rt-chat-start p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.8;
  text-align: center;
}
.rt-chat-start input,
.rt-send input {
  width: 100%;
  border: 1px solid rgba(26, 181, 255, 0.22);
  background: rgba(0, 13, 60, 0.58);
  color: #fff;
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  box-shadow: inset 0 0 18px rgba(11, 124, 255, 0.1);
}
.rt-chat-start input:focus,
.rt-send input:focus {
  border-color: #22c8ff;
  box-shadow: 0 0 0 3px rgba(34, 200, 255, 0.12);
}
.rt-chat-start button {
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #17c7ff, #0b7cff);
  color: #fff;
  font-weight: 900;
  padding: 15px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  box-shadow: 0 12px 28px rgba(0, 100, 255, 0.32);
}
.rt-chat-box {
  display: flex;
  flex-direction: column;
  height: 458px;
  position: relative;
  z-index: 1;
}
.rt-chat-identity {
  align-self: center;
  max-width: calc(100% - 28px);
  margin: 14px 14px 0;
  padding: 8px 16px;
  border: 1px solid rgba(71, 195, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 21, 86, 0.68);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: inset 0 0 18px rgba(20, 157, 255, 0.14);
}
.rt-messages {
  flex: 1;
  overflow: auto;
  padding: 16px 16px 12px;
  background: transparent;
}
.rt-msg {
  max-width: 84%;
  padding: 11px 13px;
  border-radius: 18px;
  margin: 9px 0;
  line-height: 1.65;
  font-size: 14px;
  word-wrap: break-word;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.13);
}
.rt-msg small {
  display: block;
  opacity: 0.65;
  margin-top: 3px;
  font-size: 11px;
}
.rt-msg.visitor {
  margin-right: auto;
  background: #fff;
  color: #06145a;
  border-bottom-left-radius: 5px;
}
.rt-msg.agent {
  margin-left: auto;
  background: linear-gradient(135deg, #0bbcff, #0077ff);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.rt-send {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid rgba(26, 181, 255, 0.18);
  background: rgba(0, 10, 50, 0.3);
  backdrop-filter: blur(10px);
}
.rt-send button {
  flex: 0 0 50px;
  width: 50px;
  border: 0;
  border-radius: 16px;
  background: #21c4ff;
  color: #00133f;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transform: scaleX(-1);
}
@media (max-width: 600px) {
  .live-chat-widget.realtime {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .live-chat-widget.realtime .chat-panel {
    width: 100%;
    min-height: 0;
    max-height: 82vh;
    border-radius: 24px;
  }
  .rt-chat-start {
    min-height: 380px;
    padding: 20px 16px;
  }
  .rt-chat-box {
    height: min(430px, 62vh);
  }
}
