/**
 * Plickon Layout CSS — Header, Footer, Utilities
 * @version 20260306-003
 */

/* ══════════════════════════════════════
   PLICKON DESIGN TOKENS
   ══════════════════════════════════════ */
:root {
  /* Core palette */
  --pk-void: #09091b;
  --pk-abyss: #0f0f2b;
  --pk-dusk: #1a1a42;
  --pk-iris: #3d3580;
  --pk-wisteria: #6b5fb8;
  --pk-mauve: #9e92d4;
  --pk-amber: #c4935a;
  --pk-honey: #dbb07a;
  --pk-champagne: #ecdcc4;
  --pk-cream: #f8f5ef;
  --pk-linen: #faf8f3;
  --pk-cotton: #fefdfb;
  --pk-ash: #8e8ca0;
  --pk-slate: #5e5c6e;
  --pk-ink: #1c1a2e;

  /* RGB decomposition (for rgba() references) */
  --pk-amber-rgb: 196,147,90;
  --pk-iris-rgb: 107,95,184;
  --pk-honey-rgb: 219,176,122;
  --pk-white-rgb: 255,255,255;
  --pk-ink-rgb: 28,26,46;
  --pk-linen-rgb: 250,248,243;

  /* Platform colors */
  --pk-p-weajou: #1a65d6;
  --pk-p-scc: #6d3ccf;
  --pk-p-silkroad: #c43030;
  --pk-p-managking: #0d8a5e;
  --pk-p-kjlink: #c47d1a;

  /* Functional aliases */
  --pk-bg: var(--pk-linen);
  --pk-bg-alt: var(--pk-cream);
  --pk-bg-dark: var(--pk-void);
  --pk-text: var(--pk-ink);
  --pk-text-sub: var(--pk-slate);
  --pk-text-muted: var(--pk-ash);
  --pk-accent: var(--gb-accent);
  --pk-accent-light: var(--pk-honey);

  /* Shadows */
  --pk-sh-sm: 0 1px 3px rgba(var(--pk-ink-rgb),0.04), 0 4px 12px rgba(var(--pk-ink-rgb),0.03);
  --pk-sh-md: 0 4px 16px rgba(var(--pk-ink-rgb),0.06), 0 12px 32px rgba(var(--pk-ink-rgb),0.04);
  --pk-sh-lg: 0 8px 32px rgba(var(--pk-ink-rgb),0.08), 0 24px 56px rgba(var(--pk-ink-rgb),0.05);
  --pk-sh-xl: 0 16px 48px rgba(var(--pk-ink-rgb),0.10), 0 32px 72px rgba(var(--pk-ink-rgb),0.06);
  --pk-sh-gold: 0 8px 32px rgba(var(--pk-amber-rgb),0.18);

  /* RGB decomposition — extended (sections) */
  --pk-iris-deep-rgb: 61,53,128;
  --pk-rose-rgb: 196,48,48;
  --pk-void-rgb: 9,9,27;

  /* Radii */
  --pk-r-xs: 6px;
  --pk-r-sm: 10px;
  --pk-r-md: 16px;
  --pk-r-lg: 24px;
  --pk-r-xl: 36px;

  /* Easings */
  --pk-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pk-dur: 0.5s;
}

/* ══════════════════════════════════════
   PLICKON BODY OVERRIDES
   ══════════════════════════════════════ */
body {
  font-family: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--pk-bg);
  color: var(--pk-text);
}

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */
.pk-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ══════════════════════════════════════
   HEADER
   ══════════════════════════════════════ */
.pk-hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--gb-z-modal-backdrop);
  padding: 0 32px;
  transition: all var(--pk-dur) var(--pk-ease);
}
.pk-hdr::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--pk-linen-rgb),0.92);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(var(--pk-ink-rgb),0.06);
  transition: all var(--pk-dur) var(--pk-ease);
}

