/**
 * HLxHub — Mobile Archive Hero
 *
 * File:
 * assets/css/archive-mobile/mobile-archive-hero.css
 *
 * Purpose:
 * Premium, responsive Mobile Archive Hero
 */

/* =========================================================
   1. ROOT & VARIABLES
========================================================= */

.hlx-archive-mobile-hero {
	--hlx-primary: #2563eb;
	--hlx-primary-dark: #1746b8;
	--hlx-accent: #06b6d4;
	--hlx-text: #152238;
	--hlx-muted: #64748b;
	--hlx-border: rgba(148, 163, 184, 0.22);
	--hlx-surface: #ffffff;

	position: relative;
	isolation: isolate;
	width: 100%;
	overflow: hidden;
	padding: 85px 0 80px;
	background:
		radial-gradient(
			ellipse at 80% 20%,
			rgba(56, 189, 248, 0.15),
			transparent 40%
		),
		radial-gradient(
			ellipse at 10% 90%,
			rgba(99, 102, 241, 0.10),
			transparent 42%
		),
		linear-gradient(135deg, #f8fbff 0%, #eef5ff 50%, #f8fbff 100%);
	color: var(--hlx-text);
	font-family: inherit;
}

/* Subtle water-like background */

.hlx-archive-mobile-hero::before {
	content: "";
	position: absolute;
	z-index: -1;
	width: 650px;
	height: 650px;
	top: -320px;
	right: -180px;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(56, 189, 248, 0.18) 0%,
		rgba(59, 130, 246, 0.07) 45%,
		transparent 72%
	);
	filter: blur(15px);
	pointer-events: none;
	animation: hlx-archive-water 12s ease-in-out infinite alternate;
}

.hlx-archive-mobile-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 550px;
	height: 550px;
	bottom: -350px;
	left: 10%;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(6, 182, 212, 0.13),
		transparent 70%
	);
	filter: blur(20px);
	pointer-events: none;
	animation: hlx-archive-water 15s ease-in-out infinite alternate-reverse;
}

/* =========================================================
   2. CONTAINER
========================================================= */

.hlx-archive-mobile-hero__container {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	align-items: center;
	gap: 45px;
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

/* =========================================================
   3. CONTENT
========================================================= */

.hlx-archive-mobile-hero__content {
	position: relative;
	z-index: 2;
	max-width: 650px;
}

/* Eyebrow */

.hlx-archive-mobile-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 15px;
	margin-bottom: 22px;
	border: 1px solid rgba(37, 99, 235, 0.13);
	border-radius: 50px;
	background: rgba(255, 255, 255, 0.75);
	color: #2856ad;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	box-shadow: 0 5px 20px rgba(30, 64, 175, 0.05);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.hlx-archive-mobile-hero__eyebrow-dot {
	position: relative;
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #16c784;
	box-shadow: 0 0 0 4px rgba(22, 199, 132, 0.12);
}

/* =========================================================
   4. HEADING
========================================================= */

.hlx-archive-mobile-hero__title {
	max-width: 700px;
	margin: 0;
	color: #122039;
	font-size: clamp(38px, 4.5vw, 64px);
	font-weight: 850;
	line-height: 1.08;
	letter-spacing: -2.5px;
	overflow-wrap: anywhere;
}

.hlx-archive-mobile-hero__title span {
	display: block;
	margin-top: 8px;
	background: linear-gradient(
		105deg,
		#2563eb 0%,
		#0ea5e9 48%,
		#6366f1 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* =========================================================
   5. DESCRIPTION
========================================================= */

.hlx-archive-mobile-hero__description {
	max-width: 590px;
	margin: 23px 0 0;
	color: #596981;
	font-size: 16px;
	font-weight: 450;
	line-height: 1.85;
}

/* =========================================================
   6. ACTION BUTTONS
========================================================= */

.hlx-archive-mobile-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 13px;
	margin-top: 30px;
}

.hlx-archive-mobile-hero__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 51px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 13px;
	font-size: 14px;
	font-weight: 750;
	line-height: 1.3;
	text-decoration: none !important;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease;
	cursor: pointer;
}

.hlx-archive-mobile-hero__button--primary {
	background: linear-gradient(135deg, #2563eb, #1746b8);
	color: #ffffff !important;
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.24);
}

