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

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

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

/* Navigation */
nav {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Hero section */
.hero {
    background-color: #f5f9ff;
    padding: 100px 0;
    text-align: center;
}

.small-hero {
    padding: 60px 0;
}

.paper-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0066cc;
}

.authors, .institution {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #555;
}

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

.video-container {
    margin-top: 30px;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Abstract section */
.abstract {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.abstract h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.abstract p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CTA buttons */
.cta-buttons {
    padding: 60px 0;
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.primary-btn {
    background-color: #0066cc;
    color: white;
}

.primary-btn:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.secondary-btn {
    background-color: #e0e0e0;
    color: #0e0e0e;
    border: 1px solid #ddd;
}

.secondary-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Leaderboard styles */
.leaderboard-section {
    padding: 60px 0;
}

.table-container {
    overflow-x: auto;
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    max-width: 900px;
}

th, td {
    padding: 12px 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f5f9ff;
    font-weight: 700;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f0f0f0;
}

/* Demo styles */
.demos-section {
    padding: 60px 0;
}

.alt-bg {
    background-color: #f9f9f9;
}

.demo-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.demo-description {
    line-height: 1.8;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .paper-title {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
}