:root {
  --bg: #08090d;
  --bg-soft: #10131a;
  --surface: rgba(255, 255, 255, 0.075);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f8fb;
  --muted: rgba(247, 248, 251, 0.68);
  --quiet: rgba(247, 248, 251, 0.44);
  --accent: #ff2f6d;
  --accent-deep: #c91651;
  --cyan: #27d7d7;
  --gold: #f7bd4b;
  --green: #4add88;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --font: "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  direction: rtl;
  color: var(--text);
  font-family: var(--font);
  background:
    linear-gradient(115deg, rgba(255, 47, 109, 0.18), transparent 32%),
    linear-gradient(245deg, rgba(39, 215, 215, 0.14), transparent 34%),
    linear-gradient(180deg, #08090d 0%, #0d1017 54%, #08090d 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  color: inherit;
  background: none;
}

:focus-visible {
  outline: 3px solid rgba(39, 215, 215, 0.7);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  height: 68px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 9px 10px 9px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 9, 13, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(255, 47, 109, 0.34);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.brand small,
.store-badge small {
  color: var(--quiet);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-links a {
  min-width: 84px;
  padding: 10px 14px;
  border-radius: 13px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  transition: color 0.18s ease, background 0.18s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.icon-btn {
  justify-self: end;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 14px 35px rgba(255, 47, 109, 0.34);
}

.icon-btn svg,
.feature-icon svg,
.reaction-stack svg,
.modal-x svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

main {
  position: relative;
}

.hero-section {
  min-height: 100vh;
  padding: 124px 24px 72px;
  display: grid;
  align-items: center;
}

.hero-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: 56px;
}

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

.eyebrow {
  width: fit-content;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(39, 215, 215, 0.2);
  border-radius: 999px;
  color: rgba(219, 255, 255, 0.88);
  background: rgba(39, 215, 215, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(64px, 10vw, 132px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.9;
  font-weight: 500;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.store-badge {
  min-width: 196px;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
}

.primary-store {
  border-color: rgba(255, 47, 109, 0.42);
  background: linear-gradient(135deg, rgba(255, 47, 109, 0.96), rgba(201, 22, 81, 0.96));
}

.primary-store small {
  color: rgba(255, 255, 255, 0.72);
}

.store-badge svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
}

.store-badge span {
  display: grid;
  gap: 2px;
  text-align: start;
}

.store-badge strong {
  font-size: 16px;
  line-height: 1.1;
}

.store-badge small {
  font-size: 10px;
  line-height: 1.1;
  text-transform: uppercase;
}

.trust-strip {
  width: min(520px, 100%);
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-strip span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hero-visual {
  min-width: 0;
  display: grid;
  place-items: center;
}

.phone-scene {
  position: relative;
  width: min(520px, 100%);
  min-height: 650px;
}

.phone-frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 42px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
}

.phone-back {
  top: 44px;
  left: 18px;
  width: 250px;
  aspect-ratio: 9 / 18.6;
  transform: rotate(-8deg);
  opacity: 0.86;
}

.phone-front {
  top: 0;
  right: 28px;
  width: 314px;
  aspect-ratio: 9 / 19.4;
  padding: 10px;
}

.phone-notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 5;
  width: 92px;
  height: 25px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: #090a0e;
}

.app-screen,
.mini-feed {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 33px;
  background:
    linear-gradient(180deg, rgba(255, 47, 109, 0.18), transparent 36%),
    linear-gradient(145deg, #171923, #05060a);
}

.app-top {
  position: absolute;
  top: 56px;
  left: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-top strong {
  font-size: 19px;
}

.app-top span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #10131a;
  background: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.video-card {
  position: absolute;
  inset: 96px 15px 72px;
  overflow: hidden;
  border-radius: 28px;
  background: #090a0e;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 26%, rgba(0, 0, 0, 0.86)),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255, 255, 255, 0.04) 25px 26px);
  pointer-events: none;
}

.video-timeline {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: repeat(4, 100%);
  animation: timeline-scroll 9s cubic-bezier(0.72, 0, 0.28, 1) infinite;
}

.video-slide {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 26% 18%, rgba(255, 255, 255, 0.28), transparent 24%),
    linear-gradient(145deg, rgba(255, 47, 109, 0.94), rgba(95, 45, 221, 0.64) 45%, rgba(8, 9, 13, 0.9));
}

.video-slide::before,
.video-slide::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(4px);
}

.video-slide::before {
  width: 150px;
  height: 150px;
  top: 16%;
  right: -46px;
}

.video-slide::after {
  width: 120px;
  height: 120px;
  left: -34px;
  bottom: 20%;
}

.slide-two {
  background:
    radial-gradient(circle at 78% 20%, rgba(39, 215, 215, 0.42), transparent 26%),
    linear-gradient(150deg, rgba(39, 215, 215, 0.88), rgba(16, 19, 26, 0.84) 48%, rgba(247, 189, 75, 0.54));
}

.slide-three {
  background:
    radial-gradient(circle at 44% 22%, rgba(74, 221, 136, 0.36), transparent 28%),
    linear-gradient(160deg, rgba(74, 221, 136, 0.72), rgba(255, 47, 109, 0.7) 48%, rgba(8, 9, 13, 0.9));
}

.video-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  transform: translate(-50%, -58%) scale(1);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
  animation: logo-breathe 3s ease-in-out infinite;
}

.play-chip {
  position: absolute;
  top: 20px;
  right: 18px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.video-meta {
  position: absolute;
  right: 18px;
  bottom: 22px;
  left: 76px;
  z-index: 3;
}

.video-meta strong {
  display: block;
  font-size: 15px;
}

.video-meta p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  line-height: 1.55;
}

.reaction-stack {
  position: absolute;
  left: 13px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  gap: 10px;
}

.reaction-stack button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  animation: reaction-pop 3s ease-in-out infinite;
}

.reaction-stack button:nth-child(2) {
  animation-delay: 0.18s;
}

.reaction-stack button:nth-child(3) {
  animation-delay: 0.36s;
}

.bottom-tabs {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  z-index: 2;
  height: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 12px;
}

.bottom-tabs span {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.bottom-tabs .active {
  background: #fff;
}

@keyframes timeline-scroll {
  0%,
  24% {
    transform: translateY(0);
  }

  32%,
  57% {
    transform: translateY(-100%);
  }

  65%,
  90% {
    transform: translateY(-200%);
  }

  100% {
    transform: translateY(-300%);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    transform: translate(-50%, -58%) scale(1);
  }

  50% {
    transform: translate(-50%, -58%) scale(1.08);
  }
}

@keyframes reaction-pop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  45% {
    transform: translateY(-2px) scale(1.06);
  }
}

.mini-feed {
  padding: 54px 18px 20px;
}

.story-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.story-row span {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 47, 109, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.trend-card,
.chat-preview {
  margin-top: 24px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trend-card strong,
.chat-preview strong {
  display: block;
  font-size: 18px;
}

.trend-card small,
.chat-preview small {
  color: var(--muted);
}

.chat-preview {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-preview > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
}

.feature-band,
.experience-section,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 72px;
}

.feature-band article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 18px 65px rgba(0, 0, 0, 0.18);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #10131a;
  background: var(--gold);
}

.feature-band article:nth-child(2) .feature-icon {
  background: var(--cyan);
}

.feature-band article:nth-child(3) .feature-icon {
  background: var(--green);
}

.feature-band h2 {
  margin: 24px 0 10px;
  font-size: 23px;
  line-height: 1.35;
}

.feature-band p,
.section-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.experience-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 68px 0 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-copy h2 {
  margin: 0 0 16px;
  max-width: 560px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.22;
  letter-spacing: 0;
}

.metric-grid {
  display: grid;
  gap: 12px;
}

.metric-grid div {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-grid strong {
  color: var(--cyan);
  font-size: 28px;
}

.metric-grid span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 36px;
  color: var(--quiet);
  font-size: 13px;
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer strong {
  color: var(--text);
  font-size: 16px;
}

.site-footer a:hover {
  color: var(--text);
}

.policy-page {
  min-height: 100vh;
}

.policy-shell {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 132px 0 64px;
}

.policy-card {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.policy-card h1 {
  margin: 0 0 20px;
  font-size: clamp(36px, 7vw, 68px);
  line-height: 1.15;
  letter-spacing: 0;
}

.policy-card h2 {
  margin: 34px 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.policy-card p,
.policy-card li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.policy-card p {
  margin: 0;
}

.policy-card ul,
.policy-card ol {
  margin: 0;
  padding-inline-start: 22px;
}

.policy-card a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(39, 215, 215, 0.55);
  text-underline-offset: 4px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(14px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: min(500px, 100%);
  padding: 34px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(16, 19, 26, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.modal > img {
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(255, 47, 109, 0.28);
}

.modal h2 {
  margin: 16px 0 8px;
  font-size: 30px;
}

.modal p {
  max-width: 380px;
  margin: 0 auto 22px;
  color: var(--muted);
  line-height: 1.75;
}

.modal .store-row {
  justify-content: center;
}

.modal-x {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
}

@media (max-width: 980px) {
  .site-header {
    top: 12px;
    width: min(680px, calc(100% - 24px));
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 112px 18px 56px;
  }

  .hero-grid,
  .experience-section {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow,
  .hero-lede,
  .hero-actions {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .trust-strip {
    margin-right: auto;
    margin-left: auto;
  }

  .phone-scene {
    min-height: 560px;
    width: min(460px, 100%);
  }

  .phone-front {
    right: 50%;
    width: min(300px, 72vw);
    transform: translateX(50%);
  }

  .phone-back {
    left: auto;
    right: calc(50% + 24px);
    width: min(220px, 54vw);
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .experience-section {
    gap: 24px;
    padding-top: 52px;
  }
}

@media (max-width: 620px) {
  .site-header {
    height: 62px;
    border-radius: 19px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .hero-copy h1 {
    font-size: 72px;
  }

  .hero-lede {
    font-size: 17px;
    line-height: 1.85;
  }

  .hero-actions,
  .store-row {
    width: 100%;
  }

  .store-badge {
    width: 100%;
    min-width: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .phone-scene {
    min-height: 500px;
  }

  .phone-front {
    width: min(286px, 82vw);
  }

  .phone-back {
    display: none;
  }

  .feature-band,
  .experience-section,
  .site-footer {
    width: min(100% - 32px, 520px);
  }

  .feature-band article {
    min-height: 0;
    padding: 22px;
  }

  .metric-grid div {
    grid-template-columns: 56px 1fr;
  }

  .site-footer,
  .site-footer div {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    align-items: flex-start;
  }

  .policy-shell {
    width: min(100% - 32px, 520px);
    padding-top: 112px;
  }

  .policy-card {
    border-radius: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
