/**
 * Artikul SEO — Marketing Website
 * Brand: #335765 (primary teal), #22d3ee (accent cyan)
 */

/* =========================================================================
   Reset & Base
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
	--brand: #335765;
	--brand-dark: #243d4a;
	--brand-light: #4a7a8a;
	--accent: #22d3ee;
	--accent-hover: #06b6d4;
	--bg: #ffffff;
	--bg-alt: #f8fafc;
	--bg-dark: #0f172a;
	--bg-dark-card: #1e293b;
	--text: #1e293b;
	--text-muted: #64748b;
	--text-light: #f1f5f9;
	--border: #e2e8f0;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
	--shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
	--shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
	--transition: 0.2s ease;
	--max-width: 1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-light); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--text-light); }

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-brand { color: var(--brand); }
.text-accent { color: var(--accent); }

/* =========================================================================
   Typography
   ========================================================================= */

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: var(--text);
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark h4, .section-dark h5, .section-dark h6 {
	color: var(--text-light);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.section-label {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--accent);
	margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }

.section-desc {
	font-size: 1.125rem;
	color: var(--text-muted);
	max-width: 640px;
	margin: 0 auto 48px;
	line-height: 1.7;
}

.section-dark .section-desc { color: #94a3b8; }

/* =========================================================================
   Buttons
   ========================================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	font-size: 0.9375rem;
	font-weight: 600;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: all var(--transition);
	text-decoration: none;
	line-height: 1;
}

.btn-primary {
	background: var(--brand);
	color: #fff;
}
.btn-primary:hover {
	background: var(--brand-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

.btn-accent {
	background: var(--accent);
	color: var(--bg-dark);
}
.btn-accent:hover {
	background: var(--accent-hover);
	color: var(--bg-dark);
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
}

.btn-outline {
	background: transparent;
	color: var(--brand);
	border: 2px solid var(--brand);
}
.btn-outline:hover {
	background: var(--brand);
	color: #fff;
}

.btn-white {
	background: #fff;
	color: var(--brand);
}
.btn-white:hover {
	background: #f1f5f9;
	color: var(--brand-dark);
	transform: translateY(-1px);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius); }
.btn-sm { padding: 10px 20px; font-size: 0.8125rem; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* =========================================================================
   Navigation
   ========================================================================= */

.nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(255,255,255,0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: var(--shadow); }

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 24px;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--text);
	text-decoration: none;
}

.nav-logo span { color: var(--brand); }

.nav-logo-icon {
	width: 36px;
	height: 36px;
	display: block;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
}

.nav-links a {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-muted);
	transition: color var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-hamburger {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.nav-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--text);
	margin: 5px 0;
	transition: all var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
	.nav-hamburger { display: block; }
	.nav-links, .nav-actions {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--border);
		padding: 24px;
		flex-direction: column;
		gap: 16px;
		box-shadow: var(--shadow-lg);
	}
	.nav.open .nav-links, .nav.open .nav-actions { display: flex; }
	.nav-actions { border-top: 1px solid var(--border); padding-top: 16px; }
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
	padding: 160px 0 96px;
	background: linear-gradient(165deg, #f0f9ff 0%, #fff 40%, #f0fdfa 100%);
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -200px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(51,87,101,0.06) 0%, transparent 70%);
	border-radius: 50%;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 16px;
	background: rgba(51,87,101,0.08);
	border-radius: 100px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--brand);
	margin-bottom: 24px;
}

.hero-badge-dot {
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
}

.hero h1 { margin-bottom: 20px; }

.hero-desc {
	font-size: 1.125rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 32px;
	max-width: 520px;
}

.hero-stats {
	display: flex;
	gap: 40px;
	margin-top: 48px;
}

.hero-stat-value {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--brand);
}

.hero-stat-label {
	font-size: 0.8125rem;
	color: var(--text-muted);
}

.hero-image {
	position: relative;
}

.hero-image-main {
	border-radius: var(--radius);
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--border);
	background: #fff;
	overflow: hidden;
}

.hero-image-float {
	position: absolute;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-lg);
	background: #fff;
	border: 1px solid var(--border);
	overflow: hidden;
}

@media (max-width: 968px) {
	.hero-inner { grid-template-columns: 1fr; text-align: center; }
	.hero-desc { margin-left: auto; margin-right: auto; }
	.hero-stats { justify-content: center; }
	.btn-group { justify-content: center; }
	.hero-image { display: none; }
}

