
/* =========================================================
   HLxHub — Hero Reveal Visibility Fix
   Preserve original hero layout and animations
   ========================================================= */

/* Keep the original hero section layout */
.hlx-home-hero {
    display: block;
    visibility: visible;
}

/* Preserve the two-column grid */
.hlx-home-hero .hlx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

/* Prevent invisible reveal elements */
.hlx-home-hero .hlx-reveal {
    visibility: visible;
    opacity: 1;
}

/* Preserve the original content layout */
.hlx-home-hero .hlx-hero-content,
.hlx-home-hero .hlx-hero-visual {
    min-width: 0;
}

/* Mobile layout */
@media (max-width: 768px) {
    .hlx-home-hero .hlx-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}



/* =====================================================
   HLxHub AI Announcement — Centered Layout
   ===================================================== */

.hlx-ai-announcement {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 0 28px;
	font-family: inherit;
	color: #fff;
}

.hlx-ai-announcement,
.hlx-ai-announcement * {
	box-sizing: border-box;
}

.hlx-ai-announcement__inner {
	position: relative;
	width: 100%;
	min-width: 0;
	margin-inline: auto;
	padding: 30px 26px;
	overflow: hidden;

	background: #0b1020;
	border: 1px solid #202b43;
	border-radius: 12px;

	text-align: center;
}

/* Subtle blue glow */

.hlx-ai-announcement__inner::before {
	content: "";
	position: absolute;
	top: -100px;
	left: 50%;
	width: 320px;
	height: 220px;
	transform: translateX(-50%);
	pointer-events: none;

	background: radial-gradient(
		ellipse,
		rgba(52, 120, 246, .15),
		transparent 70%
	);
}

/* Icon and brand */

.hlx-ai-announcement__top {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-bottom: 23px;
}

.hlx-ai-announcement__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 50px;
	height: 50px;

	color: #a7c5ff;
	background: #202c48;
	border: 1px solid #30405f;
	border-radius: 13px;
}

.hlx-ai-announcement__icon svg {
	width: 26px;
	height: 26px;
}

.hlx-ai-announcement__identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.hlx-ai-announcement__name {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 9px;

	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.hlx-ai-announcement__badge {
	padding: 3px 8px;
	border-radius: 4px;
	background: #193c30;
	color: #78e0b0;

	font-size: 9px;
	font-weight: 800;
	letter-spacing: .6px;
}

.hlx-ai-announcement__identity p {
	margin: 0;
	color: #9eacc5;
	font-size: 12px;
	line-height: 1.6;
}

.hlx-ai-announcement__sparkle {
	position: absolute;
	top: 0;
	right: 0;
	color: #8eb5ff;
	font-size: 24px;
}

/* Main heading */

.hlx-ai-announcement__title {
	position: relative;
	max-width: 720px;
	margin: 0 auto 12px;
	padding: 0;

	color: #fff;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: -.8px;
	text-align: center;
}

/* Description */

.hlx-ai-announcement__description {
	position: relative;
	max-width: 620px;
	margin: 0 auto 24px;

	color: #c1cbe0;
	font-size: 14px;
	line-height: 1.8;
	text-align: center;
}

/* Feature options */

.hlx-ai-announcement__features {
	position: relative;
	display: flex;
	align-items: stretch;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;

	width: 100%;
	max-width: 470px;
	margin: 0 auto 23px;
}

.hlx-ai-announcement__feature {
	display: flex;
	flex: 1 1 190px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 0;
	padding: 13px 12px;

	background: #151e32;
	border: 1px solid #27344d;
	border-radius: 7px;

	color: #f3f6fc;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.5;
	text-align: center;
}

.hlx-ai-announcement__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 23px;
	color: #8eb5ff;
}

.hlx-ai-announcement__feature-icon svg {
	display: block;
	width: 23px;
	height: 23px;
}

/* CTA button */

.hlx-ai-announcement__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;

	width: 100%;
	max-width: 340px;
	min-height: 49px;
	margin: 0 auto;
	padding: 13px 16px;

	background: #3478f6;
	border: 1px solid #3478f6;
	border-radius: 7px;

	color: #fff !important;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none !important;

	transition: background-color .2s ease;
}

