/* ============================================================
   BLeadX -- "AI-Powered CRM" advertisement/landing page.
   Standalone design system (own file, not shared with any other
   advertisement page's CSS -- each of these bundles is self-contained
   by design). Same brand tokens as the main site (--red = --bx-primary)
   so it still reads as unmistakably BLeadX, without depending on the
   main template. Adds a violet accent (--ai) used only for AI-specific
   moments (badges, sparkle icons) so "this bit is AI" reads visually
   distinct from the rest of the page without a second full palette.
   ============================================================ */

:root {
	--red: #e11d2e;
	--red-dark: #b8121f;
	--red-light: #fdeceb;
	--ai: #7c4de0;
	--ai-light: #f2ecfc;
	--navy: #14213d;
	--ink: #1f2937;
	--muted: #6b7280;
	--border: #e8eaf0;
	--bg-alt: #f7f8fb;
	--white: #ffffff;
	--success: #1a9c5c;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
	--shadow-sm: 0 4px 14px rgba(20, 33, 61, 0.06);
	--max-width: 1140px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: var(--ink);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	font-family: "Poppins", "Open Sans", sans-serif;
	color: var(--navy);
	margin: 0 0 14px;
	line-height: 1.25;
}

h1 {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
}

h2 {
	font-size: clamp(26px, 3.4vw, 36px);
	font-weight: 700;
}

h3 {
	font-size: 19px;
	font-weight: 600;
}

p {
	margin: 0 0 16px;
	color: var(--muted);
}

a {
	color: var(--red);
	text-decoration: none;
}

img, svg {
	max-width: 100%;
	display: block;
}

.container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--red);
	background: var(--red-light);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 18px;
}

.eyebrow.eyebrow-ai {
	color: var(--ai);
	background: var(--ai-light);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: var(--radius-sm);
	font-weight: 600;
	font-size: 15px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 8px 20px rgba(225, 29, 46, 0.28);
}

.btn-primary:hover {
	background: var(--red-dark);
	transform: translateY(-1px);
	color: var(--white);
}

.btn-outline {
	background: transparent;
	color: var(--navy);
	border-color: var(--border);
}

.btn-outline:hover {
	border-color: var(--navy);
	transform: translateY(-1px);
}

.btn-light {
	background: var(--white);
	color: var(--red);
	border-color: transparent;
}

.btn-light:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-sm);
}

/* ---------- Top nav ---------- */

.topnav {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(10px);
	border-bottom: 1px solid var(--border);
}

.topnav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.topnav-logo img {
	height: 34px;
}

.topnav-links {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.topnav-links a:not(.btn) {
	color: var(--navy);
	font-weight: 600;
	font-size: 14.5px;
}

.topnav-links a:not(.btn):hover {
	color: var(--red);
}

.topnav-cta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.topnav-login {
	font-weight: 600;
	font-size: 14.5px;
	color: var(--navy);
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: 26px;
	color: var(--navy);
	cursor: pointer;
}

/* ---------- Hero ---------- */

.hero {
	padding: 72px 0 60px;
	background: linear-gradient(180deg, #f6f2fd 0%, #ffffff 65%);
	overflow: hidden;
}

.hero .container {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 26px 0 30px;
}

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	padding-top: 8px;
	border-top: 1px solid var(--border);
}

.hero-trust-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: var(--navy);
	font-weight: 600;
}

.hero-trust-item svg {
	width: 18px;
	height: 18px;
	color: var(--success);
	flex-shrink: 0;
}

.hero-art img {
	width: 100%;
	filter: drop-shadow(0 20px 40px rgba(20, 33, 61, 0.12));
}

/* ---------- Generic section scaffolding ---------- */

.section {
	padding: 72px 0;
}

.section-alt {
	background: var(--bg-alt);
}

.section-head {
	max-width: 680px;
	margin: 0 auto 44px;
	text-align: center;
}

.section-head p {
	margin: 0;
	font-size: 17px;
}

/* ---------- "What makes it AI-powered" cards ---------- */

.compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.compare-card {
	border-radius: var(--radius);
	padding: 28px 26px;
	border: 1px solid var(--border);
}

.compare-card.compare-old {
	background: var(--bg-alt);
}

.compare-card.compare-ai {
	background: var(--ai-light);
	border-color: #ddd0f7;
}

.compare-card h3 {
	font-size: 16px;
	margin-bottom: 14px;
}

.compare-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.compare-card li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	color: var(--ink);
}

.compare-card svg {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
}

.compare-old svg {
	color: #b0b6c0;
}

.compare-ai svg {
	color: var(--ai);
}

/* ---------- AI pillar sections ---------- */

.pillar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	padding: 56px 0;
}

.pillar:not(:last-child) {
	border-bottom: 1px solid var(--border);
}

.pillar-reverse .pillar-copy {
	order: 2;
}

.pillar-copy h2 {
	text-align: left;
}

.pillar-list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.pillar-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14.5px;
	color: var(--ink);
}

.pillar-list svg {
	width: 19px;
	height: 19px;
	color: var(--ai);
	flex-shrink: 0;
	margin-top: 2px;
}

.pillar-art {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 20px;
}

/* ---------- Chat mock (AI Copilot pillar) ---------- */

.chat-mock {
	display: grid;
	gap: 10px;
}

.chat-bubble {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 13.5px;
	max-width: 88%;
}

.chat-bubble.user {
	background: var(--bg-alt);
	justify-self: end;
	color: var(--ink);
}

