/* =============================================
   LeadSourcePro – Custom Styles
   ============================================= */

/* ----- Root Variables ----- */
:root {
	--lsp-purple: #7c31ff;
	--lsp-purple-hover: #6a1fee;
	--lsp-dark: #131222;
	--lsp-mid: #3b3c5a;
	--lsp-light: #f3f5f6;
	--lsp-border: #e2e4e9;
	--lsp-body: #4a4a68;
	--lsp-radius: 8px;
	--lsp-radius-lg: 16px;
}

/* ----- Global ----- */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* ----- Logo ----- */
.lsp-logo img,
.lsp-logo-footer img {
	height: auto;
}

/* ----- Buttons ----- */
.wp-block-button__link {
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button__link:active {
	transform: translateY(0);
}

/* Ghost / outline button */
.is-style-outline .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
}

.is-style-outline .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ----- Hero Section ----- */
.lsp-hero {
	overflow: hidden;
}

.lsp-hero h1 {
	line-height: 1.1;
	letter-spacing: -0.02em;
}

/* ----- Feature Cards ----- */
.lsp-feature-card {
	background: #ffffff;
	border: 1px solid var(--lsp-border);
	border-radius: var(--lsp-radius-lg);
	padding: 2rem;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lsp-feature-card:hover {
	box-shadow: 0 8px 30px rgba(124, 49, 255, 0.08);
	transform: translateY(-2px);
}

.lsp-feature-card h3 {
	margin-top: 0.75rem;
}

/* Feature icon circle */
.lsp-feature-icon {
	width: 48px;
	height: 48px;
	background: var(--lsp-light);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
}

/* ----- Pricing Cards ----- */
.lsp-pricing-card {
	background: #ffffff;
	border: 1px solid var(--lsp-border);
	border-radius: var(--lsp-radius-lg);
	padding: 2.5rem 2rem;
	text-align: center;
	transition: box-shadow 0.2s ease;
}

.lsp-pricing-card:hover {
	box-shadow: 0 8px 30px rgba(124, 49, 255, 0.08);
}

.lsp-pricing-card.lsp-pricing-featured {
	border-color: var(--lsp-purple);
	box-shadow: 0 0 0 2px var(--lsp-purple), 0 8px 30px rgba(124, 49, 255, 0.12);
	position: relative;
}

.lsp-pricing-amount {
	font-size: 3rem;
	font-weight: 800;
	color: var(--lsp-dark);
	line-height: 1;
}

.lsp-pricing-period {
	font-size: 0.875rem;
	color: var(--lsp-mid);
}

.lsp-pricing-features {
	text-align: left;
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.lsp-pricing-features li {
	padding: 0.4rem 0;
	padding-left: 1.5rem;
	position: relative;
	font-size: 0.9375rem;
	color: var(--lsp-body);
}

.lsp-pricing-features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #16a34a;
	font-weight: 700;
}

/* ----- Badge / Label ----- */
.lsp-badge {
	display: inline-block;
	background: var(--lsp-purple);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.25rem 0.75rem;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* ----- How It Works Steps ----- */
.lsp-step-number {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--lsp-purple);
	color: #fff;
	font-weight: 800;
	font-size: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

/* ----- Section Spacing ----- */
.lsp-section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.lsp-section-sm {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

/* ----- CTA Band ----- */
.lsp-cta-band {
	border-radius: var(--lsp-radius-lg);
}

/* ----- FAQ / Details blocks ----- */
details.wp-block-details {
	border: 1px solid var(--lsp-border);
	border-radius: var(--lsp-radius);
	padding: 1.25rem 1.5rem;
	margin-bottom: 0.75rem;
	transition: border-color 0.2s ease;
}

details.wp-block-details[open] {
	border-color: var(--lsp-purple);
}

details.wp-block-details summary {
	font-weight: 600;
	color: var(--lsp-dark);
	cursor: pointer;
	font-size: 1.0625rem;
}

/* ----- Dashboard Mockup ----- */
.lsp-dashboard-mockup {
	border-radius: var(--lsp-radius-lg);
	overflow: hidden;
	box-shadow: 0 25px 80px rgba(19, 18, 34, 0.2);
}

/* ----- Data Table ----- */
.lsp-data-table {
	width: 100%;
	border-collapse: collapse;
}

.lsp-data-table th {
	background: var(--lsp-light);
	text-align: left;
	padding: 0.75rem 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--lsp-mid);
}

.lsp-data-table td {
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--lsp-border);
	font-size: 0.9375rem;
}

/* ----- Footer Links ----- */
.lsp-footer-links {
	list-style: none;
	padding-left: 0 !important;
}

.lsp-footer-links li {
	padding: 0;
}

.lsp-footer-links a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.lsp-footer-links a:hover {
	color: #ffffff;
}

/* ----- Supported Forms List ----- */
.lsp-forms-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	justify-content: center;
}

