/* BlueChip Labs Custom Styles - KINETIC VARIATION */
/* Bold geometric shapes, dynamic motion, strong visual impact */

@keyframes diagonal-slide {
	0% { transform: translateX(-100%) translateY(-100%); }
	100% { transform: translateX(100%) translateY(100%); }
}

@keyframes rotate-slow {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes scale-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}

@keyframes geometric-float {
	0%, 100% { transform: translate(0, 0) rotate(0deg); }
	33% { transform: translate(20px, -20px) rotate(5deg); }
	66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

body {
	margin: 0;
	padding: 0;
	background: #0a0a0a;
	position: relative;
	overflow-x: hidden;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
		linear-gradient(45deg, transparent 40%, rgba(58, 133, 255, 0.03) 50%, transparent 60%),
		linear-gradient(-45deg, transparent 40%, rgba(142, 250, 0, 0.03) 50%, transparent 60%);
	background-size: 100px 100px;
	pointer-events: none;
	z-index: 0;
}

/* Main Container */
.page-wrapper {
	margin: var(--space-4);
	background: var(--color-panel-mid);
	border-radius: var(--radius-xl);
	box-shadow:
		0 0 0 2px rgba(58, 133, 255, 0.2),
		0 20px 60px rgba(0, 0, 0, 0.8);
	position: relative;
	z-index: 1;
}

/* Header */
.site-header {
	background:
		linear-gradient(135deg, rgba(58, 133, 255, 0.1) 0%, transparent 50%),
		linear-gradient(225deg, rgba(142, 250, 0, 0.05) 0%, transparent 50%),
		var(--color-gray-darkest);
	padding: 40px 60px;
	border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
	overflow: hidden;
}

.site-header::before {
	content: "";
	position: absolute;
	top: -20px;
	right: -20px;
	width: 200px;
	height: 200px;
	background: linear-gradient(135deg, rgba(58, 133, 255, 0.15), rgba(142, 250, 0, 0.1));
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	animation: geometric-float 20s ease-in-out infinite;
}

.site-header::after {
	content: "";
	position: absolute;
	bottom: -30px;
	left: -30px;
	width: 150px;
	height: 150px;
	background: linear-gradient(45deg, rgba(142, 250, 0, 0.1), rgba(58, 133, 255, 0.15));
	border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
	animation: geometric-float 15s ease-in-out infinite reverse;
}

.site-header img {
	height: 72px;
	position: relative;
	z-index: 1;
	transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-header:hover img {
	transform: rotate(-5deg) scale(1.1);
}

.header-text {
	position: relative;
	z-index: 1;
}

.header-text h1 {
	font-size: 48px;
	font-weight: 700;
	margin: 0;
	background: linear-gradient(135deg, #3a85ff 0%, #ffffff 50%, #8efa00 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	letter-spacing: -1px;
	position: relative;
}

.header-text h1::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, #3a85ff 0%, #8efa00 100%);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-header:hover .header-text h1::after {
	transform: scaleX(1);
}

.header-text .tagline {
	font-size: 24px;
	color: var(--color-text-secondary);
	margin: 10px 0 0 0;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-size: 14px;
}

/* Main Content */
.main-content-wrapper {
	padding: var(--space-9);
	position: relative;
}

/* Section Header */
.section-header {
	text-align: center;
	margin-bottom: 60px;
	position: relative;
}

.section-header::before {
	content: "";
	position: absolute;
	top: -30px;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #3a85ff, #8efa00);
}

.section-header h2 {
	font-size: 42px;
	font-weight: 700;
	color: var(--color-white);
	margin: 0 0 10px 0;
	letter-spacing: -1px;
	position: relative;
	display: inline-block;
}

.section-header h2::after {
	content: "";
	position: absolute;
	bottom: -10px;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, #3a85ff, #8efa00, transparent);
}

.section-header h2 strong {
	font-weight: 700;
	position: relative;
	padding: 0 10px;
}

.section-header h2 strong::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(58, 133, 255, 0.1), rgba(142, 250, 0, 0.1));
	transform: skewX(-10deg);
	z-index: -1;
}

.section-header p {
	font-size: 16px;
	color: var(--color-text-muted);
	margin: 20px 0 0 0;
}

/* Product Grid */
.products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-7);
	margin-bottom: var(--space-9);
}

