/* ===========================
   HERO SECTION
   =========================== */
.em-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* ---- Background Layers ---- */
.em-hero__cosmos {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, #0d1f40 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 100%, #0a1830 0%, transparent 70%),
    linear-gradient(180deg, #030f22 0%, #0B1628 50%, #071528 100%);
  z-index: 0;
}

.em-hero__aurora {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 40% at 50% 20%, rgba(245,158,11,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 80% 30% at 80% 80%, rgba(21,101,192,0.05) 0%, transparent 60%);
  background-size: 200% 200%;
  animation: auroraShift 10s ease-in-out infinite alternate;
  z-index: 1;
}

.em-hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: dotsDrift 20s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 70%);
  z-index: 2;
}

/* ---- Orbs ---- */
.em-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  animation: orbFloat var(--dur, 12s) ease-in-out infinite alternate;
}

.em-hero__orb--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(245,158,11,0.12), transparent 70%);
  top: -100px; left: -60px;
  --dur: 12s;
}

.em-hero__orb--2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(21,101,192,0.1), transparent 70%);
  bottom: 0; right: 5%;
  --dur: 16s;
}

.em-hero__orb--3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(6,182,212,0.08), transparent 70%);
  top: 40%; left: 30%;
  --dur: 10s;
}

.em-hero__orb--4 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245,158,11,0.08), transparent 70%);
  bottom: 20%; left: 10%;
  --dur: 8s;
}

/* ---- Orbital Rings ---- */
.em-hero__rings {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  height: 380px;
  z-index: 3;
}

.em-hero__ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.em-hero__ring--1 {
  width: 380px; height: 380px;
  border: 1.5px solid rgba(245,158,11,0.25);
  animation: ringSpin 24s linear infinite;
}

.em-hero__ring--2 {
  width: 280px; height: 280px;
  border: 1px solid rgba(21,101,192,0.3);
  animation: ringSpinRev 18s linear infinite;
}

.em-hero__ring--3 {
  width: 190px; height: 190px;
  border: 1px dashed rgba(245,158,11,0.2);
  animation: ringSpin 12s linear infinite;
}

.em-hero__ring--4 {
  width: 110px; height: 110px;
  border: 1px solid rgba(6,182,212,0.25);
  animation: ringSpinRev 8s linear infinite;
}

.em-hero__ring-center {
  position: absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, var(--em-gold) 0%, rgba(245,158,11,0.3) 60%, transparent 100%);
  box-shadow: 0 0 20px rgba(245,158,11,0.5), 0 0 40px rgba(245,158,11,0.2);
  animation: centerPulse 3s ease-in-out infinite;
}

/* ---- Particles ---- */
.em-hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.em-particle {
  position: absolute;
  border-radius: 50%;
  width: var(--s, 4px);
  height: var(--s, 4px);
  left: var(--x, 50%);
  bottom: -10px;
  background: var(--col, rgba(245,158,11,0.7));
  box-shadow: 0 0 6px var(--col, rgba(245,158,11,0.5));
  animation: particleRise var(--d, 10s) linear var(--del, 0s) infinite;
}

/* ---- Content ---- */
.em-hero .em-container {
  position: relative;
  z-index: 5;
  width: 100%;
}

.em-hero__content {
  max-width: 680px;
  padding: 100px 0 80px;
}

/* Eyebrow */
.em-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.em-hero__eyebrow-line {
  flex: 1;
  max-width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--em-gold));
}

.em-hero__eyebrow-line:last-child {
  background: linear-gradient(90deg, var(--em-gold), transparent);
}

.em-hero__eyebrow-text {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--em-gold);
}

/* Title */
.em-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--em-white);
  margin-bottom: 24px;
}

.em-hero__title-line2 {
  display: block;
  background: linear-gradient(135deg, var(--em-gold), var(--em-gold2), var(--em-gold3), var(--em-gold));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}

/* Subtitle */
.em-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

/* Buttons */
.em-hero__buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.em-hero__btn-primary {
  position: relative;
}

.em-hero__btn-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50px;
  border: 2px solid rgba(245,158,11,0.35);
  animation: pulseRing 2.5s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* Trust Badges */
.em-hero__badges {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  width: fit-content;
}

.em-hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.em-hero__badge-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--em-gold);
  line-height: 1;
}

.em-hero__badge-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
}

.em-hero__badge-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

/* Scroll indicator */
.em-hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.em-hero__scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(180deg, var(--em-gold), transparent);
  animation: scBounce 2s ease-in-out infinite;
}

.em-hero__scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.3);
  writing-mode: horizontal-tb;
}
