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

:root {
    --navy: #0a192f;
    --light-navy: #112240;
    --lightest-navy: #233554;
    --navy-shadow: rgba(2, 12, 27, 0.7);
    --dark-slate: #495670;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --green: #64ffda;
    --green-tint: rgba(100, 255, 218, 0.1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    --border-radius: 4px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 18px;
    line-height: 1.6;
    color: var(--slate);
    background-color: var(--navy);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 사이드바 */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 50px 0;
    z-index: 10;
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

.logo a {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 2px;
    transition: var(--transition);
    display: block;
    white-space: nowrap;
}

.logo a:hover {
    color: var(--white);
    transform: translateY(-5px);
}

.nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--light-slate);
    text-decoration: none;
    padding: 10px 5px;
    transition: var(--transition);
    display: block;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    white-space: nowrap;
    line-height: 1.5;
}

.nav-link span {
    color: var(--green);
    margin-right: 2px;
}

.nav-link:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.nav-link.active {
    color: var(--green);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.social-link {
    color: var(--light-slate);
    transition: var(--transition);
    padding: 10px;
}

.social-link:hover {
    color: var(--green);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* 모바일 네비게이션 */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background-color: var(--green-tint);
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    z-index: 1000;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: var(--green-tint);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--green);
    transition: var(--transition);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(75vw, 400px);
    height: 100vh;
    background-color: var(--light-navy);
    z-index: 999;
    padding: 50px 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 30px -15px var(--navy-shadow);
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.mobile-nav-header .logo {
    font-family: var(--font-mono);
    font-size: 24px;
    color: var(--green);
    writing-mode: initial;
    text-orientation: initial;
    transform: none;
}

.mobile-nav-close {
    background: none;
    border: none;
    color: var(--green);
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--light-slate);
    text-decoration: none;
    padding: 10px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-nav-link span {
    color: var(--green);
}

.mobile-nav-link:hover {
    color: var(--green);
}

/* 메인 컨텐츠 */
.main-content {
    margin-left: 100px;
    min-height: 100vh;
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    max-width: 1200px;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
}

.hero-content {
    width: 100%;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: inline-block;
}

.hero-profile-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--green);
    filter: grayscale(100%);
    opacity: 0.85;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    display: block;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 2px solid var(--green);
    border-radius: var(--border-radius);
    z-index: 0;
    transition: var(--transition);
    pointer-events: none;
    box-sizing: border-box;
}

.hero-image-wrapper:hover::before {
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
}

.hero-image-wrapper:hover .hero-profile-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--green);
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease;
}

.hero-name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    color: var(--lightest-slate);
    margin-bottom: 10px;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-description {
    font-size: 20px;
    color: var(--slate);
    max-width: 540px;
    margin-bottom: 50px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.cta-button {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--green);
    text-decoration: none;
    padding: 18px 50px;
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    background-color: transparent;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease 0.4s both;
}

.cta-button:hover {
    background-color: var(--green-tint);
    transform: translateY(-3px);
}

/* 섹션 공통 스타일 */
.section {
    padding: 100px 50px;
    max-width: 1000px;
}

.section-container {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 400;
    color: var(--green);
    margin-top: 5px;
    min-width: 100px;
}

.section-content {
    flex: 1;
}

.section-title {
    font-size: clamp(26px, 5vw, 32px);
    font-weight: 600;
    color: var(--lightest-slate);
    margin-bottom: 30px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--lightest-navy);
    max-width: 300px;
}

/* About 섹션 */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--slate);
    line-height: 1.7;
}

.about-text p:last-of-type {
    margin-bottom: 0;
}

.philosophy-quote {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--green);
    font-style: italic;
    margin-top: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--green);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: inline-block;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    border: 2px solid var(--green);
    position: relative;
    display: block;
    transition: var(--transition);
    filter: grayscale(100%);
    opacity: 0.85;
    z-index: 1;
}

.profile-image:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px var(--navy-shadow);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    border: 2px solid var(--green);
    border-radius: var(--border-radius);
    z-index: 0;
    transition: var(--transition);
    opacity: 0.5;
    pointer-events: none;
    box-sizing: border-box;
}

.image-wrapper:hover::before {
    top: 15px;
    left: 15px;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    opacity: 1;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid var(--green);
    border-radius: var(--border-radius);
    z-index: -1;
    opacity: 0.2;
    transition: var(--transition);
    pointer-events: none;
    box-sizing: border-box;
}

.image-wrapper:hover::after {
    opacity: 0.4;
    top: -15px;
    left: -15px;
    width: calc(100% + 30px);
    height: calc(100% + 30px);
}

/* 지원 동기 섹션 */
.motivation-content p {
    margin-bottom: 20px;
    color: var(--slate);
    line-height: 1.7;
}

.motivation-content p:last-of-type {
    margin-bottom: 0;
}

/* 성격 섹션 */
.personality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 30px;
}

.personality-label {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--green);
    margin-bottom: 20px;
}

.personality-list {
    list-style: none;
}

.personality-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    padding-left: 30px;
    align-items: flex-start;
}

.personality-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 2px;
    height: calc(100% - 20px);
    background-color: var(--lightest-navy);
}

.list-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--green);
    min-width: 40px;
    flex-shrink: 0;
}

.personality-list li > div {
    flex: 1;
}

.personality-list strong {
    display: block;
    color: var(--lightest-slate);
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600;
}

.personality-list p {
    color: var(--slate);
    line-height: 1.6;
    margin: 0;
}

/* 경험 섹션 */
.experience-timeline {
    position: relative;
    padding-left: 30px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--lightest-navy);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--green);
    border: 2px solid var(--navy);
    box-shadow: 0 0 0 2px var(--green);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.timeline-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--lightest-slate);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--green);
}

.timeline-content p {
    color: var(--slate);
    margin-bottom: 15px;
    line-height: 1.7;
}

.timeline-content p:last-of-type {
    margin-bottom: 0;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    list-style: none;
}

.tech-list li {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--green);
    padding: 5px 12px;
    background-color: var(--green-tint);
    border-radius: var(--border-radius);
}

/* 포부 섹션 */
.future-content {
    display: grid;
    gap: 30px;
}

.future-item {
    padding: 25px;
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    border: 1px solid var(--lightest-navy);
    transition: var(--transition);
}

.future-item:hover {
    transform: translateY(-5px);
    border-color: var(--green);
    box-shadow: 0 10px 30px -15px var(--navy-shadow);
}

.future-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--lightest-slate);
    margin-bottom: 15px;
    font-family: var(--font-mono);
}

.future-item p {
    color: var(--slate);
    line-height: 1.7;
    margin: 0;
}

/* 푸터 */
.footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid var(--lightest-navy);
    margin-top: 100px;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer p {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--slate);
    margin-bottom: 5px;
}

.footer-year {
    color: var(--green);
}

/* 애니메이션 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 반응형 디자인 */
@media (max-width: 1080px) {
    .section-container {
        gap: 30px;
    }
    
    .section-number {
        min-width: 60px;
    }
}

@media (max-width: 1080px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero {
        padding: 100px 25px 50px;
        min-height: auto;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper {
        max-width: 250px;
    }
    
    .section {
        padding: 80px 25px;
    }
    
    .section-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .section-number {
        min-width: auto;
    }
    
    .section-title {
        flex-wrap: wrap;
    }
    
    .section-title::after {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .personality-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .personality-list li {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .profile-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 40px;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
