/* WMA AI Process Automation — additions to Home V2 design system */

.wma-apa__hero .wma-v2__hero-copy h1 span {
	display: block;
	margin-top: 10px;
}

.wma-apa__principle {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: -4px 0 30px !important;
	color: #fff !important;
	font-size: 15px !important;
}

.wma-apa__principle > span {
	width: 9px;
	height: 9px;
	flex: 0 0 9px;
	border-radius: 50%;
	background: var(--wma-green);
	box-shadow: 0 0 0 7px rgba(43,224,19,.12);
}

/* Hero process visual */

.wma-apa__hero-process {
	position: relative;
	padding: 32px;
	border: 1px solid rgba(255,255,255,.23);
	border-radius: 30px;
	background: linear-gradient(155deg, rgba(255,255,255,.20), rgba(255,255,255,.075));
	box-shadow: 0 32px 100px rgba(18,0,72,.34);
	backdrop-filter: blur(18px);
}

.wma-apa__visual-label {
	margin: 0 0 20px !important;
	text-align: center;
	color: rgba(255,255,255,.66) !important;
	font-size: 11px !important;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.wma-apa__systems,
.wma-apa__outputs {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 8px;
}

.wma-apa__systems span,
.wma-apa__outputs span {
	display: grid;
	place-items: center;
	min-height: 48px;
	padding: 8px;
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 13px;
	background: rgba(255,255,255,.08);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}

.wma-apa__flow-line {
	position: relative;
	height: 56px;
	display: flex;
	justify-content: center;
}

.wma-apa__flow-line::before {
	content: "";
	width: 1px;
	height: 100%;
	background: linear-gradient(to bottom, rgba(255,255,255,.12), var(--wma-green), rgba(255,255,255,.12));
}

.wma-apa__flow-line i {
	position: absolute;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--wma-green);
	box-shadow: 0 0 12px rgba(43,224,19,.9);
	animation: wma-apa-flow 2.4s linear infinite;
}

.wma-apa__flow-line i:nth-child(2) { animation-delay: .8s; }
.wma-apa__flow-line i:nth-child(3) { animation-delay: 1.6s; }

.wma-apa__process-core {
	padding: 27px 20px;
	border: 1px solid rgba(43,224,19,.42);
	border-radius: 21px;
	text-align: center;
	background: linear-gradient(145deg, rgba(7,21,47,.95), rgba(19,39,86,.92));
	box-shadow: 0 22px 55px rgba(0,0,0,.22);
}

.wma-apa__process-core small,
.wma-apa__process-core strong,
.wma-apa__process-core span {
	display: block;
}

.wma-apa__process-core small {
	color: var(--wma-green);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: .18em;
}

.wma-apa__process-core strong {
	margin-top: 5px;
	color: #fff;
	font-size: 29px;
	letter-spacing: -.04em;
}

.wma-apa__process-core span {
	margin-top: 6px;
	color: rgba(255,255,255,.60);
	font-size: 12px;
}

.wma-apa__proof-focus {
	background: linear-gradient(135deg,#f4fff2,#f5f8ff);
}

/* Process layer */

.wma-apa__layer-grid {
	display: grid;
	grid-template-columns: 1fr 55px 1.18fr 55px 1fr;
	gap: 15px;
	align-items: center;
	padding: 36px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 30px;
	background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
}

.wma-apa__layer-grid > div > small {
	display: block;
	margin-bottom: 12px;
	text-align: center;
	color: rgba(255,255,255,.48);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: .13em;
}

.wma-apa__pills {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 8px;
}

.wma-apa__pills span {
	min-height: 46px;
	display: grid;
	place-items: center;
	padding: 8px;
	border: 1px solid rgba(255,255,255,.11);
	border-radius: 12px;
	background: rgba(255,255,255,.06);
	color: rgba(255,255,255,.78);
	font-size: 12px;
	font-weight: 700;
}

.wma-apa__pills--green span {
	border-color: rgba(43,224,19,.18);
	background: rgba(43,224,19,.055);
}

.wma-apa__layer-arrow {
	text-align: center;
	color: var(--wma-green);
	font-size: 28px;
}

.wma-apa__layer-core {
	padding: 30px;
	border: 1px solid rgba(43,224,19,.42);
	border-radius: 23px;
	background: linear-gradient(145deg,#102657,#172f69);
	box-shadow: 0 26px 68px rgba(0,0,0,.24);
}

.wma-apa__layer-core > small {
	text-align: left !important;
	color: var(--wma-green) !important;
}

.wma-apa__layer-core > strong {
	display: block;
	margin-bottom: 20px;
	color: #fff;
	font-size: 33px;
	line-height: 1.02;
	letter-spacing: -.04em;
}

.wma-apa__layer-core ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 7px;
}

.wma-apa__layer-core li {
	position: relative;
	padding-left: 16px;
	color: rgba(255,255,255,.70);
	font-size: 13px;
}

.wma-apa__layer-core li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--wma-green);
}

