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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: #ffffff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
}

nav {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #1a1a1a;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    color: #1a1a1a;
    text-align: center;
    padding: 6rem 2rem 4rem;
}

.hero-content {
    max-width: 600px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    overflow: hidden;
}

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

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1a1a1a;
}

.highlight {
    color: #1a1a1a;
    text-decoration: underline;
    text-decoration-color: #4f46e5;
    text-underline-offset: 4px;
}

.subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.location {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.7rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background: #4f46e5;
    color: #ffffff;
}

.btn-secondary {
    background: transparent;
    color: #4f46e5;
    border: 1px solid #4f46e5;
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section-alt {
    background: #fafafa;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.section h2 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
}

.section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.quote {
    font-style: italic;
    border-left: 3px solid #4f46e5;
    padding: 1rem 1.5rem;
    background: #fafafa;
    color: #444;
    margin: 1.5rem 0;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-card {
    background: #ffffff;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.skill-card:hover {
    border-color: #4f46e5;
}

.skill-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.skill-card h3 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-size: 1rem;
}

.skill-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.project-card {
    background: #ffffff;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    border-color: #4f46e5;
}

.project-card h3 {
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.project-card p {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #f3f4f6;
    color: #4f46e5;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-link {
    display: inline-block;
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

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

/* Contact */
.contact-text {
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.contact-link {
    background: #ffffff;
    color: #1a1a1a;
    padding: 0.75rem 1.5rem;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.contact-link:hover {
    border-color: #4f46e5;
    color: #4f46e5;
}

.contact-link span {
    margin-right: 0.4rem;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 2rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 640px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .subtitle {
        font-size: 1rem;
    }

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

    .contact-links {
        flex-direction: column;
        align-items: center;
    }
}
