:root {
  --ink: #f8fbff;
  --muted: rgba(248, 251, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(9, 21, 44, 0.52);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --cyan: #63e6d8;
  --gold: #f3c969;
  --rose: #f26e9f;
  --navy: #071225;
  --violet: #2f235f;
  --english-display: "Cormorant Garamond", Georgia, serif;
  --arabic-display: "Noto Kufi Arabic", "Inter", sans-serif;
  --arabic-body: "Noto Sans Arabic", "Inter", sans-serif;
  --body-font: "Inter", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 16px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  font-family: var(--body-font);
  overflow-x: hidden;
}

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

.site-shell {
  min-height: 100vh;
}

.coming-soon {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 100vh;
  max-height: 100svh;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(0.85rem, 2vh, 1.5rem) clamp(1rem, 3vw, 3rem);
  background:
    radial-gradient(circle at 12% 18%, rgba(99, 230, 216, 0.28), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(242, 110, 159, 0.22), transparent 24rem),
    linear-gradient(135deg, #071225 0%, #14284c 46%, #31225d 100%);
}

.coming-soon::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.88), transparent 82%);
}

.ambient {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.72;
  animation: drift 12s ease-in-out infinite alternate;
}

.ambient-one {
  width: 18rem;
  height: 18rem;
  right: 9%;
  bottom: 12%;
  background: linear-gradient(145deg, rgba(99, 230, 216, 0.18), rgba(255, 255, 255, 0.02));
}

.ambient-two {
  width: 12rem;
  height: 12rem;
  left: 8%;
  bottom: 18%;
  animation-delay: -4s;
  background: linear-gradient(145deg, rgba(243, 201, 105, 0.18), rgba(255, 255, 255, 0.02));
}

.ambient-three {
  width: 8rem;
  height: 8rem;
  top: 18%;
  right: 34%;
  animation-delay: -8s;
  background: linear-gradient(145deg, rgba(242, 110, 159, 0.16), rgba(255, 255, 255, 0.02));
}

.top-bar {
  position: absolute;
  top: clamp(0.55rem, 2vh, 0.95rem);
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - clamp(1.8rem, 6vw, 6rem)), 1180px);
  margin: 0 auto;
  padding: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  animation: logoFade 700ms ease both;
}

.brand-symbol {
  display: block;
  width: clamp(5.5rem, 9vw, 7.25rem);
}

.brand-symbol img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-name {
  color: var(--ink);
  font-family: var(--body-font);
  font-size: clamp(1rem, 2vw, 1.18rem);
  font-weight: 700;
  line-height: 1.2;
}

.brand-line {
  color: var(--muted);
  font-size: 0.82rem;
}