/* Hero-dark mode: transparent header over dark hero */
.pk-hdr.hero-dark::before {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.pk-hdr.hero-dark .pk-hdr-nav {
  background: rgba(var(--pk-white-rgb),0.06);
  border-color: rgba(var(--pk-white-rgb),0.08);
}
.pk-hdr.hero-dark .pk-hdr-nav a { color: rgba(var(--pk-white-rgb),0.5); }
.pk-hdr.hero-dark .pk-hdr-nav a:hover { color: #fff; background: rgba(var(--pk-white-rgb),0.08); }
.pk-hdr.hero-dark .pk-hdr-nav a.active { color: var(--pk-honey); background: rgba(var(--pk-amber-rgb),0.18); }
.pk-hdr.hero-dark .pk-btn-login { color: rgba(var(--pk-white-rgb),0.65); border-color: rgba(var(--pk-white-rgb),0.15); }
.pk-hdr.hero-dark .pk-btn-login:hover { color: #fff; border-color: rgba(var(--pk-white-rgb),0.3); background: rgba(var(--pk-white-rgb),0.06); }
.pk-hdr.hero-dark .pk-icon-btn { color: rgba(var(--pk-white-rgb),0.6); }
.pk-hdr.hero-dark .pk-icon-btn:hover { color: #fff; background: rgba(var(--pk-white-rgb),0.08); }
.pk-hdr.hero-dark .pk-logo-text { color: rgba(var(--pk-white-rgb),0.9); }
.pk-hdr.hero-dark .pk-menu-tog { color: rgba(var(--pk-white-rgb),0.7); }
/* Logo swap: hero-dark → show light logo (for dark bg), hide dark logo */
.pk-hdr.hero-dark .pk-logo-dark { opacity: 0; }
.pk-hdr.hero-dark .pk-logo-light { opacity: 1; }
/* Scrolled on hero page → back to normal */
.pk-hdr.hero-dark.scrolled .pk-logo-dark { opacity: 1; }
.pk-hdr.hero-dark.scrolled .pk-logo-light { opacity: 0; }
.pk-hdr.scrolled::before,
.pk-hdr.hero-dark.scrolled::before {
  background: rgba(var(--pk-linen-rgb),0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(var(--pk-ink-rgb),0.06);
}
.pk-hdr.hero-dark.scrolled .pk-hdr-nav { background: rgba(var(--pk-ink-rgb),0.04); border-color: rgba(var(--pk-ink-rgb),0.08); }
.pk-hdr.hero-dark.scrolled .pk-hdr-nav a { color: var(--pk-text-sub); }
.pk-hdr.hero-dark.scrolled .pk-hdr-nav a:hover { color: var(--pk-ink); background: rgba(var(--pk-ink-rgb),0.05); }
.pk-hdr.hero-dark.scrolled .pk-btn-login { color: var(--pk-text-sub); border-color: rgba(var(--pk-ink-rgb),0.1); }
.pk-hdr.hero-dark.scrolled .pk-icon-btn { color: var(--pk-text-sub); }
.pk-hdr.hero-dark.scrolled .pk-logo-text { color: var(--pk-ink); }
.pk-hdr.hero-dark.scrolled .pk-menu-tog { color: var(--pk-text-sub); }

.pk-hdr-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
  z-index: 1;
}

/* Logo */
.pk-hdr-logo {
  display: flex;
  align-items: center;
  position: relative;
}
.pk-logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: opacity var(--pk-dur) var(--pk-ease);
}
.pk-hdr-logo .pk-logo-dark {
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.3s var(--pk-ease);
}
.pk-hdr-logo .pk-logo-light {
  opacity: 1;
  transition: opacity 0.3s var(--pk-ease);
}
.pk-hdr.scrolled .pk-hdr-logo .pk-logo-dark { opacity: 1; }
.pk-hdr.scrolled .pk-hdr-logo .pk-logo-light { opacity: 0; }

/* Logo text fallback */
.pk-logo-text {
  font-weight: 800;
  font-size: 20px;
  color: var(--pk-ink);
}

/* Footer brand logo text fallback */
.pk-footer-brand-text {
  font-weight: 800;
  font-size: 18px;
  color: rgba(var(--pk-white-rgb),0.8);
}

/* Nav pill bar */
.pk-hdr-nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 0;
  background: rgba(var(--pk-ink-rgb),0.04);
  border-radius: 100px;
  padding: 4px;
  border: 1px solid rgba(var(--pk-ink-rgb),0.08);
  transition: all var(--pk-dur) var(--pk-ease);
}
.pk-hdr-nav a {
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pk-text-sub);
  border-radius: 100px;
  transition: all var(--pk-dur) var(--pk-ease);
  letter-spacing: -0.1px;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
}
.pk-hdr-nav a:hover {
  color: var(--pk-ink);
  background: rgba(var(--pk-ink-rgb),0.05);
}
.pk-hdr-nav a.active {
  color: var(--pk-amber);
  background: rgba(var(--pk-amber-rgb),0.12);
  font-weight: 700;
}

/* Header actions */
.pk-hdr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pk-btn-login {
  padding: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pk-text-sub);
  border-radius: 100px;
  border: 1px solid rgba(var(--pk-ink-rgb),0.1);
  transition: all var(--pk-dur) var(--pk-ease);
  white-space: nowrap;
  background: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.pk-btn-login:hover {
  color: var(--pk-ink);
  border-color: rgba(var(--pk-ink-rgb),0.2);
  background: rgba(var(--pk-ink-rgb),0.03);
}
.pk-btn-apply {
  padding: 8px 22px;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--pk-amber), var(--pk-honey));
  border-radius: 100px;
  transition: all var(--pk-dur) var(--pk-ease);
  box-shadow: 0 2px 12px rgba(var(--pk-amber-rgb),0.25);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.pk-btn-apply::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(var(--pk-white-rgb),0.15), transparent 60%);
  opacity: 0;
  transition: opacity var(--pk-dur) var(--pk-ease);
}
.pk-btn-apply:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(var(--pk-amber-rgb),0.4);
}
.pk-btn-apply:hover::before { opacity: 1; }
.pk-btn-apply span { position: relative; z-index: 1; }

