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

html {height:100%;}
body {
    height:100%; font-family: 'Pretendard', sans-serif, Arial, sans-serif; font-size:13px; font-weight:400; padding:0; margin:0;
}

* {
    /* -ms-user-select: none;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color : transparent;
    -webkit-touch-callout: none; */
    box-sizing: border-box;
}

*:focus {
  outline: none;
}

a {line-height: 1;}

input, textarea {outline:none; font-size: 15px;}
ul {list-style: none; margin:0; padding:0;}
h1, h2, p {margin:0;}
button {
    cursor: pointer;
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    color:#fff;
}

input[type=checkbox], input[type=radio] {
  vertical-align: middle;
  position: relative;
  bottom: 1px;
}

input[type=radio] {
  bottom: 2px;
}

.align-left {text-align:left !important;}
.align-right {text-align:right !important;}
.align-center {text-align:center !important;}

.fnt-sz-11 {font-size:11px;}
.fnt-sz-12 {font-size:12px;}
.fnt-sz-13 {font-size:13px;}
.fnt-sz-15 {font-size:15px !important;}
.fnt-sz-16 {font-size:16px;}
.fnt-sz-18 {font-size:18px !important;}
.fnt-sz-25 {font-size:25px !important;}

.mgb-2 {margin-bottom:2px;}
.mgb-4 {margin-bottom:4px;}
.mgb-4 {margin-bottom:4px;}
.mgb-5 {margin-bottom:5px;}
.mgb-6 {margin-bottom:6px;}
.mgb-7 {margin-bottom:7px;}
.mgb-8 {margin-bottom:8px;}
.mgb-10 {margin-bottom:10px;}
.mgb-15 {margin-bottom:15px;}
.mgb-20 {margin-bottom:20px;}
.mgb-24 {margin-bottom:24px;}
.mgb-25 {margin-bottom:25px;}
.mgb-30 {margin-bottom:30px;}
.mgb-37 {margin-bottom:37px;}
.mgb-40 {margin-bottom:40px !important;}
.mgb-50 {margin-bottom:50px;}
.mgb-60 {margin-bottom:60px;}
.mgt-0 {margin-top:0px !important;}
.mgt-2 {margin-top:2px !important;}
.mgt-5 {margin-top:5px !important;}
.mgt-7 {margin-top:7px !important;}
.mgt-8 {margin-top:8px !important;}
.mgt-10 {margin-top:10px !important;}
.mgt-12 {margin-top:12px !important;}
.mgt-15 {margin-top:15px !important;}
.mgt-18 {margin-top:18px !important;}
.mgt-20 {margin-top:20px !important;}
.mgt-24 {margin-top:24px;}
.mgt-25 {margin-top:25px !important;}
.mgt-30 {margin-top:30px;}
.mgt-35 {margin-top:35px;}
.mgt-40 {margin-top:40px;}
.mgt-50 {margin-top:50px;}
.mgt-60 {margin-top:60px;}
.mgt-80 {margin-top:80px;}
.mgt-100 {margin-top:100px;}
.mgl-5 {margin-left:5px;}
.mgl-6 {margin-left:6px;}
.mgl-7 {margin-left:7px;}
.mgl-8 {margin-left:8px;}
.mgl-10 {margin-left:10px;}
.mgl-15 {margin-left:15px;}
.mgl-20 {margin-left:20px !important;}
.mgl-25 {margin-left:25px}
.mgl-30 {margin-left:30px;}
.mgl-40 {margin-left:40px;}
.mgl-50 {margin-left:50px;}
.mgr-5 {margin-right:5px;}
.mgr-7 {margin-right:7px;}
.mgr-10 {margin-right:10px;}
.mgr-20 {margin-right:20px;}
.mgr-30 {margin-right:30px;}
.mgr-40 {margin-right:40px;}

.mgb-auto {margin-bottom:auto !important;}

.pd-5 {padding:5px;}
.pd-10 {padding:10px;}
.pd-20 {padding:20px;}
.pdt-5 {padding-top:5px !important;}
.pdt-10 {padding-top:10px !important;}
.pdt-20 {padding-top:20px !important;}
.pdb-10 {padding-bottom:10px !important;}
.pdb-20 {padding-bottom:20px !important;}
.pdb-30 {padding-bottom:30px;}
.pdlr-3 {padding:0 3px;}
.pdtb-10 {padding:10px 0px !important;}
.pdr-0 {padding-right:0;}
.pdl-20 {padding-left:20px;}
.pdb-50 {padding-bottom:50px;}

