/* ═══════════════════════════════════════════════════════════════
   SPACE STUDIO — Landing Page v3  ·  Professional Dark
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Cairo:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── BASE ───────────────────────────────────────────────────── */
/* added by Zain — don't remove (Path A audit fix 20260418):
   Was Inter-only — broke Arabic rendering on landing page since
   landing.html doesn't extend base.html. Now loads IBM Plex Sans
   Arabic first, Inter + Cairo as fallbacks. */
.landing-body {
  font-family: 'IBM Plex Sans Arabic', 'Inter', 'Cairo', system-ui, sans-serif;
  background: #05040f;
  color: rgba(255,255,255,0.65);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── COSMIC BACKGROUND v2 (2026-04-19 evening) ─────────────────
   User feedback: the Islamic-pattern tile read as "beige" — dropped.
   Back to a REAL cosmic feel:
     1. Hand-placed SVG starfield (35 stars — 3 of them gold, for warmth)
     2. Four overlapping nebula gradients (purple top, gold glow bottom-right,
        deep indigo bottom-left, magenta hint left) — static, no JS.
     3. One very slow (40s) ease-in-out parallax drift on the starfield —
        GPU-only translate, zero CPU burn, gives a subtle "living cosmos"
        feel without the old 200-star RAF loop.
   Purely cosmic. No beige. No canvas. */
.space-bg {
  /* Claude 2026-04-19: z-index was 0 → -1. With z-index:0 on a fixed el,
     static page content (e.g. brandkit, which doesn't wrap in a
     positioned z-index:1 container) gets painted UNDER the bg, so its
     text became invisible. z-index:-1 keeps the bg behind everything
     without requiring every template to opt-in with its own stacking
     context. Landing's content (.land-section, .pg-wrap, etc.) all
     have z-index:1, so they're still comfortably on top. */
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    /* Stars — inline SVG, hand-placed for organic distribution (35 stars, 3 gold) */
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' viewBox='0 0 800 800'%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='62' cy='78' r='0.8' opacity='0.8'/%3E%3Ccircle cx='188' cy='42' r='0.5' opacity='0.6'/%3E%3Ccircle cx='312' cy='96' r='1.1' opacity='0.85'/%3E%3Ccircle cx='450' cy='38' r='0.4' opacity='0.55'/%3E%3Ccircle cx='590' cy='112' r='0.7' opacity='0.75'/%3E%3Ccircle cx='718' cy='55' r='0.5' opacity='0.6'/%3E%3Ccircle cx='110' cy='210' r='0.6' opacity='0.7'/%3E%3Ccircle cx='240' cy='185' r='1.3' opacity='0.9'/%3E%3Ccircle cx='378' cy='232' r='0.5' opacity='0.6'/%3E%3Ccircle cx='512' cy='198' r='0.8' opacity='0.75'/%3E%3Ccircle cx='655' cy='244' r='0.4' opacity='0.5'/%3E%3Ccircle cx='770' cy='188' r='0.6' opacity='0.65'/%3E%3Ccircle cx='48' cy='348' r='0.5' opacity='0.6'/%3E%3Ccircle cx='178' cy='318' r='0.9' opacity='0.8'/%3E%3Ccircle cx='300' cy='370' r='0.4' opacity='0.55'/%3E%3Ccircle cx='432' cy='340' r='1' opacity='0.85'/%3E%3Ccircle cx='568' cy='392' r='0.6' opacity='0.7'/%3E%3Ccircle cx='700' cy='352' r='0.5' opacity='0.6'/%3E%3Ccircle cx='92' cy='478' r='0.7' opacity='0.7'/%3E%3Ccircle cx='222' cy='510' r='0.4' opacity='0.5'/%3E%3Ccircle cx='360' cy='462' r='1.2' opacity='0.9'/%3E%3Ccircle cx='488' cy='498' r='0.5' opacity='0.6'/%3E%3Ccircle cx='618' cy='540' r='0.7' opacity='0.72'/%3E%3Ccircle cx='748' cy='475' r='0.4' opacity='0.55'/%3E%3Ccircle cx='38' cy='610' r='0.6' opacity='0.68'/%3E%3Ccircle cx='160' cy='645' r='0.9' opacity='0.8'/%3E%3Ccircle cx='288' cy='592' r='0.5' opacity='0.6'/%3E%3Ccircle cx='420' cy='638' r='0.7' opacity='0.7'/%3E%3Ccircle cx='560' cy='602' r='0.4' opacity='0.55'/%3E%3Ccircle cx='690' cy='650' r='1' opacity='0.85'/%3E%3Ccircle cx='128' cy='760' r='0.5' opacity='0.6'/%3E%3Ccircle cx='260' cy='728' r='0.6' opacity='0.68'/%3E%3Ccircle cx='398' cy='772' r='0.8' opacity='0.78'/%3E%3Ccircle cx='530' cy='730' r='0.4' opacity='0.55'/%3E%3Ccircle cx='662' cy='768' r='0.6' opacity='0.68'/%3E%3C/g%3E%3Cg fill='%23D4AF5C'%3E%3Ccircle cx='340' cy='180' r='1.4' opacity='0.85'/%3E%3Ccircle cx='620' cy='420' r='1.2' opacity='0.75'/%3E%3Ccircle cx='150' cy='580' r='1.3' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E"),
    /* Purple nebula — top hero glow */
    radial-gradient(ellipse 80% 55% at 50%  -5%,  rgba(107, 75, 200, 0.42) 0%, transparent 60%),
    /* Gold glow — bottom-right, subtle warmth */
    radial-gradient(ellipse 45% 45% at 95% 92%,   rgba(212, 175, 92, 0.18) 0%, transparent 55%),
    /* Deep indigo drift — bottom-left */
    radial-gradient(ellipse 50% 55% at  5% 85%,   rgba(67, 46, 160, 0.22)  0%, transparent 58%),
    /* Magenta hint — left middle, very subtle */
    radial-gradient(ellipse 40% 45% at  0% 45%,   rgba(160, 50, 200, 0.10) 0%, transparent 55%),
    /* Base ink */
    var(--ink-0, #0A0718);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size:   800px 800px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: spaceDrift 40s ease-in-out infinite;
}
/* Slow parallax-like drift — GPU-only, negligible cost */
@keyframes spaceDrift {
  0%, 100% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  50%      { background-position: -18px -12px, 0 0, 0 0, 0 0, 0 0, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .space-bg { animation: none; }
}

/* ─── NAV ────────────────────────────────────────────────────── */
.landing-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300; height: 64px;
  display: flex; align-items: center; overflow: visible;
  background: rgba(5,4,15,0.78);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .3s, border-color .3s;
}
/* clip the stars canvas only — not the dropdown */
#navStarsCanvas { clip-path: inset(0); }
.landing-nav.scrolled {
  background: rgba(5,4,15,0.94);
  border-bottom-color: rgba(139,92,246,0.22);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
#navStarsCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.landing-nav-inner {
  position: relative; z-index: 1;
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  width: 100%;
  display: flex; align-items: center;
  gap: 32px;
}
.lnav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.lnav-logo img { height: 30px; }
.lnav-logo-text { font-size: 16px; font-weight: 800; letter-spacing: -0.04em; color: #fff; }
.lnav-logo-plus { color: #8b5cf6; }
.lnav-links {
  display: flex; align-items: center; gap: 4px;
  flex: 1 1 auto;
  justify-content: flex-start;
}
.lnav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.62); text-decoration: none;
  border-radius: 8px;
  transition: color .15s, background .15s;
  position: relative;
  white-space: nowrap;
}
.lnav-link:hover {
  color: #fff;
  background: rgba(139,92,246,0.08);
}
.lnav-link--active {
  color: #fff !important;
  background: rgba(139,92,246,0.15);
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.28);
}
.nav-new-badge {
  display: inline-block; font-size: 8px; font-weight: 800;
  letter-spacing: .8px; text-transform: uppercase; color: #86efac;
  background: rgba(134,239,172,0.10);
  border: 1px solid rgba(134,239,172,0.25);
  padding: 2px 5px; border-radius: 8px;
  vertical-align: middle; line-height: 1;
  text-shadow: 0 0 6px rgba(134,239,172,0.5);
}

/* Claude 2026-04-19 — top-nav dropdown used by "إنشاء صور" (Create/Edit/Shots).
   Opens on hover (desktop) and on click (touch/mobile, via .open class). */
.lnav-dd { position: relative; display: inline-block; }
.lnav-dd-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  font-family: inherit; color: rgba(255,255,255,0.62);
}
.lnav-dd-btn:hover { color: #fff; background: rgba(139,92,246,0.08); }
.lnav-dd--active > .lnav-dd-btn {
  color: #fff !important;
  background: rgba(139,92,246,0.15);
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.28);
}
.lnav-dd-caret {
  opacity: .75; transition: transform .15s;
}
.lnav-dd:hover .lnav-dd-caret,
.lnav-dd.open .lnav-dd-caret { transform: rotate(180deg); opacity: 1; }
.lnav-dd-menu {
  position: absolute; top: calc(100% + 4px); inset-inline-start: 0;
  min-width: 280px;
  background: rgba(18,12,28,0.96);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 6px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(139,92,246,0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 1200;
}
.lnav-dd:hover .lnav-dd-menu,
.lnav-dd.open .lnav-dd-menu,
.lnav-dd:focus-within .lnav-dd-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lnav-dd-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: background .12s, color .12s;
}
.lnav-dd-item:hover {
  background: linear-gradient(135deg, rgba(139,92,246,0.18), rgba(196,162,78,0.07));
  color: #fff;
}
.lnav-dd-item--active {
  background: rgba(139,92,246,0.16);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(139,92,246,0.32);
}
.lnav-dd-icon {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.22);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
}
.lnav-dd-title {
  display: block; font-size: 13px; font-weight: 700; color: #fff;
  line-height: 1.3;
}
.lnav-dd-sub {
  display: block; font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.48);
  margin-top: 2px; line-height: 1.4;
}
@media (max-width: 860px) {
  .lnav-dd-menu { position: fixed; top: 56px; left: 8px; right: 8px; min-width: 0; }
  .lnav-dd:hover .lnav-dd-menu { opacity: 0; visibility: hidden; }
  .lnav-dd.open .lnav-dd-menu { opacity: 1; visibility: visible; }
}
.lnav-actions {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
/* Avatar ring (credit indicator) */
.lnav-avatar-ring {
  position: relative;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
}
.lnav-ring-svg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.lnav-ring-progress {
  transition: stroke-dasharray 0.5s ease;
}
.lnav-avatar-ring .lnav-avatar {
  position: relative; z-index: 2;
  width: 32px; height: 32px;
}
.lnav-btn-ghost {
  color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 8px; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.10); transition: all .15s;
}
.lnav-btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.58); }
.lnav-btn {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 7px 18px; border-radius: 8px; text-decoration: none;
  box-shadow: 0 4px 14px rgba(109,40,217,0.35);
  transition: opacity .15s, transform .1s;
}
.lnav-btn:hover { opacity: .88; transform: translateY(-1px); }

