/* ============================================
   MooWoo Landing — Design Tokens & Global
   ============================================ */
:root {
  /* 배경 */
  --bg-primary: #FBF9F1;
  --bg-secondary: #F5F4EC;
  --surface: #FFFFFF;
  /* 브랜드 */
  --deep-teal: #006565;
  --accent-teal: #007B78;
  --soft-mint: #BBE8E4;
  --leaf-green: #38B44A;
  --lemon-mint: #E8F5D4;
  /* 텍스트 */
  --text-primary: #141511;
  --text-secondary: #5C605A;
  --text-tertiary: #8A8E88;
  /* 라인 */
  --border-hairline: rgba(0, 101, 101, 0.12);
  --border-strong: rgba(0, 101, 101, 0.22);
  /* 라운드 */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-card: 24px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  /* 그림자 */
  --shadow-card: 0 8px 32px rgba(0, 101, 101, 0.08);
  --shadow-lift: 0 20px 60px rgba(0, 101, 101, 0.14);
  --shadow-phone: 0 30px 80px rgba(0, 101, 101, 0.18), 0 8px 24px rgba(0,0,0,0.08);
  /* 컨테이너 */
  --max-width: 1280px;
  --content-pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: 'Pretendard Variable', 'Pretendard', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }

/* ============================================
   전역 배경 — 크림 + 은은한 오로라
   ============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 800px at 15% 8%, rgba(187, 232, 228, 0.35), transparent 55%),
    radial-gradient(ellipse 900px 700px at 90% 30%, rgba(0, 123, 120, 0.08), transparent 60%),
    radial-gradient(ellipse 1000px 900px at 50% 100%, rgba(232, 245, 212, 0.30), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.045'/></svg>");
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}
#root { position: relative; z-index: 1; }

/* ============================================
   공통 유틸리티
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--content-pad);
}
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 101, 101, 0.08);
  color: var(--deep-teal);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(28px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: pretty;
  margin-bottom: 20px;
}
.section-body {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ============================================
   버튼
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s ease;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary {
  background: var(--deep-teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 101, 101, 0.24);
}
.btn-primary:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 101, 101, 0.32);
}
.btn-primary .arrow { transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--deep-teal);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: #fff;
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 18px 32px;
  font-size: 16px;
  min-height: 56px;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

/* 아웃라인 버튼 — 크림색 배경 그대로, 딥틸 테두리+글자 */
.btn-outline {
  background: transparent;
  color: var(--deep-teal);
  border: 1.5px solid var(--deep-teal);
  font-weight: 700;
}
.btn-outline:hover {
  background: rgba(0, 101, 101, 0.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 101, 101, 0.14);
}
.btn-outline .arrow {
  color: var(--deep-teal);
  transition: transform 0.25s ease;
}
.btn-outline:hover .arrow { transform: translateX(4px); }

/* ============================================
   진입 애니메이션
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   반응형 — 모바일 미세 조정
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .btn-lg { padding: 16px 24px; font-size: 15px; }
}
