:root {
  --primary: #871e35;
  --primary-900: #4a1020;
  --accent: #b8324f;
  --success: #22c55e;
  --rose: #981e3e;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --glass: rgba(255, 255, 255, 0.72);
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 55px rgba(15, 23, 42, 0.13);
  --shadow-xl: 0 30px 90px rgba(135, 30, 53, 0.22);
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family:
    "Cairo",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.section {
  padding: 112px 0;
  position: relative;
}
.section-sm {
  padding: 62px 0;
}
.section-head {
  width: min(740px, 100%);
  margin: 0 auto 46px;
  text-align: center;
}
.section-head.align-left {
  margin: 0;
  text-align: right;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 6.1vw, 5.75rem);
  line-height: 0.96;
  font-weight: 900;
  max-width: 780px;
}
h2 {
  font-size: clamp(2.15rem, 4vw, 4.45rem);
  line-height: 1.04;
  font-weight: 900;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 800;
}
p {
  color: var(--muted);
  font-size: 1.04rem;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s var(--ease);
}
.loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  width: 74px;
  height: 74px;
  animation: loaderPulse 1.1s infinite;
}
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 1001;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--success));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition:
    background 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    padding 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(226, 232, 240, 0.75);
}
.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.16rem;
  white-space: nowrap;
}
.brand img {
  width: 70px;
  height: 70px;
  border-radius: 14px;
}
.brand strong {
  color: var(--accent);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}
.nav-menu a {
  padding: 9px 16px;
  border-radius: 999px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active {
  background: var(--primary);
  color: #fff;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary);
  border-radius: 10px;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 16px 34px rgba(135, 30, 53, 0.24);
}
.btn-secondary {
  color: var(--primary);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.86);
}
.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.ripple span.ripple-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  transform: scale(0);
  animation: ripple 0.65s linear;
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  padding: 164px 0 96px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 16%,
      rgba(135, 30, 53, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 16% 78%,
      rgba(34, 197, 94, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 62%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 100px -15% auto;
  height: 420px;
  background: linear-gradient(
    100deg,
    rgba(135, 30, 53, 0.11),
    rgba(184, 50, 79, 0.08),
    rgba(152, 30, 62, 0.08)
  );
  transform: rotate(-7deg);
  filter: blur(4px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: 60px;
}
.hero-copy p {
  max-width: 650px;
  margin-top: 24px;
  font-size: 1.18rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero-trust span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 700;
}
.hero-trust strong {
  color: var(--text);
}
.hero-visual {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
}
.phone-shell,
.screen-phone {
  width: min(338px, 75vw);
  padding: 12px;
  border-radius: 42px;
  background: #101827;
  box-shadow: var(--shadow-xl);
}
.phone-shell img,
.screen-phone img {
  width: 100%;
  aspect-ratio: 1080 / 2340;
  object-fit: cover;
  border-radius: 31px;
}
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 215px;
  padding: 14px 16px;
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: var(--radius);
  background: var(--glass);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}
.float-card strong {
  display: block;
  font-weight: 900;
}
.float-card small {
  color: var(--muted);
  font-weight: 700;
}
.mini-icon,
.stars {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}
.stars {
  width: auto;
  padding: 0 9px;
  color: #fbbf24;
  background: #fff7d8;
  letter-spacing: 0;
}
.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.16);
}
.card-search {
  top: 120px;
  right: -20px;
}
.card-rating {
  left: -12px;
  top: 310px;
}
.card-order {
  right: 18px;
  bottom: 120px;
}

.trusted {
  background: #fff;
}
.trusted-grid {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}
.trusted-grid p {
  font-weight: 800;
  color: var(--primary);
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.logo-strip span {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: #475569;
  font-weight: 800;
}
.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.quick-stats article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border-left: 1px solid var(--line);
}
.quick-stats article:last-child {
  border-left: 0;
}
.quick-stats strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  color: var(--primary);
}
.quick-stats span {
  color: var(--muted);
  font-weight: 800;
}

.services {
  background: var(--bg-soft);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card,
.feature-item,
.step-card,
.compare-card,
.testimonial,
.faq-item {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.service-card {
  min-height: 240px;
  padding: 26px;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-md);
  border-color: rgba(135, 30, 53, 0.28);
}
.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  border-radius: 18px;
  object-fit: contain;
}
.service-card p {
  margin-top: 10px;
  font-size: 0.98rem;
}

.ads {
  background: var(--bg-soft);
}
.ad-slider {
  position: relative;
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
}
.ad-track {
  display: flex;
  gap: 26px;
  align-items: center;
  transition: transform 0.55s var(--ease);
}
.ad-slide {
  flex: 0 0 min(500px, 80vw);
  opacity: 0.55;
  transform: scale(0.92);
  transition:
    transform 0.45s var(--ease),
    opacity 0.45s var(--ease);
}
.ad-slide.active {
  opacity: 1;
  transform: scale(1);
}
.ad-slide img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.how {
  background: #fff;
}
.split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 62px;
  align-items: start;
}
.steps {
  display: grid;
  gap: 16px;
}
.step-card {
  padding: 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: start;
}
.step-card span {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 900;
}

