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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 800px;
    margin: 60px auto;
    padding: 60px 40px;
    background-color: #ffffff;
    min-height: calc(100vh - 120px);
    border-left: 4px solid #1a1a1a;
    border-right: 4px solid #1a1a1a;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
    position: relative;
}

header {
    margin-bottom: 20px;
    padding-bottom: 15px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #000;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a 0%, #666 100%);
    animation: blink 1s ease-in-out 3;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.subtitle {
    font-size: 1.25rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95rem;
    color: #000;
}

.contact span {
    color: #ccc;
}

.contact span:not(.location) {
    content: '|';
}

.contact .location {
    color: #666;
}

.contact a {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

.contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #1a1a1a;
    transition: width 0.3s ease;
}

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

.contact a:hover {
    color: #1a1a1a;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.skill-category {
    line-height: 1.6;
}

.skill-label {
    font-weight: 700;
    color: #555;
    margin-right: 6px;
}

.skill-list {
    color: #1a1a1a;
    font-weight: 400;
}

.skill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 3px 6px;
    border-radius: 0;
    font-size: 0.65rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #1a1a1a;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.skill-tag:hover::before {
    left: 0;
}

.skill-tag:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about {
    margin-bottom: 50px;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1a1a1a;
    font-weight: 400;
    border-left: 4px solid #1a1a1a;
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(0,0,0,0.02) 0%, transparent 100%);
    padding-top: 20px;
    padding-bottom: 20px;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    position: relative;
    padding-left: 16px;
}

h2::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #1a1a1a;
    font-weight: 700;
}

.job {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    padding: 20px;
    margin-left: -20px;
    margin-right: -20px;
    border-left: 3px solid transparent;
}

.job:hover {
    background-color: #fafafa;
    border-left-color: #1a1a1a;
}

.job:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

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

h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 0;
}

.company {
    font-size: 1.25rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 4px;
}

.period {
    font-size: 0.95rem;
    color: #333;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.period::before {
    content: '[';
    color: #888;
    margin-right: 2px;
}

.period::after {
    content: ']';
    color: #888;
    margin-left: 2px;
}

ul {
    list-style-position: outside;
    margin-left: 20px;
}

li {
    margin-bottom: 10px;
    color: #2a2a2a;
    line-height: 1.6;
}

.other p {
    margin-bottom: 8px;
    color: #444;
}

footer {
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .container {
        padding: 40px 24px;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .contact {
        flex-direction: column;
        gap: 6px;
    }

    .contact span {
        display: none;
    }

    .job-header {
        flex-direction: column;
    }

    h2 {
        font-size: 1.5rem;
    }
}

@media print {
    body {
        background-color: white;
    }

    .container {
        max-width: 100%;
        padding: 20px;
    }

    .skill-tag {
        background-color: #f5f5f5;
    }
}
