/*index.css - Index/Home page specific styles (global styles loaded from global.css)*/

/* INDEX HERO */

/* CAROUSEL */
.carousel {
	position: relative;
	min-height: 420px;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid var(--overlay-white);
	box-shadow: 0 24px 80px var(--carousel-shadow);
}
.carousel::after {
	content: "";
	position: absolute;
	width: 500px;
	height: 500px;
	filter: blur(120px);
	top: -120px;
	right: -120px;
	z-index: 1;
	pointer-events: none;
}
.carousel-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity var(--carousel-transition) ease;
}
.carousel-slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gradient-accent-clear);
	z-index: 1;
	pointer-events: none;
}
.carousel-slide.is-active {
	opacity: 1;
}
.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.carousel-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	padding: 40px;
	padding-left: 80px;
	background: transparent;
	z-index: 2;
	pointer-events: none;
}
.carousel-overlay h1 {
	font-size: var(--fs-h-hero-alt);
	line-height: 1.1;
	margin-bottom: 16px;
	color: var(--carousel-text);
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}
.carousel-caption {
	max-width: 720px;
	margin: 0 auto;
	font-size: var(--fs-lg);
	font-weight: 600;
	line-height: 1.4;
	transition: opacity 0.35s ease, transform 0.35s ease;
	will-change: opacity, transform;
	padding-bottom: 18px;
}
.carousel-caption::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: min(220px, 55%);
	height: 6px;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, var(--color-lime-highlight), transparent);
}
.carousel-caption.is-fading {
	opacity: 0;
	transform: translateY(6px);
}
.carousel-controls {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.carousel-control {
	pointer-events: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid var(--carousel-control-border);
	background: var(--carousel-control-bg);
	color: var(--color-lime-highlight);
	font-size: var(--fs-lg);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 5px 5px var(--color-lime-highlight);
	backdrop-filter: blur(6px);
	cursor: pointer;
}
.carousel-control--prev {
	left: 18px;
}
.carousel-control--next {
	right: 18px;
}
.carousel-control:hover {
	transform: translateY(-50%) scale(1.05);
	background: var(--overlay-dark);
	box-shadow: 0 12px 34px var(--shadow-dark);
}
.carousel-control:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 2px;
}
.carousel-dots {
	pointer-events: auto;
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	display: inline-flex;
	gap: 10px;
	padding: 10px 16px;
	background: var(--overlay-dark);
	border: 1px solid var(--carousel-control-border);
	border-radius: 999px;
	box-shadow: 0 18px 40px var(--shadow-dark);
	backdrop-filter: blur(8px);
}
.carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: none;
	padding: 0;
	background: var(--carousel-dot);
	cursor: pointer;
	transition: transform 0.25s ease, background 0.25s ease;
}
.carousel-dot.is-active {
	background: var(--carousel-dot-active);
	transform: scale(1.2);
}
.carousel-dot:focus-visible {
	outline: 2px solid var(--color-orange);
	outline-offset: 2px;
}
/* INDEX ABOUT SECTION */
.index-about-section {
	position: relative;
}
.about {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 70px;
	align-items: center;
}
.index-about-content h2 {
	font-size: var(--fs-h1-lg);
	line-height: 1.1;
	margin-bottom: 24px;
}
.index-about-content p {
	max-width: 560px;
	margin-bottom: 34px;
}
.index-features {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 42px;
}
.text-gradient {
	background: linear-gradient(135deg, #FF7F00, #E1FA07);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}
.feature-item {
	display: flex;
	align-items: center;
	gap: 14px;
	text-box: var(--color-text-headers);
}
.feature-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--color-primary-light);
	flex-shrink: 0;
}
.feature-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: var(--filter-primary);
}
.index-about-image-wrapper {
	position: relative;
}
.index-about-image {
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	border: 1px solid rgba(255, 255, 255, .06);
	background: var(--color-bg);
	box-shadow: var(--shadow-lg);
}
.index-about-image img {
	width: 100%;
	height: 650px;
	object-fit: cover;
	display: block;
}
.index-about-overlay {
	position: absolute;
	inset: 0;
	
}
.index-about-stats-wrapper {
	position: absolute;
	left: 30px;
	right: 30px;
	bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 26px 30px;
	border-radius: 24px;
	backdrop-filter: blur(16px);
	
	border: 1px solid rgba(255, 255, 255, .08);
}
.index-about-stats-wrapper .stat-item {
	text-align: center;
	flex: 1;
}
.index-about-stats-wrapper .stat-item h3 {
	font-size: var(--fs-h3);
	margin-bottom: 10px;
}
.index-about-stats-wrapper .stat-item:nth-child(1) h3 {
	color: var(--color-lime-highlight);
}
.index-about-stats-wrapper .stat-item:nth-child(3) h3 {
	color: var(--color-orange);
}
.index-about-stats-wrapper .stat-item:nth-child(5) h3 {
	color: #B66AAD;
}
.index-about-stats-wrapper .stat-item p {
	font-size: var(--fs-sm);
	color: var(--color-text-secondary);
}
.index-about-stats-wrapper .stat-divider {
	width: 1px;
	height: 60px;
}

/* INDEX RESPONSIVE */
@media (max-width: 900px) {
	.premium-hero {
		min-height: auto;
		padding: 100px 0;
	}

	.premium-hero h1 {
		font-size: var(--fs-h3-md);
	}

	.hero-content {
		text-align: center;
	}

	.premium-hero p {
		margin: auto;
	}

	.hero-actions {
		justify-content: center;
	}

	.hero-stats {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.carousel {
		min-height: 320px;
	}

	.carousel-overlay {
		padding: 28px;
	}

	.hero-stats {
		margin-top: 34px;
	}

	.hero-image-bg {
		background-size: 100% auto;
		background-repeat: no-repeat;
		background-position: center top;
		transform: none;
		opacity: 0.62;
	}

	.hero-image-overlay {
		background: linear-gradient(180deg, var(--overlay-dark) 0%, var(--overlay-dark) 34%, var(--overlay-dark) 100%), linear-gradient(90deg, var(--overlay-dark) 0%, var(--overlay-dark) 50%, var(--overlay-dark) 100%);
	}
}

@media (max-width: 430px) {
	.hero-image-bg {
		background-size: 120% auto;
		background-position: center top;
	}

	.index-about-stats-wrapper {
		flex-direction: column;
		gap: 16px;
	}

	.index-about-stats-wrapper .stat-divider {
		display: none;
	}
}
