:root {
    --bg-color: #0d1117;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary: #58a6ff;
    --primary-glow: rgba(88, 166, 255, 0.4);
    --secondary: #8b949e;
    --text-main: #e6edf3;
    --text-muted: #8b949e;
    
    --blob-1: #4f46e5;
    --blob-2: #db2777;
    --blob-3: #2563eb;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, .outfit {
    font-family: 'Outfit', sans-serif;
}

/* Background animated blobs */
.blob-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-1 { width: 50vw; height: 50vw; max-width: 500px; max-height: 500px; background: var(--blob-1); top: -100px; left: -100px; animation-delay: 0s; }
.blob-2 { width: 40vw; height: 40vw; max-width: 400px; max-height: 400px; background: var(--blob-2); bottom: -100px; right: -50px; animation-delay: -5s; }
.blob-3 { width: 60vw; height: 60vw; max-width: 600px; max-height: 600px; background: var(--blob-3); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
    100% { transform: translate(20px, 20px) scale(1); }
}

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

/* Glassmorphism Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.4);
}

.profile-header {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--blob-1), var(--blob-2), var(--blob-3));
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.profile-info h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.profile-info h2 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.company {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn {
    background: var(--text-main);
    color: var(--bg-color);
    border: 1px solid var(--text-main);
}
.btn:hover {
    background: transparent;
    color: var(--text-main);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}
.btn-outline:hover {
    border-color: var(--text-main);
    background: rgba(255,255,255,0.05);
}

.profile-summary {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
    color: var(--text-muted);
    border-left: 2px solid var(--glass-border);
    padding-left: 2rem;
}

.two-col {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
}

@media(max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .profile-summary { border-left: none; padding-left: 0; padding-top: 1.5rem; border-top: 2px solid var(--glass-border); }
}

.section-card {
    padding: 2rem;
    margin-bottom: 2rem;
}

.section-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -1.5rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-glow);
    transition: transform 0.3s;
}
.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.5);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    color: #fff;
}
.timeline-content .date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-weight: 500;
}
.timeline-content p { color: var(--text-muted); font-size: 0.95rem; }
.timeline-content ul { margin-left: 1.2rem; color: var(--text-muted); font-size: 0.95rem; }
.timeline-content li { margin-bottom: 0.4rem; }
.timeline-content li strong { color: #fff; }

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}
.skill-tag.highlight {
    background: rgba(88, 166, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.edu-item h4 { font-size: 1.1rem; margin-bottom: 0.3rem; color: #fff; }
.edu-item p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.3rem; }
.edu-item .date { font-size: 0.85rem; color: var(--primary); display: block; margin-bottom: 0.8rem; }
.highlight-text {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    color: #eab308;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
