:root {
  --brand-red: #c4161c;
  --brand-red-dark: #971018;
  --brand-red-bright: #ee2d2f;
  --ink: #17171a;
  --muted: #65656e;
  --line: rgba(23, 23, 26, 0.10);
  --paper: #fffdfd;
  --soft-red: #fff3f3;
  --shadow: 0 28px 70px rgba(91, 13, 19, 0.13), 0 3px 12px rgba(36, 12, 14, 0.05);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Arabic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 7% 9%, rgba(238, 45, 47, 0.08), transparent 26rem),
    radial-gradient(circle at 92% 87%, rgba(151, 16, 24, 0.07), transparent 28rem),
    linear-gradient(145deg, #ffffff 0%, #fffafa 58%, #fffdfd 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg width='90' height='90' viewBox='0 0 90 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: max(28px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
}

.coming-soon {
  width: min(100%, 1120px);
  margin: auto;
  display: grid;
  place-items: center;
  padding: clamp(28px, 6vh, 72px) 0 clamp(22px, 4vh, 50px);
}

.welcome-card {
  position: relative;
  width: min(100%, 900px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(196, 22, 28, 0.10);
  border-radius: clamp(26px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.87);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  text-align: center;
}

.welcome-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(196, 22, 28, 0.055);
  border-radius: calc(clamp(26px, 4vw, 44px) - 9px);
  pointer-events: none;
}

.company-logo {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 auto clamp(24px, 4vw, 36px);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
  padding: 9px 15px;
  border: 1px solid rgba(196, 22, 28, 0.16);
  border-radius: 999px;
  background: var(--soft-red);
  color: var(--brand-red-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-red-bright);
  box-shadow: 0 0 0 6px rgba(238, 45, 47, 0.10);
  animation: pulse 2.4s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--brand-red);
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(2.05rem, 5.3vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.arabic-title {
  margin: 14px 0 0;
  color: #2b2b30;
  font-size: clamp(1.25rem, 3.1vw, 2rem);
  font-weight: 750;
  line-height: 1.45;
}

.message {
  max-width: 690px;
  margin: clamp(24px, 4vw, 34px) auto 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.75;
}

.message p {
  margin: 0;
}

.message p + p {
  margin-top: 9px;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 700px;
  margin: clamp(30px, 5vw, 44px) auto 0;
  padding: 17px 18px 17px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  text-align: left;
}

.contact-copy {
  min-width: 0;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.email-link {
  display: block;
  color: var(--ink);
  font-size: clamp(0.92rem, 2vw, 1.07rem);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--brand-red);
}

.contact-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--brand-red-bright), var(--brand-red-dark));
  box-shadow: 0 12px 26px rgba(151, 16, 24, 0.22);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.contact-button svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(151, 16, 24, 0.28);
  filter: saturate(1.08);
}

.contact-button:active {
  transform: translateY(0);
}

.email-link:focus-visible,
.contact-button:focus-visible {
  outline: 3px solid rgba(238, 45, 47, 0.28);
  outline-offset: 4px;
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 14px;
  color: #85858c;
  font-size: 0.76rem;
  font-weight: 650;
  text-align: center;
}

.footer-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(196, 22, 28, 0.55);
}

.brand-sweep {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(0.1px);
}

.brand-sweep--top {
  top: -25vw;
  right: -26vw;
  width: min(72vw, 940px);
  aspect-ratio: 1;
  border: clamp(52px, 8vw, 115px) solid rgba(196, 22, 28, 0.055);
  transform: rotate(-22deg) scaleX(1.3);
}

.brand-sweep--bottom {
  left: -28vw;
  bottom: -38vw;
  width: min(86vw, 1060px);
  aspect-ratio: 1;
  border: clamp(60px, 10vw, 145px) solid rgba(196, 22, 28, 0.045);
  transform: rotate(20deg) scaleX(1.42);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.82); opacity: 0.68; }
}

@media (max-width: 640px) {
  .page-shell {
    padding-inline: max(14px, env(safe-area-inset-left));
  }

  .coming-soon {
    padding-block: 18px 24px;
  }

  .welcome-card {
    padding: 31px 20px 22px;
    border-radius: 28px;
  }

  .company-logo {
    width: min(100%, 405px);
    margin-bottom: 21px;
  }

  .status-pill {
    margin-bottom: 20px;
    font-size: 0.69rem;
    letter-spacing: 0.055em;
  }

  h1 {
    font-size: clamp(2rem, 11vw, 3.1rem);
    letter-spacing: -0.047em;
  }

  .arabic-title {
    margin-top: 10px;
    font-size: clamp(1.14rem, 6vw, 1.55rem);
  }

  .message {
    margin-top: 20px;
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .contact-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-top: 25px;
    padding: 17px;
    text-align: center;
  }

  .contact-button {
    width: 100%;
  }

  footer {
    flex-wrap: wrap;
    padding-top: 8px;
    font-size: 0.7rem;
  }
}

@media (max-width: 370px) {
  .welcome-card {
    padding-inline: 16px;
  }

  .status-pill {
    gap: 7px;
    padding-inline: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
