/* Aadyanex homepage — real-time technology services showcase */

/* Break out of Spectra One contentSize (764px) constrained layout */
.home .entry-content.is-layout-constrained > .wp-block-shortcode,
.home .is-layout-constrained > .wp-block-shortcode,
.wp-site-blocks:has(.adyanex-tech-live) .entry-content,
.wp-site-blocks:has(.adyanex-tech-live) .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.adyanex-tech-live {
	--atl-accent: #0d9488;
	--atl-max: min(1280px, calc(100vw - 2.5rem));
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: clamp(3.5rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
	box-sizing: border-box;
	background: linear-gradient(165deg, #0c4a44 0%, #0f766e 35%, #134e4a 100%);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.home .adyanex-tech-live {
	padding-top: clamp(3rem, 6vw, 4.5rem);
}

.home:not(:has(.adyanex-hero)) .adyanex-tech-live {
	padding-top: calc(var(--adyanex-header-height, 98px) + clamp(10px, 1.5vw, 16px) + clamp(2.5rem, 5vw, 3.5rem));
}

.adyanex-tech-live__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.adyanex-tech-live__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

.adyanex-tech-live__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.35;
}

.adyanex-tech-live__glow--1 {
	width: 400px;
	height: 400px;
	top: -100px;
	right: -80px;
	background: var(--atl-accent);
	transition: background 0.6s ease;
}

.adyanex-tech-live__glow--2 {
	width: 320px;
	height: 320px;
	bottom: -80px;
	left: -60px;
	background: #2dd4bf;
	opacity: 0.2;
}

.adyanex-tech-live__inner {
	position: relative;
	z-index: 1;
	max-width: var(--atl-max);
	margin: 0 auto;
	width: 100%;
}

/* Header */
.adyanex-tech-live__header {
	text-align: center;
	max-width: 780px;
	margin: 0 auto clamp(2rem, 4vw, 2.75rem);
}

.adyanex-tech-live__live-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.adyanex-tech-live__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.65rem, 3.8vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #fff;
}

.adyanex-tech-live__subtitle {
	margin: 0 auto 1.5rem;
	font-size: clamp(0.95rem, 1.8vw, 1.08rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
}

.adyanex-tech-live__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: 900px;
	margin: 0 auto;
}

.adyanex-tech-live__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 100px;
	padding: 0.75rem 1.1rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(8px);
}

.adyanex-tech-live__stat strong {
	font-size: 1.4rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.adyanex-tech-live__stat span {
	font-size: 0.72rem;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 0.15rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Service tabs */
.adyanex-tech-live__tabs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.6rem;
	margin-bottom: 1.25rem;
}

.adyanex-tech-live__tabs > br,
.adyanex-tech-live button br,
.adyanex-tech-live__spotlight > br,
.adyanex-tech-live__main > br {
	display: none !important;
}

.adyanex-tech-live__tab {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.75rem 0.9rem;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.88);
	font: inherit;
	cursor: pointer;
	text-align: left;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.adyanex-tech-live__tab:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.28);
}

.adyanex-tech-live__tab.is-active {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.45);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	transform: translateY(-1px);
}

.adyanex-tech-live__tab-icon .adyanex-content-icon {
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
	color: #fff;
}

.adyanex-tech-live__tab-label {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.25;
}

/* Main layout — full-width spotlight */
.adyanex-tech-live__main {
	display: block;
	margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.adyanex-tech-live__spotlight {
	position: relative;
	display: block;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(12px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.adyanex-tech-live__spot {
	display: none;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	animation: adyanex-spot-in 0.45s ease;
}

.adyanex-tech-live__spot.is-active {
	display: flex;
}

@keyframes adyanex-spot-in {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.adyanex-tech-live__spot-head {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.adyanex-tech-live__spot-icon .adyanex-content-icon {
	width: 2.5rem;
	height: 2.5rem;
	color: #fff;
}

.adyanex-tech-live__spot-head h3 {
	margin: 0 0 0.25rem;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 700;
	color: #fff;
}

.adyanex-tech-live__spot-head p {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
}

.adyanex-tech-live__spot-body {
	margin-bottom: 1.25rem;
}

.adyanex-tech-live__spot-desc {
	margin: 0 0 1.35rem;
	font-size: clamp(0.92rem, 1.6vw, 1rem);
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.92);
	max-width: 920px;
}

.adyanex-tech-live__spot-label {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.adyanex-tech-live__spot-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
	margin-bottom: 1.35rem;
}

.adyanex-tech-live__spot-item {
	padding: 0.75rem 0.85rem;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.adyanex-tech-live__spot-item h5 {
	margin: 0 0 0.35rem;
	font-size: 0.88rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.3;
}

.adyanex-tech-live__spot-item p {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.adyanex-tech-live__spot-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.5rem 1rem;
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.adyanex-tech-live__spot-benefits li {
	position: relative;
	padding-left: 1rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.88);
}

.adyanex-tech-live__spot-benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--atl-accent);
	box-shadow: 0 0 6px var(--atl-accent);
}

.adyanex-tech-live__spot-faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	margin-bottom: 0.5rem;
}

.adyanex-tech-live__faq-item {
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	overflow: hidden;
}

.adyanex-tech-live__faq-item summary {
	padding: 0.65rem 0.8rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: #fff;
	cursor: pointer;
	list-style: none;
}

.adyanex-tech-live__faq-item summary::-webkit-details-marker {
	display: none;
}

.adyanex-tech-live__faq-item p {
	margin: 0;
	padding: 0 0.8rem 0.7rem;
	font-size: 0.78rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.75);
}

.adyanex-tech-live__spot-features {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.45rem 0.75rem;
}

.adyanex-tech-live__spot-features li {
	position: relative;
	padding-left: 1rem;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.85);
}

.adyanex-tech-live__spot-features li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--atl-accent);
	box-shadow: 0 0 8px var(--atl-accent);
}

.adyanex-tech-live__spot-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.75rem 1.35rem;
	border-radius: 999px;
	background: var(--adyanex-white, #fff);
	color: #0f766e;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.adyanex-tech-live__spot-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	color: #115e59;
}

/* Footer CTA */
.adyanex-tech-live__footer {
	text-align: center;
}

.adyanex-tech-live__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.85rem 1.6rem;
	border-radius: 999px;
	border: 2px solid rgba(255, 255, 255, 0.6);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.adyanex-tech-live__cta:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff;
}

@media (max-width: 1100px) {
	.adyanex-tech-live__tabs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.adyanex-tech-live__spot-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.adyanex-tech-live__spot-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.adyanex-tech-live__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.adyanex-tech-live__spot-faq {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.adyanex-tech-live__tabs {
		grid-template-columns: 1fr;
	}

	.adyanex-tech-live__spot-grid,
	.adyanex-tech-live__spot-benefits {
		grid-template-columns: 1fr;
	}

	.adyanex-tech-live__stats {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.adyanex-tech-live__spot {
		animation: none;
	}
}
