/**
 * MONOBUILD 글로벌 스타일 — 이머시브 다크 테마
 * 수정일: 2026-06-02 10:33 (KST)
 * 용도: 리셋, 전역 타이포, 레이아웃, Reveal 애니메이션
 */

/* ══════════════════════════════════════════
   리셋 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--background);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: var(--lh-normal);
  /* 커스텀 커서 활성화 (PC) — 수정일: 2026-06-02 10:33 (KST) */
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: none;
  transition: color var(--transition-base);
}

ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

button {
  font-family: inherit;
  cursor: none;
  border: none;
  background: none;
}

/* ══════════════════════════════════════════
   타이포그래피 유틸리티 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */

/* 섹션 Eyebrow 라벨 (// Our Business 스타일) — 수정일: 2026-06-02 10:33 (KST) */
.eyebrow {
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* 섹션 타이틀 — 수정일: 2026-06-02 10:33 (KST) */
.section-title {
  font-size: var(--text-section);
  font-weight: var(--fw-black);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--foreground);
}

.section-title .thin {
  font-weight: var(--fw-thin);
  color: var(--text-secondary);
}

/* 섹션 설명 — 수정일: 2026-06-02 10:33 (KST) */
.section-desc {
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  color: var(--text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 480px;
}

/* ══════════════════════════════════════════
   레이아웃 유틸리티 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-section) var(--container-padding);
}

/* ══════════════════════════════════════════
   전역 키프레임 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */

/* 글자 하나씩 올라오기 — 수정일: 2026-06-02 10:33 (KST) */
@keyframes charReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

/* 라인 단위 올라오기 — 수정일: 2026-06-02 10:33 (KST) */
@keyframes lineReveal {
  from { opacity: 0; transform: translateY(105%); }
  to { opacity: 1; transform: translateY(0); }
}

/* 위로 페이드인 — 수정일: 2026-06-02 10:33 (KST) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 단순 페이드인 — 수정일: 2026-06-02 10:33 (KST) */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Blob 부유 — 수정일: 2026-06-02 10:33 (KST) */
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* 마르키 무한 스크롤 — 수정일: 2026-06-02 10:33 (KST) */
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 블링크 (뱃지 점멸) — 수정일: 2026-06-02 10:33 (KST) */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ══════════════════════════════════════════
   스크롤 Reveal — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-reveal),
              transform var(--transition-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   구분선 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
.divider {
  border: none;
  border-top: 1px solid var(--border-color);
}

/* ══════════════════════════════════════════
   반응형 유틸리티 — 수정일: 2026-06-02 10:33 (KST)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* 모바일에서 커스텀 커서 비활성화 — 수정일: 2026-06-02 10:33 (KST) */
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* 모션 감소 환경 — 수정일: 2026-06-02 10:33 (KST) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* Floating Menu CSS (added 2026-06-02) */
#floating-menu-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 50; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; pointer-events: none; }
#floating-menu-container > a, #floating-menu-container > div { pointer-events: auto; }
.float-btn { display: flex; align-items: center; justify-content: flex-start; height: 56px; border-radius: 9999px; background-color: #222; color: #fff; text-decoration: none; overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 4px 15px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); width: 56px; }
.float-btn:hover { background-color: #c5a059; border-color: #d4af37; box-shadow: 0 10px 25px rgba(197,160,89,0.4); transform: translateY(-3px); }
.float-icon-wrapper { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-label { white-space: nowrap; font-weight: 700; font-size: 0.95rem; opacity: 0; transform: translateX(10px); transition: all 0.3s ease; padding-right: 20px; }
.float-btn:hover .float-label { opacity: 1; transform: translateX(0); }
