/* 首页社交证明 · Agent 画廊 · 成功案例墙 */
.lx-sp {
	--sp-cyan: #00fff0;
	--sp-pink: #ff2bd6;
	--sp-violet: #8b5cff;
	--sp-yellow: #f9f871;
	--sp-text: #e8f7ff;
	--sp-muted: rgba(200, 230, 255, 0.65);
	--sp-panel: rgba(8, 12, 28, 0.72);
	--sp-line: rgba(0, 255, 240, 0.28);
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto 28px;
	padding: 0 16px 8px;
	color: var(--sp-text);
	font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* Hero stats override — clickable + glow */
.lx-cx-stats {
	pointer-events: auto !important;
}
.lx-cx-stat {
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	text-decoration: none !important;
	color: inherit;
	display: block;
}
a.lx-cx-stat:hover,
.lx-cx-stat:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 255, 240, 0.55);
	box-shadow: 0 0 22px rgba(0, 255, 240, 0.2);
}
.lx-cx-stat b {
	font-variant-numeric: tabular-nums;
	text-shadow: 0 0 14px rgba(0, 255, 240, 0.55);
}
.lx-cx-stat.is-pulse b {
	animation: lx-sp-pulse-num 0.55s ease;
}
@keyframes lx-sp-pulse-num {
	0% { transform: scale(1); color: inherit; }
	40% { transform: scale(1.12); color: var(--sp-yellow, #f9f871); }
	100% { transform: scale(1); }
}
.lx-cx-stat[title] {
	position: relative;
}

/* Ticker */
.lx-sp__ticker {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 8px 0 18px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid var(--sp-line);
	background: linear-gradient(90deg, rgba(0, 255, 240, 0.08), rgba(139, 92, 255, 0.1));
	overflow: hidden;
}
.lx-sp__ticker-label {
	flex-shrink: 0;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(255, 43, 214, 0.2);
	border: 1px solid rgba(255, 43, 214, 0.45);
	color: #ffb3ec;
	animation: lx-sp-live 1.6s ease-in-out infinite;
}
@keyframes lx-sp-live {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.55; }
}
.lx-sp__ticker-track {
	display: flex;
	gap: 28px;
	white-space: nowrap;
	animation: lx-sp-marquee 32s linear infinite;
}
.lx-sp__ticker-item {
	font-size: 12.5px;
	color: var(--sp-muted);
}
.lx-sp__ticker-item::before {
	content: "◆ ";
	color: var(--sp-cyan);
	font-size: 9px;
}
@keyframes lx-sp-marquee {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

/* Section heads */
.lx-sp__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}
.lx-sp__kicker {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	color: #c4b5fd;
}
.lx-sp__title {
	margin: 0 0 4px;
	font-size: 22px;
	font-weight: 900;
	background: linear-gradient(90deg, #67e8f9, #e9d5ff 55%, #f9a8d4);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.lx-sp__sub {
	margin: 0;
	font-size: 13px;
	color: var(--sp-muted);
}
.lx-sp__head-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

/* Buttons */
.lx-sp__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.15s;
	color: var(--sp-text);
	background: rgba(20, 28, 55, 0.8);
}
.lx-sp__btn:hover { transform: translateY(-1px); }
.lx-sp__btn--neon {
	background: linear-gradient(135deg, rgba(0, 255, 240, 0.25), rgba(139, 92, 255, 0.35));
	border-color: rgba(0, 255, 240, 0.45);
	color: #a5f3fc;
	box-shadow: 0 0 18px rgba(0, 255, 240, 0.15);
}
.lx-sp__btn--ghost {
	background: transparent;
	border-color: rgba(148, 163, 184, 0.35);
	color: var(--sp-muted);
}
.lx-sp__btn--block {
	width: 100%;
	margin-top: 10px;
}

/* Tabs */
.lx-sp__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.lx-sp__tab {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.25);
	background: rgba(8, 12, 28, 0.55);
	color: var(--sp-muted);
	font-size: 12.5px;
	cursor: pointer;
}
.lx-sp__tab.is-on,
.lx-sp__tab:hover {
	border-color: rgba(0, 255, 240, 0.45);
	color: #a5f3fc;
	background: rgba(0, 255, 240, 0.1);
}

