.mattock-partner {
	// Custom colors based on the HTML demo - adapted for Tailwind v4
	:root {
		--primary: #1e3a8a;
		--primary-dark: #1e293b;
		--primary-light: #3b82f6;
		--secondary: #10b981;
		--secondary-dark: #059669;
		--secondary-light: #34d399;
		--accent: #f59e0b;
		--accent-light: #fbbf24;
	}
	
	// Custom gradients
	.gradient-text {
		background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
	}
	
	.gradient-bg-primary {
		background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
	}
	
	.gradient-bg-secondary {
		background: linear-gradient(135deg, #059669 0%, #34d399 100%);
	}
	
	.gradient-bg-accent {
		background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
	}
	
	.gradient-bg-gold {
		background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fde68a 100%);
	}
	
	// Grid background
	.grid-bg::before {
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background-image: 
			linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
			linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
		background-size: 40px 40px;
	}
	
	// Animations
	.animate-on-scroll {
		opacity: 0;
		transform: translateY(30px);
		transition: all 0.8s ease-out;
		
		&.visible {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	// Partner cards
	.partner-card {
		transition: all 0.3s ease;
		transform-style: preserve-3d;
		
		&:hover {
			transform: translateY(-8px) scale(1.02);
			box-shadow: 0 20px 40px rgba(0,0,0,0.15);
			
			.card-badge {
				transform: rotate(-2deg) scale(1.1);
			}
			
			.view-details {
				opacity: 1;
				transform: translateX(4px);
			}
		}
	}
	
	// Filter tags
	.filter-tag {
		position: relative;
		overflow: hidden;
		
		&::before {
			content: '';
			position: absolute;
			top: 50%;
			left: 50%;
			width: 0;
			height: 0;
			background: rgba(59, 130, 246, 0.1);
			border-radius: 50%;
			transform: translate(-50%, -50%);
			transition: width 0.6s, height 0.6s;
		}
		
		&:hover::before {
			width: 300px;
			height: 300px;
		}
		
		&.active {
			background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
			color: white;
			border-color: transparent;
		}
	}
	
	// Match indicator
	.match-indicator {
		background: conic-gradient(#10b981 var(--match-percentage), #e5e7eb var(--match-percentage));
	}
	
	// Floating elements
	@keyframes float-reverse {
		0%, 100% { transform: translate(0, 0) scale(1); }
		50% { transform: translate(20px, 30px) scale(0.95); }
	}
	
	.float-reverse {
		animation: float-reverse 25s infinite ease-in-out;
	}
	
	// Quick view modal
	.modal-backdrop {
		backdrop-filter: blur(8px);
		background: rgba(0, 0, 0, 0.5);
	}
	
	// Comparison table
	.comparison-table {
		th {
			position: sticky;
			top: 0;
			background: white;
			z-index: 10;
		}
		
		td:first-child {
			position: sticky;
			left: 0;
			background: #f9fafb;
			z-index: 5;
		}
	}
	
	// Loading skeleton
	@keyframes shimmer {
		0% { background-position: -200% 0; }
		100% { background-position: 200% 0; }
	}
	
	.skeleton {
		background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
		background-size: 200% 100%;
		animation: shimmer 1.5s infinite;
	}

	// Custom animations for Tailwind v4
	@keyframes fadeIn {
		0% {
			opacity: 0;
		}
		100% {
			opacity: 1;
		}
	}
	
	@keyframes fadeInUp {
		0% {
			opacity: 0;
			transform: translateY(30px);
		}
		100% {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	@keyframes fadeInDown {
		0% {
			opacity: 0;
			transform: translateY(-30px);
		}
		100% {
			opacity: 1;
			transform: translateY(0);
		}
	}
	
	@keyframes slideInRight {
		0% {
			opacity: 0;
			transform: translateX(-30px);
		}
		100% {
			opacity: 1;
			transform: translateX(0);
		}
	}
	
	@keyframes scaleIn {
		0% {
			opacity: 0;
			transform: scale(0.9);
		}
		100% {
			opacity: 1;
			transform: scale(1);
		}
	}
	
	@keyframes float {
		0%, 100% {
			transform: translate(0, 0) scale(1);
		}
		50% {
			transform: translate(-20px, -30px) scale(1.1);
		}
	}
	
	// Animation classes
	.animate-fade-in {
		animation: fadeIn 0.8s ease-out;
	}
	
	.animate-fade-in-up {
		animation: fadeInUp 0.8s ease-out;
	}
	
	.animate-fade-in-down {
		animation: fadeInDown 0.8s ease-out;
	}
	
	.animate-slide-in-right {
		animation: slideInRight 0.6s ease-out;
	}
	
	.animate-scale-in {
		animation: scaleIn 0.6s ease-out;
	}
	
	.animate-float {
		animation: float 20s infinite ease-in-out;
	}
	
	.animate-pulse-slow {
		animation: pulse 3s infinite;
	}
	
	.animate-bounce-slow {
		animation: bounce 2s infinite;
	}

	// Custom colors for theme integration
	.text-primary {
		color: var(--primary);
	}
	
	.text-primary-dark {
		color: var(--primary-dark);
	}
	
	.text-primary-light {
		color: var(--primary-light);
	}
	
	.text-secondary {
		color: var(--secondary);
	}
	
	.text-secondary-dark {
		color: var(--secondary-dark);
	}
	
	.text-secondary-light {
		color: var(--secondary-light);
	}
	
	.text-accent {
		color: var(--accent);
	}
	
	.text-accent-light {
		color: var(--accent-light);
	}
	
	// Background color utilities
	.bg-primary {
		background-color: var(--primary);
	}
	
	.bg-primary-dark {
		background-color: var(--primary-dark);
	}
	
	.bg-primary-light {
		background-color: var(--primary-light);
	}
	
	.bg-secondary {
		background-color: var(--secondary);
	}
	
	.bg-secondary-dark {
		background-color: var(--secondary-dark);
	}
	
	.bg-secondary-light {
		background-color: var(--secondary-light);
	}
	
	.bg-accent {
		background-color: var(--accent);
	}
	
	.bg-accent-light {
		background-color: var(--accent-light);
	}
	
	// Border color utilities
	.border-primary {
		border-color: var(--primary);
	}
	
	.border-secondary {
		border-color: var(--secondary);
	}
	
	.border-accent {
		border-color: var(--accent);
	}
	
	// Hover states
	.hover\:border-primary:hover {
		border-color: var(--primary);
	}
	
	.hover\:text-primary:hover {
		color: var(--primary);
	}
	
	.hover\:bg-primary:hover {
		background-color: var(--primary);
	}
	
	// Focus states
	.focus\:border-primary:focus {
		border-color: var(--primary);
	}
	
	.focus\:ring-primary:focus {
		--tw-ring-color: var(--primary);
	}

	// Header with backdrop blur
	#header {
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		background: rgba(255, 255, 255, 0.9);
		transition: all 0.3s ease;
	}

	// Progress bar
	#progressBar {
		position: fixed;
		top: 0;
		left: 0;
		height: 4px;
		background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
		z-index: 1001;
		transition: width 0.3s ease;
	}

	// Card badges
	.card-badge {
		transition: all 0.3s ease;
	}

	// View details button
	.view-details {
		opacity: 0;
		transition: all 0.3s ease;
	}

	// Floating actions
	.floating-actions {
		position: fixed;
		bottom: 2rem;
		right: 2rem;
		z-index: 50;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	// Comparison basket
	#comparisonBasket {
		background: white;
		border-radius: 9999px;
		box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
		padding: 0.75rem 1.5rem;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		transform: translateX(100%);
		transition: transform 0.3s ease;
	}

	// Chat prompt
	#chatPrompt {
		animation: bounce 2s infinite;
	}

	// Quick view modal
	#quickViewModal {
		.animate-scale-in {
			animation: scaleIn 0.5s ease-out;
		}
	}

	// Mobile responsiveness
	@media (max-width: 768px) {
		.floating-actions {
			bottom: 1rem;
			right: 1rem;
		}
		
		.partner-card {
			margin-bottom: 1rem;
			
			&:hover {
				transform: none;
				box-shadow: 0 8px 20px rgba(0,0,0,0.1);
			}
		}
		
		.grid-bg::before {
			background-size: 20px 20px;
		}
		
		.filter-tag {
			font-size: 0.875rem;
			padding: 0.5rem 1rem;
		}
	}

	@media (max-width: 1024px) {
		.comparison-table {
			font-size: 0.875rem;
		}
	}

	// Success stories enhancements
	.success-story-card {
		transition: all 0.3s ease;
		
		&:hover {
			transform: translateY(-4px);
			box-shadow: 0 12px 24px rgba(0,0,0,0.1);
		}
	}

	// CTA section enhancements
	.cta-section {
		position: relative;
		overflow: hidden;
		
		&::before {
			content: '';
			position: absolute;
			top: -50%;
			right: -50%;
			width: 200%;
			height: 200%;
			background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
			animation: float 30s infinite ease-in-out;
		}
	}

	// Trust badge pulse
	.trust-badge {
		.animate-pulse-slow {
			animation: pulse 3s infinite;
		}
	}

	// Industry selector enhancements
	select, input[type="text"] {
		transition: all 0.3s ease;
		
		&:focus {
			transform: scale(1.02);
			box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
		}
	}

	// Button enhancements
	button {
		transition: all 0.3s ease;
		
		&:hover {
			transform: translateY(-1px);
		}
		
		&:active {
			transform: translateY(0);
		}
	}
}