/* Homepage hero + trust */

.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100svh;
	width: 100%;
	max-width: 100%;
	padding: 120px clamp(20px, 4vw, 48px) 72px;
	overflow: hidden;
	background: #081208 url('../images/main.jpg') center 35% / cover no-repeat;
}

.home-hero__backdrop {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 100% 80% at 50% 40%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%),
		radial-gradient(circle at 50% 38%, rgba(0, 200, 5, 0.14) 0%, transparent 52%),
		linear-gradient(180deg, rgba(6, 12, 7, 0.72) 0%, rgba(8, 18, 10, 0.8) 48%, rgba(4, 10, 5, 0.9) 100%);
	pointer-events: none;
}

.home-hero__layout {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(280px, 1fr) minmax(0, 300px);
	gap: clamp(20px, 3vw, 40px);
	align-items: center;
	width: min(1320px, 100%);
	min-height: calc(100svh - 192px);
}

.home-hero__content {
	position: relative;
	z-index: 5;
	width: 100%;
	min-width: 0;
	padding: 0 8px;
	box-sizing: border-box;
	text-align: center;
	align-self: center;
}

.home-hero__title {
	margin: 0;
	color: #ffffff;
	font-family: Montserrat, Lato, sans-serif;
	font-size: clamp(1.85rem, 4.2vw, 3.25rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.035em;
	max-width: 100%;
	text-shadow:
		0 4px 32px rgba(0, 0, 0, 0.55),
		0 1px 0 rgba(255, 255, 255, 0.06);
}

.home-hero__title-line1,
.home-hero__title-line2 {
	display: block;
}

.home-hero__title-line1 {
	margin-bottom: 0.1em;
}

.home-hero__title-line2 {
	color: rgba(232, 245, 233, 0.94);
	font-weight: 700;
	font-size: 0.94em;
}

.home-hero__title::after {
	content: "";
	display: block;
	width: 72px;
	height: 3px;
	margin: 22px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, transparent, #00c805 35%, #5dff72 65%, transparent);
	opacity: 0.85;
}

@media (min-width: 1281px) and (max-width: 1499px) {
	.home-hero__layout {
		grid-template-columns: minmax(0, 240px) minmax(260px, 1fr) minmax(0, 240px);
		gap: clamp(16px, 2vw, 28px);
	}

	.home-hero__path {
		max-width: 240px;
		padding: 22px 20px 20px;
		min-height: 300px;
	}

	.home-hero__path-icon {
		width: 60px;
		height: 60px;
		font-size: 1.55rem;
	}

	.home-hero__title {
		font-size: clamp(1.65rem, 3.8vw, 2.35rem);
	}
}

@media (min-width: 1500px) {
	.home-hero__title {
		font-size: clamp(2rem, 3.8vw, 3.25rem);
	}
}

.home-hero__value {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 16px;
	margin: 0 0 36px;
	color: #b8d4ba;
	font-size: clamp(1.05rem, 2.4vw, 1.35rem);
	font-weight: 600;
	line-height: 1.4;
}

.home-hero__value span:not(.home-hero__value-sep) {
	color: #e8f5e9;
}

.home-hero__value-sep {
	color: #00c805;
	font-weight: 700;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 18px;
}

.home-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 18px 36px;
	border-radius: 12px;
	font-size: 1.12rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-hero__btn--primary {
	background: #0d7a0f;
	color: #ffffff;
	box-shadow: 0 6px 22px rgba(13, 122, 15, 0.4);
}

.home-hero__btn--primary:hover {
	transform: translateY(-2px);
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(13, 122, 15, 0.5);
	text-decoration: none;
}

.home-hero__btn--ghost {
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
	color: #ffffff;
}

.home-hero__btn--ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	transform: translateY(-2px);
	text-decoration: none;
}

.home-hero__fine {
	margin: 0;
	color: #7a947c;
	font-size: 0.85rem;
	line-height: 1.45;
}

