:root {
  --brand: #3295c5;
  --brand-dark: #247bb3;
  --brand-light: #4ab6ec;
  --navy: #1e406c;
  --navy-deep: #142b4a;
  --ink: #101623;
  --muted: #5b6b7c;
  --line: #e2e9f0;
  --bg: #f0f4f7;
  --card: #ffffff;
  --radius: 22px;
  --shadow-sm: 0 4px 16px rgba(20, 43, 74, 0.06);
  --shadow-md: 0 18px 40px -18px rgba(20, 43, 74, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(20, 43, 74, 0.45);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Tajawal", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 46px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name b {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.brand-name span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 6px;
  margin-inline-start: auto;
  align-items: center;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #33465c;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--bg);
  color: var(--brand-dark);
}

.nav-cta {
  background: linear-gradient(135deg, var(--brand), var(--navy));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 24px -10px rgba(36, 123, 179, 0.8);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--navy), var(--brand-dark)) !important;
  color: #fff !important;
}

.menu-btn {
  display: none;
  margin-inline-start: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(74, 182, 236, 0.55), transparent 60%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 42%, var(--brand-dark) 100%);
  padding: 84px 0 120px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(74, 182, 236, 0.55), transparent 70%);
  top: -160px;
  inset-inline-start: -120px;
}

.hero::after {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  bottom: -180px;
  inset-inline-end: -80px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #eaf6ff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6ee7a8;
  box-shadow: 0 0 0 4px rgba(110, 231, 168, 0.25);
}

.hero h1 {
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.28;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -0.5px;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #9fd8ff, #e9f6ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  color: #d5e6f5;
  max-width: 620px;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 26px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0d1b2e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 11px 18px;
  border-radius: 15px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.85);
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #12263f;
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-btn .txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: start;
}

.store-btn .txt small {
  font-size: 11px;
  opacity: 0.75;
}

.store-btn .txt b {
  font-size: 16px;
  font-weight: 700;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: #cfe2f2;
  font-size: 14.5px;
  font-weight: 500;
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-chips svg {
  width: 18px;
  height: 18px;
  color: #7fe0b0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  width: 300px;
  max-width: 78vw;
  background: #0a1526;
  border-radius: 46px;
  padding: 13px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
  position: relative;
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  z-index: 3;
}

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 9 / 19;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 15px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 600;
  animation: float 5.5s ease-in-out infinite;
}

.float-card .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
}

.float-card small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: 11.5px;
}

.fc-1 {
  top: 60px;
  inset-inline-start: -14px;
}

.fc-1 .ico {
  background: linear-gradient(135deg, #28a745, #4bd07a);
}

.fc-2 {
  bottom: 74px;
  inset-inline-end: -18px;
  animation-delay: 1.2s;
}

.fc-2 .ico {
  background: linear-gradient(135deg, var(--brand), var(--navy));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------- Sections ---------- */
section {
  padding: 84px 0;
}

.eyebrow {
  display: inline-block;
  color: var(--brand-dark);
  background: rgba(50, 149, 197, 0.1);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px;
}

.section-head h2 {
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 12px;
  line-height: 1.35;
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

/* About */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 56px;
  align-items: center;
}

.about-grid h2 {
  color: var(--navy);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.4;
}

.about-grid p {
  color: #44576b;
  font-size: 17px;
  margin: 0 0 16px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.about-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  color: #2c3e50;
}

.about-points .tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(50, 149, 197, 0.12);
  color: var(--brand-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.about-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-visual img {
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual .tall {
  grid-row: span 2;
}

/* Stats strip */
.stats {
  background: linear-gradient(135deg, var(--navy), var(--brand-dark));
  color: #fff;
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}

.stats-grid .num {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  background: linear-gradient(90deg, #fff, #b9e3ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-grid .lbl {
  color: #cfe2f2;
  font-size: 15px;
  margin-top: 4px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.feature .ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--brand), var(--navy));
  box-shadow: 0 12px 24px -12px rgba(36, 123, 179, 0.9);
}

.feature .ico svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.8px;
}

/* Steps */
.steps {
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  overflow: hidden;
}

.step::after {
  counter-increment: step;
  content: counter(step, arabic-indic);
  position: absolute;
  top: 10px;
  inset-inline-start: 16px;
  font-size: 54px;
  font-weight: 900;
  color: rgba(36, 123, 179, 0.1);
  line-height: 1;
}

.step h3 {
  position: relative;
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.step p {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 14.8px;
}

/* Roles */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.role {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}

.role h3 {
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.role h3 .pill {
  width: 10px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(var(--brand), var(--navy));
}

.role ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.role li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #46596c;
  font-size: 15px;
}

.role li svg {
  width: 18px;
  height: 18px;
  color: var(--brand-dark);
  flex-shrink: 0;
  margin-top: 4px;
}

/* Gallery */
.gallery {
  background: linear-gradient(180deg, #fff, var(--bg));
}

.shots {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 10px 6px 30px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.shots::-webkit-scrollbar {
  height: 8px;
}

.shots::-webkit-scrollbar-thumb {
  background: #c8d6e3;
  border-radius: 999px;
}

.shot {
  scroll-snap-align: center;
  flex: 0 0 auto;
}

.shot .phone {
  width: 262px;
  animation: none;
}

.shots-hint {
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 4px;
}

/* Download */
.download {
  padding-bottom: 96px;
}

.dl-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  background: radial-gradient(900px 400px at 90% 0%, rgba(74, 182, 236, 0.5), transparent 60%),
    linear-gradient(140deg, var(--navy-deep), var(--navy) 55%, var(--brand-dark));
  box-shadow: var(--shadow-lg);
}

.dl-card h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  margin: 0 0 12px;
}

.dl-card p {
  color: #d5e6f5;
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 17px;
}

.dl-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-note {
  margin-top: 22px;
  color: #bcd4e8;
  font-size: 14px;
}

.dl-note a {
  color: #9fd8ff;
}

/* Footer */
.site-footer {
  background: #0e1f36;
  color: #a9bdd1;
  padding: 54px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 44px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
}

.footer-brand b {
  color: #fff;
  font-size: 17px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 14px;
}

.site-footer a {
  display: block;
  color: #a9bdd1;
  padding: 5px 0;
  font-size: 14.5px;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #7fd0ff;
}

.copyright {
  text-align: center;
  padding-top: 22px;
  font-size: 13.5px;
  color: #7d93a8;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p.lead {
    margin-inline: auto;
  }
  .hero-actions,
  .hero-chips {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 24px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .roles-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    inset-inline: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a {
    width: 100%;
    text-align: center;
  }
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 64px 0;
  }
  .hero {
    padding: 60px 0 90px;
  }
  .fc-1 {
    inset-inline-start: -6px;
  }
  .fc-2 {
    inset-inline-end: -6px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
