@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Jua&family=Gowun+Dodum&display=swap');

.pcg-site {
  --ink: #303244;
  --muted: #686d84;
  --line: #ececf6;
  --bg: #fff9f1;
  --card: rgba(255, 255, 255, 0.84);
  --pink: #ff8fb3;
  --mint: #8ee6d2;
  --yellow: #ffd86d;
  --blue: #8fb8ff;
  --purple: #b6a0ff;
  --shadow: 0 18px 45px rgba(66, 54, 84, 0.13);
  --round: 28px;
  --font-main: Pretendard, 'Gowun Dodum', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-cute: Jua, Pretendard, 'Gowun Dodum', sans-serif;
}

.pcg-site,
.pcg-site * {
  box-sizing: border-box;
  font-family: var(--font-main);
}

/* html scroll-behavior removed for Elementor */

.pcg-site {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #fff0c9 0 18%, transparent 28%),
    radial-gradient(circle at 90% 3%, #ffe1ef 0 16%, transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, #f6fbff 48%, #fff8fc 100%);
  line-height: 1.75;
  word-break: keep-all;
  overflow-x: hidden;
}

.pcg-site,
.pcg-site p,
.pcg-site a,
.pcg-site li,
.pcg-site span,
.pcg-site div,
.pcg-site button,
.pcg-site input,
.pcg-site textarea,
.pcg-site select,
.pcg-site table,
.pcg-site th,
.pcg-site td,
.pcg-site summary,
.pcg-site details,
.pcg-site strong,
.pcg-site em {
  font-family: var(--font-main) !important;
}

.pcg-site h1,
.pcg-site h2,
.pcg-site h3,
.pcg-site .pcg-brand-text,
.pcg-site .pcg-cute {
  font-family: var(--font-cute) !important;
  font-weight: 400;
}

.pcg-site a {
  color: inherit;
}

.pcg-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 247, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.pcg-nav {
  max-width: 1120px;
  margin: auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pcg-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.pcg-brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  box-shadow: 0 10px 24px rgba(255, 143, 179, 0.35);
}

.pcg-brand-text {
  font-size: 20px;
}

.pcg-nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(74, 65, 88, 0.08);
}

.pcg-nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
  transition: 0.22s;
}

.pcg-nav-toggle.pcg-is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.pcg-nav-toggle.pcg-is-open span:nth-child(2) {
  opacity: 0;
}

.pcg-nav-toggle.pcg-is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.pcg-nav-panel {
  position: absolute;
  left: 50%;
  top: 72px;
  width: min(920px, calc(100% - 28px));
  transform: translateX(-50%) translateY(-12px);
  opacity: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--shadow);
  transition: 0.24s ease;
}

.pcg-nav-panel.pcg-is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.pcg-nav-links {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.pcg-nav-links a {
  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #555a72;
  background: #fff;
  border: 1px solid var(--line);
  padding: 11px 10px;
  border-radius: 18px;
  transition: 0.2s;
}

.pcg-nav-links a:hover,
.pcg-nav-links a.pcg-active {
  transform: translateY(-2px);
  background: #2f3142;
  color: #fff;
}

.pcg-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 68px 18px 36px;
  text-align: center;
  position: relative;
}

.pcg-kicker,
.pcg-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
  color: #697088;
  box-shadow: 0 8px 20px rgba(74, 65, 88, 0.08);
}

h1,
h2,
h3 {
  line-height: 1.34;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.035em;
  margin-top: 18px;
}

h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(17px, 2.1vw, 21px);
  letter-spacing: -0.02em;
}

.pcg-hero p {
  max-width: 770px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16.5px;
}

.pcg-hero-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.pcg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(47, 49, 66, 0.14);
  transition: 0.2s;
}

.pcg-site a.pcg-btn-primary,
.pcg-site .pcg-btn-primary,
.pcg-site .pcg-btn.pcg-btn-primary {
  background: #2563eb !important;
  color: #ffffff !important;
}

