:root {
    --bg-dark: #0a0a0b;
    --bg-darker: #050506;
    --bg-darkest: #000;
    --glass-light: rgba(255, 255, 255, 0.03);
    --glass-medium: rgba(255, 255, 255, 0.05);
    --glass-heavy: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --text-primary: rgba(255, 255, 255, 0.9);
    --text-secondary: rgba(255, 255, 255, 0.4);
    --glow-soft: rgba(255, 255, 255, 0.1);
    --accent: #fff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Typography */
h1, h2, h3 { font-weight: 300; letter-spacing: 0.1em; }
p { line-height: 1.6; }

/* Global Ambient Light */
.global-ambient {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 60vw;
    height: 60vw;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--glow-soft) 0%, transparent 60%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Screens */
.screen {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
                transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
                filter 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    transform: none !important;
    filter: none !important;
}

.screen.pre-active {
    opacity: 0 !important;
    z-index: 2;
    transform: none; /* Mounts physical structure but hides it */
}

/* Default entry states */
#screen-1 { transform: scale(1.5); filter: blur(10px); } 
#screen-2 { transform: scale(1.5); filter: blur(10px); } 
#screen-3 { transform: scale(0.5); filter: blur(10px); } 
#screen-4 { transform: scale(0.8) translateY(100px); filter: blur(10px); } 
#screen-5 { transform: scaleY(0.01); filter: blur(5px); } 
#screen-6 { transform: translateX(300px); filter: blur(10px); } 
#screen-7 { transform: scale(1.5) rotate(10deg); filter: blur(10px); }

/* ---------------------------------------------------
   SPECIFIC EXIT ANIMATIONS
   --------------------------------------------------- */
.screen.active.exiting { pointer-events: none; } /* Opacity controlled by JS */

/* VOID -> CANVAS (1 -> 3) */
body.transition-1-to-3 #screen-1.active.exiting { transform: scale(2) !important; filter: blur(10px) !important; }

/* CANVAS -> OVERVIEW (3 -> 2) */
body.transition-3-to-2 #screen-3.active.exiting { transform: scale(0.3) !important; filter: blur(10px) !important; }

/* CANVAS -> AGENTS (3 -> 4) */
body.transition-3-to-4 #screen-3.active.exiting { transform: scale(1.5) !important; filter: blur(10px) !important; }

/* CANVAS -> MEMORY (3 -> 6) */
body.transition-3-to-6 #screen-3.active.exiting { transform: translateX(-400px) scaleX(2) !important; filter: blur(10px) !important; }

/* CANVAS -> TERMINAL (3 -> 5) */
body.transition-3-to-5 #screen-3.active.exiting { transform: scale(0.1) rotate(45deg) !important; filter: blur(15px) !important; }

/* CANVAS -> INSIGHT (3 -> 7) */
body.transition-3-to-7 #screen-3.active.exiting { transform: scale(2) !important; filter: blur(15px) !important; }

/* ---------------------------------------------------
   REVERSE EXITS (Back to Canvas)
   --------------------------------------------------- */
body.transition-2-to-3 #screen-2.active.exiting { transform: scale(1.5) !important; filter: blur(10px) !important; }
body.transition-4-to-3 #screen-4.active.exiting { transform: scale(0.8) translateY(100px) !important; filter: blur(10px) !important; }
body.transition-5-to-3 #screen-5.active.exiting { transform: scaleY(0.01) !important; filter: blur(10px) !important; }
body.transition-6-to-3 #screen-6.active.exiting { transform: translateX(300px) !important; filter: blur(10px) !important; }
body.transition-7-to-3 #screen-7.active.exiting { transform: scale(1.5) rotate(10deg) !important; filter: blur(10px) !important; }

/* Navigation Bar */
.nav-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background: var(--glass-light);
    border: 1px solid var(--border-light);
    border-radius: 30px;
    padding: 8px;
    backdrop-filter: blur(20px);
    z-index: 100;
}

