/* ======== HERO ======== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-dark);
}

/* Video Background */
.hero__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 12, 0.4);
}

/* Particle Canvas */
.hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-particles);
}

/* Animated Layers Background */
.hero__layers {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  z-index: var(--z-particles);
  pointer-events: none;
}

.layer {
  position: absolute;
  border-radius: var(--radius-2xl);
  opacity: 0.15;
  animation: layerFloat 20s ease-in-out infinite;
}

.layer--1 {
  top: 10%;
  left: 5%;
  width: 400px;
  height: 250px;
  background: linear-gradient(135deg, var(--red-accent) 0%, transparent 70%);
  animation-delay: 0s;
}

.layer--2 {
  top: 30%;
  right: 10%;
  width: 350px;
  height: 200px;
  background: linear-gradient(135deg, var(--red-accent) 0%, transparent 70%);
  animation-delay: -5s;
}

.layer--3 {
  bottom: 20%;
  left: 15%;
  width: 300px;
  height: 180px;
  background: linear-gradient(135deg, var(--red-accent) 0%, transparent 70%);
  animation-delay: -10s;
}

.layer--4 {
  bottom: 30%;
  right: 20%;
  width: 450px;
  height: 280px;
  background: linear-gradient(135deg, var(--red-light) 0%, transparent 70%);
  animation-delay: -15s;
}

@keyframes layerFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -30px) rotate(2deg);
  }
  50% {
    transform: translate(-10px, 20px) rotate(-1deg);
  }
  75% {
    transform: translate(30px, 10px) rotate(1deg);
  }
}

/* Grid overlay */
.hero__grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(var(--white-05) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-05) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: var(--z-particles);
  opacity: 0.5;
}

.hero__content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  max-width: 1000px;
  padding: var(--space-16) var(--space-6) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, rgba(254, 0, 0, 0.2) 0%, rgba(254, 0, 0, 0.2) 100%);
  border: 2px solid rgba(254, 0, 0, 0.5);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow-red);
}

.hero__badge-text {
  background: linear-gradient(135deg, var(--red-light) 0%, var(--red-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__badge-tm {
  font-size: 0.65em;
  vertical-align: top;
  margin-left: 1px;
  color: var(--white-40);
  -webkit-text-fill-color: var(--white-40);
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.hero__title .highlight {
  color: var(--white);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--white-75);
  max-width: 800px;
  margin: 0 auto var(--space-10);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
