/* ============================================
   Midnight Lace — Hero Section
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 0 !important;
}

.hero.active {
  display: flex;
}

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

.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.35) saturate(0.8);
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero.loaded .hero__bg-image {
  transform: scale(1);
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.6) 80%,
    rgba(10, 10, 10, 1) 100%
  );
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 50%,
    rgba(107, 29, 58, 0.2) 0%,
    transparent 60%
  );
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

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

.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 1s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-7xl);
  font-weight: 400;
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-in 1s var(--ease-out) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--color-accent-gold);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 520px;
  margin: 0 auto var(--space-10);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 1s var(--ease-out) 0.7s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-in 1s var(--ease-out) 0.9s forwards;
}

@keyframes hero-fade-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  animation: hero-fade-in 1s var(--ease-out) 1.2s forwards;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--color-accent-gold), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

.hero__features {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-border);
}

.hero__features-inner {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  padding: var(--space-5) var(--space-6);
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__feature svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-accent-gold);
  fill: none;
  stroke-width: 1.5;
}

@media (max-width: 768px) {
  .hero__title { font-size: var(--text-5xl); }
  .hero__subtitle { font-size: var(--text-base); }
  .hero__actions { flex-direction: column; }
  .hero__features-inner { flex-wrap: wrap; gap: var(--space-6); }
  .hero__scroll { display: none; }
}
