/* ============================================================
   MOMORIMO — One-Page Stylesheet (v4.1)
   Warm Light Theme + Gold Accent
   Hero 2-column + origin image sections
   ============================================================ */

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700&family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box }
img { max-width: 100%; display: block }
a { text-decoration: none; color: inherit }
button { font: inherit; cursor: pointer; border: none; background: none }

/* ===== CSS VARIABLES ===== */
:root {
  --ff: 'Outfit', sans-serif;
  --ff-kr: 'Noto Sans KR', sans-serif;

  --bg: #FAFAF7;
  --bg2: #F3F0EB;
  --bg3: #EBE6DF;
  --bg-warm: #F5F0E8;
  --bg-dark: #1A1615;

  --gold: #B8962E;
  --gold-l: #D4B85A;
  --gold-dim: rgba(184, 150, 46, 0.08);

  --t1: #1A1A1A;
  --t2: #555555;
  --t3: #999999;
  --t-light: #F5F5F5;

  --border: rgba(0, 0, 0, 0.08);
  --border2: rgba(0, 0, 0, 0.12);
}

html { scroll-behavior: smooth }

body {
  font-family: var(--ff-kr);
  color: var(--t1);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.7
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

/* ===== SCROLL PROGRESS ===== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  z-index: 1100;
  transition: width .08s linear
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px
}

.preloader-logo {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: .3em;
  color: var(--gold);
  opacity: 0
}

.preloader-line {
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 1.2s ease
}

.preloader-line.animate { width: 120px }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .4s ease
}

.header.scrolled {
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 40px;
  box-shadow: 0 1px 0 var(--border)
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .25em;
  color: var(--gold)
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px
}

.header-nav a {
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--t3);
  text-transform: uppercase;
  transition: color .3s
}

.header-nav a:hover { color: var(--gold) }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  transition: all .3s
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px) }
.hamburger.active span:nth-child(2) { opacity: 0 }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px) }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s
}

.mobile-menu.open { opacity: 1; pointer-events: all }

.mobile-menu a {
  font-family: var(--ff);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--t1);
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: color .3s
}

.mobile-menu a:hover { color: var(--gold) }

/* ===== COMMON SECTION STYLES ===== */
.sec-label {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px
}

.sec-title {
  font-family: var(--ff-kr);
  font-weight: 600;
  font-size: 30px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--t1);
  line-height: 1.5
}

.sec-title em {
  font-style: normal;
  color: var(--gold);
  font-weight: 600
}

/* ===== SEC 1: HERO (2단 레이아웃) ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  padding: 80px 40px 40px
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto auto;
  gap: 16px 48px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  z-index: 1
}

.hero-top {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.hero-bottom {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.hero-right {
  grid-column: 2;
  grid-row: 1 / 3;
  max-width: 320px;
  opacity: 0;
  transform: translateY(60px)
}

.hero-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent
}

.hero-logo {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 8px;
  opacity: 0;
  transform: scale(.95)
}

.hero-sub {
  font-family: var(--ff);
  font-weight: 300;
  font-size: 14px;
  letter-spacing: .35em;
  color: var(--t3);
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0
}

.hero-divider {
  width: 0;
  height: 1px;
  background: var(--gold);
  margin-bottom: 28px
}

.hero-kr,
.hero-kr2 {
  font-family: var(--ff-kr);
  font-weight: 600;
  font-size: 24px;
  color: var(--t1);
  overflow: hidden
}

.hero-kr { margin-bottom: 4px }

.hero-kr2 {
  font-weight: 400;
  font-size: 20px;
  color: var(--t2);
  margin-bottom: 32px
}

.hero-kr span,
.hero-kr2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px)
}

.hero-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  opacity: 0
}

.stat-badge {
  text-align: center;
  padding: 20px 32px;
  background: linear-gradient(135deg, rgba(184, 150, 46, 0.08), rgba(184, 150, 46, 0.03));
  border: 2px solid rgba(184, 150, 46, 0.25);
  border-radius: 16px
}

.stat-num {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 52px;
  background: linear-gradient(180deg, var(--gold), var(--gold-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.stat-unit {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 24px;
  color: var(--gold)
}

.stat-label {
  display: block;
  font-family: var(--ff-kr);
  font-size: 15px;
  font-weight: 600;
  color: var(--t1);
  margin-top: 6px
}

/* 인증 씰 뱃지 */
.hero-seals {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  opacity: 0
}

.seal-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 14px 24px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  background: rgba(184, 150, 46, 0.05);
  font-family: var(--ff-kr);
  font-size: 14px;
  color: var(--t2);
  text-align: center
}

