:root {
    --color-bg: #fafaf8;
    --color-text: #1a1a1a;
    --color-text-light: #666;
    --color-accent: #2c5f4f;
    --color-border: #e5e5e0;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-top: 80px;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-bg);
    z-index: 1000;
    padding: 1.5rem 0;
}

.header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.burger-menu {
    display: none;
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-menu span {
    position: absolute;
    left: 4px;
    right: 4px;
    height: 2px;
    background: var(--color-text);
    display: block;
    transform-origin: center;
    transition: transform 200ms ease, top 200ms ease, opacity 0s linear;
}

.burger-menu span:nth-child(1) {
    top: 8px;
}

.burger-menu span:nth-child(2) {
    top: 14px;
}

.burger-menu span:nth-child(3) {
    top: 20px;
}

.burger-menu.active span:nth-child(1) {
    top: 14px;
    transform: rotate(45deg);
}

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

.burger-menu.active span:nth-child(3) {
    top: 14px;
    transform: rotate(-45deg);
}

h1 {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

a {
    color: var(--color-accent);
    text-decoration: none;
    padding-bottom: 1px;
    transition: opacity 0.1s ease;
}

a:hover {
    opacity: 0.9;
}

a:visited {
    color: var(--color-accent);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
}

.tabs {
    position: sticky;
    top: 80px;
    background: var(--color-bg);
    z-index: 100;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 0 2rem;
    transition: transform 0.3s ease;
}

.about-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    padding-top: 2rem;
}

.about-left {
    flex-shrink: 0;
}

.about-right {
    flex: 1;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-border);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.bio-section {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.bio-section p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

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

    from {
        opacity: 0;
        transform: translateY(20px);
    }
}

.tab-button {
    background: none;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 400;
    pointer-events: auto;
    z-index: 10;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-button:hover {
    color: var(--color-text);
}

.tab-button.active {
    color: var(--color-text);
}

.tab-button.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.experience-item,
.education-item {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.experience-item:hover,
.education-item:hover {
    border-left-color: var(--color-accent);
}

.item-header {
    margin-bottom: 0.5rem;
}

.period {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.position {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0.3rem 0;
    color: var(--color-text);
}

.organization,
.authors {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
}

.description {
    color: var(--color-text-light);
    line-height: 1.7;
}

.description ul {
    list-style: none;
    margin-top: 0.5rem;
}

.description li {
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.description li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.project-section {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.project-section:hover {
    border-left-color: var(--color-accent);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-text);
}

.resource-list {
    list-style: none;
    padding-left: 0;
}

.resource-list li {
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
}

.resource-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

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

.publication-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
    transition: border-color 0.3s ease;
}

.publication-item:hover {
    border-left-color: var(--color-accent);
}

.pub-venue {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pub-venue .venue-full-name {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    opacity: 0.9;
}

.pub-title {
    font-size: 1.1rem;
    margin-top: 0.4rem;
    color: var(--color-text);
}

footer {
    text-align: center;
    padding: 3rem 2rem 2rem;
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin-top: 4rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 800px;
    height: 1px;
    background: var(--color-border);
}

footer .contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

footer .contact-links a {
    color: var(--color-accent);
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

footer .contact-links a:hover {
    color: var(--color-text);
    transform: translateY(-2px);
}

footer p {
    margin: 0;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .fixed-header {
        padding: 1rem 0;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .burger-menu {
        display: flex;
    }

    .tabs {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        border-bottom: none;
        border-top: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .tabs.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .tab-button {
        width: 100%;
        text-align: left;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
    }

    .tab-button::after {
        display: none;
    }

    .tab-button.active {
        background: rgba(44, 95, 79, 0.05);
    }

    .container {
        padding: 0 1.5rem 2rem;
    }

    .about-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 1.5rem;
    }

    .avatar {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.3rem;
    }

    .position {
        font-size: 1.1rem;
    }

    footer .contact-links a {
        font-size: 1.2rem;
    }

    .avatar {
        width: 120px;
        height: 120px;
    }
}