:root {
    --bg-color: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --primary-color: #000000;
    --border-color: #e5e7eb;
    --radius-md: 12px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.text-center {
    text-align: center;
}

.section-bg {
    background-color: var(--bg-secondary);
}

section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 64px;
    text-align: center;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #333333;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links .btn-primary {
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 4px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding-top: 180px;
    padding-bottom: 100px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: #ecfdf5;
    color: #059669;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid #d1fae5;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid var(--bg-color);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About / Experience */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.experience-card {
    background: var(--bg-color);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.experience-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.exp-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 12px;
}

.experience-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

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

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

.skill-item {
    padding: 32px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
}

.skill-item .icon {
    font-size: 2rem;
    margin-bottom: 20px;
}

.skill-item h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}

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

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.project-link {
    color: var(--primary-color);
    font-weight: 600;
}

.project-link:hover {
    text-decoration: underline;
}

/* Contact */
.contact {
    padding: 180px 24px;
}

.contact p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    color: var(--text-secondary);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
        order: -1;
    }

    .image-wrapper {
        width: 250px;
        height: 250px;
    }

    .hero p {
        margin: 0 auto 40px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid,
    .skills-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        padding: 80px 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}