@charset "UTF-8";

/* [Variables & Reset] */
:root {
    /* Dark Theme Variables */
    --bg-color: #0a0a0a;
    --text-main: #ffffff;
    --text-sub: #a1a1aa;

    /* Gradients */
    --accent-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --accent-color: #8b5cf6;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    --container-width: 1280px;
    --header-height: 80px;
}

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

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* [Typography Utils] */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* [Animation] */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* [Header & Dropdown] */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s;
    background: transparent;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
}

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

/* 로고 스타일 */
.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    width: auto;
    height: 40px;
    object-fit: contain;
}

/* PC 네비게이션 */
nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

nav a:hover,
nav a.active {
    color: #fff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-gradient);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 8px;
    z-index: 2000;
    flex-direction: column;
    margin-top: 20px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    color: #ccc;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
}

.dropdown-menu a::after {
    display: none;
}

/* Remove underline effect */
.dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* [Mobile Menu Button] */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* [Responsive - Mobile Menu] */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0a0a0a;
        z-index: 1000;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    nav a {
        font-size: 22px;
        font-weight: 700;
        color: #fff;
    }

    .dropdown {
        display: block;
        height: auto;
    }

    .dropdown-menu {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 0;
        margin-top: 10px;
        background: transparent;
        border: none;
        width: 100%;
    }

    .dropdown-menu a {
        font-size: 18px;
        color: #888;
        padding: 8px;
    }
}

/* [Footer] */
footer {
    background: #050505;
    color: #888;
    padding: 100px 0 40px;
    font-size: 14px;
    border-top: 1px solid #222;
}

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

.f-logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.f-links h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 16px;
}

.f-links ul li {
    margin-bottom: 12px;
}

.f-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #555;
}

/* [Common Components] */
.section-padding {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: #888;
    align-items: center;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    min-width: 160px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    padding: 8px;
    z-index: 2000;
    flex-direction: column;
    margin-top: 20px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    color: #ccc;
    text-align: center;
    white-space: nowrap;
    border-radius: 6px;
}

.dropdown-menu a::after {
    display: none;
}

/* Remove underline effect */
.dropdown-menu a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* [Mobile Menu Button] */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

/* [Responsive - Mobile Menu] */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0a0a0a;
        z-index: 1000;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    nav a {
        font-size: 22px;
        font-weight: 700;
        color: #fff;
    }

    .dropdown {
        display: block;
        height: auto;
    }

    .dropdown-menu {
        display: block;
        position: static;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 0;
        margin-top: 10px;
        background: transparent;
        border: none;
        width: 100%;
    }

    .dropdown-menu a {
        font-size: 18px;
        color: #888;
        padding: 8px;
    }
}

/* [Footer] */
footer {
    background: #050505;
    color: #888;
    padding: 100px 0 40px;
    font-size: 14px;
    border-top: 1px solid #222;
}

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

.f-logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    display: block;
}

.f-links h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 16px;
}

.f-links ul li {
    margin-bottom: 12px;
}

.f-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #555;
}

/* [Common Components] */
.section-padding {
    padding: 140px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: #888;
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Sub Page Header */
.page-header {
    background: #0a0a0a;
    color: #fff;
    padding: 200px 0 100px;
    text-align: center;
}

/* [Mobile Optimization - Global] */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .page-header {
        padding: 140px 0 80px;
    }
}