/* Home page — VirtualLab theme */

.vl-home .vl-section-header {
	max-width: 720px;
	margin: 0 auto;
	text-align: left;
}
.vl-home .vl-section-header .vl-eyebrow {
	color: #E7503F;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.vl-home .vl-section-header .vl-h-section {
	margin: 14px 0 16px;
	font-size: clamp(1.75rem, 3.6vw, 2.5rem);
	font-weight: 600;
	letter-spacing: -0.022em;
	line-height: 1.15;
	color: var(--vl-ink);
	text-wrap: balance;
}
.vl-home .vl-section-header__desc {
	color: var(--vl-ink-700);
	font-size: 1.02rem;
	margin: 0;
	line-height: 1.65;
	max-width: 620px;
}

/* -------------------------------------------------- */
/* Hero                                               */
/* -------------------------------------------------- */
.vl-home-hero {
	position: relative;
	overflow: hidden;
	color: #F3F4F6;
	background: #0A1020;
	padding: clamp(120px, 14vw, 200px) 0 clamp(100px, 12vw, 170px);
	isolation: isolate;
	--vl-hx: 50%;
	--vl-hy: 50%;
}
.vl-home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		radial-gradient(ellipse 60% 55% at 50% 50%, rgba(10, 16, 32, 0) 0%, rgba(10, 16, 32, 0.55) 60%, rgba(10, 16, 32, 0.92) 100%);
	pointer-events: none;
}
.vl-home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(10, 16, 32, 0) 55%, rgba(10, 16, 32, 0.75) 90%, #0A1020 100%);
	pointer-events: none;
}
/* Cursor spotlight — a soft pool of light + faint burgundy accent that
   reveals the lattice near the pointer. Sits above the stage (z:2) but
   below the hero copy (z:2 with higher stack via flow order won't work;
   using mix-blend so text remains readable). */
.vl-home-hero__spotlight {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	transition: opacity .4s var(--vl-ease, ease);
	background:
		radial-gradient(
			340px 340px at var(--vl-hx) var(--vl-hy),
			rgba(231, 80, 63, 0.18) 0%,
			rgba(231, 80, 63, 0.06) 40%,
			transparent 70%
		),
		radial-gradient(
			520px 520px at var(--vl-hx) var(--vl-hy),
			rgba(255, 255, 255, 0.08) 0%,
			rgba(255, 255, 255, 0.03) 45%,
			transparent 75%
		);
	mix-blend-mode: screen;
}
.vl-home-hero.is-hot .vl-home-hero__spotlight { opacity: 1; }
.vl-home-hero__stage {
	position: absolute;
	inset: -7% -7% -7% -7%;
	z-index: 0;
	pointer-events: none;
	--vl-px: 0px;
	--vl-py: 0px;
	transform: translate3d(var(--vl-px), var(--vl-py), 0);
	will-change: transform;
}
/* A mask that brightens lattice atoms/bonds near the cursor. Uses a radial
   alpha gradient as a CSS mask, layered with the base lattice SVG inside the
   stage to boost visibility in the hot zone. Created via a sibling layer
   below. */
