/* ============================================================
   Hero section — full-bleed video, gradient overlay, centered
   headline stack with floating reveal animation.
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: calc(100vh - var(--header-h));
  height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
}

/* video media */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlays */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 70% 20%, rgba(7, 11, 16, 0.7) 0%, rgba(10, 17, 24, 0.82) 45%, var(--night-900) 75%);
}

/* grid pattern for depth */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.2) 1px, transparent 1px);
  background-size: 48px 48px, 64px 64px;
  opacity: 0.45;
  pointer-events: none;
}

/* glow accent */
.hero-glow {
  position: absolute;
  top: -200px;
  right: -220px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(124,197,33,0.25) 0%, transparent 65%);
  filter: blur(100px);
  opacity: 0.7;
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(1) rotate(0deg); opacity: 0.7; }
  50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
  100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
}

.hero-edge {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 36vh;
  background: linear-gradient(to top, var(--night-900) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(124, 197, 33, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(124, 197, 33, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: var(--green-bright);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  box-shadow: 0 0 0 1px rgba(124,197,33,0.1), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 4rem);
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 24px;
}

.hero-emp {
  position: relative;
}
.hero-emp::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-bright) 0%, var(--green) 100%);
  border-radius: 3px;
}

.hero-grad {
  background: linear-gradient(100deg, var(--green-soft) 0%, var(--green-bright) 55%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-sub strong {
  color: var(--text-light);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-slate);
}
.hero-trust .ic { color: var(--green-bright); }

.hero-scroll {
  position: absolute;
  bottom: 38px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.65;
  display: none;
}
.hero-scroll .scroll-label {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-mouse {
  width: 28px;
  height: 44px;
  border: 1px solid var(--text-faint);
  border-radius: 16px;
  position: relative;
}
.scroll-mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--green-bright);
  border-radius: 50%;
  animation: scrollDown 2.2s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: 6px; opacity: 1; }
  100% { top: 28px; opacity: 0; }
}

@media (max-width: 768px) {
  .hero {
    min-height: 90vh;
    height: auto;
    min-height: 80vh;
    padding-top: var(--header-h);
    padding-bottom: calc(var(--header-h) + 40px);
  }
  .hero-inner { max-width: 95%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
}

@media (min-width: 769px) {
  .hero-scroll { display: flex; }
}
