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

:root {
    --bg-color: #fafafa;
    --text-color: #1a1a1a;
    --text-secondary: #666;
    --accent-color: #3b82f6;
    --card-bg: #ffffff;
    --border-color: #e5e5e5;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Navigation */
.top-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 8px;
}

.nav-link {
    font-size: 16px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

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

.nav-link.active {
    color: var(--text-color);
    font-weight: 500;
}

/* Content Sections */
.content-section {
    display: none;
}

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

/* Header */
header {
    margin-bottom: 40px;
}

.profile-section {
    text-align: left;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.profile-pic {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

.tagline {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 16px;
}

.social-links {
    margin-top: 12px;
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.7;
}

/* Intro */
.intro {
    margin-bottom: 60px;
    font-size: 18px;
    line-height: 1.7;
}

/* Sections */
section {
    margin-bottom: 60px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-color);
}

h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

/* Experience */
.experience-item {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.experience-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.experience-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.experience-details h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.company {
    color: var(--accent-color);
}

.duration {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-description {
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience-description li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.experience-description li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Education */
.education-item {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.education-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.education-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.education-details h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.school {
    color: var(--accent-color);
    font-weight: 500;
}

.institution {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 4px;
}

/* Projects */
.project-item {
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.project-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    object-fit: cover;
}

.project-content h3 {
    margin-bottom: 12px;
    font-size: 17px;
}

.project-title-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.project-title-link:hover {
    color: var(--accent-color);
}

.project-description {
    list-style: none;
    padding: 0;
    margin-bottom: 16px;
}

.project-description li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 16px;
    position: relative;
    line-height: 1.6;
}

.project-description li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--bg-color);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Tech Stack */
.tech-categories {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tech-category {
    padding: 16px 20px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.tech-category h4 {
    margin-bottom: 6px;
    font-size: 13px;
}

.tech-category p {
    font-size: 15px;
    color: var(--text-secondary);
}

/* Posts */
.posts {
    margin-bottom: 60px;
}

.post-card {
    padding: 24px;
    background-color: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.post-card.coming-soon {
    opacity: 0.7;
}

.post-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.post-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.post-badge {
    padding: 4px 12px;
    background-color: var(--bg-color);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
}

.post-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.post-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.post-link:hover {
    opacity: 0.7;
}

.post-link.disabled {
    color: var(--text-secondary);
    cursor: default;
    opacity: 0.5;
}

.post-link.disabled:hover {
    opacity: 0.5;
}

/* What Excites Me */
.what-excites {
    margin-bottom: 60px;
}

.what-excites p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.what-excites strong {
    color: var(--text-color);
    font-weight: 600;
}

/* Find Me */
.subsection {
    margin-bottom: 32px;
}

.subsection h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.subsection p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.link-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.link-button:hover {
    opacity: 0.9;
}

/* Connect */
.connect {
    text-align: left;
}

.connect h2 {
    margin-bottom: 16px;
}

.connect p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.connect-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-primary {
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}

.small-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.small-text .x-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.small-text .x-link:hover {
    opacity: 0.7;
}

.x-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin: 0 2px;
}

.github-link {
    display: inline-flex;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.2s;
}

.github-link:hover {
    opacity: 0.7;
}

.github-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    margin: 0 2px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
}

footer p {
    font-size: 16px;
    margin-bottom: 20px;
}

footer hr {
    border: none;
    border-top: 1px solid var(--border-color);
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 24px 16px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 20px;
    }

    .experience-item,
    .project-item {
        flex-direction: column;
    }

    .experience-icon,
    .project-icon {
        width: 40px;
        height: 40px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