/* Notification badge in header */
.pk-hdr-actions .pk-icon-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  color: var(--pk-text-sub);
  transition: all var(--pk-dur) var(--pk-ease);
  position: relative;
  font-size: 15px;
  text-decoration: none;
}
.pk-icon-btn:hover {
  color: var(--pk-ink);
  background: rgba(var(--pk-ink-rgb),0.05);
}
.pk-hdr.scrolled .pk-icon-btn {
  color: var(--pk-text-sub);
}
.pk-noti-badge {
  position: absolute;
  top: 2px; right: 2px;
  font-size: 10px;
  min-width: 16px;
  height: 16px;
  line-height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--gb-danger);
  color: #fff;
  text-align: center;
  font-weight: 700;
}

/* Mobile toggle */
.pk-menu-tog {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--pk-text-sub);
  border-radius: var(--pk-r-xs);
  transition: all var(--pk-dur) var(--pk-ease);
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
}
.pk-hdr.scrolled .pk-menu-tog { color: var(--pk-text-sub); }

/* Body padding for fixed header */
body.pk-has-header {
  padding-top: 72px;
}

/* ══════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════ */
.pk-hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--pk-void);
  padding-top: 72px;
  margin-top: -72px;
}
.pk-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 260px;
  background: linear-gradient(to top, var(--pk-void), transparent);
  z-index: 1;
  pointer-events: none;
}

