/* Core Variables - Dark Tech Theme */
:root {
    --bg-base: #09090b;
    --bg-surface: #18181b;
    --bg-card: rgba(24, 24, 27, 0.7);
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --accent: #3b82f6; /* Electric Blue */
    --accent-hover: #2563eb;
    --border: rgba(255, 255, 255, 0.1);
    
    --font-sans: 'Geist Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Geist Mono', ui-monospace, monospace;
    
    --radius: 8px;
    --transition: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.alt-bg {
    background-color: var(--bg-surface);
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.headline {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.subtext {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 60ch;
    margin-bottom: 2.5rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 72px;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.brand {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-base);
}

.btn-primary:hover {
    background-color: #d4d4d8;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 100dvh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    width: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

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

.timeline-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.timeline-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-mark {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.timeline-meta strong {
    font-weight: 500;
}

.role-title {
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--accent);
}

.clean-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.clean-list li {
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.clean-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--border);
    font-family: var(--font-mono);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform var(--transition), border-color var(--transition);
}

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

.col-span-2 {
    grid-column: span 2;
}

.bento-card h3 {
    font-size: 1.25rem;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-stack span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-base);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .col-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        display: none;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .nav-links {
        display: none;
    }
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* TA & Education Grid */
.ta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .ta-grid {
        grid-template-columns: 1fr;
    }
}

.ta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ta-card strong {
    color: var(--accent);
    font-size: 1.125rem;
}

.ta-card span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.supervisor {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.skills-cluster {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
