/* ============================================================
   TrivalRO Homepage SEO Landing Block

   Renders main/seo-intro.php -- the page's single <h1>, the
   keyword lead copy, the client cards, and the FAQ whose answers
   are mirrored into FAQPage schema by main/public-seo-head.php.
   Edit those two together.

   Styled to match the Server Rates section (css/main/servercenter.css,
   .home-server-rates-*). That block is the site's "frosted glass"
   treatment, and the vocabulary is deliberate:

     - surfaces are translucent white, rgba(255,255,255,.64-.68),
       over backdrop-filter: blur(5px)
     - panels get hairline top/bottom borders ONLY -- no side
       borders and no border-radius, so they read as bands laid
       over the artwork rather than as floating cards
     - columns are separated by 1px gradient rules that fade out
       at both ends, never by solid lines
     - body text carries a white text-shadow so it stays legible
       where the background image shows through
     - shadows are wide and very soft: 0 10px 28px rgba(61,112,148,.08)

   Keep any new element here inside that vocabulary.
   ============================================================ */

.trival-seo-intro {
	position: relative;
	left: 50%;
	width: 100vw;
	margin-left: -50vw;
	padding: 44px 0 46px;
	overflow: hidden;
	border-top: 1px solid rgba(150, 190, 220, .30);
	border-bottom: 1px solid rgba(150, 190, 220, .30);
	background-color: rgba(247, 250, 252, .96);
}

.trival-seo-intro::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(255,255,255,.42) 18%, rgba(240,248,252,.62) 82%, rgba(255,255,255,.90) 100%),
		url('../../assets/background-1.jpg') center 42% / cover no-repeat;
	opacity: .92;
	pointer-events: none;
}

.trival-seo-intro-inner {
	position: relative;
	z-index: 1;
	width: min(1100px, calc(100vw - 48px));
	margin: 0 auto;
}

/* ── Headline ─────────────────────────────────────────────── */

.trival-seo-kicker {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0 auto 16px;
	padding: 11px 28px 10px;
	border-radius: 50px;
	background: linear-gradient(180deg, #72c7ff 0%, #55afea 58%, #4297d4 100%);
	box-shadow:
		0 5px 12px rgba(44, 107, 154, .22),
		inset 0 -4px 0 rgba(14, 85, 139, .50),
		inset 0 1px 0 rgba(255, 255, 255, .55);
	color: #fff;
	font-family: 'Grobold', 'Arial Black', sans-serif;
	font-size: 18px;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 1;
	text-shadow: 2px 2px 3px rgba(30, 78, 113, .45);
}

/* .trival-seo-kicker is a <span>; this wrapper rule centres it. */
.trival-seo-intro-inner > .trival-seo-kicker {
	display: flex;
	width: fit-content;
}

.trival-seo-title {
	max-width: 900px;
	margin: 0 auto 14px;
	color: #2d86bc;
	font-family: 'Grobold', 'Arial Black', sans-serif;
	font-size: 32px;
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: .8px;
	text-align: center;
	text-shadow: 0 1px 0 #fff, 0 2px 5px rgba(32, 70, 94, .10);
}

.trival-seo-title span {
	color: #e08c17;
	text-shadow: 0 1px 0 #fff, 0 2px 5px rgba(120, 90, 0, .12);
}

.trival-seo-lead {
	max-width: 760px;
	margin: 0 auto 4px;
	color: #365b73;
	font-family: 'Informb', sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.62;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .95), 0 1px 2px rgba(32, 70, 94, .12);
}

.trival-seo-lead strong {
	color: #254f69;
	font-weight: 800;
}

.trival-seo-lead a {
	color: #147eb8;
	font-weight: 800;
	text-decoration: none;
	border-bottom: 1px solid rgba(20, 126, 184, .32);
}

.trival-seo-lead a:hover {
	color: #0f5f93;
	border-bottom-color: rgba(15, 95, 147, .65);
}

/* ── Fact strip ───────────────────────────────────────────────
   Same construction as .home-rate-strip: one translucent band,
   hairline top and bottom, stats separated by fading rules. */