/* Ambient glow orbs */
.pk-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.pk-hero-orb--amber {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(var(--pk-amber-rgb),0.18) 0%, transparent 70%);
  top: 10%; left: -5%;
  animation: pkOrbFloat1 12s ease-in-out infinite;
}
.pk-hero-orb--iris {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(var(--pk-iris-rgb),0.14) 0%, transparent 70%);
  top: 50%; right: -3%;
  animation: pkOrbFloat2 15s ease-in-out infinite;
}
.pk-hero-orb--rose {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,48,48,0.08) 0%, transparent 70%);
  bottom: 10%; left: 40%;
  animation: pkOrbFloat3 10s ease-in-out infinite;
}
@keyframes pkOrbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-20px,20px) scale(0.95); }
}
@keyframes pkOrbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-50px,30px) scale(1.12); }
}
@keyframes pkOrbFloat3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-40px) scale(1.08); }
}

/* Grid overlay */
.pk-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--pk-iris-rgb),0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--pk-iris-rgb),0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 45%, black 20%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* Scan line */
.pk-hero-scanline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--pk-amber-rgb),0.15), rgba(var(--pk-iris-rgb),0.15), transparent);
  z-index: 1;
  pointer-events: none;
  animation: pkScanDown 8s linear infinite;
}
@keyframes pkScanDown {
  0% { top: -2%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 102%; opacity: 0; }
}

/* Hero inner layout */
.pk-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Hero left content */
.pk-hero-content { max-width: 560px; }

.pk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  background: rgba(var(--pk-white-rgb),0.04);
  border: 1px solid rgba(var(--pk-iris-rgb),0.15);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: rgba(var(--pk-white-rgb),0.65);
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: pkFadeUp 0.8s var(--pk-ease) both;
}
.pk-hero-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--pk-honey);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(var(--pk-honey-rgb),0.5);
  animation: pkPulseDot 2.5s ease-in-out infinite;
}
@keyframes pkPulseDot {
  0%,100% { opacity: 1; box-shadow: 0 0 10px rgba(var(--pk-honey-rgb),0.5); transform: scale(1); }
  50% { opacity: 0.5; box-shadow: 0 0 20px rgba(var(--pk-honey-rgb),0.8); transform: scale(1.3); }
}

.pk-hero-title {
  font-family: 'Pretendard Variable', 'Pretendard', sans-serif;
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 900;
  line-height: 1.18;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  animation: pkHeroTitleIn 1s var(--pk-ease) 0.1s both;
}
@keyframes pkHeroTitleIn {
  from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.pk-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--pk-honey), var(--pk-amber), #e8c78a, var(--pk-honey));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pkHeroTitleIn 1s var(--pk-ease) 0.1s both, pkShimmer 4s ease-in-out infinite;
  position: relative;
}
@keyframes pkShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pk-hero-desc {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(var(--pk-white-rgb),0.45);
  margin-bottom: 40px;
  max-width: 440px;
  animation: pkFadeUp 0.8s var(--pk-ease) 0.25s both;
}

/* Hero buttons */
.pk-hero-btns {
  display: flex;
  gap: 12px;
  animation: pkFadeUp 0.8s var(--pk-ease) 0.35s both;
}
.pk-btn-hero-primary {
  padding: 16px 34px;
  font-size: 15px;
  font-weight: 700;
  color: var(--pk-void);
  background: linear-gradient(135deg, var(--pk-honey), var(--pk-amber));
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--pk-dur) var(--pk-ease);
  box-shadow: 0 4px 24px rgba(var(--pk-amber-rgb),0.3);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.pk-btn-hero-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(var(--pk-white-rgb),0.2), transparent 60%);
  opacity: 0;
  transition: opacity var(--pk-dur) var(--pk-ease);
}
.pk-btn-hero-primary:hover {
  color: var(--pk-void);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 40px rgba(var(--pk-amber-rgb),0.45);
}
.pk-btn-hero-primary:hover::before { opacity: 1; }
.pk-btn-hero-primary i,
.pk-btn-hero-primary span { position: relative; z-index: 1; }