.hlx-archive-mobile-hero__button--primary:hover {
	transform: translateY(-3px);
	background: linear-gradient(135deg, #1746b8, #123a9d);
	color: #ffffff !important;
	box-shadow: 0 15px 30px rgba(37, 99, 235, 0.32);
}

.hlx-archive-mobile-hero__button--secondary {
	border-color: rgba(37, 99, 235, 0.24);
	background: rgba(255, 255, 255, 0.8);
	color: #2454ad !important;
	box-shadow: 0 5px 18px rgba(30, 64, 175, 0.06);
}

.hlx-archive-mobile-hero__button--secondary:hover {
	transform: translateY(-3px);
	border-color: #2563eb;
	background: #ffffff;
	color: #1746b8 !important;
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.13);
}

.hlx-archive-mobile-hero__button:focus-visible {
	outline: 3px solid rgba(14, 165, 233, 0.6);
	outline-offset: 4px;
}

.hlx-archive-mobile-hero__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	font-size: 17px;
	transition: transform 0.25s ease;
}

.hlx-archive-mobile-hero__button--primary:hover
.hlx-archive-mobile-hero__button-icon {
	transform: translateX(4px);
}

/* =========================================================
   7. TRUST ITEMS
========================================================= */

.hlx-archive-mobile-hero__trust {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 38px;
}

.hlx-archive-mobile-hero__trust-item {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hlx-archive-mobile-hero__trust-item strong {
	color: #1b2b45;
	font-size: 13px;
	font-weight: 800;
}

.hlx-archive-mobile-hero__trust-item span {
	color: #718096;
	font-size: 11px;
	font-weight: 550;
}

.hlx-archive-mobile-hero__trust-divider {
	width: 1px;
	height: 30px;
	background: rgba(100, 116, 139, 0.3);
}

/* =========================================================
   8. VISUAL AREA
========================================================= */

.hlx-archive-mobile-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 490px;
	perspective: 1000px;
}

/* Main glow */

.hlx-archive-mobile-hero__glow {
	position: absolute;
	width: 390px;
	height: 390px;
	border-radius: 50%;
	background: radial-gradient(
		circle,
		rgba(59, 130, 246, 0.24) 0%,
		rgba(6, 182, 212, 0.13) 42%,
		transparent 72%
	);
	filter: blur(12px);
	animation: hlx-archive-glow 5s ease-in-out infinite alternate;
	pointer-events: none;
}

/* Decorative rings */

.hlx-archive-mobile-hero__ring {
	position: absolute;
	border: 1px solid rgba(37, 99, 235, 0.13);
	border-radius: 50%;
	pointer-events: none;
}

.hlx-archive-mobile-hero__ring--one {
	width: 350px;
	height: 350px;
	animation: hlx-archive-ring 22s linear infinite;
}

.hlx-archive-mobile-hero__ring--two {
	width: 430px;
	height: 430px;
	border-style: dashed;
	border-color: rgba(14, 165, 233, 0.18);
	animation: hlx-archive-ring 35s linear infinite reverse;
}

/* =========================================================
   9. PHONE MOCKUP
========================================================= */

.hlx-archive-mobile-hero__phone {
	position: relative;
	z-index: 2;
	width: 225px;
	transform: rotate(-7deg) rotateY(-8deg);
	animation: hlx-archive-phone-float 5s ease-in-out infinite;
}

.hlx-archive-mobile-hero__phone-frame {
	position: relative;
	padding: 9px;
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 35px;
	background: linear-gradient(
		145deg,
		#27374d 0%,
		#0d1626 50%,
		#41536c 100%
	);
	box-shadow:
		0 35px 60px rgba(15, 23, 42, 0.28),
		0 12px 20px rgba(37, 99, 235, 0.12),
		inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hlx-archive-mobile-hero__phone-screen {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 375px;
	overflow: hidden;
	border-radius: 26px;
	background:
		radial-gradient(
			ellipse at 70% 15%,
			rgba(96, 165, 250, 0.75),
			transparent 40%
		),
		linear-gradient(
			160deg,
			#0c2350 0%,
			#1559bd 48%,
			#06b6d4 100%
		);
}

.hlx-archive-mobile-hero__phone-screen::before {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	right: -135px;
	bottom: -80px;
	border: 1px solid rgba(255, 255, 255, 0.23);
	border-radius: 50%;
	box-shadow:
		0 0 0 25px rgba(255, 255, 255, 0.04),
		0 0 0 50px rgba(255, 255, 255, 0.035);
}

.hlx-archive-mobile-hero__phone-screen::after {
	content: "";
	position: absolute;
	width: 200px;
	height: 200px;
	top: -110px;
	left: -80px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.10);
	filter: blur(8px);
}

/* Camera notch */

.hlx-archive-mobile-hero__screen-camera {
	position: absolute;
	z-index: 2;
	top: 10px;
	left: 50%;
	width: 70px;
	height: 19px;
	border-radius: 20px;
	background: #101827;
	transform: translateX(-50%);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08);
}