.seal-stars {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 3px
}

.seal-label {
  font-size: 13px;
  color: var(--t1);
  font-weight: 500
}

.seal-badge strong {
  font-size: 16px;
  color: var(--t1);
  font-weight: 700
}

.hero-usps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  opacity: 0
}

.usp-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .6);
  font-family: var(--ff-kr);
  font-size: 15px;
  font-weight: 600;
  color: var(--t1);
  transition: border-color .3s, background .3s
}

.usp-card:hover { border-color: var(--gold); background: rgba(184, 150, 46, 0.04) }
.usp-card .usp-icon { font-size: 22px; flex-shrink: 0; line-height: 1 }

.scroll-down {
  position: absolute;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0
}

.scroll-down span {
  font-family: var(--ff);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--t3);
  text-transform: uppercase
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(6px) }
}

.scroll-arrow {
  width: 12px;
  height: 12px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite
}

/* ===== DETAIL IMAGE SECTIONS (origin 이미지) ===== */
.detail-img-sec {
  width: 100%;
  display: flex;
  justify-content: center;
  background: var(--bg)
}

.detail-img {
  width: 100%;
  max-width: 830px;
  height: auto;
  background: linear-gradient(135deg, var(--bg3), var(--bg2))
}

/* ===== OUR STORY (모모세포) ===== */
.story-sec {
  padding: 100px 40px;
  background: var(--bg)
}

.story-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center
}

.story-title {
  font-family: var(--ff-kr);
  font-weight: 300;
  font-size: 28px;
  color: var(--t1);
  margin-bottom: 40px;
  line-height: 1.6
}

.story-title em {
  font-style: normal;
  color: var(--gold);
  font-weight: 500
}

.story-body {
  font-family: var(--ff-kr);
  font-weight: 400;
  font-size: 16px;
  color: var(--t2);
  line-height: 2;
  margin-bottom: 48px
}

.story-body strong { color: var(--t1); font-weight: 500 }
.story-body p { margin-bottom: 12px }

.naming-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px
}

.naming-card {
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 8px 8px;
  text-align: center;
  background: rgba(255, 255, 255, .5);
  opacity: 0;
  transform: translateY(40px)
}

.naming-word {
  font-family: var(--ff);
  font-weight: 700;
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 8px
}

.naming-origin {
  font-family: var(--ff);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--t3);
  margin-bottom: 16px;
  text-transform: uppercase
}

.naming-desc {
  font-family: var(--ff-kr);
  font-weight: 400;
  font-size: 14px;
  color: var(--t2);
  line-height: 1.7
}

.story-motto {
  font-family: var(--ff-kr);
  font-weight: 500;
  font-size: 20px;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  opacity: 0
}

.story-motto-sub {
  font-family: var(--ff-kr);
  font-weight: 300;
  font-size: 15px;
  color: var(--t3);
  opacity: 0
}

/* ===== BY THE NUMBERS ===== */
.numbers-sec {
  padding: 100px 40px;
  background: var(--bg2)
}

.numbers-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px
}

.number-item {
  text-align: center;
  opacity: 0;
  transform: translateY(40px)
}

.number-value {
  font-family: var(--ff);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--gold), var(--gold-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.number-unit { font-weight: 300; font-size: 20px }

.number-meaning {
  font-family: var(--ff-kr);
  font-weight: 500;
  font-size: 15px;
  color: var(--t1);
  margin-bottom: 4px
}

.number-en {
  font-family: var(--ff);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--t3)
}

/* ===== PURCHASE CTA ===== */
.purchase-sec {
  padding: 100px 40px;
  background: var(--bg);
  text-align: center
}

.purchase-inner {
  max-width: 600px;
  margin: 0 auto
}

.purchase-bottle {
  max-width: 220px;
  margin: 0 auto 32px;
  opacity: 0;
  transform: scale(.9)
}

.purchase-bottle img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent
}

.purchase-headline {
  font-family: var(--ff);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase
}

.purchase-sub {
  font-family: var(--ff-kr);
  font-weight: 400;
  font-size: 16px;
  color: var(--t2);
  margin-bottom: 32px;
  line-height: 1.6
}

.purchase-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto
}

.purchase-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  border: 1px solid var(--border2);
  border-radius: 8px;
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--t1);
  transition: all .4s ease;
  background: rgba(255, 255, 255, .7)
}

.purchase-btn:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold)
}