.inp-required {color:red;}

/* 헤더 스타일 */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 900;
  color: #667eea;
  text-decoration: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.main-nav a {
  color: #2c3e50;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.main-nav a:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.nav-icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.main-nav a:hover .nav-icon {
  transform: scale(1.1);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.main-nav a:hover::after {
  width: 80%;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-outline {
  padding: 10px 24px;
  border: 2px solid #667eea;
  color: #667eea;
  background: transparent;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary {
  padding: 10px 24px;
  border: 2px solid #667eea;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* 페이지 공통 */
.page-container {
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
  width:100%;
  min-height:100vh;
  padding-top: 70px;
}
.page-container .page-wrap {
  position:relative;
  width:100%;
  max-width: 1320px;
  background:#fff;
  flex:1;
  display:flex;
  flex-direction: column;
}

/* 푸터 스타일 */
.main-footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerGrain)"/></svg>');
  opacity: 0.3;
}

.footer-container {
  width: 100%;
  padding: 0 20px;
  position: relative;
  min-width: 100vw;
  z-index: 2;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

/* 왼쪽: 회사 정보 */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #bdc3c7;
  margin: 0;
  font-weight: 400;
}

.company-details p {
  margin: 0.4rem 0;
  color: #95a5a6;
  font-size: 0.85rem;
  line-height: 1.4;
}

.company-details strong {
  color: #ecf0f1;
  font-weight: 600;
}

/* 가운데: 서비스 링크 */
.footer-center {
  display: flex;
  justify-content: center;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.link-group h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #ecf0f1;
  position: relative;
}

.link-group h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.link-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-group li {
  margin-bottom: 0.6rem;
}

.link-group a {
  color: #bdc3c7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.link-group a:hover {
  color: #667eea;
  padding-left: 8px;
}

.link-group a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: #667eea;
}

.link-group a:hover::before {
  opacity: 1;
  left: -10px;
}

/* 오른쪽: 연락처 */
.footer-right {
  display: flex;
  justify-content: flex-end;
}

.contact-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #ecf0f1;
  position: relative;
}

.contact-info h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: #bdc3c7;
  font-size: 0.9rem;
}

.contact-icon {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* 하단 저작권 */
.footer-bottom {
  padding: 1.2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  margin: 0;
  color: #95a5a6;
  font-size: 0.85rem;
}


/* 반응형 헤더 */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .header-actions {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-container {
    padding: 0 15px;
  }
  
  /* 모바일에서 헤더와 컨텐츠 간격 조정 */
  .main-header {
    padding: 1rem 0;
  }
  
  .page-wrap {
    margin-top: 0;
  }
}

/* 반응형 푸터 */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 0 1rem;
  }
  
  .footer-left {
    align-items: center;
  }
  
  .footer-center {
    justify-content: center;
  }
  
  .footer-right {
    justify-content: center;
  }
  
  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* 모바일에서 서비스 링크 숨김 */
  .link-group:first-child {
    display: none;
  }
  
  /* 모바일에서 고객지원 제목 숨김 */
  .link-group:last-child h4 {
    display: none;
  }
  
  /* 모바일에서 고객지원 링크를 가로로 배치 */
  .link-group:last-child ul {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .link-group:last-child li {
    margin-bottom: 0;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-main {
    max-width: none;
    margin: 0;
  }
  
  .footer-bottom {
    max-width: none;
    margin: 0;
  }
  
  /* 모바일 푸터 컴팩트 스타일 */
  .footer-brand {
    margin-bottom: 1rem;
  }
  
  .footer-logo {
    font-size: 1.3rem;
  }
  
  .footer-tagline {
    font-size: 0.8rem;
  }
  
  .company-details p {
    font-size: 0.75rem;
    margin: 0.3rem 0;
    line-height: 1.3;
  }
  
  .link-group h4 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .link-group a {
    font-size: 0.8rem;
  }
  
  .contact-info h4 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }
  
  .contact-item {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-icon {
    font-size: 0.9rem;
    width: 16px;
  }
  
  .copyright {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer-main {
    gap: 1.5rem;
    padding: 1.5rem 0 1rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
  
  .footer-tagline {
    font-size: 0.9rem;
  }
  
  .company-details p {
    font-size: 0.8rem;
    margin: 0.3rem 0;
  }
  
  .link-group h4,
  .contact-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }
  
  .link-group a,
  .contact-item {
    font-size: 0.85rem;
  }
}
