/* NEUROFUSIONISM V2 — IMMERSIVE SCIENTIFIC RESEARCH DESIGN SYSTEM */

:root {
	color-scheme: dark;
	--bg-void: #020408;
	--bg-space: #060913;
	--bg-card: rgba(10, 16, 30, 0.65);
	--bg-card-hover: rgba(16, 26, 48, 0.85);
	--bg-glass: rgba(6, 10, 20, 0.82);
	
	--cyan: #00f0ff;
	--cyan-glow: rgba(0, 240, 255, 0.35);
	--blue: #0084ff;
	--blue-glow: rgba(0, 132, 255, 0.3);
	--violet: #9d4edd;
	--violet-glow: rgba(157, 78, 221, 0.35);
	--magenta: #f72585;
	--emerald: #10b981;
	--amber: #f59e0b;
	
	--text-primary: #f8fafc;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;
	--text-accent: #38bdf8;

	--border-subtle: rgba(255, 255, 255, 0.08);
	--border-light: rgba(0, 240, 255, 0.18);
	--border-active: rgba(0, 240, 255, 0.6);
	
	--font-display: "Syncopate", "Cinzel", -apple-system, sans-serif;
	--font-serif: "Cinzel", Georgia, serif;
	--font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

	--ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 14px;
	--radius-xl: 20px;
}

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

html {
	scroll-behavior: smooth;
	background-color: var(--bg-void);
	color: var(--text-primary);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	background-color: var(--bg-void);
	color: var(--text-primary);
	line-height: 1.65;
	overflow-x: hidden;
	position: relative;
	min-height: 100vh;
}

/* SCIENTIFIC HUD SCANLINE & NOISE OVERLAY */
.sci-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 999;
	background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(2, 4, 8, 0.6) 100%),
		linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
	background-size: 100% 100%, 100% 4px;
	opacity: 0.3;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .font-display {
	font-family: var(--font-display);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-primary);
}

.font-serif {
	font-family: var(--font-serif);
}

.font-mono {
	font-family: var(--font-mono);
}

p {
	color: var(--text-secondary);
	font-size: 1.025rem;
	font-weight: 350;
	line-height: 1.75;
}

/* STATUS BADGES */
.badge-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 4px;
	font-family: var(--font-mono);
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	border: 1px solid currentColor;
	white-space: nowrap;
}

.badge-status.established {
	color: #34d399;
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(52, 211, 153, 0.4);
}
.badge-status.established::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 6px #34d399;
}

.badge-status.research {
	color: #38bdf8;
	background: rgba(56, 189, 248, 0.12);
	border-color: rgba(56, 189, 248, 0.4);
}
.badge-status.research::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #38bdf8;
	box-shadow: 0 0 6px #38bdf8;
}

.badge-status.theoretical {
	color: #c084fc;
	background: rgba(192, 132, 252, 0.12);
	border-color: rgba(192, 132, 252, 0.4);
}
.badge-status.theoretical::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #c084fc;
	box-shadow: 0 0 6px #c084fc;
}

.badge-status.speculative {
	color: #fb7185;
	background: rgba(251, 113, 133, 0.12);
	border-color: rgba(251, 113, 133, 0.4);
}
.badge-status.speculative::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fb7185;
	box-shadow: 0 0 6px #fb7185;
}

.badge-status.hypothesis {
	color: #fbbf24;
	background: rgba(251, 191, 36, 0.12);
	border-color: rgba(251, 191, 36, 0.4);
}
.badge-status.hypothesis::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #fbbf24;
	box-shadow: 0 0 6px #fbbf24;
}

/* BUTTONS */
.btn-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(157, 78, 221, 0.15) 100%);
	border: 1px solid var(--cyan);
	color: #ffffff;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	cursor: pointer;
	text-decoration: none;
	overflow: hidden;
	transition: all 0.3s var(--ease-cinematic);
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.btn-primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
	transition: left 0.6s ease;
}

.btn-primary:hover {
	background: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(157, 78, 221, 0.3) 100%);
	border-color: #ffffff;
	box-shadow: 0 0 30px rgba(0, 240, 255, 0.4), 0 0 60px rgba(157, 78, 221, 0.2);
	transform: translateY(-2px);
}

.btn-primary:hover::before {
	left: 100%;
}

.btn-secondary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	background: rgba(10, 16, 30, 0.6);
	border: 1px solid var(--border-subtle);
	color: var(--text-secondary);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border-radius: var(--radius-sm);
	cursor: pointer;
	text-decoration: none;
	backdrop-filter: blur(8px);
	transition: all 0.3s var(--ease-cinematic);
}

