/* ==========================================
   GLOBAL
========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    background: #ffffff;
    line-height: 1.8;
}

/* ==========================================
   CONTAINER
========================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    width: 90%;
    max-width: 1200px;

    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 16px 0;
}

.logo {

    display: flex;
    align-items: center;
    gap: 4px;

    font-size: 1.1rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 1px;
}

.logo-image {

    width: 32px;
    height: 32px;

    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;

    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #2563eb;
}

/* ==========================================
   HERO
========================================== */

.hero {
    padding-top: 90px;
    padding-bottom: 60px;

    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.25;

    font-weight: 800;

    max-width: 950px;
    margin: auto;
}

.conference {
    margin-top: 25px;

    display: inline-block;

    padding: 10px 18px;

    background: #eff6ff;
    color: #2563eb;

    border-radius: 999px;

    font-weight: 700;
}

.authors {
    margin-top: 35px;

    display: flex;
    justify-content: center;
    gap: 28px;

    flex-wrap: wrap;

    font-size: 1.05rem;
}

.authors span {
    font-weight: 500;
}

.affiliations {
    margin-top: 25px;
    color: #6b7280;
}

.affiliations p {
    margin-bottom: 4px;
}

/* ==========================================
   BUTTONS
========================================== */

.button-group {
    margin-top: 40px;

    display: flex;
    justify-content: center;
    gap: 15px;

    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {

    text-decoration: none;

    padding: 14px 26px;

    border-radius: 10px;

    font-weight: 600;

    transition: all 0.25s ease;
}

.primary-btn {
    background: #2563eb;
    color: white;
}

.primary-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.secondary-btn {
    background: #f3f4f6;
    color: #111827;
}

.secondary-btn:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

/* ==========================================
   TEASER
========================================== */

.teaser {
    padding-bottom: 70px;
}

.teaser-image {

    width: 100%;

    border-radius: 16px;

    border: 1px solid #e5e7eb;

    box-shadow:
        0px 8px 30px rgba(0,0,0,0.08);
}

.figure-caption {

    margin-top: 18px;

    text-align: center;

    color: #4b5563;

    font-size: 0.95rem;
}

/* ==========================================
   SECTIONS
========================================== */

.section {
    padding: 90px 0;
}

.section h2 {

    text-align: center;

    font-size: 2.2rem;

    margin-bottom: 40px;

    font-weight: 800;
}

.section p {
    font-size: 1.05rem;
}

/* ==========================================
   ALTERNATE BACKGROUND
========================================== */

.gray-section {
    background: #f8fafc;
}

/* ==========================================
   CONTRIBUTIONS
========================================== */

.contribution-grid {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 24px;
}

.card {

    background: white;

    padding: 28px;

    border-radius: 16px;

    border: 1px solid #e5e7eb;

    transition: all 0.25s ease;
}

.card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 8px 24px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 12px;
    color: #2563eb;
}

/* ==========================================
   METHOD
========================================== */

/* ==========================================
   METHOD
========================================== */

.method-intro {
    margin-bottom: 40px;
    text-align: justify;
}

.method-image {

    width: 100%;

    border-radius: 16px;

    border: 1px solid #e5e7eb;

    margin-bottom: 45px;

    box-shadow:
        0 8px 24px rgba(0,0,0,0.06);
}

.method-block {

    display: flex;

    align-items: flex-start;

    gap: 30px;

    margin-bottom: 40px;
}