.language-switcher {
  display: inline-flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.language-button {
  min-width: 2.7rem;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: var(--muted);
  background: transparent;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.language-button:hover,
.language-button.active {
  color: #071225;
  background: var(--ink);
}

.language-button:hover {
  transform: translateY(-1px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.72fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  width: min(100%, 1180px);
  flex: 1;
  margin: 0 auto;
  padding: clamp(4.25rem, 12vh, 6.25rem) 0 clamp(0.35rem, 1.25vh, 0.85rem);
}

.hero-copy {
  max-width: 46rem;
  animation: rise 800ms ease both;
}

.eyebrow,
.card-kicker {
  margin: 0 0 clamp(0.55rem, 1.3vh, 0.85rem);
  color: #8ff8ee;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--english-display);
  font-size: clamp(3.7rem, 8.5vw, 7.4rem);
  font-weight: 700;
  line-height: 0.9;
  color: #ffffff;
  text-shadow: 0 14px 45px rgba(0, 0, 0, 0.42);
}

.subtitle {
  max-width: 42rem;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.9rem 1.25rem 0.9rem 1.55rem;
  background: linear-gradient(135deg, var(--cyan), #d6fff8);
  box-shadow: 0 20px 50px rgba(99, 230, 216, 0.22);
  color: #071225;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 70px rgba(99, 230, 216, 0.3);
}

.cta-arrow {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(7, 18, 37, 0.12);
}

.launch-note {
  color: var(--muted);
  font-weight: 600;
}

.countdown-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  align-self: center;
  width: 100%;
  padding: clamp(1rem, 2vw, 1.55rem);
  background: linear-gradient(145deg, rgba(5, 15, 34, 0.72), rgba(255, 255, 255, 0.11));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(24px);
  animation: rise 800ms 120ms ease both;
}

.card-glow {
  position: absolute;
  inset: -40% -30% auto auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: rgba(243, 201, 105, 0.22);
  filter: blur(35px);
}

.countdown {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.55rem, 1.4vw, 0.8rem);
}

.time-tile {
  display: grid;
  min-height: clamp(6.25rem, 13vh, 7.5rem);
  align-content: center;
  gap: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: clamp(0.7rem, 1.6vw, 0.95rem);
  background: rgba(255, 255, 255, 0.105);
  text-align: center;
}

.time-tile strong {
  font-family: var(--english-display);
  font-size: clamp(2.45rem, 4.8vw, 3.85rem);
  line-height: 0.92;
  color: #ffffff;
}

.time-tile span {
  color: rgba(248, 251, 255, 0.86);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.social-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-row a {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--glass-strong);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.social-row a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.page-footer {
  width: min(100%, 1180px);
  margin: 0 auto;
  flex: 0 0 auto;
  padding-top: 0;
  color: rgba(248, 251, 255, 0.56);
  font-size: 0.95rem;
}

html[dir="rtl"] body {
  font-family: var(--arabic-body);
}

html[dir="rtl"] .brand-name,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .card-kicker,
html[dir="rtl"] .time-tile span {
  font-family: var(--arabic-body);
}

html[dir="rtl"] .hero-copy h1 {
  font-family: var(--arabic-display);
}

html[dir="rtl"] .brand-symbol,
html[dir="rtl"] .time-tile strong {
  font-family: var(--english-display);
}

html[dir="rtl"] .eyebrow,
html[dir="rtl"] .card-kicker,
html[dir="rtl"] .time-tile span {
  letter-spacing: 0;
}

html[dir="rtl"] .hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(3.35rem, 7.6vw, 6.6rem);
  font-weight: 800;
  line-height: 1.08;
}

html[dir="rtl"] .cta-arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .brand-copy,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .countdown-card {
  text-align: right;
}

html[dir="rtl"] .top-bar {
  direction: rtl;
}

html[dir="rtl"] .hero-grid {
  direction: ltr;
}

html[dir="rtl"] .hero-copy,
html[dir="rtl"] .countdown-card {
  direction: rtl;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  to {
    transform: translate3d(18px, -22px, 0) rotate(10deg);
  }
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    align-content: center;
    align-items: center;
    gap: clamp(1.1rem, 3vh, 1.7rem);
    padding-top: clamp(5rem, 17vh, 7.5rem);
  }

  .hero-copy h1 {
    max-width: 9ch;
  }

  .countdown-card {
    max-width: 34rem;
  }
}

@media (max-width: 640px) {
  .coming-soon {
    padding: 0.75rem 0.9rem;
  }

  .top-bar {
    align-items: center;
  }

  .brand-symbol {
    width: clamp(4.75rem, 24vw, 5.75rem);
  }

  .brand-line {
    display: none;
  }

  .hero-grid {
    gap: clamp(0.9rem, 2.4vh, 1.35rem);
    padding-top: clamp(4.7rem, 18vh, 6.5rem);
    padding-bottom: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.95rem, 15vw, 4.45rem);
    line-height: 0.94;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .countdown {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .countdown-card {
    border-radius: 1.1rem;
    padding: 0.85rem;
  }

  .time-tile {
    min-height: clamp(5.25rem, 14vh, 6.15rem);
    border-radius: 0.8rem;
    padding: 0.65rem 0.45rem;
  }

  .time-tile strong {
    font-size: clamp(2.15rem, 12vw, 3.05rem);
  }

  .time-tile span {
    font-size: 0.68rem;
  }
}

@media (max-width: 380px), (max-height: 700px) {
  .coming-soon {
    padding-block: 0.55rem;
  }

  .brand-symbol {
    width: clamp(4.25rem, 21vw, 5.15rem);
  }

  .language-button {
    min-width: 2.35rem;
    padding: 0.38rem 0.58rem;
    font-size: 0.78rem;
  }

  .eyebrow,
  .card-kicker {
    margin-bottom: 0.45rem;
    font-size: 0.68rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  html[dir="rtl"] .hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.35rem);
  }

  .countdown-card {
    padding: 0.7rem;
  }

  .time-tile {
    min-height: 4.8rem;
  }

  .time-tile strong {
    font-size: clamp(1.9rem, 10vw, 2.55rem);
  }
}