.btn-secondary:hover {
	background: rgba(20, 30, 55, 0.8);
	border-color: rgba(0, 240, 255, 0.4);
	color: var(--text-primary);
	box-shadow: 0 0 20px rgba(0, 132, 255, 0.2);
	transform: translateY(-2px);
}

/* FLOATING NAVIGATION */
.navbar-fixed {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 18px 32px;
	transition: all 0.4s var(--ease-cinematic);
	border-bottom: 1px solid transparent;
}

.navbar-fixed.scrolled {
	background: rgba(4, 7, 15, 0.88);
	backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(0, 240, 255, 0.12);
	padding: 12px 32px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.brand-logo {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #ffffff;
}

.logo-symbol {
	width: 28px;
	height: 28px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo-symbol svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 8px var(--cyan));
}

.logo-text {
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	background: linear-gradient(135deg, #ffffff 40%, var(--cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
}

.nav-link-item a {
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-secondary);
	text-decoration: none;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 6px 4px;
	position: relative;
	transition: color 0.2s ease;
}

.nav-link-item a:hover,
.nav-link-item a.active {
	color: #ffffff;
}

.nav-link-item a.active::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--cyan);
	box-shadow: 0 0 8px var(--cyan);
}

.nav-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.btn-lab-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	background: rgba(0, 240, 255, 0.1);
	border: 1px solid rgba(0, 240, 255, 0.35);
	border-radius: 4px;
	color: var(--cyan);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	cursor: pointer;
	transition: all 0.25s ease;
}

.btn-lab-trigger:hover {
	background: rgba(0, 240, 255, 0.2);
	border-color: var(--cyan);
	box-shadow: 0 0 15px rgba(0, 240, 255, 0.35);
	color: #ffffff;
}

.btn-sound-toggle {
	background: transparent;
	border: 1px solid var(--border-subtle);
	color: var(--text-secondary);
	width: 34px;
	height: 34px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-sound-toggle:hover {
	border-color: var(--cyan);
	color: var(--cyan);
}

.mobile-menu-btn {
	display: none;
	background: transparent;
	border: 1px solid var(--border-subtle);
	color: var(--text-primary);
	width: 38px;
	height: 38px;
	border-radius: 4px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

/* CHAPTER HEADINGS */
.chapter-header {
	margin-bottom: 2.5rem;
}

.chapter-number {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--cyan);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.chapter-number::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 1px;
	background: var(--cyan);
	box-shadow: 0 0 6px var(--cyan);
}

.chapter-title {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.5vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.15;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, #ffffff 60%, rgba(255, 255, 255, 0.65) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.chapter-sub {
	max-width: 720px;
	font-size: 1.05rem;
	color: var(--text-secondary);
}

/* SECTION CONTAINER */
.section-wrapper {
	position: relative;
	padding: 120px 24px;
	max-width: 1400px;
	margin: 0 auto;
	z-index: 10;
}

.section-full {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* SECTION BACKGROUNDS */
.bg-canvas-layer {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.bg-radial-gradient {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1000px;
	height: 1000px;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
	opacity: 0.15;
	z-index: 0;
}

/* HERO SECTION */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 120px 24px 80px;
	overflow: hidden;
	background: radial-gradient(circle at 50% 40%, rgba(10, 20, 45, 0.45) 0%, var(--bg-void) 75%);
}

.hero-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 10;
	max-width: 1100px;
	text-align: center;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-pretitle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px;
	background: rgba(0, 240, 255, 0.06);
	border: 1px solid rgba(0, 240, 255, 0.2);
	border-radius: 100px;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	font-weight: 500;
	letter-spacing: 0.25em;
	color: var(--cyan);
	text-transform: uppercase;
	margin-bottom: 2rem;
	animation: pulseGlow 4s infinite alternate;
}

.hero-title {
	font-family: var(--font-display);
	font-size: clamp(2.6rem, 7.5vw, 6.2rem);
	font-weight: 900;
	letter-spacing: 0.16em;
	line-height: 1.05;
	margin-bottom: 1.5rem;
	text-shadow: 0 0 60px rgba(0, 240, 255, 0.35);
	background: linear-gradient(180deg, #ffffff 30%, #a5b4fc 70%, #00f0ff 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-tagline {
	font-family: var(--font-mono);
	font-size: clamp(0.9rem, 2vw, 1.35rem);
	font-weight: 600;
	letter-spacing: 0.24em;
	color: #e2e8f0;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.hero-desc {
	max-width: 680px;
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 2.75rem;
	line-height: 1.8;
}

.hero-actions {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 3.5rem;
}

.hero-telemetry {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	width: 100%;
	max-width: 900px;
	padding: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(6, 10, 20, 0.4);
	backdrop-filter: blur(8px);
}

.telemetry-item {
	text-align: left;
}

.telemetry-label {
	font-family: var(--font-mono);
	font-size: 0.65rem;
	letter-spacing: 0.15em;
	color: var(--text-muted);
	text-transform: uppercase;
	margin-bottom: 4px;
}

.telemetry-value {
	font-family: var(--font-mono);
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--cyan);
}

/* CHAPTER 01 — TIMELINE OF EVOLUTION */
.evolution-track {
	position: relative;
	padding: 40px 0;
}

.evolution-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: linear-gradient(180deg, var(--cyan) 0%, var(--blue) 50%, var(--violet) 80%, var(--magenta) 100%);
	transform: translateX(-50%);
	box-shadow: 0 0 12px var(--cyan);
}

