/* ==========================================================================
   SnapWordz SEO Hub — Modern UI (Emerald + Slate, no pink)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
	--seo-primary: #059669;
	--seo-primary-hover: #047857;
	--seo-primary-light: #10b981;
	--seo-accent: #0d9488;
	--seo-gradient: linear-gradient(135deg, #10b981 0%, #059669 55%, #047857 100%);
	--seo-gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.06) 100%);

	--seo-ink: #0f172a;
	--seo-ink-2: #1e293b;
	--seo-body: #475569;
	--seo-muted: #64748b;

	--seo-bg: #f1f5f9;
	--seo-surface: #ffffff;
	--seo-border: #e2e8f0;
	--seo-border-2: #cbd5e1;

	--seo-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
	--seo-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
	--seo-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
	--seo-shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.1);

	--seo-radius-sm: 10px;
	--seo-radius-md: 14px;
	--seo-radius-lg: 18px;
	--seo-radius-xl: 24px;
}

/* ---- Page base (header/nav use global style.css — do not override) ---- */
body.seo-hub {
	background: #ffffff;
	color: var(--seo-body);
	-webkit-font-smoothing: antialiased;
}

.seo-hub a { text-decoration: none; }

.seo-hub .seo-tools-section,
.seo-hub .seo-workflow-section,
.seo-hub .seo-features-section,
.seo-hub .seo-faq-section,
.seo-hub .seo-cta-section {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==========================================================================
   Hero — uses global .blog-area padding-top (115px) like all other pages
   ========================================================================== */
.seo-hero.blog-area {
	position: relative;
	padding-bottom: 50px;
	overflow: hidden;
	background: #ffffff;
	border-bottom: 1px solid var(--seo-border);
}

.seo-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 80%);
	pointer-events: none;
}

.seo-hero > .container { position: relative; z-index: 1; }

.seo-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.22);
	color: var(--seo-primary-hover);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.seo-hero-badge i { color: var(--seo-primary-light); font-size: 14px; }

.seo-hero .section-title .title .gradient-text {
	background: var(--seo-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 700;
}

.seo-hero .section-title .text {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0;
}

.seo-hero-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 32px;
}

.seo-btn-primary,
.seo-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	padding: 0 28px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.seo-btn-primary {
	background: var(--seo-gradient);
	color: #fff;
	border: none;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.seo-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(5, 150, 105, 0.4);
	color: #fff;
}

.seo-btn-outline {
	background: var(--seo-surface);
	color: var(--seo-ink-2);
	border: 1px solid var(--seo-border-2);
	box-shadow: var(--seo-shadow-xs);
}

.seo-btn-outline:hover {
	border-color: var(--seo-primary);
	color: var(--seo-primary-hover);
	transform: translateY(-2px);
}

/* ==========================================================================
   Tools section
   ========================================================================== */
.seo-tools-section {
	padding: 64px 0 80px;
	background: var(--seo-bg);
}

.seo-section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 40px;
}

.seo-section-head h2 {
	font-size: clamp(26px, 3.5vw, 34px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--seo-ink);
	margin-bottom: 10px;
}

.seo-section-head p {
	font-size: 16px;
	color: var(--seo-muted);
	line-height: 1.6;
	margin: 0;
}

.seo-controls-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
	padding: 12px;
	background: var(--seo-surface);
	border: 1px solid var(--seo-border);
	border-radius: var(--seo-radius-lg);
	box-shadow: var(--seo-shadow-xs);
}

.seo-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.seo-filter-btn {
	padding: 9px 16px;
	border-radius: 10px;
	border: 1px solid transparent;
	background: transparent;
	color: var(--seo-body);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.seo-filter-btn:hover {
	background: var(--seo-bg);
	color: var(--seo-ink);
}

.seo-filter-btn.active {
	background: var(--seo-ink);
	color: #fff;
	box-shadow: var(--seo-shadow-sm);
}

.seo-search-box {
	position: relative;
	flex: 1 1 260px;
	max-width: 320px;
}

.seo-search-box i {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--seo-muted);
	font-size: 16px;
	z-index: 1;
	pointer-events: none;
}

.seo-search-box input {
	width: 100%;
	height: 42px;
	padding: 0 14px 0 40px;
	border-radius: 10px;
	border: 1px solid var(--seo-border);
	background: var(--seo-bg);
	font-size: 14px;
	color: var(--seo-ink);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.seo-search-box input:focus {
	outline: none;
	border-color: var(--seo-primary-light);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
	background: #fff;
}

/* Tool cards */
.seo-tools-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 1024px) { .seo-tools-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .seo-tools-grid { grid-template-columns: 1fr; } }

.seo-tool-card {
	background: var(--seo-surface);
	border: 1px solid var(--seo-border);
	border-radius: var(--seo-radius-lg);
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
	box-shadow: var(--seo-shadow-xs);
}

.seo-tool-card:hover {
	border-color: rgba(16, 185, 129, 0.35);
	box-shadow: var(--seo-shadow-md);
	transform: translateY(-4px);
	color: inherit;
}

