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

:root {
    --bg-primary: #1a1d2e;
    --bg-secondary: #252a3d;
    --text-primary: #e4e6eb;
    --text-secondary: #9ca3af;
    --text-muted: #d1d5db;
    --accent: #8ab4f8;
    --border-color: rgba(255, 255, 255, 0.1);
    --btn-border: rgba(255, 255, 255, 0.2);
    --btn-hover-bg: rgba(138, 180, 248, 0.1);
}

[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #475569;
    --accent: #3b82f6;
    --border-color: rgba(0, 0, 0, 0.1);
    --btn-border: rgba(0, 0, 0, 0.15);
    --btn-hover-bg: rgba(59, 130, 246, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

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

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

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

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 2rem;
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    margin-bottom: 2rem;
    object-fit: cover;
}

h1 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.bio {
    max-width: 800px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 1px solid var(--btn-border);
    border-radius: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: var(--btn-hover-bg);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .profile-image {
        width: 220px;
        height: 220px;
    }

    .bio {
        font-size: 1rem;
    }

    .contact-buttons {
        gap: 1rem;
    }

    .contact-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}