.pcg-site a.pcg-btn-primary:hover,
.pcg-site .pcg-btn-primary:hover {
  background: #1f2230 !important;
  color: #ffffff !important;
}
.pcg-btn-soft {
  background: #ffe812;
  color: #2f3142;
  border: 1px solid var(--line);
}

.pcg-btn:hover {
  transform: translateY(-3px);
}

.pcg-hero-visual {
  width: 100%;
  max-width: 900px;
  margin: 60px auto 0;
  padding: 28px;
  border-radius: 38px;
  background: rgba(255,255,255,0.55);
  box-shadow: 0 25px 70px rgba(0,0,0,0.12);
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pcg-hero-visual img {
  width: auto;
  height: 620px;
  max-width: 100%;
  display: block;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.72);
}

.pcg-image-card img {
  width: 100%;
  display: block;
  border-radius: 34px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255, 255, 255, 0.72);
}

.pcg-float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 12px 24px rgba(65, 56, 80, 0.14);
  animation: floaty 4.4s ease-in-out infinite;
}

.pcg-chip-a {
  left: 4%;
  top: 12%;
}

.pcg-chip-b {
  right: 3%;
  bottom: 14%;
  animation-delay: 0.7s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.pcg-wrap {
  max-width: 1280px;
  margin: auto;
  padding: 22px 18px 84px;
}

.pcg-section {
  margin: 22px 0;
  padding: 32px;
  border-radius: var(--round);
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(67, 59, 82, 0.08);
}

.pcg-section.pcg-center {
  text-align: center;
}

.pcg-lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 18px;
}

.pcg-grid {
  display: grid;
  gap: 16px;
}

.pcg-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pcg-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pcg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  transition: 0.22s;
  position: relative;
  overflow: hidden;
}

.pcg-card::before {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--yellow));
  opacity: 0.16;
}

.pcg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(60, 52, 76, 0.12);
}

.pcg-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff2d2;
  margin-bottom: 12px;
  font-size: 22px;
}

.pcg-card p,
.pcg-section p,
.pcg-step p,
.pcg-notice p {
  color: var(--muted);
}

.pcg-table-wrap {
  overflow-x: auto;
}

.pcg-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}

.pcg-table th,
.pcg-table td {
  text-align: left;
  background: #fff;
  padding: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}

.pcg-table th:first-child,
.pcg-table td:first-child {
  border-left: 1px solid var(--line);
  border-radius: 16px 0 0 16px;
  font-weight: 800;
}

.pcg-table th:last-child,
.pcg-table td:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 16px 16px 0;
}

.pcg-notice {
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7d6, #ffe7f0);
  border: 1px solid #fff;
  color: #55586c;
}

.pcg-image-card {
  margin: 20px 0;
}

.pcg-steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.pcg-step {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 20px 20px 70px;
  position: relative;
}

.pcg-step::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #2f3142;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.pcg-keyword-details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
}

.pcg-keyword-details summary {
  cursor: pointer;
  font-weight: 800;
}

.pcg-keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.pcg-keyword-pills span {
  background: #fffaf2;
  border: 1px solid #f0e8da;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #60657b;
}

.pcg-faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin: 10px 0;
  padding: 16px 18px;
}

.pcg-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.pcg-faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.pcg-bottom-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.pcg-bottom-nav a {
  text-decoration: none;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 8px;
  font-weight: 800;
  font-size: 14px;
}

.pcg-site-footer {
  text-align: center;
  padding: 34px 18px;
  color: #777b8f;
  font-size: 13px;
}

.pcg-reveal {
  opacity: 1;
  transform: none;
  transition: 0.35s ease;
}

