@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-Thin.ttf") format("truetype");
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("assets/fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f8fbff;
  --ink: #101b3f;
  --muted: #536080;
  --violet: #6b5cf3;
  --violet-deep: #5042db;
  --green: #35c98f;
  --aqua: #42b9df;
  --line: rgba(94, 105, 220, 0.18);
  --shadow: 0 28px 80px rgba(75, 88, 182, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 58%, rgba(120, 151, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 56%, #ffffff 100%);
  overflow-x: hidden;
}

.page-shell {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  isolation: isolate;
  padding: clamp(18px, 3vw, 42px) 20px;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  z-index: -2;
  pointer-events: none;
  opacity: 0.68;
}

.page-shell::before {
  inset: auto -7vw -11vw -7vw;
  height: 30vw;
  min-height: 220px;
  border-top: 2px solid rgba(108, 92, 243, 0.12);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), transparent 70%);
}

.page-shell::after {
  top: -18vw;
  right: -18vw;
  width: 48vw;
  height: 48vw;
  border: 1px solid rgba(108, 92, 243, 0.1);
  border-radius: 46% 54% 48% 52%;
  transform: rotate(-18deg);
}

.ambient {
  position: absolute;
  z-index: -1;
  border: 1px solid var(--line);
  opacity: 0.75;
  pointer-events: none;
}

.ambient-one {
  width: min(46vw, 600px);
  height: min(46vw, 600px);
  left: -17vw;
  top: 20vh;
  border-radius: 48% 52% 44% 56%;
  transform: rotate(18deg);
}

.ambient-two {
  width: min(38vw, 520px);
  height: min(38vw, 520px);
  right: -15vw;
  bottom: 14vh;
  border-radius: 55% 45% 56% 44%;
  transform: rotate(-12deg);
}

.dot-field {
  position: absolute;
  width: 118px;
  height: 78px;
  opacity: 0.5;
  background-image: radial-gradient(circle, rgba(108, 92, 243, 0.38) 0 3px, transparent 3.5px);
  background-size: 24px 24px;
  pointer-events: none;
}

.dot-field-left {
  left: clamp(24px, 7vw, 120px);
  bottom: clamp(70px, 12vh, 150px);
}

.dot-field-right {
  right: clamp(28px, 8vw, 150px);
  top: clamp(72px, 13vh, 150px);
}

.hero {
  width: min(100%, 1040px);
  min-height: min(760px, calc(100vh - 56px));
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  padding-block: clamp(12px, 2vh, 36px);
}

.brand-mark {
  width: clamp(72px, 7vw, 104px);
  height: clamp(72px, 7vw, 104px);
  display: grid;
  place-items: center;
  margin-bottom: clamp(8px, 1.4vw, 18px);
  filter: drop-shadow(0 18px 24px rgba(74, 89, 205, 0.12));
}

.brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.1vw, 4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.divider {
  display: grid;
  grid-template-columns: 48px 12px 48px;
  align-items: center;
  gap: 10px;
  margin-block: clamp(10px, 1.6vw, 18px) clamp(10px, 1.4vw, 14px);
}

.divider span {
  display: block;
  height: 2px;
  border-radius: 999px;
}

.divider span:first-child {
  background: linear-gradient(90deg, transparent, var(--violet));
}

.divider span:last-child {
  background: linear-gradient(90deg, var(--green), transparent);
}

.divider i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--violet);
  box-shadow: 0 0 0 7px rgba(107, 92, 243, 0.12);
}

.soon {
  margin: 0;
  padding-bottom: 0.08em;
  font-size: clamp(5rem, 13.4vw, 11.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  background: linear-gradient(180deg, #9276ff 0%, var(--violet-deep) 72%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 26px 44px rgba(83, 68, 219, 0.16);
}

.lottie-stage {
  position: relative;
  width: min(66vw, 580px);
  aspect-ratio: 2.05 / 1;
  margin-top: clamp(-36px, -2.6vw, -12px);
}

.lottie-stage::before {
  content: "";
  position: absolute;
  inset: 14% 8% 3%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(107, 92, 243, 0.13), transparent 62%);
  filter: blur(4px);
}

.lottie-canvas {
  width: 100%;
  height: 100%;
}

.domain {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(6px, 1vh, 16px);
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
}

.domain::before,
.domain::after {
  content: "";
  width: clamp(64px, 8vw, 104px);
  height: 2px;
  border-radius: 999px;
}

.domain::before {
  background: linear-gradient(90deg, transparent, var(--aqua));
}

.domain::after {
  background: linear-gradient(90deg, var(--violet), transparent);
}

.domain svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 720px) {
  .page-shell {
    padding: 24px 16px;
  }

  .hero {
    min-height: calc(100vh - 48px);
  }

  .dot-field {
    display: none;
  }

  .ambient-one {
    width: 82vw;
    height: 82vw;
    left: -48vw;
    top: 28vh;
  }

  .ambient-two {
    width: 78vw;
    height: 78vw;
    right: -48vw;
    bottom: 12vh;
  }

  .divider {
    grid-template-columns: 34px 10px 34px;
    gap: 8px;
  }

  .divider i {
    width: 10px;
    height: 10px;
  }

  .lottie-stage {
    width: min(96vw, 500px);
    aspect-ratio: 1.42 / 1;
    margin-top: 4px;
  }

  .domain::before,
  .domain::after {
    width: 42px;
  }
}

@media (max-height: 720px) and (min-width: 760px) {
  .hero {
    transform: scale(0.88);
  }
}

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