:root {
    --bg-main: #ffffff;
    --text-main: #111111;
    --text-sub: #666666;
    --accent: #111111;
    --line-soft: #eeeeee;
}

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

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    transition: 0.25s;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.45);
}

.header {
    position: fixed;
    width: 100%;
    padding: 28px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.header__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}

.header__logo a {
    color: inherit;
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    display: block;
}

.header__logo::after {
    content: "THE PREMIUM SERVICE";
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #888;
    margin-top: 4px;
    text-transform: uppercase;
}

.header__nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.header__nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s;
}

.header__nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 1px;
    background: var(--text-main);
    transition: 0.3s;
}

.header__nav a:hover::after {
    width: 100%;
}

.menu-trigger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-trigger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s;
}

.footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 40px 0;
    font-family: 'Pretendard', -apple-system, sans-serif;
    color: #666;
    line-height: 1.6;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-menu {
    margin-bottom: 20px;
}

.footer-menu a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    margin-right: 25px;
}

.footer-menu a.bold {
    font-weight: bold;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.company-name {
    font-size: 16px;
    color: #111;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.info-row {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.info-row span {
    margin-right: 15px;
}

.info-row a {
    color: inherit;
    text-decoration: none;
}

.copyright {
    font-size: 12px;
    color: #b0b0b0;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

html {
	scroll-behavior: smooth;
}

body {
	animation: pageFadeIn 0.7s ease;
}

@keyframes pageFadeIn {
	from {
		opacity: 0;
		transform: translateY(18px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

a,
button {
	transition: opacity 0.25s ease, transform 0.25s ease;
}

a:active,
button:active {
	transform: scale(0.97);
	opacity: 0.7;
}

@media (max-width: 768px) {

    .header {
        padding: 16px 20px;
    }

    .header__logo {
        font-size: 16px;
        z-index: 1001;
    }

    .menu-trigger {
        display: flex;
        width: 24px;
        height: 16px;
        z-index: 1001;
    }

    .menu-trigger span {
        height: 2px;
    }

    .menu-trigger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-trigger.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s;
        z-index: 998;
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    .header__nav {
        display: flex;
        position: fixed;
        top: 0;
        right: -75%;
        width: 75%;
        height: 100vh;
        background: var(--bg-main);

        flex-direction: column;
        justify-content: flex-start;

        padding-top: 80px;
        padding-left: 20px;

        gap: 24px;

        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .header__nav.is-open {
        right: 0;
    }

    .header__nav a {
        font-size: 20px;
        font-weight: 500;
        text-align: left;
    }

    .header__nav a::after {
        display: none;
    }

    .footer {
        padding: 30px 0;
        text-align: left;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 20px;
        margin-bottom: 20px;
    }

    .footer-menu a {
        margin-right: 0;
        font-size: 13px;
    }

    .info-row {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin-bottom: 15px;
        font-size: 12px;
    }

    .info-row span {
        margin-right: 0;
    }

    .company-name {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .copyright {
        margin-top: 15px;
        font-size: 11px;
    }

    ::-webkit-scrollbar {
        display: none;
    }
}