.pk-btn-hero-secondary {
  padding: 16px 30px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(var(--pk-white-rgb),0.7);
  background: rgba(var(--pk-white-rgb),0.04);
  border: 1.5px solid rgba(var(--pk-white-rgb),0.1);
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--pk-dur) var(--pk-ease);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  text-decoration: none;
}
.pk-btn-hero-secondary:hover {
  border-color: rgba(var(--pk-honey-rgb),0.3);
  color: var(--pk-honey);
  background: rgba(var(--pk-honey-rgb),0.06);
  transform: translateY(-2px);
}

/* Hero metrics */
.pk-hero-metrics {
  display: flex;
  gap: 44px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(var(--pk-white-rgb),0.06);
  animation: pkFadeUp 0.8s var(--pk-ease) 0.5s both;
}
.pk-hero-metric {
  position: relative;
}
.pk-hero-metric::after {
  content: '';
  position: absolute;
  right: -22px; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 32px;
  background: rgba(var(--pk-white-rgb),0.08);
}
.pk-hero-metric:last-child::after { display: none; }
.pk-hero-metric-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
}
.pk-hero-metric-val span { color: var(--pk-honey); }
.pk-hero-metric-lbl {
  font-size: 14px;
  color: rgba(var(--pk-white-rgb),0.3);
  margin-top: 4px;
  font-weight: 500;
}

