:root {
    --bg: #0e0e0e;
    --fg: #d0d0d0;
    --muted: #888;
    --accent: #333;
    --line: rgba(255, 255, 255, 0.1);
    --font-main: "Inter", sans-serif;
    --font-mono: "JetBrains Mono", monospace;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--font-mono);
    /* Retro: Default to Mono */
    background-color: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- RETRO NOISE OVERLAY --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- CONTAINER --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin-top: 0;
    color: white;
}

h1 {
    font-family: var(--font-main);
    /* Keep main title legible but bold */
    font-size: 3rem;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

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

.section-title {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 1.5rem;
    border-bottom: 1px dashed var(--line);
    padding-bottom: 0.5rem;
    display: inline-block;
}

p {
    margin-bottom: 1rem;
    max-width: 65ch;
}

.highlight-text {
    border: 1px solid var(--line);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    /* Slightly boxy */
    margin-top: 2rem;
    font-style: italic;
    color: #fff;
    font-family: var(--font-main);
}

/* --- LISTS --- */
.clean-list {
    list-style: none;
    padding: 0;
}

.clean-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
}

.clean-list li::before {
    content: ">";
    margin-right: 10px;
    color: var(--muted);
    font-weight: bold;
}

.clean-list li:last-child {
    border-bottom: none;
}

/* --- SECTIONS --- */
.section {
    margin-bottom: 5rem;
}

/* --- EXPERIENCE --- */
.experience-item {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--line);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.experience-company {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.experience-role {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--muted);
}

/* --- AUDIENCE GRID --- */
.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.audience-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
}

.check-list li::before {
    content: "[+]";
    color: #4caf50;
    /* Subtle green for positive */
    font-family: monospace;
}

.cross-list li::before {
    content: "[-]";
    color: #f44336;
    /* Subtle red for negative */
    font-family: monospace;
}

/* --- CONTACT --- */
.email-link {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid white;
    padding-bottom: 2px;
    transition: all 0.2s ease;
    font-size: 1.2rem;
}

.email-link:hover {
    background-color: #fff;
    color: #000;
}

/* --- LANGUAGE TOGGLE --- */
.language-toggle {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    z-index: 10;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    text-transform: uppercase;
}

.lang-btn.active {
    color: #fff;
    text-decoration: underline;
    font-weight: bold;
}

.separator {
    margin: 0 5px;
    color: var(--line);
}

/* --- ANIMATIONS --- */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .audience-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .container {
        padding-top: 60px;
    }
}