@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --bg: #f8fafc;
    --text: #1e293b;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --glow: rgba(59, 130, 246, 0.08);
    --max-width: 700px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

/* The subtle blue glow from kurtobando.com */
body::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
    z-index: -1;
}

.nav {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

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

.profile-card {
    max-width: var(--max-width);
    text-align: center;
}

.avatar-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.avatar-circle {
    width: 6rem;
    height: 6rem;
    background: white;
    padding: 3px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--text);
}

.title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 2rem;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 3rem auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
}

.companies-container {
    margin: 2.5rem 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.companies-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    font-weight: 600;
}

.companies-grid a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.companies-grid a:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

/* Mobile Adjustments */
@media (max-width: 640px) {
    body {
        padding: 1.5rem;
        align-items: center; /* Center vertically on mobile too, if height permits */
    }

    .nav {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.9);
        backdrop-filter: blur(8px);
        padding: 1rem;
        justify-content: center;
        border-top: 1px solid rgba(0,0,0,0.05);
        z-index: 100;
    }

    h1 {
        font-size: 2.25rem;
        margin-top: 1rem;
    }

    .title {
        font-size: 1.1rem;
    }

    .bio {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .companies-grid {
        gap: 1rem;
    }

    .profile-card {
        padding-bottom: 4rem; /* Space for fixed bottom nav */
    }
}
