/* Academic Project Page Styles */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #fafafa;
    --white: #ffffff;
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 15px;
    --border-radius-small: 8px;
}

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

body {.result-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-small);
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 1px dashed #dee2e6;
}

/* Quantitative Results Tables */
.quantitative-results {
    margin-top: 50px;
}

/* Tables Row Layout */
.tables-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* Small Table Containers */
.table-container-small {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.table-container-small h4 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Large Table Container */
.table-container-large {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
    overflow: hidden;
}

.table-container-large h4 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Small Tables Styling */
.results-table-small {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    background: white;
}

.results-table-small th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 8px 6px;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.75rem;
}

.results-table-small td {
    padding: 6px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 0.75rem;
}

.results-table-small tr:hover {
    background-color: #f8f9fa;
}

.table-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
    overflow: hidden;
}

.table-container h4 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 30px;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
    padding: 0;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: white;
}

.results-table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 12px 8px;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
    font-size: 0.85rem;
}

.results-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
}

.results-table tr:hover {
    background-color: #f8f9fa;
}

.separator td {
    border-bottom: 2px solid #dee2e6;
    padding: 2px;
}

.table-caption {
    padding: 15px 20px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    background: #f8f9fa;
    margin: 0;
    border-top: 1px solid #eee;
}mily: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--bg-light);
}

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

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.conference-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.conference-logo {
    height: 80px;
    width: auto;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.conference-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.authors {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.authors sup {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.affiliation {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

.affiliation small {
    font-size: 0.85rem;
    opacity: 0.7;
    font-style: italic;
}

/* Navigation Buttons */
.nav-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(0);
}

/* Main Content */
main {
    padding: 60px 0;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

/* Content Boxes */
.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
}

.content-box h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.content-box img {
    transition: transform 0.3s ease;
    border: 1px solid #e1e8ed;
}

.content-box img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Motivation section styling */
#motivation .content-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

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

#motivation img {
    max-width: 90%;
    height: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    cursor: zoom-in;
}

/* Key insight highlight box */
.key-insight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    color: white;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.key-insight:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.key-insight h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    #motivation img {
        max-width: 100%;
    }
    
    .method-figure img {
        max-width: 100%;
    }
    
    .figure-caption {
        font-size: 0.9rem;
        padding: 10px 15px;
    }
    
    .results-comparison {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .comparison-item {
        padding: 20px;
    }
    
    .comparison-item h4 {
        font-size: 1.2rem;
    }
}

.abstract-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
}

.abstract-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* Method Section */
.method-overview {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
}

.method-figure {
    text-align: center;
    margin: 30px 0;
}

.method-figure img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
    border: 1px solid #e1e8ed;
}

.method-figure img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2) !important;
}

.figure-caption {
    text-align: justify;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    color: #555;
}

.figure-caption strong {
    color: var(--text-dark);
}

.figure-caption em {
    font-style: italic;
    color: var(--primary-color);
}

.method-diagram {
    width: 100%;
    max-width: 800px;
    height: 400px;
    background: linear-gradient(45deg, #f0f2f5, #e1e8ed);
    border-radius: var(--border-radius-small);
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-light);
    border: 2px dashed #ccc;
}

/* Results Section */
.qualitative-results {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    margin-bottom: 40px;
}

.results-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.comparison-item {
    text-align: center;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Method Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 2x2 Comparison Grid */
.comparison-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.gif-container {
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 2px solid #e1e8ed;
}

.result-gif {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.result-gif:hover {
    transform: scale(1.02);
}

.result-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-top: 15px;
    text-align: justify;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.result-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.result-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.result-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius-small);
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 1px dashed #dee2e6;
}

/* Citation Box */
.citation-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

footer img {
    transition: opacity 0.3s ease;
}

footer img:hover {
    opacity: 1 !important;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .conference-info {
        margin-bottom: 25px;
    }
    
    .conference-logo {
        height: 60px;
        padding: 8px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid-2x2 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tables-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-box,
    .abstract-box,
    .method-overview {
        padding: 20px;
    }
    
    .results-table {
        font-size: 0.75rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 6px 4px;
    }
    
    .results-table-small {
        font-size: 0.7rem;
    }
    
    .results-table-small th,
    .results-table-small td {
        padding: 4px 2px;
    }
    
    .table-container h4,
    .table-container-small h4,
    .table-container-large h4 {
        padding: 15px 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
}
