/* ==========================================================
   hero.css — الهيرو
   ========================================================== */
:root {
  --ebmnt1-hero-background-color: var(--ebmnt1-color-surface-tint);
  --ebmnt1-hero-glow-color: rgba(164, 147, 255, 0.7);
  --ebmnt1-hero-glow-soft-color: rgba(114, 190, 249, 0.35);
  --ebmnt1-hero-title-gradient-start-color: var(--ebmnt1-color-secondary);
  --ebmnt1-hero-title-gradient-end-color: rgba(0, 0, 0, 0.28);
  --ebmnt1-hero-text-color: var(--ebmnt1-color-text-body);
  --ebmnt1-hero-chip-background-color: var(--ebmnt1-color-white);
  --ebmnt1-hero-chip-shadow-color: var(--ebmnt1-color-shadow);
  --ebmnt1-hero-chip-line-color: var(--ebmnt1-color-border-violet);
  --ebmnt1-hero-chip-icon-teal-color: #0e4a5a;
  --ebmnt1-hero-chip-icon-navy-color: #14283f;
  --ebmnt1-hero-chip-icon-orange-color: #f2994a;
  --ebmnt1-hero-chip-icon-blue-color: #1f7ae0;
  --ebmnt1-hero-trust-text-color: #3d3d3d;
  --ebmnt1-hero-trust-icon-color: var(--ebmnt1-color-primary);

  --ebmnt1-hero-vertical-space: clamp(2rem, 5vw, 3.5rem);
  --ebmnt1-hero-rings-width: clamp(20rem, 90vw, 52rem);
  --ebmnt1-hero-marquee-gap: 2.5rem;
  --ebmnt1-hero-marquee-duration: 28s;
  --ebmnt1-hero-parallax-offset: 0px;
}

.ebmnt1-hero {
  overflow: hidden;
  gap: 0;
  background-color: var(--ebmnt1-hero-background-color);
  background-image:
    radial-gradient(60% 45% at 0% 100%, var(--ebmnt1-hero-glow-color), transparent 72%),
    radial-gradient(60% 45% at 100% 100%, var(--ebmnt1-hero-glow-color), transparent 72%),
    radial-gradient(40% 30% at 50% 100%, var(--ebmnt1-hero-glow-soft-color), transparent 75%);
}

/* بديل الـ padding: عناصر فاصلة داخل الـ flex */
.ebmnt1-hero::before,
.ebmnt1-hero::after {
  content: "";
  display: block;
  flex: none;
  width: 100%;
  height: var(--ebmnt1-hero-vertical-space);
}

.ebmnt1-hero__rings {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--ebmnt1-hero-rings-width);
  max-width: none;
  transform: translate(-50%, var(--ebmnt1-hero-parallax-offset));
  opacity: 0.9;
  pointer-events: none;
}

.ebmnt1-hero__inner {
  z-index: 2;
  gap: 2.25rem;
}

.ebmnt1-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.ebmnt1-hero__title {
  font-size: var(--ebmnt1-font-size-display);
  font-weight: 700;
  line-height: 1.25;
  background-image: radial-gradient(at 50% 0%, var(--ebmnt1-hero-title-gradient-start-color) 25%, var(--ebmnt1-hero-title-gradient-end-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: ebmnt1-hero-zoom 0.9s var(--ebmnt1-transition-easing) both;
}

.ebmnt1-hero__text {
  max-width: var(--ebmnt1-text-max-width-hero);
  font-size: var(--ebmnt1-font-size-lead);
  color: var(--ebmnt1-hero-text-color);
  animation: ebmnt1-hero-fade-up 0.8s 0.15s var(--ebmnt1-transition-easing) both;
}

.ebmnt1-hero__actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  animation: ebmnt1-hero-fade-up 0.8s 0.3s var(--ebmnt1-transition-easing) both;
}

.ebmnt1-hero__actions .ebmnt1-btn {
  width: 100%;
  max-width: 20rem;
}

/* ---------- Trust strip ---------- */
.ebmnt1-hero__trust {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: ebmnt1-hero-fade-up 0.8s 0.5s var(--ebmnt1-transition-easing) both;
}

.ebmnt1-hero__marquee {
  width: 100%;
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.ebmnt1-hero__marquee-track {
  flex: none;
  width: max-content;
  display: flex;
  gap: var(--ebmnt1-hero-marquee-gap);
  animation: ebmnt1-hero-marquee var(--ebmnt1-hero-marquee-duration) linear infinite;
}

.ebmnt1-hero__marquee:hover .ebmnt1-hero__marquee-track {
  animation-play-state: paused;
}

.ebmnt1-hero__marquee-list {
  display: flex;
  gap: var(--ebmnt1-hero-marquee-gap);
}

.ebmnt1-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  font-weight: 700;
  color: var(--ebmnt1-hero-trust-text-color);
  opacity: 0.8;
  white-space: nowrap;
}

.ebmnt1-hero__trust-item i {
  color: var(--ebmnt1-hero-trust-icon-color);
}

/* ---------- Floating chips (tablet+) ---------- */
.ebmnt1-hero__chips {
  display: none;
}

@media (min-width: 768px) {
  .ebmnt1-hero__chips {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }

  .ebmnt1-hero__chip {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--ebmnt1-hero-chip-background-color);
    box-shadow: 0 10px 28px var(--ebmnt1-hero-chip-shadow-color);
    font-size: 1.4rem;
    animation: ebmnt1-hero-float 5s ease-in-out infinite;
  }

  .ebmnt1-hero__chip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    width: 1px;
    height: 9rem;
    background-image: linear-gradient(to bottom, var(--ebmnt1-hero-chip-line-color), transparent);
  }

  .ebmnt1-hero__chip--teal {
    inset-inline-start: 6%;
    top: 36%;
    color: var(--ebmnt1-hero-chip-icon-teal-color);
  }

  .ebmnt1-hero__chip--orange {
    inset-inline-start: 17%;
    top: 55%;
    color: var(--ebmnt1-hero-chip-icon-orange-color);
    animation-delay: -1.5s;
  }

  .ebmnt1-hero__chip--navy {
    inset-inline-end: 6%;
    top: 36%;
    color: var(--ebmnt1-hero-chip-icon-navy-color);
    animation-delay: -3s;
  }

  .ebmnt1-hero__chip--blue {
    inset-inline-end: 17%;
    top: 55%;
    color: var(--ebmnt1-hero-chip-icon-blue-color);
    animation-delay: -4.5s;
  }
}

@media (min-width: 425px) {
  .ebmnt1-hero__actions {
    flex-direction: row;
  }

  .ebmnt1-hero__actions .ebmnt1-btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .ebmnt1-hero__inner {
    gap: 3rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --ebmnt1-hero-rings-width: 56rem;
  }
}

@keyframes ebmnt1-hero-zoom {
  from {
    opacity: 0;
    transform: scale(0.85);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ebmnt1-hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ebmnt1-hero-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.75rem);
  }
}

@keyframes ebmnt1-hero-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(50% + var(--ebmnt1-hero-marquee-gap) / 2));
  }
}
