/* ==========================================================================
   5LeGY STORE — base design system
   ========================================================================== */

:root {
	--navy-950: #070b14;
	--navy-900: #0b1220;
	--navy-850: #0e1728;
	--navy-800: #121d34;
	--blue-500: #2e9bff;
	--cyan-400: #38d1ff;
	--violet-500: #7c3aed;
	--magenta-400: #d946ef;
	--silver-100: #f2f5f9;
	--silver-300: #d7dce6;
	--silver-500: #97a1b3;
	--silver-700: #5a6478;
	--glass-bg: rgba(9, 15, 28, 0.62);
	--glass-border: rgba(90, 190, 255, 0.22);
	--shadow-glow: 0 0 40px rgba(46, 155, 255, 0.25);
	--grad-brand: linear-gradient(135deg, var(--cyan-400) 0%, var(--violet-500) 55%, var(--magenta-400) 100%);
	--font-body: 'Cairo', 'Tahoma', sans-serif;
	--font-display: 'Changa', 'Cairo', 'Tahoma', sans-serif;
	--header-h: 78px;
	--container-w: 1280px;
	--ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
	--ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--navy-950);
	color: var(--silver-100);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

button {
	font-family: inherit;
	cursor: pointer;
}

.container {
	width: 100%;
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: 24px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.lss-section-spacer {
	height: 40vh;
	background: var(--navy-950);
}

/* ---------- Shared section scaffolding ---------- */

.lss-section-head {
	max-width: 640px;
	margin-inline: auto;
	margin-bottom: 44px;
	text-align: center;
}

.lss-section-eyebrow {
	display: block;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--cyan-400);
	margin-bottom: 12px;
}

.lss-section-title {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	font-weight: 800;
	margin: 0 0 12px;
}

.lss-section-sub {
	font-size: 15px;
	line-height: 1.7;
	color: var(--silver-500);
	margin: 0;
}

/* ---------- Glass / glow primitives (shared across sections) ---------- */

.lss-glass {
	background: linear-gradient(180deg, rgba(18, 29, 52, 0.7), rgba(7, 11, 20, 0.55));
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid var(--glass-border);
}

.lss-glow-ring-hover {
	transition: box-shadow 0.4s var(--ease-premium), transform 0.4s var(--ease-premium), border-color 0.4s var(--ease-premium);
}

.lss-glow-ring-hover:hover {
	box-shadow: 0 0 0 1px rgba(56, 209, 255, 0.45), 0 0 40px 0 rgba(46, 155, 255, 0.28), 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}

.lss-shine-sweep {
	position: relative;
	overflow: hidden;
}

.lss-shine-sweep::after {
	content: '';
	position: absolute;
	top: -50%;
	inset-inline-start: -60%;
	width: 40%;
	height: 200%;
	background: linear-gradient(75deg, transparent, rgba(255, 255, 255, 0.14), transparent);
	transform: skewX(-20deg) translateX(0);
	transition: transform 0.9s var(--ease-premium);
	pointer-events: none;
}

.lss-shine-sweep:hover::after {
	transform: skewX(-20deg) translateX(420%);
}

.lss-text-metallic {
	background: linear-gradient(180deg, #f4f6fa 0%, #dfe4ec 35%, #aab2c2 55%, #ffffff 60%, #8a94a6 100%);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.lss-text-brand {
	background: var(--grad-brand);
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

.lss-btn-glow {
	background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
	box-shadow: 0 0 24px rgba(46, 155, 255, 0.35);
	transition: box-shadow 0.35s var(--ease-premium), transform 0.35s var(--ease-premium);
}

.lss-btn-glow:hover {
	box-shadow: 0 0 40px rgba(56, 209, 255, 0.6);
	transform: translateY(-1px);
}

/* Reveal-on-scroll base state; JS toggles .is-visible via IntersectionObserver */
.lss-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s var(--ease-premium), transform 0.6s var(--ease-premium);
}

.lss-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.lss-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
