/* ── Reset & Base ── */
.hero-home {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #050505;
	padding: 6rem 1.5rem 4rem;
	overflow: hidden;
	font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* ── Animated Grid Background ── */
.hero-grid-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.grid-layer {
	position: absolute;
	inset: -50%;
	background-image:
		linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 60px 60px;
}
.grid-layer-1 {
	animation: gridDrift 20s linear infinite;
}
.grid-layer-2 {
	background-size: 120px 120px;
	opacity: 0.5;
	animation: gridDrift 35s linear infinite reverse;
}
@keyframes gridDrift {
	0% { transform: translate(0, 0); }
	100% { transform: translate(60px, 60px); }
}

/* ── Floating Orbs ── */
.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	z-index: 0;
	pointer-events: none;
}
.hero-orb-1 {
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 70%);
	top: -10%;
	left: -5%;
	animation: orbFloat1 15s ease-in-out infinite;
}
.hero-orb-2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(139,92,246,0.12), transparent 70%);
	bottom: -5%;
	right: -5%;
	animation: orbFloat2 18s ease-in-out infinite;
}
.hero-orb-3 {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(59,130,246,0.08), transparent 70%);
	top: 40%;
	left: 50%;
	animation: orbFloat3 22s ease-in-out infinite;
}
@keyframes orbFloat1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(40px, 30px) scale(1.1); }
	66% { transform: translate(-20px, -20px) scale(0.95); }
}
@keyframes orbFloat2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-30px, -40px) scale(1.05); }
}
@keyframes orbFloat3 {
	0%, 100% { transform: translate(-50%, 0) scale(1); }
	50% { transform: translate(-50%, -30px) scale(1.15); }
}

/* ── Container ── */
.hero-container {
	position: relative;
	z-index: 1;
	max-width: 56rem;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 2rem;
}

/* ── Live Bar ── */
.hero-live-bar {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.375rem 0.5rem 0.375rem 0.75rem;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 100px;
	font-size: 0.8125rem;
	color: #a1a1aa;
	backdrop-filter: blur(8px);
	animation: fadeSlideIn 0.6s ease-out both;
}
.live-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #34d399;
	box-shadow: 0 0 6px rgba(52,211,153,0.6);
	animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.8); }
}
.live-arrow {
	color: #52525b;
	margin-left: 0.125rem;
}
.live-link {
	color: #60a5fa;
	text-decoration: none;
	font-weight: 500;
	padding: 0.25rem 0.625rem;
	border-radius: 100px;
	background: rgba(96,165,250,0.08);
	transition: all 0.2s;
}
.live-link:hover {
	background: rgba(96,165,250,0.15);
	color: #93bbfc;
}

