* {
    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: white;
    min-height: 100vh;
}

.container {
    max-width: none;
    width: 100%;
    margin: 0;
    background: white;
    min-height: 100vh;
}

.header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.authors {
    display: block;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.author {
    display: inline;
}

.author-name, .affiliation {
    display: inline;
}

.affiliations {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    line-height: 1.4;
}

.venues {
    font-style: italic;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
}

.section {
    margin-bottom: 60px;
}

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

/* Teaser section */
.teaser {
    margin-bottom: 60px;
}

.teaser-container {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
}

.teaser-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

.teaser-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 20px;
}

.teaser-caption {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.teaser-caption.left {
    text-align: left;
    flex: 1;
}

.teaser-caption.right {
    text-align: right;
    flex: 1;
}

/* Hero section */
.hero {
    margin-bottom: 60px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

.image-caption {
    font-style: italic;
    color: #666;
    font-size: 1rem;
    text-align: center;
    margin-top: 15px;
}

/* Abstract section */
.abstract {
    font-size: 1.1rem;
    text-align: justify;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contributions {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
}

.contributions h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contributions ul {
    list-style: none;
    padding: 0;
}

.contributions li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
}

.contributions li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Method section */
.method {
    background: white;
}

.method-content {
    display: block;
}

.method-diagram {
    text-align: center;
    margin-bottom: 40px;
}

.method-diagram img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    margin: 0 auto;
    display: block;
}

.method-description {
    max-width: none;
    margin: 0;
}

.method-description h3 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.method-description h3:first-child {
    margin-top: 0;
}

.method-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.insights-visualization {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

.insights-image {
    flex: 0 0 45%;
}

.insights-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.insights-caption {
    flex: 1;
    padding-left: 20px;
}

.insights-caption .image-caption {
    text-align: left;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Results section */
.results {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 0 -100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.results .results-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.results h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 3rem;
}

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

.result-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.result-item h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.result-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.qualitative-results {
    max-width: none;
    margin: 40px 0;
    text-align: center;
}

.qualitative-results h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.qualitative-results p {
    font-size: 1.1rem;
    text-align: justify;
}

/* Highlight boxes */
.highlight-box {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.highlight-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.highlight-box p {
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Acknowledgement section */
.acknowledgement {
    background: white;
    margin-bottom: 60px;
}

.acknowledgement h2 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.acknowledgement-content {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.acknowledgement-content p {
    font-size: 1rem;
    text-align: justify;
    line-height: 1.6;
    margin: 0;
}

/* Citation section */
.citation {
    background: white;
    text-align: center;
}

.citation h2 {
    color: #2c3e50;
    margin-bottom: 3rem;
}

.bibtex {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    overflow-x: auto;
    margin-top: 40px;
    text-align: left;
}

.bibtex h3 {
    margin-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.bibtex pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.copy-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    margin-top: 20px;
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

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

.footer a {
    color: #667eea;
    text-decoration: none;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .title {
        font-size: 2rem;
    }
    
    .content {
        padding: 40px 20px;
    }
    
    .results .results-content {
        padding: 0 20px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .teaser-labels {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .teaser-caption.left,
    .teaser-caption.right {
        text-align: center;
    }
    
    .insights-visualization {
        flex-direction: column;
        gap: 20px;
    }
    
    .insights-image {
        flex: none;
    }
    
    .insights-caption {
        padding-left: 0;
    }
    
    .insights-caption .image-caption {
        text-align: center;
    }
    
    .links {
        flex-direction: column;
        align-items: center;
    }

    .authors {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .abstract p,
    .qualitative-results p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .header {
        padding: 40px 20px;
    }
    
    .section {
        margin-bottom: 40px;
    }
    
    .bibtex {
        padding: 20px;
    }
    
    .bibtex pre {
        font-size: 0.8rem;
    }
}

/* Segmentation results styling */
.segmentation-results {
    margin-top: 40px;
    text-align: center;
}

.full-width-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}