/* =========================================================================
   Feature Grid
   ========================================================================= */

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

.feature-card {
	padding: 32px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	transition: all var(--transition);
}

.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
	border-color: var(--brand);
}

.feature-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 20px;
}

.feature-icon-brand { background: rgba(51,87,101,0.1); color: var(--brand); }
.feature-icon-accent { background: rgba(34,211,238,0.1); color: var(--accent-hover); }
.feature-icon-green { background: rgba(34,197,94,0.1); color: #16a34a; }
.feature-icon-orange { background: rgba(249,115,22,0.1); color: #ea580c; }
.feature-icon-purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.feature-icon-red { background: rgba(239,68,68,0.1); color: #dc2626; }

.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }

.feature-card .feature-list {
	list-style: none;
	margin-top: 16px;
}

.feature-card .feature-list li {
	padding: 4px 0;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.feature-card .feature-list li::before {
	content: '\2713';
	color: var(--brand);
	font-weight: 700;
	margin-right: 8px;
}

@media (max-width: 968px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   Showcase (feature with screenshot)
   ========================================================================= */

.showcase {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.showcase-reverse { direction: rtl; }
.showcase-reverse > * { direction: ltr; }

.showcase-content { max-width: 520px; }
.showcase-content h2 { margin-bottom: 16px; }
.showcase-content p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

.showcase-bullets {
	list-style: none;
	margin-bottom: 32px;
}

.showcase-bullets li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 8px 0;
	font-size: 0.9375rem;
}

.showcase-bullets .bullet-icon {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: var(--brand);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	margin-top: 2px;
}

.showcase-image {
	border-radius: var(--radius);
	box-shadow: var(--shadow-xl);
	border: 1px solid var(--border);
	overflow: hidden;
	background: var(--bg-alt);
}

.showcase-image img { width: 100%; }

/* Screenshot placeholder (fallback) */
.screenshot-placeholder {
	aspect-ratio: 16/10;
	background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	font-size: 0.875rem;
	gap: 8px;
	padding: 32px;
	text-align: center;
}

.screenshot-placeholder-icon { font-size: 2rem; opacity: 0.4; }

/* =========================================================================
   Real Plugin Screenshots
   ========================================================================= */

.plugin-screenshot {
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.plugin-screenshot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--radius);
}

/* =========================================================================
   CSS UI Mockups — realistic plugin interface previews
   ========================================================================= */

.ui-mockup {
	background: #f0f0f1;
	border-radius: var(--radius);
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-size: 11px;
	color: #1d2327;
	line-height: 1.4;
}

/* WP-style chrome bar */
.ui-mockup-chrome {
	background: #1d2327;
	padding: 8px 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ui-mockup-dots {
	display: flex;
	gap: 5px;
}

.ui-mockup-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #3c434a;
}

.ui-mockup-dots span:nth-child(1) { background: #ff5f57; }
.ui-mockup-dots span:nth-child(2) { background: #febc2e; }
.ui-mockup-dots span:nth-child(3) { background: #28c840; }

.ui-mockup-url {
	flex: 1;
	background: #2c3338;
	color: #8c8f94;
	padding: 4px 12px;
	border-radius: 4px;
	font-size: 10px;
	margin-left: 8px;
}

/* WP admin layout */
.ui-mockup-body {
	display: flex;
	min-height: 280px;
}

.ui-mockup-sidebar {
	width: 48px;
	background: #1d2327;
	padding: 8px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.ui-mockup-sidebar-item {
	width: 36px;
	height: 26px;
	border-radius: 3px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ui-mockup-sidebar-item.active { background: var(--brand); }

.ui-mockup-sidebar-icon {
	width: 14px;
	height: 14px;
	background: #50575e;
	border-radius: 2px;
}

.ui-mockup-sidebar-item.active .ui-mockup-sidebar-icon { background: #fff; }

.ui-mockup-main {
	flex: 1;
	padding: 16px;
	background: #f0f0f1;
	overflow: hidden;
}

/* Plugin header bar */
.ui-mockup-header {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 10px 14px;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ui-mockup-header-title {
	font-size: 13px;
	font-weight: 600;
	color: var(--brand);
}

.ui-mockup-header-title span { color: #1d2327; }

/* Card */
.ui-mockup-card {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	margin-bottom: 10px;
	overflow: hidden;
}

.ui-mockup-card-header {
	padding: 8px 12px;
	border-bottom: 1px solid #e2e4e7;
	font-weight: 600;
	font-size: 12px;
	color: #1d2327;
}

.ui-mockup-card-body { padding: 12px; }

/* Score gauge */
.ui-mockup-score-row {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.ui-mockup-gauge {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 800;
	color: #fff;
	flex-shrink: 0;
}

.ui-mockup-gauge.good { background: conic-gradient(#22c55e 72%, #e5e7eb 72%); }
.ui-mockup-gauge.ok { background: conic-gradient(#eab308 58%, #e5e7eb 58%); }
.ui-mockup-gauge.poor { background: conic-gradient(#ef4444 35%, #e5e7eb 35%); }

.ui-mockup-gauge-inner {
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #1d2327;
}

/* Score bars */
.ui-mockup-score-bars { flex: 1; }

.ui-mockup-score-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 5px;
}

.ui-mockup-score-bar-label {
	width: 55px;
	font-size: 9px;
	color: #50575e;
	text-align: right;
	flex-shrink: 0;
}

.ui-mockup-score-bar-track {
	flex: 1;
	height: 6px;
	background: #e5e7eb;
	border-radius: 3px;
	overflow: hidden;
}

.ui-mockup-score-bar-fill {
	height: 100%;
	border-radius: 3px;
}

.ui-mockup-score-bar-fill.green { background: #22c55e; }
.ui-mockup-score-bar-fill.yellow { background: #eab308; }
.ui-mockup-score-bar-fill.red { background: #ef4444; }
.ui-mockup-score-bar-fill.brand { background: var(--brand); }

.ui-mockup-score-bar-val {
	width: 22px;
	font-size: 9px;
	font-weight: 600;
	color: #1d2327;
	text-align: right;
}

/* Action items */
.ui-mockup-action {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f1;
	font-size: 10px;
}

.ui-mockup-action:last-child { border-bottom: none; }

.ui-mockup-action-badge {
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 8px;
	font-weight: 700;
	text-transform: uppercase;
	flex-shrink: 0;
}

.ui-mockup-action-badge.high { background: #fef2f2; color: #dc2626; }
.ui-mockup-action-badge.medium { background: #fffbeb; color: #d97706; }
.ui-mockup-action-badge.low { background: #f0fdf4; color: #16a34a; }

.ui-mockup-action-fix {
	margin-left: auto;
	padding: 2px 8px;
	background: var(--brand);
	color: #fff;
	border-radius: 3px;
	font-size: 8px;
	font-weight: 600;
	flex-shrink: 0;
}

/* SERP result rows */
.ui-mockup-serp-row {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f1;
}

.ui-mockup-serp-row:last-child { border-bottom: none; }

.ui-mockup-serp-pos {
	width: 18px;
	height: 18px;
	background: var(--bg-alt);
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 9px;
	font-weight: 700;
	color: #50575e;
	flex-shrink: 0;
}

.ui-mockup-serp-pos.you {
	background: var(--brand);
	color: #fff;
}

.ui-mockup-serp-title {
	flex: 1;
	font-size: 10px;
	color: #1d2327;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ui-mockup-serp-score {
	font-size: 10px;
	font-weight: 700;
	flex-shrink: 0;
	padding: 1px 6px;
	border-radius: 3px;
}

.ui-mockup-serp-score.high { background: #f0fdf4; color: #16a34a; }
.ui-mockup-serp-score.mid { background: #fffbeb; color: #d97706; }
.ui-mockup-serp-score.low { background: #fef2f2; color: #dc2626; }

/* Content Hub table */
.ui-mockup-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 10px;
}

.ui-mockup-table th {
	text-align: left;
	padding: 5px 8px;
	border-bottom: 2px solid #c3c4c7;
	color: #50575e;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.ui-mockup-table td {
	padding: 6px 8px;
	border-bottom: 1px solid #f0f0f1;
}

.ui-mockup-table tr:last-child td { border-bottom: none; }

.ui-mockup-mini-bar {
	width: 48px;
	height: 5px;
	background: #e5e7eb;
	border-radius: 3px;
	overflow: hidden;
	display: inline-block;
	vertical-align: middle;
}

.ui-mockup-mini-bar-fill {
	height: 100%;
	border-radius: 3px;
}

.ui-mockup-badge-sm {
	display: inline-block;
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 9px;
	font-weight: 600;
}

.ui-mockup-badge-green { background: #dcfce7; color: #166534; }
.ui-mockup-badge-yellow { background: #fef9c3; color: #854d0e; }
.ui-mockup-badge-red { background: #fee2e2; color: #991b1b; }

/* AI content wizard steps */
.ui-mockup-wizard-steps {
	display: flex;
	gap: 4px;
	margin-bottom: 10px;
}

.ui-mockup-wizard-step {
	flex: 1;
	height: 4px;
	background: #e5e7eb;
	border-radius: 2px;
}

.ui-mockup-wizard-step.done { background: var(--brand); }
.ui-mockup-wizard-step.active { background: var(--accent); }

/* Rows layout */
.ui-mockup-cols {
	display: flex;
	gap: 10px;
}

.ui-mockup-cols > * { flex: 1; }

/* Button mockup */
.ui-mockup-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 10px;
	background: var(--brand);
	color: #fff;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 600;
}

.ui-mockup-btn.secondary {
	background: #f0f0f1;
	color: #50575e;
	border: 1px solid #c3c4c7;
}

/* Text content mockup */
.ui-mockup-text-line {
	height: 7px;
	background: #e5e7eb;
	border-radius: 3px;
	margin-bottom: 5px;
}

.ui-mockup-text-line.short { width: 60%; }
.ui-mockup-text-line.medium { width: 80%; }
.ui-mockup-text-line.heading {
	height: 10px;
	background: #cbd5e1;
	width: 45%;
	margin-bottom: 8px;
}

@media (max-width: 968px) {
	.showcase, .showcase-reverse { grid-template-columns: 1fr; }
	.showcase-reverse { direction: ltr; }
}

/* =========================================================================
   Pricing
   ========================================================================= */

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

.pricing-card {
	background: var(--bg);
	border: 2px solid var(--border);
	border-radius: var(--radius);
	padding: 40px 32px;
	position: relative;
	transition: all var(--transition);
}

.pricing-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.pricing-card.popular {
	border-color: var(--brand);
	box-shadow: var(--shadow-lg);
}

.pricing-badge {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--brand);
	color: #fff;
	padding: 4px 20px;
	border-radius: 100px;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.pricing-tier {
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--brand);
	margin-bottom: 8px;
}

.pricing-price {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 8px;
}

.pricing-currency { font-size: 1.5rem; font-weight: 700; color: var(--text); }
.pricing-amount { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
.pricing-period { font-size: 0.875rem; color: var(--text-muted); }

.pricing-desc {
	color: var(--text-muted);
	font-size: 0.875rem;
	margin-bottom: 24px;
	line-height: 1.5;
}

.pricing-features {
	list-style: none;
	margin-bottom: 32px;
}

.pricing-features li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	font-size: 0.875rem;
	border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-check {
	flex-shrink: 0;
	color: var(--brand);
	font-weight: 700;
	font-size: 1rem;
}

.pricing-features .disabled { color: var(--text-muted); opacity: 0.4; }
.pricing-features .disabled .pricing-check { color: #cbd5e1; }

.pricing-card .btn { width: 100%; justify-content: center; }

@media (max-width: 968px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* =========================================================================
   Workflow / Steps
   ========================================================================= */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	counter-reset: step;
}

.step {
	text-align: center;
	position: relative;
}

.step::before {
	counter-increment: step;
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	background: var(--brand);
	color: #fff;
	border-radius: 50%;
	font-size: 1.25rem;
	font-weight: 800;
}

.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* Arrow between steps */
.step:not(:last-child)::after {
	content: '';
	position: absolute;
	top: 28px;
	right: -16px;
	width: 32px;
	height: 2px;
	background: var(--border);
}

@media (max-width: 768px) {
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
}
@media (max-width: 500px) {
	.steps { grid-template-columns: 1fr; }
}

/* =========================================================================
   Testimonials / Social Proof
   ========================================================================= */

.social-proof {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
	opacity: 0.5;
}

.social-proof span {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--text-muted);
}

.stats-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-block-value {
	font-size: 2.5rem;
	font-weight: 800;
	color: var(--brand);
	line-height: 1;
	margin-bottom: 8px;
}

.section-dark .stat-block-value { color: var(--accent); }

.stat-block-label {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.section-dark .stat-block-label { color: #94a3b8; }

@media (max-width: 600px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   FAQ / Accordion
   ========================================================================= */

.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
	border-bottom: 1px solid var(--border);
}

.faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	background: none;
	border: none;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text);
	cursor: pointer;
	text-align: left;
}

.faq-question:hover { color: var(--brand); }

.faq-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--bg-alt);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	transition: transform var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

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

.faq-answer-inner {
	padding: 0 0 20px;
	color: var(--text-muted);
	font-size: 0.9375rem;
	line-height: 1.7;
}

/* =========================================================================
   CTA Banner
   ========================================================================= */

.cta-banner {
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
	border-radius: var(--radius);
	padding: 64px;
	text-align: center;
	color: #fff;
	position: relative;
	overflow: hidden;
}

.cta-banner::before {
	content: '';
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: rgba(255,255,255,0.05);
	border-radius: 50%;
}

.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 32px; font-size: 1.125rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* =========================================================================
   Footer
   ========================================================================= */

.footer {
	background: var(--bg-dark);
	color: #94a3b8;
	padding: 64px 0 32px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 48px;
	margin-bottom: 48px;
}

.footer-brand p {
	font-size: 0.875rem;
	line-height: 1.7;
	margin-top: 16px;
	max-width: 320px;
}

.footer h4 {
	color: var(--text-light);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; font-size: 0.875rem; }
.footer-links a:hover { color: var(--text-light); }

.footer-bottom {
	border-top: 1px solid #1e293b;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8125rem;
}

@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-bottom { flex-direction: column; gap: 12px; }
}

/* =========================================================================
   Docs page
   ========================================================================= */

.docs-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 48px;
	align-items: start;
}

.docs-sidebar {
	position: sticky;
	top: 96px;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
}

.docs-nav { list-style: none; }
.docs-nav li { margin-bottom: 4px; }
.docs-nav a {
	display: block;
	padding: 8px 12px;
	font-size: 0.875rem;
	border-radius: 6px;
	color: var(--text-muted);
}
.docs-nav a:hover, .docs-nav a.active {
	background: rgba(51,87,101,0.08);
	color: var(--brand);
}

.docs-content h2 {
	margin-top: 48px;
	margin-bottom: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.docs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.docs-content h3 { margin-top: 32px; margin-bottom: 12px; }
.docs-content p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.7; }
.docs-content ul, .docs-content ol { margin-bottom: 16px; padding-left: 24px; color: var(--text-muted); }
.docs-content li { margin-bottom: 6px; line-height: 1.6; }
.docs-content code {
	background: var(--bg-alt);
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.875rem;
	font-family: 'JetBrains Mono', monospace;
}

.docs-content pre {
	background: var(--bg-dark);
	color: #e2e8f0;
	padding: 20px;
	border-radius: var(--radius-sm);
	overflow-x: auto;
	margin-bottom: 24px;
	font-size: 0.8125rem;
	line-height: 1.6;
}

.docs-content pre code { background: none; padding: 0; color: inherit; }

.docs-callout {
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	margin-bottom: 24px;
	font-size: 0.875rem;
	line-height: 1.6;
}

.docs-callout-info { background: rgba(59,130,246,0.08); border-left: 3px solid #3b82f6; }
.docs-callout-tip { background: rgba(34,197,94,0.08); border-left: 3px solid #22c55e; }
.docs-callout-warning { background: rgba(234,179,8,0.08); border-left: 3px solid #eab308; }

@media (max-width: 768px) {
	.docs-layout { grid-template-columns: 1fr; }
	.docs-sidebar { position: static; }
}

/* =========================================================================
   Login
   ========================================================================= */

.login-card {
	max-width: 420px;
	margin: 0 auto;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 48px 40px;
	box-shadow: var(--shadow-lg);
}

.login-header {
	text-align: center;
	margin-bottom: 32px;
}

.login-field {
	margin-bottom: 20px;
}

.login-field label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
}

.login-field input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	font-size: 0.9375rem;
	font-family: inherit;
	color: var(--text);
	background: var(--bg);
	transition: border-color var(--transition);
}

.login-field input:focus {
	outline: none;
	border-color: var(--brand);
	box-shadow: 0 0 0 3px rgba(51,87,101,0.1);
}

.login-field input::placeholder {
	color: #94a3b8;
}

.login-footer {
	text-align: center;
	margin-top: 20px;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.login-divider {
	text-align: center;
	margin: 24px 0;
	position: relative;
}

.login-divider::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 1px;
	background: var(--border);
}

.login-divider span {
	position: relative;
	background: var(--bg);
	padding: 0 16px;
	color: var(--text-muted);
	font-size: 0.8125rem;
}

.login-alt {
	text-align: center;
	padding: 20px;
	background: var(--bg-alt);
	border-radius: var(--radius-sm);
}

/* =========================================================================
   Changelog
   ========================================================================= */

.changelog { max-width: 800px; margin: 0 auto; }

.changelog-entry {
	border-left: 3px solid var(--border);
	padding: 0 0 48px 32px;
	position: relative;
}

.changelog-entry:last-child { padding-bottom: 0; }

.changelog-entry::before {
	content: '';
	position: absolute;
	left: -7px;
	top: 6px;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: var(--brand);
	border: 2px solid var(--bg);
}

.changelog-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.changelog-header h2 {
	font-size: 1.5rem;
	margin: 0;
	padding: 0;
	border: none;
}

.changelog-date {
	font-size: 0.875rem;
	color: var(--text-muted);
}

.changelog-tag {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 100px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.changelog-tag-latest {
	background: rgba(34,197,94,0.1);
	color: #16a34a;
}

.changelog-tag-major {
	background: rgba(51,87,101,0.1);
	color: var(--brand);
}

.changelog-entry h3 {
	font-size: 1rem;
	margin-top: 20px;
	margin-bottom: 8px;
	color: var(--text);
}

.changelog-entry p {
	color: var(--text-muted);
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 12px;
}

.changelog-entry ul {
	list-style: none;
	padding: 0;
	margin-bottom: 8px;
}

.changelog-entry li {
	padding: 4px 0;
	font-size: 0.875rem;
	color: var(--text-muted);
	line-height: 1.5;
	padding-left: 20px;
	position: relative;
}

.changelog-entry li::before {
	content: '\2022';
	position: absolute;
	left: 4px;
	color: var(--brand);
	font-weight: 700;
}

.changelog-entry code {
	background: var(--bg-alt);
	padding: 1px 6px;
	border-radius: 4px;
	font-size: 0.8125rem;
}

/* =========================================================================
   Blog
   ========================================================================= */

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

.blog-card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
	box-shadow: var(--shadow-lg);
	transform: translateY(-2px);
}

.blog-card-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.blog-card-body {
	padding: 24px;
}

.blog-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin-bottom: 12px;
}

.blog-card-cat a {
	color: var(--brand);
	text-decoration: none;
	font-weight: 600;
}

.blog-card-title {
	font-size: 1.25rem;
	line-height: 1.4;
	margin-bottom: 12px;
}

.blog-card-title a {
	color: var(--text);
	text-decoration: none;
}

.blog-card-title a:hover {
	color: var(--brand);
}

.blog-card-excerpt {
	font-size: 0.9375rem;
	color: var(--text-muted);
	line-height: 1.6;
	margin-bottom: 16px;
}

.blog-card-link {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--brand);
	text-decoration: none;
}

.blog-card-link:hover {
	color: var(--accent-hover);
}

.blog-pagination {
	margin-top: 48px;
	text-align: center;
}

.blog-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-sm);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--text-muted);
	text-decoration: none;
	border: 1px solid var(--border);
	transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
	background: var(--brand);
	color: #fff;
	border-color: var(--brand);
}

.blog-pagination .prev,
.blog-pagination .next {
	width: auto;
	padding: 0 16px;
}

/* Single Blog Post */

.blog-post-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.875rem;
	color: var(--text-muted);
	margin-bottom: 16px;
}

.blog-post-title {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 16px;
}

.blog-post-excerpt {
	font-size: 1.125rem;
	color: var(--text-muted);
	line-height: 1.6;
}

.blog-post-hero-image {
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 16px;
}

.blog-post-hero-image img {
	width: 100%;
	height: auto;
	display: block;
}

.blog-post-content {
	font-size: 1.0625rem;
	line-height: 1.8;
	color: var(--text);
}

.blog-post-content h2 {
	font-size: 1.5rem;
	margin-top: 40px;
	margin-bottom: 16px;
}

.blog-post-content h3 {
	font-size: 1.25rem;
	margin-top: 32px;
	margin-bottom: 12px;
}

.blog-post-content p {
	margin-bottom: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
	margin-bottom: 20px;
	padding-left: 24px;
}

.blog-post-content li {
	margin-bottom: 8px;
}

.blog-post-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
	margin: 24px 0;
}

.blog-post-content blockquote {
	border-left: 3px solid var(--brand);
	padding: 16px 24px;
	margin: 24px 0;
	background: var(--bg-alt);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
	color: var(--text-muted);
}

.blog-post-content pre {
	background: var(--bg-dark);
	color: var(--text-light);
	padding: 20px 24px;
	border-radius: var(--radius-sm);
	overflow-x: auto;
	margin: 24px 0;
	font-size: 0.875rem;
}

.blog-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}

.blog-post-nav-link {
	text-decoration: none;
	max-width: 45%;
}

.blog-post-nav-link.next {
	margin-left: auto;
	text-align: right;
}

.blog-post-nav-label {
	display: block;
	font-size: 0.8125rem;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.blog-post-nav-title {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--brand);
	line-height: 1.4;
}

.blog-post-nav-link:hover .blog-post-nav-title {
	color: var(--accent-hover);
}

@media (max-width: 768px) {
	.blog-grid { grid-template-columns: 1fr; }
	.blog-post-title { font-size: 1.75rem; }
	.blog-post-nav { flex-direction: column; }
	.blog-post-nav-link { max-width: 100%; }
	.blog-post-nav-link.next { text-align: left; }
}

/* =========================================================================
   Animations
   ========================================================================= */

.fade-in {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* =========================================================================
   Utilities
   ========================================================================= */

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 16px; }
.mb-md { margin-bottom: 32px; }
.mb-lg { margin-bottom: 64px; }

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

@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

/* =========================================================================
   Feature page extras
   ========================================================================= */

.dimension-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.dimension-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: var(--bg-alt);
	border: 1px solid var(--border);
	border-radius: 100px;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--text);
}

.dimension-tag .weight {
	color: var(--brand);
	font-weight: 700;
	font-size: 0.75rem;
}

.provider-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.provider-badge {
	display: inline-block;
	padding: 5px 12px;
	background: var(--bg-dark);
	color: var(--text-light);
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 600;
}

/* Compact hero (features / pricing pages) */
.hero-compact {
	padding: 140px 0 72px;
	background: linear-gradient(165deg, #f0f9ff 0%, #fff 40%, #f0fdfa 100%);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-compact::before {
	content: '';
	position: absolute;
	top: -200px;
	right: -200px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(51,87,101,0.06) 0%, transparent 70%);
	border-radius: 50%;
}

.hero-compact h1 { margin-bottom: 20px; }

.hero-compact .hero-desc {
	margin-left: auto;
	margin-right: auto;
	max-width: 700px;
	margin-bottom: 0;
}

/* =========================================================================
   Comparison Table
   ========================================================================= */

.comparison-table-wrap {
	overflow-x: auto;
	margin: 0 auto;
	max-width: 900px;
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	background: var(--bg);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
}

.comparison-table thead th {
	padding: 16px 20px;
	text-align: center;
	font-weight: 700;
	font-size: 0.9375rem;
	background: var(--bg-alt);
	border-bottom: 2px solid var(--border);
}

.comparison-table thead th:first-child {
	text-align: left;
	width: 40%;
}

.comparison-table thead th.highlight {
	background: rgba(51,87,101,0.08);
	color: var(--brand);
}

.comparison-table td {
	padding: 12px 20px;
	text-align: center;
	border-bottom: 1px solid var(--border);
	color: var(--text);
}

.comparison-table td:first-child {
	text-align: left;
	color: var(--text-muted);
}

.comparison-table td.highlight {
	background: rgba(51,87,101,0.03);
}

.comparison-table td.no {
	color: #cbd5e1;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table .group-header td {
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--brand);
	background: var(--bg-alt);
	padding: 10px 20px;
	text-align: left;
}

.comparison-table thead th .tier-label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.comparison-table thead th.popular-col {
	background: rgba(51,87,101,0.04);
	border-top: 3px solid var(--brand);
}

.comparison-table td.popular-col {
	background: rgba(51,87,101,0.02);
}

.comparison-table .check {
	color: var(--brand);
	font-weight: 700;
	font-size: 1.125rem;
}

.comparison-table .dash {
	color: #cbd5e1;
	font-size: 1.125rem;
}

.comparison-table .category-row td {
	background: var(--bg-alt);
	font-weight: 700;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--brand);
	padding: 10px 20px;
	text-align: left;
}

@media (max-width: 600px) {
	.comparison-table { font-size: 0.75rem; }
	.comparison-table td, .comparison-table th { padding: 8px 10px; }
}