/* Side path cards — prominent callouts */
.home-hero__path {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	max-width: 300px;
	min-height: 320px;
	padding: 26px 24px 22px;
	border-radius: 20px;
	border: 1px solid rgba(0, 200, 5, 0.32);
	background:
		linear-gradient(165deg, rgba(13, 122, 15, 0.18) 0%, rgba(8, 18, 10, 0.92) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.42),
		0 0 0 1px rgba(255, 255, 255, 0.05) inset;
	text-align: left;
	text-decoration: none;
	transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-hero__path--left {
	justify-self: end;
}

.home-hero__path--right {
	justify-self: start;
	border-color: rgba(52, 152, 219, 0.34);
	background:
		linear-gradient(165deg, rgba(41, 128, 185, 0.2) 0%, rgba(8, 14, 22, 0.92) 100%);
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.42),
		0 0 0 1px rgba(255, 255, 255, 0.05) inset,
		0 0 28px rgba(52, 152, 219, 0.08);
}

.home-hero__path:hover {
	transform: translateY(-6px);
	border-color: rgba(0, 200, 5, 0.55);
	box-shadow:
		0 28px 56px rgba(0, 0, 0, 0.48),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset,
		0 0 36px rgba(0, 200, 5, 0.18);
	text-decoration: none;
}

.home-hero__path--right:hover {
	border-color: rgba(52, 152, 219, 0.58);
	box-shadow:
		0 28px 56px rgba(0, 0, 0, 0.48),
		0 0 0 1px rgba(255, 255, 255, 0.08) inset,
		0 0 36px rgba(52, 152, 219, 0.2);
}

.home-hero__path-tag {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	border: 1px solid rgba(0, 200, 5, 0.5);
	background: rgba(0, 200, 5, 0.15);
	color: #5dff72;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.home-hero__path-tag--advisor {
	border-color: rgba(52, 152, 219, 0.45);
	background: rgba(52, 152, 219, 0.12);
	color: #7ec8ff;
}

.home-hero__path-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin-bottom: 16px;
	border-radius: 20px;
	border: 1px solid rgba(0, 200, 5, 0.4);
	background: linear-gradient(145deg, rgba(0, 200, 5, 0.25) 0%, rgba(0, 200, 5, 0.08) 100%);
	color: #5dff72;
	font-size: 1.85rem;
	box-shadow: 0 8px 20px rgba(0, 200, 5, 0.15);
	flex-shrink: 0;
}

.home-hero__path-icon .fa {
	display: block;
	line-height: 1;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
}

.home-hero__path-icon--advisor {
	border-color: rgba(52, 152, 219, 0.4);
	background: linear-gradient(145deg, rgba(52, 152, 219, 0.28) 0%, rgba(52, 152, 219, 0.08) 100%);
	color: #7ec8ff;
	box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
}

