/* ==========================================================================
   AI HERO ELEMENTOR SLIDER - Sci-Fi Futuristic Theme Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;600;700;800;900&family=Outfit:wght@300;400;600;700;800&display=swap');

.ai-hero-widget-wrapper {
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: #060512;
	background: radial-gradient(circle at 75% 40%, #170d38 0%, #080616 60%, #030209 100%);
	color: #ffffff;
	font-family: 'Alexandria', 'Outfit', system-ui, -apple-system, sans-serif;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

/* ==========================================================================
   CANVAS & AMBIENT BACKGROUND GLOWS
   ========================================================================== */
.ai-hero-starfield-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 1;
}

.ai-hero-bg-glow-purple {
	position: absolute;
	top: 15%;
	right: 10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(147, 51, 234, 0.28) 0%, rgba(147, 51, 234, 0) 70%);
	filter: blur(80px);
	pointer-events: none;
	z-index: 1;
	animation: aiGlowPulse 8s infinite alternate ease-in-out;
}

.ai-hero-bg-glow-blue {
	position: absolute;
	bottom: 10%;
	left: 10%;
	width: 650px;
	height: 650px;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(56, 189, 248, 0) 70%);
	filter: blur(90px);
	pointer-events: none;
	z-index: 1;
	animation: aiGlowPulse 12s infinite alternate ease-in-out;
}

@keyframes aiGlowPulse {
	0% { opacity: 0.6; transform: scale(1); }
	100% { opacity: 0.95; transform: scale(1.18); }
}

/* ==========================================================================
   TOP HEADER BAR
   ========================================================================== */
.ai-hero-top-header {
	position: relative;
	z-index: 20;
	width: 100%;
	padding: 28px 5%;
	box-sizing: border-box;
}

/* LTR Flex layout so Logo is Left, Menu Middle, Button Right */
.ai-hero-header-container {
	max-width: 1380px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	direction: ltr !important;
}

/* LOGO (LEFT) */
.ai-hero-logo {
	display: flex;
	align-items: center;
	direction: ltr;
}

.ai-hero-logo-img {
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

.ai-hero-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	font-family: 'Outfit', sans-serif;
	text-align: left;
}

