:root {
	--bg-primary: #F9FAFB; /* gray-50 */
	--bg-secondary: #FFFFFF; /* white */
	--text-primary: #1F2937; /* gray-800 */
	--text-secondary: #4B5563; /* gray-600 */
	--accent-primary: #4F46E5; /* indigo-600 */
	--accent-primary-text: #FFFFFF;
	--accent-secondary: #EF4444; /* red-500 */
	--card-bg: #FFFFFF;
	--header-bg: rgba(255, 255, 255, 0.8);
}

.theme-dark {
	--bg-primary: #111827; /* gray-900 */
	--bg-secondary: #1F2937; /* gray-800 */
	--text-primary: #F9FAFB; /* gray-50 */
	--text-secondary: #9CA3AF; /* gray-400 */
	--accent-primary: #6366F1; /* indigo-500 */
	--accent-primary-text: #FFFFFF;
	--accent-secondary: #F87171; /* red-400 */
	--card-bg: #1F2937;
	--header-bg: rgba(17, 24, 39, 0.8);
}

.theme-corporate {
	--bg-primary: #EFF6FF; /* blue-50 */
	--bg-secondary: #FFFFFF;
	--text-primary: #1E3A8A; /* blue-900 */
	--text-secondary: #3B82F6; /* blue-500 */
	--accent-primary: #2563EB; /* blue-600 */
	--accent-primary-text: #FFFFFF;
	--accent-secondary: #EF4444; /* red-500 */
	--card-bg: #FFFFFF;
	--header-bg: rgba(255, 255, 255, 0.8);
}

.theme-electric-momentum {
	--bg-primary: #0D0D0D; /* Near black */
	--bg-secondary: #1A1A1A; /* Darker gray */
	--text-primary: #EAEAEA; /* Light gray */
	--text-secondary: #A0A0A0; /* Medium gray */
	--accent-primary: #00FFFF; /* Cyan */
	--accent-primary-text: #0D0D0D;
	--accent-secondary: #FF00FF; /* Magenta */
	--card-bg: #1A1A1A;
	--header-bg: rgba(13, 13, 13, 0.8);
}

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-primary);
	color: var(--text-primary);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.bg-primary { background-color: var(--bg-primary); }
.bg-secondary { background-color: var(--bg-secondary); }
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-accent-primary { color: var(--accent-primary); }
.bg-accent-primary { background-color: var(--accent-primary); }
.text-accent-primary-text { color: var(--accent-primary-text); }
.border-accent-primary { border-color: var(--accent-primary); }
.bg-accent-secondary-soft { background-color: var(--accent-secondary); opacity: 0.1; }
.text-accent-secondary { color: var(--accent-secondary); }
.card { background-color: var(--card-bg); transition: background-color 0.3s ease; }
.header-bg { background-color: var(--header-bg); }

/* --- Animation Classes: Swift & Purposeful --- */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Hero Section Parallax Effect --- */
.hero-section {
	background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop');
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}
.hero-overlay { background-color: rgba(49, 46, 129, 0.8); }

/* --- Kinetic Typography --- */
.kinetic-title {
	visibility: hidden; /* Hide until JS is ready */
}
.kinetic-title .letter {
	display: inline-block;
	opacity: 0;
	transform: translateY(30px);
}

/* --- Interactive Timeline --- */
.timeline-container {
	position: relative;
}
.timeline-item {
	position: relative; padding-left: 2.5rem; padding-bottom: 2.5rem;
	transition: transform 0.2s ease; cursor: pointer;
}
.timeline-item:hover { transform: translateX(5px); }
.timeline-dot {
	position: absolute; width: 20px; height: 20px;
	border-radius: 50%; background-color: var(--bg-secondary);
	border: 4px solid var(--accent-primary);
	left: -11px; top: 4px; z-index: 2;
	transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.timeline-item:hover .timeline-dot {
	transform: scale(1.1);
}
.timeline-item.active .timeline-dot {
	background-color: var(--accent-primary);
}
.timeline-line {
	position: absolute; left: 0; top: 15px; bottom: 0;
	width: 4px; background-color: var(--accent-primary); opacity: 0.2;
	transition: background-color 0.3s ease;
	z-index: 0;
}
#timeline-progress {
	position: absolute; left: 0; top: 15px;
	width: 4px; background-color: var(--accent-primary);
	z-index: 1;
	height: 0;
}
.timeline-item:last-child { padding-bottom: 0; }

/* --- Card Hover Effect (Shapeshifting) --- */
.advantage-card { 
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.advantage-card:hover {
	transform: scale(1.05);
	border-radius: 2rem; /* rounded-3xl */
	box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* --- Click/Tap Feedback --- */
.clickable { cursor: pointer; transition: transform 0.15s ease, filter 0.15s ease; }
.clickable:active { transform: scale(0.96); filter: brightness(0.95); }
.nav-link { display: inline-block; transition: transform 0.15s ease; }
.nav-link:active { transform: scale(0.95); }

/* Theme switcher styles */
.theme-switcher button {
	border: 2px solid transparent;
	transition: border-color 0.3s ease, color 0.3s ease;
}
.theme-switcher button.active {
	border-color: var(--accent-primary);
}

/* --- Shapeshifting Team Card Styles --- */
.team-card-container {
	display: flex;
	justify-content: center;
	align-items: center;
}
.team-card {
	position: relative;
	width: 128px; /* 8rem */
	height: 128px; /* 8rem */
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
	box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}
.team-card:hover {
	width: 100%;
	height: 160px; /* 10rem */
	border-radius: 1rem; /* rounded-xl */
}
.team-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: filter 0.3s ease;
}
.team-card:hover .team-card-image {
	filter: brightness(0.7);
}
.team-card-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1rem;
	color: white;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	transform: translateY(100%);
	transition: transform 0.3s ease-out;
}
.team-card:hover .team-card-overlay {
	transform: translateY(0);
}
.team-card-name {
	font-weight: 700;
	font-size: 1.125rem; /* text-lg */
}
.team-card-title {
	font-size: 0.875rem; /* text-sm */
	opacity: 0.8;
}

/* Generative Icon Styling */
.generative-icon path {
	opacity: 0;
}

/* --- Holographic Glass Effect --- */
.holographic-wrapper {
	perspective: 1500px;
}
.holographic-card {
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.4s ease-out;
	border-radius: 0.75rem; /* rounded-xl */
	overflow: hidden;
}
.holographic-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0.75rem; /* rounded-xl */
}
.holographic-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	border-radius: 0.75rem;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
	backdrop-filter: blur(2px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transform: translateZ(20px); /* Lift the glass off the image */
}
.holographic-glare {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	border-radius: 0.75rem;
	background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 255, 255, 0.3), transparent 40%);
	opacity: 0;
	transition: opacity 0.4s ease-out;
	mix-blend-mode: screen;
	transform: translateZ(21px);
}
.holographic-wrapper:hover .holographic-glare {
	opacity: 1;
}