.home-hero__path-title {
	margin-bottom: 10px;
	color: #ffffff;
	font-family: Montserrat, Lato, sans-serif;
	font-size: 1.45rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.home-hero__path-copy {
	margin-bottom: 18px;
	color: #b8cfba;
	font-size: 0.94rem;
	font-weight: 500;
	line-height: 1.55;
	flex: 1;
}

.home-hero__path-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	justify-content: center;
	margin-top: auto;
	padding: 13px 16px;
	border-radius: 12px;
	background: linear-gradient(180deg, #109214 0%, #0d7a0f 100%);
	color: #ffffff;
	font-size: 0.98rem;
	font-weight: 700;
	box-shadow: 0 4px 16px rgba(13, 122, 15, 0.35);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero__path--right .home-hero__path-cta {
	background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
	box-shadow: 0 4px 16px rgba(41, 128, 185, 0.35);
}

.home-hero__path:hover .home-hero__path-cta {
	transform: translateY(-1px);
}

.home-hero__path-cta .fa {
	font-size: 0.85rem;
	transition: transform 0.2s ease;
}

.home-hero__path:hover .home-hero__path-cta .fa {
	transform: translateX(4px);
}

.home-hero__scroll {
	position: absolute;
	left: 50%;
	bottom: 28px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(0, 0, 0, 0.2);
	color: #5dff72;
	text-decoration: none;
	transform: translateX(-50%);
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
	animation: home-scroll-bob 2.4s ease-in-out infinite;
}

@keyframes home-scroll-bob {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50% { transform: translateX(-50%) translateY(4px); }
}

.home-hero__scroll:hover {
	border-color: rgba(0, 200, 5, 0.5);
	color: #5dff72;
	text-decoration: none;
}

.home-hero__scroll .fa {
	font-size: 16px;
}

.home-hero__mobile-paths {
	display: none;
	margin-top: 28px;
	gap: 14px;
}

.home-hero__path--mobile {
	position: static;
	width: 100%;
	max-width: none;
	min-height: 0;
	transform: none;
	padding: 24px 20px 20px;
}

.home-hero__path--mobile .home-hero__path-icon {
	width: 60px;
	height: 60px;
	font-size: 1.5rem;
	margin-bottom: 12px;
}

.home-hero__path--mobile .home-hero__path-copy {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 14px;
}

.home-hero__path--mobile-advisor {
	border-color: rgba(52, 152, 219, 0.35);
	background: linear-gradient(165deg, rgba(41, 128, 185, 0.2) 0%, rgba(8, 18, 10, 0.88) 100%);
}

.home-hero__path--mobile:hover {
	transform: scale(1.02);
}

/* Trust section — full viewport */
.home-trust {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 88px 0 72px;
	background: linear-gradient(165deg, #0a140a 0%, #0f1f10 38%, #081208 100%);
	overflow: hidden;
}

.home-trust::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 82% 24%, rgba(0, 200, 5, 0.12) 0%, transparent 42%),
		radial-gradient(circle at 12% 78%, rgba(52, 152, 219, 0.07) 0%, transparent 38%);
	pointer-events: none;
}

.home-trust .container {
	position: relative;
	z-index: 1;
}

.home-trust__grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
}

.home-trust__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	margin-bottom: 14px;
	border-radius: 999px;
	border: 1px solid rgba(0, 200, 5, 0.45);
	background: rgba(0, 200, 5, 0.08);
	color: #5dff72;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-trust__title {
	margin: 0 0 14px;
	color: #ffffff;
	font-family: Montserrat, Lato, sans-serif;
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 800;
	line-height: 1.12;
}

.home-trust__title .fa {
	margin-right: 10px;
	color: #00c805;
}

.home-trust__lead {
	margin: 0 0 8px;
	color: #5dff72;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-weight: 700;
}

.home-trust__copy {
	margin: 0 0 24px;
	color: #c8dcc9;
	font-size: 1.02rem;
	line-height: 1.65;
}

.home-trust__badges {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}

.home-trust__badge {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 12px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	color: #e8f5e9;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.4;
}

.home-trust__badge .fa {
	flex-shrink: 0;
	margin-top: 2px;
	color: #00c805;
}

.home-trust__certs {
	margin-bottom: 24px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.22);
}

.home-trust__certs-label {
	margin: 0 0 8px;
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 700;
}

.home-trust__certs-list {
	margin: 0;
	color: #9cb89e;
	font-size: 0.92rem;
	line-height: 1.6;
}

.home-trust__actions.home-hero__actions {
	justify-content: flex-start;
	margin-bottom: 0;
}

.home-trust__cta-note {
	margin: 12px 0 0;
	color: #7a947c;
	font-size: 0.78rem;
	line-height: 1.4;
}

.home-trust__title .fa {
	display: none;
}

.home-trust-finra {
	padding: 24px 0 32px;
	background: #081208;
}

.home-trust-finra .alert {
	margin: 0;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	background: rgba(255, 255, 255, 0.04) !important;
	color: #a8c4aa !important;
	font-size: 0.82rem;
	line-height: 1.55;
}

.home-trust__panel {
	padding: 24px 20px 20px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(0, 0, 0, 0.35) 100%);
	box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
}

.home-trust__panel-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #9cb89e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.home-trust__score-wrap {
	position: relative;
	width: min(280px, 100%);
	aspect-ratio: 1;
	margin: 0 auto 18px;
}

.home-trust__score-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, 0.08);
}

