/* SECTION */
.sm-interface {
	position: relative;
	padding: clamp(80px, 10vw, 120px) 16px;
	background:
		radial-gradient(circle at top, rgba(10, 46, 180, 0.15), transparent 60%),
		linear-gradient(180deg, #020617, #020617);
	overflow: hidden;
	color: #fff;
}
.sm-interface__laptop {
	position: absolute;
	top: -12%;
	left: -15.5%;
	width: 130%;
	max-width: 1200px;
	z-index: 1;
}
.sm-interface__laptop img {
	width: 100%;
	height: auto;
	display: block;
}

/* CONTAINER */
.sm-interface__container {
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: 60px;
	align-items: center;
}

/* TEXT */
.sm-interface__title {
	font-size: 36px;
	font-weight: 800;
	line-height: 1.1;
	margin-bottom: 16px;
	opacity: 0;
	color: #fff;
	transform: translateY(30px);
}

.sm-interface__subtitle {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #cbd5e1;
	max-width: 520px;
	margin-bottom: 32px;
	opacity: 0;
	transform: translateY(30px);
}

/* ACTIONS */
.sm-interface__actions {
	display: flex;
	gap: 18px;
	opacity: 0;
	transform: translateY(30px);
}

.btn-primary {
	background: var(--accent-gradiant);
	color: #fff;
	padding: 12px 25px;
	border-radius: 9px;
	font-weight: 600;
	/* box-shadow: 0 15px 35px rgba(92, 113, 246, 0.35); */
	text-decoration: none;

	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 7px 14px -1px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
	color: #e5e7eb;
	background: transparent;
	text-decoration: none;
	font-weight: 500;
	padding: 12px 8px;
	position: relative;
}

.btn-secondary::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 6px;
	width: 0%;
	height: 2px;
	background: #007aff;
	transition: width 0.3s ease;
}

.btn-secondary:hover::after {
	width: 100%;
}

/* DASHBOARD PREVIEW */
.sm-interface__preview {
	position: relative;
	border-radius: 22px;

	box-shadow:
		0 40px 80px rgba(0, 0, 0, 0.6),
		inset 0 0 0 1px rgba(255, 255, 255, 0.08);
	transform: translateY(40px) scale(0.96);
	opacity: 0;
	transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sm-interface__preview::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.08),
		transparent 40%
	);
	pointer-events: none;
	z-index: 2;
}

.sm-interface__video {
	width: 100%;
	height: auto;
	display: block;
}

/* SHOW STATE */
.sm-interface.show .sm-interface__title,
.sm-interface.show .sm-interface__subtitle,
.sm-interface.show .sm-interface__actions {
	opacity: 1;
	transform: translateY(0);
	transition: all 0.8s ease;
}

.sm-interface.show .sm-interface__subtitle {
	transition-delay: 0.15s;
}

.sm-interface.show .sm-interface__actions {
	transition-delay: 0.3s;
}

.sm-interface.show .sm-interface__preview {
	opacity: 1;
	transform: translateY(0) scale(1);
	transition-delay: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 900px) {
	.sm-interface__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.sm-interface__subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.sm-interface__actions {
		justify-content: center;
	}
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		transform: none !important;
	}
}
