/* ===== AI Hero Section (dark grid + glow) ===== */

.ai-hero-section {
	position: relative;
	overflow: hidden;
	min-height: 780px;
	display: flex;
	align-items: center;
	color: #ffffff;
	background: #050505;
}

/* Faint grid, fading out toward the bottom of the section */
.ai-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
	background-size: 70px 70px;
	-webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
	mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

/* Soft blue glow, top-left */
.ai-hero-bg::after {
	content: '';
	position: absolute;
	top: -10%;
	left: 5%;
	width: 45%;
	height: 70%;
	background: radial-gradient(circle, rgba(70, 90, 255, 0.35) 0%, rgba(70, 90, 255, 0) 70%);
	pointer-events: none;
}

.ai-hero-cubes-fullbleed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	display: block;
	cursor: grab;
	touch-action: none;
}

.ai-hero-cubes-fullbleed:active {
	cursor: grabbing;
}

.ai-hero-container {
	position: relative;
	z-index: 2;
	max-width: 1320px;
	margin: 0 auto;
	width: 100%;
	padding: 0 60px;
	display: flex;
	align-items: center;
	pointer-events: none;
}

/* ===== Left content ===== */

.ai-hero-section .ai-hero-content {
	max-width: 620px;
	pointer-events: auto;
	margin-top:80px;
}

.ai-hero-section .ai-hero-heading,
.ai-hero-section h1.ai-hero-heading {
	font-size: 66px;
	line-height: 1.15 !important;
	font-weight: 700 !important;
	margin: 0 0 24px !important;
	letter-spacing: -0.5px !important;
	color: #ffffff !important;
}

.ai-hero-section .ai-hero-subtext,
.ai-hero-section p.ai-hero-subtext {
	font-size: 17px !important;
	line-height: 1.6 !important;
	color: rgba(255, 255, 255, 0.7) !important;
	max-width: 460px;
	margin: 0 0 36px !important;
}

.ai-hero-section .ai-hero-buttons {
	display: flex;
	align-items: center;
	gap: 16px;
}

.ai-hero-section .ai-hero-btn {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 14px 28px !important;
	border-radius: 999px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.ai-hero-section .ai-hero-btn:hover {
	transform: translateY(-2px);
	text-decoration: none !important;
}

.ai-hero-section .ai-hero-btn-primary {
	background: #ffffff !important;
	color: #0a0a0a !important;
}

.ai-hero-section .ai-hero-btn-primary:hover {
	background: #eeeeee !important;
	color: #0a0a0a !important;
}

.ai-hero-section .ai-hero-btn-secondary {
	background: transparent !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.ai-hero-section .ai-hero-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.08) !important;
	border-color: rgba(255, 255, 255, 0.5) !important;
}

.ai-hero-section .ai-hero-btn-secondary svg {
	transition: transform 0.2s ease;
}

.ai-hero-section .ai-hero-btn-secondary:hover svg {
	transform: translateX(3px);
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
	.ai-hero-container {
		padding: 0 24px;
		text-align: left;
	}

	.ai-hero-section .ai-hero-heading {
		font-size: 40px !important;
	}

	.ai-hero-section .ai-hero-subtext {
		font-size: 16px !important;
	}

	.ai-hero-section {
		min-height: 640px;
		padding: 60px 0;
	}
}

@media (max-width: 480px) {
	.ai-hero-section .ai-hero-content {
		max-width: 100%;
	}

	.ai-hero-section .ai-hero-heading {
		font-size: 40px !important;
	}

	.ai-hero-section .ai-hero-subtext {
		font-size: 14px !important;
	}

	.ai-hero-section .ai-hero-buttons {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.ai-hero-section .ai-hero-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

	.ai-hero-section {
		min-height: 560px;
	}
}