.wma-apa__layer-note {
	max-width: 760px;
	margin: 30px auto 0 !important;
	text-align: center;
	font-size: 15px !important;
}

/* Lead operations */

.wma-apa__lead-flow {
	display: grid;
	grid-template-columns: 1fr 24px 1fr 24px 1.1fr 24px 1fr 24px 1fr 24px 1fr 24px 1.05fr;
	align-items: stretch;
}

.wma-apa__lead-flow > div {
	min-width: 0;
	padding: 20px 12px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border: 1px solid var(--wma-line);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(20,33,61,.04);
}

.wma-apa__lead-flow small {
	margin-bottom: 11px;
	color: var(--wma-green-dark);
	font-size: 9px;
	font-weight: 900;
}

.wma-apa__lead-flow strong {
	color: var(--wma-ink);
	font-size: 14px;
	line-height: 1.15;
}

.wma-apa__lead-flow span {
	margin-top: 5px;
	color: var(--wma-muted);
	font-size: 10px;
	line-height: 1.35;
}

.wma-apa__lead-flow > i {
	display: grid;
	place-items: center;
	color: #aab4c2;
	font-style: normal;
}

.wma-apa__lead-ai {
	border-color: rgba(21,71,255,.25) !important;
	background: linear-gradient(145deg,#f0f4ff,#f9f6ff) !important;
}

.wma-apa__lead-human {
	border-color: rgba(43,224,19,.38) !important;
	background: linear-gradient(145deg,#f5fff3,#fff) !important;
}

.wma-apa__callout {
	max-width: 880px;
	margin: 38px auto 0;
	padding: 25px 28px;
	border: 1px solid rgba(21,71,255,.12);
	border-radius: 19px;
	background: linear-gradient(135deg,#fff,#f3f6ff);
}

.wma-apa__callout > strong {
	display: block;
	margin-bottom: 7px;
	color: var(--wma-ink);
	font-size: 17px;
}

.wma-apa__callout p {
	margin: 0;
	font-size: 15px;
}

/* Integration */

.wma-apa__related {
	display: grid;
	gap: 6px;
	margin-top: 28px;
}

.wma-apa__related a {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--wma-line);
	color: var(--wma-ink) !important;
	font-size: 14px;
	font-weight: 700;
}

.wma-apa__related span {
	color: var(--wma-green-dark);
}

.wma-apa__stack {
	position: relative;
	min-height: 470px;
	border: 1px solid var(--wma-line);
	border-radius: 29px;
	background: radial-gradient(circle at center,rgba(21,71,255,.10),transparent 35%),linear-gradient(145deg,#f8faff,#f3f6fb);
	box-shadow: var(--wma-shadow);
}

.wma-apa__stack::before,
.wma-apa__stack::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	border: 1px solid rgba(21,71,255,.10);
	border-radius: 50%;
}

.wma-apa__stack::before { width: 320px; height: 320px; }
.wma-apa__stack::after { width: 210px; height: 210px; }

.wma-apa__stack-core {
	position: absolute;
	z-index: 3;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 145px;
	height: 145px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: linear-gradient(145deg,var(--wma-navy),#17366f);
	box-shadow: 0 22px 60px rgba(7,21,47,.24);
}

.wma-apa__stack-core small {
	color: var(--wma-green);
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .13em;
}

.wma-apa__stack-core strong {
	color: #fff;
	font-size: 26px;
}

.wma-apa__stack > span {
	position: absolute;
	z-index: 2;
	min-width: 90px;
	padding: 11px 13px;
	border: 1px solid #dce4ef;
	border-radius: 13px;
	text-align: center;
	background: #fff;
	color: var(--wma-ink);
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 8px 24px rgba(20,33,61,.07);
}

.wma-apa__stack .s1 { top: 12%; left: 15%; }
.wma-apa__stack .s2 { top: 12%; right: 15%; }
.wma-apa__stack .s3 { top: 43%; left: 5%; }
.wma-apa__stack .s4 { top: 43%; right: 5%; }
.wma-apa__stack .s5 { bottom: 12%; left: 13%; }
.wma-apa__stack .s6 { bottom: 12%; right: 13%; }

/* Fit */

.wma-apa__fit {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 22px;
	max-width: 1040px;
	margin: 0 auto;
}

.wma-apa__fit-card {
	padding: 36px;
	border: 1px solid var(--wma-line);
	border-radius: 24px;
}

.wma-apa__fit-card--yes {
	background: linear-gradient(145deg,#f3fff1,#fff);
	border-color: #d2edcf;
}

.wma-apa__fit-card--no {
	background: linear-gradient(145deg,#fff7f3,#fff);
	border-color: #efddd5;
}

.wma-apa__fit-card h3 {
	font-size: 27px;
}

.wma-apa__fit-card ul {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.wma-apa__fit-card li {
	position: relative;
	padding-left: 19px;
	color: var(--wma-muted);
	font-size: 15px;
	line-height: 1.5;
}

.wma-apa__fit-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wma-green);
}

.wma-apa__fit-card--no li::before {
	background: #d79079;
}

/* Why / delivery */

.wma-apa__why {
	display: grid;
	grid-template-columns: .9fr 1.1fr;
	gap: 80px;
	align-items: center;
}

.wma-apa__delivery {
	padding: 27px;
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 27px;
	background: linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
}

.wma-apa__delivery .wma-v2__card-kicker {
	color: var(--wma-green) !important;
}

.wma-apa__delivery article {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	padding: 22px 0;
	border-bottom: 1px solid rgba(255,255,255,.10);
}

.wma-apa__delivery article:last-child {
	border-bottom: 0;
}

.wma-apa__delivery article > span {
	color: var(--wma-green);
	font-size: 11px;
	font-weight: 900;
}

.wma-apa__delivery h3 {
	color: #fff;
	font-size: 20px;
}

.wma-apa__delivery p {
	margin-bottom: 0;
	color: rgba(255,255,255,.60);
	font-size: 14px;
	line-height: 1.5;
}

/* FAQ */

.wma-apa__faq {
	max-width: 920px;
	margin: 0 auto;
	display: grid;
	gap: 10px;
}

.wma-apa__faq details {
	border: 1px solid var(--wma-line);
	border-radius: 16px;
	background: #fff;
}

.wma-apa__faq summary {
	padding: 22px 24px;
	cursor: pointer;
	color: var(--wma-ink);
	font-size: 17px;
	font-weight: 800;
}

.wma-apa__faq details p {
	padding: 0 24px 22px;
	margin: 0;
	font-size: 15px;
}

.wma-apa__assessment {
	margin: 30px auto 0 !important;
	text-align: center;
	font-size: 14px !important;
}

.wma-apa__assessment a {
	color: var(--wma-green-dark) !important;
	font-weight: 800;
}

/* Responsive */

@media (max-width:1180px) {
	.wma-apa__lead-flow {
		grid-template-columns: repeat(4,1fr);
		gap: 10px;
	}
	.wma-apa__lead-flow > i {
		display:none;
	}
}

@media (max-width:980px) {
	.wma-apa__layer-grid {
		grid-template-columns:1fr;
	}
	.wma-apa__layer-arrow {
		transform:rotate(90deg);
	}
	.wma-apa__pills {
		grid-template-columns:repeat(3,1fr);
	}
	.wma-apa__why {
		grid-template-columns:1fr;
		gap:50px;
	}
}

@media (max-width:820px) {
	.wma-apa__hero-process {
		max-width:620px;
	}
}

@media (max-width:620px) {
	.wma-apa__systems,
	.wma-apa__outputs {
		grid-template-columns:repeat(2,1fr);
	}
	.wma-apa__pills {
		grid-template-columns:repeat(2,1fr);
	}
	.wma-apa__lead-flow,
	.wma-apa__fit {
		grid-template-columns:1fr;
	}
	.wma-apa__stack {
		min-height:430px;
	}
}

@keyframes wma-apa-flow {
	0% { top:4px; opacity:0; }
	15% { opacity:1; }
	85% { opacity:1; }
	100% { top:calc(100% - 5px); opacity:0; }
}

@media (prefers-reduced-motion:reduce) {
	.wma-apa__flow-line i {
		animation:none !important;
	}
}

/* ==========================================================
   WMA APA v1.1 — visual refinement
   ========================================================== */

/* More presence for the core category visual */
.wma-apa__layer-grid {
	padding: 42px;
}

.wma-apa__layer-core {
	padding: 36px 32px;
	transform: scale(1.025);
}

.wma-apa__layer-core > strong {
	font-size: 37px;
}


/* Denser use-case cards */
.wma-apa .wma-v2__cards .wma-v2__card {
	min-height: 220px;
	padding: 27px 29px;
}

.wma-apa .wma-v2__cards .wma-v2__card h3 {
	font-size: 25px;
	margin-bottom: 10px;
}

.wma-apa .wma-v2__cards .wma-v2__card p:not(.wma-v2__card-kicker) {
	font-size: 15px;
	line-height: 1.58;
}


/* AI Lead Operations: make it feel like a key product flow */
.wma-apa__lead-flow {
	gap: 0;
}

.wma-apa__lead-flow > div {
	min-height: 126px;
	padding: 22px 14px;
}

.wma-apa__lead-flow strong {
	font-size: 15px;
}

.wma-apa__lead-flow span {
	font-size: 11px;
}

.wma-apa__lead-ai {
	position: relative;
	transform: translateY(-5px);
	box-shadow: 0 16px 38px rgba(21,71,255,.13) !important;
}

.wma-apa__lead-ai::before {
	content: "AI";
	position: absolute;
	top: -10px;
	right: 10px;
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--wma-blue);
	color: #fff;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .08em;
}

.wma-apa__lead-human {
	position: relative;
	transform: translateY(-5px);
	box-shadow: 0 16px 38px rgba(43,224,19,.11) !important;
}

.wma-apa__lead-human::before {
	content: "HUMAN";
	position: absolute;
	top: -10px;
	right: 10px;
	padding: 4px 7px;
	border-radius: 999px;
	background: var(--wma-green);
	color: #073900;
	font-size: 8px;
	font-weight: 900;
	letter-spacing: .08em;
}


/* Integration diagram */
.wma-apa__stack {
	min-height: 500px;
}

.wma-apa__stack-core {
	width: 158px;
	height: 158px;
}

.wma-apa__stack-core strong {
	font-size: 28px;
}


/* FAQ — bring it to the same visual level as the rest */
.wma-apa__faq {
	max-width: 960px;
	gap: 12px;
}

.wma-apa__faq details {
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 8px 26px rgba(20,33,61,.035);
	transition:
		border-color .2s ease,
		box-shadow .2s ease;
}

.wma-apa__faq details[open] {
	border-color: rgba(21,71,255,.18);
	box-shadow: 0 12px 34px rgba(20,33,61,.06);
}

.wma-apa__faq summary {
	position: relative;
	padding: 23px 58px 23px 25px;
	list-style: none;
}

.wma-apa__faq summary::-webkit-details-marker {
	display: none;
}

.wma-apa__faq summary::after {
	content: "+";
	position: absolute;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #f2f5fa;
	color: var(--wma-green-dark);
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
}

.wma-apa__faq details[open] summary::after {
	content: "–";
	background: #efffed;
}

.wma-apa__faq details p {
	max-width: 800px;
	padding-right: 58px;
}


/* Slightly stronger section rhythm */
.wma-apa .wma-v2__section-head {
	margin-bottom: 52px;
}

@media (max-width: 1180px) {
	.wma-apa__lead-flow {
		grid-template-columns: repeat(4,1fr);
		gap: 14px;
	}

	.wma-apa__lead-flow > div {
		min-height: 120px;
	}

	.wma-apa__lead-ai,
	.wma-apa__lead-human {
		transform: none;
	}
}

@media (max-width: 620px) {
	.wma-apa__layer-grid {
		padding: 25px;
	}

	.wma-apa__layer-core {
		transform: none;
		padding: 29px 25px;
	}

	.wma-apa__lead-flow {
		grid-template-columns: 1fr;
	}

	.wma-apa__lead-flow > div {
		min-height: auto;
	}

	.wma-apa .wma-v2__cards .wma-v2__card {
		min-height: 0;
	}

	.wma-apa__faq details p {
		padding-right: 24px;
	}
}
