:root {
  --pink: #f63299;
  --pink-soft: #fff1f8;
  --text: #171717;
  --sub: #4b4b4b;
  --line: #ececec;
  --bg: #ffffff;
  --shadow:
    0 1px 1px rgba(17, 17, 17, .04),
    0 4px 10px rgba(17, 17, 17, .05),
    0 14px 28px rgba(246, 50, 153, .10),
    0 28px 56px rgba(17, 17, 17, .06);
  --shadow-btn:
    0 2px 2px rgba(0, 0, 0, .06),
    0 8px 16px rgba(0, 0, 0, .08),
    0 16px 32px rgba(246, 50, 153, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 8px 24px rgba(0,0,0,.04);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  height: auto;
  padding: 10px 0;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark { width: 48px; height: 48px; flex-shrink: 0; display: block; object-fit: contain; }
.brand small { display: block; font-size: 11px; color: var(--sub); font-weight: 600; }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--pink); }
.nav-cta { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.menu-btn { display: none; background: none; border: 0; font-size: 22px; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-btn);
  transition: transform .25s ease, box-shadow .25s ease, filter .2s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.55) 50%, transparent 80%);
  transform: translateX(-140%);
  animation: shine 2.6s ease-in-out infinite;
  pointer-events: none;
}
.btn:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: var(--shadow); }
.btn-lg { height: 52px; padding: 0 22px; font-size: 16px; }
.btn-pink {
  color: #fff;
  background: linear-gradient(135deg, #ff8fd0 0%, #f63299 48%, #c2186a 100%);
}
.btn-naver {
  color: #fff;
  background: linear-gradient(135deg, #6aea98 0%, #03c75a 50%, #019c46 100%);
}
.btn-kakao {
  color: #191919;
  background: linear-gradient(135deg, #fff6b0 0%, #fee500 52%, #f0c400 100%);
}
.btn-line {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 10px 20px rgba(0,0,0,.06);
}
@keyframes shine {
  0%, 35% { transform: translateX(-140%); }
  65%, 100% { transform: translateX(140%); }
}

.hero {
  padding: 56px 0 28px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(246,50,153,.16), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  color: var(--pink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.hero h1 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.25;
  letter-spacing: -.04em;
}
.hero h1 b { color: var(--pink); font-weight: 800; }
.hero > p, .hero-copy p { margin: 0 0 22px; color: var(--sub); max-width: 460px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}
.quote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.quote strong { display: block; font-size: 15px; }
.quote span { color: var(--sub); font-size: 12px; }
.quote em {
  font-style: normal;
  color: var(--pink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.03em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.fold-device {
  width: min(390px, 100%);
  animation: drift 5.5s ease-in-out infinite;
}
.fold-shell {
  position: relative;
  background: linear-gradient(180deg, #2b3140 0%, #12151c 100%);
  border-radius: 28px;
  padding: 11px;
  box-shadow:
    0 1px 1px rgba(255,255,255,.18) inset,
    0 8px 16px rgba(0,0,0,.18),
    0 24px 50px rgba(18,18,18,.22),
    0 40px 80px rgba(246,50,153,.12);
}
.fold-hinge {
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 50%;
  width: 5px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: linear-gradient(90deg, #0c0e12, #3a4150, #0c0e12);
  z-index: 2;
  pointer-events: none;
}
.fold-screen {
  display: block;
  height: min(62vh, 560px);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.fold-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@keyframes emo {
  0%, 100% { transform: translateY(0) rotate(-8deg) scale(1); }
  50% { transform: translateY(-10px) rotate(8deg) scale(1.08); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.stats div { padding: 22px 0; text-align: center; }
.stats b { display: block; font-size: 24px; }
.stats span { color: var(--sub); font-size: 13px; }
.stats div + div { border-left: 1px solid var(--line); }

.section { padding: 72px 0; }
.section h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -.03em;
}
.lead { margin: 0 0 32px; color: var(--sub); }
.center { text-align: center; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.features article { padding: 0; }
.features h3 { margin: 0 0 8px; font-size: 17px; }
.features p { margin: 0; color: var(--sub); font-size: 14px; }
.ico {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; font-size: 24px;
  background: #fff; margin-bottom: 12px;
  box-shadow: var(--shadow);
  animation: emo 2.6s ease-in-out infinite;
}
.features article:nth-child(2) .ico { animation-delay: .2s; }
.features article:nth-child(3) .ico { animation-delay: .4s; }
.steps .ico { margin: 0 auto 10px; animation-duration: 2.8s; }

.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deal {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease;
}
.deal:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(246, 50, 153, .12);
}
.deal-img {
  height: 230px;
  display: grid;
  place-items: center;
  background: #fafafa;
  padding: 18px;
}
.deal-img img { height: 200px; width: auto; object-fit: contain; }
.deal-body { padding: 18px 18px 20px; }
.deal .tag { color: var(--pink); font-size: 12px; font-weight: 800; }
.deal h3 { margin: 6px 0 4px; font-size: 18px; }
.deal .meta { color: var(--sub); font-size: 13px; margin-bottom: 12px; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.price small { display: block; color: #9a9a9a; font-size: 12px; font-weight: 600; text-decoration: line-through; margin-bottom: 4px; }
.deal-btns { display: grid; gap: 8px; margin-top: 14px; }
.deal-btns .btn { width: 100%; margin-top: 0; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps article {
  padding: 8px 8px 0 0;
  border: 0;
}
.steps b { color: var(--pink); font-size: 13px; }
.steps h3 { margin: 6px 0; font-size: 16px; }
.steps p { margin: 0; color: var(--sub); font-size: 14px; }

.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.post-item h3 { margin: 0 0 4px; font-size: 16px; }
.post-item p { margin: 0; color: var(--sub); font-size: 13px; }
.tag { color: var(--pink); font-size: 12px; font-weight: 800; }
.date { color: #9a9a9a; font-size: 12px; }

.cta {
  padding: 56px 0 72px;
  text-align: center;
}
.cta h2 { margin-bottom: 8px; }
.cta-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 22px 0 0; }

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 28px;
  color: var(--sub);
  font-size: 13px;
}
.footer .brand { margin-bottom: 12px; color: var(--text); }
.legal { display: grid; gap: 3px; margin-bottom: 16px; }

.article { max-width: 720px; margin: 48px auto 80px; }
.article h1 { font-size: 30px; letter-spacing: -.03em; line-height: 1.35; }
.article .body { white-space: pre-wrap; }

.admin { max-width: 800px; margin: 40px auto 80px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; font-weight: 700; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
}
textarea { min-height: 200px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 12px 6px; text-align: left; }
.linkish { color: var(--pink); background: none; border: 0; padding: 0; font-weight: 700; cursor: pointer; }

.drawer-bg, .drawer { display: none; }
body.menu-open { overflow: hidden; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.in {
  animation: rise .8s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--delay, 0s);
}
.hero-copy .reveal:nth-child(1) { --delay: .05s; }
.hero-copy .reveal:nth-child(2) { --delay: .12s; }
.hero-copy .reveal:nth-child(3) { --delay: .2s; }
.hero-copy .reveal:nth-child(4) { --delay: .28s; }
.hero-copy .reveal:nth-child(5) { --delay: .36s; }
.hero-visual.reveal { --delay: .18s; }
@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-12px) rotate(0.6deg); }
}
.drift {
  animation: drift 5.5s ease-in-out infinite;
  will-change: transform;
}
.drift.d2 { animation-duration: 6.2s; animation-delay: .35s; }
.drift.d3 { animation-duration: 6.8s; animation-delay: .7s; }

.quote {
  backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .btn::after, .drift, .fold-device, .ico { animation: none; }
}

@media (max-width: 860px) {
  body { font-size: 17px; line-height: 1.8; }
  .wrap { width: min(1080px, calc(100% - 28px)); }
  .nav {
    position: relative;
    justify-content: space-between;
    height: 64px;
    padding: 0;
  }
  .nav-links, .nav-cta { display: none; }
  .menu-btn {
    display: grid;
    place-items: center;
    position: relative;
    width: 44px;
    height: 44px;
    z-index: 2;
  }
  .brand { gap: 8px; }
  .logo-mark { width: 44px; height: 44px; object-fit: contain; }
  .brand small { font-size: 12px; }

  .drawer-bg {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 16, .45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 70;
  }
  .drawer-bg.open { opacity: 1; pointer-events: auto; }
  .drawer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100%;
    margin: 0;
    padding: 22px 20px 28px;
    background: #fff;
    z-index: 80;
    transform: translateX(100%);
    transition: transform .34s cubic-bezier(.22,1,.36,1);
    box-shadow: -12px 0 40px rgba(0,0,0,.16);
    text-align: left;
  }
  .drawer.open { transform: translateX(0); }
  .drawer-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }
  .drawer-head b { display: block; }
  .drawer-head small { color: var(--sub); }
  .drawer-head .logo-mark { width: 40px; height: 40px; }
  .drawer-close {
    margin-left: auto;
    border: 0;
    background: #f4f4f4;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 22px;
  }
  .drawer a { padding: 12px 4px; font-weight: 800; }
  .drawer .btn { width: 100%; margin-top: 6px; }

  .hero, .hero-copy, .section, .cta, .footer, .deal-body,
  .features article, .steps article, .post-item, .article {
    text-align: center;
  }
  .hero { padding: 28px 0 12px; }
  .hero-grid, .features, .deals, .steps, .stats { grid-template-columns: 1fr; }
  .hero-grid { gap: 22px; }
  .hero h1 {
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: -.02em;
    margin: 8px 0 16px;
  }
  .hero-copy p {
    max-width: none;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 18px;
  }
  .kicker { font-size: 13px; }
  .hero-actions { justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .fold-device { width: min(340px, 100%); }
  .fold-screen { height: min(58vh, 480px); }
  .stats { margin-top: 24px; }
  .stats div { padding: 16px 8px; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats b { font-size: 22px; }
  .stats span { font-size: 13px; }

  .section { padding: 48px 0; }
  .section h2, .cta h2, .article h1 {
    font-size: 24px;
    line-height: 1.45;
  }
  .lead {
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 24px;
  }
  .ico { margin-left: auto; margin-right: auto; }
  .features { gap: 28px; }
  .features h3, .steps h3, .deal h3 { font-size: 18px; }
  .features p, .steps p, .deal .meta { font-size: 16px; line-height: 1.75; }
  .deal-img { height: 210px; }
  .price { font-size: 24px; }
  .steps article { padding: 0; }
  .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .post-item {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px 4px;
    gap: 8px;
  }
  .post-item h3 { font-size: 17px; line-height: 1.5; }
  .post-item p { font-size: 15px; line-height: 1.7; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn, .deal .btn {
    width: 100%;
    height: 50px;
    font-size: 16px;
  }
  .footer { text-align: center; font-size: 14px; line-height: 1.7; }
  .footer .brand { justify-content: center; }
  .article { margin: 32px auto 64px; }
  .article .body {
    text-align: left;
    font-size: 17px;
    line-height: 1.9;
  }
}
