/* ============================================================
   LM Hero Section — Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* === Wrapper === */
.lm-hero-wrapper {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 100px 40px 80px;
	background-color: #0d0d0d;
	font-family: 'DM Sans', sans-serif;
}

/* === Noise Texture Overlay === */
.lm-hero-noise {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
	pointer-events: none;
	z-index: 0;
}

/* === Ambient Glows === */
.lm-hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
	z-index: 0;
}
.lm-hero-glow--1 {
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
}
.lm-hero-glow--2 {
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
	bottom: 40px;
	right: 10%;
}

/* === Content === */
.lm-hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
/* ============================================================
   LM Hero Section — Premium Aesthetics
   ============================================================ */

.lm-hero-wrapper {
	position: relative;
	background-color: #0d0d0d;
	padding: 140px 40px;
	overflow: hidden;
	color: #ffffff;
	font-family: 'DM Sans', sans-serif;
}

/* Ambient Background Elements */
.lm-hero-glow {
	position: absolute;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(108,99,255,0.15) 0%, transparent 70%);
	filter: blur(80px);
	z-index: 0;
	pointer-events: none;
	animation: lmGlowMove 15s infinite alternate ease-in-out;
}
.lm-hero-glow--1 { top: -100px; right: -100px; }
.lm-hero-glow--2 { bottom: -200px; left: -200px; background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%); animation-delay: -5s; }

.lm-hero-noise {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.05;
	background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
	pointer-events: none;
}

/* ============================================================
   LM Hero Section — Motion & Atmosphere Layer
   ============================================================ */

.lm-hero-wrapper {
	background-color: #0d0d0d;
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	padding: 100px 40px 80px;
	overflow: hidden;
	font-family: 'DM Sans', sans-serif;
	z-index: 1;
}

/* Common pulsing and floating classes */
.lm-pulsing {
	animation: lm-pulse-glow 5s ease-in-out infinite;
}
.lm-floating {
	animation: lm-float 6s ease-in-out infinite;
}

/* Noise overlay */
.lm-hero-noise {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.04;
	background-image: url('https://grainy-gradients.vercel.app/noise.svg');
	pointer-events: none;
}

/* Glow orbs */
.lm-hero-glow {
	position: absolute;
	width: 50vw;
	height: 50vw;
	border-radius: 50%;
	filter: blur(140px);
	z-index: 0;
	pointer-events: none;
}
.lm-hero-glow--1 {
	top: -20%;
	right: -10%;
	background: radial-gradient(circle, rgba(108,99,255,0.18) 0%, transparent 70%);
}
.lm-hero-glow--2 {
	bottom: -20%;
	left: -10%;
	background: radial-gradient(circle, rgba(0,212,170,0.1) 0%, transparent 70%);
}

/* Content Area */
.lm-hero-content {
	position: relative;
	z-index: 10;
	max-width: 800px;
	flex: 1;
}

/* Badge */
.lm-hero-badge-wrap {
	margin-bottom: 28px;
}
.lm-hero-badge {
	display: inline-flex;
	padding: 8px 18px;
	background: rgba(108,99,255,0.12);
	border: 1px solid rgba(108,99,255,0.3);
	border-radius: 100px;
	color: #a89dff;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	position: relative;
}
.lm-pulsing-glow {
	animation: lm-badge-glow 3s ease-in-out infinite;
}

/* Heading */
.lm-hero-heading {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(3rem, 8vw, 6.2rem);
	font-weight: 700;
	color: #ffffff;
	line-height: 0.95;
	letter-spacing: -0.04em;
	margin: 0 0 24px;
}

.lm-hero-subtitle {
	font-size: 18px;
	color: #9ca3af;
	line-height: 1.6;
	max-width: 600px;
	margin-bottom: 40px;
}

