/**
 * TactNexa Homepage — Premium Additional Sections
 *
 * Applies only to sections rendered by front-page.php.
 * Uses design tokens defined in home.css.
 * Presentation only; no commerce or payment behavior.
 */

/* =========================================================
   Product Spotlight
   ========================================================= */

.tnx-home .tnx-spotlight {
	padding: 78px 0;
	background: linear-gradient(180deg, #f8fbff 0%, #f1f7ff 100%);
}

.tnx-home .tnx-spotlight__panel {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	align-items: center;
	gap: clamp(28px, 4vw, 66px);
	min-height: 460px;
	padding: clamp(28px, 5vw, 68px);
	overflow: hidden;
	border: 1px solid rgba(82, 215, 255, 0.18);
	border-radius: 24px;
	background:
		radial-gradient(ellipse at 80% 24%, rgba(39, 141, 255, 0.35), transparent 45%),
		linear-gradient(117deg, #031126 0%, #071e3b 54%, #0c3469 100%);
	box-shadow: 0 28px 65px rgba(3, 17, 38, 0.15);
}

.tnx-home .tnx-spotlight__panel::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(82, 215, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(82, 215, 255, 0.045) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: linear-gradient(90deg, transparent, #000);
}

.tnx-home .tnx-spotlight__panel::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: -145px;
	right: -145px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(82, 215, 255, 0.17);
	border-radius: 50%;
	box-shadow: 0 0 0 60px rgba(82, 215, 255, 0.035), 0 0 0 125px rgba(82, 215, 255, 0.018);
	pointer-events: none;
}

.tnx-home .tnx-spotlight__copy,
.tnx-home .tnx-spotlight__visual {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.tnx-home .tnx-spotlight__eyebrow {
	margin: 0 0 14px;
	color: #52d7ff;
	font-size: 0.76rem;
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.tnx-home .tnx-spotlight__heading {
	max-width: 550px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(2rem, 3.6vw, 3.2rem);
	font-weight: 850;
	line-height: 1.12;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.tnx-home .tnx-spotlight__intro {
	max-width: 500px;
	margin: 20px 0 0;
	color: #c6daef;
	font-size: 1rem;
	line-height: 1.7;
}

.tnx-home .tnx-spotlight__product-name {
	max-width: 520px;
	margin: 26px 0 0;
	color: #ffffff;
	font-size: clamp(1.07rem, 1.6vw, 1.32rem);
	font-weight: 780;
	line-height: 1.4;
}

.tnx-home .tnx-spotlight__description {
	max-width: 500px;
	margin: 10px 0 0;
	color: #bbd2eb;
	font-size: 0.93rem;
	line-height: 1.7;
}

.tnx-home .tnx-spotlight__price {
	margin-top: 16px;
	color: #ffffff;
	font-size: 1.42rem;
	font-weight: 850;
	line-height: 1.3;
}

.tnx-home .tnx-spotlight__price :is(.amount, bdi, ins) {
	color: inherit;
	font-weight: inherit;
}

.tnx-home .tnx-spotlight__price del {
	margin-right: 6px;
	color: #a3b9d1;
	font-size: 0.9rem;
	font-weight: 500;
}

.tnx-home .tnx-spotlight__price ins {
	text-decoration: none;
}

.tnx-home .tnx-spotlight__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 15px 22px;
	margin-top: 25px;
}

.tnx-home .tnx-spotlight__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 50px;
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	background: linear-gradient(120deg, #2689ff, #0872f6);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
	box-shadow: 0 10px 25px rgba(22, 119, 255, 0.25);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.tnx-home .tnx-spotlight__button:hover {
	transform: translateY(-2px);
	color: #ffffff;
	box-shadow: 0 15px 30px rgba(22, 119, 255, 0.34);
}

.tnx-home .tnx-spotlight__secondary {
	color: #d5eaff;
	font-size: 0.91rem;
	font-weight: 750;
	text-decoration: underline;
	text-decoration-color: rgba(213, 234, 255, 0.4);
	text-underline-offset: 5px;
}

.tnx-home .tnx-spotlight__secondary:hover {
	color: #52d7ff;
}

.tnx-home .tnx-spotlight__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.tnx-home .tnx-spotlight__image-link {
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 440px;
	aspect-ratio: 1 / 1;
	padding: clamp(16px, 2.5vw, 32px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 24px;
	background: radial-gradient(circle at 50% 25%, #ffffff, #edf4ff);
	box-shadow: 0 22px 55px rgba(0, 8, 25, 0.24);
	text-decoration: none;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.tnx-home .tnx-spotlight__image-link:hover {
	transform: translateY(-5px) rotate(-1deg);
	box-shadow: 0 28px 65px rgba(0, 8, 25, 0.31);
}

.tnx-home .tnx-spotlight__image {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	object-fit: contain;
	object-position: center;
}

/* =========================================================
   Store Benefits
   ========================================================= */

.tnx-home .tnx-home-benefits {
	padding: 82px 0 88px;
	background: #ffffff;
}

.tnx-home .tnx-home-benefits__header {
	max-width: 710px;
	margin: 0 auto 38px;
	text-align: center;
}

.tnx-home .tnx-home-benefits__eyebrow,
.tnx-home .tnx-home-faq__eyebrow {
	margin: 0 0 12px;
	color: #075fd7;
	font-size: 0.75rem;
	font-weight: 850;
	line-height: 1.5;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tnx-home .tnx-home-benefits__header h2,
.tnx-home .tnx-home-faq__intro h2 {
	margin: 0;
	color: #031126;
	font-size: clamp(1.9rem, 3.1vw, 2.7rem);
	font-weight: 850;
	line-height: 1.15;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.tnx-home .tnx-home-benefits__header > p:last-child,
.tnx-home .tnx-home-faq__intro > p:not(.tnx-home-faq__eyebrow) {
	margin: 14px 0 0;
	color: #60758c;
	font-size: 1rem;
	line-height: 1.7;
}

.tnx-home .tnx-home-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.tnx-home .tnx-home-benefits__card {
	position: relative;
	min-width: 0;
	padding: 30px;
	border: 1px solid #e0eaf7;
	border-radius: 18px;
	background: linear-gradient(145deg, #ffffff, #f8fbff);
	box-shadow: 0 10px 30px rgba(3, 17, 38, 0.04);
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.tnx-home .tnx-home-benefits__card:hover {
	transform: translateY(-4px);
	border-color: #b5d8ff;
	box-shadow: 0 18px 40px rgba(3, 17, 38, 0.085);
}

.tnx-home .tnx-home-benefits__icon {
	display: grid;
	place-items: center;
	width: 55px;
	height: 55px;
	margin-bottom: 23px;
	border: 1px solid #d3e8ff;
	border-radius: 16px;
	background: #eaf4ff;
	color: #0872f6;
}

.tnx-home .tnx-home-benefits__icon svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tnx-home .tnx-home-benefits__card h3 {
	margin: 0 0 11px;
	color: #061a36;
	font-size: 1.16rem;
	font-weight: 850;
	line-height: 1.3;
}

.tnx-home .tnx-home-benefits__card p {
	margin: 0;
	color: #60758c;
	font-size: 0.94rem;
	line-height: 1.75;
}

/* =========================================================
   Shopping FAQ
   ========================================================= */

.tnx-home .tnx-home-faq {
	padding: 80px 0 94px;
	border-top: 1px solid #e5eef9;
	background: linear-gradient(180deg, #f7faff, #eff6ff);
}

.tnx-home .tnx-home-faq__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.73fr) minmax(0, 1.27fr);
	align-items: start;
	gap: clamp(28px, 5vw, 78px);
}

.tnx-home .tnx-home-faq__intro {
	min-width: 0;
}

.tnx-home .tnx-home-faq__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 23px;
	color: #075fd7;
	font-size: 0.94rem;
	font-weight: 850;
	text-decoration: none;
}

.tnx-home .tnx-home-faq__contact-link:hover {
	color: #031126;
}

.tnx-home .tnx-home-faq__questions {
	display: grid;
	gap: 12px;
	min-width: 0;
}

.tnx-home .tnx-home-faq__item {
	min-width: 0;
	border: 1px solid #dce7f5;
	border-radius: 13px;
	background: #ffffff;
	box-shadow: 0 6px 18px rgba(3, 17, 38, 0.035);
}

.tnx-home .tnx-home-faq__item[open] {
	border-color: #a8d2ff;
	box-shadow: 0 10px 25px rgba(22, 119, 255, 0.07);
}

.tnx-home .tnx-home-faq__item summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 65px;
	padding: 17px 22px;
	list-style: none;
	color: #061a36;
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.5;
	cursor: pointer;
}

.tnx-home .tnx-home-faq__item summary::-webkit-details-marker {
	display: none;
}

.tnx-home .tnx-home-faq__item summary::after {
	content: "+";
	display: grid;
	place-items: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #e9f3ff;
	color: #075fd7;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1;
}

.tnx-home .tnx-home-faq__item[open] summary::after {
	content: "−";
}

.tnx-home .tnx-home-faq__item p {
	margin: 0;
	padding: 0 22px 22px;
	color: #526985;
	font-size: 0.94rem;
	line-height: 1.75;
}

.tnx-home :is(
	.tnx-spotlight__button,
	.tnx-spotlight__secondary,
	.tnx-spotlight__image-link,
	.tnx-home-faq__contact-link,
	.tnx-home-faq__item summary
):focus-visible {
	outline: 3px solid #52d7ff;
	outline-offset: 4px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 980px) {
	.tnx-home .tnx-spotlight,
	.tnx-home .tnx-home-benefits,
	.tnx-home .tnx-home-faq {
		padding-top: 64px;
		padding-bottom: 68px;
	}

	.tnx-home .tnx-spotlight__panel {
		gap: 24px;
		padding: 35px;
	}

	.tnx-home .tnx-home-benefits__grid {
		gap: 14px;
	}

	.tnx-home .tnx-home-benefits__card {
		padding: 24px;
	}
}

/* =========================================================
   Small Tablet / Mobile
   ========================================================= */

@media (max-width: 767px) {
	.tnx-home .tnx-spotlight__panel {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.tnx-home .tnx-spotlight__visual {
		justify-content: flex-start;
	}

	.tnx-home .tnx-spotlight__image-link {
		max-width: 420px;
	}

	.tnx-home .tnx-home-benefits__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.tnx-home .tnx-home-benefits__card {
		padding: 25px;
	}

	.tnx-home .tnx-home-faq__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 26px;
	}
}

@media (max-width: 600px) {
	.tnx-home .tnx-spotlight,
	.tnx-home .tnx-home-benefits,
	.tnx-home .tnx-home-faq {
		padding-top: 52px;
		padding-bottom: 56px;
	}

	.tnx-home .tnx-spotlight__panel {
		padding: 28px 21px;
		border-radius: 17px;
	}

	.tnx-home .tnx-spotlight__heading {
		font-size: clamp(1.8rem, 7.2vw, 2.45rem);
	}

	.tnx-home .tnx-spotlight__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.tnx-home .tnx-spotlight__button {
		width: 100%;
	}

	.tnx-home .tnx-spotlight__visual {
		justify-content: center;
	}

	.tnx-home .tnx-spotlight__image-link {
		max-width: 320px;
		border-radius: 16px;
	}

	.tnx-home .tnx-home-benefits__header {
		margin-bottom: 26px;
	}

	.tnx-home .tnx-home-faq__item summary {
		padding: 15px 17px;
		font-size: 0.93rem;
	}

	.tnx-home .tnx-home-faq__item p {
		padding: 0 17px 18px;
	}
}

/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
	.tnx-home .tnx-spotlight__button,
	.tnx-home .tnx-spotlight__image-link,
	.tnx-home .tnx-home-benefits__card {
		transition: none;
	}

	.tnx-home .tnx-spotlight__button:hover,
	.tnx-home .tnx-spotlight__image-link:hover,
	.tnx-home .tnx-home-benefits__card:hover {
		transform: none;
	}
}