.evolution-node-row {
	display: flex;
	align-items: center;
	margin-bottom: 60px;
	position: relative;
}

.evolution-node-row.left {
	flex-direction: row-reverse;
}

.evolution-card {
	width: 44%;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	padding: 24px;
	backdrop-filter: blur(12px);
	transition: all 0.35s var(--ease-cinematic);
	cursor: pointer;
	position: relative;
}

.evolution-card:hover, .evolution-card.active {
	border-color: var(--cyan);
	background: var(--bg-card-hover);
	transform: scale(1.02);
	box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.evolution-center-marker {
	width: 12%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 5;
}

.marker-orb {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--bg-void);
	border: 2px solid var(--cyan);
	box-shadow: 0 0 10px var(--cyan);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.marker-orb.active {
	transform: scale(1.4);
	background: var(--cyan);
	box-shadow: 0 0 20px var(--cyan);
}

.evolution-empty-spacer {
	width: 44%;
}

/* CHAPTER 02 — NEURON ANATOMY & SYNAPSE */
.neuron-interactive-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	align-items: center;
}

.neuron-viewport {
	position: relative;
	background: rgba(6, 12, 24, 0.8);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	height: 520px;
	overflow: hidden;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.neuron-canvas {
	width: 100%;
	height: 100%;
}

.neuron-control-panel {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 28px;
	backdrop-filter: blur(12px);
}

.anatomy-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px 0;
}

.anatomy-item-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: left;
}

.anatomy-item-btn:hover,
.anatomy-item-btn.selected {
	background: rgba(0, 240, 255, 0.1);
	border-color: var(--cyan);
	color: #ffffff;
}

.pulse-trigger-btn {
	width: 100%;
	padding: 14px;
	background: linear-gradient(90deg, #0084ff, #00f0ff);
	border: none;
	border-radius: var(--radius-sm);
	color: #020408;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
	transition: transform 0.2s ease;
}

.pulse-trigger-btn:active {
	transform: scale(0.98);
}

/* SYNAPSE CHAMBER */
.synapse-container {
	margin-top: 60px;
	background: rgba(8, 14, 28, 0.7);
	border: 1px solid rgba(0, 240, 255, 0.2);
	border-radius: var(--radius-lg);
	padding: 32px;
}

.synapse-viewport {
	height: 380px;
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	background: #030610;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

/* CHAPTER 03 — MICROSCALE ZOOM DEEP DIVE */
.microscale-zoom-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.zoom-level-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 24px;
}

.zoom-tab-btn {
	padding: 10px 6px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	cursor: pointer;
	text-align: center;
	transition: all 0.2s ease;
}

.zoom-tab-btn.active {
	background: rgba(157, 78, 221, 0.2);
	border-color: var(--violet);
	color: #ffffff;
	box-shadow: 0 0 15px rgba(157, 78, 221, 0.3);
}

/* CHAPTER 04 — QUANTUM LAYER */
.quantum-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.quantum-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 24px;
	display: flex;
	flex-direction: column;
	backdrop-filter: blur(12px);
	transition: all 0.3s ease;
}

.quantum-card:hover {
	border-color: rgba(157, 78, 221, 0.5);
	box-shadow: 0 0 30px rgba(157, 78, 221, 0.15);
}

.quantum-mini-viewport {
	height: 240px;
	background: #04060e;
	border-radius: var(--radius-md);
	border: 1px solid rgba(255, 255, 255, 0.05);
	margin: 16px 0;
	position: relative;
	overflow: hidden;
}

