:root {
  --ink: #0d1b2a;
  --muted: #4a5d70;
  --brand: #0a4d68;
  --accent: #0e8a7a;
  --gold: #c9a227;
  --paper: #eef2f5;
  --paper-deep: #e3e9ef;
  --line: rgba(13, 27, 42, 0.1);
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --display: "El Messiri", "Cairo", sans-serif;
  --shadow: 0 28px 70px rgba(8, 30, 48, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(14, 138, 122, 0.09), transparent 55%),
    radial-gradient(700px 360px at 0% 40%, rgba(10, 77, 104, 0.07), transparent 50%),
    var(--paper);
  line-height: 1.65;
}

img { max-width: 100%; display: block; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(8, 28, 42, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  font-family: var(--display);
  color: #f4faf9;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: rgba(244, 250, 249, 0.88);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 10px;
  padding: 9px 16px !important;
}

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #071824;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroDrift 20s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7, 24, 36, 0.92) 0%, rgba(7, 24, 36, 0.62) 48%, rgba(7, 24, 36, 0.3) 100%),
    linear-gradient(0deg, rgba(7, 24, 36, 0.82) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 100px 0 68px;
  color: #f4faf9;
  animation: riseIn 0.95s ease both;
}

.brand {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 600;
  max-width: 22ch;
  line-height: 1.35;
  color: rgba(244, 250, 249, 0.95);
}

.lead {
  margin: 0 0 28px;
  max-width: 36ch;
  font-size: 1.08rem;
  color: rgba(244, 250, 249, 0.82);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.cta-center { justify-content: center; }

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 22px;
  transition: transform .18s ease, filter .18s ease, background .18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #12a090, #0e8a7a 55%, #0a6f63);
  color: #fff;
  box-shadow: 0 14px 34px rgba(14, 138, 122, 0.38);
}

.btn-primary:hover { filter: brightness(1.07); transform: translateY(-2px); }

.btn-ghost {
  color: #f4faf9;
  border: 1px solid rgba(244, 250, 249, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.btn-meta {
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.9;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.35);
  padding-inline-start: 10px;
}

.btn-large { padding: 16px 28px; font-size: 1.05rem; }

.note {
  margin: 16px 0 0;
  color: rgba(244, 250, 249, 0.68);
  font-size: 0.9rem;
}

.section { padding: 88px 0; }

.section-alt {
  background:
    linear-gradient(180deg, var(--paper-deep), var(--paper));
}

.section-video {
  background:
    radial-gradient(800px 320px at 50% 0%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--paper);
}

.section-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.01em;
  color: var(--brand);
}

.section-lead {
  margin: 0 0 36px;
  color: var(--muted);
  max-width: 44ch;
  font-size: 1.05rem;
}

.ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.way {
  padding: 8px 0 0;
  border-top: 3px solid var(--accent);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.way-local { border-top-color: var(--gold); }

.way.in { opacity: 1; transform: none; }
.way-local.in { transition-delay: .1s; }

.way h3 {
  margin: 16px 0 8px;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--brand);
}

.way p {
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 36ch;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 138, 122, 0.35);
}

.text-link:hover { border-bottom-color: var(--accent); }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1622;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.video-frame.in { opacity: 1; transform: none; }

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.steps li.in { opacity: 1; transform: none; }
.steps li:nth-child(2) { transition-delay: .08s; }
.steps li:nth-child(3) { transition-delay: .16s; }

.steps h3 { margin: 0 0 6px; font-size: 1.2rem; }
.steps p { margin: 0; color: var(--muted); max-width: 58ch; }

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.features-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-inline-start: 22px;
  font-weight: 600;
  color: #1c3144;
}

.feature-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in { opacity: 1; transform: none; }

.features-visual {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.features-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.download-band {
  background:
    radial-gradient(640px 280px at 85% 10%, rgba(201, 162, 39, 0.18), transparent 55%),
    linear-gradient(150deg, #071824, #0a3a4d 50%, #0a5c52);
  color: #f4faf9;
}

.download-band h2,
.download-band .section-lead { color: inherit; }
.download-band .section-lead { opacity: 0.86; }

.download-inner { text-align: center; }

.contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
  opacity: 0.92;
}

.contact-list a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.contact-list a:hover { border-bottom-color: #fff; }

.site-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
  align-items: center;
  padding: 28px 16px;
  background: #06141e;
  color: rgba(244, 250, 249, 0.72);
  font-size: 0.92rem;
}

.site-foot strong { color: #f4faf9; font-family: var(--display); }
.site-foot a { color: #9fd9d0; text-decoration: none; }
.site-foot a:hover { color: #fff; }

@keyframes heroDrift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .ways,
  .features-layout { grid-template-columns: 1fr; }
  .hero-content { padding: 120px 0 48px; }
  .nav-links a:not(.nav-cta) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-media img { transform: none; }
  .reveal, .steps li, .way {
    opacity: 1;
    transform: none;
  }
}
