:root {
    --bg-dark: #0a192f;
    --bg-light: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.1);
    
    --font-main: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.mono {
    font-family: var(--font-mono);
    font-size: 0.9rem;
}

.accent {
    color: var(--accent);
}

.cta-group {
    margin: 15px;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn.primary:hover {
    background: var(--accent-glow);
}

.btn.secondary {
    margin-left: 1rem;
    color: var(--text-secondary);
}

.btn.secondary:hover {
    color: var(--accent);
}

/* Effects */
.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(100, 255, 218, 0.08) 0%, rgba(10, 25, 47, 0) 70%);
    position: fixed; /* Fixed so it follows scroll */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.visible {
    opacity: 1;
    transform: none;
}


/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-primary);
}

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

/* Sections */
section {
    padding: 100px 0;
    max-width: 1000px;
    margin: 0 auto;
    width: 90%;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-header span {
    color: var(--accent);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.section-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    position: relative;
    width: 100%;
    white-space: nowrap;
}

.section-header h3::after {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background: var(--bg-light);
    position: absolute;
    top: 50%;
    margin-left: 15px;
    display: inline-block;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#hero h1 {
    font-size: 4rem;
    color: var(--text-primary);
    margin: 1rem 0;
    line-height: 1.1;
}

#hero h2 {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.bio {
    max-width: 500px;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.skill-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.job-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.job-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-header h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
}

.job-header .company {
    color: var(--accent);
}

.job-duration {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.job-role {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: block;
}

.job-achievements li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.job-achievements li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.project-card {
    background: var(--bg-light);
    padding: 1.75rem;
    border-radius: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.project-card:hover {
    transform: translateY(-7px);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.generic-folder {
    color: var(--accent);
    font-size: 2.5rem;
}

.card-links a {
    color: var(--text-primary);
    margin-left: 10px;
    font-size: 1.2rem;
}

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

.project-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.4rem;
}

.project-card .repo-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: auto; /* Pushes meta to bottom */
}

.repo-meta {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Contact */
#contact {
    text-align: center;
    margin-bottom: 100px;
}

#contact p {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 1.5rem;
    }
    
    #hero h1 {
        font-size: 3rem;
    }
    
    #hero h2 {
        font-size: 2rem;
    }
    
    nav {
        display: none; /* Simplification for MVP */
    }
}
