/*
|--------------------------------------------------------------------------
| BASE
|--------------------------------------------------------------------------
*/

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;

    font-family: Arial, "Noto Sans KR", sans-serif;
    color: #222;
    background: #f7f7f7;
}

a {
    color: inherit;
    text-decoration: none;
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.header-inner {
    width: 1200px;
    max-width: 100%;
    height: 76px;

    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*
|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/

.brand {
    display: flex;
    align-items: center;
    gap: 10px;

    font-weight: 800;
}

.brand-mark {
    width: 34px;
    height: 34px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111827;
    color: #ffffff;

    font-size: 16px;
    letter-spacing: -0.04em;
}

.brand-text {
    font-size: 22px;
    letter-spacing: -0.04em;
}

/*
|--------------------------------------------------------------------------
| GNB
|--------------------------------------------------------------------------
*/

.gnb-depth1 {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0;
    padding: 6px;

    list-style: none;

    background: rgba(15, 23, 42, 0.04);
    border-radius: 999px;
}

.gnb-depth1 > li {
    position: relative;
}

.gnb-depth1 > li > a {
    display: block;

    padding: 10px 16px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    color: #475569;

    transition: all 0.2s ease;
}

.gnb-depth1 > li:hover > a {
    background: #ffffff;
    color: #111827;

    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.gnb-depth2 {
    position: absolute;

    top: calc(100% + 12px);
    left: 0;

    min-width: 180px;

    margin: 0;
    padding: 10px;

    list-style: none;

    background: #ffffff;

    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;

    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.2s ease;
}

.has-depth:hover .gnb-depth2 {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.gnb-depth2 li a {
    display: block;

    padding: 12px 14px;

    border-radius: 12px;

    font-size: 14px;
    color: #334155;

    transition: all 0.2s ease;
}

.gnb-depth2 li a:hover {
    background: rgba(15, 23, 42, 0.05);
}

/*
|--------------------------------------------------------------------------
| HEADER SOCIAL BUTTONS
|--------------------------------------------------------------------------
*/

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-social-btn,
.mobile-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    font-weight: 800;

    transition: all 0.2s ease;
}

.header-social-btn {
    height: 36px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    transition: all 0.2s ease;
}

.header-social-btn:hover {
    transform: translateY(-1px);
}

.kakao-btn {
    background: #fee500;
    color: #191919;

    box-shadow: 0 10px 24px rgba(254, 229, 0, 0.18);
}

.naver-btn {
    background: #03c75a;
    color: #ffffff;

    box-shadow: 0 10px 24px rgba(3, 199, 90, 0.16);
}

/*
|--------------------------------------------------------------------------
| MOBILE BUTTON
|--------------------------------------------------------------------------
*/

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 14px;

    background: #111827;

    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;

    width: 18px;
    height: 2px;

    margin: 4px auto;

    background: #ffffff;
    border-radius: 999px;

    transition: all 0.2s ease;
}

.mobile-menu-bottom {
    display: none;
}

/*
|--------------------------------------------------------------------------
| BODY / CONTENT
|--------------------------------------------------------------------------
*/

.container {
    flex: 1;

    width: 1200px;
    max-width: 100%;

    margin: 0 auto;
    padding: 60px 24px;
}

.main-visual {
    padding: 80px 30px;

    background: #ffffff;

    border: 1px solid #e5e5e5;
    border-radius: 16px;

    text-align: center;
}

.main-visual h2 {
    margin: 0 0 16px;

    font-size: 42px;
}

.main-visual p {
    margin: 0;

    font-size: 18px;
    color: #666;
}

/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

.site-footer {
    background: #222;
    color: #ddd;
}

.footer-inner {
    width: 1200px;
    max-width: 100%;

    margin: 0 auto;
    padding: 32px 24px;

    font-size: 14px;
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;

    color: #ffffff;
}

.copy {
    color: #999;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .header-inner {
        height: 66px;
        padding: 0 18px;

        flex-wrap: nowrap;
        gap: 16px;
    }

    .brand-text {
        font-size: 20px;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;

        margin-left: auto;
    }

    .gnb {
        position: fixed;

        top: 66px;
        left: 0;
        right: 0;

        display: none;

        width: 100%;
        padding: 16px 18px 24px;

        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);

        border-bottom: 1px solid rgba(15, 23, 42, 0.08);

        box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
    }

    .gnb.is-open {
        display: block;
    }

    .gnb-depth1 {
        display: block;

        width: 100%;

        padding: 0;
        margin: 0;

        background: transparent;
        border-radius: 0;
    }

    .gnb-depth1 > li {
        border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    }

    .gnb-depth1 > li > a {
        padding: 16px 4px;

        border-radius: 0;

        font-size: 16px;
        color: #111827;
    }

    .gnb-depth1 > li:hover > a {
        background: transparent;
        box-shadow: none;
    }

    .gnb-depth2 {
        position: static;

        min-width: 100%;

        padding: 0 0 12px 14px;
        margin: 0;

        display: block;

        background: transparent;

        border: 0;
        border-radius: 0;

        box-shadow: none;

        opacity: 1;
        visibility: visible;

        transform: none;
    }

    .gnb-depth2 li a {
        padding: 8px 0;

        font-size: 14px;
        color: #64748b;
    }

    .gnb-depth2 li a:hover {
        background: transparent;
    }

    .mobile-menu-bottom {
        display: flex;
        flex-direction: column;

        gap: 10px;

        margin-top: 24px;
    }

    .mobile-social-btn {
        height: 48px;

        border-radius: 14px;

        font-size: 14px;
    }

    .container {
        padding: 36px 18px;
    }

    .main-visual {
        padding: 56px 22px;
    }

    .main-visual h2 {
        font-size: 32px;
    }

    .main-visual p {
        font-size: 16px;
    }

    .footer-inner {
        padding: 28px 18px;
    }

}