/* ===================================
   EVIBOT WHITEPAPER STYLES
   ================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles (Same as main site) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.brand-name {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    letter-spacing: 3px;
}

/* Navigation */
.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.4s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.8rem 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ffffff;
    padding-left: 1.5rem;
}

/* Main Container */
.whitepaper-container {
    margin-top: 80px;
    display: flex;
    min-height: calc(100vh - 80px);
}

/* Sidebar Table of Contents */
.sidebar-toc {
    position: fixed;
    left: 0;
    top: 80px;
    width: 280px;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem 1.5rem;
    overflow-y: auto;
    z-index: 100;
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toc-header i {
    color: #ffffff;
    font-size: 1.2rem;
}

.toc-header h3 {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: #ffffff;
}

.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.toc-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.toc-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.toc-text {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.toc-link:hover,
.toc-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #ffffff;
}

.toc-link.active .toc-number {
    opacity: 1;
}

/* Reading Progress */
.reading-progress {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #cccccc);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    display: block;
}

/* Main Content */
.whitepaper-content {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 3rem 5%;
    max-width: 1200px;
}

/* Hero Section */
.wp-hero {
    text-align: center;
    padding: 4rem 0 6rem;
    position: relative;
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.deco-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    animation: pulse 2s infinite alternate;
}

.deco-line:nth-child(2) {
    animation-delay: 0.3s;
}

.deco-line:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes pulse {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 1;
    }
}

.hero-logo {
    margin: 5rem auto 2rem;
    width: 150px;
    height: 150px;
}

.hero-logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-family: 'Audiowide', cursive;
    font-size: 4rem;
    color: #ffffff;
    letter-spacing: 10px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.hero-version {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 2rem;
}

/* Data Stream */
.data-stream-container {
    margin-top: 3rem;
}

.data-stream {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 3px;
    overflow: hidden;
    white-space: nowrap;
}

/* Section Styles */
.wp-section {
    margin: 5rem 0;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    margin-bottom: 3rem;
}

.section-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Audiowide', cursive;
    font-size: 2.5rem;
    color: #ffffff;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.section-line {
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, transparent);
}

.section-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Content Placeholder */
.content-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.content-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1rem;
}

.content-placeholder p {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
}

/* Content Typography (for when content is added) */
.section-content h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin: 2rem 0 1rem;
    letter-spacing: 2px;
}

.section-content h4 {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 1.5rem 0 1rem;
    letter-spacing: 1px;
}

.section-content p {
    margin-bottom: 1.5rem;
}

.section-content ul,
.section-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.section-content li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
}

.section-content ul li::marker {
    color: #ffffff;
}

.section-content strong {
    color: #ffffff;
    font-weight: 600;
}

.section-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Share Tech Mono', monospace;
    color: #ffffff;
    font-size: 0.9em;
}

/* Tables */
.token-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.token-table thead {
    background: rgba(255, 255, 255, 0.1);
}

.token-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.token-table td {
    padding: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.token-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* TGE Table - Wider columns */
.tge-table {
    font-size: 0.85rem;
}

.tge-table th,
.tge-table td {
    padding: 0.8rem 0.5rem;
    white-space: nowrap;
}

.tge-table td:nth-child(2),
.tge-table td:nth-child(3),
.tge-table td:nth-child(4),
.tge-table td:nth-child(7) {
    font-weight: 600;
    color: #ffffff;
}

/* Responsive Tables */
@media (max-width: 1024px) {
    .token-table {
        font-size: 0.85rem;
    }
    
    .token-table th,
    .token-table td {
        padding: 0.8rem;
    }
    
    .tge-table {
        font-size: 0.75rem;
    }
    
    .tge-table th,
    .tge-table td {
        padding: 0.6rem 0.4rem;
    }
}

@media (max-width: 768px) {
    .token-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tge-table th,
    .tge-table td {
        font-size: 0.7rem;
        padding: 0.5rem 0.3rem;
    }
}

/* Footer */
.wp-footer {
    margin-top: 5rem;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-decoration {
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    margin: 0 auto 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.footer-logo span {
    font-family: 'Audiowide', cursive;
    font-size: 1.5rem;
    color: #ffffff;
    letter-spacing: 3px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-social a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar-toc {
        width: 250px;
    }
    
    .whitepaper-content {
        margin-left: 250px;
        width: calc(100% - 250px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .sidebar-toc {
        display: none;
    }
    
    .whitepaper-content {
        margin-left: 0;
        width: 100%;
        padding: 2rem 5%;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }
    
    .wp-section {
        margin: 3rem 0;
        padding: 2rem 0;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 0.8rem 3%;
    }
    
    .brand-name {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .whitepaper-content {
        padding: 1.5rem 4%;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .section-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .section-content {
        font-size: 1rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

