/* ==========================================================================
   SEO PAGES — Dark theme with TOC, callouts, breadcrumbs
   ========================================================================== */

/* --- Breadcrumbs --- */
.seo-breadcrumbs {
	padding: 12px 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
}

.seo-breadcrumbs a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	transition: color 0.2s;
}

.seo-breadcrumbs a:hover {
	color: #ffffff;
}

.seo-breadcrumbs .separator {
	margin: 0 8px;
	opacity: 0.4;
}

/* --- Banner (dark hero band) --- */
.seo-banner {
	padding: 140px 0 70px;
	background: var(--ql-gradient-hero, linear-gradient(160deg, #0a0020 0%, #150840 50%, #080014 100%));
	text-align: center;
	position: relative;
	overflow: hidden;
}

.seo-banner::before {
	content: '';
	position: absolute;
	width: 500px;
	height: 500px;
	top: -20%;
	right: -10%;
	background: radial-gradient(circle, rgba(124, 157, 247, 0.12) 0%, transparent 70%);
	filter: blur(100px);
	border-radius: 50%;
	pointer-events: none;
}

.seo-banner .banner-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: #fff;
	margin-bottom: 16px;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.seo-banner .banner-description {
	font-size: 17px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	max-width: 620px;
	margin: 0 auto 28px;
}

/* --- Page layout with sidebar TOC --- */
.seo-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
}

.seo-toc {
	position: sticky;
	top: 100px;
	padding: 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-toc__title {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 12px;
}

.seo-toc__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.seo-toc__list li {
	margin-bottom: 8px;
}

.seo-toc__list a {
	display: block;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	padding: 4px 0 4px 12px;
	border-left: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.seo-toc__list a:hover,
.seo-toc__list a.active {
	color: #7c9df7;
	border-left-color: #7c9df7;
}

/* --- Callout box --- */
.seo-callout {
	padding: 20px 24px;
	border-radius: 16px;
	margin: 24px 0;
	border-left: 4px solid;
}

.seo-callout--tip {
	background: rgba(34, 197, 94, 0.08);
	border-left-color: #22c55e;
}

.seo-callout--info {
	background: rgba(24, 99, 220, 0.08);
	border-left-color: #7c9df7;
}

.seo-callout--warning {
	background: rgba(245, 158, 11, 0.08);
	border-left-color: #f59e0b;
}

.seo-callout__title {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.seo-callout--tip .seo-callout__title { color: #22c55e; }
.seo-callout--info .seo-callout__title { color: #7c9df7; }
.seo-callout--warning .seo-callout__title { color: #f59e0b; }

.seo-callout p {
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

/* --- Product card (inline CTA) --- */
.seo-product-card {
	padding: 28px 32px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(24, 99, 220, 0.1) 0%, rgba(155, 96, 170, 0.08) 100%);
	border: 1px solid rgba(124, 157, 247, 0.15);
	margin: 32px 0;
	display: flex;
	align-items: center;
	gap: 24px;
}

.seo-product-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: #1863dc;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	color: #fff;
	flex-shrink: 0;
}

.seo-product-card__body {
	flex: 1;
}

.seo-product-card__body h4 {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

.seo-product-card__body p {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

.seo-product-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 22px;
	background: #1863dc;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s, background 0.2s;
}

.seo-product-card__cta:hover {
	transform: translateY(-2px);
	background: #2070e8;
	color: #fff;
	text-decoration: none;
}

/* --- Improved content area --- */
.seo-content .blog-data-title {
	position: relative;
	scroll-margin-top: 100px;
	color: #fff;
}

.seo-content h2,
.seo-content h3 {
	color: #fff;
}

.seo-content p,
.seo-content li {
	color: rgba(255, 255, 255, 0.75);
}

.seo-content strong {
	color: rgba(255, 255, 255, 0.9);
}

.seo-content a {
	color: #7c9df7;
}

.seo-content a:hover {
	color: #a0bfff;
}

.seo-content .blog-data-table table {
	width: 100%;
	border-collapse: collapse;
	border-radius: 12px;
	overflow: hidden;
	margin: 16px 0;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-content .blog-data-table thead {
	background: rgba(255, 255, 255, 0.06);
}

.seo-content .blog-data-table th {
	padding: 12px 16px;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	text-align: left;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.seo-content .blog-data-table td {
	padding: 10px 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.seo-content .blog-data-table tbody tr:hover {
	background: rgba(255, 255, 255, 0.04);
}

/* --- Internal links pills --- */
.seo-explore-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.seo-explore-links a {
	padding: 8px 16px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.seo-explore-links a:hover {
	border-color: #7c9df7;
	color: #7c9df7;
	background: rgba(124, 157, 247, 0.06);
}

/* --- Responsive --- */
@media (max-width: 991px) {
	.seo-layout {
		grid-template-columns: 1fr;
	}
	.seo-toc {
		position: static;
		margin-bottom: 24px;
	}
	.seo-product-card {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 767px) {
	.seo-banner .banner-title {
		font-size: 1.6rem;
	}
}