/* Product Card */
.product-card {
	background: linear-gradient(145deg, #3e3e3e 0%, #2e2e2e 100%);
	border-radius: var(--radius-base);
	border: 2px solid transparent;
	background-clip: padding-box;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card::before {
	content: "";
	position: absolute;
	top: -2px;
	left: -2px;
	right: -2px;
	bottom: -2px;
	background: linear-gradient(135deg, #3a85ff, #8efa00);
	border-radius: var(--radius-base);
	z-index: -1;
	opacity: 0;
	transition: opacity 0.4s ease;
}

.product-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.6s ease;
	z-index: 10;
	pointer-events: none;
}

.product-card:hover {
	transform: translateY(-12px) scale(1.03);
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.8),
		0 0 0 2px #3a85ff;
}

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

.product-card:hover::after {
	left: 100%;
}

.product-screenshot {
	background:
		linear-gradient(135deg, rgba(58, 133, 255, 0.05) 0%, transparent 50%),
		#1a1a1a;
	height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-bottom: 2px solid rgba(58, 133, 255, 0.2);
	overflow: hidden;
	position: relative;
}

.product-screenshot::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100px;
	height: 100px;
	background: linear-gradient(135deg, rgba(142, 250, 0, 0.15), transparent);
	border-radius: 50%;
	transition: all 0.6s ease;
}

.product-card:hover .product-screenshot::before {
	transform: translate(-100px, 100px) scale(3);
}

.product-screenshot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-screenshot img {
	transform: scale(1.15) rotate(2deg);
}

.product-screenshot.placeholder {
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
	font-weight: 600;
	letter-spacing: 2px;
}

.product-content {
	padding: var(--space-6);
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.product-content h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--color-white);
	margin: 0 0 var(--space-2) 0;
	letter-spacing: -0.5px;
	transition: all 0.3s ease;
	position: relative;
	display: inline-block;
}

.product-content h3::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #3a85ff, #8efa00);
	transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-content h3::after {
	width: 100%;
}

.product-content .tagline {
	font-size: var(--font-size-sm);
	color: #3a85ff;
	margin: 0 0 var(--space-5) 0;
	font-style: normal;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.product-content p {
	font-size: var(--font-size-sm);
	color: var(--color-text-secondary);
	line-height: 1.6;
	margin: 0 0 var(--space-5) 0;
}

.product-content ul {
	margin: 0 0 var(--space-5) 0;
	padding: 0;
	list-style: none;
}

.product-content li {
	font-size: var(--font-size-sm);
	color: var(--color-text-secondary);
	padding: var(--space-2) 0 var(--space-2) var(--space-6);
	position: relative;
	line-height: 1.5;
	transition: all 0.3s ease;
}

.product-content li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-left: 8px solid #3a85ff;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-content li:before {
	border-left-color: #8efa00;
	transform: translateY(-50%) translateX(5px);
}

.tech-badges {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	margin-top: var(--space-5);
}

.tech-badge {
	background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
	color: #3a85ff;
	padding: var(--space-2) var(--space-4);
	border-radius: var(--radius-sm);
	font-size: 10px;
	border: 1px solid rgba(58, 133, 255, 0.3);
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	position: relative;
	overflow: hidden;
}

.tech-badge::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(58, 133, 255, 0.3), transparent);
	transition: left 0.5s ease;
}

.product-card:hover .tech-badge {
	background: linear-gradient(135deg, #3a85ff, #8efa00);
	color: #000;
	border-color: transparent;
	transform: translateY(-2px);
}

.product-card:hover .tech-badge::before {
	left: 100%;
}

/* Section Divider */
.section-divider {
	height: 4px;
	background: linear-gradient(90deg,
		transparent 0%,
		#3a85ff 50%,
		transparent 100%
	);
	margin: 80px auto;
	width: 60%;
	position: relative;
}

.section-divider::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 12px;
	height: 12px;
	background: #8efa00;
	border-radius: 50%;
	box-shadow: 0 0 20px #8efa00;
}

/* Footer */
.footer {
	text-align: center;
	padding: 40px 20px;
	color: var(--color-text-muted);
	font-size: var(--font-size-sm);
	border-top: 2px solid rgba(58, 133, 255, 0.2);
}

.footer a {
	color: var(--color-blue-accent);
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	position: relative;
}

.footer a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, #3a85ff, #8efa00);
	transition: width 0.3s ease;
}

.footer a:hover::after {
	width: 100%;
}

/* Responsive */
@media (max-width: 1200px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.site-header {
		flex-direction: column;
		align-items: flex-start;
		padding: 30px;
	}

	.site-header img {
		height: 60px;
	}

	.header-text h1 {
		font-size: 36px;
	}

	.header-text .tagline {
		font-size: 12px;
	}

	.products-grid {
		grid-template-columns: 1fr;
	}

	.main-content-wrapper {
		padding: var(--space-6);
	}

	.section-header h2 {
		font-size: 32px;
	}
}