.purchase-btn .btn-icon { font-size: 18px; font-weight: 700 }
.purchase-btn.btn-naver .btn-icon { color: #03C75A }
.purchase-btn.btn-google .btn-icon { color: #4285F4 }

/* ===== STICKY CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 20px;
  background: var(--bg-dark);
  text-align: center;
  transform: translateY(100%);
  transition: transform .4s ease
}

.sticky-cta.visible { transform: translateY(0) }

.sticky-cta a {
  display: inline-block;
  font-family: var(--ff-kr);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-l);
  letter-spacing: .05em;
  padding: 8px 40px;
  transition: color .3s
}

.sticky-cta a:hover { color: #fff }

/* ===== FOOTER ===== */
.product-info {
  padding: 80px 40px;
  background: var(--bg2);
  border-top: 1px solid var(--border)
}

.product-info-inner {
  max-width: 860px;
  margin: 0 auto
}

.product-info-title {
  font-family: var(--ff-kr);
  font-weight: 700;
  font-size: 20px;
  color: var(--t1);
  padding: 10px 20px;
  border: 2px solid var(--t1);
  display: inline-block;
  margin-bottom: 32px
}

.product-info-grid {
  display: flex;
  flex-direction: column;
  gap: 24px
}

.product-info-row {
  display: flex;
  gap: 20px
}

.product-info-row span {
  flex-shrink: 0;
  width: 140px;
  font-family: var(--ff-kr);
  font-weight: 700;
  font-size: 16px;
  color: var(--t1)
}

.product-info-row p {
  font-family: var(--ff-kr);
  font-weight: 400;
  font-size: 16px;
  color: var(--t1);
  line-height: 1.8
}

.product-info-row p small {
  color: var(--t2);
  font-size: 14px;
  font-weight: 400
}

.product-info-row.full-width {
  flex-direction: column;
  gap: 10px
}

.product-info-row.full-width span {
  width: auto
}

.footer-main {
  padding: 60px 40px 32px;
  background: var(--bg-dark);
  color: var(--t-light)
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px
}

.footer-col h4 {
  font-family: var(--ff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(245, 245, 245, .5);
  margin-bottom: 16px;
  text-transform: uppercase
}

.footer-col p,
.footer-col a {
  font-family: var(--ff-kr);
  font-size: 15px;
  color: rgba(245, 245, 245, .7);
  line-height: 2;
  display: block
}

.footer-col a:hover { color: var(--gold-l) }

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center
}

.footer-copy {
  font-family: var(--ff);
  font-size: 13px;
  letter-spacing: .05em;
  color: rgba(245, 245, 245, .45)
}

/* ===== RESPONSIVE: 768px ===== */
@media (max-width: 768px) {
  .header { padding: 16px 20px }
  .header.scrolled { padding: 12px 20px }
  .header-nav { display: none }
  .hamburger { display: flex }

  .hero { padding: 100px 20px 60px }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px
  }

  .hero-top { order: 0; text-align: center; align-items: center }
  .hero-right { order: 1; max-width: 240px }
  .hero-bottom { order: 2; text-align: center; align-items: center }

  .hero-logo { font-size: 34px; letter-spacing: .2em }
  .hero-sub { font-size: 12px; letter-spacing: .2em }
  .hero-kr { font-size: 18px }
  .hero-kr2 { font-size: 16px; margin-bottom: 0 }
  .hero-stats { gap: 28px }
  .stat-num { font-size: 36px }
  .hero-seals { flex-direction: column; gap: 10px }
  .hero-usps { grid-template-columns: 1fr; gap: 10px }
  .usp-card { font-size: 14px; padding: 14px 20px }
  .stat-badge { padding: 16px 24px }
  .stat-num { font-size: 42px }

  .detail-img { max-width: 100% }

  .story-sec,
  .numbers-sec,
  .purchase-sec { padding: 80px 20px }

  .sec-title { font-size: 24px }

  .naming-cards { grid-template-columns: 1fr; gap: 16px }
  .story-title { font-size: 22px }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px }

  .product-info { padding: 40px 20px }
  .product-info-row { flex-direction: column; gap: 4px }
  .product-info-row span { width: auto }

  .footer-main { padding: 48px 20px 24px }
  .footer-inner { grid-template-columns: 1fr; gap: 24px }
  .footer-bottom { text-align: center }
}

/* ===== RESPONSIVE: 480px ===== */
@media (max-width: 480px) {
  .hero-logo { font-size: 28px }
  .hero-right { max-width: 200px }
  .stat-num { font-size: 32px }
  .sec-title { font-size: 20px }
  .numbers-grid { gap: 16px }
  .purchase-headline { font-size: 22px }
}