.vl-home-hero__stage .vl-lattice { transition: filter .3s ease; }
.vl-home-hero.is-hot .vl-home-hero__stage .vl-lattice {
	filter: brightness(1.12) saturate(1.05);
}
.vl-home-hero__inner {
	position: relative;
	z-index: 2;
	max-width: 880px;
	text-align: center;
	margin: 0 auto;
}
.vl-home-hero__eyebrow {
	display: inline-block;
	color: #E7C9C4;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
	margin-bottom: 22px;
	padding: 6px 14px;
	border: 1px solid rgba(231, 201, 196, 0.3);
	border-radius: 999px;
	background: rgba(231, 80, 63, 0.05);
	backdrop-filter: blur(6px);
}
.vl-home-hero__title {
	font-size: clamp(2.4rem, 5.6vw, 4.25rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: #FFFFFF;
	margin: 0 0 24px;
	text-wrap: balance;
}
.vl-home-hero__title em {
	font-style: normal;
	color: #E7503F;
	background: linear-gradient(180deg, #F7A69A 0%, #E7503F 60%, #C03A2A 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.vl-home-hero__lead {
	font-size: clamp(1rem, 1.3vw, 1.15rem);
	color: rgba(243, 244, 246, 0.78);
	margin: 0 auto 40px;
	line-height: 1.65;
	max-width: 640px;
	text-wrap: pretty;
}
.vl-home-hero__actions {
	display: inline-flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.vl-home-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 26px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.005em;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color .2s var(--vl-ease), color .2s var(--vl-ease),
	            border-color .2s var(--vl-ease), transform .2s var(--vl-ease);
}
.vl-home-hero__cta--primary {
	background: #FFFFFF;
	color: #0A1020;
}
.vl-home-hero__cta--primary:hover {
	background: #FFFFFF;
	color: #0A1020;
	transform: translateY(-1px);
	box-shadow: 0 10px 28px -10px rgba(255, 255, 255, 0.35);
}
.vl-home-hero__cta--ghost {
	color: #F3F4F6;
	border-color: rgba(243, 244, 246, 0.28);
	background: transparent;
}
.vl-home-hero__cta--ghost:hover {
	background: rgba(243, 244, 246, 0.06);
	border-color: rgba(243, 244, 246, 0.5);
	color: #FFFFFF;
}
.vl-home-hero__cta-arrow {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 1.6px solid currentColor;
	border-top: 1.6px solid currentColor;
	transform: rotate(45deg);
	transition: transform .2s var(--vl-ease);
}
.vl-home-hero__cta:hover .vl-home-hero__cta-arrow { transform: translateX(3px) rotate(45deg); }

/* -------------------------------------------------- */
/* Crystal lattice                                    */
/* -------------------------------------------------- */
.vl-lattice {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.vl-lattice__bonds { stroke: rgba(200, 220, 255, 0.12); stroke-width: 0.8; }
.vl-lattice__bond {
	animation: vl-bond-pulse 7s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
	transform-origin: center;
}
.vl-lattice__atom {
	fill: url(#vl-atom-core);
	filter: url(#vl-atom-glow);
	transform-origin: center;
	transform-box: fill-box;
	animation: vl-atom-breath 6s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
}
.vl-lattice__atom.is-accent {
	fill: url(#vl-atom-accent);
	animation: vl-atom-accent-breath 5.5s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
}
.vl-lattice__atom.is-pulse {
	animation: vl-atom-pulse 3.5s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
}
.vl-lattice__atom.is-accent.is-pulse {
	animation: vl-atom-accent-pulse 3.2s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
}

@keyframes vl-bond-pulse {
	0%, 100% { opacity: 0.35; }
	50%      { opacity: 0.9; }
}
@keyframes vl-atom-breath {
	0%, 100% { opacity: 0.55; transform: scale(1); }
	50%      { opacity: 1;    transform: scale(1.15); }
}
@keyframes vl-atom-accent-breath {
	0%, 100% { opacity: 0.75; transform: scale(1); }
	50%      { opacity: 1;    transform: scale(1.2); }
}
@keyframes vl-atom-pulse {
	0%, 100% { opacity: 0.4;  transform: scale(0.9); }
	50%      { opacity: 1;    transform: scale(1.55); }
}
@keyframes vl-atom-accent-pulse {
	0%, 100% { opacity: 0.7;  transform: scale(0.95); }
	50%      { opacity: 1;    transform: scale(1.45); }
}

@media (prefers-reduced-motion: reduce) {
	.vl-lattice__bond,
	.vl-lattice__atom { animation: none; }
	.vl-lattice__atom { opacity: 0.85; }
	.vl-lattice__bond { opacity: 0.5; }
}

/* -------------------------------------------------- */
/* Three pillars                                      */
/* -------------------------------------------------- */
.vl-home-pillars {
	padding: clamp(80px, 10vw, 140px) 0;
	background: #FFFFFF;
}
.vl-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	margin-top: var(--vl-sp-6);
}
.vl-pillar {
	position: relative;
	padding: 44px 32px 40px;
	border-right: 1px solid rgba(15, 23, 42, 0.08);
	transition: background-color .25s var(--vl-ease);
}
.vl-pillar:last-child { border-right: 0; }
.vl-pillar:hover { background: rgba(231, 80, 63, 0.015); }
.vl-pillar__num {
	display: block;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: rgba(15, 23, 42, 0.35);
	margin-bottom: 20px;
}
.vl-pillar__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	color: #E7503F;
	margin-bottom: 18px;
}
.vl-pillar__icon svg { width: 40px; height: 40px; display: block; }
.vl-pillar__title {
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0 0 10px;
	color: var(--vl-ink);
}
.vl-pillar__lead {
	margin: 0 0 22px;
	color: var(--vl-ink-700);
	line-height: 1.6;
	font-size: 15px;
}
.vl-pillar__bullets {
	list-style: none;
	padding: 0; margin: 0;
	display: grid;
	gap: 10px;
}
.vl-pillar__bullets li {
	position: relative;
	padding-left: 18px;
	color: var(--vl-muted);
	font-size: 13.5px;
	line-height: 1.5;
}
.vl-pillar__bullets li::before {
	content: "";
	position: absolute;
	left: 0; top: 0.72em;
	width: 10px; height: 1px;
	background: rgba(15, 23, 42, 0.25);
}

@media (max-width: 900px) {
	.vl-pillars-grid { grid-template-columns: 1fr; }
	.vl-pillar { border-right: 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); padding: 32px 0; }
	.vl-pillar:last-child { border-bottom: 0; }
}

/* -------------------------------------------------- */
/* Products grid                                      */
/* -------------------------------------------------- */
.vl-home-products {
	padding: clamp(80px, 10vw, 140px) 0;
	background: #FAFAF7;
}
.vl-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: var(--vl-sp-6);
}
.vl-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 32px 30px 30px;
	background: #FFFFFF;
	border: 1px solid rgba(15, 23, 42, 0.08);
	text-decoration: none;
	color: inherit;
	transition: border-color .25s var(--vl-ease), transform .25s var(--vl-ease);
	min-height: 240px;
}
.vl-product-card:hover {
	transform: translateY(-2px);
	border-color: rgba(15, 23, 42, 0.4);
	color: inherit;
}
.vl-product-card__badge {
	display: inline-block;
	padding: 0;
	background: transparent;
	color: #E7503F;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 18px;
}
.vl-product-card__title {
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
	color: var(--vl-ink);
}
.vl-product-card__lead {
	margin: 0 0 28px;
	color: var(--vl-ink-700);
	line-height: 1.6;
	font-size: 14.5px;
	flex-grow: 1;
}
.vl-product-card__link {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--vl-ink);
	align-self: flex-start;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
	transition: color .2s var(--vl-ease);
}
.vl-product-card:hover .vl-product-card__link { color: #E7503F; }

@media (max-width: 900px) {
	.vl-products-grid { grid-template-columns: 1fr; }
}

/* -------------------------------------------------- */
/* Education teaser                                   */
/* -------------------------------------------------- */
.vl-home-edu {
	padding: clamp(80px, 10vw, 140px) 0;
	background: #FFFFFF;
}
.vl-home-edu__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}
.vl-home-edu__copy .vl-eyebrow {
	color: #E7503F;
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 11px;
	letter-spacing: 0.2em;
}
.vl-home-edu__copy .vl-h-section {
	margin: 14px 0 20px;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	letter-spacing: -0.02em;
}
.vl-home-edu__copy .vl-section-header__desc {
	color: var(--vl-ink-700);
	font-size: 1.02rem;
	margin: 0 0 30px;
	line-height: 1.65;
}
.vl-home-edu__copy .vl-btn-primary {
	background: var(--vl-ink);
	color: #FFFFFF;
	border-color: var(--vl-ink);
}
.vl-home-edu__copy .vl-btn-primary:hover {
	background: #E7503F;
	border-color: #E7503F;
}
.vl-home-edu__visual {
	display: grid;
	gap: 14px;
	padding: 32px;
	background: #FAFAF7;
	border-left: 1px solid rgba(231, 80, 63, 0.3);
}
.vl-home-edu__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	background: #FFFFFF;
	border: 1px solid rgba(15, 23, 42, 0.08);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: -0.01em;
	color: var(--vl-ink);
	transition: border-color .2s var(--vl-ease), transform .2s var(--vl-ease);
}
.vl-home-edu__card::after {
	content: "";
	width: 24px; height: 1px;
	background: rgba(15, 23, 42, 0.3);
	transition: background-color .2s var(--vl-ease), width .2s var(--vl-ease);
}
.vl-home-edu__card:hover { border-color: rgba(231, 80, 63, 0.5); transform: translateX(4px); }
.vl-home-edu__card:hover::after { background: #E7503F; width: 36px; }
.vl-home-edu__card--b {
	background: var(--vl-ink);
	color: #FFFFFF;
	border-color: var(--vl-ink);
}
.vl-home-edu__card--b::after { background: rgba(255,255,255,0.5); }

@media (max-width: 900px) {
	.vl-home-edu__inner { grid-template-columns: 1fr; }
	.vl-home-edu__visual { padding: 24px; }
}

/* -------------------------------------------------- */
/* Industries                                         */
/* -------------------------------------------------- */
.vl-home-industries {
	padding: clamp(80px, 10vw, 140px) 0;
	background: #FAFAF7;
}
.vl-industries-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 0;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
	margin-top: var(--vl-sp-6);
}
.vl-industry {
	padding: 28px 24px 28px 0;
	background: transparent;
	border-right: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 0;
	position: relative;
}
.vl-industry:last-child { border-right: 0; }
.vl-industry::before {
	content: "";
	position: absolute;
	top: 28px; left: -18px;
	width: 8px; height: 8px;
	background: #E7503F;
	border-radius: 50%;
}
.vl-industry:first-child::before { left: 0; }
.vl-industry__title {
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0 0 10px;
	color: var(--vl-ink);
}
.vl-industry__desc {
	margin: 0;
	color: var(--vl-ink-700);
	line-height: 1.6;
	font-size: 14px;
}

