/**
 * LinkedIn Content Prompt Library — tool page styles.
 */

.lp-widget {
	--lp-blue: #0a66c2;
	--lp-blue-2: #2878ff;
	--lp-blue-3: #5b6cff;
	--lp-ink: #111827;
	--lp-text: #253247;
	--lp-muted: #667085;
	--lp-line: #d9e4f2;
	--lp-soft: #f7fbff;
	--lp-card: #ffffff;
	--lp-purple: #7357ff;
	--lp-green: #16a34a;
	width: 100%;
	margin: 0;
	color: var(--lp-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	background: #fff;
	border-radius: 0;
	box-shadow: 0 22px 70px rgba(15, 23, 42, 0.13);
	overflow: hidden;
}

.lp-widget * {
	box-sizing: border-box;
}

.lp-hero {
	position: relative;
	min-height: 430px;
	padding: 34px 42px 76px;
	color: #fff;
	overflow: hidden;
	background:
		radial-gradient(circle at 67% 73%, rgba(168, 85, 247, 0.62), transparent 16%),
		radial-gradient(circle at 83% 24%, rgba(37, 99, 235, 0.33), transparent 24%),
		linear-gradient(125deg, #030916 0%, #071226 45%, #060a1b 100%);
}

.lp-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.45;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 46px 46px;
	mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.lp-hero-top,
.lp-hero-copy,
.lp-hero-art {
	position: relative;
	z-index: 1;
}

.lp-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.lp-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.lp-mark {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 7px;
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
	background: linear-gradient(135deg, #0a66c2, #1c86ff);
	box-shadow: 0 10px 28px rgba(10, 102, 194, 0.45);
}

.lp-brand span {
	display: block;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	white-space: nowrap;
}

.lp-tools {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 10px;
}

.lp-tools a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 8px 12px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(14px);
}

.lp-tools a:hover {
	border-color: rgba(86, 154, 255, 0.85);
	color: #fff;
	background: rgba(40, 120, 255, 0.24);
}

.lp-tool-dot {
	display: inline-grid;
	width: 18px;
	height: 18px;
	place-items: center;
	border-radius: 50%;
	color: #fff;
	background: #101b34;
	border: 1px solid rgba(255, 255, 255, 0.22);
}

.lp-tool-dot svg {
	width: 14px;
	height: 14px;
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lp-tool-chatgpt {
	color: #d1fae5;
}

.lp-tool-claude {
	color: #ffb86b;
}

.lp-tool-gemini {
	color: #9db8ff;
}

.lp-tool-perplexity {
	color: #7dd3fc;
}

.lp-tool-canva {
	color: #8be9ff;
}

.lp-tool-notion {
	color: #ffffff;
}

.lp-hero-copy {
	width: min(520px, 55%);
	margin-top: 54px;
}

.lp-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 4.8vw, 58px);
	line-height: 1.08;
	letter-spacing: 0;
	font-weight: 700;
}

.lp-hero h1 span {
	color: #2f8cff;
}

.lp-hero h2 {
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(20px, 2.6vw, 31px);
	font-weight: 650;
	line-height: 1.35;
	letter-spacing: 0;
}

.lp-hero p {
	max-width: 520px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 15px;
	line-height: 1.7;
}

.lp-hero-art {
	position: absolute;
	right: 44px;
	top: 118px;
	width: min(420px, 42%);
	min-height: 260px;
}

.lp-glass-card {
	position: absolute;
	right: 58px;
	top: 10px;
	width: 285px;
	min-height: 210px;
	border: 1px solid rgba(104, 141, 255, 0.38);
	border-radius: 22px;
	background: linear-gradient(145deg, rgba(20, 43, 119, 0.62), rgba(10, 18, 51, 0.44));
	box-shadow: 0 30px 70px rgba(35, 78, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.09);
	backdrop-filter: blur(16px);
}

.lp-mini-in {
	position: absolute;
	top: 30px;
	left: 30px;
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	border-radius: 8px;
	color: #dbeafe;
	font-size: 26px;
	font-weight: 800;
	background: rgba(47, 140, 255, 0.24);
}

.lp-lines {
	position: absolute;
	top: 92px;
	left: 30px;
	right: 36px;
	display: grid;
	gap: 12px;
}

.lp-lines i {
	display: block;
	height: 8px;
	border-radius: 999px;
	background: rgba(185, 205, 255, 0.26);
}

.lp-lines i:nth-child(1) {
	width: 34%;
}

.lp-lines i:nth-child(2) {
	width: 76%;
}

.lp-lines i:nth-child(3) {
	width: 88%;
}

.lp-lines i:nth-child(4) {
	width: 64%;
}

.lp-float {
	position: absolute;
	display: grid;
	width: 68px;
	height: 68px;
	place-items: center;
	border: 1px solid rgba(104, 141, 255, 0.36);
	border-radius: 16px;
	color: #dbeafe;
	background: rgba(37, 58, 123, 0.42);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 45px rgba(23, 37, 84, 0.32);
}

.lp-float-chat {
	left: 0;
	top: 78px;
}

.lp-float-comment {
	right: 8px;
	top: 0;
}

.lp-float-growth {
	right: 0;
	bottom: 2px;
}

.lp-panel {
	position: relative;
	z-index: 3;
	margin: -50px 42px 40px;
	padding: 34px 40px 30px;
	border: 1px solid var(--lp-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 20px 58px rgba(20, 38, 75, 0.12);
}

.lp-section-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-bottom: 26px;
	color: #075fc4;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.lp-section-title::before,
.lp-section-title::after {
	content: "";
	width: min(110px, 18vw);
	height: 1px;
	background: #d9e4f2;
}

.lp-sparkle {
	color: #7b8ba4;
	letter-spacing: 0;
}

.lp-form {
	display: grid;
	grid-template-columns: minmax(260px, 1.3fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr) auto auto;
	gap: 18px;
	align-items: end;
}

.lp-field {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.lp-field label {
	color: #536078;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lp-input-wrap,
.lp-select-wrap {
	position: relative;
}

.lp-input-wrap svg,
.lp-select-wrap svg.lp-leading {
	position: absolute;
	top: 50%;
	left: 16px;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	color: #60708a;
	pointer-events: none;
}

.lp-widget input,
.lp-widget select {
	width: 100%;
	height: 56px;
	border: 1px solid #cfdbea;
	border-radius: 8px;
	color: #18243a;
	font: inherit;
	font-size: 15px;
	font-weight: 400;
	background: #fff;
	outline: none;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.lp-widget input {
	padding: 0 16px 0 48px;
}

.lp-widget select {
	appearance: none;
	padding: 0 44px 0 48px;
}

.lp-select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 8px;
	height: 8px;
	border-right: 2px solid #0f4e95;
	border-bottom: 2px solid #0f4e95;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.lp-widget input:focus,
.lp-widget select:focus {
	border-color: #7cb4ff;
	box-shadow: 0 0 0 4px rgba(47, 140, 255, 0.13);
}

.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 56px;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 0 24px;
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.01em;
	white-space: nowrap;
	cursor: pointer;
	background: linear-gradient(135deg, #6258ff, #0268d8);
	box-shadow: 0 14px 28px rgba(10, 102, 194, 0.22);
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.lp-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(10, 102, 194, 0.28);
}

.lp-btn-secondary {
	color: #344054;
	border-color: #cfdbea;
	background: #fff;
	box-shadow: none;
}

.lp-btn-secondary:hover {
	color: #0a66c2;
	border-color: #7cb4ff;
	background: #f7fbff;
	box-shadow: none;
}

.lp-icon {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.lp-list {
	display: grid;
	gap: 14px;
	margin-top: 28px;
}

.lp-prompt-card {
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr) 122px;
	gap: 18px;
	align-items: start;
	padding: 24px 30px;
	border: 1px solid var(--lp-line);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(16, 24, 40, 0.04);
}

.lp-prompt-card.is-hidden {
	display: none;
}

.lp-number {
	display: grid;
	width: 40px;
	height: 40px;
	place-items: center;
	border-radius: 12px;
	color: #126de0;
	font-size: 20px;
	font-weight: 850;
	background: #eef6ff;
}

.lp-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.lp-card-head h3 {
	margin: 0;
	color: #111827;
	font-size: 18px;
	line-height: 1.25;
	letter-spacing: 0;
}

.lp-pill {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 5px 12px;
	border-radius: 999px;
	color: #6446e8;
	font-size: 12px;
	font-weight: 750;
	background: #f0edff;
	white-space: nowrap;
}

.lp-card-desc {
	margin: 8px 0 18px;
	color: #46546a;
	font-size: 14px;
	line-height: 1.55;
}

.lp-prompt-text {
	position: relative;
	min-height: 74px;
	padding: 17px 20px 17px 64px;
	border: 1px solid #bcd5ff;
	border-radius: 8px;
	color: #344054;
	font-size: 14px;
	line-height: 1.62;
	background: linear-gradient(135deg, #f5f9ff, #ffffff);
}

.lp-quote {
	position: absolute;
	top: 18px;
	left: 20px;
	color: #66a0ff;
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
}

.lp-card-actions {
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: flex-end;
	gap: 10px;
	padding-top: 4px;
}

.lp-toggle {
	display: inline-grid;
	width: 32px;
	height: 32px;
	place-items: center;
	border: 0;
	color: #111827;
	cursor: pointer;
	background: transparent;
}

.lp-copy {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 90px;
	height: 36px;
	border: 1px solid #6aa3ff;
	border-radius: 8px;
	color: #0866ff;
	font: inherit;
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
	background: #fff;
	transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.lp-copy:hover {
	transform: translateY(-1px);
	background: #f7fbff;
}

.lp-copy.is-copied {
	color: #13843f;
	border-color: #22c55e;
	background: #f0fdf4;
	animation: lpCopied 540ms ease;
}

.lp-prompt-card.is-collapsed .lp-prompt-text {
	display: none;
}

.lp-prompt-card.is-collapsed .lp-card-actions {
	gap: 10px;
}

.lp-prompt-card.is-collapsed .lp-toggle svg {
	transform: rotate(180deg);
}

.lp-show-wrap {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.lp-show-more {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	border: 1px solid #cfdbea;
	border-radius: 8px;
	padding: 0 22px;
	color: #0866ff;
	font: inherit;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	background: #fff;
}

.lp-tip {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	padding: 18px 22px;
	border: 1px solid var(--lp-line);
	border-radius: 14px;
	color: #344054;
	font-size: 14px;
	line-height: 1.55;
	background: linear-gradient(135deg, #ffffff, #f8fbff);
}

.lp-tip-icon {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	flex: 0 0 auto;
	border-radius: 50%;
	color: #4f46e5;
	background: #eef2ff;
}

.lp-hero-container {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}

@keyframes lpCopied {
	0% {
		transform: scale(1);
	}
	45% {
		transform: scale(1.06);
	}
	100% {
		transform: scale(1);
	}
}

@media (max-width: 1020px) {
	.lp-hero {
		padding: 30px 28px 72px;
	}

	.lp-hero-top {
		align-items: flex-start;
		flex-direction: column;
	}

	.lp-tools {
		justify-content: flex-start;
	}

	.lp-hero-copy {
		width: 100%;
		margin-top: 38px;
	}

	.lp-hero-art {
		opacity: 0.36;
		right: 4px;
	}

	.lp-panel {
		margin-right: 22px;
		margin-left: 22px;
		padding: 28px 24px;
	}

	.lp-form {
		grid-template-columns: 1fr 1fr;
	}

	.lp-btn {
		width: 100%;
	}

	.lp-prompt-card {
		grid-template-columns: 42px minmax(0, 1fr);
	}

	.lp-card-actions {
		grid-column: 2;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 10px;
		padding-top: 0;
	}
}

@media (max-width: 720px) {
	.lp-widget {
		width: 100%;
		margin: 0;
		border-radius: 0;
		border-right: 0;
		border-left: 0;
	}

	.lp-hero {
		min-height: 0;
		padding: 26px 18px 86px;
	}

	.lp-hero h1 {
		font-size: 36px;
	}

	.lp-hero h2 {
		font-size: 21px;
	}

	.lp-hero-art {
		display: none;
	}

	.lp-tools a {
		font-size: 12px;
	}

	.lp-panel {
		margin: -56px 12px 0;
		padding: 24px 16px;
		border-radius: 16px;
	}

	.lp-form,
	.lp-prompt-card {
		grid-template-columns: 1fr;
	}

	.lp-number {
		width: 38px;
		height: 38px;
	}

	.lp-card-actions {
		grid-column: auto;
	}

	.lp-card-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.lp-prompt-card {
		padding: 20px;
	}

	.lp-prompt-text {
		padding-left: 48px;
	}

	.lp-quote {
		left: 16px;
	}
}

/* Tool page shell (site chrome around the widget) */
.afj-lp-page {
	background: #fff;
}

.afj-lp-page__main {
	padding: 0 0 3rem;
}

.afj-lp-page__crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	width: min(1180px, calc(100% - 2.5rem));
	margin: 1.25rem auto 1rem;
	font-size: 0.82rem;
	color: #667085;
}

.afj-lp-page__crumbs a {
	color: inherit;
	text-decoration: none;
}

.afj-lp-page__crumbs a:hover {
	color: #0a66c2;
}

.afj-lp-page__crumbs-sep {
	opacity: 0.55;
}