/* CHAPTER 05 — CONSCIOUSNESS PROBLEM */
.consciousness-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.consciousness-sphere-viewport {
	height: 520px;
	position: relative;
	background: radial-gradient(circle at 50% 50%, rgba(20, 10, 40, 0.6) 0%, transparent 70%);
	border-radius: var(--radius-lg);
}

.consciousness-areas {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.area-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	padding: 20px;
	backdrop-filter: blur(12px);
	transition: all 0.25s ease;
}

.area-card.know {
	border-left: 4px solid #10b981;
}

.area-card.unknown {
	border-left: 4px solid #f59e0b;
}

.area-card.explore {
	border-left: 4px solid #9d4edd;
}

/* NEURAL TRANSFORMER PIPELINE */
.transformer-pipeline {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin: 40px 0;
	position: relative;
}

.pipeline-stage {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	padding: 20px 16px;
	position: relative;
	transition: all 0.3s ease;
	cursor: pointer;
}

.pipeline-stage:hover,
.pipeline-stage.active {
	border-color: var(--cyan);
	background: var(--bg-card-hover);
	transform: translateY(-4px);
	box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

.stage-step {
	font-family: var(--font-mono);
	font-size: 0.68rem;
	color: var(--cyan);
	margin-bottom: 8px;
}

.stage-title {
	font-family: var(--font-display);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 8px;
}

.pipeline-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cyan);
	font-size: 1.2rem;
}

/* THEORY CARDS GRID */
.theories-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 30px;
}

.theory-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	backdrop-filter: blur(12px);
	transition: all 0.3s var(--ease-cinematic);
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.theory-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--cyan), transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.theory-card:hover {
	border-color: rgba(0, 240, 255, 0.4);
	transform: translateY(-6px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.15);
}

.theory-card:hover::before {
	opacity: 1;
}

.theory-icon {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	background: rgba(0, 240, 255, 0.08);
	border: 1px solid rgba(0, 240, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--cyan);
	margin-bottom: 20px;
}

/* RESEARCH ARCHIVE DATABASE */
.research-archive-box {
	background: rgba(5, 9, 18, 0.85);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	padding: 32px;
	backdrop-filter: blur(16px);
}

.archive-filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.archive-filter-btn {
	padding: 7px 14px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid var(--border-subtle);
	border-radius: 4px;
	color: var(--text-secondary);
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}

.archive-filter-btn.active {
	background: rgba(0, 240, 255, 0.12);
	border-color: var(--cyan);
	color: #ffffff;
}

.search-input {
	width: 100%;
	max-width: 320px;
	padding: 8px 14px;
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid var(--border-subtle);
	border-radius: 4px;
	color: #ffffff;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	outline: none;
	transition: border-color 0.2s ease;
}

.search-input:focus {
	border-color: var(--cyan);
}

.archive-records-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
}

.archive-records-table th {
	padding: 12px 16px;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	color: var(--text-muted);
	text-transform: uppercase;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
}

.archive-row {
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.archive-row:hover {
	background-color: rgba(0, 240, 255, 0.05);
}

.archive-row td {
	padding: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	font-size: 0.92rem;
}

/* MANIFESTO CINEMATIC */
.manifesto-section {
	padding: 160px 24px;
	position: relative;
	background: radial-gradient(circle at 50% 50%, rgba(15, 10, 35, 0.6) 0%, var(--bg-void) 80%);
	text-align: center;
}

.manifesto-phrase {
	font-family: var(--font-display);
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.25;
	max-width: 1100px;
	margin: 0 auto 60px;
	background: linear-gradient(180deg, #ffffff 40%, rgba(255, 255, 255, 0.4) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	opacity: 0.9;
	transition: opacity 0.5s ease;
}

/* LAB MODE INTERACTIVE SIMULATOR */
.lab-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(2, 4, 8, 0.92);
	backdrop-filter: blur(20px);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.lab-dashboard {
	width: 100%;
	max-width: 1280px;
	height: 90vh;
	background: rgba(6, 11, 22, 0.95);
	border: 1px solid rgba(0, 240, 255, 0.35);
	border-radius: var(--radius-lg);
	display: flex;
	flex-direction: column;
	box-shadow: 0 0 60px rgba(0, 240, 255, 0.25);
	overflow: hidden;
}

.lab-header {
	padding: 16px 24px;
	border-bottom: 1px solid rgba(0, 240, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: rgba(0, 240, 255, 0.04);
}

.lab-body {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 340px;
	overflow: hidden;
}

.lab-viewport-container {
	position: relative;
	height: 100%;
	background: #02050c;
}

.lab-controls-sidebar {
	padding: 24px;
	background: rgba(4, 8, 16, 0.85);
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.lab-slider-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.lab-slider-label {
	display: flex;
	justify-content: space-between;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-secondary);
}

.lab-slider-label span:last-child {
	color: var(--cyan);
	font-weight: 600;
}

.lab-range-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 6px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3px;
	outline: none;
}

.lab-range-input::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--cyan);
	cursor: pointer;
	box-shadow: 0 0 10px var(--cyan);
}

