/**
 * MONOBUILD Hero 섹션 — 이머시브 다크 테마
 * 수정일: 2026-06-02 10:33 (KST)
 * 용도: 풀스크린 비디오 배경 + Blob 메시 + 키네틱 타이포
 */

/* ══════════════════════════════════════════
   Hero 컨테이너 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ══════════════════════════════════════════
   Hero 배경 비디오 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.hero__video {
  position: absolute;
  inset: 0;
  z-index: var(--z-blob);
  overflow: hidden;
}

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

/* 비디오 그라디언트 오버레이 — 수정일: 2026-06-02 10:33 (KST) */
.hero__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.6) 0%,
    rgba(10,10,10,0.3) 50%,
    rgba(10,10,10,0.8) 100%
  );
}

/* ══════════════════════════════════════════
   Blob 메시 그라디언트 배경 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: var(--z-blob);
}

.hero__mesh .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: blobFloat 20s ease-in-out infinite;
}

.blob--1 {
  width: 600px; height: 600px;
  top: -15%; left: -10%;
  background: var(--blob-blue);
  animation-delay: 0s;
}

.blob--2 {
  width: 500px; height: 500px;
  bottom: -20%; right: -10%;
  background: var(--blob-green);
  animation-delay: -7s;
}

.blob--3 {
  width: 400px; height: 400px;
  top: 30%; right: 20%;
  background: var(--blob-violet);
  animation-delay: -14s;
}

/* ══════════════════════════════════════════
   Hero 콘텐츠 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.hero__content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  padding: 0 var(--space-lg);
}

/* Eyebrow 프리텍스트 — 수정일: 2026-06-02 10:33 (KST) */
.hero__pre {
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--space-xl);
  overflow: hidden;
}

.hero__pre span {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: charReveal 0.6s forwards;
}

/* ══════════════════════════════════════════
   거대 타이포그래피 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--foreground);
  margin-bottom: var(--space-lg);
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 12px;
  margin-bottom: -12px;
}

.hero__title .line span {
  display: inline-block;
  opacity: 0;
  transform: translateY(105%);
  animation: lineReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title .line:nth-child(2) span {
  animation-delay: 0.15s;
}

/* 아웃라인 액센트 텍스트 — 수정일: 2026-06-02 10:33 (KST) */
.hero__title .accent {
  -webkit-text-stroke: 2px rgba(59,130,246,0.6);
  -webkit-text-fill-color: transparent;
  transition: all 0.4s;
}

.hero__title .accent:hover {
  -webkit-text-fill-color: var(--primary);
  text-shadow: 0 0 60px rgba(59,130,246,0.4);
}

/* Hero 서브텍스트 — 수정일: 2026-06-02 10:33 (KST) */
.hero__sub {
  font-size: clamp(14px, 1.5vw, 17px);
  font-weight: var(--fw-light);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 480px;
  margin: 0 auto var(--space-2xl);
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

/* CTA 버튼 영역 — 수정일: 2026-06-02 10:33 (KST) */
.hero__cta-row {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

/* ══════════════════════════════════════════
   스크롤 유도 라인 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.hero__scroll-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15));
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

/* ══════════════════════════════════════════
   반응형 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero__title .accent:hover {
    -webkit-text-fill-color: transparent;
    text-shadow: none;
  }
}