/* ── Headline ── */
.hero-headline {
	animation: fadeSlideIn 0.7s ease-out 0.1s both;
}
.hero-title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.25rem, 6vw, 4rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #ffffff;
}
.title-line {
	display: block;
}
.title-line-2 {
	margin-top: 0.25rem;
}
.gradient-text {
	background: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #38bdf8 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	background-size: 200% 200%;
	animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
.hero-subtitle {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #a1a1aa;
	max-width: 38rem;
	margin-left: auto;
	margin-right: auto;
}
.hero-subtitle strong {
	color: #d4d4d8;
	font-weight: 500;
}

/* ── Search ── */
.hero-search {
	width: 100%;
	max-width: 42rem;
	animation: fadeSlideIn 0.7s ease-out 0.2s both;
}
.search-form {
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 14px;
	padding: 0.375rem;
	transition: all 0.3s;
	box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.search-form:focus-within {
	border-color: rgba(129,140,248,0.3);
	background: rgba(255,255,255,0.06);
	box-shadow: 0 4px 32px rgba(99,102,241,0.1), 0 4px 24px rgba(0,0,0,0.3);
}
.search-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 0.75rem;
	color: #52525b;
	flex-shrink: 0;
}
.search-input {
	flex: 1;
	min-width: 0;
	background: transparent;
	border: none;
	outline: none;
	color: #ffffff;
	font-size: 0.9375rem;
	padding: 0.75rem 0.5rem;
	font-family: inherit;
}
.search-input::placeholder {
	color: #52525b;
}
.search-divider {
	width: 1px;
	height: 1.5rem;
	background: rgba(255,255,255,0.08);
	flex-shrink: 0;
}
.search-select {
	background: transparent;
	border: none;
	outline: none;
	color: #a1a1aa;
	font-size: 0.875rem;
	padding: 0.75rem 0.5rem;
	cursor: pointer;
	font-family: inherit;
	appearance: none;
	-webkit-appearance: none;
	min-width: 9rem;
}
.search-select option {
	background: #1c1c1e;
	color: #ffffff;
}
.search-btn {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.625rem 1.25rem;
	background: linear-gradient(135deg, #6366f1, #8b5cf6);
	border: none;
	border-radius: 10px;
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.25s;
	flex-shrink: 0;
	font-family: inherit;
}
.search-btn:hover {
	background: linear-gradient(135deg, #818cf8, #a78bfa);
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}
.search-btn:active {
	transform: translateY(0);
}
.search-chips {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: 0.75rem;
	padding-left: 0.25rem;
	flex-wrap: wrap;
}
.chip-label {
	font-size: 0.75rem;
	color: #52525b;
}
.search-chip {
	font-size: 0.75rem;
	color: #a1a1aa;
	text-decoration: none;
	padding: 0.25rem 0.625rem;
	border-radius: 100px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.05);
	transition: all 0.2s;
}
.search-chip:hover {
	color: #c084fc;
	border-color: rgba(192,132,252,0.2);
	background: rgba(192,132,252,0.06);
}

/* ── CTAs ── */
.hero-ctas {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	animation: fadeSlideIn 0.7s ease-out 0.3s both;
}
.cta-primary {
	display: inline-flex;
	text-decoration: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #6366f1, #7c3aed);
	padding: 3px;
	transition: all 0.3s;
	position: relative;
}
.cta-primary::before {
	content: '';
	position: absolute;
	inset: -2px;
	border-radius: 14px;
	background: linear-gradient(135deg, #6366f1, #7c3aed, #38bdf8);
	z-index: -1;
	opacity: 0;
	filter: blur(12px);
	transition: opacity 0.3s;
}
.cta-primary:hover::before {
	opacity: 0.4;
}
.cta-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(99,102,241,0.25);
}
.cta-primary-inner {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	background: linear-gradient(135deg, #6366f1, #7c3aed);
	border-radius: 10px;
	color: #ffffff;
	font-size: 0.9375rem;
	font-weight: 500;
	transition: background 0.3s;
}
.cta-primary:hover .cta-primary-inner {
	background: linear-gradient(135deg, #818cf8, #8b5cf6);
}
.cta-primary-inner svg {
	transition: transform 0.2s;
}
.cta-primary:hover .cta-primary-inner svg {
	transform: translateX(3px);
}
.cta-secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	border-radius: 12px;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.08);
	color: #d4d4d8;
	font-size: 0.9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.25s;
}
.cta-secondary:hover {
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.15);
	color: #ffffff;
	transform: translateY(-2px);
}
.cta-secondary svg {
	color: #818cf8;
}

/* ── Metrics ── */
.hero-metrics {
	display: flex;
	align-items: stretch;
	gap: 0;
	background: rgba(255,255,255,0.02);
	border: 1px solid rgba(255,255,255,0.06);
	border-radius: 16px;
	padding: 1.5rem 0;
	overflow: hidden;
	width: 100%;
	max-width: 42rem;
	backdrop-filter: blur(8px);
	animation: fadeSlideIn 0.7s ease-out 0.4s both;
}
.metric-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.25rem;
	padding: 0 1.25rem;
	position: relative;
}
.metric-number {
	font-size: 1.5rem;
	font-weight: 600;
	color: #ffffff;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}
.metric-suffix {
	font-size: 0.875rem;
	font-weight: 500;
	color: #818cf8;
	margin-left: 1px;
}
.metric-label {
	font-size: 0.6875rem;
	color: #a1a1aa;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 500;
	margin-top: 0.125rem;
}
.metric-bar {
	width: 100%;
	height: 2px;
	background: rgba(255,255,255,0.04);
	border-radius: 100px;
	margin-top: 0.625rem;
	overflow: hidden;
}
.metric-bar-fill {
	height: 100%;
	width: 0;
	border-radius: 100px;
	background: linear-gradient(90deg, #6366f1, #818cf8);
	transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.metric-bar-fill.animated {
	width: var(--fill);
}
.metric-divider {
	width: 1px;
	background: rgba(255,255,255,0.06);
	align-self: stretch;
	margin: 0.25rem 0;
}

/* ── Trust Row ── */
.hero-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	animation: fadeSlideIn 0.7s ease-out 0.5s both;
}
.trust-item {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: #52525b;
}
.trust-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 6px;
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(255,255,255,0.05);
	color: #a1a1aa;
}

/* ── Animations ── */
@keyframes fadeSlideIn {
	0% {
		opacity: 0;
		transform: translateY(20px);
		filter: blur(4px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
		filter: blur(0);
	}
}

/* ── Responsive ── */
@media (max-width: 768px) {
	.hero-home {
		padding: 5rem 1rem 3rem;
		min-height: auto;
	}
	.hero-title {
		font-size: clamp(1.875rem, 8vw, 2.75rem);
	}
	.search-form {
		flex-wrap: wrap;
		border-radius: 12px;
	}
	.search-input {
		flex-basis: 100%;
		order: -1;
		padding-bottom: 0.375rem;
	}
	.search-icon-wrap {
		display: none;
	}
	.search-divider {
		display: none;
	}
	.search-select {
		flex: 1;
		min-width: auto;
		padding: 0.5rem 0.375rem;
		font-size: 0.8125rem;
	}
	.search-btn {
		flex: 1;
		justify-content: center;
		padding: 0.625rem 1rem;
	}
	.search-chips {
		justify-content: center;
	}
	.hero-ctas {
		flex-direction: column;
		width: 100%;
		max-width: 18rem;
	}
	.cta-primary, .cta-secondary {
		width: 100%;
		justify-content: center;
	}
	.cta-primary-inner {
		justify-content: center;
		flex: 1;
	}
	.hero-metrics {
		flex-direction: column;
		gap: 0;
		padding: 0;
		border-radius: 14px;
	}
	.metric-card {
		flex-direction: row;
		justify-content: space-between;
		padding: 0.875rem 1.25rem;
		gap: 0.75rem;
	}
	.metric-card > * {
		margin: 0;
	}
	.metric-bar {
		display: none;
	}
	.metric-divider {
		width: auto;
		height: 1px;
		margin: 0 1.25rem;
	}
	.hero-trust {
		gap: 0.75rem;
	}
	.trust-item {
		font-size: 0.6875rem;
	}
}

@media (max-width: 480px) {
	.hero-live-bar {
		font-size: 0.75rem;
	}
	.hero-subtitle {
		font-size: 0.9375rem;
	}
}

/* ── Front Page: No Gaps ── */
body.front-page,
body.home,
body.front-page #page,
body.home #page,
body.front-page #page .site,
body.home #page .site,
body.front-page #main,
body.home #main,
body.front-page .site-main,
body.home .site-main,
body.front-page #primary,
body.home #primary,
body.front-page .site-content,
body.home .site-content,
body.front-page .content-area,
body.home .content-area {
	background: #050505 !important;
}
body.front-page .cat-section,
body.home .cat-section,
body.front-page .fl-section,
body.home .fl-section,
body.front-page .fa-section,
body.home .fa-section,
body.front-page .ff-section,
body.home .ff-section,
body.front-page .hiw-section,
body.home .hiw-section,
body.front-page .cta-band,
body.home .cta-band,
body.front-page .tm-section,
body.home .tm-section {
	margin: 0 !important;
	padding: 3rem 1.5rem;
}
body.front-page .cta-band,
body.home .cta-band {
	padding: 2rem 1.5rem;
}

/* ── Hero Search Wrapper ── */
.hero-search-wrapper {
	background: #050505;
	padding: 0 1.5rem 2rem;
	position: relative;
	z-index: 5;
}
body.front-page .hero-search-wrapper,
body.home .hero-search-wrapper {
	margin: 0;
}
