:root {
    --bg: #0a0a0f;
    --primary: #f39c12;
    --text: #e0e0e0;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

body, html { 
    margin: 0; padding: 0; 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg); color: var(--text); 
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

.noise-overlay { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.05"/></svg>'); 
    pointer-events: none; z-index: 9999; 
}

/* Nav */
.sticky-nav { 
    position: fixed; left: 0; top: 0; height: 100vh; width: 220px; 
    padding: 60px 20px; box-sizing: border-box; 
    border-right: 1px solid var(--border); 
    display: flex; flex-direction: column; justify-content: space-between; 
    z-index: 100; backdrop-filter: blur(10px); 
}
.sticky-nav ul { list-style: none; padding: 0; margin: 0; }
.sticky-nav li { margin-bottom: 25px; }
.sticky-nav a { 
    color: #666; text-decoration: none; font-family: 'Orbitron', sans-serif; 
    font-size: 0.9em; text-transform: uppercase; letter-spacing: 1px;
    transition: color 0.3s; 
}
.sticky-nav li.active a, .sticky-nav a:hover { color: var(--primary); text-shadow: 0 0 10px rgba(243, 156, 18, 0.5); }
.back-btn { color: #fff !important; font-size: 0.8em !important; opacity: 0.7; padding-top: 20px; border-top: 1px solid var(--border); }

/* Panels */
main { margin-left: 220px; }
.panel { 
    min-height: 100vh; display: flex; align-items: center; justify-content: center; 
    padding: 100px 50px; box-sizing: border-box; position: relative; 
}
.container { max-width: 1000px; width: 100%; }
.section-title { font-family: 'Orbitron', sans-serif; font-size: 3em; color: var(--primary); margin-bottom: 10px; }
.section-desc { font-size: 1.2em; color: #888; margin-bottom: 60px; line-height: 1.6; }

/* Hero */
.hero { flex-direction: column; text-align: center; }
.wp-logo { width: 350px; margin-bottom: 40px; filter: drop-shadow(0 0 30px rgba(243, 156, 18, 0.2)); }
.hero h1 { 
    font-size: 4em; line-height: 1.2; margin: 0 0 20px 0; 
    background: linear-gradient(90deg, #fff, #888); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
}
.hero-sub { font-size: 1.4em; color: var(--primary); font-family: 'Orbitron', sans-serif; letter-spacing: 2px; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); text-align: center; opacity: 0.5; }
.mouse { width: 30px; height: 50px; border: 2px solid #fff; border-radius: 15px; margin: 0 auto 10px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scroll 1.5s infinite; }
@keyframes scroll { 0% { top: 10px; opacity: 1; } 100% { top: 30px; opacity: 0; } }

/* Comparison Slider */
.comparison-slider { 
    position: relative; width: 100%; height: 400px; 
    background: var(--glass); border-radius: 20px; 
    border: 1px solid var(--border); display: block; 
    user-select: none; 
}
.comp-panel { position: absolute; top: 0; height: 100%; padding: 50px; box-sizing: border-box; }
.comp-panel h3 { font-family: 'Orbitron', sans-serif; margin-top: 0; font-size: 1.5em; }
.comp-panel ul { list-style: none; padding: 0; line-height: 2; font-size: 1.1em; }
.comp-panel ul li::before { content: '→'; margin-right: 10px; opacity: 0.5; }
.comp-panel.traditional { 
    width: 100%; left: 0; 
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1), transparent); 
}
.comp-panel.traditional h3 { color: #e74c3c; }
.comp-panel.modern { 
    width: 50%; right: 0; overflow: hidden; white-space: nowrap;
    background: linear-gradient(270deg, rgba(46, 204, 113, 0.1), rgba(0,0,0,0.8)); 
    border-left: 2px solid var(--primary); 
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.comp-panel.modern h3 { color: #2ecc71; }
.slider-handle { 
    position: absolute; top: 0; left: 50%; width: 4px; height: 100%; 
    background: var(--primary); transform: translateX(-50%); 
    box-shadow: 0 0 15px var(--primary); cursor: ew-resize; 
}
.slider-handle::after { 
    content: '↔'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); 
    width: 40px; height: 40px; background: var(--primary); color: #000; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; 
}

/* Ecosystem Map */
.ecosystem-map { position: relative; width: 100%; height: 500px; margin: 0 auto; }
.eco-lines { position: absolute; top: 0; left: 0; pointer-events: none; }
.node { 
    position: absolute; background: rgba(20,20,25,0.9); border: 1px solid var(--primary); 
    padding: 15px 30px; border-radius: 30px; font-family: 'Orbitron', sans-serif; 
    font-size: 1.2em; cursor: pointer; transition: all 0.3s; 
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.1); transform: translate(-50%, -50%); 
    backdrop-filter: blur(5px);
}
.node:hover { background: var(--primary); color: #000; box-shadow: 0 0 30px var(--primary); transform: translate(-50%, -50%) scale(1.1); }
.center-node { top: 50%; left: 50%; font-size: 1.8em; padding: 25px 50px; border-width: 2px; }
.n1 { top: 15%; left: 50%; } .n2 { top: 50%; left: 85%; } .n3 { top: 85%; left: 50%; } .n4 { top: 50%; left: 15%; }
.info-panel { text-align: center; margin-top: 50px; font-size: 1.2em; min-height: 60px; color: #a4b0be; font-style: italic; }

/* Tech Stack */
.tech-stack-interactive { display: flex; flex-direction: column; gap: 20px; }
.layer { 
    background: var(--glass); border: 1px solid var(--border); 
    border-radius: 12px; padding: 30px; transition: transform 0.3s, border-color 0.3s; 
    position: relative; overflow: hidden;
}
.layer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
    background: var(--primary); opacity: 0.3; transition: opacity 0.3s;
}
.layer:hover::before { opacity: 1; }
.layer:hover { transform: translateX(10px); border-color: rgba(255,255,255,0.3); }
.layer-title { font-family: 'Orbitron', sans-serif; color: #fff; margin-bottom: 20px; font-size: 1.3em; letter-spacing: 2px; }
.blocks { display: flex; gap: 15px; flex-wrap: wrap; }
.blocks span { background: rgba(0,0,0,0.6); padding: 12px 24px; border-radius: 8px; border: 1px solid #333; font-size: 0.9em; font-family: 'Orbitron', sans-serif; color: var(--primary); }

/* Roadmap Timeline */
.timeline { position: relative; padding-left: 50px; }
.timeline-line { position: absolute; top: 0; left: 14px; width: 2px; height: 100%; background: #333; }
.time-stop { position: relative; margin-bottom: 60px; opacity: 0.3; transition: opacity 0.5s; }
.time-stop.active { opacity: 1; }
.dot { position: absolute; left: -43px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #333; border: 2px solid var(--bg); transition: all 0.5s; z-index: 2; }
.time-stop.active .dot { background: var(--primary); box-shadow: 0 0 15px var(--primary); transform: scale(1.2); }
.content h3 { margin: 0 0 10px 0; color: #fff; font-family: 'Orbitron', sans-serif; font-size: 1.4em; }
.time-stop.active .content h3 { color: var(--primary); }
.content p { margin: 0; font-size: 1.1em; color: #aaa; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .sticky-nav {
        width: 100%;
        height: auto;
        position: fixed;
        bottom: 0;
        top: auto;
        flex-direction: row;
        padding: 15px 5px;
        z-index: 1000;
        background: rgba(10, 10, 15, 0.95);
        border-right: none;
        border-top: 1px solid var(--border);
    }
    .sticky-nav ul {
        display: flex;
        justify-content: space-around;
        width: 100%;
    }
    .sticky-nav li { margin-bottom: 0; }
    .sticky-nav a { font-size: 0.6em; letter-spacing: 0; }
    .back-btn { display: none; }
    .mobile-back-btn { display: block !important; }
    
    main { margin-left: 0; margin-bottom: 70px; }
    .panel { padding: 80px 20px; }
    
    .wp-logo { width: 200px; }
    .hero h1 { font-size: 2.2em; }
    .hero-sub { font-size: 1em; }
    .section-title { font-size: 2em; }
    
    /* Fix Slider on mobile */
    .comparison-slider { height: 500px; }
    .comp-panel.traditional, .comp-panel.modern {
        width: 100% !important;
        height: 50%;
        position: relative;
        left: 0 !important;
        right: 0 !important;
        border: none !important;
        padding: 30px 20px;
    }
    .comp-panel.modern {
        border-top: 2px solid var(--primary) !important;
        box-shadow: none !important;
        white-space: normal;
    }
    .slider-handle { display: none !important; }
    
    /* Fix ecosystem map */
    .ecosystem-map { height: 400px; }
    .node { font-size: 0.8em; padding: 10px 15px; }
    .center-node { font-size: 1.2em; }
    
    .layer { padding: 20px; }
    .blocks { flex-direction: column; }
}
