/* ═══════════════════════════════════════
   ASSC Hero Section — Arabic
   Clean · Responsive · Cinematic
   ═══════════════════════════════════════ */

:root {
  --assc-dark: #050816;
  --assc-accent: #d8b06a;
  --assc-accent-2: #f3d7a3;
  --assc-text: #ffffff;
  --assc-text-soft: rgba(255, 255, 255, .9);
  --font-ar: "Cairo", sans-serif;
}

/* Main Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate;
  background: var(--assc-dark);
}

/* Background video / image */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.58) contrast(1.08) saturate(.92);
  transform: scale(1.01);
  pointer-events: none;
}

/* Overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 36%, rgba(216, 176, 106, .16), transparent 34%),
    linear-gradient(
      180deg,
      rgba(6, 14, 28, .18) 0%,
      rgba(6, 18, 34, .28) 44%,
      rgba(3, 10, 22, .62) 100%
    );
}

.hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, .03),
    transparent 34%
  );
}

/* Stars */
.stars-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .75);
  box-shadow: 0 0 16px rgba(255, 255, 255, .55);
}

.star:nth-child(1) { top: 20%; left: 18%; }
.star:nth-child(2) { top: 32%; right: 20%; }
.star:nth-child(3) { top: 58%; left: 28%; }
.star:nth-child(4) { top: 72%; right: 24%; }
.star:nth-child(5) { top: 44%; left: 50%; }

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  width: min(92%, 1120px);
  margin: 0 auto;
  padding: clamp(90px, 12vh, 140px) 16px clamp(60px, 9vh, 110px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo */
.hero-logo-container {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 0 auto clamp(14px, 2.4vw, 26px);
}

.hero-logo-container::before {
  content: "";
  position: absolute;
  width: clamp(220px, 30vw, 460px);
  height: clamp(100px, 11vw, 180px);
  background: radial-gradient(
    ellipse,
    rgba(3, 10, 22, .72) 0%,
    rgba(3, 10, 22, .42) 42%,
    transparent 78%
  );
  filter: blur(16px);
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 3;
  width: clamp(210px, 25vw, 390px);
  height: auto;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(216, 176, 106, .14))
    drop-shadow(0 12px 24px rgba(0, 0, 0, .28));
}

/* Title */
.hero-title {
  margin: 0 auto;
  max-width: 980px;
  text-align: center;
  color: var(--assc-text);
  font-family: var(--font-ar);
  font-size: clamp(3rem, 6.8vw, 6.5rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow:
    0 3px 12px rgba(0, 0, 0, .22),
    0 18px 45px rgba(0, 0, 0, .46);
  text-wrap: balance;
}

/* Golden subtitle */
.hero-title span {
  display: block;
  margin-top: .08em;
  background: linear-gradient(
    180deg,
    #fff3c4 0%,
    #e6c06f 42%,
    #cfa35a 72%,
    #ae8768 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

/* Description */
.hero-description {
  max-width: 760px;
  margin: clamp(12px, 1.8vw, 18px) auto 0;
  color: var(--assc-text-soft);
  font-family: var(--font-ar);
  font-size: clamp(.95rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
  text-shadow: 0 10px 28px rgba(0, 0, 0, .48);
  text-wrap: pretty;
}

/* Tablet */
@media (max-width: 992px) {
  .hero-content {
    width: min(94%, 900px);
  }

  .hero-logo {
    width: clamp(200px, 34vw, 330px);
  }

  .hero-title {
    font-size: clamp(2.6rem, 8vw, 5.1rem);
  }

  .hero-description {
    max-width: 650px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    width: min(94%, 720px);
    padding: 106px 14px 72px;
  }

  .hero-logo-container {
    margin-bottom: 14px;
  }

  .hero-logo {
    width: clamp(190px, 54vw, 300px);
  }

  .hero-title {
    max-width: 94%;
    font-size: clamp(2.25rem, 11vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.035em;
  }

  .hero-description {
    max-width: 92%;
    font-size: .94rem;
    line-height: 1.75;
  }
}

/* Small Mobile */
@media (max-width: 420px) {
  .hero-content {
    padding-top: 96px;
  }

  .hero-logo {
    width: clamp(170px, 58vw, 250px);
  }

  .hero-title {
    font-size: clamp(2.05rem, 12vw, 3.35rem);
  }

  .hero-description {
    font-size: .88rem;
    line-height: 1.7;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero *,
  .hero *::before,
  .hero *::after {
    animation: none !important;
    transition: none !important;
  }
}