/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a365d;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a365d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    background: #f8fafc;
    color: #1a1a1a;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #1a365d;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #4a5568;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-authors {
    margin-bottom: 0.5rem;
}

.author {
    font-size: 1.1rem;
    margin: 0 1rem;
    font-weight: 500;
    color: #2d3748;
}

.hero-affiliation {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #1a365d;
    color: white;
}

.btn-primary:hover {
    background: #2c5282;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 54, 93, 0.25);
}

.btn-secondary {
    background: white;
    color: #1a365d;
    border: 2px solid #1a365d;
}

.btn-secondary:hover {
    background: #1a365d;
    color: white;
    transform: translateY(-1px);
}

/* Main content */
.main-content {
    margin-top: 70px;
}

.section {
    padding: 5rem 0;
}

.section-alt {
    background: #f8fafc;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a365d;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
}

.section-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #4a5568;
}

/* Research grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.research-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.research-icon {
    background: #1a365d;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.research-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a365d;
}

.research-card p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.status-validated {
    background: #d1fae5;
    color: #065f46;
}

/* Results table */
.results-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #2d3748;
}

.results-table-container {
    margin: 3rem 0;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.results-table th,
.results-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.results-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #2d3748;
}

.baseline-row {
    background: #fefefe;
}

.comparison-row {
    background: #ebf8ff;
}

.enhancement-row {
    background: #f0fff4;
}

.best-row {
    background: #fffbeb;
    font-weight: 600;
}

.negative-row {
    background: #fef5e7;
}

.negative {
    color: #c53030;
    font-weight: 600;
}

/* Key findings */
.key-findings {
    margin-top: 4rem;
}

.key-findings h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #1a365d;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.finding-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.finding-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.finding-icon.success {
    background: #d1fae5;
    color: #065f46;
}

.finding-icon.info {
    background: #dbeafe;
    color: #1e40af;
}

.finding-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a365d;
}

.finding-content p {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
}

/* Augmentation results */
.augmentation-results {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.augmentation-results h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.augmentation-table-container {
    margin: 2rem 0;
}

.augmentation-note {
    background: #fffbeb;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #d69e2e;
    margin-top: 1.5rem;
    font-size: 1rem;
}

/* Models section */
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.model-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.best-model {
    border: 2px solid #d69e2e;
    position: relative;
}

.best-model::before {
    content: 'BEST';
    position: absolute;
    top: 0;
    right: 0;
    background: #d69e2e;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.model-header {
    background: #1a365d;
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.model-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.model-content {
    padding: 1.5rem;
}

.model-description {
    color: #4a5568;
    margin-bottom: 1rem;
}

.model-accuracy {
    font-size: 2rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 1rem;
}

.model-accuracy.best {
    color: #d69e2e;
}

.model-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a365d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.model-link:hover {
    color: #2c5282;
}

/* Dataset section */
.dataset-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.dataset-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a365d;
}

.dataset-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.dataset-header {
    background: #38a169;
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.dataset-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.dataset-content {
    padding: 1.5rem;
}

.dataset-content p {
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.dataset-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat {
    background: #edf2f7;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d3748;
}

.dataset-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #38a169;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.dataset-link:hover {
    color: #2f855a;
}

.collection-link {
    text-align: center;
    margin-top: 3rem;
}

/* Methodology */
.methodology-content {
    max-width: 1000px;
    margin: 0 auto;
}

.methodology-overview {
    text-align: center;
    margin-bottom: 3rem;
}

.methodology-overview p {
    font-size: 1.2rem;
    color: #2d3748;
}

.methodology-stages {
    display: grid;
    gap: 2rem;
    margin: 3rem 0;
}

.stage-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stage-number {
    background: #1a365d;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.stage-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a365d;
}

.stage-content p {
    color: #4a5568;
    margin-bottom: 1rem;
}

.stage-result {
    background: #f0fdf4;
    color: #166534;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
}

.technical-details {
    margin-top: 4rem;
}

.technical-details h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1a365d;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.config-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.config-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a365d;
}

.config-card ul {
    list-style: none;
}

.config-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

.config-card li:last-child {
    border-bottom: none;
}

/* Paper section */
.paper-content {
    max-width: 800px;
    margin: 0 auto;
}

.paper-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.paper-meta h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a365d;
}

.paper-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #2d3748;
}

.paper-venue {
    color: #4a5568;
}

.citation-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.citation-box {
    position: relative;
    background: #2d3748;
    border-radius: 8px;
    overflow: hidden;
}

.citation-box pre {
    padding: 2rem;
    margin: 0;
    overflow-x: auto;
}

.citation-box code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.copy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #4a5568;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #2d3748;
}

/* Code section */
.code-content {
    max-width: 1000px;
    margin: 0 auto;
}

.repo-info {
    margin-bottom: 3rem;
}

.repo-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.repo-header i {
    font-size: 3rem;
    color: #1a365d;
}

.repo-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a365d;
}

.repo-header p {
    color: #4a5568;
    margin: 0;
}

.quick-start {
    margin-bottom: 3rem;
}

.quick-start h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a365d;
}

.code-block {
    background: #2d3748;
    border-radius: 8px;
    overflow: hidden;
}

.code-block pre {
    padding: 2rem;
    margin: 0;
    overflow-x: auto;
}

.code-block code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a365d;
}

.feature-card p {
    color: #4a5568;
    margin: 0;
}

.requirements {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #1a365d;
}

.requirements h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a365d;
}

.requirements ul {
    list-style-type: disc;
    margin-left: 2rem;
}

.requirements li {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: #1a365d;
    color: #e2e8f0;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #2d3748;
    color: #a0aec0;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .paper-info {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .repo-header {
        flex-direction: column;
        text-align: center;
    }
    
    .stage-card {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation utilities */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section {
    animation: fadeIn 0.6s ease-out;
}
