:root {
    --bg-primary: #f5f7fa;
    --bg-secondary: rgba(255, 255, 255, 0.5);
    --text-primary: #1a1a1a;
    --text-secondary: #333333;
    --text-tertiary: #555555;
    --text-muted: #666666;
    --text-dark: #888888;
    --border-color: rgba(74, 144, 226, 0.08);
    --accent-primary: #4a90e2;
    --accent-secondary: #7c4dff;
    --accent-gradient: linear-gradient(135deg, #4a90e2 0%, #7c4dff 100%);
    --shadow-primary: rgba(0,0,0,0.08);
    --shadow-secondary: rgba(0,0,0,0.04);
    --particle-color: #3b82c4;
    --particle-line-color: #60a5fa;
    --particle-mouse-color: #ff6b6b;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: rgba(30, 30, 30, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b0b0b0;
    --text-muted: #a0a0a0;
    --text-dark: #707070;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-primary: #4a90e2;
    --accent-secondary: #7c4dff;
    --accent-gradient: linear-gradient(135deg, #4a90e2 0%, #7c4dff 100%);
    --shadow-primary: rgba(0,0,0,0.5);
    --shadow-secondary: rgba(0,0,0,0.3);
    --particle-color: #6bb6ff;
    --particle-line-color: #4a90e2;
    --particle-mouse-color: #ff6b6b;
}

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

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: var(--bg-secondary);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border: 0.5px solid var(--border-color);
    border-radius: 24px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow-secondary);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.theme-toggle:hover svg {
    transform: rotate(360deg);
}

.profile-card {
    padding: 40px 0 30px 0;
    background: transparent;
}

.card {
    background: var(--bg-secondary);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border: 0.5px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 0 40px var(--shadow-primary);
    padding: 36px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .card {
    box-shadow: 0 0 40px rgba(0,0,0,0.4);
}


.card-left {
    text-align: center;
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 2px solid rgba(74, 144, 226, 0.2);
    box-shadow: 0 8px 24px var(--shadow-secondary);
    transition: all 0.2s ease;
}

.profile-image:hover {
    border-color: rgba(74, 144, 226, 0.5);
    transform: scale(1.03);
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1.1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    margin-bottom: 24px;
}

.card-right h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.card-right p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-tertiary);
}

.contact-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-tertiary);
    text-decoration: none;
    transition: all 0.2s ease;
    padding: 10px;
    border-radius: 8px;
    background: rgba(74, 144, 226, 0.03);
    border: 0.5px solid var(--border-color);
}

.contact-link:hover {
    color: var(--accent-primary);
    background: rgba(74, 144, 226, 0.08);
    border-color: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.contact-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.timeline {
    padding: 60px 0;
    background: transparent;
    position: relative;
}

.timeline h2 {
    font-size: 2rem;
    margin-bottom: 48px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

.timeline-container {
    position: relative;
    padding-left: 50px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 16px;
    top: -10px;
    bottom: -40px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(74, 144, 226, 0.2) 46px, rgba(74, 144, 226, 0.2), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--bg-secondary);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border: 0.5px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 36px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: 0 0 12px rgba(74, 144, 226, 0.6);
    z-index: 10;
}

.timeline-subitem {
    position: relative;
    margin: 16px 0;
    padding-left: 24px;
}

.timeline-subitem::before {
    content: '';
    position: absolute;
    left: 1px;
    top: 9px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.8);
    box-shadow: 0 0 8px rgba(74, 144, 226, 0.4);
    z-index: 10;
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.timeline-date-text {
    font-weight: 600;
    color: var(--accent-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.8;
}

.timeline-header {
    margin-bottom: 8px;
}

.timeline-header h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.industry-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 0.5px solid;
}

.industry-badge.health-tech {
    background-color: rgba(46, 125, 50, 0.08);
    color: #4caf50;
    border-color: rgba(46, 125, 50, 0.2);
}

.industry-badge.fin-tech {
    background-color: rgba(21, 101, 192, 0.08);
    color: #2196f3;
    border-color: rgba(21, 101, 192, 0.2);
}

.industry-badge.business {
    background-color: rgba(106, 27, 154, 0.08);
    color: #ab47bc;
    border-color: rgba(106, 27, 154, 0.2);
}

.industry-badge.entertainment {
    background-color: rgba(230, 81, 0, 0.08);
    color: #ff6f00;
    border-color: rgba(230, 81, 0, 0.2);
}

.timeline-content h4 {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.timeline-content p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.role {
    margin: 16px 0;
}

.role h4 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-secondary);
}

.role-date {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 400;
    margin-left: 8px;
}

.role ul {
    list-style: none;
    margin-left: 0;
}

.role li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.role li:before {
    content: "▸";
    color: var(--accent-primary);
    position: absolute;
    left: 4px;
    top: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

.timeline-item:nth-child(1) { animation-delay: 0.05s; }
.timeline-item:nth-child(2) { animation-delay: 0.1s; }
.timeline-item:nth-child(3) { animation-delay: 0.15s; }
.timeline-item:nth-child(4) { animation-delay: 0.2s; }
.timeline-item:nth-child(5) { animation-delay: 0.25s; }
.timeline-item:nth-child(6) { animation-delay: 0.3s; }
.timeline-item:nth-child(7) { animation-delay: 0.35s; }

/* Responsive */
@media (max-width: 768px) {
    .card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px 24px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .timeline-container {
        padding-left: 36px;
    }
    
    .timeline-container::before {
        left: 12px;
    }
    
    .timeline-item {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .timeline-item::before {
        left: -28px;
        width: 6px;
        height: 6px;
        top: 28px;
    }
    
    .timeline-header h3 {
        font-size: 1.1rem;
    }
    
    .contact-links {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .theme-toggle {
        bottom: 16px;
        right: 16px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .theme-toggle svg {
        width: 14px;
        height: 14px;
    }
}