.pcg-reveal.pcg-show {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px) {
  .pcg-nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pcg-grid-2,
  .pcg-grid-3,
  .pcg-bottom-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pcg-nav {
    padding: 12px 14px;
  }

  .pcg-nav-panel {
    top: 66px;
    border-radius: 20px;
  }

  .pcg-nav-links {
    grid-template-columns: 1fr;
  }

  .pcg-hero {
    padding: 34px 10px 22px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .pcg-hero p,
  .pcg-lead {
    font-size: 15.5px;
  }

  .pcg-section {
    padding: 23px 18px;
    border-radius: 24px;
  }

  .pcg-float-chip {
    display: none;
  }

  .pcg-hero-visual img {
	  width: 100%;
	  height: auto;
	  border-width: 4px;
	  border-radius: 20px;
	}

.pcg-image-card img {
  border-width: 4px;
  border-radius: 20px;
}

  .pcg-btn {
    width: 100%;
    max-width: 340px;
  }

  .pcg-card {
    padding: 19px;
  }

  .pcg-step {
    padding-left: 62px;
  }

  .pcg-keyword-pills {
    max-height: 300px;
  }
}

/* Elementor/Astra 호환 보강 */
.pcg-site {
  width: 100%;
  min-height: auto;
  overflow-x: hidden;
  isolation: isolate;
}
.pcg-site p { margin-top: 0; }
.pcg-site ul, .pcg-site ol { margin-left: 0; padding-left: 1.15em; }
.pcg-site .pcg-site-header { position: sticky; top: 0; }
.pcg-visual-placeholder {
  min-height: 220px;
  border-radius: var(--round);
  border: 1px solid rgba(255,255,255,.9);
  background: radial-gradient(circle at 24% 22%, rgba(255,216,109,.75), transparent 34%), radial-gradient(circle at 78% 22%, rgba(255,143,179,.55), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.92), rgba(246,251,255,.82));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  gap: 8px;
}
.pcg-visual-placeholder .pcg-visual-emoji { font-size: clamp(44px, 9vw, 78px); line-height: 1; }
.pcg-visual-placeholder strong { display: block; font-size: 16px; color: var(--ink); }
.pcg-visual-placeholder small { display: block; color: var(--muted); font-size: 12px; }
@media (max-width: 767px) {
  .pcg-site { line-height: 1.68; }
  .pcg-site .pcg-site-header { top: 0; }
}

/* Emergency Elementor/Astra compatibility fixes */
.pcg-site .pcg-nav-toggle span {
  display: block !important;
  width: 20px !important;
  height: 2px !important;
  min-height: 2px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #303244 !important;
  border-radius: 99px !important;
}
.pcg-site .pcg-nav-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  padding: 0 !important;
}
.pcg-site .pcg-section,
.pcg-site .pcg-card,
.pcg-site .pcg-step,
.pcg-site .pcg-table-wrap,
.pcg-site .pcg-faq,
.pcg-site .pcg-notice {
  visibility: visible !important;
}
.pcg-site p,
.pcg-site li,
.pcg-site td,
.pcg-site th,
.pcg-site a,
.pcg-site summary,
.pcg-site button,
.pcg-site div,
.pcg-site span {
  font-family: Pretendard, 'Gowun Dodum', sans-serif !important;
}
.pcg-site h1,
.pcg-site h2,
.pcg-site h3,
.pcg-site .pcg-brand-text,
.pcg-site .pcg-cute {
  font-family: 'Jua', Pretendard, 'Gowun Dodum', sans-serif !important;
}

/* 관련 링크 → 버튼 스타일 */
.pcg-site .pcg-link-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.pcg-site .pcg-link-grid a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #ececf6;
  text-decoration: none;
  font-weight: 800;
  color: #303244;
  box-shadow: 0 8px 20px rgba(74, 65, 88, 0.08);
  transition: 0.2s;
}

/* hover 효과 */
.pcg-site .pcg-link-grid a:hover {
  background: #2f3142;
  color: #ffffff;
  transform: translateY(-3px);
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .pcg-site .pcg-link-grid {
    grid-template-columns: 1fr;
  }
}