/* ─── NAV AVATAR DROPDOWN ───────────────────────────────────── */
.lnav-avatar-wrap { position: relative; }
.lnav-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff; font-size: 13px; font-weight: 800;
  border: 2px solid rgba(139,92,246,0.50);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 0 0 0 rgba(139,92,246,0.4);
}
.lnav-avatar:hover {
  border-color: rgba(139,92,246,0.85);
  ;
  box-shadow: 0 0 0 4px rgba(139,92,246,0.18);
}
.lnav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 220px;
  background: rgba(12,7,30,0.96); border: 1px solid rgba(139,92,246,0.22);
  border-radius: 14px; padding: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 4px 16px rgba(80,20,180,0.30);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 400;
}
.lnav-dropdown.open {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lnav-dropdown-user { padding: 10px 12px 8px; }
.lnav-dropdown-name { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.lnav-dropdown-email { font-size: 11px; color: rgba(255,255,255,0.58); }
.lnav-dropdown-sep { height: 1px; background: rgba(139,92,246,0.15); margin: 4px 0; }
/* ── Credits remaining indicator ── */
.lnav-credits-block {
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(139,92,246,0.15);
  background: rgba(139,92,246,0.04);
}
.lnav-credits-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; margin-bottom: 6px;
}
.lnav-credits-pct { font-weight: 700; color: rgba(255,255,255,0.85); }
.lnav-credits-val { color: var(--gold, #c8a24e); font-weight: 700; }
.lnav-credits-bar {
  height: 6px; background: rgba(255,255,255,0.06); border-radius: 999px;
  overflow: hidden; position: relative;
}
.lnav-credits-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, #c8a24e, #f59e0b);
  transition: width .4s ease;
  box-shadow: 0 0 8px rgba(200,162,78,0.45);
}
.lnav-credits-fill.low { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.lnav-credits-buy {
  display: block; text-align: center; margin-top: 8px;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 7px 12px; border-radius: 8px; text-decoration: none;
  transition: opacity .15s, transform .12s;
}
.lnav-credits-buy:hover { opacity: .9; transform: translateY(-1px); }
.lnav-dropdown-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px; border-radius: 8px;
  color: rgba(255,255,255,0.65); font-size: 13px; font-weight: 500;
  text-decoration: none; transition: background .12s, color .12s;
}
.lnav-dropdown-item:hover { background: rgba(139,92,246,0.12); color: #fff; }
.lnav-dropdown-item svg { flex-shrink: 0; color: rgba(255,255,255,0.58); }
.lnav-dropdown-danger { color: rgba(248,113,113,0.75); }
.lnav-dropdown-danger:hover { background: rgba(239,68,68,0.12); color: #f87171; }

/* ─── HERO ───────────────────────────────────────────────────── */
.landing-hero {
  position: relative; z-index: 1;
  padding: 130px 24px 60px;
  text-align: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.28);
  color: #a78bfa; font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: 22px; margin-bottom: 28px;
  letter-spacing: 1.8px; text-transform: uppercase;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #a78bfa;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(167,139,250,.5); }
  50%      { opacity: .6; box-shadow: 0 0 0 5px rgba(167,139,250,0); }
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900; letter-spacing: -2px; line-height: 1.06;
  margin-bottom: 20px;
  background: linear-gradient(140deg, #ffffff 0%, rgba(255,255,255,0.88) 45%, #c4b5fd 75%, #a78bfa 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,0.58); max-width: 480px;
  margin: 0 auto 36px; line-height: 1.8;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-bottom: 52px;
}
.hero-btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff; font-size: 15px; font-weight: 700;
  padding: 13px 30px; border-radius: 8px; text-decoration: none;
  box-shadow: 0 8px 28px rgba(109,40,217,0.38), 0 2px 8px rgba(0,0,0,0.25);
  transition: opacity .15s, transform .12s;
}
.hero-btn-primary:hover { opacity: .88; transform: translateY(-2px); }
.hero-btn-ghost {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.11);
  color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 600;
  padding: 12px 26px; border-radius: 8px; text-decoration: none;
  transition: all .15s;
}
.hero-btn-ghost:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.58); color: #fff; }

/* Stats */
.hero-stats {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,0.025);
}
.h-stat { padding: 14px 28px; display: flex; flex-direction: column; align-items: center; }
.h-num { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.h-num span { color: #8b5cf6; }
.h-lbl { font-size: 10px; color: rgba(255,255,255,0.58); margin-top: 4px; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.h-div { width: 1px; background: rgba(255,255,255,0.07); align-self: stretch; }

/* ─── SHOWCASE STRIP ─────────────────────────────────────────── */
.showcase-strip { position: relative; z-index: 1; }
.strip-wrapper { position: relative; }
.strip-cards {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; gap: 10px; padding: 8px 20px 20px;
}
.strip-cards::-webkit-scrollbar { display: none; }
.strip-card {
  flex: 0 0 calc(33.333% - 8px); min-width: 240px; scroll-snap-align: start;
  display: flex; flex-direction: column; text-decoration: none;
  background: rgba(15,10,35,0.85); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(139,92,246,0.14);
  transition: transform .25s cubic-bezier(.22,.68,0,1.2), border-color .25s, box-shadow .25s;
  backdrop-filter: blur(8px);
}
.strip-card:hover { transform: translateY(-4px); border-color: rgba(139,92,246,0.50); box-shadow: 0 12px 36px rgba(80,20,180,0.35); }
.strip-card-media { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; flex-shrink: 0; }
.strip-media-el { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.strip-card-tint { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, rgba(5,3,15,0.6) 100%); pointer-events: none; }
.strip-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(0,0,0,0.45); border: 1.5px solid rgba(255,255,255,0.58);
  backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s; z-index: 4; pointer-events: none;
}
.strip-card:hover .strip-play-btn { opacity: 1; }
.strip-card-info { padding: 12px 14px 14px; flex: 1; }
.strip-card-title { font-size: 12px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.strip-card-sub { font-size: 11px; color: rgba(255,255,255,0.58); line-height: 1.5; }
.strip-media-loader { position: absolute; bottom: 7px; right: 7px; display: flex; align-items: center; gap: 4px; background: rgba(5,2,20,0.75); border: 1px solid rgba(139,92,246,0.28); border-radius: 22px; padding: 3px 8px 3px 5px; z-index: 4; backdrop-filter: blur(4px); }
.strip-media-loader.hidden { opacity: 0; }
.loader-ring { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; animation: ldPulse 1s ease-in-out infinite; flex-shrink: 0; }
.loader-err-dot { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; flex-shrink: 0; }
@keyframes ldPulse { 0%,100% { opacity: 1; ; } 50% { opacity: .35; ; } }
.loader-lbl { font-size: 8px; font-weight: 700; letter-spacing: .5px; color: rgba(167,139,250,0.85); white-space: nowrap; }
.loader-bar-wrap { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: rgba(255,255,255,0.05); z-index: 4; pointer-events: none; }
.loader-bar { height: 100%; width: 0%; background: linear-gradient(90deg, #6d28d9, #a78bfa); transition: width .25s linear; }
.strip-arrow { position: absolute; top: 0; bottom: 0; width: 48px; z-index: 20; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.strip-arrow-left  { left: 0;  background: linear-gradient(to right, rgba(5,3,15,.9) 0%, transparent 100%); display: none; }
.strip-arrow-right { right: 0; background: linear-gradient(to left,  rgba(5,3,15,.9) 0%, transparent 100%); }
.strip-arrow svg { color: rgba(255,255,255,0.6); }

/* ─── HERO BANNER ────────────────────────────────────────────── */
.hero-banner--stacked { border-top: 1px solid rgba(139,92,246,0.12); }
.hero-banner {
  position: relative; display: flex; min-height: 360px;
  background: linear-gradient(135deg, #07021e 0%, #0c0328 60%, #060118 100%);
  border-bottom: 1px solid rgba(139,92,246,0.10); overflow: hidden;
  transition: border-color .25s;
}
.hero-banner:hover { border-color: rgba(139,92,246,0.40); }
.hero-banner-body { flex: 0 0 38%; display: flex; flex-direction: column; justify-content: center; padding: 48px 36px 48px 44px; position: relative; z-index: 5; gap: 14px; }
.hero-banner-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 5px; font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px; border-radius: 22px; border-width: 1px; border-style: solid; margin-bottom: -2px; }
.hero-banner-badge::before { content: '✦'; font-size: 7px; opacity: .8; }
.hero-banner-title { font-weight: 900; letter-spacing: -1px; line-height: 1.06; }
.hero-banner-sub { font-size: 13px; line-height: 1.7; max-width: 320px; }
.hero-banner-btn { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 14px; font-weight: 700; padding: 12px 28px; border-radius: 8px; text-decoration: none; justify-content: center; transition: opacity .15s, transform .1s; }
.hero-banner-btn:hover { opacity: .86; transform: translateY(-2px); }
.hero-banner-media { flex: 1; min-height: 320px; position: relative; overflow: hidden; background: #040114; }
.hero-banner-media-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.hero-banner-media-fade { position: absolute; inset: 0; background: linear-gradient(to right, #06021a 0%, rgba(8,3,26,0.90) 10%, rgba(12,5,35,0.65) 22%, rgba(18,7,48,0.35) 38%, transparent 65%); z-index: 2; pointer-events: none; }

/* ─── SECTION ────────────────────────────────────────────────── */
.land-section { position: relative; z-index: 1; padding: 68px 24px; }
.land-dark { background: rgba(8,5,22,0.80); backdrop-filter: blur(10px); }
.land-dark::before, .land-dark::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,0.20), transparent); }
.land-dark::before { top: 0; }
.land-dark::after  { bottom: 0; }
.land-container { max-width: 1180px; margin: 0 auto; }

.sec-header { text-align: center; margin-bottom: 48px; }
.sec-eyebrow {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #8b5cf6; margin-bottom: 10px;
  padding: 3px 12px; border-radius: 22px;
  background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.22);
}
.sec-title { font-size: clamp(24px, 3.8vw, 40px); font-weight: 800; color: #fff; letter-spacing: -0.5px; line-height: 1.18; margin-bottom: 10px; }
.sec-sub { font-size: 15px; color: rgba(255,255,255,0.58); max-width: 420px; margin: 0 auto; line-height: 1.8; }

/* ─── TOOLS ROW ─────────────────────────────────────────────── */
.tools-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-card {
  position: relative; display: flex; align-items: center; gap: 18px;
  padding: 26px 28px; border-radius: 14px; text-decoration: none; overflow: hidden;
  background: rgba(15,9,36,0.80); border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(10px);
  transition: transform .22s, border-color .22s, box-shadow .22s;
}
.tool-card:hover { transform: translateY(-3px); }
.tool-card-video:hover { border-color: rgba(139,92,246,0.45); box-shadow: 0 16px 40px rgba(100,20,200,0.25); }
.tool-card-image:hover { border-color: rgba(167,139,250,0.40); box-shadow: 0 16px 40px rgba(139,92,246,0.20); }
.tool-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; right: -60px; top: -60px; opacity: 0; transition: opacity .3s; pointer-events: none; }
.tool-card:hover .tool-glow { opacity: 1; }
.tool-glow-v { background: radial-gradient(circle, rgba(139,92,246,0.20) 0%, transparent 70%); }
.tool-glow-i { background: radial-gradient(circle, rgba(167,139,250,0.16) 0%, transparent 70%); }
.tool-icon { width: 60px; height: 60px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.tool-icon-v { background: rgba(109,40,217,0.15); border: 1px solid rgba(109,40,217,0.32); color: #a78bfa; }
.tool-icon-i { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.28); color: #c4b5fd; }
.tool-body { flex: 1; position: relative; z-index: 1; }
.tool-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8b5cf6; margin-bottom: 5px; }
.tool-title { font-size: 19px; font-weight: 800; color: #fff; letter-spacing: -.3px; margin-bottom: 5px; }
.tool-desc { font-size: 12px; color: rgba(255,255,255,0.58); line-height: 1.6; }
.tool-arrow { color: rgba(255,255,255,0.58); position: relative; z-index: 1; flex-shrink: 0; transition: color .2s, transform .2s; }
.tool-card:hover .tool-arrow { color: #8b5cf6; transform: translateX(5px); }
.tool-tags { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.tool-tag { font-size: 9px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 2px 8px; border-radius: 8px; background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.20); color: rgba(167,139,250,0.8); }

/* ─── STEPS ──────────────────────────────────────────────────── */
.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 34px; left: calc(100%/6 + 26px); right: calc(100%/6 + 26px); height: 1px; background: linear-gradient(90deg, rgba(139,92,246,.5), rgba(139,92,246,.15)); z-index: 0; }
.step-item {
  background: rgba(14,8,32,0.75); border: 1px solid rgba(139,92,246,0.12);
  border-radius: 14px; padding: 26px 22px; text-align: center;
  position: relative; z-index: 1; backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s;
}
.step-item:hover { border-color: rgba(139,92,246,0.36); transform: translateY(-3px); }
.step-num { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 18px; background: rgba(109,40,217,0.14); border: 1.5px solid rgba(109,40,217,0.32); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.step-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.step-desc { font-size: 12px; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ─── FEATURES ───────────────────────────────────────────────── */
.features-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feat-card {
  background: rgba(14,8,32,0.75); border: 1px solid rgba(139,92,246,0.10);
  border-radius: 14px; padding: 24px 20px;
  backdrop-filter: blur(8px); transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: rgba(139,92,246,0.32); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: 8px; margin-bottom: 16px; background: rgba(109,40,217,0.12); border: 1px solid rgba(109,40,217,0.22); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.feat-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.feat-desc { font-size: 12px; color: rgba(255,255,255,0.58); line-height: 1.7; }

/* ─── MODELS ─────────────────────────────────────────────────── */
.models-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.models-scroll::-webkit-scrollbar { display: none; }
.model-chip {
  flex-shrink: 0; background: rgba(14,8,32,0.80); border: 1px solid rgba(139,92,246,0.13);
  border-radius: 14px; padding: 16px 18px; min-width: 190px;
  backdrop-filter: blur(8px); transition: border-color .18s, transform .18s;
  cursor: default;
}
.model-chip:hover { border-color: rgba(139,92,246,0.35); transform: translateY(-2px); }
.model-chip.featured { border-color: rgba(139,92,246,0.35); background: rgba(109,40,217,0.08); }
.model-chip-cat { font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8b5cf6; margin-bottom: 8px; padding: 2px 8px; border-radius: 8px; background: rgba(139,92,246,0.10); display: inline-block; }
.model-chip-name { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.model-chip-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 10px; }
.model-chip-tags span { font-size: 9px; font-weight: 600; padding: 2px 7px; border-radius: 8px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); }
.model-chip-price { font-size: 15px; font-weight: 800; color: #a78bfa; }

/* ─── PROOF STRIP ────────────────────────────────────────────── */
.proof-strip {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(8,5,22,0.60); backdrop-filter: blur(8px);
}
.proof-item { padding: 28px 44px; text-align: center; }
.proof-num { font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -1px; line-height: 1; }
.proof-num span { color: #8b5cf6; }
.proof-lbl { font-size: 10px; color: rgba(255,255,255,0.58); margin-top: 4px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 600; }
.proof-divider { width: 1px; height: 44px; background: rgba(255,255,255,0.07); }

/* ─── CTA ────────────────────────────────────────────────────── */
.land-cta { position: relative; z-index: 1; padding: 100px 24px; text-align: center; overflow: hidden; }
.cta-orb { position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(109,40,217,0.16) 0%, transparent 65%); top: 50%; left: 50%; transform: translate(-50%,-50%); animation: nbDrift 10s ease-in-out infinite; pointer-events: none; }
.cta-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(139,92,246,0.10); border: 1px solid rgba(139,92,246,0.25); color: #a78bfa; font-size: 10px; font-weight: 700; padding: 5px 14px; border-radius: 22px; margin-bottom: 20px; letter-spacing: 1.8px; text-transform: uppercase; }
.cta-title { font-size: clamp(28px, 4.5vw, 52px); font-weight: 900; letter-spacing: -1px; color: #fff; margin-bottom: 14px; line-height: 1.12; }
.cta-sub { font-size: 15px; color: rgba(255,255,255,0.58); max-width: 360px; margin: 0 auto 40px; line-height: 1.8; }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.land-footer { background: rgba(4,2,14,0.95); border-top: 1px solid rgba(255,255,255,0.05); padding: 28px 24px; position: relative; z-index: 1; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.footer-logo img { height: 26px; }
.footer-logo-text { font-size: 14px; font-weight: 700; color: #fff; }
.footer-links { display: flex; gap: 1px; flex: 1; flex-wrap: wrap; }
.footer-links a { padding: 5px 10px; font-size: 12px; color: rgba(255,255,255,0.58); text-decoration: none; border-radius: 8px; transition: color .15s; }
.footer-links a:hover { color: rgba(255,255,255,0.70); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.18); }

/* ─── PLATFORM INTRO (replaces landing-hero) ──────────────────── */
.plat-intro {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 40px;
  padding: 100px 60px 60px;
  max-width: 1280px; margin: 0 auto;
  min-height: 520px;
}
.plat-intro-text {
  flex: 0 0 38%; display: flex; flex-direction: column; gap: 0;
}
.plat-title {
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 900; color: #fff;
  line-height: 1.0; letter-spacing: -2.5px;
  margin: 20px 0 18px;
}
.plat-title em {
  font-style: normal;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plat-sub {
  font-size: 15px; color: rgba(255,255,255,0.45);
  line-height: 1.7; margin-bottom: 28px; max-width: 340px;
}
.plat-model-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px;
}
.plat-model-tag {
  font-size: 10px; font-weight: 600; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 22px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.58);
}
.plat-intro-media {
  flex: 1; position: relative; border-radius: 22px; overflow: hidden;
  background: rgba(14,8,32,0.80);
  border: 1px solid rgba(139,92,246,0.20);
  aspect-ratio: 16/9;
  box-shadow: 0 24px 80px rgba(80,20,180,0.30);
}
.plat-intro-media video,
.plat-intro-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.plat-intro-media-placeholder {
  width: 100%; height: 100%; min-height: 300px;
  background: linear-gradient(135deg, rgba(109,40,217,0.15) 0%, rgba(30,20,80,0.4) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
}

/* ─── SHOWCASE GRID ─────────────────────────────────────────────── */
.plat-showcase {
  position: relative; z-index: 1;
  padding: 0 24px 60px;
  max-width: 1280px; margin: 0 auto;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 6px;
}
.showcase-card {
  position: relative; overflow: hidden;
  border-radius: 8px; cursor: pointer;
  background: rgba(14,8,32,0.80);
  text-decoration: none; display: block;
}
.showcase-card--wide { grid-column: span 2; }
.showcase-card--hero { grid-column: span 2; grid-row: span 2; }
.showcase-card video,
.showcase-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.showcase-card:hover video,
.showcase-card:hover img { ; }
.showcase-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,3,15,0.85) 0%, transparent 55%);
  opacity: 0; transition: opacity .25s; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px;
}
.showcase-card:hover .showcase-card-overlay { opacity: 1; }
.showcase-card-caption {
  font-size: 12px; font-weight: 700; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.showcase-card-model {
  font-size: 10px; color: rgba(167,139,250,0.8); margin-top: 2px;
  letter-spacing: .5px;
}
.showcase-card-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; opacity: .3;
}

/* ═══════════════════════════════════════════════════════════════
   HIGGSFIELD-STYLE PLATFORM LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* ── Top Slider ── */
.hf-top-slider-wrap {
  position: relative; z-index: 1; margin-top: 60px;
  overflow: hidden;
}
.hf-top-track {
  display: flex; gap: 6px;
  transition: transform .38s cubic-bezier(.4,0,.2,1);
}
.hf-top-card {
  flex: 0 0 calc(33.333% - 4px);
  display: flex; flex-direction: column; text-decoration: none;
  cursor: pointer;
  border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hf-top-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,0.55);
  box-shadow: 0 12px 36px rgba(109,40,217,0.35);
}
.hf-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10,6,30,0.82); backdrop-filter: blur(8px);
  border: 1px solid rgba(139,92,246,0.35);
  color: #a78bfa; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .2s, background .15s, border-color .15s;
}
.hf-slider-btn:hover { background: rgba(109,40,217,0.5); border-color: rgba(139,92,246,0.7); }
.hf-slider-prev { right: auto; left: 8px; }
.hf-slider-next { left: auto; right: 8px; }
.hf-top-card--empty { cursor: default; }
.hf-top-media {
  width: 100%; aspect-ratio: 16/9; overflow: hidden;
  background: #0a0a18; position: relative; max-height: 340px;
}
/* added by Zain — don't remove (showcase Phase 1.5 20260418):
   switched object-fit from 'cover' to 'contain' so portrait
   9:16 generated videos show in full without aggressive zoom. */
.hf-top-media video, .hf-top-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; transition: transform .5s ease; display: block;
}
.hf-top-card:hover .hf-top-media video,
.hf-top-card:hover .hf-top-media img { ; }

/* added by Zain — don't remove (showcase Phase 1.6 — YouTube ambient blur 20260418):
   Fills the side area (when a portrait video sits in a 16:9 card) with a
   blurred, enlarged copy of the same media — same pattern YouTube uses
   on its watch page, Netflix on its row cards, Apple TV everywhere.
   Two DOM elements per card: .htc-bgfill (blurred fill, z=0) and
   .htc-main (sharp foreground, z=1). Browsers cache the source file so
   only one network fetch happens per card. */
.hf-top-media .htc-bgfill {
  object-fit: cover;
  filter: blur(28px) saturate(1.3) brightness(.55);
  ;
  z-index: 0;
  transition: none;
}
.hf-top-card:hover .hf-top-media .htc-bgfill {
  ;  /* keep background static — don't double-scale on hover */
}
.hf-top-media .htc-main {
  z-index: 1;
}
/* Scale the main content on hover, leave the bgfill alone */
.hf-top-card:hover .hf-top-media .htc-main { ; }
.hf-top-ph {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 52px; opacity: .22;
  background: linear-gradient(135deg, #0d0630 0%, #1a0a4a 100%);
}

/* ── Card Overlay System (htc) ── */
/* Type badge — top-left */
.htc-type-badge {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 8px;
  backdrop-filter: blur(6px);
}
.htc-video { background: rgba(124,58,237,0.75); color: #e9d5ff; border: 1px solid rgba(167,139,250,0.4); }
.htc-image { background: rgba(20,100,220,0.75); color: #bfdbfe; border: 1px solid rgba(96,165,250,0.4); }

/* Info overlay — always visible at bottom */
.htc-info-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.90) 0%, rgba(0,0,0,0.45) 55%, transparent 100%);
  padding: 28px 12px 12px;
  transition: opacity .25s;
}
.hf-top-card:hover .htc-info-overlay { opacity: 0; }
.htc-title {
  font-size: 13px; font-weight: 600; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.htc-sub {
  font-size: 11px; color: rgba(255,255,255,0.50);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Hover overlay — appears on hover */
.htc-hover-overlay {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(8,8,20,0.70);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity .22s;
}
.hf-top-card:hover .htc-hover-overlay { opacity: 1; }

/* Action buttons row */
.htc-actions {
  display: flex; gap: 12px; align-items: center;
}
.htc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.85);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
  flex-shrink: 0;
}
.htc-btn:hover {
  background: rgba(124,58,237,0.60);
  border-color: rgba(167,139,250,0.6);
  color: #fff; ;
}

/* Model badge at bottom of hover */
.htc-model-badge {
  position: absolute; bottom: 10px; left: 0; right: 0;
  text-align: center;
  font-size: 10px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  color: #a78bfa;
}

/* ── Info bar (below media, inside card) ── */
.hf-top-info {
  padding: 10px 14px 12px;
  background: rgba(12,8,28,0.97);
  border-top: 1px solid rgba(139,92,246,0.10);
}
.hf-top-title {
  font-size: 13px; font-weight: 600; color: #fff;
  margin-bottom: 2px; letter-spacing: -.2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hf-top-sub {
  font-size: 11px; color: rgba(255,255,255,0.58); line-height: 1.4;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── MIXED ── */
/* added by Zain — don't remove (Phase 2.6 rev4 20260418):
   - .land-page matches nav container (max 1320px + padding 32px).
   - Promo box REMOVED from .hf-mixed — slider takes full width,
     extra room to scroll through many hero items.
   - margin-top 72px for breathing room from nav. */
/* rev5 20260418: user said sides still too wide at 1320px max on big
   monitors. Removed max-width so .land-page fills the viewport minus
   a small 32px gutter each side (same as nav padding). Edge-to-edge
   feel on wide screens, still has breathing room. */
.land-page {
  max-width: 100%;
  margin: 0;
  padding: 0 32px;
  box-sizing: border-box;
}
.hf-mixed {
  display: block;
  margin-top: 72px;
  position: relative; z-index: 1;
}
.hf-mixed .hf-top-slider-wrap { margin-top: 0; }
/* Slider is now full-width — restore 16:9 aspect for a cinematic feel */
.hf-mixed .hf-top-media { aspect-ratio: 16/9; max-height: 340px; }

@media (max-width: 960px) {
  .hf-mixed { margin-top: 48px; }
  .land-page { padding: 0 16px; }
}
.hf-promo {
  background: linear-gradient(145deg, #0d0630 0%, #180b4a 55%, #080220 100%);
  padding: 0; display: flex; flex-direction: column;
  justify-content: space-between; position: relative; overflow: hidden; min-height: 500px;
}
.hf-promo-top {
  flex: 1; display: flex; flex-direction: column;
  align-items: flex-start; justify-content: flex-start;
  padding: 28px 36px 0; position: relative; z-index: 1;
}
.hf-promo-top-img {
  max-width: 100%; max-height: 200px; border-radius: 8px;
  object-fit: cover; margin-bottom: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.hf-promo-top-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: rgba(196,181,253,0.8); padding: 4px 10px;
  background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.25);
  border-radius: 22px; display: inline-block;
}
.hf-promo-bottom {
  padding: 28px 36px 36px; position: relative; z-index: 1;
  display: flex; flex-direction: column;
}
.hf-promo-orb {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,40,217,0.40) 0%, transparent 70%);
  top: -100px; left: -60px; pointer-events: none;
}
.hf-promo-label {
  font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(167,139,250,0.60); margin-bottom: 14px;
}
.hf-promo-title {
  font-size: clamp(34px, 3.8vw, 52px); font-weight: 900; color: #fff;
  line-height: 0.95; letter-spacing: -2px; margin-bottom: 16px;
}
.hf-promo-title span {
  background: linear-gradient(135deg, #8b5cf6, #c4b5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hf-promo-desc {
  font-size: 13px; color: rgba(255,255,255,0.58); line-height: 1.75;
  margin-bottom: 30px; max-width: 240px;
}
.hf-promo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #fff; font-size: 13px; font-weight: 700;
  padding: 12px 22px; border-radius: 8px; text-decoration: none;
  align-self: flex-start; box-shadow: 0 6px 20px rgba(109,40,217,0.45);
  transition: opacity .15s, transform .1s; margin-bottom: 22px;
}
.hf-promo-btn:hover { opacity: .88; transform: translateY(-2px); }
.hf-promo-models { display: flex; flex-wrap: wrap; gap: 5px; }
.hf-promo-models span {
  font-size: 9px; font-weight: 600; letter-spacing: .4px; padding: 3px 9px;
  border-radius: 22px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.58);
}
.hf-mini-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr); gap: 6px;
}
.hf-mini-card {
  position: relative; overflow: hidden;
  background: #0a0a18; text-decoration: none; cursor: pointer; display: block;
  min-height: 120px; border-radius: 8px;
}
.hf-mini-card video, .hf-mini-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .35s ease; display: block;
}
.hf-mini-card:hover video, .hf-mini-card:hover img { ; }
.hf-mini-ph {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 24px; opacity: .2;
  background: linear-gradient(135deg, #0d0630, #1a0a4a);
}

/* ── BOTTOM ROW ── */
.hf-bottom-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 3px; margin-top: 3px; position: relative; z-index: 1;
}
.hf-bottom-card {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
  background: #0a0a18; text-decoration: none; cursor: pointer; display: block;
}
.hf-bottom-card video, .hf-bottom-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .35s ease; display: block;
}
.hf-bottom-card:hover video, .hf-bottom-card:hover img { ; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hf-top-card   { flex: 0 0 calc(50% - 3px); }
  .hf-mixed      { grid-template-columns: 1fr; }
  .hf-mini-grid  { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
  .hf-bottom-row { grid-template-columns: repeat(3, 1fr); }
  .strip-card    { flex: 0 0 calc(50% - 6px); }
  .tools-row     { grid-template-columns: 1fr; }
  .features-row  { grid-template-columns: 1fr 1fr; }
  .steps-row     { grid-template-columns: 1fr; }
  .steps-row::before { display: none; }
  .hero-banner   { flex-direction: column; min-height: auto; }
  .hero-banner-body  { flex: none; padding: 32px 22px 22px; }
  .hero-banner-media { min-height: 220px; }
  .plat-intro { flex-direction: column; padding: 80px 24px 40px; min-height: auto; }
  .plat-intro-text { flex: none; }
  .plat-intro-media { width: 100%; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .showcase-card--hero { grid-column: span 2; }
  .showcase-card--wide { grid-column: span 2; }
}
/* ──────────────────────────────────────────────────────────────
   MOBILE / TABLET NAV
   Hamburger drawer kicks in at ≤1024px so tablet overflow is gone.
   ────────────────────────────────────────────────────────────── */
.lnav-hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.lnav-hamburger:hover { background: rgba(255,255,255,0.06); }
.lnav-hamburger svg { width: 20px; height: 20px; }

/* Drawer itself — hidden by default, slides in from the right (RTL) */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; bottom: 0; right: 0;
  width: 82%; max-width: 320px;
  background: linear-gradient(180deg, #0e0828 0%, #06021a 100%);
  border-left: 1px solid rgba(124,58,237,0.25);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open {
  display: flex;
  transform: translateX(0);
}
.mobile-drawer-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
}
.mobile-drawer-backdrop.show { display: block; }

.md-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.md-logo {
  font-size: 14px; font-weight: 900; color: #fff;
  letter-spacing: 1px;
}
.md-logo span { color: #a78bfa; }
.md-close {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 24px; font-weight: 300;
}
.md-close:hover { background: rgba(239,68,68,0.12); color: #fca5a5; }

.md-nav {
  display: flex; flex-direction: column;
  padding: 14px 0;
  flex: 1;
}
.md-nav-section {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  padding: 14px 22px 8px;
}
.md-link {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px;
  color: rgba(255,255,255,0.85);
  font-size: 15px; font-weight: 600;
  min-height: 48px;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}
.md-link:hover, .md-link--active {
  background: rgba(124,58,237,0.12);
  color: #fff;
  border-right: 3px solid #7c3aed;
}
.md-link .md-icon { font-size: 18px; opacity: 0.85; }
.md-link .md-new {
  margin-right: auto;
  font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #a78bfa);
  color: #fff;
}

.md-foot {
  padding: 16px 20px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 10px;
}
.md-foot .md-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 14px; font-weight: 700;
  text-decoration: none;
  min-height: 48px;
}
.md-btn--primary {
  background: linear-gradient(90deg, #7c3aed, #9333ea);
  color: #fff;
  box-shadow: 0 6px 20px rgba(124,58,237,0.35);
}
.md-btn--ghost {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}

/* ──────────────────────────────────────────────────────────────
   Keep all 10 links visible from 1280px up to 1600px by scaling
   down font / padding / gap instead of dropping items.
   User requested: "اريدهن كلهن موجودات" (keep them all visible).
   ────────────────────────────────────────────────────────────── */
@media (max-width: 1600px) and (min-width: 1281px) {
  .landing-nav-inner { gap: 22px; padding: 0 24px; }
  .lnav-link         { padding: 7px 11px; font-size: 12.5px; }
  .lnav-links        { gap: 2px; }
  .nav-new-badge     { font-size: 7px; padding: 1.5px 4px; letter-spacing: .5px; }
}

/* Tight mode for 1025–1280px (common laptop widths): shrink hard so the
   10 links, logo, lang toggle and avatar all still sit on one row without
   wrapping. Below this we switch to the hamburger drawer. */
@media (max-width: 1280px) and (min-width: 1025px) {
  .landing-nav-inner { gap: 12px; padding: 0 14px; }
  .lnav-links        { gap: 0; }
  .lnav-link         { padding: 6px 8px; font-size: 11.5px; letter-spacing: -.1px; }
  .nav-new-badge     { font-size: 6.5px; padding: 1px 3px; letter-spacing: .3px; margin-inline-end: 3px; }
  .lnav-logo img     { height: 26px; }
  .lnav-logo-text    { font-size: 14px; }
  .lnav-actions      { gap: 8px; }
  .lnav-lang-btn     { padding: 5px 9px; font-size: 11px; }
  /* Admin "لوحة التحكم →" button hides here to save space — it's still
     reachable via the avatar dropdown. */
  .lnav-actions .lnav-btn:not([onclick*="toggleLnavDropdown"]) { display: none; }
}

/* Show hamburger + hide inline links below 1024px (covers tablet overflow) */
@media (max-width: 1024px) {
  .lnav-hamburger { display: flex; }
  .lnav-links     { display: none !important; }
  .lnav-actions .lnav-btn-ghost { display: none; }  /* keep only the primary action */
}

/* ─── Mobile nav tightening ─────────────────────────────── */
@media (max-width: 768px) {
  .landing-nav-inner { padding: 0 12px; gap: 10px; }
  .lnav-actions      { gap: 8px; }
  /* Hide the "Admin panel →" button text on mobile — too wide; the drawer
     already has an admin link. */
  .lnav-actions > .lnav-btn:not([onclick*="toggleLnavDropdown"]) { display: none; }
  /* Avatar ring — large enough to be a proper tap target */
  .lnav-avatar-ring { width: 44px; height: 44px; }
  .lnav-avatar-ring .lnav-avatar { width: 34px; height: 34px; font-size: 13px; }
  .lnav-logo-text   { font-size: 14px; }
  .lnav-logo img    { height: 26px; }
  /* Sign In ghost already hidden at ≤1024px via rule above */
}

@media (max-width: 600px) {
  .hf-top-card   { flex: 0 0 100%; }
  .hf-promo      { min-height: 380px; padding: 36px 24px; }
  /* Instead of hiding, let the row scroll horizontally like strip-cards */
  .hf-bottom-row {
    flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .hf-bottom-row > * { scroll-snap-align: start; flex: 0 0 80%; }
  .strip-card    { flex: 0 0 calc(82% - 6px); }
  .land-section  { padding: 52px 18px; }
  .features-row  { grid-template-columns: 1fr; }
  .proof-item    { padding: 22px 24px; }
  .proof-divider { display: none; }
  .footer-inner  { flex-direction: column; align-items: flex-start; gap: 14px; }
  .r1, .r2       { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   added by Zain — don't remove (Phase 2.9 — PWA install banner 20260418)
   Prominent banner between hero and spotlights. Gradient background,
   clear CTA button. Hidden when the page is running as installed PWA.
   ═══════════════════════════════════════════════════════════════════ */
.pwa-install-banner {
  margin: 28px 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,.22) 0%, rgba(167,139,250,.12) 50%, rgba(74,222,128,.08) 100%);
  border: 1px solid rgba(167,139,250,.3);
  position: relative;
  overflow: hidden;
}
.pwa-install-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(167,139,250,.15), transparent 50%);
  pointer-events: none;
}
.pwa-install-banner-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  flex-wrap: wrap;
}
.pwa-install-banner-icon {
  font-size: 36px; line-height: 1; flex-shrink: 0;
}
.pwa-install-banner-text {
  flex: 1; min-width: 200px;
}
.pwa-install-banner-title {
  font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 3px;
  letter-spacing: -.3px;
}
.pwa-install-banner-sub {
  font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.5;
}
.pwa-install-banner-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff; font-size: 14px; font-weight: 700;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(124,58,237,.35);
  transition: transform .15s, box-shadow .15s;
  flex-shrink: 0;
}
.pwa-install-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124,58,237,.5);
}
@media (max-width: 600px) {
  .pwa-install-banner-inner { padding: 16px; gap: 12px; }
  .pwa-install-banner-title { font-size: 16px; }
  .pwa-install-banner-sub   { font-size: 12px; }
  .pwa-install-banner-btn   { width: 100%; justify-content: center; margin-top: 4px; }
}