.seo-tool-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 16px;
}

.seo-tool-icon-wrap {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	border: 1px solid transparent;
	transition: transform 0.2s;
}

.seo-tool-card:hover .seo-tool-icon-wrap { transform: scale(1.05); }

.seo-tool-icon-wrap.icon-blue   { background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.seo-tool-icon-wrap.icon-rose   { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
.seo-tool-icon-wrap.icon-violet { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.seo-tool-icon-wrap.icon-cyan   { background: #ecfeff; color: #0891b2; border-color: #a5f3fc; }
.seo-tool-icon-wrap.icon-amber  { background: #fffbeb; color: #d97706; border-color: #fde68a; }
.seo-tool-icon-wrap.icon-emerald{ background: #ecfdf5; color: #059669; border-color: #a7f3d0; }
.seo-tool-icon-wrap.icon-gold   { background: #fefce8; color: #ca8a04; border-color: #fef08a; }
.seo-tool-icon-wrap.icon-teal   { background: #f0fdfa; color: #0d9488; border-color: #99f6e4; }
.seo-tool-icon-wrap.icon-red    { background: #fef2f2; color: #dc2626; border-color: #fecaca; }
.seo-tool-icon-wrap.icon-indigo { background: #eef2ff; color: #4f46e5; border-color: #c7d2fe; }
.seo-tool-icon-wrap.icon-sky    { background: #f0f9ff; color: #0284c7; border-color: #bae6fd; }
.seo-tool-icon-wrap.icon-orange { background: #fff7ed; color: #ea580c; border-color: #fed7aa; }

.seo-tool-tag {
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 9px;
	border-radius: 6px;
}

.seo-tool-tag.tag-competitive { background: #eff6ff; color: #1d4ed8; }
.seo-tool-tag.tag-links       { background: #ecfdf5; color: #047857; }
.seo-tool-tag.tag-content     { background: #fff7ed; color: #c2410c; }

.seo-tool-body h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--seo-ink);
	margin: 0 0 6px;
	line-height: 1.35;
}

.seo-tool-card:hover .seo-tool-body h3 { color: var(--seo-primary-hover); }

.seo-tool-body p {
	font-size: 14px;
	color: var(--seo-muted);
	line-height: 1.6;
	margin: 0 0 16px;
}

.seo-tool-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--seo-border);
	margin-top: auto;
}

.seo-tool-action {
	font-size: 13px;
	font-weight: 700;
	color: var(--seo-primary);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.seo-tool-metric {
	font-size: 11px;
	color: #94a3b8;
	font-weight: 500;
}

/* ==========================================================================
   Workflow
   ========================================================================== */
.seo-workflow-section {
	padding: 72px 0;
	background: var(--seo-surface);
	border-top: 1px solid var(--seo-border);
	border-bottom: 1px solid var(--seo-border);
}

.seo-workflow-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 36px;
}

@media (max-width: 768px) { .seo-workflow-grid { grid-template-columns: 1fr; } }

.seo-step-card {
	padding: 28px 24px;
	background: var(--seo-bg);
	border: 1px solid var(--seo-border);
	border-radius: var(--seo-radius-lg);
	transition: box-shadow 0.2s;
}

.seo-step-card:hover { box-shadow: var(--seo-shadow-sm); }

.seo-step-number {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--seo-gradient);
	color: #fff;
	font-size: 16px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.seo-step-card h3 {
	font-size: 17px;
	font-weight: 700;
	color: var(--seo-ink);
	margin-bottom: 8px;
}

.seo-step-card p {
	font-size: 14px;
	color: var(--seo-muted);
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   Features
   ========================================================================== */
.seo-features-section {
	padding: 72px 0;
	background: var(--seo-bg);
}

.seo-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 36px;
}

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

.seo-feature-card {
	padding: 26px 22px;
	background: var(--seo-surface);
	border: 1px solid var(--seo-border);
	border-radius: var(--seo-radius-lg);
	transition: box-shadow 0.2s, border-color 0.2s;
}

.seo-feature-card:hover {
	box-shadow: var(--seo-shadow-sm);
	border-color: rgba(16, 185, 129, 0.3);
}

.seo-feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: var(--seo-gradient-soft);
	color: var(--seo-primary-hover);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	margin-bottom: 16px;
}

.seo-feature-card h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--seo-ink);
	margin-bottom: 8px;
}

.seo-feature-card p {
	font-size: 14px;
	color: var(--seo-muted);
	line-height: 1.6;
	margin: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.seo-faq-section {
	padding: 72px 0;
	background: var(--seo-surface);
	border-top: 1px solid var(--seo-border);
}

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

.seo-faq-item {
	border: 1px solid var(--seo-border);
	border-radius: var(--seo-radius-md);
	margin-bottom: 10px;
	overflow: hidden;
	background: var(--seo-surface);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.seo-faq-item:hover { border-color: var(--seo-border-2); }

.seo-faq-header {
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
	user-select: none;
}

.seo-faq-header h4 {
	font-size: 15px;
	font-weight: 600;
	color: var(--seo-ink);
	margin: 0;
	line-height: 1.4;
}

.seo-faq-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--seo-bg);
	color: var(--seo-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	transition: transform 0.25s, background 0.25s, color 0.25s;
}

.seo-faq-item.open {
	border-color: var(--seo-primary-light);
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.seo-faq-item.open .seo-faq-icon {
	transform: rotate(180deg);
	background: var(--seo-primary);
	color: #fff;
}

.seo-faq-body {
	display: none;
	padding: 0 20px 18px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--seo-body);
}

.seo-faq-body a {
	color: var(--seo-primary-hover);
	font-weight: 600;
}

.seo-faq-body a:hover { text-decoration: underline; }

/* ==========================================================================
   CTA — light modern card (no dark pink block)
   ========================================================================== */
.seo-cta-section {
	padding: 64px 0 80px;
	background: var(--seo-bg);
}

.seo-cta-banner {
	border-radius: var(--seo-radius-xl);
	padding: 3px;
	background: var(--seo-gradient);
	box-shadow: var(--seo-shadow-lg);
}

.seo-cta-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 32px;
	align-items: center;
	padding: 40px 36px;
	background:
		radial-gradient(ellipse 80% 60% at 0% 0%, rgba(16, 185, 129, 0.08), transparent 55%),
		#ffffff;
	border-radius: calc(var(--seo-radius-xl) - 3px);
}

@media (max-width: 991px) {
	.seo-cta-grid {
		grid-template-columns: 1fr;
		padding: 32px 24px;
		text-align: center;
	}
}

.seo-cta-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(16, 185, 129, 0.1);
	border: 1px solid rgba(16, 185, 129, 0.2);
	color: var(--seo-primary-hover);
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 14px;
}

.seo-cta-badge i { color: var(--seo-primary-light); }

.seo-cta-content h2 {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--seo-ink);
	margin-bottom: 10px;
	line-height: 1.25;
}

.seo-cta-content p {
	font-size: 15px;
	color: var(--seo-muted);
	margin: 0 0 18px;
	line-height: 1.6;
}

.seo-cta-points {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
}

@media (max-width: 991px) { .seo-cta-points { justify-content: center; } }

.seo-cta-points li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 600;
	color: var(--seo-ink-2);
}

.seo-cta-points li i { color: var(--seo-primary); font-size: 15px; }

.seo-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

@media (max-width: 991px) { .seo-cta-actions { justify-content: center; } }

.seo-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 26px;
	border-radius: 12px;
	background: var(--seo-gradient);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
	transition: all 0.2s;
}

.seo-cta-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
	color: #fff;
}

.seo-cta-btn-outline {
	display: inline-flex;
	align-items: center;
	height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	border: 1px solid var(--seo-border-2);
	background: #fff;
	color: var(--seo-ink-2);
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s;
}

.seo-cta-btn-outline:hover {
	border-color: var(--seo-primary);
	color: var(--seo-primary-hover);
}

.seo-cta-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
}

.seo-cta-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px dashed rgba(16, 185, 129, 0.25);
}

.seo-cta-ring-1 { width: 190px; height: 190px; }
.seo-cta-ring-2 {
	width: 130px;
	height: 130px;
	border-style: solid;
	border-color: rgba(16, 185, 129, 0.12);
}

.seo-cta-icon-stack {
	position: relative;
	width: 160px;
	height: 160px;
}

.seo-cta-main-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 72px;
	height: 72px;
	border-radius: 18px;
	background: var(--seo-gradient);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	box-shadow: 0 10px 24px rgba(5, 150, 105, 0.35);
}

.seo-cta-float-icon {
	position: absolute;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--seo-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	box-shadow: var(--seo-shadow-sm);
}

.seo-cta-float-icon.icon-a { top: 6px; left: 8px; color: #2563eb; }
.seo-cta-float-icon.icon-b { bottom: 12px; left: 0; color: #059669; }
.seo-cta-float-icon.icon-c { top: 18px; right: 0; color: #ca8a04; }

/* Empty state */
.seo-empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 20px;
	background: var(--seo-surface);
	border-radius: var(--seo-radius-lg);
	border: 1px dashed var(--seo-border-2);
	display: none;
}

.seo-empty-state i { font-size: 36px; color: var(--seo-muted); margin-bottom: 10px; }
.seo-empty-state h3 { font-size: 17px; font-weight: 700; color: var(--seo-ink); margin-bottom: 4px; }
.seo-empty-state p { font-size: 14px; color: var(--seo-muted); margin: 0; }

@media (max-width: 640px) {
	.seo-controls-bar { flex-direction: column; align-items: stretch; }
	.seo-search-box { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	.seo-tool-card:hover,
	.seo-btn-primary:hover,
	.seo-btn-outline:hover,
	.seo-cta-btn:hover { transform: none; }
}