.ai-hero-logo-main {
	font-size: 36px;
	font-weight: 900;
	letter-spacing: 2px;
	background: linear-gradient(135deg, #c084fc 0%, #38bdf8 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}

.ai-hero-logo-sub {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 2px;
	color: #94a3b8;
	margin-top: 3px;
}

/* NAVIGATION MENU (MIDDLE) */
.ai-hero-nav-menu {
	display: flex;
	align-items: center;
	direction: rtl !important;
}

.ai-hero-menu-list {
	display: flex;
	align-items: center;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
	direction: rtl !important;
}

.ai-hero-menu-item {
	position: relative;
}

.ai-hero-menu-link {
	color: #ffffff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
	padding: 6px 0;
	display: inline-block;
}

.ai-hero-menu-link:hover,
.ai-hero-menu-link.active {
	color: #38bdf8;
	text-shadow: 0 0 14px rgba(56, 189, 248, 0.7);
}

.ai-hero-menu-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 0%;
	height: 2px;
	background: linear-gradient(90deg, #38bdf8, #a855f7);
	transition: width 0.3s ease;
	border-radius: 2px;
}

.ai-hero-menu-link:hover::after,
.ai-hero-menu-link.active::after {
	width: 100%;
}

/* HEADER CTA BUTTON (RIGHT) */
.ai-hero-header-action {
	display: flex;
	align-items: center;
	direction: rtl !important;
}

.ai-hero-header-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 26px;
	border-radius: 50px;
	border: 1px solid rgba(168, 85, 247, 0.5);
	background: rgba(22, 16, 48, 0.75);
	backdrop-filter: blur(14px);
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 0 18px rgba(168, 85, 247, 0.25);
}

.ai-hero-header-btn:hover {
	border-color: #38bdf8;
	background: rgba(56, 189, 248, 0.2);
	box-shadow: 0 0 28px rgba(56, 189, 248, 0.6);
	transform: translateY(-2px);
	color: #ffffff;
}

/* ==========================================================================
   MAIN HERO BODY CONTAINER & LAYOUT
   ========================================================================== */
.ai-hero-body-container {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 10px 5% 50px;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	flex: 1;
}

/* VERTICAL PAGINATION (FAR LEFT EDGE) */
.ai-hero-pagination-vertical {
	position: absolute;
	left: 2.5% !important;
	right: auto !important;
	top: 50%;
	transform: translateY(-50%);
	z-index: 25;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ai-hero-pagination-track {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	position: relative;
	padding: 12px 0;
}

.ai-hero-pagination-track::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 2px;
	z-index: 1;
}

.ai-hero-dot {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 4px;
	position: relative;
	z-index: 2;
	outline: none;
}

.ai-hero-dot-inner {
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-hero-dot:hover .ai-hero-dot-inner {
	background: #38bdf8;
	transform: scale(1.3);
}

.ai-hero-dot.active .ai-hero-dot-inner {
	width: 10px;
	height: 26px;
	border-radius: 13px;
	background: linear-gradient(180deg, #a855f7 0%, #38bdf8 100%);
	box-shadow: 0 0 14px rgba(56, 189, 248, 0.9);
}

/* SLIDES VIEWPORT & TRACK */
.ai-hero-slides-viewport {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding-left: 50px; /* Space for left pagination dots */
}

.ai-hero-slides-track {
	display: flex;
	transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	width: 100%;
}

/* LTR Flex direction: Text Content on LEFT, 3D Alien Image on RIGHT */
.ai-hero-slide-item {
	min-width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s ease;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	direction: ltr !important;
}

.ai-hero-slide-item.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	position: relative;
}

/* ==========================================================================
   LEFT CONTENT COLUMN (ARABIC TEXT)
   ========================================================================== */
.ai-hero-content-col {
	flex: 1.15;
	max-width: 640px;
	z-index: 12;
	direction: rtl !important;
	text-align: right !important;
}

.ai-hero-subheading-badge {
	display: inline-block;
	margin-bottom: 18px;
}

.ai-hero-subheading {
	font-size: 18px;
	font-weight: 600;
	color: #38bdf8;
	letter-spacing: 0.5px;
	background: rgba(56, 189, 248, 0.08);
	border: 1px solid rgba(56, 189, 248, 0.3);
	padding: 7px 22px;
	border-radius: 30px;
	display: inline-block;
	backdrop-filter: blur(8px);
	box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.ai-hero-heading {
	font-size: clamp(42px, 5.2vw, 68px);
	font-weight: 900;
	line-height: 1.25;
	margin: 0 0 18px 0;
	background: linear-gradient(135deg, #ffffff 0%, #e0f2fe 40%, #93c5fd 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
	word-break: break-word;
}

.ai-hero-tagline {
	font-size: 22px;
	font-weight: 700;
	color: #f8fafc;
	margin-bottom: 16px;
	letter-spacing: 0.2px;
}

.ai-hero-desc {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.8;
	color: #94a3b8;
	margin: 0 0 38px 0;
	max-width: 540px;
}

/* BUTTONS GROUP */
.ai-hero-buttons-group {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	direction: rtl !important;
}

/* PRIMARY BUTTON */
.ai-hero-btn-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 40px;
	border-radius: 50px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 10px 30px rgba(139, 92, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	overflow: hidden;
	z-index: 1;
}

.ai-hero-btn-primary:hover {
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 16px 42px rgba(217, 70, 239, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.5);
	color: #ffffff;
}

.ai-hero-btn-glow-aura {
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.ai-hero-btn-primary:hover .ai-hero-btn-glow-aura {
	opacity: 1;
}

/* SECONDARY BUTTON (PLAY VIDEO) */
.ai-hero-btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 30px;
	border-radius: 50px;
	background: rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(56, 189, 248, 0.35);
	backdrop-filter: blur(14px);
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-hero-btn-secondary:hover {
	background: rgba(56, 189, 248, 0.2);
	border-color: #38bdf8;
	box-shadow: 0 0 24px rgba(56, 189, 248, 0.5);
	color: #ffffff;
	transform: translateY(-2px);
}

.ai-hero-play-icon {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(56, 189, 248, 0.25);
	border: 1px solid rgba(56, 189, 248, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #38bdf8;
	transition: all 0.3s ease;
}

.ai-hero-btn-secondary:hover .ai-hero-play-icon {
	background: #38bdf8;
	color: #060512;
	box-shadow: 0 0 16px #38bdf8;
}

/* ==========================================================================
   RIGHT IMAGE COLUMN & PARALLAX EFFECT
   ========================================================================== */
.ai-hero-image-col {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 10;
	direction: ltr !important;
}

.ai-hero-image-parallax-wrap {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	will-change: transform;
	transition: transform 0.15s ease-out;
}

.ai-hero-image-glow-ring {
	position: absolute;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	border: 2px solid rgba(168, 85, 247, 0.45);
	box-shadow: 0 0 60px rgba(168, 85, 247, 0.45), inset 0 0 40px rgba(56, 189, 248, 0.3);
	z-index: 1;
	animation: aiRingRotate 22s linear infinite;
	pointer-events: none;
}

@keyframes aiRingRotate {
	0% { transform: rotate(0deg) scale(0.98); }
	50% { transform: rotate(180deg) scale(1.02); }
	100% { transform: rotate(360deg) scale(0.98); }
}

.ai-hero-character-img {
	position: relative;
	z-index: 2;
	max-width: 100%;
	max-height: 600px;
	height: auto;
	object-fit: contain;
	border-radius: 20px;
	mask-image: radial-gradient(circle, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
	-webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 32px rgba(168, 85, 247, 0.55));
	transition: filter 0.3s ease;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
	.ai-hero-header-container {
		padding: 0 10px;
	}

	.ai-hero-menu-list {
		gap: 20px;
	}

	.ai-hero-slide-item {
		gap: 24px;
	}

	.ai-hero-heading {
		font-size: 46px;
	}

	.ai-hero-image-glow-ring {
		width: 400px;
		height: 400px;
	}

	.ai-hero-character-img {
		max-height: 460px;
	}
}

@media (max-width: 768px) {
	.ai-hero-top-header {
		padding: 18px 20px;
	}

	.ai-hero-nav-menu {
		display: none;
	}

	.ai-hero-body-container {
		padding: 20px 20px 40px;
	}

	.ai-hero-slides-viewport {
		padding-left: 0;
	}

	.ai-hero-slide-item {
		flex-direction: column-reverse !important;
		text-align: center;
	}

	.ai-hero-content-col {
		max-width: 100%;
		text-align: center !important;
	}

	.ai-hero-heading {
		font-size: 34px;
	}

	.ai-hero-desc {
		max-width: 100%;
		margin-bottom: 24px;
	}

	.ai-hero-buttons-group {
		justify-content: center;
	}

	.ai-hero-pagination-vertical {
		display: none;
	}

	.ai-hero-image-glow-ring {
		width: 300px;
		height: 300px;
	}

	.ai-hero-character-img {
		max-height: 340px;
	}
}
