:root {
    --bg-dark: #16161a;
    --bg-violet: #5e35b1; /* Deep violet from your inspiration */
    --text-light: #fffffe;
    --text-muted: #94a1b2;
    --accent: #7f5af0;
    --card-bg: #242629;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, .nav-brand {
    font-family: 'Space Grotesk', sans-serif;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    z-index: 100;
    mix-blend-mode: difference;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand span { color: var(--accent); }

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--accent); }

/* Hero Split Screen */
.hero {
    display: flex;
    min-height: 100vh;
}

.hero-left {
    flex: 1;
    background-color: var(--bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Abstract avatar representation */
.glitch-avatar {
    width: 300px;
    height: 400px;
    background-image: url('https://images.unsplash.com/photo-1620641788421-7a1c342ea42e?q=80&w=1000&auto=format&fit=crop'); /* Placeholder abstract code image */
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(120%);
    border-radius: 10px;
    box-shadow: -15px 15px 0px rgba(94, 53, 177, 0.4);
}

.hero-right {
    flex: 1;
    background-color: var(--bg-violet);
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.greeting {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #ffd803; /* Pop of color matching the hand emoji */
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.hero-right h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-right h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--text-light);
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

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

.btn-primary {
    background: var(--text-light);
    color: var(--bg-violet);
    margin-right: 1rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    border: 2px solid var(--text-light);
    color: var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--bg-violet);
}

/* Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.mt-4 { margin-top: 4rem; }

/* Timeline (Experience) */
.experience {
    background-color: var(--bg-dark);
}

.timeline {
    border-left: 2px solid var(--bg-violet);
    padding-left: 2rem;
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--bg-dark);
}

.timeline-date {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h3 { font-size: 1.5rem; }
.timeline-content h4 { color: var(--text-muted); font-weight: 400; margin-bottom: 1rem; }

/* Projects Grid */
.projects {
    background-color: #0f0f11;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--bg-violet);
}

.project-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.project-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }

.tags span {
    background: rgba(94, 53, 177, 0.2);
    color: #b39ddb;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.project-links {
    margin-top: 1rem;
}

.project-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.project-links a:hover { color: var(--accent); }

footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-dark);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero { flex-direction: column; }
    .hero-right { padding: 4rem 2rem; }
    .hero-right h1 { font-size: 2.5rem; }
    .navbar { padding: 1.5rem 2rem; }
    .glitch-avatar { width: 250px; height: 300px; margin: 4rem 0; }
}