/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0.55) 0%,
    rgba(5, 5, 5, 0.35) 40%,
    rgba(5, 5, 5, 0.7) 88%,
    rgba(5, 5, 5, 1) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero__eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-red-bright);
  opacity: 0.6;
}

body[data-lang="ar"] .hero__eyebrow {
  letter-spacing: 0;
  text-transform: none;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.1;
  color: var(--color-white);
}

.hero__headline span {
  display: block;
  color: var(--color-white);
}

.hero__subtext {
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--color-grey-light);
  max-width: 560px;
  line-height: 1.6;
}

/* CTA button — deliberately a different accent (electric cyan) so it
   pops against the site's red/black palette, per project decision */
.hero__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: #00110f;
  background: linear-gradient(135deg, #17e6c9, #0ad1ff);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(23, 230, 201, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero__cta:hover,
.hero__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(23, 230, 201, 0.5);
}

/* Live marketplace glass panel */
.hero__panel {
  margin-top: 28px;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 20px 28px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero__panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-red-bright);
  margin-bottom: 14px;
  justify-content: center;
}

body[data-lang="ar"] .hero__panel-top {
  letter-spacing: 0;
  text-transform: none;
}

.hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red-bright);
  box-shadow: 0 0 0 0 rgba(232, 36, 31, 0.6);
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(232, 36, 31, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(232, 36, 31, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 36, 31, 0); }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--color-white);
}

.hero__stat-value--accent {
  color: #17e6c9;
}

.hero__stat-label {
  font-size: 0.72rem;
  color: var(--color-grey);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

/* ============================================
   Responsive — Hero
   ============================================ */

@media (max-width: 900px) {
  .hero {
    height: 100vh;
    min-height: 620px;
  }

  .hero__content {
    gap: 12px;
    padding: 0 18px;
  }

  .hero__headline {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero__subtext {
    font-size: 0.85rem;
  }

  .hero__cta {
    padding: 13px 30px;
    font-size: 0.9rem;
    margin-top: 2px;
  }

  .hero__panel {
    margin-top: 16px;
    padding: 14px 14px;
    border-radius: 14px;
  }

  .hero__panel-top {
    font-size: 0.65rem;
    margin-bottom: 10px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 8px;
  }

  .hero__stat-value {
    font-size: 1.1rem;
  }

  .hero__stat-label {
    font-size: 0.62rem;
  }
}

@media (max-height: 700px) and (max-width: 900px) {
  /* Short mobile viewports: tighten vertical rhythm further */
  .hero__eyebrow {
    font-size: 0.7rem;
  }
  .hero__content {
    gap: 8px;
  }
}
