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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    line-height: 1.2;
    color: #333;
    background-color: #fff;
}

a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #000;
}

.wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.profile-header .profile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-header .profile-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.profile-header .profile-title {
    display: flex;
    align-items: end;
    gap: 0.4rem;
}

.profile-header .name {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 0;
}

.profile-header .job-title {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

.profile-header .social-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-header .social-links li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.profile-header .social-links .icon {
    width: 18px;
    height: 18px;
    color: #6b7280;
    flex-shrink: 0;
}

.profile-header .social-links a {
    color: #4b5563;
}

.profile-header .social-links a:hover {
    color: #000;
}

.profile-header .profile-bio {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
}

.content {
    width: 100%;
}

.section {
    margin-bottom: 4rem;
}

.section:last-child {
    margin-bottom: 0;
}

.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
}

.skill-group {
    margin-bottom: 2rem;
    gap: 1rem;
}

.skill-group:last-child {
    margin-bottom: 0;
}

.skill-group h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.skill-group ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.skill-group li {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.2;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.skill-group li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1f2937;
    font-weight: bold;
}

.experience-item {
    margin-bottom: 2.5rem;
    padding-left: 1.25rem;
    border-left: 4px solid #1f2937;
}

.experience-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.experience-header {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.experience-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.period {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

.position {
    font-size: 1rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company-link {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #4b5563;
}

.company-link:hover {
    color: #000;
    text-decoration: underline;
}

.experience-description {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1rem;
}

.project-list {
    list-style: none;
    margin-left: 0;
    margin-top: 1.5rem;
}

.project-list > li {
    margin-bottom: 1.5rem;
}

.project-title {
    font-weight: 700;
    color: #1f2937;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.project-details {
    list-style: disc;
    list-style-position: inside;
    margin-left: 0;
    margin-top: 0.5rem;
}

.project-details li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 0.5rem;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.container header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.container .subtitle {
    font-size: 1.5rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.container nav {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.btn:hover {
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 768px) {
    .wrapper {
        padding: 2rem 1rem;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
    }

    .profile-header .profile-content {
        width: 100%;
    }

    .profile-header .profile-top {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .profile-header .profile-title {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
    }

    .profile-header .name {
        font-size: 1.6rem;
    }

    .profile-header .job-title {
        font-size: 0.95rem;
    }

    .profile-header .social-links {
        align-items: center;
    }

    .profile-header .profile-bio {
        text-align: center;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-header h3 {
        font-size: 1.25rem;
    }
}

@media print {
    .wrapper {
        padding: 1rem;
    }

    a {
        color: #333;
        text-decoration: none;
    }
}
