:root {
    --bg-color: #0c0c0e;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08); /* Corrected missing semicolon and value */
    --primary-color: #bb86fc; /* Royal Purple */
    --secondary-color: #03dac6; /* Electric Blue */
    --text-main: #f0f0f2;
    --text-muted: #a0a0a5;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: var(--font-heading);
    font-weight: 800;
}

/* Header & Hero */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(10px);
    background: rgba(12, 12, 14, 0.8);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding-top: 10rem;
    padding-bottom: 5rem;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: 0.5s;
}

.image-wrapper:hover img {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 30px 60px rgba(187, 134, 252, 0.15);
}

.overlay-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #7c4dff;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

h1 span {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn-primary {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-secondary {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    margin-left: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
}

.stat-item { display: flex; flex-direction: column; }
.stat-num { font-size: 1.8rem; font-weight: 800; }
.stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }

/* Projects */
.container { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.section-title { font-size: 2.5rem; margin-bottom: 3rem; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.project-card:hover { border-color: var(--primary-color); }

.project-img {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.project-card:hover .project-img img { transform: scale(1.05); }

.project-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}

.project-info { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.project-info h3 { margin-bottom: 1.5rem; }

.project-details {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.project-details li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
}

.project-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Timeline */
.timeline { position: relative; border-left: 1px solid var(--border-color); padding-left: 2rem; }
.timeline-item { margin-bottom: 3rem; }
.timeline-date { color: var(--primary-color); font-weight: 700; font-size: 0.85rem; }

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: 0.3s;
}

.award-card:hover { transform: translateY(-10px); border-color: var(--secondary-color); }
.award-card i { color: var(--primary-color); size: 48px; margin-bottom: 1.5rem; }

/* Skills */
.skill-tag { padding: 0.8rem 1.5rem; background: var(--bg-color); border: 1px solid var(--border-color); border-radius: 12px; margin: 0.5rem; font-weight: 600; display: inline-block; }

/* Footer */
footer { padding: 8rem 2rem 4rem; text-align: center; border-top: 1px solid var(--border-color); }
.contact-links { display: flex; justify-content: center; gap: 3rem; margin: 2rem 0; }

/* Background Cursor Blob */
.cursor-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(187, 134, 252, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    pointer-events: none;
    z-index: -1;
    animation: blobMotion 20s infinite alternate;
}

@media (max-width: 968px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-image { justify-content: center; order: -1; }
    .nav-links { display: none; }
    .hero-stats { justify-content: center; }
}
