/* 全局样式重置和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
.nav-logo span,
.main-title,
.section-title,
.abstract-text h3,
.resource-content h3,
.license-text h3,
.bibtex-label,
.version-tab {
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #d1778f;
    --secondary-color: #b96a7e;
    --accent-color: #f09393;
    --gradient-1: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-2: linear-gradient(135deg, var(--accent-color) 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #f7cac9 0%, #92a8d1 100%);
    --dark-color: #1a1a2e;
    --light-color: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(to bottom, #fff5f5 0%, #ffffff 100%);
}

img {
    pointer-events: none;
}

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

/* 导航栏样式 */
.navbar {
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    margin-top: 3rem;
    background: transparent;
    border: none;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    animation: slideDown 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.navbar.sticky .nav-container {
    max-width: 1200px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-logo i {
    font-size: 2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-2);
    transition: width 0.3s ease;
}

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

.nav-link.active {
    color: var(--primary-color);
}

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

/* 语言切换器样式 */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    color: var(--light-color);
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.lang-separator {
    color: rgba(0, 0, 0, 0.2);
    font-weight: 300;
}

/* 主标题区域 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 2rem 2rem 2rem; /* 增加顶部padding避免被导航栏遮挡 */
}

.hero-content {
    max-width: 1000px;
    z-index: 1;
}

.title-animation {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.main-title {
    font-size: 5.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-shadow: none;
    font-family: 'Caveat', cursive;
}

.title-word {
    display: inline-block;
    margin: 0;
    padding: 0.2em 0.4em;
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color), 
        #ff8a80,
        #ffcc80,
        #fff59d,
        #c8e6c9,
        #90caf9,
        #b39ddb,
        var(--primary-color), 
        var(--secondary-color));
    background-size: 600% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-flow 12s ease-in-out infinite;
}

.logo-animated-text {
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color), 
        #ff8a80,
        #ffcc80,
        #fff59d,
        #c8e6c9,
        #90caf9,
        #b39ddb,
        var(--primary-color), 
        var(--secondary-color));
    background-size: 600% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow-flow 12s ease-in-out infinite;
}

@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sub-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 新的作者列表样式 */
.authors-list {
    margin: 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s both;
}

.author-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-bottom: 1px solid transparent;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 2px;
}

/* Start of Selection */
.author-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.author-link sup {
    color: var(--accent-color);
    font-weight: 600;
}
/* End of Selection */

.author-separator {
    color: var(--text-light);
    margin: 0 0.5rem;
}

/* 单位信息样式 */
.affiliation {
    margin-top: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Start of Selection */
.affiliation p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
/* End of Selection */

.author-notes {
    margin-top: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.author-notes p {
    font-size: 1rem;
    color: var(--text-light);
    /* font-style: italic; */
}

.subtitle {
    font-size: 1.2rem;
    margin-top: 2rem;
    color: var(--text-light);
    animation: fadeInUp 1s ease 0.8s both;
}

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

/* 交互按钮样式 */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    animation: fadeInUp 1s ease 1s both;
}

.cta-btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    color: var(--light-color);
}

.btn-icon {
    height: 1.2em;
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-btn:hover::before {
    left: 100%;
}

.primary {
    background: var(--gradient-1);
    color: var(--light-color);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

.tertiary {
    background: var(--gradient-2);
    color: var(--light-color);
    box-shadow: 0 10px 25px rgba(240, 147, 251, 0.3);
}

.tertiary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4);
}

.arxiv {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: var(--light-color);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.arxiv:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
}

/* .arxiv .btn-icon {
    filter: brightness(0) invert(1);
} */

.huggingface {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: var(--light-color);
    box-shadow: 0 10px 25px rgba(255, 126, 95, 0.3);
}

.huggingface:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 126, 95, 0.4);
}


.huggingface-model{
    background: linear-gradient(135deg, #6a82fb, #8c54ff, #6a82fb);
    color: var(--light-color);
    box-shadow: 0 10px 25px rgba(106, 130, 251, 0.3);
}

.huggingface-model:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(106, 130, 251, 0.4);
}

/* .huggingface .btn-icon {
    filter: brightness(0) invert(1);
} */

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    display: none; /* Hide scroll indicator on light theme */
}