/* Gallery cards */
.lx-sp__gallery {
	margin-bottom: 28px;
	padding: 18px 16px 16px;
	border-radius: 18px;
	border: 1px solid var(--sp-line);
	background:
		radial-gradient(ellipse 60% 80% at 0% 0%, rgba(0, 255, 240, 0.08), transparent 50%),
		radial-gradient(ellipse 50% 60% at 100% 100%, rgba(139, 92, 255, 0.1), transparent 50%),
		var(--sp-panel);
	backdrop-filter: blur(10px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.lx-sp__cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.lx-sp__card {
	display: flex;
	flex-direction: column;
	padding: 14px;
	border-radius: 14px;
	border: 1px solid rgba(0, 255, 240, 0.18);
	background: rgba(6, 10, 24, 0.75);
	transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
	min-height: 210px;
}
.lx-sp__card:hover {
	border-color: rgba(0, 255, 240, 0.5);
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(0, 255, 240, 0.08);
}
.lx-sp__card.is-hidden { display: none; }

.lx-sp__card-top {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 8px;
}
.lx-sp__card-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	font-size: 22px;
	background: linear-gradient(145deg, rgba(0, 255, 240, 0.18), rgba(255, 43, 214, 0.15));
	border: 1px solid rgba(0, 255, 240, 0.3);
	flex-shrink: 0;
	filter: drop-shadow(0 0 10px rgba(0, 255, 240, 0.25));
}
.lx-sp__card-name {
	margin: 0 0 3px;
	font-size: 15px;
	font-weight: 800;
}
.lx-sp__card-heat {
	margin: 0;
	font-size: 11.5px;
	color: var(--sp-muted);
	line-height: 1.4;
}
.lx-sp__card-heat strong {
	color: var(--sp-cyan);
	font-weight: 800;
}
.lx-sp__card-desc {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--sp-muted);
	line-height: 1.5;
	flex: 1;
}
.lx-sp__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 10px;
}
.lx-sp__tags span {
	font-size: 10.5px;
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid rgba(139, 92, 255, 0.35);
	color: #ddd6fe;
	background: rgba(139, 92, 255, 0.12);
}
.lx-sp__card-actions {
	display: flex;
	gap: 6px;
	margin-top: auto;
}
.lx-sp__card-actions .lx-sp__btn { flex: 1; font-size: 12.5px; padding: 8px 10px; }

/* Cases */
.lx-sp__cases {
	margin-bottom: 16px;
	padding: 18px 16px 16px;
	border-radius: 18px;
	border: 1px solid rgba(255, 43, 214, 0.22);
	background:
		radial-gradient(ellipse 50% 70% at 100% 0%, rgba(255, 43, 214, 0.08), transparent 55%),
		var(--sp-panel);
	backdrop-filter: blur(10px);
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}
.lx-sp__case-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 12px;
}
.lx-sp__case {
	padding: 14px;
	border-radius: 14px;
	border: 1px solid rgba(255, 43, 214, 0.18);
	background: rgba(6, 10, 24, 0.75);
	display: flex;
	flex-direction: column;
	transition: border-color 0.15s, transform 0.15s;
}
.lx-sp__case:hover {
	border-color: rgba(255, 43, 214, 0.45);
	transform: translateY(-2px);
}
.lx-sp__case-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
.lx-sp__case-icon { font-size: 22px; }
.lx-sp__case-ind {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
	border: 1px solid rgba(0, 255, 240, 0.3);
	color: #a5f3fc;
}
.lx-sp__case-result {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 800;
	color: #f0abfc;
	line-height: 1.4;
}
.lx-sp__case-quote {
	margin: 0 0 10px;
	padding: 0;
	border: none;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--sp-muted);
	font-style: italic;
	flex: 1;
}
.lx-sp__case-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 11.5px;
	color: #94a3b8;
}

.lx-sp__footnote {
	margin: 0;
	text-align: center;
	font-size: 11.5px;
	color: rgba(148, 163, 184, 0.75);
	padding: 4px 8px 12px;
}

/* Mobile: horizontal scroll gallery option */
@media (max-width: 720px) {
	.lx-sp__cards {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 10px;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}
	.lx-sp__card {
		min-width: 78vw;
		max-width: 320px;
		scroll-snap-align: start;
		flex-shrink: 0;
	}
	.lx-sp__title { font-size: 18px; }
	.lx-sp__ticker-track { animation-duration: 24s; }
}

/* Ensure hero stats row readable */
body.lx-cyber-home .lx-cx-stats .lx-cx-stat span {
	font-size: 11px;
}