/* Buttons */
.lm-hero-buttons {
	display: flex;
	gap: 16px;
	margin-bottom: 60px;
	flex-wrap: wrap;
}
.lm-hero-btn {
	padding: 18px 36px;
	border-radius: 100px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lm-hero-btn--primary, .lm-hero-btn-primary {
	background: #6c63ff;
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(108,99,255,0.3);
}
.lm-hero-btn-primary:hover {
	background: #8b84ff;
	transform: translateY(-4px) scale(1.04);
	box-shadow: 0 20px 40px rgba(108,99,255,0.5);
}
.lm-hero-btn-secondary {
	border: 1px solid rgba(255,255,255,0.2);
	color: #ffffff;
}
.lm-hero-btn-secondary:hover {
	background: rgba(255,255,255,0.08);
	border-color: #ffffff;
	transform: translateY(-2px);
}

/* Trust Row */
.lm-hero-trust-row {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
}
.lm-trust-item {
	display: flex;
	align-items: center;
	gap: 10px;
}
.lm-trust-icon { color: #6c63ff; font-size: 18px; transition: transform 0.5s ease; }
.lm-trust-item:hover .lm-trust-icon { transform: rotate(360deg); }
.lm-trust-label { color: #9ca3af; font-size: 14px; font-weight: 500; }

/* Visual Area */
.lm-hero-image-wrap {
	position: relative;
	flex: 0 0 45%;
	display: flex;
	justify-content: center;
	z-index: 5;
}
.lm-hero-image-wrap img {
	width: 100%;
	height: auto;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 40px 80px rgba(0,0,0,0.5);
	animation: lmImageFloat 6s infinite ease-in-out;
}
.lm-hero-image-wrap img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}
.lm-hero-image-wrap:hover img {
	transform: scale(1.05);
}

/* Animations */
@keyframes lmGlowMove {
	0% { transform: translate(0, 0); }
	100% { transform: translate(50px, 50px); }
}
@keyframes lmBadgeRotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
@keyframes lmImageFloat {
	0%, 100% { transform: translateY(0) rotateY(0deg); }
	50% { transform: translateY(-20px) rotateY(5deg); }
}

/* Responsive */
@media (max-width: 991px) {
	.lm-hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
	.lm-hero-content { align-items: center; }
	.lm-hero-subtitle { margin: 0 auto 32px; }
	.lm-hero-btns { justify-content: center; }
	.lm-hero-trust { justify-content: center; }
}
@media (max-width: 768px) {
	.lm-hero-wrapper { padding: 100px 20px 80px; }
}
	align-items: center;
	gap: 8px;
}
.lm-trust-icon {
	color: #6c63ff;
	font-size: 16px;
	line-height: 1;
}
.lm-trust-label {
	font-size: 14px;
	color: #9ca3af;
	font-weight: 500;
}

/* === Hero Image === */
.lm-hero-image-wrap {
	position: relative;
	z-index: 1;
	margin-top: 60px;
	width: 100%;
	text-align: center;
}
.lm-hero-image-glow {
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 80px;
	background: radial-gradient(ellipse, rgba(108,99,255,0.25) 0%, transparent 70%);
	filter: blur(20px);
	pointer-events: none;
}
.lm-hero-image-wrap img {
	max-width: 90%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
	display: inline-block;
}

/* === Placeholder Mockup (when no image is set) === */
.lm-hero-mockup {
	max-width: 760px;
	width: 100%;
	margin: 0 auto;
	background: #1a1a2e;
	border-radius: 14px;
	border: 1px solid rgba(108,99,255,0.25);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 60px rgba(108,99,255,0.08);
}
.lm-mockup-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 12px 18px;
	background: #111127;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lm-mockup-bar span {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
}
.lm-mockup-bar span:first-child  { background: #ff5f57; }
.lm-mockup-bar span:nth-child(2) { background: #febc2e; }
.lm-mockup-bar span:last-child   { background: #28c840; }

.lm-mockup-content {
	padding: 24px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.lm-mockup-line {
	height: 10px;
	border-radius: 8px;
	background: rgba(255,255,255,0.07);
}
.lm-mockup-line--wide   { width: 60%; }
.lm-mockup-line--medium { width: 40%; }
.lm-mockup-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin-top: 8px;
}
.lm-mockup-card {
	height: 90px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(0,212,170,0.06) 100%);
	border: 1px solid rgba(108,99,255,0.15);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
	.lm-hero-wrapper {
		padding: 70px 24px 60px;
	}
	.lm-hero-mockup { max-width: 100%; }
	.lm-mockup-grid { grid-template-columns: repeat(2, 1fr); }
	.lm-hero-trust-row { gap: 16px 24px; }
}
@media (max-width: 480px) {
	.lm-hero-buttons { flex-direction: column; align-items: center; }
	.lm-hero-btn { width: 100%; max-width: 300px; justify-content: center; }
	.lm-mockup-grid { grid-template-columns: 1fr; }
}