/* ═══════════════════════════════════════════════════════════════════
   added by Zain — don't remove (showcase Phase 2 — spotlight rows 20260418)
   Higgsfield/Runway-style product spotlight.
   Left column: brand eyebrow + giant title + description + CTA + secondary.
   Right column: 3×2 grid of example outputs from this section.
   Stacks vertically on mobile.
   ═══════════════════════════════════════════════════════════════════ */
.hfs-spotlight {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 28px;
  margin: 40px 0;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(13,8,30,.65) 0%, rgba(8,4,22,.85) 100%);
  border: 1px solid rgba(139,92,246,.15);
  position: relative; overflow: hidden;
}
.hfs-spotlight::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(124,58,237,.22) 0%, transparent 55%);
  pointer-events: none;
}
.hfs-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 4px; position: relative; z-index: 1;
}
.hfs-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(200,162,78,.95); margin-bottom: 14px;
}
.hfs-title {
  font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -1.5px;
  color: #fff; margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, #c8a24e 75%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hfs-desc {
  font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.68);
  margin-bottom: 22px; max-width: 380px;
}
.hfs-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hfs-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
  color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none; letter-spacing: .2px;
  box-shadow: 0 4px 16px rgba(124,58,237,.35);
  transition: transform .15s, box-shadow .15s;
}
.hfs-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124,58,237,.55);
}
.hfs-cta-secondary {
  display: inline-block; font-size: 13px; color: rgba(255,255,255,.7);
  text-decoration: none; border-bottom: 1px dashed rgba(255,255,255,.2);
  padding-bottom: 1px;
}
.hfs-cta-secondary:hover { color: #a78bfa; border-color: rgba(167,139,250,.4); }

.hfs-right { position: relative; z-index: 1; min-width: 0; }
.hfs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.hfs-card {
  aspect-ratio: 1/1;
  border-radius: 8px; overflow: hidden;
  background: #000; position: relative;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .2s, border-color .2s;
}
.hfs-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,58,237,.45);
}
.hfs-card video, .hfs-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hfs-card-badge {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px;
  background: rgba(0,0,0,.55); color: #e9d5ff; backdrop-filter: blur(4px);
}
/* added by Zain — don't remove (Phase 2.2 grid card overlay 20260418):
   Each spotlight grid card gets a bottom gradient with title + subtitle.
   Mirrors the .htc-info-overlay system used on hero cards, but sized for
   smaller 1:1 grid tiles. Fades out on hover to reveal clean video. */
