/**
 * Nikolas X Core — Elementor widget front-end styles
 */

.nx-widget-empty {
	padding: 1.25rem 1.5rem;
	border: 1px dashed #e5e7eb;
	border-radius: 12px;
	background: #f7f8fc;
	color: #6b7280;
	font-size: 0.875rem;
}

.nx-widget-empty p {
	margin: 0;
}

/* Hero */
.nx-hero {
	display: flex;
	align-items: center;
	padding: 4.5rem 0 3.5rem;
	background:
		radial-gradient(ellipse 80% 60% at 70% 20%, rgba(79, 70, 255, 0.22), transparent 55%),
		radial-gradient(ellipse 50% 40% at 10% 80%, rgba(124, 58, 237, 0.16), transparent 50%),
		#05070d;
	color: #f9fafb;
}

.nx-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 3rem;
	align-items: center;
	width: min(100% - 3rem, 72.5rem);
}

.nx-hero__title {
	margin: 0 0 1rem;
	color: #fff;
}

.nx-hero__desc {
	margin: 0 0 1.75rem;
	max-width: 34rem;
	color: rgba(249, 250, 251, 0.72);
}

.nx-hero__media {
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #0b1020;
}

.nx-hero__media img {
	width: 100%;
	height: auto;
	display: block;
}

/* Feature / product / blog sections */
.nx-feature-grid,
.nx-product-grid,
.nx-blog-grid,
.nx-faq {
	padding: 4.5rem 0;
}

.nx-feature-grid .nx-card--feature {
	height: 100%;
}

.nx-card__media--placeholder {
	background:
		linear-gradient(135deg, rgba(79, 70, 255, 0.12), rgba(124, 58, 237, 0.12)),
		#f7f8fc;
	min-height: 10rem;
}

/* CTA */
.nx-cta {
	padding: 4rem 0;
}

.nx-cta--dark {
	background: #0b1020;
	color: #f9fafb;
}

.nx-cta--light {
	background: #f7f8fc;
	color: #111827;
}

.nx-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: min(100% - 3rem, 72.5rem);
	margin-inline: auto;
}

.nx-cta__title {
	margin: 0 0 0.5rem;
}

.nx-cta__text {
	margin: 0;
	max-width: 34rem;
	opacity: 0.8;
}

/* Stats */
.nx-stats__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 3rem;
	align-items: center;
}

.nx-stats .nx-lead {
	color: rgba(249, 250, 251, 0.7);
}

.nx-stats__item {
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 1rem;
	background: rgba(5, 7, 13, 0.35);
}

.nx-stats__value {
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #fff;
}

.nx-stats__label {
	margin-top: 0.35rem;
	font-size: 0.875rem;
	color: rgba(249, 250, 251, 0.65);
}

/* Testimonial */
.nx-testimonial {
	margin: 0 auto;
	max-width: 42rem;
	padding: 2rem;
	text-align: center;
}

.nx-testimonial__quote {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.6;
	font-weight: 500;
}

.nx-testimonial__meta {
	margin-top: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: #6b7280;
	font-size: 0.875rem;
}

/* Product hero */
.nx-product-hero {
	padding: 3.5rem 0;
	background: #f7f8fc;
}

.nx-product-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 2.5rem;
	align-items: center;
	width: min(100% - 3rem, 72.5rem);
	margin-inline: auto;
}

.nx-product-hero__price {
	margin: 0 0 1.25rem;
	font-size: 1.75rem;
	font-weight: 700;
}

.nx-product-hero__media img,
.nx-product-hero__media .nx-card__media--placeholder {
	border-radius: 1rem;
	width: 100%;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.nx-product-hero__media .nx-card__media--placeholder {
	min-height: 16rem;
}

.nx-breadcrumbs-wrap {
	padding: 1rem 0;
}

.nx-breadcrumbs-wrap .nx-breadcrumbs {
	width: min(100% - 3rem, 72.5rem);
	margin-inline: auto;
}

@media (max-width: 1023.98px) {
	.nx-hero__inner,
	.nx-stats__inner,
	.nx-product-hero__inner {
		grid-template-columns: 1fr;
	}

	.nx-hero {
		padding-top: 3rem;
	}

	.nx-hero__media {
		order: -1;
	}
}

/* Phase 4 product detail widgets */
.nx-product-features__list,
.nx-product-compatibility__list,
.nx-product-highlights__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.nx-product-features__list li,
.nx-product-compatibility__list li,
.nx-product-highlights__list li {
	position: relative;
	padding-left: 1.75rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

.nx-product-features__list li::before,
.nx-product-highlights__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	width: 1rem;
	height: 1rem;
	border-radius: 999px;
	background: rgba(79, 70, 255, 0.12);
	box-shadow: inset 0 0 0 2px #4f46ff;
}

.nx-product-highlights {
	padding: 2rem 0;
}

.nx-product-highlights__list {
	grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	gap: 1rem;
}

.nx-product-screenshots__item {
	margin: 0;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	background: #fff;
}

.nx-product-screenshots__item img {
	width: 100%;
	height: auto;
	display: block;
}

.nx-product-price {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.nx-related-products {
	padding: 4rem 0;
}
