:root {
  --navy: #0f2d4a;
  --navy-deep: #0a1d32;
  --navy-mid: #1a466c;
  --amber: #f5a623;
  --amber-soft: #ffd27a;
  --sand: #f4f7fb;
  --ink: #122033;
  --muted: #5b6d80;
  --white: #ffffff;
  --line: rgba(15, 45, 74, 0.1);
  --radius: 20px;
  --shadow-soft: 0 18px 50px rgba(10, 29, 50, 0.16);
  --shadow-card: 0 10px 30px rgba(10, 29, 50, 0.08);
  --font-display: "El Messiri", "Noto Kufi Arabic", sans-serif;
  --font-body: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(245, 166, 35, 0.12), transparent 28%),
    radial-gradient(circle at 100% 12%, rgba(15, 45, 74, 0.08), transparent 26%),
    var(--sand);
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover {
  color: var(--amber);
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 6vw;
  background: rgba(10, 29, 50, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.35rem;
  align-items: center;
}

.nav a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(245, 166, 35, 0.28);
}

.btn-primary:hover {
  background: var(--amber-soft);
  color: var(--navy-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.home-hero {
  background: #f4f7fb;
}

.home-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.download-bar {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1.25rem 0.5rem;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  direction: ltr;
  background: #000;
  color: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  padding: 8px 18px 8px 12px;
  min-width: 210px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.play-logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.play-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.play-badge-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.play-badge-title {
  margin-top: 3px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-slider {
  position: relative;
  min-height: min(88vh, 820px);
  overflow: hidden;
  color: var(--white);
  outline: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s ease;
}

.slide.is-active img {
  transform: scale(1);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 29, 50, 0.28) 0%, rgba(10, 29, 50, 0.55) 42%, rgba(10, 29, 50, 0.92) 100%);
}

.slide-content {
  position: absolute;
  z-index: 2;
  inset-inline: 0;
  bottom: 0;
  width: min(920px, 92vw);
  margin: 0 auto;
  padding: 0 0 8.8rem;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid rgba(255, 210, 122, 0.35);
  color: var(--amber-soft);
  font-weight: 700;
  font-size: 0.86rem;
}

.hero-brand,
.slide-content h1,
.slide-content h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.7rem;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 700;
  color: var(--amber-soft);
}

.hero-text {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.slider-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(10, 29, 50, 0.45);
  color: var(--white);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.slider-nav:hover {
  background: rgba(245, 166, 35, 0.9);
  color: var(--navy-deep);
}

.slider-nav.prev {
  inset-inline-start: 1.2rem;
}

.slider-nav.next {
  inset-inline-end: 1.2rem;
}

.slider-dots {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  bottom: 5.4rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.slider-dot.is-active {
  width: 28px;
  background: var(--amber);
}

.section {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 4.6rem 0;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.7rem;
  color: var(--navy);
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 38rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -2.8rem;
  position: relative;
  z-index: 4;
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.stat {
  padding: 1.2rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.features,
.steps,
.roles {
  display: grid;
  gap: 1.15rem;
}

.features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature,
.step,
.role {
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover,
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.icon-wrap {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 14px;
  background: rgba(245, 166, 35, 0.14);
  color: var(--navy);
}

.feature h3,
.step h3,
.role h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.feature p,
.step p,
.role p {
  margin: 0;
  color: var(--muted);
}

.steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
}

.roles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.role {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy-deep) 100%);
  border: 0;
}

.role h3 {
  color: var(--amber-soft);
}

.role p {
  color: rgba(255, 255, 255, 0.88);
}

.cta {
  text-align: center;
  padding: 3.2rem 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(245, 166, 35, 0.2), transparent 40%),
    linear-gradient(180deg, #163754, #0a1d32);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.cta h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta p {
  margin: 0 auto 1.3rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  margin-top: 2rem;
  padding: 2.2rem 6vw 2.4rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
}

.footer-company {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
}

.legal-page {
  width: min(860px, 92vw);
  margin: 2.5rem auto 4rem;
  padding: 2.1rem 1.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-card);
}

.legal-page h1 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  color: var(--navy);
}

.legal-page .meta {
  margin: 0 0 1.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-page h2 {
  margin: 1.8rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}

.legal-page p,
.legal-page li {
  color: #243647;
}

.legal-page ul {
  padding-inline-start: 1.2rem;
}

.legal-page a {
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .features,
  .steps,
  .roles,
  .stats {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    inset-inline: 0;
    padding: 1rem 6vw 1.4rem;
    background: rgba(10, 29, 50, 0.97);
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .site-header {
    padding: 0.75rem 4vw;
  }

  .stats {
    margin-top: 1.2rem;
  }

  .slide-content {
    padding-bottom: 6.2rem;
  }

  .slider-dots {
    bottom: 1.6rem;
  }

  .slider-nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide,
  .slide img,
  .btn,
  .feature,
  .step {
    transition: none;
  }

  .slide img {
    transform: none;
  }
}
