@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;}
a:link {color:#636363; text-decoration: none;}
a:visited {color:#636363; text-decoration: none;}
a:hover {color:#ffffff; text-decoration: none;}

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;}

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

/* ==========================================================================
   디자인 토큰 변수 주입 (:root)
   ========================================================================== */
:root {
    --brand-primary: #0064FF;
    --brand-primary-hover: #0050CC;
    --brand-primary-light: #E6F0FF;
    --neutral-white: #FFFFFF;
    --neutral-50: #F9FAFB;
    --neutral-100: #F2F4F6;
    --neutral-200: #E5E8EB;
    --neutral-300: #D1D6DB;
    --neutral-400: #B0B8C1;
    --neutral-500: #8B95A1;
    --neutral-600: #6B7684;
    --neutral-700: #4E5968;
    --neutral-800: #333D4B;
    --neutral-900: #191F28;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --shadow-sm: 0 4px 12px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 32px 0 rgba(0, 0, 0, 0.05);
    --shadow-focus: 0 0 0 4px rgba(0, 100, 255, 0.16);
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   GNB 헤더 스타일 (Minimal Header)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background-color: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--neutral-100);
    z-index: 1000;
    transition: var(--transition-fast);
}

.header-inner {
    max-width: 1100px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--neutral-900);
    letter-spacing: 0;
    text-decoration: none;
}

.logo-highlight {
    color: var(--brand-primary);
}

/* GNB 메뉴 */
.nav-menu ul {
    display: flex;
    gap: 36px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--neutral-600);
    padding: 8px 0;
    transition: var(--transition-fast);
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary);
}

/* 헤더 액션 버튼 */
.user-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-700) !important;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-login:hover {
    color: var(--neutral-900) !important;
    background-color: var(--neutral-100);
}

.btn-signup {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-white) !important;
    background-color: var(--brand-primary);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-signup:hover {
    background-color: var(--brand-primary-hover);
}

/* 모바일 버튼 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--neutral-800);
    transition: var(--transition-fast);
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ==========================================================================
   푸터 스타일 (Toss Light Footer)
   ========================================================================== */
.footer-container {
    width: 100%;
    background-color: var(--neutral-50);
    border-top: 1px solid var(--neutral-100);
    padding: 80px 24px 48px 24px;
    color: var(--neutral-500);
    margin-top: auto; /* 푸터를 하단에 고정 */
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 320px;
}

.brand-desc {
    font-size: 14px;
    color: var(--neutral-500);
    margin-top: 12px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.link-group h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--neutral-700);
    margin-bottom: 16px;
    margin-top: 0;
}

.link-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-group a {
    font-size: 14px;
    color: var(--neutral-500) !important;
    transition: var(--transition-fast);
    text-decoration: none;
}

.link-group a:hover {
    color: var(--brand-primary) !important;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--neutral-200);
    margin: 0 0 32px 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-info {
    font-size: 12px;
    line-height: 1.7;
}

.company-info span {
    font-weight: 700;
    color: var(--neutral-700);
}

.disclaimer-text {
    font-size: 11px;
    color: var(--neutral-400);
    line-height: 1.6;
    background-color: var(--neutral-100);
    padding: 16px 20px;
    border-radius: var(--radius-md);
}

.disclaimer-label {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    margin-right: 6px;
    border-radius: var(--radius-full);
    background-color: var(--neutral-white);
    color: var(--neutral-600);
    font-size: 10px;
    font-weight: 700;
}

.copyright {
    font-size: 12px;
    color: var(--neutral-400);
}

/* ==========================================================================
   모바일 반응형 헤더/푸터 미디어 쿼리
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-menu, .user-actions {
        display: none;
    }

    .main-header.menu-open {
        background-color: rgba(255, 255, 255, 0.96);
        border-bottom-color: var(--neutral-100);
    }

    .main-header.menu-open .header-inner {
        position: relative;
    }

    .main-header.menu-open .nav-menu,
    .main-header.menu-open .user-actions {
        display: flex;
        position: absolute;
        left: 20px;
        right: 20px;
        z-index: 1001;
    }

    .main-header.menu-open .nav-menu {
        top: 72px;
        padding: 20px 0 16px;
        background-color: var(--neutral-white);
        border-top: 1px solid var(--neutral-100);
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        box-shadow: var(--shadow-md);
    }

    .main-header.menu-open .nav-menu ul {
        width: 100%;
        flex-direction: column;
        gap: 2px;
    }

    .main-header.menu-open .nav-link {
        display: flex;
        padding: 14px 20px;
        color: var(--neutral-800);
    }

    .main-header.menu-open .user-actions {
        top: 266px;
        padding: 0 20px 20px;
        gap: 10px;
        background-color: var(--neutral-white);
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        box-shadow: var(--shadow-md);
    }

    .main-header.menu-open .btn-login,
    .main-header.menu-open .btn-signup {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 44px;
    }

    .mobile-menu-btn {
        display: flex;
    }
}