.hlx-ai-announcement__button > svg {
	width: 19px;
	height: 19px;
	flex: 0 0 19px;
}

.hlx-ai-announcement__button .hlx-ai-announcement__arrow {
	margin-left: 0;
}

.hlx-ai-announcement__button:hover {
	background: #2866df;
	border-color: #2866df;
	color: #fff !important;
}

.hlx-ai-announcement__button:focus-visible {
	outline: 3px solid #9cbfff;
	outline-offset: 3px;
}

/* Footer note */

.hlx-ai-announcement__footnote {
	position: relative;
	margin: 13px 0 0;
	color: #8494b2;
	font-size: 11px;
	line-height: 1.6;
	text-align: center;
}

/* Mobile */

@media (max-width: 540px) {
	.hlx-ai-announcement {
		margin-bottom: 20px;
	}

	.hlx-ai-announcement__inner {
		padding: 25px 16px;
		border-radius: 9px;
	}

	.hlx-ai-announcement__top {
		margin-bottom: 20px;
	}

	.hlx-ai-announcement__title {
		font-size: 24px;
		letter-spacing: -.5px;
	}

	.hlx-ai-announcement__description {
		margin-bottom: 20px;
		font-size: 13px;
		line-height: 1.75;
	}

	.hlx-ai-announcement__features {
		gap: 9px;
		margin-bottom: 19px;
	}

	.hlx-ai-announcement__feature {
		flex-basis: 100%;
		padding: 12px;
	}

	.hlx-ai-announcement__button {
		max-width: 100%;
		min-height: 48px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hlx-ai-announcement__button {
		transition: none;
	}
}



/* =========================================
   HLxHub AI Announcement — Compact & Centered
   ========================================= */

/* Full-width black background */
.hlx-ai-announcement {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	margin: 0 0 28px;
	padding: 24px 16px;
	background: #000000;
	box-sizing: border-box;
}

/* Smaller centered announcement */
.hlx-ai-announcement__inner {
	width: 100%;
	max-width: 680px;
	margin: 0 auto;
	padding: 24px 22px;
	box-sizing: border-box;

	background: #000000;
	border: 1px solid #242424;
	border-radius: 10px;
}

/* Keep the entire card black */
.hlx-ai-announcement__inner::before {
	background: radial-gradient(
		ellipse,
		rgba(52, 120, 246, 0.10),
		transparent 70%
	);
}

/* Mobile responsive */
@media (max-width: 540px) {
	.hlx-ai-announcement {
		padding: 18px 12px;
		margin-bottom: 20px;
	}

	.hlx-ai-announcement__inner {
		max-width: 100%;
		padding: 20px 15px;
	}
}


/* =====================================================
   HLxHub AI Announcement — Premium Motion Effects
   ===================================================== */

/* Floating card */
.hlx-ai-announcement__inner {
	position: relative;
	isolation: isolate;
	overflow: hidden;

	background: #000000;
	border: 1px solid #242b3a;
	border-radius: 12px;

	animation: hlx-ai-float 5s ease-in-out infinite;

	transition:
		border-color .35s ease,
		box-shadow .35s ease;
}

/* Soft animated blue glow */
.hlx-ai-announcement__inner::before {
	content: "";
	position: absolute;
	z-index: -1;

	top: -100px;
	left: 50%;

	width: 260px;
	height: 220px;

	transform: translateX(-50%);
	border-radius: 50%;

	background: radial-gradient(
		circle,
		rgba(52, 120, 246, .20) 0%,
		rgba(52, 120, 246, .06) 40%,
		transparent 72%
	);

	pointer-events: none;

	animation: hlx-ai-glow 6s ease-in-out infinite alternate;
}

/* Subtle animated border glow on hover */
.hlx-ai-announcement__inner:hover {
	border-color: #3b5e9b;
	box-shadow: 0 8px 32px rgba(24, 76, 165, .15);
}

/* Floating bot icon */
.hlx-ai-announcement__icon {
	animation: hlx-ai-icon-float 3.5s ease-in-out infinite;

	transition:
		transform .3s ease,
		box-shadow .3s ease;
}

.hlx-ai-announcement__inner:hover .hlx-ai-announcement__icon {
	transform: scale(1.06);
	box-shadow: 0 0 20px rgba(75, 137, 255, .22);
}

/* Sparkle animation */
.hlx-ai-announcement__sparkle {
	transform-origin: center;

	animation: hlx-ai-sparkle 3s ease-in-out infinite;
}

/* NEW badge pulse */
.hlx-ai-announcement__badge {
	animation: hlx-ai-badge-pulse 3s ease-in-out infinite;
}

/* Feature boxes */
.hlx-ai-announcement__feature {
	transition:
		transform .25s ease,
		border-color .25s ease,
		background-color .25s ease,
		box-shadow .25s ease;
}

.hlx-ai-announcement__feature:hover {
	transform: translateY(-3px);
	background: #101a2d;
	border-color: #3b5e9b;
	box-shadow: 0 5px 18px rgba(36, 91, 193, .12);
}

/* Feature icons */
.hlx-ai-announcement__feature-icon svg {
	transition: transform .3s ease;
}

.hlx-ai-announcement__feature:hover
.hlx-ai-announcement__feature-icon svg {
	transform: scale(1.12);
}

/* CTA button */
.hlx-ai-announcement__button {
	position: relative;
	isolation: isolate;
	overflow: hidden;

	box-shadow: 0 4px 16px rgba(52, 120, 246, .15);

	transition:
		transform .25s ease,
		background-color .25s ease,
		box-shadow .25s ease;
}

/* Moving light across button */
.hlx-ai-announcement__button::before {
	content: "";
	position: absolute;
	z-index: -1;

	top: -50%;
	left: -75%;

	width: 45%;
	height: 200%;

	transform: rotate(22deg);

	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, .22),
		transparent
	);

	animation: hlx-ai-button-shine 5s ease-in-out infinite;
	pointer-events: none;
}

