:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #3b82f6;
    --accent-2: #8b5cf6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1rem;
}

/* Background Blobs for Visual Interest */
.blob-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(15,23,42,0) 70%);
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 15s ease-in-out infinite;
}

.blob-2 {
    top: 40%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, rgba(15,23,42,0) 70%);
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px); }
    100% { transform: translate(0, 0); }
}

/* Glassmorphism Navigation */
.glass-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    z-index: 100;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.glass-nav:hover {
    background: rgba(30, 41, 59, 0.85);
}

.glass-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.glass-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    position: relative;
}

.glass-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
}

.glass-nav a:hover::after {
    width: 100%;
}

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero Section */
.hero {
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--accent-1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.gradient-text {
    font-size: 4.5rem;
    background: linear-gradient(to right, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.hero h2 {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1.5rem;
}

.hero p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 2rem auto;
    font-size: 1.1rem;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.primary {
    background: linear-gradient(45deg, var(--accent-1), var(--accent-2));
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--accent-2);
    color: var(--text-primary);
}

.btn.secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

/* Common Section Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.section-title::after {
    content: '';
    height: 1px;
    background: var(--glass-border);
    flex-grow: 1;
    margin-left: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.timeline-item h3 {
    color: var(--accent-1);
    margin-bottom: 0.25rem;
}

.timeline-item h4 {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.date {
    font-size: 0.9rem;
    color: var(--accent-2);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

.skill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-1);
    transform: scale(1.05);
}

/* Contact */
.contact-card {
    text-align: center;
}

.contact-card p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

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

.heart {
    color: #ef4444;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .glass-nav {
        width: 90%;
        padding: 0.5rem 1rem;
    }
    .glass-nav ul {
        gap: 1rem;
        justify-content: center;
    }
    .glass-nav a {
        font-size: 0.8rem;
    }
    .gradient-text {
        font-size: 3rem;
    }
    .hero h2 {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
}
