/* Mansat V1 intro restored. Background and accent adapted to Mansat navy/turquoise. */
.mansat-intro {
  --gold: #13b8b5;
  --gold-light: #21d4d1;
  --gold-glow: rgba(19,184,181,0.6);
  --intro-dark: #071526;
  --white: #FAFAFA;
  --white-dim: rgba(250,250,250,0.7);
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--intro-dark);
  color: var(--white);
  overflow: hidden;
  will-change: opacity, transform;
  direction: rtl;
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}
.mansat-intro[hidden] { display: none !important; }
.mansat-intro[hidden],
#intro-screen.fade-out { pointer-events: none; }
#skip-introduction {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 10021;
  background: rgba(7, 21, 38, .8);
  border: 1px solid rgba(19, 184, 181, .5);
  color: rgba(247,250,252,.82);
  border-radius: 6px;
  padding: 10px 20px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
#skip-introduction:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.intro-content {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1.5rem;
  direction: ltr;
  will-change: transform, opacity;
  transform: scale(0.92);
  opacity: 0;
}
.building-svg {
  width: 180px;
  height: 360px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(19,184,181,0.08));
}
.building-svg .anim-layer path {
  stroke: #FAFAFA;
  stroke-width: 1.2;
  stroke-linejoin: miter;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  fill-rule: evenodd;
}
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  flex-shrink: 0;
  min-width: 0;
}
.brand-arabic,
.brand-english {
  width: 180px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: 0;
  will-change: opacity, filter;
  filter: drop-shadow(0 0 0 rgba(19,184,181,0));
}
.brand-english { margin-top: 0.4rem; height: calc(180px / 3.278); object-fit: contain; object-position: center; }
.brand-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--white-dim);
  opacity: 0;
  margin-top: 2.5rem;
  text-align: center;
  width: 100%;
}
.gold-accent-line {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-top: 1.5rem;
  opacity: 0;
}
.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  will-change: transform, opacity;
}
.progress-line {
  width: 140px;
  height: 1px;
  background: rgba(255,255,255,0.08);
  position: relative;
  margin-top: 1rem;
  border-radius: 1px;
  overflow: hidden;
}
.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 1px;
}
@keyframes goldShimmer {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(19,184,181,0.12)); }
  50% { filter: drop-shadow(0 0 14px rgba(19,184,181,0.20)) drop-shadow(0 0 4px rgba(255,255,255,0.08)); }
}
.building-svg.complete { animation: goldShimmer 2.5s ease-in-out infinite; }
@media (max-width: 768px) {
  .building-svg { width: 120px; height: 240px; }
  .brand-arabic, .brand-english { width: 120px; }
  .brand-english { height: calc(120px / 3.278); }
  .intro-content { gap: 1.5rem; flex-direction: column; }
}
@media (max-width: 480px) {
  .building-svg { width: 90px; height: 180px; }
  .brand-arabic, .brand-english { width: 90px; }
  .brand-english { height: calc(90px / 3.278); }
  .brand-tagline { font-size: 0.55rem; }
}
@media (prefers-reduced-motion: reduce) {
  .mansat-intro * { transition: none !important; animation: none !important; }
}#skip-introduction { position: fixed; left: 24px; bottom: 24px; z-index: 10021; }

/* Final intro exit: continuous RTL architectural scan reveal. */
.mansat-intro { clip-path: inset(0 0 0 0); will-change: clip-path; }
.intro-content,
.brand-tagline,
.gold-accent-line,
.progress-line,
#particles { position: relative; z-index: 5; }
.intro-scan-boundary {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  width: 1px;
  background: linear-gradient(to bottom, rgba(19,184,181,0), rgba(19,184,181,.88) 18%, rgba(19,184,181,.72) 82%, rgba(19,184,181,0));
  box-shadow: -18px 0 38px rgba(19,184,181,.06);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
#skip-introduction { position: fixed; left: 24px; bottom: 24px; z-index: 10021; }
@media (prefers-reduced-motion: reduce) {
  .intro-scan-boundary { display: none; }
}
