/* ============================================================
   HERO.CSS — Hero section styles
   ============================================================ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}

/* ── VIDEO BACKGROUND ───────────────────────────────────────── */

.hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: brightness(0.7) saturate(0.6);
}

/* ── CANVAS PARTICLES ───────────────────────────────────────── */

#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ── OVERLAYS ───────────────────────────────────────────────── */

.hero__overlay-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  z-index: 2;
}

.hero__overlay-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(238,63,44,0.12) 0%, transparent 60%);
  z-index: 2;
}

.hero__overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--black), transparent);
  z-index: 3;
}

.hero__overlay-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), transparent);
  z-index: 3;
}

/* ── CONTENT ────────────────────────────────────────────────── */

.hero__content {
  position: relative;
  z-index: 10;
  padding: 0 7vw;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-top: 120px;
}

/* ── EYEBROW ────────────────────────────────────────────────── */

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s var(--ease) 0.2s both;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--red);
}

/* ── HEADLINE ───────────────────────────────────────────────── */

.hero__headline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 32px;
}

.hero__h1,
.hero__h2,
.hero__h3 {
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  opacity: 0;
  transform: translateY(30px);
}

.hero__h1 {
  color: var(--white);
  animation: heroFadeUp 0.7s var(--ease) 0.35s both;
}

.hero__h2 {
  color: var(--red);
  animation: heroFadeUp 0.7s var(--ease) 0.45s both;
  -webkit-text-stroke: 2px var(--red);
  color: transparent;
}

.hero__h3 {
  color: var(--white);
  font-size: clamp(1.2rem, 3vw, 3rem);
  letter-spacing: 0.4em;
  font-weight: 300;
  animation: heroFadeUp 0.7s var(--ease) 0.55s both;
  margin-top: 8px;
}

/* ── SUBTEXT ────────────────────────────────────────────────── */

.hero__subtext {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s var(--ease) 0.65s both;
}

/* ── CTA ROW ────────────────────────────────────────────────── */

.hero__cta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s var(--ease) 0.75s both;
}

/* ── STATS BAR ──────────────────────────────────────────────── */

.hero__stats {
  position: absolute;
  bottom: 60px;
  right: 7vw;
  z-index: 10;
  display: flex;
  gap: 40px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease) 1s both;
}

.hero__stat {
  text-align: right;
}

.hero__stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ── SCROLL INDICATOR ───────────────────────────────────────── */

.hero__scroll {
  position: absolute;
  bottom: 60px;
  left: 7vw;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease) 1.1s both;
}

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: var(--muted);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--red);
  animation: scrollScan 2s infinite;
}

@keyframes scrollScan {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ── HERO ANIMATION ─────────────────────────────────────────── */

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RED SIDE ACCENT ────────────────────────────────────────── */

.hero__red-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
  z-index: 10;
  opacity: 0;
  animation: heroFadeUp 1s var(--ease) 1.2s both;
}
