/* Footer — exact match to code_artifact (4).html */

.vfb-footer {
	background: var(--vfb-bg, var(--vp-dark));
	color: var(--vfb-color, var(--vp-bg));
	position: relative;
	overflow: hidden;
	margin-top: 0;
}

.vfb-footer--rounded {
	border-radius: 1.5rem 1.5rem 0 0;
}

@media (min-width: 768px) {
	.vfb-footer--rounded {
		border-radius: 3rem 3rem 0 0;
	}
}

.vfb-footer__line {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(to right, transparent, var(--vp-green), transparent);
}

.vfb-container {
	max-width: var(--vfb-container, var(--vp-container));
	margin: 0 auto;
	padding: 0 1.5rem;
}

.vfb-row--main {
	padding-top: var(--vfb-main-pad-top, 3rem);
	padding-bottom: var(--vfb-section-gap, 2.5rem);
	padding-left: 0;
	padding-right: 0;
}

.vfb-row__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-bottom: 0;
}

@media (min-width: 640px) {
	.vfb-row__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.vfb-row__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 3rem;
	}
}

.vfb-row--bottom .vfb-row__grid {
	grid-template-columns: 1fr;
	margin-bottom: 0;
}

.vfb-row--bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	padding-top: var(--vfb-bottom-pad-top, 1.5rem);
	padding-bottom: var(--vfb-bottom-pad-bottom, 2rem);
	padding-left: 0;
	padding-right: 0;
}

.vfb-col {
	text-align: center;
}

@media (min-width: 640px) {
	.vfb-col {
		text-align: right;
	}
}

/* Logo column */
.vfb-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
	text-decoration: none;
	color: inherit;
}

@media (min-width: 640px) {
	.vfb-logo {
		justify-content: flex-start;
	}
}

.vfb-logo__icon {
	width: 2.5rem;
	height: 2.5rem;
	background: var(--vp-orange);
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	line-height: 1;
	flex-shrink: 0;
}

@media (min-width: 768px) {
	.vfb-logo__icon {
		width: 3rem;
		height: 3rem;
		border-radius: 1rem;
		font-size: 1.5rem;
	}
}

.vfb-logo__title {
	font-size: 1.25rem;
	font-weight: 900;
	letter-spacing: -0.025em;
}

@media (min-width: 768px) {
	.vfb-logo__title {
		font-size: 1.5rem;
	}
}

.vfb-logo__accent {
	color: var(--vp-orange);
}

.vfb-logo--image {
	display: inline-flex;
	align-items: center;
}

.vfb-logo--image img {
	display: block;
	max-width: 100%;
	height: auto;
	object-fit: contain;
}

.vfb-about,
.vfb-text p {
	color: #9ca3af;
	font-size: 0.75rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
	.vfb-about,
	.vfb-text p {
		font-size: 0.875rem;
	}
}

/* Social */
.vfb-social {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vfb-social-gap, 10px);
	justify-content: center;
	align-items: center;
}

@media (min-width: 640px) {
	.vfb-social {
		justify-content: flex-start;
	}
}

.vfb-social__link {
	--vfb-social-brand: var(--vp-orange);
	width: var(--vfb-social-size, 40px);
	height: var(--vfb-social-size, 40px);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: calc(var(--vfb-social-size, 40px) * 0.42);
	line-height: 1;
	border: 1px solid transparent;
	transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	overflow: hidden;
}

.vfb-social--shape-rounded .vfb-social__link { border-radius: 0.75rem; }
.vfb-social--shape-square .vfb-social__link { border-radius: 0.35rem; }
.vfb-social--shape-circle .vfb-social__link { border-radius: 999px; }

.vfb-social--filled .vfb-social__link {
	background: var(--vfb-social-brand);
	color: #fff;
}

.vfb-social--outline .vfb-social__link {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

.vfb-social--soft .vfb-social__link {
	background: color-mix(in srgb, var(--vfb-social-brand) 22%, transparent);
	color: #fff;
}

.vfb-social--emoji .vfb-social__link {
	background: rgba(255, 255, 255, 0.06);
}

.vfb-social__svg {
	display: flex;
	width: 52%;
	height: 52%;
}

.vfb-social__svg svg {
	width: 100%;
	height: 100%;
	display: block;
}

.vfb-social__emoji {
	line-height: 1;
}

.vfb-social__img {
	width: 58%;
	height: 58%;
	object-fit: contain;
	display: block;
}

.vfb-social--hover-brand .vfb-social__link:hover {
	background: var(--vfb-social-brand);
	color: #fff;
	transform: translateY(-2px);
}

.vfb-social--hover-lift .vfb-social__link:hover {
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.vfb-social--hover-glow .vfb-social__link:hover {
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--vfb-social-brand) 35%, transparent), 0 8px 18px rgba(0, 0, 0, 0.2);
	background: var(--vfb-social-brand);
	color: #fff;
}

