/* === Base Layout with Purple Footer === */

/* Reset */
html, body { height: 100%; margin:0; padding:0; }
body { padding-top:70px; }

/* Container */
.container{
  max-width:960px;
  margin:0 auto;
  padding:0 20px;
  box-sizing:border-box;
}

/* Header */
.header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(229,231,235,.8);
  box-shadow:0 2px 8px rgba(0,0,0,.05);
}
.header-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:960px;
  margin:0 auto;
  padding:14px 20px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:1.2rem;
  color:#111827;
  text-decoration:none;
  transition:.2s;
}
.logo:hover{ color:#2563eb; }
.logo-icon{
  width:34px; height:34px; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(45deg,#4299e1,#667eea);
  color:#fff; font-weight:800; font-size:.9rem;
}
.nav-menu{ display:flex; gap:12px; }
.nav-item{
  padding:6px 12px;
  border-radius:6px;
  font-size:.95rem;
  font-weight:500;
  color:#374151;
  text-decoration:none;
  transition:.2s;
}
.nav-item:hover{ background:#f1f5f9; color:#2563eb; }

/* === Purple Footer (섹션과 톤 통일) === */
.footer-simple{
  /* 위 섹션과 동일한 그라데이션으로 통일 */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  border-top:none;
  margin-top:0; /* 위 배경과 자연스럽게 붙이기 */
  box-shadow: 0 -1px 0 rgba(255,255,255,.06),
              inset 0 1px 0 rgba(0,0,0,.08);
}
.footer-simple .container{
  max-width:960px;
  margin:0 auto;
  padding:16px 20px;
  text-align:center;
}
.footer-simple .copy{
  /* 보라 배경 위에서 대비 확보 */
  color:rgba(255,255,255,.9);
  font-size:.9rem;
}

/* 남은 장식 바가 있으면 제거 */
.footer-top{ display:none !important; height:0 !important; background:none !important; }

/* Footer placeholder */
[data-include="footer"]{ display:block; min-height:50px; }

/* Responsive */
@media (max-width:640px){
  .header-content{ padding:12px 16px; }
  .footer-simple .container{ padding:14px 16px; }
}
