@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #f5f1eb;
  --ink: #281832;
  --muted: #6e6073;
  --line: rgba(55, 32, 65, .14);
  --purple: #7e22ce;
  --magenta: #db2777;
  --coral: #fb7185;
  --yellow: #facc15;
  --white: #fffdfb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(126, 34, 206, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 34, 206, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 44px 44px;
  font-family: "Noto Sans KR", Inter, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  top: -20rem;
  right: -15rem;
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 114, 182, .2), rgba(192, 132, 252, .08) 48%, transparent 70%);
  pointer-events: none;
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px 4px 12px 4px;
  color: #fff;
  background: var(--ink);
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  transform: rotate(-4deg);
}

.brand strong, .brand small { display: block; }
.brand strong { font-family: Inter, sans-serif; font-size: .92rem; letter-spacing: .16em; }
.brand small { margin-top: .12rem; color: var(--muted); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }

.header-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}

.header-note i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, .12);
}

main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.intro {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 5rem;
  padding: 4.5rem 0 5.5rem;
}

.intro-copy { animation: rise .7s ease-out both; }

.eyebrow, .section-kicker {
  margin-bottom: 1.1rem;
  color: var(--magenta);
  font-family: Inter, sans-serif;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .2em;
}

h1 {
  max-width: 650px;
  font-size: clamp(3.25rem, 7vw, 6.25rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.055em;
}

h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--purple), var(--magenta), var(--coral));
  background-clip: text;
  -webkit-background-clip: text;
  font-style: normal;
}

.lead {
  max-width: 540px;
  margin-top: 1.65rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.feature-list { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }

.feature-list span {
  padding: .58rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .74rem;
  font-weight: 700;
}

.visual {
  position: relative;
  min-height: 360px;
  animation: fade-in .9s .15s ease-out both;
}

.shape { position: absolute; display: block; }
.shape-one { inset: 8% 3% 5% 8%; border-radius: 42% 58% 62% 38% / 47% 42% 58% 53%; background: var(--purple); transform: rotate(-5deg); }
.shape-two { width: 42%; height: 42%; top: -1%; right: -3%; border-radius: 50%; background: var(--yellow); mix-blend-mode: multiply; }
.shape-three { width: 31%; height: 31%; bottom: -4%; left: -2%; border-radius: 18px; background: var(--coral); transform: rotate(18deg); mix-blend-mode: multiply; }

.visual-card {
  position: absolute;
  display: grid;
  place-items: center;
  width: 154px;
  height: 154px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 32px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 30px 70px rgba(56, 22, 72, .2);
  backdrop-filter: blur(12px);
}

.visual-card img { width: 105px; height: 105px; object-fit: contain; }
.card-back { top: 28px; right: 22%; transform: rotate(8deg); animation: float-two 5s ease-in-out infinite; }
.card-front { left: 17%; bottom: 24px; transform: rotate(-8deg); animation: float-one 4.5s ease-in-out infinite; }
.card-middle { z-index: 2; top: 38%; left: 43%; width: 125px; height: 125px; transform: rotate(4deg); animation: float-two 5.5s .4s ease-in-out infinite; }
.card-middle img { width: 82px; height: 82px; image-rendering: auto; }

.visual-label {
  position: absolute;
  right: 2%;
  bottom: 7%;
  padding: .72rem 1rem;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
  font-family: Inter, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  transform: rotate(-3deg);
}

.catalog {
  margin-bottom: 5rem;
  padding: 3.2rem;
  border-radius: 34px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 32px 80px rgba(45, 23, 53, .18);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}

.section-heading h2 { font-size: clamp(1.8rem, 4vw, 2.65rem); letter-spacing: -.035em; }
.section-heading p:last-child { color: rgba(255, 255, 255, .58); font-size: .85rem; }

.app-grid { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }

.app-card {
  position: relative;
  min-width: 0;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.7rem;
  border-radius: 25px;
  color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}

.app-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -90px;
  right: -75px;
  border-radius: 50%;
  opacity: .36;
}

.gif-card { background: #f7e8ff; }
.gif-card::before { background: #d8b4fe; }
.video-card { background: #ffe8ef; }
.video-card::before { background: #fda4af; }
.macro-card { background: #fff4d7; }
.macro-card::before { background: #fde68a; }
.app-card:hover { transform: translateY(-8px); box-shadow: 0 24px 55px rgba(0, 0, 0, .2); }

.app-topline { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; }
.number { font-family: Inter, sans-serif; font-size: .86rem; font-weight: 800; }
.platform { padding: .4rem .65rem; border: 1px solid rgba(40, 24, 50, .16); border-radius: 999px; font-family: Inter, sans-serif; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }

.app-icon {
  position: relative;
  z-index: 1;
  width: 102px;
  height: 102px;
  display: grid;
  place-items: center;
  margin-top: 1.5rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, .68);
  box-shadow: 0 15px 30px rgba(61, 32, 73, .13);
}

.app-icon img { width: 84px; height: 84px; object-fit: contain; }
.app-copy { position: relative; z-index: 1; margin-top: 1.4rem; }
.app-copy h3 { font-family: Inter, sans-serif; font-size: 1.55rem; letter-spacing: -.025em; }
.app-copy p { min-height: 3.2em; margin-top: .55rem; color: var(--muted); font-size: .86rem; line-height: 1.65; }

.download-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.download-button:hover { background: var(--purple); transform: translateY(-2px); }
.download-button:focus-visible { outline: 4px solid rgba(250, 204, 21, .6); outline-offset: 3px; }

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}

footer span { color: var(--ink); font-family: Inter, sans-serif; font-weight: 800; letter-spacing: .16em; }

@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade-in { from { opacity: 0; transform: scale(.95); } }
@keyframes float-one { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-12px) rotate(-5deg); } }
@keyframes float-two { 0%, 100% { transform: translateY(0) rotate(8deg); } 50% { transform: translateY(12px) rotate(5deg); } }

@media (max-width: 1000px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; gap: 1rem; padding-top: 3.5rem; }
  .visual { width: min(100%, 500px); min-height: 330px; margin: 0 auto; }
  .catalog { padding: 2rem; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: calc(100% - 28px); }
  .site-header { min-height: 76px; }
  .header-note { display: none; }
  .intro { min-height: auto; padding: 3rem 0 4rem; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .lead { font-size: .92rem; }
  .visual { min-height: 280px; }
  .visual-card { width: 120px; height: 120px; border-radius: 25px; }
  .visual-card img { width: 82px; height: 82px; }
  .card-back { right: 10%; }
  .card-front { left: 12%; }
  .card-middle { left: 43%; }
  .visual-label { right: 6%; }
  .catalog { padding: 1.4rem; border-radius: 25px; }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: .6rem; }
  .app-grid { grid-template-columns: 1fr; }
  .app-card { min-height: 380px; padding: 1.45rem; }
  footer { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