.chat-bubble.ai {
	background: var(--ai-light);
	color: var(--navy);
}

.chat-bubble .ai-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 11px;
	color: var(--ai);
	margin-bottom: 6px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* ---------- Score mock (AI Lead Scoring pillar) ---------- */

.score-mock-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 10px;
	border-radius: 10px;
}

.score-mock-row + .score-mock-row {
	margin-top: 8px;
}

.score-mock-row.hot {
	background: var(--red-light);
}

.score-mock-row.warm {
	background: #fff4e5;
}

.score-mock-row.cool {
	background: var(--bg-alt);
}

.score-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 12px;
	flex-shrink: 0;
}

.score-mock-name {
	font-weight: 700;
	font-size: 13.5px;
	color: var(--navy);
}

.score-mock-why {
	font-size: 11.5px;
	color: var(--muted);
}

.score-pill {
	margin-left: auto;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	color: var(--white);
	flex-shrink: 0;
}

.score-pill.hot {
	background: var(--red);
}

.score-pill.warm {
	background: #e08a2c;
}

.score-pill.cool {
	background: #8a93a3;
}

/* ---------- Example prompt chips ---------- */

.chip-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.chip-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px 22px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.chip-card .icon-wrap {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--ai-light);
	color: var(--ai);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chip-card .icon-wrap svg {
	width: 20px;
	height: 20px;
}

.chip-card h3 {
	font-size: 15px;
	margin-bottom: 4px;
}

.chip-card p {
	font-size: 13.5px;
	margin: 0;
}

/* ---------- Impact stats ---------- */

.impact-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.impact-card {
	text-align: center;
	padding: 22px 14px;
}

.impact-card .impact-icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ai-light);
	color: var(--ai);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 14px;
}

.impact-card .impact-icon svg {
	width: 26px;
	height: 26px;
}

.impact-card h3 {
	font-size: 16px;
	margin-bottom: 6px;
}

.impact-card p {
	font-size: 13.5px;
	margin: 0;
}

/* ---------- How it works steps ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.step {
	text-align: center;
	padding: 0 8px;
}

.step-badge {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--ai);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 18px;
	margin: 0 auto 16px;
	box-shadow: 0 8px 18px rgba(124, 77, 224, 0.3);
}

.step h3 {
	font-size: 16.5px;
}

.step p {
	font-size: 13.5px;
	margin: 0;
}

/* ---------- FAQ accordion ---------- */

.faq-list {
	max-width: 760px;
	margin: 0 auto;
	display: grid;
	gap: 12px;
}

.faq-item {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--white);
	overflow: hidden;
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 18px 20px;
	font-family: "Poppins", sans-serif;
	font-weight: 600;
	font-size: 15.5px;
	color: var(--navy);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.faq-question .plus {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ai);
	font-size: 16px;
	transition: transform 0.2s ease;
}

.faq-item.open .faq-question .plus {
	transform: rotate(45deg);
	border-color: var(--ai);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
}

.faq-answer p {
	padding: 0 20px 18px;
	margin: 0;
	font-size: 14.5px;
}

/* ---------- Final CTA banner ---------- */

.cta-banner {
	background: linear-gradient(135deg, var(--ai) 0%, #5f36b8 100%);
	border-radius: 20px;
	padding: 56px 40px;
	text-align: center;
	color: var(--white);
}

.cta-banner h2 {
	color: var(--white);
}

.cta-banner p {
	color: rgba(255, 255, 255, 0.9);
	max-width: 560px;
	margin: 0 auto 26px;
	font-size: 16px;
}

.cta-banner .btn-light {
	color: var(--ai);
}

.cta-banner .btn-outline {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.5);
}

.cta-banner .btn-outline:hover {
	border-color: var(--white);
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.ad-footer {
	padding: 40px 0 30px;
	border-top: 1px solid var(--border);
}

.ad-footer .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.ad-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ad-footer-brand img {
	height: 26px;
}

.ad-footer-brand span {
	font-size: 13px;
	color: var(--muted);
}

.ad-footer-links {
	display: flex;
	gap: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13.5px;
}

.ad-footer-links a {
	color: var(--muted);
	font-weight: 600;
}

.ad-footer-links a:hover {
	color: var(--red);
}

/* ---------- Scroll-reveal ---------- */

.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in-view {
	opacity: 1;
	transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
	.hero .container {
		grid-template-columns: 1fr;
	}

	.hero-art {
		order: -1;
		max-width: 420px;
		margin: 0 auto;
	}

	.compare-grid {
		grid-template-columns: 1fr;
	}

	.pillar,
	.pillar-reverse {
		grid-template-columns: 1fr;
	}

	.pillar-reverse .pillar-copy {
		order: 0;
	}

	.pillar-copy h2 {
		text-align: center;
	}

	.chip-grid,
	.impact-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.steps {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}
}

@media (max-width: 767.98px) {
	.topnav-links {
		position: fixed;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--white);
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
		padding: 14px 24px 20px;
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-sm);
		transform: translateY(-130%);
		transition: transform 0.25s ease;
	}

	.topnav-links.open {
		transform: translateY(0);
	}

	.topnav-links li {
		width: 100%;
		padding: 10px 0;
		border-bottom: 1px solid var(--border);
	}

	.topnav-login {
		display: none;
	}

	.nav-toggle {
		display: block;
	}

	.section {
		padding: 52px 0;
	}

	.chip-grid,
	.impact-grid {
		grid-template-columns: 1fr;
	}

	.cta-banner {
		padding: 40px 22px;
	}
}
