:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    /* Enable Scroll Snap */
}

/* Header & Logo */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    /* Space out Logo and Nav */
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    transition: background 0.3s ease;
    mix-blend-mode: difference;
    /* Ensure header is visible on white/black */
}

/* ... existing styles ... */

/* Sections */
.section {
    height: 100vh;
    /* Force full height behavior */
    width: 100%;
    scroll-snap-align: start;
    /* Snap to start of section */
    scroll-snap-stop: always;
    /* Force stop at each section */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    /* Reset specific paddings */
    position: relative;
    box-sizing: border-box;
}

.about-section {
    /* Remove specific overrides */
    flex-direction: column;
}

.hero {
    /* Remove specific overrides */
    flex-direction: column;
    padding-top: 0;
    /* Center perfectly */
}



.logo {
    font-size: 1.5rem;
    font-weight: 700;
    /* Bold */
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    cursor: pointer;
}

/* Navigation */
.nav-list {
    list-style: none;
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    opacity: 1;
}

.nav-link:hover::after {
    width: 100%;
}

/* Cleaned up old definitions replaced by the consolidated .section, .hero block above */

.container {
    max-width: 800px;
    width: 100%;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    opacity: 0.9;
}

.section-text {
    font-size: 1.5rem;
    line-height: 1.6;
    opacity: 0.7;
    font-weight: 300;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.contact-link:hover {
    border-color: rgba(255, 255, 255, 1);
}

.footer-copyright {
    /* Absolute positioning to keep Contact content perfectly centered in viewport */
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.4;
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-top: 0;
    padding-bottom: 0;
}

.contact-section {
    flex-direction: column !important;
    justify-content: center;
}

.contact-section .container {
    /* Reset margins to default for centering */
    margin: 0 auto;
    flex: 0 1 auto;
}

/* Safety for short screens to prevent overlap */
@media (max-height: 600px) {
    .footer-copyright {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
        padding-bottom: 1rem;
    }
}

/* About Section Specifics */
.about-since {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    opacity: 0.6;
    letter-spacing: 0.1em;
}

.about-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.about-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.about-desc {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-text {
    font-size: clamp(2rem, 8vw, 6rem);
    font-weight: 600;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.line {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    /* Will be animated by JS or CSS delay */
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Utility classes for animation delays */
/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.visible {
    opacity: 1;
    transform: translateY(0);
}