.lsp-forms-list li {
	background: #ffffff;
	border: 1px solid var(--lsp-border);
	border-radius: var(--lsp-radius);
	padding: 0.5rem 1.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--lsp-dark);
}

/* ----- Blog Category Filters ----- */
.lsp-category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	padding: 0;
}

.lsp-category-filters li {
	margin: 0;
	padding: 0;
}

.lsp-category-filters a {
	display: inline-block;
	background: var(--lsp-purple);
	color: #ffffff;
	font-size: 0.875rem;
	font-weight: 600;
	padding: 0.4rem 1rem;
	border-radius: 100px;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.lsp-category-filters a:hover {
	background: var(--lsp-purple-hover);
	color: #ffffff;
}

/* ----- Blog Listing ----- */
.lsp-blog-list .lsp-post-item {
	border-bottom: 1px solid var(--lsp-border);
}

.lsp-blog-list .lsp-post-item:last-child {
	border-bottom: none;
}

.lsp-blog-list .lsp-post-category {
	display: inline-flex;
	gap: 0.5rem;
}

.lsp-blog-list .lsp-post-category a {
	display: inline-block;
	background: rgba(124, 49, 255, 0.08);
	color: var(--lsp-purple);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.2rem 0.65rem;
	border-radius: 100px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.lsp-blog-list .lsp-post-category a:hover {
	background: rgba(124, 49, 255, 0.15);
}

.lsp-blog-list .wp-block-post-title a {
	text-decoration: none;
	color: var(--lsp-dark);
	transition: color 0.2s ease;
}

.lsp-blog-list .wp-block-post-title a:hover {
	color: var(--lsp-purple);
}

.lsp-blog-list .wp-block-post-date {
	color: var(--lsp-mid);
}

.lsp-blog-list .wp-block-post-excerpt__excerpt {
	color: var(--lsp-body);
}

.lsp-blog-list .wp-block-post-excerpt__more-link {
	display: inline-block;
	color: var(--lsp-purple);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	margin-top: 0.25rem;
	transition: color 0.2s ease;
}

.lsp-blog-list .wp-block-post-excerpt__more-link:hover {
	color: var(--lsp-purple-hover);
}

/* Blog pagination */
.lsp-blog-list .wp-block-query-pagination {
	border-top: 1px solid var(--lsp-border);
	padding-top: var(--wp--preset--spacing--50);
}

.lsp-blog-list .wp-block-query-pagination a,
.lsp-blog-list .wp-block-query-pagination-numbers .page-numbers {
	color: var(--lsp-mid);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.lsp-blog-list .wp-block-query-pagination a:hover,
.lsp-blog-list .wp-block-query-pagination-numbers .page-numbers:hover {
	color: var(--lsp-purple);
}

.lsp-blog-list .wp-block-query-pagination-numbers .page-numbers.current {
	color: var(--lsp-purple);
	font-weight: 700;
}

/* Archive title */
.wp-block-query-title {
	color: var(--lsp-dark);
}

/* ----- Responsive ----- */
@media (max-width: 782px) {
	.lsp-hero h1 {
		font-size: 2.25rem;
	}

	.lsp-section {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.lsp-pricing-card {
		margin-bottom: 1.5rem;
	}
}