/* Hero right visual cards */
.pk-hero-visual {
  position: relative;
  animation: pkFadeUp 1s var(--pk-ease) 0.5s both;
}
.pk-hero-visual::before {
  content: '';
  position: absolute;
  width: 110%; height: 110%;
  top: -5%; left: -5%;
  border-radius: 50%;
  border: 1px solid rgba(var(--pk-amber-rgb),0.08);
  animation: pkRingPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.pk-hero-visual::after {
  content: '';
  position: absolute;
  width: 90%; height: 90%;
  top: 5%; left: 5%;
  border-radius: 50%;
  border: 1px dashed rgba(var(--pk-iris-rgb),0.08);
  animation: pkRingPulse 6s ease-in-out 3s infinite;
  pointer-events: none;
}
@keyframes pkRingPulse {
  0%,100% { transform: scale(1) rotate(0deg); opacity: 0.6; }
  50% { transform: scale(1.04) rotate(4deg); opacity: 1; }
}

.pk-hero-vgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pk-hero-vcard {
  background: rgba(var(--pk-white-rgb),0.03);
  border: 1px solid rgba(var(--pk-white-rgb),0.06);
  border-radius: var(--pk-r-lg);
  padding: 28px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s var(--pk-ease);
  position: relative;
  overflow: hidden;
  animation: pkCardStagger 0.7s var(--pk-ease) both;
}
.pk-hero-vcard:nth-child(1) { animation-delay: 0.6s; }
.pk-hero-vcard:nth-child(2) { animation-delay: 0.75s; }
.pk-hero-vcard:nth-child(3) { animation-delay: 0.9s; }
.pk-hero-vcard:nth-child(4) { animation-delay: 1.05s; }
@keyframes pkCardStagger {
  from { opacity: 0; transform: translateY(30px) scale(0.95); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.pk-hero-vcard:hover {
  border-color: rgba(var(--pk-amber-rgb),0.2);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 30px rgba(var(--pk-amber-rgb),0.06);
}
.pk-hero-vc-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--pk-ease);
}
.pk-hero-vcard:hover .pk-hero-vc-icon { transform: scale(1.08); }
.pk-hero-vc-icon.gold { background: rgba(var(--pk-amber-rgb),0.12); color: var(--pk-honey); }
.pk-hero-vc-icon.iris { background: rgba(var(--pk-iris-rgb),0.14); color: var(--pk-mauve); }
.pk-hero-vc-icon.emerald { background: rgba(13,138,94,0.14); color: #4dd6a0; }
.pk-hero-vc-icon.rose { background: rgba(196,48,48,0.12); color: #f47272; }
.pk-hero-vcard h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}
.pk-hero-vcard p {
  font-size: 15px;
  color: rgba(var(--pk-white-rgb),0.38);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Floating badges */
.pk-hero-float-badge {
  position: absolute;
  z-index: 3;
  padding: 10px 18px;
  background: rgba(9,9,27,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(var(--pk-white-rgb),0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  animation: pkBadgeFloat 4s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.pk-hero-float-badge i { font-size: 16px; }
.pk-hero-float-badge--top { top: -14px; right: 20px; }
.pk-hero-float-badge--bottom { bottom: -14px; left: 20px; animation-delay: 2s; }
.pk-hero-float-badge--top i { color: var(--pk-honey); }
.pk-hero-float-badge--bottom i { color: #4dd6a0; }
@keyframes pkBadgeFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll indicator */
.pk-hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: pkFadeUp 0.8s var(--pk-ease) 1.2s both;
}
.pk-hero-scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(var(--pk-white-rgb),0.15);
  border-radius: 11px;
  position: relative;
}
.pk-hero-scroll-mouse::after {
  content: '';
  width: 3px; height: 8px;
  background: var(--pk-honey);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: pkScrollWheel 2s ease-in-out infinite;
}
@keyframes pkScrollWheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}
.pk-hero-scroll span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(var(--pk-white-rgb),0.2);
  letter-spacing: 2px;
  text-transform: uppercase;
}

@keyframes pkFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero counter animation */
.pk-hero-metric-val .pk-counter {
  display: inline;
}

/* Hero responsive */
@media (max-width: 1100px) {
  .pk-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .pk-hero-visual { display: none; }
  .pk-hero-scroll { display: none; }
  .pk-hero-orb--amber { width: 300px; height: 300px; }
  .pk-hero-orb--iris { width: 250px; height: 250px; }
}
@media (max-width: 768px) {
  .pk-hero { min-height: auto; padding: 96px 0 64px; }
  .pk-hero-title { font-size: clamp(30px, 7vw, 42px); }
  .pk-hero-desc { font-size: 15px; }
  .pk-hero-eyebrow { font-size: 13px; padding: 5px 12px 5px 7px; }
  .pk-hero-btns { flex-direction: column; }
  .pk-hero-metrics { gap: 24px; flex-wrap: wrap; }
  .pk-hero-metric-val { font-size: 26px; }
  .pk-hero-inner { padding: 72px 20px; }
}
@media (max-width: 480px) {
  .pk-hero { padding: 88px 0 56px; }
  .pk-hero-metrics { flex-direction: column; gap: 16px; }
  .pk-hero-metric::after { display: none; }
  .pk-hero-eyebrow { font-size: 12px; }
  .pk-hero-orb--amber { width: 200px; height: 200px; }
  .pk-hero-orb--iris { width: 160px; height: 160px; }
  .pk-hero-inner { padding: 60px 16px; }
}

/* ══════════════════════════════════════
   SUB-PAGE WRAPPER (content area bridge)
   ══════════════════════════════════════ */
.pk-subpage-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.pk-footer {
  background: #07071a;
  color: rgba(var(--pk-white-rgb),0.45);
  padding: 64px 0 32px;
  position: relative;
}
.pk-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(var(--pk-amber-rgb),0.15), rgba(var(--pk-iris-rgb),0.1), transparent 90%);
}
.pk-footer a {
  text-decoration: none;
  color: inherit;
  transition: color var(--pk-dur) var(--pk-ease);
}

.pk-footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

/* Footer brand column */
.pk-footer-brand-logo {
  display: flex;
  margin-bottom: 16px;
}
.pk-footer-brand-logo img {
  height: 30px;
  width: auto;
}
.pk-footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(var(--pk-white-rgb),0.45);
  margin-bottom: 20px;
}
.pk-footer-cs {
  margin-bottom: 20px;
}
.pk-footer-cs-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--pk-honey);
  letter-spacing: 0.5px;
  transition: color var(--pk-dur) var(--pk-ease);
}
.pk-footer-cs-num i { font-size: 14px; }
.pk-footer-cs-num:hover { color: #fff; }
.pk-footer-cs-time {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: rgba(var(--pk-white-rgb),0.4);
}

/* Social links */
.pk-footer-social {
  display: flex;
  gap: 8px;
}
.pk-footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(var(--pk-white-rgb),0.04);
  border: 1px solid rgba(var(--pk-white-rgb),0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: rgba(var(--pk-white-rgb),0.5);
  transition: all var(--pk-dur) var(--pk-ease);
}
.pk-footer-social a:hover {
  background: rgba(var(--pk-amber-rgb),0.1);
  border-color: rgba(var(--pk-amber-rgb),0.15);
  color: var(--pk-honey);
}

/* Footer link columns */
.pk-footer-col h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--pk-honey);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.pk-footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(var(--pk-white-rgb),0.45);
  padding: 4px 0;
}
.pk-footer-col a:hover {
  color: rgba(var(--pk-white-rgb),0.75);
  transform: translateX(3px);
}

