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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    padding: 40px 20px;
    border-bottom: 2px solid #e9ecef;
}

h1 {
    font-size: 2.6em;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.3;
}

.authors {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.authors a {
    color: #3498db;
    text-decoration: none;
}

.authors a:hover {
    text-decoration: underline;
}

.venue {
    font-size: 1.1em;
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 5px;
}

.links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #95a5a6;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

.tldr {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
}

.tldr h2 {
    color: #856404;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.tldr p {
    color: #856404;
    font-size: 1.05em;
}

.teaser {
    text-align: center;
    margin: 40px 0;
}

.teaser img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.teaser video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

section {
    margin: 40px 0;
    padding: 20px 0;
}

h2 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

h3 {
    font-size: 1.5em;
    color: #34495e;
    margin: 25px 0 15px 0;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    font-size: 1.05em;
}

ul {
    margin-left: 30px;
    font-size: 1.05em;
}

ul li {
    margin-bottom: 10px;
}

ol {
    margin-left: 30px;
    padding-left: 10px;
    font-size: 1.05em;
}

ol li {
    margin-bottom: 15px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.method-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.method-item h4 {
    color: #3498db;
    margin-bottom: 10px;
    font-size: 1.2em;
}

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

.figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.figure-caption {
    margin-top: 15px;
    color: #666;
    font-style: italic;
    font-size: 0.95em;
    text-align: left;
    padding: 0 20px;
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 20px;
}

.intro-text {
    padding-right: 15px;
}

.intro-image {
    position: sticky;
    top: 20px;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: 1px solid #dee2e6;
}

.intro-image .figure-caption {
    margin-top: 15px;
    color: #666;
    font-style: italic;
    font-size: 0.9em;
    text-align: left;
    padding: 0;
}

@media (max-width: 768px) {
    .intro-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .intro-image {
        position: static;
    }
}

.results-highlight {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    padding: 20px;
    margin: 20px 0;
}

.results-highlight h3 {
    color: #155724;
    margin-top: 0;
}

.results-highlight p {
    color: #155724;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #dee2e6;
}

.stat-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #3498db;
    display: block;
}

.stat-label {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 2px solid #e9ecef;
    margin-top: 40px;
    color: #6c757d;
}

.equal-contribution {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}

pre {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    overflow-x: auto;
    border: 1px solid #dee2e6;
    font-size: 0.9em;
}

#references ol {
    padding-left: 40px;
    margin-top: 20px;
}

#references li {
    margin-bottom: 15px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    .container {
        padding: 10px;
    }

    .method-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
