:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;

    --dark: #111827;
    --text: #374151;
    --gray: #6b7280;

    --light-gray: #f3f4f6;
    --border: #e5e7eb;
    --white: #ffffff;

    --max-width: 1200px;
}

/* 기본 초기화 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans KR", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    word-break: keep-all;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

section {
    scroll-margin-top: 80px;
}

/* 공통 레이아웃 */

.container {
    width: calc(100% - 40px);
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-gray {
    background: #f8fafc;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--primary);

    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.section-title {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.section-description {
    color: var(--gray);
    font-size: 18px;
    line-height: 1.8;
}

/* 공통 버튼 */

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 54px;
    padding: 0 28px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: 16px;
    font-weight: 700;

    transition: 0.25s ease;
}

.button-primary {
    color: var(--white);
    background: var(--primary);

    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.25);
}

.button-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.button-outline {
    color: var(--dark);
    background: var(--white);
    border-color: var(--border);
}

.button-outline:hover {
    color: var(--primary);
    border-color: var(--primary);

    transform: translateY(-2px);
}

.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 20px;
    height: 20px;

    color: var(--white);
    background: var(--primary);
    border-radius: 50%;

    font-size: 12px;
}

/* 헤더 */

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);

    backdrop-filter: blur(15px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 76px;
}

.logo {
    color: var(--dark);

    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.05em;
}

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

.navigation-list {
    display: flex;
    align-items: center;
    gap: 35px;
}

.navigation-list a {
    color: #4b5563;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s ease;
}

.navigation-list a:hover {
    color: var(--primary);
}

.navigation-list .header-contact {
    padding: 11px 18px;

    color: var(--white);
    background: var(--primary);
    border-radius: 8px;
}

.navigation-list .header-contact:hover {
    color: var(--white);
    background: var(--primary-dark);
}

/* 모바일 메뉴 버튼 */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;
    padding: 8px;

    background: transparent;
    border: 0;

    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 100%;
    height: 2px;
    margin: 6px 0;

    background: var(--dark);

    transition: 0.25s ease;
}

/* 푸터 */

.footer {
    padding: 45px 0;

    background: #0b1120;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.footer-logo {
    color: var(--white);

    font-size: 21px;
    font-weight: 900;
}

.footer-logo span {
    color: #60a5fa;
}

.footer p {
    color: #6b7280;
    font-size: 13px;
}

/* 맨 위로 버튼 */

.top-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 900;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: var(--white);
    background: var(--primary);
    border: 0;
    border-radius: 50%;

    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.3);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: 0.25s ease;
}

.top-button.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

/* 태블릿 */

@media (max-width: 1024px) {
    .navigation-list {
        gap: 22px;
    }
}

/* 모바일 */

@media (max-width: 768px) {
    .container {
        width: calc(100% - 30px);
    }

    .section {
        padding: 80px 0;
    }

    .header-inner {
        min-height: 68px;
    }

    .logo {
        font-size: 21px;
    }

    .menu-button {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 68px;
        right: -100%;

        width: 100%;
        height: calc(100vh - 68px);

        padding: 35px 25px;

        background: var(--white);

        transition: 0.3s ease;
    }

    .navigation.open {
        right: 0;
    }

    .navigation-list {
        flex-direction: column;
        align-items: stretch;

        gap: 0;
    }

    .navigation-list li {
        border-bottom: 1px solid var(--border);
    }

    .navigation-list a {
        display: block;
        padding: 18px 5px;

        font-size: 16px;
    }

    .navigation-list .header-contact {
        margin-top: 20px;
        text-align: center;
    }

    .button-group {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}