/* Screen text */

.hlx-archive-mobile-hero__screen-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 30px 12px;
	color: #ffffff;
	text-align: center;
}

.hlx-archive-mobile-hero__screen-label {
	margin-bottom: 17px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 3px;
	text-transform: uppercase;
}

.hlx-archive-mobile-hero__screen-content strong {
	color: #ffffff;
	font-size: 27px;
	font-weight: 850;
	line-height: 1.18;
	letter-spacing: -0.7px;
}

.hlx-archive-mobile-hero__screen-line {
	display: block;
	width: 43px;
	height: 3px;
	margin: 21px 0 13px;
	border-radius: 10px;
	background: #67e8f9;
}

.hlx-archive-mobile-hero__screen-content small {
	color: rgba(255, 255, 255, 0.82);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

/* Phone shadow */

.hlx-archive-mobile-hero__phone-shadow {
	position: absolute;
	z-index: -1;
	bottom: -28px;
	left: 10%;
	width: 80%;
	height: 35px;
	border-radius: 50%;
	background: rgba(15, 23, 42, 0.25);
	filter: blur(15px);
}

/* =========================================================
   10. FLOATING CARDS
========================================================= */

.hlx-archive-mobile-hero__floating-card {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 13px 17px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow:
		0 15px 40px rgba(15, 23, 42, 0.11),
		0 3px 10px rgba(15, 23, 42, 0.04);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	animation: hlx-archive-card-float 4s ease-in-out infinite;
}

.hlx-archive-mobile-hero__floating-card--rating {
	top: 16%;
	right: -1%;
}

.hlx-archive-mobile-hero__floating-card--spec {
	bottom: 15%;
	left: -1%;
	animation-delay: -2s;
}

.hlx-archive-mobile-hero__floating-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 35px;
	width: 35px;
	height: 35px;
	border-radius: 11px;
	background: linear-gradient(135deg, #eff6ff, #dbeafe);
	color: #2563eb;
	font-size: 19px;
	font-weight: 800;
}

.hlx-archive-mobile-hero__floating-card--rating
.hlx-archive-mobile-hero__floating-icon {
	background: linear-gradient(135deg, #fef3c7, #fde68a);
	color: #d97706;
}

.hlx-archive-mobile-hero__floating-card div {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.hlx-archive-mobile-hero__floating-card strong {
	color: #17243b;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
}

.hlx-archive-mobile-hero__floating-card span:not(.hlx-archive-mobile-hero__floating-icon) {
	color: #718096;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
}

/* =========================================================
   11. ANIMATIONS
========================================================= */

@keyframes hlx-archive-water {
	from {
		transform: translate3d(0, 0, 0) scale(1);
	}
	to {
		transform: translate3d(-35px, 25px, 0) scale(1.12);
	}
}

@keyframes hlx-archive-glow {
	from {
		transform: scale(0.94);
		opacity: 0.65;
	}
	to {
		transform: scale(1.08);
		opacity: 1;
	}
}

@keyframes hlx-archive-ring {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes hlx-archive-phone-float {
	0%, 100% {
		transform: translateY(0) rotate(-7deg) rotateY(-8deg);
	}
	50% {
		transform: translateY(-12px) rotate(-5deg) rotateY(-5deg);
	}
}

@keyframes hlx-archive-card-float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* =========================================================
   12. TABLET
========================================================= */

@media (max-width: 1024px) {

	.hlx-archive-mobile-hero {
		padding: 70px 0;
	}

	.hlx-archive-mobile-hero__container {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
		gap: 20px;
		width: min(100% - 40px, 900px);
	}

	.hlx-archive-mobile-hero__title {
		font-size: clamp(36px, 5vw, 52px);
		letter-spacing: -1.8px;
	}

	.hlx-archive-mobile-hero__description {
		font-size: 14px;
	}

	.hlx-archive-mobile-hero__visual {
		min-height: 430px;
	}

	.hlx-archive-mobile-hero__phone {
		width: 195px;
	}

	.hlx-archive-mobile-hero__phone-screen {
		min-height: 340px;
	}

	.hlx-archive-mobile-hero__ring--one {
		width: 300px;
		height: 300px;
	}

	.hlx-archive-mobile-hero__ring--two {
		width: 360px;
		height: 360px;
	}

	.hlx-archive-mobile-hero__glow {
		width: 330px;
		height: 330px;
	}

	.hlx-archive-mobile-hero__floating-card {
		padding: 10px 12px;
	}

	.hlx-archive-mobile-hero__floating-card--rating {
		right: -4%;
	}

	.hlx-archive-mobile-hero__floating-card--spec {
		left: -4%;
	}
}

/* =========================================================
   13. MOBILE
========================================================= */

@media (max-width: 767px) {

	.hlx-archive-mobile-hero {
		padding: 54px 0 50px;
	}

	.hlx-archive-mobile-hero__container {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		width: calc(100% - 36px);
	}

	.hlx-archive-mobile-hero__content {
		max-width: 100%;
		text-align: center;
	}

	.hlx-archive-mobile-hero__eyebrow {
		margin-bottom: 18px;
		font-size: 10px;
		letter-spacing: 0.9px;
	}

	.hlx-archive-mobile-hero__title {
		font-size: clamp(34px, 8vw, 47px);
		line-height: 1.12;
		letter-spacing: -1.6px;
	}

	.hlx-archive-mobile-hero__title span {
		margin-top: 5px;
	}

	.hlx-archive-mobile-hero__description {
		max-width: 540px;
		margin: 17px auto 0;
		font-size: 13px;
		line-height: 1.8;
	}

	.hlx-archive-mobile-hero__actions {
		justify-content: center;
		gap: 10px;
		margin-top: 23px;
	}

	.hlx-archive-mobile-hero__button {
		min-height: 46px;
		padding: 0 17px;
		border-radius: 11px;
		font-size: 12px;
	}

	.hlx-archive-mobile-hero__trust {
		justify-content: center;
		gap: 15px;
		margin-top: 26px;
	}

	.hlx-archive-mobile-hero__trust-item strong {
		font-size: 11px;
	}

	.hlx-archive-mobile-hero__trust-item span {
		font-size: 9px;
	}

	.hlx-archive-mobile-hero__trust-divider {
		height: 25px;
	}

	.hlx-archive-mobile-hero__visual {
		min-height: 395px;
		margin-top: 5px;
	}

	.hlx-archive-mobile-hero__phone {
		width: 185px;
	}

	.hlx-archive-mobile-hero__phone-screen {
		min-height: 320px;
	}

	.hlx-archive-mobile-hero__ring--one {
		width: 290px;
		height: 290px;
	}

	.hlx-archive-mobile-hero__ring--two {
		width: 355px;
		height: 355px;
	}

	.hlx-archive-mobile-hero__glow {
		width: 320px;
		height: 320px;
	}

	.hlx-archive-mobile-hero__floating-card--rating {
		top: 13%;
		right: 0;
	}

	.hlx-archive-mobile-hero__floating-card--spec {
		bottom: 12%;
		left: 0;
	}
}

/* =========================================================
   14. SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

	.hlx-archive-mobile-hero {
		padding: 42px 0 40px;
	}

	.hlx-archive-mobile-hero__container {
		width: calc(100% - 28px);
	}

	.hlx-archive-mobile-hero__title {
		font-size: clamp(31px, 8.5vw, 37px);
		letter-spacing: -1.2px;
	}

	.hlx-archive-mobile-hero__description {
		font-size: 12px;
	}

	.hlx-archive-mobile-hero__button {
		min-height: 43px;
		padding: 0 13px;
		font-size: 11px;
	}

	.hlx-archive-mobile-hero__trust {
		gap: 10px;
	}

	.hlx-archive-mobile-hero__visual {
		min-height: 355px;
	}

	.hlx-archive-mobile-hero__phone {
		width: 165px;
	}

	.hlx-archive-mobile-hero__phone-screen {
		min-height: 290px;
	}

	.hlx-archive-mobile-hero__screen-content strong {
		font-size: 23px;
	}

	.hlx-archive-mobile-hero__floating-card {
		gap: 7px;
		padding: 9px 10px;
		border-radius: 12px;
	}

	.hlx-archive-mobile-hero__floating-card--rating {
		right: -2px;
	}

	.hlx-archive-mobile-hero__floating-card--spec {
		left: -2px;
	}

	.hlx-archive-mobile-hero__floating-icon {
		flex-basis: 29px;
		width: 29px;
		height: 29px;
		font-size: 15px;
	}

	.hlx-archive-mobile-hero__floating-card strong {
		font-size: 11px;
	}

	.hlx-archive-mobile-hero__floating-card span:not(.hlx-archive-mobile-hero__floating-icon) {
		font-size: 9px;
	}
}

/* =========================================================
   15. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

	.hlx-archive-mobile-hero *,
	.hlx-archive-mobile-hero *::before,
	.hlx-archive-mobile-hero *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