.hfs-card-overlay {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 20px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 55%, transparent 100%);
  transition: opacity .2s;
  pointer-events: none;
}
.hfs-card:hover .hfs-card-overlay { opacity: 0; }
.hfs-card-title {
  font-size: 12px; font-weight: 700; color: #fff;
  line-height: 1.25; margin-bottom: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -.1px;
}
.hfs-card-sub {
  font-size: 10px; color: rgba(255,255,255,.60); line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hfs-view-all {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-size: 13px; color: #a78bfa;
  text-decoration: none; font-weight: 600;
}
.hfs-view-all:hover { color: #c4b5fd; }

/* Empty state — legacy single-box (kept for reference) */
.hfs-empty {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px; border-radius: 8px;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(255,255,255,.1);
  color: rgba(255,255,255,.4); font-size: 13px; text-align: center;
}
.hfs-empty-icon { font-size: 36px; opacity: .35; margin-bottom: 8px; }
/* added by Zain — don't remove (Phase 2.6 2×3 placeholder grid 20260418):
   When a spotlight section has no items, we render 6 .hfs-card--placeholder
   tiles so the section keeps the same footprint as populated ones. */
.hfs-card--placeholder {
  background: linear-gradient(145deg, rgba(20,14,45,.55) 0%, rgba(10,6,25,.85) 100%);
  border-style: dashed; border-color: rgba(139,92,246,.18);
  display: flex; align-items: center; justify-content: center;
  cursor: default;
}
.hfs-card--placeholder:hover {
  transform: none; border-color: rgba(139,92,246,.3);
}
.hfs-placeholder-icon {
  font-size: 30px; opacity: .28;
}

/* Mobile: stack left and right vertically */
@media (max-width: 860px) {
  .hfs-spotlight {
    grid-template-columns: 1fr; gap: 18px; padding: 20px; margin: 24px 0;
  }
  .hfs-title { font-size: 32px; }
  .hfs-desc { max-width: none; }
  .hfs-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; }
}
@media (max-width: 480px) {
  .hfs-title { font-size: 26px; }
  .hfs-grid { grid-template-columns: repeat(2, 1fr); }
}