.nav-bar button {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-bar button:hover {
    color: var(--text-primary);
    background: var(--glass-medium);
}

.nav-bar button.active {
    color: #000;
    background: var(--accent);
    box-shadow: 0 0 15px var(--glow-soft);
}

/* Animations */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

/* Screen 1: Void */
#screen-1 { background: radial-gradient(circle at 50% 50%, #0a0a0a 0%, #000000 100%); }

.starfield-layer { position: absolute; width: 120%; height: 120%; top: -10%; left: -10%; pointer-events: none; z-index: 1; transition: transform 0.2s ease-out; }
.star { position: absolute; background: #fff; border-radius: 50%; }
.void-vignette { position: absolute; width: 100%; height: 100%; box-shadow: inset 0 0 250px rgba(0,0,0,0.95); pointer-events: none; z-index: 2; }
#shooting-stars-container { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: 4; overflow: hidden; }

.void-title {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-shadow: 0 0 15px rgba(229, 229, 229, 0.15);
    animation: voidFadeIn 1.2s ease-in-out forwards;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 10;
}

@keyframes voidFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

.shooting-star {
    position: absolute;
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
    animation: shooting 1s ease-out forwards;
}

@keyframes shooting {
    0% { transform: translate(0, 0) rotate(45deg); opacity: 1; }
    100% { transform: translate(-800px, 800px) rotate(45deg); opacity: 0; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; box-shadow: 0 0 4px rgba(255,255,255,0.4); }
}

.entry-content { z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 24px; position: relative; }
.line-drop {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}
.invisible-trigger {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Screen 2: Overview */
#screen-2 { padding: 120px; align-items: flex-start; justify-content: flex-start; }
.screen-header { z-index: 10; margin-bottom: 80px; }
.screen-header h1 { font-size: 32px; text-shadow: 0 0 30px rgba(255,255,255,0.1); }
.modules-container { position: relative; width: 100%; height: 600px; }
.glass-module {
    position: absolute;
    background: var(--glass-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    padding: 32px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}
.glass-module:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 50px 100px -20px rgba(0,0,0,0.8), inset 0 0 50px rgba(255,255,255,0.05); }
.mod-1 { top: 20px; left: 0; width: 480px; height: 320px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5); z-index: 2; }
.mod-2 { top: 120px; left: 540px; width: 340px; height: 400px; background: var(--glass-medium); box-shadow: 0 60px 100px -20px rgba(0,0,0,0.8); z-index: 3; }
.mod-3 { top: -40px; left: 780px; width: 280px; height: 180px; transform: scale(0.9); z-index: 1; box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4); }
.mod-header { display: flex; justify-content: space-between; align-items: center; color: var(--text-secondary); font-size: 12px; text-transform: uppercase; margin-bottom: 24px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mod-1 h2 { font-size: 24px; margin-bottom: 8px; }
.mod-1 p { font-size: 14px; color: var(--text-secondary); }
.bar-chart { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.bar { height: 4px; width: 100%; background: var(--glass-medium); border-radius: 2px; overflow: hidden; }
.fill { height: 100%; background: rgba(255,255,255,0.3); }
.mod-footer h2 { font-size: 18px; margin-bottom: 4px; }
.mod-footer p { font-size: 13px; color: var(--text-secondary); }
.mod-3 p { font-size: 14px; color: rgba(255,255,255,0.5); }

/* Screen 3: Canvas - Force Absolute Center */
#screen-3 { 
    background: #000000; 
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.canvas-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

.canvas-star {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    animation: canvasTwinkle infinite alternate ease-in-out;
}

@keyframes canvasTwinkle {
    0% { opacity: 0.4; }
    100% { opacity: 0.7; }
}

/* Minimal Black Hole Reset - Fixed Center */
.black-hole-core {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    display: flex; justify-content: center; align-items: center;
    pointer-events: none;
    z-index: 10;
}

.bh-minimal-halo {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.bh-minimal-core {
    position: absolute;
    width: 140px; height: 140px;
    background: #000000;
    border-radius: 50%;
    z-index: 2;
}
/* Screen 3: Thinking Canvas - Core UI */
.canvas-header {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 100;
}

.thought-input-container {
    width: 100%;
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    padding: 8px 12px 8px 24px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.neural-scanner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    transition: width 1.5s ease;
}

.thought-input-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
}

.thought-input-container button {
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 30px;
    padding: 8px 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thought-input-container button:hover {
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.canvas-status {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.canvas-status span { color: #fff; }

.thinking-space {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden;
}

/* Dynamic Thought Nodes */
.thought-node {
    position: absolute;
    min-width: 120px;
    padding: 16px 24px;
    background: var(--glass-light);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: grab;
    z-index: 20;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.thought-node:active { cursor: grabbing; }

.thought-node span {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    text-align: center;
    white-space: nowrap;
}

.thought-node.expanding { border-color: rgba(255,255,255,0.8); box-shadow: 0 0 30px rgba(255,255,255,0.2); }
.thought-node.challenging { border-color: rgba(255,0,0,0.3); }

.thought-node .sub-text {
    font-size: 10px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-transform: uppercase;
}

.node-link {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
    transform-origin: left center;
    pointer-events: none;
    z-index: 5;
}

.agent-entity { position: absolute; z-index: 20; }
.agent-1 { top: 30%; left: 60%; }
.agent-2 { top: 65%; left: 35%; }
.agent-dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; box-shadow: 0 0 40px 15px rgba(255,255,255,0.4); position: relative; z-index: 2; }
.agent-field { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 200px; height: 200px; border-radius: 50%; border: 1px solid var(--glass-medium); background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%); z-index: 1; }


/* Screen 4: Agent Field */
#screen-4 { background: #070709; justify-content: flex-start; padding: 60px 80px; align-items: flex-start; }
.screen-title { z-index: 10; margin-bottom: 60px; }
.screen-title h2 { font-size: 20px; color: rgba(255,255,255,0.8); }
.title-line { width: 40px; height: 1px; background: rgba(255,255,255,0.3); margin-top: 16px; }
.agent-halo {
    position: absolute;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-light);
    border-radius: 40px;
    box-shadow: inset 0 0 40px rgba(255,255,255,0.02), 0 30px 60px rgba(0,0,0,0.6);
    padding: 40px;
    display: flex; flex-direction: column; align-items: center;
    z-index: 10;
}
.halo-1 { top: 200px; left: 200px; width: 360px; height: 460px; }
.halo-2 { top: 120px; left: 700px; width: 300px; height: 400px; transform: scale(0.9); z-index: 5; }
.agent-core-viz { position: relative; width: 120px; height: 120px; display: flex; justify-content: center; align-items: center; margin-bottom: 40px; }
.halo-2 .agent-core-viz { width: 80px; height: 80px; margin-bottom: 30px; }
.ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); }
.r-1 { border-left-color: rgba(255,255,255,0.5); transform: rotate(45deg); animation: rotate 5s linear infinite; }
.r-2 { width: 80%; height: 80%; border: 1px dashed rgba(255,255,255,0.2); transform: rotate(-30deg); animation: rotate 10s linear infinite reverse; }
.r-3 { border-top-color: rgba(255,255,255,0.3); transform: rotate(-45deg); animation: rotate 15s linear infinite; }
.core-dot { width: 20px; height: 20px; background: #fff; border-radius: 50%; box-shadow: 0 0 30px 10px rgba(255,255,255,0.4); }
.core-dot-small { width: 12px; height: 12px; background: rgba(255,255,255,0.8); border-radius: 50%; box-shadow: 0 0 20px 5px rgba(255,255,255,0.2); }
.agent-info { text-align: center; margin-bottom: 40px; width: 100%; }
.agent-info .name { font-size: 18px; margin-bottom: 8px; }
.agent-info .status { font-size: 12px; color: var(--text-secondary); display: flex; justify-content: center; align-items: center; gap: 8px; text-transform: uppercase; }
.dim { opacity: 0.5; }
.sliders { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.slider-group { display: flex; flex-direction: column; gap: 8px; }
.slider-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-secondary); text-transform: uppercase; }
.slider-labels span:last-child { color: var(--text-primary); }
.slider-track { width: 100%; height: 4px; background: rgba(255,255,255,0.05); position: relative; border-radius: 2px; cursor: pointer; transition: height 0.2s ease, background 0.2s ease; }
.slider-group:hover .slider-track { background: rgba(255,255,255,0.1); height: 6px; }
.slider-group.dragging .slider-track { background: rgba(255,255,255,0.15); }

.slider-fill { height: 100%; background: linear-gradient(90deg, rgba(255,255,255,0.2), #fff); box-shadow: 0 0 10px rgba(255,255,255,0.3); position: absolute; left: 0; border-radius: 2px; transition: box-shadow 0.2s ease; }
.slider-group:hover .slider-fill { box-shadow: 0 0 15px rgba(255,255,255,0.5); }
.slider-group.dragging .slider-fill { box-shadow: 0 0 25px rgba(255,255,255,0.8); background: linear-gradient(90deg, rgba(255,255,255,0.4), #fff); }

.slider-thumb { width: 14px; height: 14px; background: #fff; border-radius: 50%; position: absolute; top: 50%; transform: translateY(-50%); margin-left: -7px; box-shadow: 0 0 10px rgba(255,255,255,0.5); cursor: grab; transition: transform 0.2s ease, box-shadow 0.2s ease; pointer-events: none; }
.slider-group:hover .slider-thumb { transform: translateY(-50%) scale(1.2); box-shadow: 0 0 15px rgba(255,255,255,0.8); }
.slider-group.dragging .slider-thumb { transform: translateY(-50%) scale(1.4); box-shadow: 0 0 30px #fff; cursor: grabbing; }

/* Screen 5: Terminal */
#screen-5 { padding: 60px; font-family: 'JetBrains Mono', monospace; }
.terminal-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 40px 40px; z-index: 1; }
.terminal-panel { width: 100%; max-width: 1000px; height: 100%; background: rgba(0,0,0,0.85); border: 1px solid var(--border-heavy); border-radius: 16px; box-shadow: inset 0 0 20px rgba(255,255,255,0.02), 0 40px 80px rgba(0,0,0,0.8); display: flex; flex-direction: column; z-index: 10; }
.terminal-header { height: 48px; border-bottom: 1px solid var(--glass-medium); display: flex; align-items: center; padding: 0 24px; justify-content: space-between; }
.window-controls { display: flex; gap: 8px; }
.window-controls .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.1); }
.terminal-header .title { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; font-family: 'Inter', sans-serif; letter-spacing: 0.1em; }
.terminal-body { flex: 1; padding: 40px; display: flex; flex-direction: column; gap: 32px; overflow-y: auto; }
.term-line { display: flex; gap: 24px; }
.term-time { color: var(--text-secondary); font-size: 14px; min-width: 100px; }
.term-content { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.term-main { color: rgba(255,255,255,0.8); font-size: 14px; display: flex; align-items: center; gap: 12px; }
.term-main.decision { color: #fff; font-weight: 600; }
.term-sub { color: var(--text-secondary); font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.term-box { background: rgba(255,255,255,0.03); border-left: 2px solid #fff; padding: 16px 20px; color: rgba(255,255,255,0.8); max-width: 600px; }
.progress-bar { width: 100%; max-width: 400px; height: 2px; background: rgba(255,255,255,0.05); position: relative; overflow: hidden; }
.progress-fill { width: 100%; height: 100%; background: #fff; box-shadow: 0 0 10px #fff; position: absolute; left: -100%; animation: load 2s forwards; }
@keyframes load { to { left: 0; } }
.cursor { width: 8px; height: 16px; background: #fff; animation: blink 1s infinite; }

/* Screen 6: Memory Timeline */
#screen-6 { justify-content: flex-start; padding: 60px 80px; align-items: flex-start; }
.timeline-nodes { position: absolute; top: 35%; left: 15%; display: flex; align-items: center; z-index: 5; }
.ghost-node { display: flex; flex-direction: column; align-items: center; }
.g-1 { opacity: 0.15; transform: scale(0.7); }
.g-2 { opacity: 0.3; transform: scale(0.85); }
.ghost-box { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.2); }
.g-1 .ghost-box { width: 120px; height: 120px; border-radius: 20px; }
.g-2 .ghost-box { width: 140px; height: 140px; border-radius: 40px; background: rgba(255,255,255,0.01); box-shadow: inset 0 0 20px rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.3); }
.ghost-circle { border-radius: 50%; }
.ghost-circle.dashed { width: 40px; height: 40px; border: 1px dashed rgba(255,255,255,0.5); }
.ghost-circle.solid { width: 60px; height: 60px; border: 1px solid rgba(255,255,255,0.4); background: rgba(255,255,255,0.05); }
.timeline-connector { width: 150px; height: 1px; background: rgba(255,255,255,0.05); }
.timeline-connector.strong { height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.2)); }
.current-node { display: flex; flex-direction: column; align-items: center; position: relative; }
.node-glow { position: absolute; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); }
.node-box { width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.6); background: rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; margin-bottom: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 0 30px rgba(255,255,255,0.05); z-index: 2; }
.node-core { width: 80px; height: 80px; border-radius: 50%; background: #fff; box-shadow: 0 0 40px rgba(255,255,255,0.5); }
.node-label { font-size: 14px; color: rgba(255,255,255,0.9); z-index: 2; }
.node-sublabel { font-size: 12px; color: var(--text-secondary); margin-top: 4px; z-index: 2; }
.timeline-scrubber { position: absolute; bottom: 80px; left: 10%; width: 80%; height: 60px; display: flex; align-items: center; z-index: 10; cursor: ew-resize; user-select: none; }
.track { width: 100%; height: 2px; background: var(--glass-medium); position: relative; }
.track .fill { width: 75%; height: 100%; background: linear-gradient(90deg, var(--glass-medium), rgba(255,255,255,0.4)); }
.track .marker, .track .playhead { position: absolute; font-size: 11px; transform: translateX(-50%); }
.track .marker { top: 20px; color: var(--text-secondary); }
.track .marker::before { content: ''; position: absolute; top: -24px; left: 50%; width: 1px; height: 10px; background: rgba(255,255,255,0.2); }
.m-1 { left: 20%; } .m-2 { left: 50%; }
.playhead { left: 75%; top: 20px; color: rgba(255,255,255,0.8); }
.playhead::before { content: ''; position: absolute; top: -30px; left: 50%; width: 2px; height: 22px; background: #fff; box-shadow: 0 0 10px #fff; transform: translateX(-50%); }

/* Screen 7: Insight Panel */
#screen-7 { padding: 60px; display: flex; align-items: center; justify-content: center; }
.crosshairs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.crosshairs .vline { position: absolute; top: 0; left: 50%; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.1), transparent); }
.crosshairs .hline { position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent); }
.insight-container { display: flex; width: 100%; max-width: 1200px; height: 600px; position: relative; z-index: 10; }
.insight-left { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.chart-title { position: absolute; top: 0; left: 0; font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.8); }
.cluster-viz { position: relative; width: 400px; height: 400px; }
.orbit { position: absolute; border-radius: 50%; }
.o-1 { top: 0; left: 0; width: 100%; height: 100%; border: 1px solid rgba(255,255,255,0.02); }
.o-2 { top: 10%; left: 10%; width: 80%; height: 80%; border: 1px dashed rgba(255,255,255,0.05); animation: rotate 20s linear infinite; }
.o-3 { top: 25%; left: 25%; width: 50%; height: 50%; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 0 30px rgba(255,255,255,0.05); }
.energy-point { position: absolute; border-radius: 50%; background: #fff; }
.p-center { top: 50%; left: 50%; width: 20px; height: 20px; transform: translate(-50%, -50%); box-shadow: 0 0 40px 10px rgba(255,255,255,0.4); }
.p-1 { top: 20%; left: 70%; width: 12px; height: 12px; opacity: 0.8; box-shadow: 0 0 20px rgba(255,255,255,0.3); }
.p-2 { top: 80%; left: 30%; width: 8px; height: 8px; opacity: 0.6; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.p-3 { top: 40%; left: 10%; width: 10px; height: 10px; opacity: 0.7; box-shadow: 0 0 15px rgba(255,255,255,0.2); }
.viz-line { position: absolute; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); }
.l-1 { top: 30%; left: 50%; width: 2px; height: 100px; transform: rotate(45deg); transform-origin: top center; }
.l-2 { top: 50%; left: 50%; width: 150px; height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.2), transparent); transform: rotate(-30deg); transform-origin: left center; }
.l-3 { top: 50%; left: 50%; width: 120px; height: 1px; background: linear-gradient(to right, rgba(255,255,255,0.3), transparent); transform: rotate(160deg); transform-origin: left center; }
.pulse-ripple { position: absolute; top: 25%; left: 25%; width: 50%; height: 50%; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); transform: scale(1.5); opacity: 0.2; animation: ripple 3s infinite ease-out; }
@keyframes ripple { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(2); opacity: 0; } }

.insight-right { width: 440px; display: flex; flex-direction: column; gap: 32px; padding-left: 60px; border-left: 1px solid rgba(255,255,255,0.05); }
.insight-section { display: flex; flex-direction: column; gap: 16px; }
.insight-section h3 { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; }
.insight-card { background: rgba(0,0,0,0.85); border: 1px solid var(--border-light); border-radius: 16px; padding: 24px; }
.card-title { font-size: 15px; margin-bottom: 12px; }
.insight-card p { font-size: 13px; color: var(--text-secondary); }
.decision-list { display: flex; flex-direction: column; gap: 12px; }
.decision-item { display: flex; align-items: flex-start; gap: 16px; }
.d-line { width: 1px; height: 40px; margin-top: 4px; }
.d-line.thin { background: rgba(255,255,255,0.2); }
.d-line.thick { width: 2px; background: rgba(255,255,255,0.8); box-shadow: 0 0 10px rgba(255,255,255,0.4); }
.d-content { display: flex; flex-direction: column; gap: 4px; }
.d-title { font-size: 14px; color: rgba(255,255,255,0.8); }
.d-title.highlight { color: #fff; }
.d-sub { font-size: 12px; color: var(--text-secondary); }
.align-bottom { margin-top: auto; }
.state-card { display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,0.03); border: 1px solid var(--border-light); border-radius: 12px; padding: 16px 20px; }
.state-left { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.state-right { font-size: 12px; color: var(--text-secondary); font-family: monospace; }
