/* =====================================================================
   Winway — WinPilot 출시 안내 팝업 (index.html 전용)
   ===================================================================== */
.wp-popup {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  background: rgba(10,12,16,.5);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.wp-popup[hidden] { display: none; }
.wp-popup.open { opacity: 1; visibility: visible; }

.wp-card {
  width: 100%; max-width: 520px;
  background: #fff; color: var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
  overflow: hidden;
}

.wp-img { display: block; aspect-ratio: 16 / 9; background: #f4f4f2; }
.wp-img img { display: block; width: 100%; height: 100%; object-fit: cover; }

.wp-body { padding: 26px 28px 28px; }
.wp-sub {
  margin: 0 0 6px;
  font-size: 15px; font-weight: 500; color: var(--muted);
}
.wp-title {
  margin: 0 0 12px;
  font-family: var(--font); color: var(--ink);
  font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3;
}
.wp-title em { font-style: normal; color: #d08a0e; }
.wp-desc {
  margin: 0 0 22px;
  font-size: 15px; line-height: 1.6; color: var(--ink-soft);
}
.wp-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background .2s ease;
}
.wp-cta:hover { background: var(--accent); }

.wp-foot {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--ink);
}
.wp-foot button {
  background: none; border: 0; padding: 13px 18px;
  font: inherit; font-size: 13px; color: rgba(255,255,255,.75); cursor: pointer;
}
.wp-foot button:hover { color: #fff; }

@media (max-width: 520px) {
  .wp-body { padding: 20px 20px 22px; }
  .wp-title { font-size: 22px; }
  .wp-desc { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .wp-popup { transition: none; }
}
