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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #00018d 0%, #2d1b69 25%, #620096 50%, #8e44ad 75%, #9b59b6 100%);
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(98, 0, 150, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 1, 141, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(142, 68, 173, 0.2) 0%, transparent 50%);
    animation: gradientShift 8s ease-in-out infinite;
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e8e0ff, #d4c5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.4;
}

.authors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.author {
    color: #e8e0ff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.author:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.conference {
    margin-bottom: 2.5rem;
}

.conference-badge {
    display: inline-block;
    background: linear-gradient(45deg, #620096, #8e44ad);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(98, 0, 150, 0.4);
    animation: pulse 2s infinite;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: linear-gradient(45deg, #00018d, #620096);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 1, 141, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 1, 141, 0.4);
    background: linear-gradient(45deg, #2d1b69, #8e44ad);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.tldr {
    background: linear-gradient(135deg, rgba(98, 62, 150, 0.7), rgba(142, 68, 173, 0.7));
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    margin: 0 auto;
}

.tldr h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #e8e0ff;
}

.tldr p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

/* Content Sections */
.teaser-section,
.abstract-section,
.content-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #00018d, #620096);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.abstract-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.abstract-content p {
    margin-bottom: 1.5rem;
}

.abstract-content em {
    font-style: italic;
    color: #620096;
    font-weight: 500;
}

.abstract-content strong {
    color: #00018d;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-image {
    max-width: 800px;
    margin: 0 auto 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.section-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.section-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Carousel Styles */
.carousel-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.carousel {
    position: relative;
    width: 100%;
    height: auto;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.carousel-btn i {
    color: #6a4c93;
    font-size: 1.2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #620096;
    transform: scale(1.2);
}

.indicator:hover {
    background: #8e44ad;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Pipeline Steps Styling */
.pipeline-overview {
    text-align: center;
    margin-bottom: 3rem;
}

.section-intro {
    font-size: 1.2rem;
    color: #2d3748;
    max-width: 700px;
    margin: 0 auto;
}

.pipeline-steps {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-left-color: #620096;
}

.step-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00018d, #620096);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 1, 141, 0.3);
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00018d;
}

.step-content p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Dataset Statistics */
.dataset-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(45deg, #00018d, #620096);
    border-radius: 20px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 1, 141, 0.3);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 1, 141, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #ffffff, #e8e0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Architecture Styling */
.architecture-overview {
    text-align: center;
    margin-bottom: 3rem;
}

.architecture-components {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.component-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.component-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-left-color: #620096;
}

.component-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #00018d, #620096);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 1, 141, 0.3);
}

.component-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00018d;
}

.component-content p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Branch Details */
.branch-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.branch-card {
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: white;
}

.semantic-branch {
    background: linear-gradient(135deg, #00018d, #620096);
}

.visual-branch {
    background: linear-gradient(135deg, #620096, #8e44ad);
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.branch-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.branch-header i {
    font-size: 1.5rem;
}

.branch-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.branch-card p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
}

/* Architecture Benefits */
.architecture-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    border-color: #620096;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #00018d, #620096);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(0, 1, 141, 0.3);
}

.benefit-content h4 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: #00018d;
}

.benefit-content p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

/* Evaluation Section */
.evaluation-overview {
    text-align: center;
    margin-bottom: 3rem;
}

/* Benchmark Carousel Styles */
.benchmark-carousel-container {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benchmark-carousel {
    position: relative;
    width: 100%;
    height: auto;
}

.benchmark-slide {
    display: none;
    width: 100%;
}

.benchmark-slide.active {
    display: block;
}

.benchmark-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.benchmark-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.benchmark-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
}

/* Citation Box */
.citation-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.citation-box pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.citation-box code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #2d3748;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background: 
            radial-gradient(circle at 20% 80%, rgba(98, 0, 150, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(0, 1, 141, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(142, 68, 173, 0.2) 0%, transparent 50%);
    }
    33% {
        background: 
            radial-gradient(circle at 70% 30%, rgba(98, 0, 150, 0.4) 0%, transparent 60%),
            radial-gradient(circle at 30% 70%, rgba(0, 1, 141, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(142, 68, 173, 0.3) 0%, transparent 50%);
    }
    66% {
        background: 
            radial-gradient(circle at 40% 20%, rgba(98, 0, 150, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 60% 80%, rgba(0, 1, 141, 0.4) 0%, transparent 60%),
            radial-gradient(circle at 80% 40%, rgba(142, 68, 173, 0.3) 0%, transparent 50%);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .authors {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .tldr {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