.trival-seo-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
	max-width: 980px;
	margin: 30px auto 32px;
	padding: 16px 0;
	border-top: 1px solid rgba(81, 155, 201, .35);
	border-bottom: 1px solid rgba(81, 155, 201, .35);
	background: rgba(255, 255, 255, .68);
	box-shadow: 0 10px 28px rgba(61, 112, 148, .08);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	list-style: none;
}

.trival-seo-facts li {
	position: relative;
	/* Centred as a group, not top-aligned. Values are not all one line --
	   "Pre-Renewal" wraps where "10x" does not -- and with the default
	   top alignment that pushed its caption below every other caption in
	   the row. Centring keeps each value/caption pair visually balanced
	   whatever the row height ends up being. */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2px 6px;
	text-align: center;
}

.trival-seo-facts li + li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 7px;
	bottom: 7px;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(73, 148, 196, .38), transparent);
}

.trival-seo-facts li strong {
	display: block;
	color: #2d86bc;
	font-family: 'Grobold', 'Arial Black', sans-serif;
	/* Sized so the longest value ("Pre-Renewal", 11 characters) still fits on
	   one line at the column width this strip actually gets. At 23px it wrapped,
	   which dropped that one caption below every other caption in the row --
	   the reference strip in the Server Rates section has every value on a
	   single line and every caption on one baseline. The flex centring above is
	   the fallback for widths where a wrap is unavoidable. */
	font-size: 20px;
	font-weight: 400;
	line-height: 1.05;
	text-shadow: 0 1px 0 #fff;
}

.trival-seo-facts li span {
	display: block;
	margin-top: 7px;
	color: #60798c;
	font-family: 'Informb', sans-serif;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ── Client panel ─────────────────────────────────────────────
   Three columns in one glass band, divided by fading rules --
   the same shape as .home-rates-copy-grid. */

.trival-seo-clients {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 44px;
	max-width: 1000px;
	margin: 0 auto 30px;
	padding: 26px 30px 24px;
	border-top: 1px solid rgba(81, 155, 201, .24);
	border-bottom: 1px solid rgba(81, 155, 201, .24);
	background: rgba(255, 255, 255, .64);
	box-shadow: 0 10px 30px rgba(55, 105, 142, .08);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.trival-seo-client {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
	text-align: center;
}

.trival-seo-client + .trival-seo-client::before {
	content: '';
	position: absolute;
	left: -22px;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(79, 151, 197, .32) 15%, rgba(79, 151, 197, .32) 85%, transparent);
}

.trival-seo-client-badge {
	align-self: center;
	padding: 5px 13px;
	border-radius: 999px;
	background: linear-gradient(180deg, #72c7ff 0%, #4297d4 100%);
	box-shadow: inset 0 -3px 0 rgba(14, 85, 139, .42), inset 0 1px 0 rgba(255, 255, 255, .5);
	color: #fff;
	font-family: 'Informb', sans-serif;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-shadow: 1px 1px 2px rgba(28, 75, 112, .45);
}

.trival-seo-client h3 {
	margin: 0 !important;
	border: 0 !important;
	color: #356b88 !important;
	font-family: 'Grobold', 'Arial Black', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: .55px !important;
	line-height: 1.2 !important;
	text-transform: uppercase;
}

.trival-seo-client p {
	margin: 0;
	color: #38586d;
	font-family: 'Informb', sans-serif;
	font-size: 10.8px;
	font-weight: 600;
	line-height: 1.58;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}

.trival-seo-client a.trival-seo-client-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: auto;
	padding: 10px 16px 9px;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffd45e 0%, #f5ad1d 100%);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, .6),
		inset 0 -4px 0 rgba(180, 118, 6, .5),
		0 5px 12px rgba(160, 110, 10, .18);
	color: #6a3f00;
	font-family: 'Grobold', 'Arial Black', sans-serif;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: .8px;
	text-decoration: none;
	text-transform: uppercase;
	transition: filter .15s ease, transform .15s ease;
}

.trival-seo-client a.trival-seo-client-cta:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

/* ── Keyword link cluster ─────────────────────────────────── */

.trival-seo-explore {
	max-width: 1000px;
	margin: 0 auto 30px;
	padding: 20px 26px 22px;
	border-top: 1px solid rgba(81, 155, 201, .24);
	border-bottom: 1px solid rgba(81, 155, 201, .24);
	background: rgba(255, 255, 255, .64);
	box-shadow: 0 10px 30px rgba(55, 105, 142, .08);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.trival-seo-explore h2 {
	margin: 0 0 14px !important;
	border: 0 !important;
	color: #356b88 !important;
	font-family: 'Grobold', 'Arial Black', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: .55px !important;
	text-align: center;
	text-transform: uppercase;
}

.trival-seo-explore-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.trival-seo-explore-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 8px 15px 7px;
	border: 1px solid rgba(74, 151, 201, .38);
	border-radius: 999px;
	background: rgba(255, 255, 255, .86);
	box-shadow: 0 4px 10px rgba(48, 104, 151, .10);
	color: #347aa4;
	font-family: 'Grobold', 'Arial Black', sans-serif;
	font-size: 9px;
	font-weight: 400;
	letter-spacing: .4px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
}

.trival-seo-explore-links a:hover {
	background: #eef8fd;
	color: #256b95;
}

/* ── FAQ ──────────────────────────────────────────────────────
   Two columns in one glass band with a fading centre rule, the
   same construction as the Drop Rates / Progression panel. */

.trival-seo-faq {
	max-width: 1000px;
	margin: 0 auto;
	padding: 24px 30px 22px;
	border-top: 1px solid rgba(81, 155, 201, .24);
	border-bottom: 1px solid rgba(81, 155, 201, .24);
	background: rgba(255, 255, 255, .64);
	box-shadow: 0 10px 30px rgba(55, 105, 142, .08);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
}

.trival-seo-faq h2 {
	margin: 0 0 16px !important;
	border: 0 !important;
	color: #356b88 !important;
	font-family: 'Grobold', 'Arial Black', sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	letter-spacing: .55px !important;
	text-align: center;
	text-transform: uppercase;
}

.trival-seo-faq-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 52px;
}

