/* Whitepaper Specific Styles */
.whitepaper-main {
    padding-top: 80px;
    background: var(--bg-secondary);
    min-height: 100vh;
}

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

.whitepaper-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.whitepaper-logo {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.whitepaper-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.whitepaper-header h2 {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.whitepaper-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
}

.whitepaper-toc {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.whitepaper-toc h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.whitepaper-toc ul {
    list-style: none;
    padding: 0;
}

.whitepaper-toc li {
    margin-bottom: 0.75rem;
}

.whitepaper-toc a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.whitepaper-toc a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.whitepaper-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    line-height: 1.8;
}

.whitepaper-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px;
}

.whitepaper-section:last-child {
    margin-bottom: 0;
}

.whitepaper-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-primary);
}

.whitepaper-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.whitepaper-section p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.whitepaper-section ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.whitepaper-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.whitepaper-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.whitepaper-section pre {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.whitepaper-section code {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.whitepaper-section.disclaimer {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--warning-color);
    margin-top: 3rem;
}

.whitepaper-section.disclaimer h2 {
    color: var(--warning-color);
    border-bottom: none;
    margin-bottom: 1rem;
}

.whitepaper-section.disclaimer p {
    color: #856404;
}

.whitepaper-footer {
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.whitepaper-footer p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.whitepaper-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.whitepaper-footer a:hover {
    text-decoration: underline;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .whitepaper-container {
        padding: 2rem 1rem;
    }

    .whitepaper-header {
        padding: 2rem 1rem;
    }

    .whitepaper-header h1 {
        font-size: 2rem;
    }

    .whitepaper-content {
        padding: 2rem 1.5rem;
    }

    .whitepaper-section h2 {
        font-size: 1.75rem;
    }

    .whitepaper-section h3 {
        font-size: 1.25rem;
    }
}

