/* ==========================================================================
   CINEMATIC CLOUD (028) — 1:1 Dark Atmospheric Video/Cloud Hero & Liquid Glass
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { background: #000000; color: #FFFFFF; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: #000000;
  color: #FFFFFF;
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
  letter-spacing: 0 !important;
}
h1, h2, h3, p, a, button, span { letter-spacing: 0; }
[dir="ltr"], [lang="en"] { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.2em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.liquid-glass {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.16);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.liquid-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Sticky Top Nav */
.cc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px clamp(18px, 4vw, 48px);
}
.cc-nav {
  max-width: 1380px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cc-wordmark {
  font-weight: 600;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cc-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.cc-links a:hover { color: #FFFFFF; }
.cc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cc-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
}
.cc-pill-white {
  background: #FFFFFF;
  color: #000000;
  border: 0;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}
.cc-pill-white:hover { background: rgba(255, 255, 255, 0.9); transform: translateY(-1px); }

@media (max-width: 860px) { .cc-links { display: none; } }
html.cfx-embed-preview .cc-dir-link { display: none !important; }

/* Full-Bleed Dark Cloud Hero */
.cc-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 96px 20px 84px;
  overflow: hidden;
  margin-top: -72px;
}
.cc-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cc-hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  animation: ccDrift 22s ease-in-out infinite alternate;
}
@keyframes ccDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.09) translate3d(-1.5%, -1%, 0); }
}
.cc-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, transparent 0%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 60%, rgba(0, 0, 0, 0.95) 100%);
}
.cc-hero-content {
  position: relative;
  z-index: 4;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cc-eyebrow {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.52);
}
.cc-h1 {
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
  font-size: clamp(2.35rem, 5.2vw, 4.5rem);
  line-height: 1.1;
  text-shadow: 0 0 80px rgba(120, 160, 255, 0.28);
}
.cc-h1 span {
  display: block;
  background: linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.88) 52%, rgba(255, 255, 255, 0.45) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cc-sub {
  max-width: 54ch;
  color: rgba(255, 255, 255, 0.58);
  font-size: 1.02rem;
}
.cc-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-top: 8px;
}

@keyframes blurFadeUp {
  from { opacity: 0; filter: blur(16px); transform: translateY(28px); }
  to { opacity: 1; filter: blur(0); transform: translateY(0); }
}
.cc-anim { animation: blurFadeUp 0.9s ease-out both; }
.cc-d1 { animation-delay: 0.12s; }
.cc-d2 { animation-delay: 0.26s; }
.cc-d3 { animation-delay: 0.4s; }

/* Stacked Editorial & Legal Bands */
.cc-band {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: clamp(68px, 8vw, 96px) clamp(20px, 4vw, 48px);
}
.cc-band-inner {
  max-width: 780px;
  margin-inline: auto;
}
.cc-band h2 {
  font-family: 'Readex Pro', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 600;
  margin-bottom: 12px;
}
.cc-band p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.98rem;
}
.cc-reel-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 680px) { .cc-reel-grid { grid-template-columns: 1fr; } }
.cc-reel-item {
  padding: 18px;
  border-radius: 16px;
}
.cc-reel-item small { display: block; color: rgba(120, 160, 255, 0.85); font-size: 0.72rem; margin-bottom: 6px; }
.cc-reel-item strong { display: block; font-size: 0.98rem; margin-bottom: 4px; }
.cc-reel-item span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

.cc-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding: 32px clamp(20px, 4vw, 48px) 44px;
}
.cc-foot-row {
  max-width: 1180px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reel Preview Modal */
.cc-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cc-modal.is-open { display: flex; }
.cc-modal-box {
  width: min(100%, 640px);
  padding: 28px;
  border-radius: 24px;
  text-align: center;
}