.hlx-ai-announcement__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(52, 120, 246, .30);
}

/* Arrow movement */
.hlx-ai-announcement__arrow {
	transition: transform .25s ease;
}

.hlx-ai-announcement__button:hover
.hlx-ai-announcement__arrow {
	transform: translate(2px, -2px);
}

/* =====================================================
   Keyframes
   ===================================================== */

@keyframes hlx-ai-float {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-4px);
	}
}

@keyframes hlx-ai-glow {
	0% {
		opacity: .55;
		transform: translateX(-55%) scale(.90);
	}

	100% {
		opacity: 1;
		transform: translateX(-45%) scale(1.12);
	}
}

@keyframes hlx-ai-icon-float {
	0%, 100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-3px);
	}
}

@keyframes hlx-ai-sparkle {
	0%, 100% {
		transform: rotate(0deg) scale(1);
		opacity: .75;
	}

	50% {
		transform: rotate(15deg) scale(1.18);
		opacity: 1;
	}
}

@keyframes hlx-ai-badge-pulse {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(120, 224, 176, 0);
	}

	50% {
		box-shadow: 0 0 10px 1px rgba(120, 224, 176, .12);
	}
}

@keyframes hlx-ai-button-shine {
	0%, 65% {
		left: -75%;
	}

	90%, 100% {
		left: 140%;
	}
}

/* =====================================================
   Accessibility: Respect reduced motion preference
   ===================================================== */

@media (prefers-reduced-motion: reduce) {
	.hlx-ai-announcement__inner,
	.hlx-ai-announcement__inner::before,
	.hlx-ai-announcement__icon,
	.hlx-ai-announcement__sparkle,
	.hlx-ai-announcement__badge,
	.hlx-ai-announcement__button::before {
		animation: none !important;
	}

	.hlx-ai-announcement__feature,
	.hlx-ai-announcement__button,
	.hlx-ai-announcement__icon,
	.hlx-ai-announcement__arrow,
	.hlx-ai-announcement__feature-icon svg {
		transition: none !important;
	}

	.hlx-ai-announcement__inner:hover,
	.hlx-ai-announcement__feature:hover,
	.hlx-ai-announcement__button:hover {
		transform: none;
	}
}