:root {
  --bg: #faf7f5;
  --text: #18181b;
  --muted: #6b6b73;
  --pink: #ff2e95;
  --pink-dark: #e21f80;
  --border: rgba(0, 0, 0, 0.1);
  --max: 1080px;
  --font-display: "Inter", "Noto Sans KR", sans-serif;
  --font-body: "Noto Sans KR", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(70% 55% at 50% 78%, rgba(255, 46, 149, 0.22), rgba(255, 46, 149, 0) 60%),
    radial-gradient(60% 50% at 80% 20%, rgba(255, 214, 153, 0.35), rgba(255, 214, 153, 0) 55%),
    linear-gradient(170deg, #faf7f5 0%, #fbeef4 48%, #efe7fb 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  backdrop-filter: blur(6px);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand__mark { font-size: 24px; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); transition: color 0.15s; }
.nav a:hover { color: var(--text); }
.nav__cta {
  color: #fff !important;
  background: var(--pink);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 46, 149, 0.35);
}
.nav__cta:hover { background: var(--pink-dark); }

/* HERO */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 28px 96px;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 22px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(52px, 11vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero__title .emoji { font-style: normal; }
.hero__sub { color: var(--muted); font-size: clamp(16px, 2.4vw, 20px); margin: 28px auto 0; max-width: 560px; }
.hero__actions { margin-top: 34px; }

/* BUTTON */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 17px;
  transition: transform 0.12s ease, background 0.15s, box-shadow 0.15s;
}
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 10px 28px rgba(255, 46, 149, 0.4); }
.btn--primary:hover { background: var(--pink-dark); transform: translateY(-2px); }

/* CARD CLUSTER */
.cluster-wrap { margin-top: 72px; }
.cluster {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding-top: 12px;
}
.appcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transform: rotate(var(--r, 0deg));
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.appcard:hover { transform: rotate(0deg) translateY(-10px) scale(1.03); z-index: 3; }
.appcard__icon {
  position: relative;
  width: 148px;
  height: 148px;
  border-radius: 30px;
  background: var(--grad, #eee);
  border: 4px solid #fff;
  box-shadow: 0 20px 44px rgba(20, 10, 30, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}
.appcard__emoji { font-size: 66px; line-height: 1; }
.appcard__label { font-weight: 700; font-size: 15px; color: var(--text); }
.appcard__en { font-size: 12px; color: var(--muted); margin-top: -10px; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.badge--live { background: var(--pink); color: #fff; }

.appcard--ghost .appcard__icon { border-style: dashed; border-color: rgba(0, 0, 0, 0.18); box-shadow: none; }
.appcard--ghost .appcard__emoji { color: rgba(0, 0, 0, 0.3); }

/* FOOTER */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
  color: var(--muted);
  font-size: 14px;
}
.site-footer__links { display: flex; gap: 18px; }
.site-footer__links a:hover { color: var(--pink); }

@media (max-width: 640px) {
  .nav a:not(.nav__cta) { display: none; }
  .appcard { transform: none !important; }
  .appcard__icon { width: 124px; height: 124px; border-radius: 26px; }
  .appcard__emoji { font-size: 54px; }
}

/* ===== 데스크톱 폰 목업 프리뷰 ===== */
.phone-overlay { position: fixed; inset: 0; z-index: 60; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.phone-overlay.open { opacity: 1; pointer-events: auto; }
.phone-backdrop { position: absolute; inset: 0; background: rgba(22, 12, 26, 0.55); backdrop-filter: blur(6px); }
.phone-close, .phone-fullscreen {
  position: absolute; top: 22px; z-index: 2;
  color: #fff; font-weight: 700; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px);
  transition: background 0.15s;
}
.phone-close { right: 26px; width: 46px; height: 46px; border-radius: 999px; font-size: 18px; }
.phone-fullscreen { left: 26px; font-size: 14px; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
.phone-close:hover, .phone-fullscreen:hover { background: rgba(255, 255, 255, 0.3); }
.phone {
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%) translateY(103%);
  transition: transform 0.55s cubic-bezier(0.2, 0.9, 0.2, 1);
}
.phone-overlay.open .phone { transform: translateX(-50%) translateY(0); }
.phone-device {
  width: 392px; max-width: 92vw; height: min(88vh, 840px);
  background: #0b0b0e; border-radius: 50px 50px 0 0; padding: 15px 15px 0;
  box-shadow: 0 -12px 70px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone-screen { width: 100%; height: 100%; border: 0; border-radius: 38px 38px 0 0; background: #fff; display: block; }
