:root {
  --bg: #080611;
  --text: #fff;
  --muted: #d8d4e4;
  --pink: #ff3d91;
  --violet: #8b5cf6;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 5%, #28103d 0, transparent 32%),
    radial-gradient(circle at 85% 22%, #102c49 0, transparent 28%), var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[dir='rtl'] body {
  font-family: 'Noto Sans Arabic', Inter, sans-serif;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
a {
  font: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 5vw, 64px) max(20px, env(safe-area-inset-left))
    calc(112px + var(--safe-bottom)) max(20px, env(safe-area-inset-right));
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: saturate(0.94) contrast(1.03);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    180deg,
    rgba(7, 5, 14, 0.18) 0%,
    rgba(7, 5, 14, 0.28) 35%,
    rgba(7, 5, 14, 0.88) 82%,
    #080611 100%
  );
}
.hero::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: rgba(255, 55, 145, 0.22);
  filter: blur(90px);
  right: -30vw;
  bottom: -25vw;
  z-index: -1;
}
html[dir='rtl'] .hero::after {
  right: auto;
  left: -30vw;
}
.hero-content {
  width: min(760px, 100%);
  text-align: center;
  animation: rise 0.8s ease-out both;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(7, 5, 14, 0.35);
  backdrop-filter: blur(12px);
  font-size: clamp(11px, 2.6vw, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #45ef8b;
  box-shadow: 0 0 16px #45ef8b;
}
h1 {
  margin: 16px auto 10px;
  font-size: clamp(2rem, 8vw, 5.75rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  max-width: 820px;
  text-wrap: balance;
}
.lead {
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: clamp(16px, 4vw, 22px);
  line-height: 1.5;
  max-width: 610px;
  text-wrap: balance;
}
.download {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: min(420px, 100%);
  min-height: 62px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--pink), var(--violet));
  box-shadow:
    0 16px 44px rgba(238, 47, 137, 0.38),
    inset 0 1px rgba(255, 255, 255, 0.28);
  font-size: clamp(17px, 4vw, 21px);
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}
.download:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.08);
}
.download:active {
  transform: scale(0.98);
}
.download::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -35%;
  width: 28%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  animation: shine 3s infinite;
}
.micro {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(11px, 2.7vw, 13px);
}
main {
  padding: clamp(18px, 4vw, 42px) 0 calc(104px + var(--safe-bottom));
}
.section {
  width: min(1180px, 100%);
  margin: auto;
  padding: 0;
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(28px, 6vw, 54px);
  padding: 0 18px;
}
.section h2,
.cta h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 7vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 3.8vw, 20px);
  line-height: 1.6;
}
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 0 18px;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature {
  padding: clamp(21px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  border-radius: 26px;
  backdrop-filter: blur(16px);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}
.feature:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}
.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 61, 145, 0.28), rgba(139, 92, 246, 0.28));
  font-size: 24px;
  margin-bottom: 17px;
}
.feature h3 {
  margin: 0 0 8px;
  font-size: clamp(19px, 4vw, 25px);
}
.feature p {
  font-size: clamp(14px, 3vw, 17px);
}
.gallery-stack {
  display: grid;
  gap: clamp(4px, 1vw, 12px);
  overflow: hidden;
}
.gallery-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.gallery {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 6px 0 12px;
  will-change: transform;
}
.gallery-left {
  animation: marquee-left 40s linear infinite;
}
.gallery-right {
  animation: marquee-right 46s linear infinite;
}
.gallery:hover {
  animation-play-state: paused;
}
html[dir='rtl'] .gallery-left {
  animation-name: marquee-right;
}
html[dir='rtl'] .gallery-right {
  animation-name: marquee-left;
}
.card {
  width: clamp(170px, 26vw, 300px);
  height: clamp(270px, 43vw, 450px);
  border-radius: clamp(18px, 2.2vw, 28px);
  overflow: hidden;
  position: relative;
  flex: none;
  background: #151020;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.card:hover img {
  transform: scale(1.045);
}
.card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(transparent, rgba(6, 4, 11, 0.75));
}
.ticker-wrap {
  overflow: hidden;
  margin: clamp(18px, 4vw, 36px) 0;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 1.4rem;
  align-items: center;
  animation: marquee-left 32s linear infinite;
}
html[dir='rtl'] .marquee-track {
  animation-name: marquee-right;
}
.ticker-item {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.ticker-sep {
  color: rgba(255, 255, 255, 0.18);
}
.steps-sec {
  width: min(1180px, 100%);
  margin: auto;
  padding: clamp(48px, 8vw, 96px) 18px 0;
}
.steps {
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step-item {
    border-bottom: 0 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
  .step-item:last-child {
    border-right: 0;
  }
}
html[dir='rtl'] .steps .step-item {
  border-right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}
html[dir='rtl'] .steps .step-item:last-child {
  border-left: 0;
}
.step-item {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 0.85rem;
  padding: 1.2rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.step-item:last-child {
  border-bottom: none;
}
.step-n {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--pink);
  padding-top: 2px;
}
.step-item h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.step-item p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.final-features {
  width: min(1180px, 100%);
  padding: clamp(64px, 10vw, 110px) 0 clamp(48px, 8vw, 80px);
}
.cta {
  margin: 0 18px clamp(26px, 6vw, 70px);
  min-height: clamp(360px, 62vw, 560px);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: end center;
  padding: 32px 22px 48px;
  text-align: center;
  background: #171020;
  isolation: isolate;
}
.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -3;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 5, 14, 0.05), rgba(7, 5, 14, 0.88));
  z-index: -2;
}
.cta-content {
  max-width: 650px;
}
.cta p {
  font-size: clamp(15px, 3.6vw, 19px);
  color: var(--muted);
  margin: 0 0 22px;
}
footer {
  padding: 1.2rem 18px calc(5.5rem + var(--safe-bottom));
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.32);
}
footer a {
  color: rgba(255, 255, 255, 0.5);
}
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px max(12px, env(safe-area-inset-left)) calc(10px + var(--safe-bottom))
    max(12px, env(safe-area-inset-right));
  background: linear-gradient(180deg, transparent, rgba(8, 6, 17, 0.9) 28%, rgba(8, 6, 17, 0.98));
  display: flex;
  justify-content: center;
}
.sticky .download {
  min-height: 56px;
  width: min(520px, 100%);
}
.lang-wrap {
  position: absolute;
  top: max(16px, var(--safe-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 8;
}
html[dir='rtl'] .lang-wrap {
  right: auto;
  left: max(16px, env(safe-area-inset-left));
}
.lang {
  min-height: 44px;
  min-width: 52px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 6, 17, 0.36);
  color: #fff;
  padding: 9px 12px;
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  direction: ltr;
  unicode-bidi: isolate;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: min(260px, 72vw);
  max-height: min(62vh, 420px);
  overflow: auto;
  background: #141018;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
html[dir='rtl'] .lang-dropdown {
  right: auto;
  left: 0;
}
.lang-dropdown.open {
  display: block;
}
.lang-dropdown button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: transparent;
  border: 0;
  color: #ddd;
  font: inherit;
  font-size: 0.8125rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: start;
  min-height: 44px;
}
.lang-dropdown button:hover,
.lang-dropdown button.active {
  background: rgba(255, 61, 145, 0.18);
  color: #fff;
}
.lang-dropdown .code {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--pink);
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
#dl-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#dl-mask.show {
  display: flex;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes shine {
  0%,
  55% {
    left: -35%;
  }
  75%,
  100% {
    left: 130%;
  }
}
@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes dl-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dl-bounce {
  from {
    transform: translateY(-2px);
  }
  to {
    transform: translateY(5px);
  }
}
@media (max-width: 760px) {
  .gallery {
    gap: 10px;
  }
  .card {
    width: 44vw;
    height: 68vw;
  }
  .feature {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
  }
  .feature .icon {
    grid-row: 1/3;
    margin-bottom: 0;
  }
  .cta {
    margin-inline: 12px;
  }
  main {
    padding-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