.method-number {

    min-width: 48px;
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: #2563eb;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
    font-size: 1.1rem;

    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-content h3 {

    margin-bottom: 10px;

    font-size: 1.15rem;

    font-weight: 700;

    color: #111827;
}

.method-content p {

    margin-bottom: 0;

    color: #374151;

    text-align: justify;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {

    .method-block {

        flex-direction: column;

        gap: 15px;
    }

    .method-number {

        width: 42px;
        height: 42px;

        font-size: 1rem;
    }
}


/* ==========================================
   RESULTS
========================================== */
/* ==========================================
   RESULTS SECTION
========================================== */

.results-note {

    text-align: center;

    max-width: 900px;

    margin: 0 auto 30px auto;

    color: #6b7280;

    font-size: 1rem;
}

.results-subtitle {

    margin-top: 40px;
    margin-bottom: 20px;

    text-align: center;

    font-size: 1.5rem;
    font-weight: 700;

    color: #111827;
}

/* ==========================================
   TABLE WRAPPER
========================================== */

.table-wrapper {

    width: 100%;

    overflow-x: auto;

    text-align: center;

    margin-top: 25px;
    margin-bottom: 25px;

    background: white;

    border: 1px solid #e5e7eb;

    border-radius: 14px;
}

/* ==========================================
   MAIN TABLE
========================================== */

.results-table {
    margin: 0 auto;
}


/* ==========================================
   CAPTION
========================================== */

.results-table caption {

    caption-side: top;

    padding: 18px;

    font-weight: 600;

    color: #374151;

    text-align: center;
}

/* ==========================================
   HEADER
========================================== */

.results-table thead th {

    background: #2563eb;

    color: white;

    padding: 10px 8px;

    text-align: center;

    font-weight: 700;

    border: 1px solid #1d4ed8;
}

.results-table thead tr:first-child th {

    font-size: 1rem;
}

.results-table thead tr:nth-child(2) th {

    background: #1d4ed8;

    font-size: 0.92rem;
}

/* ==========================================
   BODY CELLS
========================================== */

.results-table td {

    padding: 10px 8px;

    text-align: center;

    border: 1px solid #e5e7eb;

    font-size: 0.95rem;
}

/* ==========================================
   FIRST COLUMN
========================================== */

.results-table td:first-child,
.results-table th:first-child {

    font-weight: 600;

    background: inherit;

    font-weight: 600;

    z-index: 2;
}

.results-table thead th:first-child {

    background: #2563eb;
}

/* ==========================================
   SECTION ROWS
========================================== */

.section-row td {

    background: #1e293b !important;

    color: white;

    font-weight: 700;

    font-size: 1rem;

    text-align: center;

    padding: 14px;

    letter-spacing: 0.3px;
}

/* ==========================================
   DATASET ROWS
========================================== */

.dataset-row td {

    background: #e2e8f0 !important;

    color: #111827;

    font-weight: 700;

    text-align: center;

    padding: 12px;
}

/* ==========================================
   HIGHLIGHT VINAYAKA
========================================== */

.highlight-row {

    background: #dbeafe !important;

    font-weight: 700;
}

.highlight-row td {

    color: #1e3a8a;

    font-weight: 700;
}

/* ==========================================
   HOVER EFFECT
========================================== */

.results-table tbody tr:hover {

    background: #f8fafc;
}

/* Keep section rows fixed */

.section-row:hover td,
.dataset-row:hover td {

    background: inherit;
}

/* ==========================================
   TABLE CAPTION BELOW TABLE
========================================== */

.table-caption {

    margin-top: 20px;

    text-align: center;

    color: #6b7280;

    font-size: 0.95rem;

    line-height: 1.6;

    max-width: 1000px;

    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 900px) {

    .results-table {

        min-width: 850px;
    }

    .results-table td,
    .results-table th {

        padding: 10px 8px;

        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {

    .results-note {

        font-size: 0.95rem;
    }

    .table-caption {

        font-size: 0.85rem;
    }
}



/* ==========================================
   BIBTEX
========================================== */

.bibtex {

    background: #111827;

    color: #f9fafb;

    padding: 25px;

    border-radius: 12px;

    overflow-x: auto;

    font-size: 0.95rem;
}

/* ==========================================
   CONTACT
========================================== */

#contact {
    text-align: center;
}

#contact p {
    margin-bottom: 10px;
}

/* ==========================================
   FOOTER
========================================== */

footer {

    padding: 35px 0;

    text-align: center;

    border-top: 1px solid #e5e7eb;

    color: #6b7280;

    background: white;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {

    .hero h1 {
        font-size: 2.2rem;
    }

    .authors {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links {
        gap: 14px;
    }
}

@media (max-width: 700px) {

    .nav-container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-top: 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
    }
}
/* ==========================================
   CONTACT
========================================== */

.contact-section {

    padding: 60px 0;
}

.contact-card {

    max-width: 600px;

    margin: 0 auto;

    text-align: center;
}

.contact-card h2 {

    margin-bottom: 10px;
}

.contact-card p {

    color: #6b7280;

    margin-bottom: 10px;
}

.contact-email {

    color: #2563eb;

    text-decoration: none;

    font-weight: 600;

    transition: opacity 0.2s ease;
}

.contact-email:hover {

    opacity: 0.75;
}
