/* Whitepaper specific styles */
.whitepaper-container {
    max-width: 900px;
    width: 100%;
    /* Ensure it doesn't exceed viewport/parent width */
    margin: 120px auto 60px;
    padding: 40px;
    background: rgba(10, 15, 30, 0.85);
    /* Slightly more opaque for reading */
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.1);
    text-align: left;
    /* Ensure container is left aligned */
    animation: fadeIn 2s ease-in-out;
}

.whitepaper-container h1 {
    font-family: 'Orbitron', sans-serif;
    color: #00f3ff;
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    /* Title remains centered */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.whitepaper-meta {
    text-align: center;
    color: #aebbc9;
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-family: 'Roboto', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.whitepaper-content {
    font-family: 'Roboto', sans-serif;
    color: #aebbc9;
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: left;
    /* Explicit left alignment */
}

.whitepaper-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
    border-left: 4px solid #00f3ff;
    padding-left: 15px;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.whitepaper-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00f3ff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.whitepaper-content p {
    margin-bottom: 20px;
    text-align: left;
    /* Left align instead of justify */
}

.whitepaper-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.whitepaper-content li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 20px;
}

.whitepaper-content li::before {
    content: "▹";
    color: #00f3ff;
    position: absolute;
    left: 0;
}

.whitepaper-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}

.whitepaper-content th,
.whitepaper-content td {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    text-align: left;
}

.whitepaper-content td:first-child {
    font-weight: bold;
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
    /* Optional: matches headers for "category" feel */
}

.whitepaper-content th {
    background-color: rgba(0, 243, 255, 0.1);
    color: #00f3ff;
    font-family: 'Orbitron', sans-serif;
}

.whitepaper-content tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

.whitepaper-content a {
    color: #00f3ff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whitepaper-content a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #00f3ff;
}

.whitepaper-content blockquote {
    border-left: 3px solid #00f3ff;
    margin: 20px 0;
    padding-left: 20px;
    font-style: italic;

    color: rgba(255, 255, 255, 0.8);
}

/* --- Mobile Tweaks --- */
@media (max-width: 768px) {
    .whitepaper-container {
        margin: 100px 15px 40px;
        padding: 15px;
        /* Reduced padding */
    }

    .whitepaper-container h1 {
        font-size: 1.6rem;
        /* Slightly smaller title */
    }

    .whitepaper-content h2 {
        font-size: 1.3rem;
        margin-top: 25px;
    }

    .whitepaper-content h3 {
        font-size: 1.1rem;
    }

    .whitepaper-content {
        font-size: 0.95rem;
        /* Slightly smaller text */
        overflow-wrap: break-word;
        /* Prevent long words from breaking layout */
        word-wrap: break-word;
    }

    /* Scrollable tables */
    .whitepaper-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border: none;
        /* Remove outer border to save space */
    }
}