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

/* Prevent horizontal scroll globally */
:root {
	overflow-x: hidden;
}

body {
	width: 100%;
	position: relative;
}

.reference-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	overflow: hidden !important;
	font-family: 'Outfit', sans-serif !important;
	padding: 80px 24px 60px 24px;
	border-bottom: 1px solid #f1f5f9;
}

/* Background elements */
.hero-bg-elements {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.bg-dots {
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
	background-size: 30px 30px;
	opacity: 0.6;
	mask-image: radial-gradient(circle at 80% 30%, black, transparent 50%);
	-webkit-mask-image: radial-gradient(circle at 80% 30%, black, transparent 50%);
}

.hero-container {
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
}

.hero-content-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hero-left-col {
	flex: 1.6;
	max-width: 700px;
	text-align: left;
}

.hero-right-col {
	flex: -0.8;
	position: relative;
	z-index: 10;
}

.hero-image-wrapper {
	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-image-wrapper img {
	max-width: 100%;
	width: 100%;
	margin: 0 auto;
	display: block;
	height: 520px;
	object-fit: contain;
	animation: float 6s ease-in-out infinite;
	mix-blend-mode: multiply;
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}

	50% {
		transform: translateY(-15px);
	}

	100% {
		transform: translateY(0px);
	}
}

.ref-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: #f0f6ff;
	border: 1px solid #e0ecff;
	border-radius: 100px;
	font-size: 0.85rem;
	font-weight: 700;
	color: #1e40af;
	margin-bottom: 24px;
}

.ref-title {
	font-size: clamp(2.5rem, 4vw, 3.8rem) !important;
	font-weight: 900 !important;
	line-height: 1.15 !important;
	margin-bottom: 20px !important;
	letter-spacing: -0.01em !important;
	color: #0f172a;
	margin-top: 0;
	text-align: left !important;
}

.text-blue {
	background: linear-gradient(90deg, #4338ca 0%, #3b82f6 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

.ref-subtitle {
	font-size: 1.1rem !important;
	color: #475569 !important;
	margin-bottom: 35px !important;
	font-weight: 500 !important;
	line-height: 1.6 !important;
	text-align: left !important;
	max-width: 550px;
}

.ref-buttons {
	display: flex;
	gap: 20px;
	justify-content: flex-start;
	margin-bottom: 30px;
}

.btn-ref-primary {
	background: #2563eb !important;
	color: white !important;
	padding: 14px 32px !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4) !important;
	transition: all 0.3s ease !important;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.95rem;
}

.btn-ref-primary:hover {
	transform: translateY(-4px);
	box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5) !important;
	background: #1d4ed8 !important;
}

.btn-ref-secondary {
	background: transparent !important;
	color: #0f172a !important;
	padding: 14px 32px !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	border: 1.5px solid #cbd5e1 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	display: inline-flex;
	align-items: center;
	font-size: 0.95rem;
}

.btn-ref-secondary:hover {
	border-color: #2563eb !important;
	color: #2563eb !important;
	transform: translateY(-4px);
	background: #f8fafc !important;
}

/* Features Inline Section */
.hero-features-inline {
	display: flex;
	gap: 20px;
	align-items: stretch;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 12px;
	border: 1px solid #e2e8f0;
	padding: 16px;
	border-radius: 12px;
	background-color: #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
	flex: 1;
}

.feature-icon {
	width: 32px;
	height: 32px;
	background: #eff6ff;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.feature-text h4 {
	font-size: 0.95rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 4px 0;
}

.feature-text p {
	font-size: 0.8rem;
	color: #64748b;
	margin: 0;
	line-height: 1.4;
	font-weight: 500;
}

@media (max-width: 1200px) {
	.hero-features-inline {
		flex-wrap: wrap;
		gap: 20px;
	}
}

@media (max-width: 1024px) {
	.hero-content-wrapper {
		flex-direction: column;
		text-align: center;
	}

	.hero-left-col {
		max-width: 100%;
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.ref-title,
	.ref-subtitle {
		text-align: center !important;
	}

	.ref-buttons {
		justify-content: center;
	}

	.hero-features-inline {
		justify-content: center;
	}

	.feature-item {
		text-align: left;
	}
}

@media (max-width: 768px) {
	.reference-hero {
		padding: 60px 20px 40px 20px;
	}

	.btn-ref-primary,
	.btn-ref-secondary {
		width: 100%;
		justify-content: center;
	}

	.ref-buttons {
		gap: 16px;
	}

	.hero-features-inline {
		flex-direction: column;
		width: 100%;
	}

	.hero-image-wrapper img {
		height: auto;
		max-height: 350px;
	}
}

@media (max-width: 425px) {
	.ref-title {
		font-size: 2rem !important;
	}

	.ref-subtitle {
		margin-bottom: 30px !important;
		font-size: 1rem !important;
		margin-top: 0;
	}

	.ref-buttons {
		flex-wrap: wrap;
	}
}