
/* Global Styles */
:root {
    --primary: #0f172a;
    --secondary: #2563eb;
    --accent: #0ea5e9;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

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

h1, h2, h3, h4 {
    color: var(--primary);
    line-height: 1.2;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* Header */
header {
    background: var(--white);
    padding: 1rem 0;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

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

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    background: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary);
    color: var(--white);
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* Section Common */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Publications Grid */
.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pub-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border-left: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
}

.pub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover);
}

.pub-year {
    display: inline-block;
    background: var(--bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 1rem;
    align-self: flex-start;
}

.pub-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.pub-journal {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.pub-authors {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: auto; /* Push link to bottom */
}

/* Innovation / Patents */
.innovation-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.patent-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
}

.patent-id {
    font-family: monospace;
    color: var(--accent);
    font-weight: 700;
}

/* Lab Section */
.lab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.lab-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.student-list, .project-list {
    list-style: none;
}

.student-item, .project-item {
    background: var(--white);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.student-name, .project-title {
    font-weight: 600;
    display: block;
}

.student-meta, .project-desc {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Software List */
.software-section {
    background: var(--primary);
    color: white;
}

.software-section .section-title {
    color: white;
}
.software-section .section-title::after {
    background: var(--accent);
}

.software-grid {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.software-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 300px;
}

.software-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}
.software-item a {
    color: white;
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Simple hide for now, could add hamburger */
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .lab-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
