/* =========================================================================
   SEOFinix — brand layer
   Loads after the base stylesheet. Section 1 re-skins every existing
   component through the design tokens; the rest styles the new landing page
   and the refreshed header, footer, inner-page hero and pricing cards.
   ========================================================================= */

/* 1. Brand tokens -------------------------------------------------------- */
:root {
	--ink: #0d0f1a;
	--ink-soft: #1a1e2e;
	--body: #454b5e;
	--muted: #6e7589;
	--line: #e3e8f2;
	--line-soft: #edf1f9;
	--bg: #ffffff;
	--soft: #f0f4ff;

	--brand: #00a882;
	--brand-ink: #008a6b;
	--brand-2: #00a882;
	--brand-glow: rgba(0, 168, 130, .35);
	--brand-grad: linear-gradient(135deg, #00c49a 0%, #00a882 55%, #008a6b 100%);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;

	--font: "Sora", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -.025em; font-weight: 700; }
a:hover { color: var(--brand); }
::selection { background: rgba(0, 168, 130, .22); }
:focus-visible { outline-color: var(--brand); }

.eyebrow {
	color: var(--brand-ink);
	background: rgba(0, 168, 130, .09);
	border-color: rgba(0, 168, 130, .22);
}
.section--dark .eyebrow { color: #5ff2cc; background: rgba(0, 168, 130, .15); border-color: rgba(0, 168, 130, .3); }

/* Buttons */
.btn { border-radius: 12px; }
.btn--primary { box-shadow: 0 8px 22px -8px var(--brand-glow); }
.btn--primary:hover { box-shadow: 0 14px 30px -10px rgba(0, 168, 130, .55); }
.btn .icon { transition: translate .18s ease; }
.btn:hover .icon { translate: 3px 0; }

/* 2. Header -------------------------------------------------------------- */
.topbar { background: var(--ink); color: #9aa3b8; }
.topbar .icon { color: var(--brand); }

.site-header {
	background: rgba(255, 255, 255, .88);
	border-bottom-color: transparent;
}
.site-header.is-stuck { border-bottom-color: var(--line-soft); box-shadow: 0 6px 24px -14px rgba(13, 15, 26, .25); }
.header-inner { min-height: 80px; }

.sfx-brand { display: inline-flex; align-items: center; color: var(--ink); flex-shrink: 0; }
.sfx-brand:hover { color: var(--ink); }

.sfx-logo { display: inline-flex; align-items: center; gap: 12px; }
.sfx-mark { color: var(--brand); flex-shrink: 0; display: block; }
.sfx-logo-text { display: flex; flex-direction: column; line-height: 1; }

.sfx-word {
	font-family: var(--font);
	font-weight: 700;
	font-size: 1.55rem;
	letter-spacing: -.03em;
	color: var(--ink);
}
.sfx-word-accent { color: var(--brand); margin-left: .28em; }

.sfx-tagline {
	margin-top: 6px;
	font-family: var(--font-body);
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: #9aa3b8;
}

.main-nav a { font-weight: 600; color: var(--ink-soft); }
.main-nav a:hover { color: var(--brand-ink); background: var(--soft); }

/* 3. Inner-page hero (pages, posts, archives, search, 404) --------------- */
.page-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(600px 300px at 85% 0%, rgba(0, 168, 130, .28), transparent 70%),
		radial-gradient(500px 260px at 0% 100%, rgba(0, 196, 154, .12), transparent 70%),
		var(--ink);
	color: #b7bfd1;
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
	pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #b7bfd1; }
.page-hero .crumbs, .page-hero .crumbs a { color: #8f98ad; }
.page-hero .crumbs a:hover { color: #5ff2cc; }

/* 4. Cards, plans, callouts (used across content pages) ------------------ */
.card, .price-card, .value-card, .team-card, .contact-card, .callout, .post-card {
	border-radius: var(--radius-lg);
}
.card:hover, .post-card:hover { border-color: rgba(0, 168, 130, .35); }
.card-icon, .icon-wrap {
	background: rgba(0, 168, 130, .1);
	color: var(--brand);
}
.card--dark, .info-panel { background: var(--ink); }

.plan { border-radius: var(--radius-lg); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(13, 15, 26, .35); }
.plan--featured {
	border-color: var(--brand);
	box-shadow: 0 0 0 1px var(--brand), 0 30px 60px -30px rgba(0, 168, 130, .55);
}
.plan-badge { background: var(--brand-grad); color: #fff; }
.plan-features .icon, .cell-yes .icon, .plan-foot .icon { color: var(--brand); }
.plan-table th.is-featured, .plan-table td.is-featured { background: rgba(0, 168, 130, .06); }

.faq details[open] { border-color: rgba(0, 168, 130, .45); }

/* 5. Footer -------------------------------------------------------------- */
.site-footer {
	background:
		radial-gradient(700px 300px at 100% 0%, rgba(0, 168, 130, .14), transparent 70%),
		var(--ink);
	color: #8f98ad;
}
.site-footer a { color: #b7bfd1; }
.site-footer a:hover { color: #5ff2cc; }
.sfx-brand--footer .sfx-word { color: #fff; }
.sfx-brand--footer .sfx-tagline { color: #7d869b; }
.footer-about p { margin-top: 22px; }
.social-row a:hover { background: var(--brand); border-color: var(--brand); }

/* 6. Landing page -------------------------------------------------------- */

/* Hero */
.sfx-hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: #b7bfd1;
	padding: 96px 0 110px;
}
.sfx-hero-bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(640px 420px at 80% 30%, rgba(0, 168, 130, .32), transparent 70%),
		radial-gradient(520px 360px at 10% 110%, rgba(0, 196, 154, .16), transparent 70%);
}
.sfx-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.sfx-hero .container { position: relative; }

.sfx-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 64px;
	align-items: center;
}

.sfx-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #5ff2cc;
	border: 1px solid rgba(95, 242, 204, .25);
	background: rgba(0, 168, 130, .1);
	padding: 8px 14px;
	border-radius: 999px;
	margin-bottom: 26px;
}
.sfx-dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: #5ff2cc;
	box-shadow: 0 0 0 4px rgba(95, 242, 204, .18);
	animation: sfx-pulse 2.2s ease-in-out infinite;
}
@keyframes sfx-pulse { 50% { box-shadow: 0 0 0 8px rgba(95, 242, 204, 0); } }

.sfx-hero h1 {
	color: #fff;
	font-size: clamp(2.3rem, 5vw, 3.9rem);
	line-height: 1.08;
	letter-spacing: -.035em;
	margin-bottom: 24px;
}
.sfx-grad {
	display: block;
	background: linear-gradient(100deg, #5ff2cc 0%, #00c49a 45%, #00a882 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sfx-hero-sub { font-size: 1.12rem; max-width: 56ch; margin-bottom: 34px; }

.sfx-hero-points {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: .92rem;
	color: #cfd5e3;
}
.sfx-hero-points li { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.sfx-hero-points .icon { color: #5ff2cc; }

/* Score card */
.sfx-score {
	background: rgba(255, 255, 255, .98);
	color: var(--body);
	border-radius: 26px;
	padding: 30px;
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .08);
	rotate: 1.2deg;
	transition: rotate .3s ease;
}
.sfx-score:hover { rotate: 0deg; }

.sfx-score-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line);
}
.sfx-score-label {
	display: block;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--brand-ink);
	margin-bottom: 4px;
}
.sfx-score-head strong { font-family: var(--font); color: var(--ink); font-size: 1.05rem; }

.sfx-ring {
	--val: 70;
	width: 78px; height: 78px;
	border-radius: 50%;
	background: conic-gradient(var(--brand) calc(var(--val) * 1%), var(--line-soft) 0);
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.sfx-ring span {
	width: 62px; height: 62px;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	font-family: var(--font);
	font-weight: 800;
	font-size: 1.45rem;
	color: var(--ink);
}

.sfx-score-rows { display: grid; gap: 16px; }
.sfx-score-row-top {
	display: flex;
	justify-content: space-between;
	font-size: .9rem;
	margin-bottom: 7px;
	color: var(--ink-soft);
	font-weight: 500;
}
.sfx-score-row-top em { font-style: normal; font-weight: 700; font-family: var(--font); color: var(--ink); }

.sfx-score-foot {
	margin-top: 22px;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--soft);
	font-size: .84rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 9px;
}
.sfx-score-foot .icon { color: var(--brand); }

/* Data sources */
.sfx-sources { border-bottom: 1px solid var(--line-soft); padding: 26px 0; }
.sfx-sources .container { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.sfx-sources-label {
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted);
}
.sfx-sources-list { display: flex; flex-wrap: wrap; gap: 10px 34px; flex: 1; justify-content: space-between; }
.sfx-sources-list span { font-family: var(--font); font-weight: 600; color: #a2a9ba; font-size: 1rem; }

/* Section head (split) */
.sfx-head {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 48px;
	align-items: end;
	margin-bottom: 52px;
}
.sfx-head h2 { margin: 0; }
.sfx-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* Bento */
.sfx-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sfx-tile {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.sfx-tile:hover {
	transform: translateY(-4px);
	border-color: rgba(0, 168, 130, .4);
	box-shadow: 0 24px 50px -30px rgba(13, 15, 26, .35);
}
.sfx-tile--wide { grid-column: span 2; background: var(--soft); border-color: transparent; }
.sfx-tile h3 { font-size: 1.12rem; margin: 18px 0 10px; }
.sfx-tile p { font-size: .93rem; color: var(--muted); flex: 1; }
.sfx-tile-icon {
	width: 48px; height: 48px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: rgba(0, 168, 130, .1);
	color: var(--brand);
}
.sfx-tile-link {
	margin-top: 18px;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font);
	font-weight: 600;
	font-size: .9rem;
	color: var(--brand-ink);
}
.sfx-tile-link .icon { transition: translate .18s ease; }
.sfx-tile:hover .sfx-tile-link .icon { translate: 4px 0; }

.sfx-tile--accent { background: var(--ink); border-color: var(--ink); color: #b7bfd1; }
.sfx-tile--accent h3 { color: #fff; }
.sfx-tile--accent p { color: #b7bfd1; }
.sfx-tile--accent .sfx-tile-icon { background: var(--brand); color: #fff; }
.sfx-tile--accent .sfx-tile-link { color: #5ff2cc; }

/* Stats */
.sfx-stats { background: var(--brand-grad); color: #eafff8; padding: 56px 0; }
.sfx-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.sfx-stat strong {
	display: block;
	font-family: var(--font);
	font-size: clamp(2.2rem, 4vw, 3rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -.03em;
	line-height: 1.1;
}
.sfx-stat span { font-size: .92rem; opacity: .9; }

/* Split: inside the report */
.sfx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.sfx-checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 20px; }
.sfx-checks li { display: flex; gap: 16px; margin: 0; }
.sfx-checks strong { display: block; font-family: var(--font); color: var(--ink); font-size: 1rem; }
.sfx-checks span { font-size: .93rem; color: var(--muted); }
.sfx-check-icon {
	width: 44px; height: 44px;
	border-radius: 12px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 168, 130, .1);
	color: var(--brand) !important;
}

.sfx-report {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: 0 0 18px;
	box-shadow: 0 40px 80px -40px rgba(13, 15, 26, .35);
	overflow: hidden;
}
.sfx-report-bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 16px 22px;
	background: var(--soft);
	border-bottom: 1px solid var(--line);
	font-family: var(--font);
	font-weight: 600;
	font-size: .88rem;
	color: var(--ink);
}
.sfx-report-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dcea; }
.sfx-report-bar span { margin-left: 10px; }
.sfx-issue {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 22px;
	border-bottom: 1px solid var(--line-soft);
}
.sfx-issue strong { display: block; font-size: .95rem; color: var(--ink); font-weight: 600; }
.sfx-issue span { font-size: .82rem; color: var(--muted); }
.sfx-pri {
	flex-shrink: 0;
	width: 52px;
	text-align: center;
	font-size: .68rem !important;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 5px 0;
	border-radius: 8px;
}
.sfx-pri--high { background: #ffe4e8; color: #be123c !important; }
.sfx-pri--med { background: #fff1db; color: #b45309 !important; }
.sfx-pri--low { background: rgba(0, 168, 130, .12); color: var(--brand-ink) !important; }
.sfx-report-note { margin: 14px 22px 0; font-size: .76rem; color: #a2a9ba; text-align: right; }

/* Steps */
.sfx-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	counter-reset: none;
}
.sfx-step {
	position: relative;
	margin: 0;
	background: #fff;
	border-radius: 22px;
	padding: 30px 26px;
	border: 1px solid var(--line);
}
.sfx-step::after {
	content: "";
	position: absolute;
	top: 52px;
	right: -21px;
	width: 22px;
	height: 2px;
	background: linear-gradient(90deg, var(--brand), transparent);
}
.sfx-step:last-child::after { display: none; }
.sfx-step-num {
	display: inline-grid;
	place-items: center;
	width: 46px; height: 46px;
	border-radius: 14px;
	background: var(--ink);
	color: #5ff2cc;
	font-family: var(--font);
	font-weight: 700;
	margin-bottom: 18px;
}
.sfx-step h3 { font-size: 1.08rem; }
.sfx-step p { font-size: .93rem; color: var(--muted); }

/* FAQ */
.sfx-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.sfx-faq-intro { position: sticky; top: 110px; }
.sfx-faq-intro p { color: var(--muted); margin-bottom: 22px; }
.sfx-faq .faq { max-width: none; margin: 0; }

/* CTA */
.sfx-cta {
	position: relative;
	overflow: hidden;
	border-radius: 30px;
	padding: 64px 56px;
	background:
		radial-gradient(500px 300px at 100% 0%, rgba(95, 242, 204, .25), transparent 70%),
		var(--ink);
	color: #b7bfd1;
}
.sfx-cta-mark {
	position: absolute;
	right: -30px;
	bottom: -50px;
	opacity: .12;
	color: #5ff2cc;
	pointer-events: none;
}
.sfx-cta-mark .sfx-mark { color: #5ff2cc; }
.sfx-cta-copy { position: relative; max-width: 620px; }
.sfx-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sfx-cta p { font-size: 1.08rem; margin-bottom: 30px; }
.sfx-cta .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.sfx-cta .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.sfx-hero .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.sfx-hero .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

/* 7. Responsive ---------------------------------------------------------- */
@media (max-width: 1080px) {
	.sfx-bento { grid-template-columns: repeat(2, 1fr); }
	.sfx-steps { grid-template-columns: repeat(2, 1fr); }
	.sfx-step::after { display: none; }
}

@media (max-width: 900px) {
	/* Closed off-canvas menu: hidden from focus and screen readers too. */
	.main-nav { visibility: hidden; transition: translate .28s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .28s; }
	.main-nav.is-open { visibility: visible; transition: translate .28s cubic-bezier(.4, 0, .2, 1); }
	.sfx-hero { padding: 64px 0 80px; }
	.sfx-hero-grid, .sfx-split, .sfx-head, .sfx-faq { grid-template-columns: 1fr; gap: 40px; }
	.sfx-score { rotate: 0deg; }
	.sfx-faq-intro { position: static; }
	.sfx-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
	.sfx-sources-list { justify-content: flex-start; }
	.sfx-header-btn { display: none; }
	.sfx-word { font-size: 1.35rem; }
}

@media (max-width: 560px) {
	.sfx-sources .container { flex-direction: column; align-items: flex-start; gap: 12px; }
	.sfx-sources-list { gap: 6px 20px; }
	.sfx-sources-list span { font-size: .92rem; }
	.sfx-bento, .sfx-steps { grid-template-columns: 1fr; }
	.sfx-tile--wide { grid-column: auto; }
	.sfx-cta { padding: 44px 26px; border-radius: 24px; }
	.sfx-score { padding: 22px; }
	.sfx-mark { width: 36px; height: 36px; }
	.sfx-word { font-size: 1.2rem; }
	.sfx-tagline { font-size: .56rem; letter-spacing: .16em; }
	.sfx-cta-mark .sfx-mark { width: 160px; height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
	.sfx-dot { animation: none; }
	.sfx-score, .sfx-tile, .plan { transition: none; }
}