.features {
  background: linear-gradient(180deg, var(--primary-900), var(--primary));
  color: #fff;
  overflow: hidden;
}
.features .section-head p,
.features .section-head .eyebrow {
  color: #bfd6ff;
}
.feature-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 26px;
  align-items: stretch;
}
.feature-panel {
  min-height: 100%;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
.feature-panel img {
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.feature-item {
  padding: 22px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.feature-item p {
  margin-top: 8px;
  color: #d4e3f8;
  font-size: 0.96rem;
}

.screens {
  background: var(--bg-soft);
  overflow: hidden;
}
.screen-slider {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.screen-track {
  display: flex;
  gap: 26px;
  align-items: center;
  transition: transform 0.55s var(--ease);
}
.screen-phone {
  flex: 0 0 286px;
  opacity: 0.55;
  transform: scale(0.92);
  transition:
    transform 0.45s var(--ease),
    opacity 0.45s var(--ease);
}
.screen-phone.active {
  opacity: 1;
  transform: scale(1);
}
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  color: var(--primary);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.slider-btn.prev {
  right: 0;
  transform: translate(50%, -50%);
}
.slider-btn.next {
  left: 0;
  transform: translate(-50%, -50%);
}

.stats {
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(135, 30, 53, 0.12),
      transparent 28%
    ),
    linear-gradient(180deg, #fff, #f8fafc);
}
.stats-wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}
.stats-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.stats-board article {
  min-height: 154px;
  display: grid;
  align-content: center;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #fff1f4);
  border: 1px solid rgba(135, 30, 53, 0.14);
}
.stats-board strong {
  display: block;
  color: var(--primary);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1;
  font-weight: 900;
}
.stats-board span {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.why {
  background: #fff;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.compare-card {
  padding: 34px;
}
.compare-card h3 {
  font-size: 1.55rem;
  margin-bottom: 18px;
}
.compare-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.compare-card li {
  display: flex;
  gap: 10px;
  color: #475569;
  font-weight: 700;
}
.compare-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 9px;
  border-radius: 99px;
  background: #cbd5e1;
}
.compare-card.premium {
  background: linear-gradient(135deg, #fff, #fff1f4);
  border-color: rgba(135, 30, 53, 0.25);
}
.compare-card.premium li::before {
  background: var(--success);
}
.vs {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--rose);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(152, 30, 62, 0.24);
}

.testimonials {
  background: var(--bg-soft);
}
.testimonial-shell {
  position: relative;
  max-width: 820px;
}
.testimonial-track {
  position: relative;
  min-height: 304px;
}
.testimonial {
  position: absolute;
  inset: 0;
  padding: 38px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.testimonial.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--rose));
  font-weight: 900;
}
.testimonial span {
  color: #fbbf24;
  letter-spacing: 0;
  font-weight: 900;
}
.testimonial p {
  width: min(620px, 100%);
  margin: 16px auto;
  font-size: 1.2rem;
  color: #334155;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.testimonial-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 99px;
  background: #cbd5e1;
  cursor: pointer;
}
.testimonial-dots button.active {
  width: 30px;
  background: var(--accent);
}

.faq {
  background: #fff;
}
.accordion {
  display: grid;
  gap: 12px;
}
.faq-item {
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
  text-align: right;
  cursor: pointer;
}
.faq-item button span {
  width: 20px;
  height: 20px;
  position: relative;
  flex: 0 0 auto;
}
.faq-item button span::before,
.faq-item button span::after {
  content: "";
  position: absolute;
  inset: 9px 0 auto;
  height: 2px;
  background: var(--accent);
  border-radius: 99px;
  transition: transform 0.25s var(--ease);
}
.faq-item button span::after {
  transform: rotate(90deg);
}
.faq-item.open button span::after {
  transform: rotate(0);
}
.faq-item p {
  max-height: 0;
  padding: 0 22px;
  overflow: hidden;
  transition:
    max-height 0.32s var(--ease),
    padding 0.32s var(--ease);
}
.faq-item.open p {
  max-height: 160px;
  padding: 0 22px 22px;
}

.download {
  background:
    linear-gradient(135deg, rgba(74, 16, 32, 0.96), rgba(135, 30, 53, 0.92)),
    radial-gradient(
      circle at 20% 20%,
      rgba(255, 255, 255, 0.3),
      transparent 28%
    );
  color: #fff;
}
.cta {
  min-height: 430px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 58px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}
.cta p {
  max-width: 690px;
  color: #d4e3f8;
}
.cta .eyebrow {
  color: #d4e3f8;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}
.store-btn {
  min-width: 220px;
  min-height: 72px;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  border-radius: 18px;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow-md);
  font-weight: 900;
}
.store-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.store-btn div {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.store-btn small {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
}
.store-btn.disabled {
  opacity: 0.62;
}

.footer {
  padding: 70px 0 26px;
  background: #071729;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.7fr;
  gap: 32px;
}
.footer p {
  max-width: 340px;
  margin-top: 18px;
  color: #a9bcd3;
}
.footer h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}
.footer nav {
  display: grid;
  align-content: start;
  gap: 9px;
}
.footer a {
  color: #d4e3f8;
  transition: color 0.2s var(--ease);
}
.footer a:hover {
  color: #fff;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.3s ease;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.15);
}
.social-icon {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.copyright {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #8ea7c4;
  font-size: 0.92rem;
}
.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.25s var(--ease),
    visibility 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