/* Menu titles — border only sm+ like artifact */
.vfb-menu-title {
	font-weight: 900;
	font-size: 1rem;
	margin-bottom: 1rem;
	display: inline-block;
}

@media (min-width: 768px) {
	.vfb-menu-title {
		font-size: 1.125rem;
		margin-bottom: 1.5rem;
	}
}

@media (min-width: 640px) {
	.vfb-menu-title {
		display: block;
	}

	.vfb-menu-title--orange {
		border-right: 4px solid var(--vp-orange);
		padding-right: 0.75rem;
	}

	.vfb-menu-title--green {
		border-right: 4px solid var(--vp-green);
		padding-right: 0.75rem;
	}

	.vfb-menu-title--yellow {
		border-right: 4px solid var(--vp-yellow);
		padding-right: 0.75rem;
	}
}

.vfb-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vfb-menu li {
	margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
	.vfb-menu li {
		margin-bottom: 1rem;
	}
}

.vfb-menu a {
	color: #9ca3af;
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 500;
	transition: color 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

@media (min-width: 768px) {
	.vfb-menu a {
		font-size: 0.875rem;
	}
}

.vfb-menu a:hover {
	color: var(--vp-orange);
}

.vfb-menu-title--green + .vfb-menu a:hover {
	color: var(--vp-green);
}

.vfb-menu .vp-menu-emoji {
	font-size: 1.05em;
	line-height: 1;
}

/* Newsletter — artifact form */
.vfb-newsletter__text {
	color: #9ca3af;
	font-size: 0.75rem;
	margin-bottom: 1rem;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.vfb-newsletter__text {
		font-size: 0.875rem;
	}
}

.vfb-newsletter__form {
	position: relative;
	width: 100%;
	max-width: 20rem;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.vfb-newsletter__form {
		margin: 0;
	}
}

.vfb-newsletter__form input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.75rem;
	padding: 0.625rem 1rem 0.625rem 5rem;
	color: inherit;
	font-size: 0.75rem;
	font-family: inherit;
	transition: border-color 0.2s ease;
}

@media (min-width: 768px) {
	.vfb-newsletter__form input[type="email"] {
		border-radius: 1rem;
		padding-top: 0.75rem;
		padding-bottom: 0.75rem;
		font-size: 0.875rem;
	}
}

.vfb-newsletter__form input[type="email"]:focus {
	outline: none;
	border-color: var(--vp-orange);
}

.vfb-newsletter__form input[type="email"]::placeholder {
	color: rgba(252, 250, 243, 0.45);
}

.vfb-newsletter__form button {
	position: absolute;
	left: 0.25rem;
	top: 0.25rem;
	bottom: 0.25rem;
	background: var(--vp-orange);
	border: 0;
	border-radius: 0.5rem;
	padding: 0 0.75rem;
	font-weight: 700;
	font-size: 0.625rem;
	color: #fff;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s ease;
	white-space: nowrap;
}

@media (min-width: 768px) {
	.vfb-newsletter__form button {
		border-radius: 0.75rem;
		padding: 0 1rem;
		font-size: 0.75rem;
	}
}

.vfb-newsletter__form button:hover:not(:disabled) {
	background: #d67a1f;
}

.vfb-newsletter__form button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.vfb-newsletter__status {
	margin-top: 0.65rem;
	font-size: 0.75rem;
	line-height: 1.5;
}

.vfb-newsletter__status--success {
	color: var(--vp-green);
}

.vfb-newsletter__status--error {
	color: #fca5a5;
}

/* Copyright bar */
.vfb-copyright {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	color: #6b7280;
	font-size: 0.625rem;
	text-align: center;
}

@media (min-width: 768px) {
	.vfb-copyright {
		flex-direction: row;
		justify-content: space-between;
		font-size: 0.75rem;
		text-align: right;
	}
}

.vfb-copyright__links {
	display: flex;
	gap: 1rem;
}

@media (min-width: 768px) {
	.vfb-copyright__links {
		gap: 1.5rem;
	}
}

.vfb-copyright__links a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.vfb-copyright__links a:hover {
	color: #fff;
}

.vfb-copyright__brand {
	color: var(--vfb-color, #fcfaf3);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vfb-copyright__brand:hover {
	color: #fff;
}