.scroll-arrow {
    color: var(--text-dark);
    font-size: 1.5rem;
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Teaser 图片样式 */

.teaser-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.teaser-image.lazy-load {
    opacity: 0;
}

.teaser-image.loaded {
    opacity: 1;
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    z-index: 1;
}

.image-placeholder::after {
    content: '';
    display: block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.teaser-container {
    position: relative;
    text-align: center;
    max-width: 1000px;
    margin: 3rem auto 0;
    /* animation: fadeInUp 1s ease 1.2s both; */
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

.comparison-images {
    position: relative;
    width: 100%;
    height: 100%;
    background: #e9ecef;
}

/* Quick Preview 部分样式 */
.preview-section {
    padding: 3rem 0;
    background: transparent;
}

.preview-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* 新的预览网格布局 */
.preview-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.image-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    min-height: auto;
}

.image-group:nth-child(1) { animation-delay: 0.2s; }
.image-group:nth-child(2) { animation-delay: 0.4s; }
.image-group:nth-child(3) { animation-delay: 0.6s; }
.image-group:nth-child(4) { animation-delay: 0.8s; }

.original-image-container {
    text-align: center;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.original-image-container h4 {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-shadow: none;
}

.original-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.original-image-container:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.image-group .comparison-container {
    margin-top: 0.5rem;
}

/* 视频预览样式 */
.video-preview {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.video-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-container:hover {
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
    width: 100%;
    height: 562px;
    border: none;
    border-radius: 15px;
    box-shadow: none;
}

/* 版本控制样式 */
.version-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.version-tabs {
    display: flex;
    gap: 0.5rem;
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    padding: 0.3rem;
    min-width: 600px;
    max-width: 800px;
}

.version-tab {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    min-width: 160px;
}

.version-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s;
}

.version-tab:hover::before {
    left: 100%;
}

.version-tab:hover {
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.05);
}

.version-tab.active {
    background: var(--gradient-1);
    color: var(--light-color);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.version-indicators {
    display: flex;
    gap: 0.8rem;
}

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

.indicator.active {
    background: var(--gradient-2);
    box-shadow: 0 0 15px rgba(240, 147, 251, 0.5);
    transform: scale(1.2);
}

/* 轮播容器样式 */
.preview-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-inner {
    position: relative;
    width: 300%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-page {
    width: 33.33%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-page.active {
    opacity: 1;
}

.carousel-page:not(.active) .image-group {
    animation: none;
}

/* 轮播切换动画效果 */
.preview-carousel.switching {
    overflow: hidden;
}

.preview-carousel.switching .carousel-inner {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.preview-carousel.switching .carousel-page {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.preview-carousel.switching .carousel-page:not(.active) {
    transform: scale(0.95);
}

/* 版本切换按钮悬停效果增强 */
.version-tab:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.version-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 指示器悬停效果 */
.indicator:hover {
    transform: scale(1.3);
    background: var(--gradient-1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.comparison-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease forwards;
}

.comparison-container:hover {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.comparison-slider:hover {
    /* cursor: crosshair; */
}

.comparison-slider::before {
    content: '🖱️ Hover mouse to see comparison';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 20;
    white-space: nowrap;
}

[data-lang="zh"] .comparison-slider::before {
    content: '🖱️ 将鼠标悬停在此处查看对比效果';
}

.comparison-slider.show-hint:not(:hover)::before {
    opacity: 1;
    animation: showOnce 4s ease-in-out forwards;
}

@keyframes showOnce {
    0% { opacity: 0; }
    25% { opacity: 0.8; }
    75% { opacity: 0.8; }
    100% { opacity: 0; }
}

.comparison-slider {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    cursor: default;
    user-select: none;
    transition: all 0.3s ease;
}



.before-image,
.after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.after-image {
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%);
    transition: clip-path 0.1s ease;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    z-index: 10;
    transition: left 0.1s ease;
}

.slider-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, #fff 20%, #fff 80%, transparent 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: none;
}

.slider-button:hover {
    background: #fff;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.comparison-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    z-index: 15;
    pointer-events: none;
}

.label-left,
.label-right {
    color: var(--text-dark);
    padding: 6px 14px;
    font-size: 1rem;
    font-weight: 600;
    transition: opacity 0.3s ease, transform 0.3s ease;
    letter-spacing: 0.5px;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.comparison-container:nth-child(1) { animation-delay: 0.2s; }
.comparison-container:nth-child(2) { animation-delay: 0.4s; }
.comparison-container:nth-child(3) { animation-delay: 0.6s; }

/* 通用节区样式 */
section {
    padding: 3rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-divider {
    width: 100px;
    height: 4px;
    background: var(--gradient-2);
    margin: 0 auto;
    border-radius: 2px;
}

/* 摘要部分样式 */
.abstract-section {
    background: transparent;
}

.abstract-text-container {
    max-width: 900px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.abstract-paragraph {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease 0.5s both;
}

.abstract-paragraph p {
    color: #3d3d3d;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    margin: 0 0 1.5rem 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.abstract-paragraph p:last-child {
    margin-bottom: 0;
}

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

.abstract-card {
    background: var(--light-color);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.abstract-card:nth-child(1) { animation-delay: 0.2s; }
.abstract-card:nth-child(2) { animation-delay: 0.4s; }
.abstract-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.abstract-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.abstract-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--light-color);
}

.abstract-text h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.abstract-text p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 结果展示样式 */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.result-card {
    background: var(--light-color);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.8s ease forwards;
}

.result-card:nth-child(1) { animation-delay: 0.1s; }
.result-card:nth-child(2) { animation-delay: 0.3s; }
.result-card:nth-child(3) { animation-delay: 0.5s; }
.result-card:nth-child(4) { animation-delay: 0.7s; }

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.result-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.result-preview {
    height: 200px;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.result-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--light-color);
    font-size: 2rem;
}

.result-placeholder span {
    font-size: 1rem;
    font-weight: 500;
}

.result-info {
    padding: 1.5rem;
}

.result-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.result-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 代码资源样式 */
.code-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.resource-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease forwards;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.resource-card:nth-child(1) { animation-delay: 0.2s; }
.resource-card:nth-child(2) { animation-delay: 0.4s; }
.resource-card:nth-child(3) { animation-delay: 0.6s; }

.resource-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--light-color);
    flex-shrink: 0;
}



.resource-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.resource-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-content p {
    color: var(--text-light);
    margin-bottom: auto;
    font-size: 1.2rem;
    padding-bottom: 1.5rem;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.resource-btn {
    background: var(--gradient-1);
    color: var(--light-color);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-top: auto;
    align-self: center;
    text-decoration: none;
    min-width: 160px;
    text-align: center;
    white-space: nowrap;
    font-size: 1rem !important;
    height: 48px;
    line-height: 1;
}

.resource-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Contact部分样式 */
.contact-section {
    padding: 2rem 0;
    margin: 1rem 0;
    background: transparent;
}

.contact-content {
    text-align: center;
}

.contact-text {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 0;
    text-shadow: none;
}

/* License部分样式 */
.license-section {
    background: transparent;
}

.license-content {
    max-width: 900px;
    margin: 0 auto;
}

.license-container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease 0.5s both;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.license-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 2.5rem;
    color: #2ecc71;
    flex-shrink: 0;
}

.license-icon i {
    display: block;
}

.license-text {
    flex: 1;
}

.license-text h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.license-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
}

.license-actions {
    display: flex;
    gap: 1rem;
}

.license-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.license-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #27ae60, #229954);
}

/* Citation部分样式 */
.citation-section {
    background: transparent;
}

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

.bibtex-container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bibtex-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f1f3f5;
    border-bottom: 1px solid #dee2e6;
}

.bibtex-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-1);
    color: var(--light-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.copy-btn.copied {
    background: var(--gradient-2);
}

.bibtex-code {
    background: #f8f9fa;
    color: var(--text-dark);
    padding: 1.5rem;
    margin: 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-x: auto;
    user-select: all;
}

.bibtex-code::selection {
    background: rgba(102, 126, 234, 0.3);
}

/* 页脚样式 */
.footer {
    background: transparent;
    /* backdrop-filter: blur(20px); */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--text-dark);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--light-color);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: scaleIn 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-header h3 {
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 2rem;
}

.demo-placeholder {
    text-align: center;
    color: var(--text-dark);
}

.demo-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Animate on Scroll Effect */
@keyframes animate-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-target {
    opacity: 0;
}

.scroll-target.animated {
    animation: animate-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Animation delay utility */
.scroll-target.delay-200.animated {
    animation-delay: 0.2s;
}

/* 中等屏幕响应式设计 */
@media (max-width: 1024px) {
    .code-resources {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .preview-grid-v2 {
        max-width: 900px;
        gap: 2.5rem;
    }
    
    .image-group {
        gap: 1.3rem;
    }
    
    .version-controls {
        margin-bottom: 2.5rem;
    }
    
    .version-tab {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
        min-width: 140px;
    }
}

@media (max-width: 800px) {
    .code-resources {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .preview-grid-v2 {
        grid-template-columns: 1fr;
        max-width: 700px;
        gap: 2rem;
    }
    
    .version-controls {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .version-tabs {
        width: 100%;
        max-width: 500px;
        min-width: 480px;
    }
    
    .version-tab {
        flex: 1;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .language-switcher {
        position: fixed;
        top: 1rem;
        right: 1rem;
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        border: 1px solid var(--glass-border);
        border-radius: 20px;
        padding: 0.5rem;
        z-index: 1001;
    }
    
    .hero {
        padding: 5rem 1rem 1rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .authors-list {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .abstract-content {
        grid-template-columns: 1fr;
    }
    
    .abstract-text-container {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .abstract-paragraph {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .abstract-paragraph p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .code-resources {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resource-card {
        min-height: 250px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .bibtex-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .bibtex-code {
        font-size: 0.8rem;
        padding: 1rem;
    }
    
    .teaser-container {
        margin: 2rem auto 0;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .teaser-image {
        border-radius: 15px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .preview-grid {
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .preview-grid-v2 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1rem;
    }
    
    .image-group {
        gap: 1.2rem;
    }
    
    .original-image-container {
        height: 250px;
    }
    
    .original-image-container h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .comparison-slider {
        height: 250px;
    }
    
    .video-container {
        max-width: 100%;
        padding: 1rem;
        margin: 0 1rem;
    }
    
    .video-container iframe {
        height: 300px;
    }
    
    .version-controls {
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .version-tabs {
        width: 100%;
        max-width: 450px;
        min-width: 420px;
    }
    
    .version-tab {
        flex: 1;
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        min-width: 110px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .comparison-slider {
        height: 250px;
    }
    
    .slider-button {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .comparison-labels {
        top: 15px;
        left: 15px;
        right: 15px;
    }
    
    .label-left,
    .label-right {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .video-container {
        padding: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .video-container iframe {
        height: 250px;
    }
    
    .authors-list {
        font-size: 0.9rem;
    }
    
    .preview-grid-v2 {
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .image-group {
        gap: 1rem;
    }
    
    .original-image-container {
        height: 220px;
    }
    
    .original-image-container h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .comparison-slider {
        height: 220px;
    }
    
    .version-controls {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }
    
    .version-tabs {
        width: 100%;
        max-width: 380px;
        min-width: 360px;
    }
    
    .version-tab {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
        min-width: 90px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .version-indicators {
        gap: 0.6rem;
    }
}

/* 极小屏幕适配 */
@media (max-width: 360px) {
    .version-tabs {
        min-width: auto;
        max-width: 95vw;
    }
    
    .version-tab {
        min-width: auto;
        padding: 0.4rem 0.3rem;
        font-size: 0.7rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f3f5;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--light-color);
}

/* 页面加载动画 */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageLoad 1s ease-out;
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-2);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(240, 147, 251, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    border: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 25px rgba(240, 147, 251, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

/* Method 模块样式 */
.method-section {
    padding: 2.5rem 0;
    margin: 1.5rem 0;
    background: transparent;
}

.method-image-container {
    max-width: 900px;
    margin: 4rem auto 1rem;
    position: relative;
}

.method-image-container:first-of-type {
    margin-top: 2rem;
}

.method-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: opacity 0.3s ease;
}

.method-image.loaded {
    opacity: 1;
}

.method-image-container:hover .method-image {
}

.method-caption {
    max-width: 900px;
    margin: 1rem auto 0;
    text-align: justify;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.method-caption h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: none;
}

.method-caption p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
    text-shadow: none;
    background: var(--light-color);
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 2rem;
}

@media (max-width: 768px) {
    .method-image-container {
        margin: 0 1rem 2rem 1rem;
    }
    
    .method-image {
        border-radius: 10px;
    }
    
    .method-caption {
        margin: 0 1rem;
        padding: 0;
    }
    
    .method-caption h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .method-caption p {
        font-size: 1.0rem;
        text-align: left;
        padding: 1.5rem;
        border-radius: 12px;
    }
}


/* Benchmark 模块样式 */
.benchmark-section {
    padding: 2.5rem 0;
    margin: 1.5rem 0;
    background: transparent;
}

.benchmark-image-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    overflow: hidden;
}

.benchmark-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: all 0.5s ease;
    opacity: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benchmark-image.loaded {
    opacity: 1;
}

.benchmark-image-container:hover .benchmark-image {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benchmark-caption {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.benchmark-caption h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    text-shadow: none;
}

.benchmark-caption p {
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
    text-shadow: none;
    background: var(--light-color);
    border: 1px solid #dee2e6;
    border-radius: 15px;
    padding: 2rem;
}

/* Benchmark 响应式设计 */
@media (max-width: 768px) {
    .benchmark-image-container {
        margin: 0 1rem 2rem 1rem;
    }
    
    .benchmark-image {
        border-radius: 10px;
    }
    
    .benchmark-caption {
        margin: 0 1rem;
        padding: 0;
    }
    
    .benchmark-caption h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .benchmark-caption p {
        font-size: 1.0rem;
        text-align: left;
        padding: 1.5rem;
        border-radius: 12px;
    }
}

/* Data Coverage 表格样式 */
.data-coverage-section {
    padding: 2.5rem 0;
    background: transparent;
    margin: 1.5rem 0;
}

.data-table-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.table-wrapper {
    overflow-x: auto;
    margin-bottom: 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light-color);
}

.data-table thead {
    background: #f8f9fa;
    color: var(--text-dark);
    border-bottom: 1px solid #dee2e6;
}

.data-table th {
    padding: 0.85rem 1rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
    white-space: nowrap;
}

.data-table th:first-child {
    border-top-left-radius: 12px;
}

.data-table th:last-child {
    border-top-right-radius: 12px;
}

.data-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #e9ecef;
}

.data-table tbody tr:hover {
    background: #f1f3f5;
    transform: none;
    box-shadow: none;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: #495057;
    border: none;
    vertical-align: middle;
    text-align: left;
}

.data-table td:first-child {
    font-weight: 600;
    color: #212529;
}

.text-success {
    color: #27ae60 !important;
    font-size: 1rem;
}

.table-caption {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
}

.table-caption p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-light);
    font-style: italic;
}

/* Data Coverage 响应式设计 */
@media (max-width: 768px) {
    .data-table-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .table-wrapper {
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .table-caption p {
        font-size: 0.85rem;
    }
    
    .license-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .license-icon {
        font-size: 2rem;
    }
    
    .license-text h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .license-text p {
        font-size: 1rem;
        text-align: left;
    }
} 

/* ===================== COMPARISON SECTION ENHANCEMENTS ===================== */
/* Make the comparison tables take full width and allow easy horizontal scroll */
.data-coverage-section .data-table-container {
    max-width: 100%;   /* allow the container to span the page width */
    width: 100%;
    padding: 2rem 1rem; /* a bit more breathing room on sides */
}

.data-coverage-section .table-wrapper {
    width: 100%;
    overflow-x: auto;  /* ensure horizontal scrollbar appears if needed */
}

/* ---------- Table Caption Styling ---------- */
.data-table caption {
    caption-side: top;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    padding: 0.75rem;
    margin-bottom: 0;
    color: var(--text-dark);
    background-color: #f1f3f5;
    border-radius: 8px 8px 0 0;
    font-family: 'Poppins', sans-serif;
    border-bottom: 1px solid #dee2e6;
}


/* ---------- Table Header (title row) styling ---------- */
.data-coverage-section .data-table thead {
    background: #f8f9fa;
    color: var(--text-dark);
    position: sticky;
    top: 0;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.data-coverage-section .data-table th {
    text-align: left;
    padding: 0.8rem 0.5rem;
    font-size: 0.85rem;
    letter-spacing: normal;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap;
    font-weight: 700;
    color: #212529;
}

.data-coverage-section .performance-table th {
    font-size: 0.85rem;
    padding: 0.5rem;
}

.data-coverage-section .data-table td {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    text-align: left;
    color: #495057;
}

.data-coverage-section .data-table td:first-child {
    text-align: left;
}


/* ---------- Row zebra striping & hover ---------- */
.data-coverage-section .data-table tbody tr:nth-child(odd) {
    background-color: transparent;
}

.data-coverage-section .data-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

.data-coverage-section .data-table tbody tr:hover {
    background-color: rgba(209, 119, 143, 0.1); /* subtle highlight */
}

/* ---------- Special row for "our" method ---------- */
.our-method-row, .our-method-row:nth-child(odd), .our-method-row:nth-child(even) {
    background-color: #ffebee !important;
}
.our-method-row td {
    color: #2c3e50 !important;
}

.performance-table .our-method-row td:first-child {
    font-weight: 700 !important;
}

.our-method-row td:not(:first-child) {
    font-weight: normal !important;
}

.our-method-row td:not(:first-child) {
    font-weight: normal;
}

.our-method-row:hover {
    background-color: #ffdde0 !important;
}

/* ---------- Scrollbar aesthetics for table wrapper ---------- */
.data-coverage-section .table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.data-coverage-section .table-wrapper::-webkit-scrollbar-track {
    background: #f1f3f5;
}

.data-coverage-section .table-wrapper::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 10px;
}

@media (max-width: 768px) {
    /* Slightly reduce font size on smaller screens for better fit */
    .data-coverage-section .data-table th {
        font-size: 0.8rem;
        padding: 0.5rem 0.4rem;
    }
    .data-coverage-section .data-table td {
        font-size: 0.8rem;
        padding: 0.5rem 0.4rem;
    }
}
/* ========================================================================== */