.home-trust__score-ring--outer {
	border-color: rgba(0, 200, 5, 0.15);
	animation: home-trust-ring 6s ease-in-out infinite;
}

.home-trust__score-ring--mid {
	inset: 10%;
	border-color: rgba(0, 200, 5, 0.25);
	animation: home-trust-ring 6s ease-in-out infinite 0.6s;
}

.home-trust__score-ring--inner {
	inset: 20%;
	border-top-color: #00c805;
	border-right-color: rgba(0, 200, 5, 0.35);
	border-bottom-color: rgba(0, 200, 5, 0.15);
	border-left-color: rgba(0, 200, 5, 0.55);
	animation: home-trust-spin 8s linear infinite;
}

@keyframes home-trust-spin {
	to { transform: rotate(360deg); }
}

@keyframes home-trust-ring {
	0%, 100% { transform: scale(1); opacity: 0.85; }
	50% { transform: scale(1.03); opacity: 1; }
}

.home-trust__score-core {
	position: absolute;
	inset: 28%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #1a3d1c 0%, #0a160b 70%);
	box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.home-trust__score-label {
	color: #9cb89e;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.home-trust__score-value {
	color: #ffffff;
	font-size: 2rem;
	font-weight: 800;
	line-height: 1;
}

.home-trust__score-caption {
	margin-top: 4px;
	color: #5dff72;
	font-size: 11px;
	font-weight: 700;
}

.home-trust__signals {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.home-trust__signal {
	padding: 12px 8px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(0, 0, 0, 0.22);
	text-align: center;
	animation: home-signal-pulse 6s ease-in-out infinite;
	animation-delay: var(--signal-delay, 0s);
}

.home-trust__signal-icon {
	display: block;
	margin-bottom: 6px;
	color: #00c805;
	font-size: 1.1rem;
}

.home-trust__signal-text {
	display: block;
	color: #d8ead9;
	font-size: 10px;
	font-weight: 700;
	line-height: 1.3;
}

@keyframes home-signal-pulse {
	0%, 18%, 100% { border-color: rgba(255, 255, 255, 0.08); background: rgba(0, 0, 0, 0.22); }
	6%, 12% { border-color: rgba(0, 200, 5, 0.45); background: rgba(0, 200, 5, 0.1); }
}

.home-trust-finra .alert a {
	color: #5dff72;
}

@media (max-width: 768px) {
	.home-trust__actions.home-hero__actions {
		flex-direction: column;
	}

	.home-trust__actions.home-hero__actions .home-hero__btn {
		width: 100%;
	}
}

@media (max-width: 1280px) {
	.home-hero__layout {
		display: block;
		width: min(820px, 100%);
		min-height: auto;
	}

	.home-hero__content {
		width: 100%;
	}

	.home-hero__path:not(.home-hero__path--mobile) {
		display: none;
	}

	.home-hero__mobile-paths {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.home-trust__grid {
		grid-template-columns: 1fr;
	}

	.home-trust__badges {
		grid-template-columns: 1fr;
	}

	.home-trust__panel {
		max-width: 420px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.home-hero {
		min-height: 100svh;
		padding: 96px 16px 56px;
	}

	.home-hero__layout {
		width: 100%;
		min-height: auto;
	}

	.home-hero__content {
		width: 100%;
	}

	.home-hero__title {
		font-size: clamp(1.65rem, 6vw, 2.25rem);
	}

	.home-hero__title::after {
		margin-top: 18px;
		width: 56px;
	}

	.home-hero__value {
		margin-bottom: 28px;
		font-size: 1rem;
	}

	.home-hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.home-hero__btn {
		width: 100%;
		padding: 16px 24px;
	}

	.home-hero__mobile-paths {
		grid-template-columns: 1fr;
	}

	.home-hero__path--mobile {
		max-width: none;
	}

	.home-trust__signals {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__scroll {
		animation: none !important;
	}

	.home-trust__score-ring--inner,
	.home-trust__score-ring--outer,
	.home-trust__score-ring--mid,
	.home-trust__signal {
		animation: none !important;
	}
}
