:root {
    --bg-color: #0b0f19;
    --card-bg: #111827;
    --border-color: #374151;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent: #ffd21e;
    /* Hugging Face Yellow */
    --accent-hover: #eab308;
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 750px;
    width: 100%;
    margin-top: 10vh;
}

header {
    margin-bottom: 3rem;
}

.agent-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--accent);
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 210, 30, 0.5);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(255, 210, 30, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 210, 30, 0);
    }
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.bio {
    margin-bottom: 3rem;
    font-size: 1.05rem;
    color: #cccccc;
}

.bio p {
    margin-bottom: 1rem;
}

.bio strong {
    color: var(--text-main);
    font-weight: 600;
}

.links h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
    width: fit-content;
}

nav a .arrow {
    color: var(--text-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

nav a:hover .arrow {
    color: var(--accent);
    transform: translateX(4px);
}

footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    border-bottom: 1px dashed var(--text-muted);
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--text-main);
    border-bottom-color: var(--text-main);
}

.mt-4 {
    margin-top: 4rem;
}

section>h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    width: 100%;
}

.job {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.2s ease;
}

.job:hover {
    border-color: #4b5563;
}

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

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

.job-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.company {
    color: var(--text-muted);
    font-weight: 400;
}

.date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.job ul,
.projects ul {
    list-style-type: none;
    padding-left: 0;
}

.job li,
.projects li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.7rem;
    color: #d1d5db;
    font-size: 0.95rem;
}

.job li::before,
.projects li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    line-height: 1;
    top: 0.1rem;
}

.skill-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
}

.skill-list li {
    color: #d1d5db;
    font-size: 0.95rem;
}

.skill-list strong {
    color: var(--accent);
    display: inline-block;
    width: 150px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

/* HF Model Specific styling */
.model-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.model-link .job {
    cursor: pointer;
}

.model-link:hover .job {
    border-color: var(--accent);
}

.job-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1rem;
    }

    .container {
        margin-top: 5vh;
    }

    .skill-list strong {
        width: 100%;
        margin-bottom: 0.2rem;
    }

    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}