/* --- AI PAGE OVERRIDES (Dark Mode Theme) --- */
	body { background-color: #0a0a0a;  }
	
	/* 1. THE NEURAL HERO (Typing Effect) */
	.ai-hero-section {
		min-height: 80vh;
		display: flex; flex-direction: column; justify-content: center; align-items: center;
		text-align: center; position: relative; padding-top: 100px;
	}
	
	/* The "Cursor" blink effect */
	.cursor {
		display: inline-block; width: 10px; height: 1.2em; background: var(--brand-green);
		animation: blink 1s infinite; vertical-align: bottom;
	}
	@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

	.ai-title {
		font-family: 'Outfit', sans-serif; font-size: 4rem; margin-bottom: 20px;
		background: linear-gradient(90deg, #fff, #888); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
	}
	
	/* 2. THE INTERACTIVE SPLIT (Comparison Slider) */
	.compare-container {
		position: relative; width: 95%; max-width: 1000px; height: 500px;
		margin: 100px auto; border-radius: 20px; overflow: hidden;
		border: 1px solid #333; box-shadow: 0 0 50px rgba(52, 168, 83, 0.1);
	}
	
	.compare-layer {
		position: absolute; top: 0; left: 0; width: 100%; height: 100%;
		display: flex; align-items: center; justify-content: center; flex-direction: column;
		padding: 40px;
	}

	/* Layer 1: The Old Way (Red/Gray) */
	.layer-manual {
		background: #111; z-index: 1;
	}
	
	/* Layer 2: The AI Way (Green/Blue) - Resizable */
	.layer-ai {
		background: radial-gradient(circle at center, #0d1f12 0%, #000 100%);
		width: 50%; /* Initial width */
		border-right: 2px solid var(--brand-green);
		z-index: 2; overflow: hidden;
		/* Important for the slider logic */
		transition: width 0.1s linear; 
	}

	/* The Draggable Handle */
	.slider-handle {
		position: absolute; top: 50%; right: -20px; width: 40px; height: 40px;
		background: var(--brand-green); border-radius: 50%;
		display: flex; align-items: center; justify-content: center;
		cursor: ew-resize; z-index: 10;
		box-shadow: 0 0 20px var(--brand-green);
		transform: translateY(-50%);
	}
	.slider-arrow { color: black; font-weight: bold; }

	/* Content inside the comparison */
	.compare-content {
		width: 900px; /* Fixed width to prevent text squishing */
		text-align: center;
	}

	/* 3. THE "IDE" CURRICULUM (Tabbed Interface) */
	.ide-wrapper {
		max-width: 1100px; margin: 100px auto; border: 1px solid #333; border-radius: 12px;
		background: #1e1e1e; display: grid; grid-template-columns: 250px 1fr;
		overflow: hidden; height: 600px;
	}
	
	.ide-sidebar { background: #151515; border-right: 1px solid #333; padding: 20px 0; }
	.file-item {
		padding: 10px 20px; cursor: pointer; color: #888; font-family: 'Fira Code', monospace; font-size: 0.9rem;
		display: flex; align-items: center; gap: 10px; border-left: 2px solid transparent;
	}
	.file-item:hover { background: #222; color: #ccc; }
	.file-item.active { background: #252526; color: white; border-left-color: var(--brand-blue); }
	.icon-js { color: #f7df1e; }
	.icon-py { color: #3776ab; }
	.icon-md { color: #fff; }

	.ide-content { padding: 40px; overflow-y: auto; position: relative; }
	.code-block { display: none; }
	.code-block.active { display: block; animation: fadeIn 0.5s ease; }
	
	@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

	/* Typography for the "Code" content */
	.token-keyword { color: #c678dd; } /* Purple */
	.token-string { color: #98c379; }  /* Green */
	.token-func { color: #61afef; }    /* Blue */
	.token-comment { color: #5c6370; font-style: italic; }

	/* Footer Override for Dark Mode */
	footer { border-top: 1px solid #222; }

	/* Mobile Responsive */
	@media (max-width: 768px) {
		.compare-container {  } /* Hide complex slider on mobile */
		.ide-wrapper { grid-template-columns: 1fr; height: auto; }
		.ide-sidebar { display: flex; overflow-x: auto; padding: 10px; }
		.file-item { white-space: nowrap; }
		.ai-title { font-size: 2.5rem; }
	}