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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

h1, h2, h3 {
    font-weight: 700;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

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

h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-top: 30px;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

header h1 {
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.authors {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 400;
}

.affiliations {
    font-size: 0.95rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.conference {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
}

.oral {
    background-color: #e74c3c;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 8px;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Teaser Section */
.teaser {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

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

.caption {
    font-size: 0.95rem;
    color: #555;
    margin-top: 15px;
    line-height: 1.6;
    text-align: left;
}

.tip {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    padding: 15px 20px;
    background-color: #f0f8ff;
    border-left: 4px solid #3498db;
    border-radius: 4px;
    line-height: 1.6;
    text-align: left;
}

/* Video Section */
.video-section {
    padding: 60px 0;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-container iframe {
    width: 100%;
    height: 450px;
}

/* Abstract Section */
.abstract {
    padding: 60px 0;
    background-color: #ffffff;
}

.abstract p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.abstract ul {
    margin-left: 40px;
    margin-bottom: 20px;
}

.abstract li {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

/* Architecture Section */
.architecture {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.architecture h2 {
    text-align: left;
}

.arch-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Benchmark Section */
.benchmark {
    padding: 60px 0;
    background-color: #ffffff;
}

/* Understanding Section */
.understanding {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.understanding h2 {
    text-align: left;
}

.analysis-points {
    list-style-type: none;
    padding-left: 0;
    margin: 20px 0;
}

.analysis-points li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
    text-align: justify;
}

.analysis-points li:before {
    content: "▸";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.benchmark-item {
    text-align: center;
}

.benchmark-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.benchmark-item p {
    font-size: 0.95rem;
    color: #555;
}

/* Results Section */
.results {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.result-img-small {
    max-width: 85%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin: 20px auto;
    display: block;
}

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

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

/* Citation Section */
.citation {
    padding: 60px 0;
    background-color: #ffffff;
}

.citation pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.9rem;
    line-height: 1.5;
}

.citation code {
    font-family: 'Courier New', monospace;
}

/* Acknowledgements Section */
.acknowledgements {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.acknowledgements p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.template-credit {
    font-size: 0.9rem;
    color: #777;
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
}

footer p {
    font-size: 0.9rem;
}

footer a {
    color: #3498db;
}

footer a:hover {
    color: #5dade2;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .authors {
        font-size: 1rem;
    }

    .links {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        text-align: center;
    }

    .video-container iframe {
        height: 300px;
    }

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

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

