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

:root {
    --bg: #0d1117;
    --bg-secondary: #161b22;
    --border: #30363d;
    --text: #e6edf3;
    --text-secondary: #8b949e;
    --accent: #58a6ff;
    --accent-hover: #79b8ff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

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

/* Header */
.header {
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.social-links svg {
    display: block;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

.section:last-of-type {
    border-bottom: none;
}

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

.section > p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Highlight Box */
.highlight-box {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px 24px;
    margin-top: 24px;
}

.highlight-box h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.highlight-box li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Projects */
.project {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.project:last-child {
    border-bottom: none;
}

.project h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.project p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

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

.tags span {
    background: var(--bg-secondary);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border);
}

/* Experience */
.experience-item {
    margin-bottom: 40px;
}

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

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

.experience-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.company-info {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 16px;
}

.role {
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 2px solid var(--border);
}

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

.role h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.role-date {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.role-location {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.role > p:not(.role-location) {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.role ul,
.experience-item > ul {
    list-style: none;
    padding: 0;
}

.role li,
.experience-item > ul li {
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
    font-size: 0.95rem;
}

.role li::before,
.experience-item > ul li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.experience-item > ul li strong {
    color: var(--text);
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-group h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.skill-group li {
    color: var(--text-secondary);
    padding: 3px 0;
    font-size: 0.95rem;
}

/* Education */
.education-item {
    margin-bottom: 20px;
}

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

.education-item h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.education-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.professional-dev {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.professional-dev h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 16px;
}

.professional-dev h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.professional-dev p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.professional-dev a {
    color: var(--accent);
    text-decoration: none;
}

.professional-dev a:hover {
    text-decoration: underline;
}

.professional-dev ul {
    list-style: none;
    padding: 0;
}

.professional-dev li {
    color: var(--text-secondary);
    padding: 3px 0;
    padding-left: 16px;
    position: relative;
    font-size: 0.9rem;
}

.professional-dev li::before {
    content: "-";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.certifications-list {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.certifications-list h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.certifications-list ul {
    list-style: none;
    padding: 0;
}

.certifications-list li {
    color: var(--text-secondary);
    padding: 4px 0;
    font-size: 0.95rem;
}

/* Contact */
#contact > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.contact-links a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.location {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

    .header {
        padding: 60px 0 40px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .nav {
        gap: 16px;
    }

    .section {
        padding: 36px 0;
    }

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

    .experience-header {
        flex-direction: column;
        gap: 4px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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