/* ABOUT SECTION */
.about-grid {
	display: grid;
	grid-template-columns: 360px 1fr;
	gap: 48px;
	align-items: center;
}

.researcher-card {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	padding: 32px;
	text-align: center;
	backdrop-filter: blur(12px);
}

.researcher-avatar {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	margin: 0 auto 20px;
	border: 2px solid var(--cyan);
	box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle, rgba(0, 240, 255, 0.2) 0%, rgba(10, 20, 40, 0.8) 100%);
	font-family: var(--font-display);
	font-size: 2.2rem;
	font-weight: 700;
	color: #ffffff;
}

/* JOURNAL SECTION */
.journal-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.journal-card {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	backdrop-filter: blur(12px);
	transition: all 0.3s ease;
	cursor: pointer;
}

.journal-card:hover {
	border-color: var(--blue);
	box-shadow: 0 0 25px rgba(0, 132, 255, 0.2);
	transform: translateY(-4px);
}

/* FINAL EXPERIENCE */
.final-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	text-align: center;
	padding: 120px 24px;
	background: radial-gradient(circle at 50% 50%, rgba(10, 20, 50, 0.5) 0%, var(--bg-void) 85%);
}

.cosmic-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.final-content {
	position: relative;
	z-index: 10;
	max-width: 880px;
}

.final-title {
	font-family: var(--font-display);
	font-size: clamp(2.4rem, 6vw, 4.8rem);
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	background: linear-gradient(180deg, #ffffff 40%, #a5b4fc 75%, var(--cyan) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 40px rgba(0, 240, 255, 0.3);
}

.final-quote {
	font-size: 1.25rem;
	font-style: italic;
	color: #cbd5e1;
	margin-bottom: 2.5rem;
	line-height: 1.8;
}

/* MODAL DRAWER */
.detail-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(12px);
	z-index: 1100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.detail-modal {
	width: 100%;
	max-width: 800px;
	max-height: 85vh;
	background: #080d1a;
	border: 1px solid rgba(0, 240, 255, 0.3);
	border-radius: var(--radius-lg);
	padding: 36px;
	overflow-y: auto;
	box-shadow: 0 0 50px rgba(0, 240, 255, 0.2);
	position: relative;
}

.modal-close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--border-subtle);
	color: #ffffff;
	width: 32px;
	height: 32px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition: all 0.2s ease;
}

.modal-close-btn:hover {
	background: rgba(255, 0, 80, 0.2);
	border-color: #ff0055;
}

/* FOOTER */
.footer-section {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 60px 24px 40px;
	background: #020408;
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
}

.footer-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

/* KEYFRAMES */
@keyframes pulseGlow {
	0% {
		box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
	}
	100% {
		box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
	}
}

@keyframes signalMove {
	0% {
		stroke-dashoffset: 100;
	}
	100% {
		stroke-dashoffset: 0;
	}
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
	.neuron-interactive-grid,
	.microscale-zoom-container,
	.consciousness-grid,
	.about-grid {
		grid-template-columns: 1fr;
	}
	
	.theories-grid,
	.journal-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.transformer-pipeline {
		grid-template-columns: 1fr;
	}
	
	.hero-telemetry {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.lab-body {
		grid-template-columns: 1fr;
		overflow-y: auto;
	}
	
	.lab-viewport-container {
		height: 420px;
	}
}

@media (max-width: 768px) {
	.nav-links, .nav-actions .btn-sound-toggle {
		display: none;
	}
	
	.mobile-menu-btn {
		display: flex;
	}
	
	.theories-grid,
	.journal-grid,
	.quantum-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}
	
	.evolution-line {
		left: 20px;
	}
	
	.evolution-node-row, .evolution-node-row.left {
		flex-direction: column;
		align-items: flex-start;
		padding-left: 45px;
	}
	
	.evolution-card, .evolution-empty-spacer {
		width: 100%;
	}
	
	.evolution-center-marker {
		position: absolute;
		left: 20px;
		top: 24px;
		transform: translateX(-50%);
		width: auto;
	}
}