/* Company info */
.pk-footer-info {
  border-top: 1px solid rgba(var(--pk-white-rgb),0.05);
  padding: 20px 0;
}
.pk-footer-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 12px;
  color: rgba(var(--pk-white-rgb),0.38);
  line-height: 2;
}
.pk-footer-sep {
  display: inline-block;
  width: 1px;
  height: 10px;
  background: rgba(var(--pk-white-rgb),0.1);
  margin: 0 10px;
  vertical-align: middle;
}

/* Copyright & legal */
.pk-footer-bottom {
  border-top: 1px solid rgba(var(--pk-white-rgb),0.04);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pk-footer-bottom p {
  font-size: 12px;
  color: rgba(var(--pk-white-rgb),0.35);
  margin: 0;
}
.pk-footer-legal {
  display: flex;
  gap: 18px;
}
.pk-footer-legal a {
  font-size: 12px;
  color: rgba(var(--pk-white-rgb),0.4);
}
.pk-footer-legal a:hover {
  color: rgba(var(--pk-white-rgb),0.55);
}
.pk-footer-legal a.bold {
  font-weight: 700;
  color: rgba(var(--pk-white-rgb),0.5);
}

/* ══════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════ */
.pk-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--pk-void);
  border: 1px solid rgba(var(--pk-amber-rgb),0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pk-honey);
  font-size: 15px;
  z-index: 50;
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--pk-dur) var(--pk-ease);
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.pk-to-top.vis { opacity: 1; transform: translateY(0); }
.pk-to-top:hover {
  background: var(--pk-amber);
  color: var(--pk-void);
  border-color: var(--pk-amber);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1100px) {
  .pk-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .pk-wrap { padding: 0 20px; }
  .pk-hdr { padding: 0 20px; }
  .pk-hdr-nav,
  .pk-hdr-actions { display: none; }
  .pk-menu-tog { display: flex; }

  .pk-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .pk-footer-info-row { justify-content: center; }
  .pk-footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .pk-footer-legal { justify-content: center; }

  .pk-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .pk-wrap { padding: 0 16px; }
  .pk-hdr { padding: 0 16px; }

  .pk-footer-sep { display: none; }
  .pk-footer-info-row { flex-direction: column; gap: 0; text-align: center; }
  .pk-footer-cs-num { font-size: 18px; }

  .pk-to-top { bottom: 16px; right: 16px; }
}

/* Offcanvas — 전폭 + 헤더 z-index 충돌 방지 + 배경 투과 방지 */
#offcanvasNav {
  width: 100%;
}
.offcanvas-backdrop.show {
  opacity: 1;
}
body:has(.offcanvas.show) .pk-hdr {
  z-index: 1040;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