.trival-seo-faq-item {
	position: relative;
	padding: 10px 0;
	min-width: 0;
}

/* Centre rule: only on items in the right-hand column. */
.trival-seo-faq-item:nth-child(even)::before {
	content: '';
	position: absolute;
	left: -26px;
	top: 6px;
	bottom: 6px;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(79, 151, 197, .32) 15%, rgba(79, 151, 197, .32) 85%, transparent);
}

.trival-seo-faq-item h3 {
	margin: 0 0 6px !important;
	border: 0 !important;
	color: #254f69 !important;
	font-family: 'Grobold', 'Arial Black', sans-serif !important;
	font-size: 11.5px !important;
	font-weight: 400 !important;
	letter-spacing: .35px !important;
	line-height: 1.32 !important;
	text-transform: uppercase;
}

.trival-seo-faq-item p {
	margin: 0;
	color: #38586d;
	font-family: 'Informb', sans-serif;
	font-size: 10.8px;
	font-weight: 600;
	line-height: 1.58;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 900px) {
	.trival-seo-clients {
		grid-template-columns: 1fr;
		gap: 0;
		padding: 18px 22px;
	}

	/* Stacked: the divider becomes a horizontal rule between rows. */
	.trival-seo-client + .trival-seo-client {
		margin-top: 20px;
		padding-top: 20px;
	}

	.trival-seo-client + .trival-seo-client::before {
		left: 0;
		right: 0;
		top: 0;
		bottom: auto;
		width: auto;
		height: 1px;
		background: linear-gradient(90deg, transparent, rgba(79, 151, 197, .32) 15%, rgba(79, 151, 197, .32) 85%, transparent);
	}

	.trival-seo-faq-list {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.trival-seo-faq-item:nth-child(even)::before {
		display: none;
	}

	.trival-seo-title { font-size: 25px; }
}

@media (max-width: 640px) {
	.trival-seo-intro { padding: 28px 0 30px; }
	.trival-seo-intro-inner { width: calc(100vw - 28px); }
	.trival-seo-kicker { min-height: 36px; padding: 9px 18px 8px; font-size: 14px; letter-spacing: 1.4px; }
	.trival-seo-title { font-size: 20px; letter-spacing: .4px; }
	.trival-seo-lead { font-size: 11.5px; }
	.trival-seo-facts { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); margin: 22px auto 24px; }
	.trival-seo-facts li strong { font-size: 18px; }
	.trival-seo-explore,
	.trival-seo-faq { padding-left: 18px; padding-right: 18px; }
}
