.whitepaper-title {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--text-color);
}

body.dark-mode .whitepaper-title {
    color: var(--dark-text);
}

.whitepaper-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1rem;
}

.whitepaper-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.whitepaper-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.whitepaper-link:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.whitepaper-link:hover i {
    transform: translateY(-1px);
}

body.dark-mode .whitepaper-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

body.dark-mode .whitepaper-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Table Styles */
.comparison-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 1rem;
}

.comparison-table::-webkit-scrollbar {
    height: 8px;
}

.comparison-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.comparison-table::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

body.dark-mode .comparison-table {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.dark-mode .comparison-table::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .comparison-table::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.comparison-table table {
    min-width: 800px;
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.comparison-table td:first-child {
    position: sticky;
    left: 0;
    background: var(--bg-color);
    font-weight: 500;
    white-space: normal;
    z-index: 1;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
    text-align: left;
    min-width: 200px;
}

body.dark-mode .comparison-table td:first-child {
    background: var(--bg-dark);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.3);
}

.comparison-table .check {
    color: #22c55e;
    font-size: 1.2rem;
}

.comparison-table .partial {
    color: #f59e0b;
    font-size: 1.2rem;
}

.comparison-table .x {
    color: #ef4444;
    font-size: 1.2rem;
}

.comparison-table .legend {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color);
}

body.dark-mode .comparison-table .legend {
    color: var(--dark-text);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .whitepaper-title {
        font-size: 1.8rem;
        margin: 1rem 0;
        letter-spacing: -0.02em;
    }

    .whitepaper {
        padding: 1rem;
    }

    .comparison-table {
        margin: 1.5rem -1rem;
        padding: 1rem;
        border-radius: 0;
    }

    .comparison-table table {
        font-size: 0.9rem;
        min-width: 600px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .comparison-table td:first-child {
        min-width: 160px;
        padding-right: 1rem;
    }

    .comparison-table .check,
    .comparison-table .partial,
    .comparison-table .x {
        font-size: 1.1rem;
    }

    .section {
        margin: 2rem 0;
    }

    .section h2 {
        font-size: 1.4rem;
        margin: 1.5rem 0 1rem;
        letter-spacing: -0.02em;
    }

    .section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .section ul {
        padding-left: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .section li {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

    .highlight {
        padding: 1.25rem;
        margin: 1.5rem 0;
        border-radius: 8px;
    }

    .legend {
        margin: 1rem 0;
        font-size: 0.9rem;
    }

    .legend p {
        margin: 0.5rem 0;
    }

    .note {
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }
}