@media (max-width: 900px) {
	.vl-industry { border-right: 0; border-bottom: 1px solid rgba(15, 23, 42, 0.08); padding: 24px 0 24px 20px; }
	.vl-industry::before { top: 30px; left: 0 !important; }
	.vl-industry:last-child { border-bottom: 0; }
}

/* -------------------------------------------------- */
/* Closing CTA                                        */
/* -------------------------------------------------- */
.vl-home-cta {
	padding: clamp(90px, 11vw, 160px) 0;
	background: #0A1020;
	color: #F3F4F6;
	text-align: center;
	position: relative;
	overflow: hidden;
}
.vl-home-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 60% 70% at 50% 40%, rgba(231, 80, 63, 0.16), transparent 60%),
		radial-gradient(ellipse 70% 50% at 50% 100%, rgba(30, 58, 138, 0.25), transparent 70%);
	pointer-events: none;
}
.vl-home-cta__inner {
	max-width: 720px;
	position: relative;
	z-index: 1;
}
.vl-home-cta__title {
	font-size: clamp(1.9rem, 3.8vw, 2.75rem);
	font-weight: 600;
	color: #FFFFFF;
	margin: 0 0 20px;
	letter-spacing: -0.022em;
	line-height: 1.15;
	text-wrap: balance;
}
.vl-home-cta__desc {
	font-size: 1.02rem;
	color: rgba(243, 244, 246, 0.76);
	margin: 0 0 36px;
	line-height: 1.65;
}
.vl-home-cta__actions {
	display: inline-flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.vl-home-cta .vl-btn {
	padding: 14px 28px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
}
.vl-home-cta .vl-btn-primary {
	background: #FFFFFF;
	color: #0A1020;
	border-color: #FFFFFF;
}
.vl-home-cta .vl-btn-primary:hover { background: #F3F4F6; color: #0A1020; }
.vl-home-cta .vl-btn-ghost {
	color: #F3F4F6;
	border-color: rgba(243, 244, 246, 0.28);
	background: transparent;
}
.vl-home-cta .vl-btn-ghost:hover { background: rgba(243, 244, 246, 0.06); color: #FFFFFF; border-color: rgba(243, 244, 246, 0.5); }
