:root {
    /* Color Palette - Deep Academic with Tech Accents */
    --primary-dark: #0a1828;
    --primary-blue: #1e3a5f;
    --accent-cyan: #00d9ff;
    --accent-gold: #f4a261;
    --bg-light: #fafbfc;
    --bg-cream: #f8f7f4;
    --text-dark: #1a1a1a;
    --text-gray: #505050;
    --text-light: #7a7a7a;
    --border-color: #e1e4e8;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Source Sans 3', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 251, 252, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-medium);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: width var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-fast);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--bg-cream) 0%, 
        #e8f4f8 50%, 
        var(--bg-cream) 100%);
    opacity: 0.4;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, 
        rgba(0, 217, 255, 0.15) 0%, 
        transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(244, 162, 97, 0.1) 0%, 
        transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(30, 58, 95, 0.08);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-title .line-1,
.hero-title .line-2 {
    display: block;
    animation: fadeInUp 1s ease-out backwards;
}

.hero-title .line-1 {
    animation-delay: 0.3s;
}

.hero-title .line-2 {
    animation-delay: 0.4s;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-gray);
    max-width: 700px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all var(--transition-medium);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

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

.btn-primary:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

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

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

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-cyan), transparent);
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%, 100% { height: 40px; }
    50% { height: 60px; }
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(30, 58, 95, 0.06);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.about-text .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.8;
}

.about-highlights {
    margin-top: 2.5rem;
    display: grid;
    gap: 1.5rem;
}

.highlight-item {
    padding: 1.5rem;
    background: var(--bg-cream);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 4px;
}

.highlight-item h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

.about-visual {
    position: sticky;
    top: 100px;
}

.research-interests h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.interest-grid {
    display: grid;
    gap: 1.5rem;
}

.interest-card {
    padding: 1.8rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all var(--transition-medium);
}

.interest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-cyan);
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.interest-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 0.8rem;
}

.interest-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Featured Research Section */
.featured-research {
    background: var(--bg-light);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.research-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.research-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, 
        rgba(30, 58, 95, 0.05), 
        rgba(0, 217, 255, 0.05));
    border-color: var(--accent-cyan);
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-cryptography {
    background: rgba(244, 162, 97, 0.15);
    color: #d68a4f;
}

.badge-ai {
    background: rgba(0, 217, 255, 0.15);
    color: #0099b8;
}

.badge-network {
    background: rgba(30, 58, 95, 0.15);
    color: var(--primary-blue);
}

.status {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

.research-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.research-card p {
    color: var(--text-gray);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.research-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.journal {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.read-more {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.read-more:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
}

.cta-center {
    text-align: center;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
        var(--accent-cyan), 
        transparent);
}

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

.timeline-marker {
    position: absolute;
    left: -3.5rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border: 4px solid var(--bg-cream);
    border-radius: 50%;
}

.timeline-period {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.timeline-content p {
    color: var(--text-gray);
    margin: 0;
}

/* Awards Section */
.awards-section {
    background: linear-gradient(135deg, 
        var(--primary-dark) 0%, 
        var(--primary-blue) 100%);
    color: white;
}

.awards-section .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-cyan);
}

.awards-section .section-title {
    color: white;
}

.award-highlight {
    max-width: 900px;
    margin: 0 auto;
}

.award-content {
    display: flex;
    gap: 3rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.award-badge {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-year {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.award-details h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.award-issuer {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.award-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-about p {
    margin-bottom: 0.5rem;
}

.footer-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.footer-column h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.7rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 75px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        position: static;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .award-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
    }
    
    .research-card.featured {
        grid-column: auto;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-marker {
        left: -2.5rem;
    }
}
