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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --linkedin: #0077b5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.page {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Language Switcher */
.lang-nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.lang-link:hover {
    color: var(--text-primary);
}

.lang-link.active {
    color: var(--accent);
}

.lang-divider {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.name {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.location {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.375rem;
}

.header-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.social-link.linkedin {
    background: var(--linkedin);
    color: white;
}

.social-link.linkedin:hover {
    background: #008fdb;
    transform: translateY(-1px);
}

/* Main Content */
.main {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Sections */
.section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.section-icon {
    font-size: 1rem;
}

/* About */
.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.skill-tag:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.timeline-item {
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: border-color 0.2s ease;
}

.timeline-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.375rem;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 600;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.timeline-description {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* Back Link */
.back-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

/* Legal Pages */
.legal-page {
    gap: 2rem;
}

.legal-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.legal-section {
    margin-bottom: 1.5rem;
}

.legal-section h2 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-section a {
    color: var(--accent);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 600px) {
    .page {
        padding: 2rem 1rem;
    }

    .header {
        flex-direction: column;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-links {
        width: 100%;
        justify-content: center;
    }

    .name {
        font-size: 1.5rem;
    }

    .timeline-header {
        flex-direction: column;
        gap: 0.25rem;
    }
}