/* Service hub pages: /host/, /vps/, /dedicated-server/ */

.ss-hub {
	--ss-hub-accent: #22c55e;
	--ss-hub-accent-soft: #f0fdf4;
	--ss-hub-hero-from: #052e16;
	--ss-hub-hero-mid: #14532d;
	--ss-hub-hero-to: #166534;
}

.ss-hub--vps {
	--ss-hub-accent: #3b82f6;
	--ss-hub-accent-soft: #eff6ff;
	--ss-hub-hero-from: #0c1a3a;
	--ss-hub-hero-mid: #1e3a8a;
	--ss-hub-hero-to: #1d4ed8;
}

.ss-hub--dedicated {
	--ss-hub-accent: #8b5cf6;
	--ss-hub-accent-soft: #f5f3ff;
	--ss-hub-hero-from: #1e1033;
	--ss-hub-hero-mid: #4c1d95;
	--ss-hub-hero-to: #6d28d9;
}

.ss-hub--nitro {
	--ss-hub-accent: #f59e0b;
	--ss-hub-accent-soft: #fffbeb;
	--ss-hub-hero-from: #451a03;
	--ss-hub-hero-mid: #b45309;
	--ss-hub-hero-to: #d97706;
}

.ss-hub--domain {
	--ss-hub-accent: #0ea5e9;
	--ss-hub-accent-soft: #f0f9ff;
	--ss-hub-hero-from: #0c4a6e;
	--ss-hub-hero-mid: #0369a1;
	--ss-hub-hero-to: #0284c7;
}

.ss-hub-hero {
	position: relative;
	padding: 48px 0 64px;
	background: linear-gradient(135deg, var(--ss-hub-hero-from) 0%, var(--ss-hub-hero-mid) 42%, var(--ss-hub-hero-to) 100%);
	color: #fff;
	overflow: hidden;
}

.ss-hub-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.ss-hub-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	margin-bottom: 20px;
}

.ss-hub-breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
}

.ss-hub-breadcrumb a:hover {
	color: var(--ss-hub-accent);
}

.ss-hub-hero__badge {
	margin-bottom: 16px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.ss-hub-hero__title {
	margin: 0 0 16px;
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800;
	line-height: 1.2;
}

.ss-hub-hero__subtitle {
	margin: 0 0 28px;
	font-size: 1.05rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.85);
	max-width: 36rem;
}

.ss-hub-hero__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.ss-hub-stat {
	padding: 14px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
}

.ss-hub-stat strong {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	margin-bottom: 4px;
}

.ss-hub-stat span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.ss-hub-hero__media img {
	width: 100%;
	height: auto;
	border-radius: 16px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.ss-hub-intro,
.ss-hub-section {
	padding: 56px 0;
}

.ss-hub-intro {
	background: #fff;
}

.ss-hub-section {
	background: var(--ss-hub-accent-soft);
}

.ss-hub-section:nth-child(even) {
	background: #fff;
}

.ss-hub-prose {
	max-width: 48rem;
	line-height: 1.9;
	color: #334155;
}

.ss-hub-prose p {
	margin: 0 0 16px;
}

.ss-hub-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.ss-hub-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #e2e8f0;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ss-hub-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
	border-color: var(--ss-hub-accent);
}

.ss-hub-card__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: var(--ss-hub-accent-soft);
	color: var(--ss-hub-accent);
}

.ss-hub-card__icon {
	font-size: 32px;
	margin-bottom: 12px;
}

.ss-hub-card h3 {
	margin: 0 0 8px;
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
}

.ss-hub-card p {
	margin: 0 0 16px;
	flex: 1;
	font-size: 0.92rem;
	line-height: 1.7;
	color: #64748b;
}

.ss-hub-card__link {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--ss-hub-accent);
}

.ss-hub-features {
	padding: 56px 0;
	background: #fff;
}

.ss-hub-features__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

.ss-hub-feature {
	padding: 24px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.ss-hub-feature__icon {
	font-size: 28px;
	margin-bottom: 12px;
}

.ss-hub-feature h3 {
	margin: 0 0 8px;
	font-size: 1rem;
	font-weight: 700;
}

.ss-hub-feature p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #64748b;
}

.ss-hub-support {
	padding: 48px 0;
	background: linear-gradient(135deg, var(--ss-hub-hero-mid), var(--ss-hub-hero-to));
	color: #fff;
}

.ss-hub-support__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ss-hub-support h2 {
	margin: 0 0 8px;
	font-size: 1.5rem;
}

.ss-hub-support p {
	margin: 0;
	opacity: 0.85;
}

.ss-hub-support__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.ss-hub-support__phone {
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	text-decoration: none;
}

.ss-hub-faq {
	padding: 56px 0 72px;
	background: #f8fafc;
}

.ss-hub-domain {
	padding: 0 0 56px;
	background: #fff;
}

.ss-hub-domain .ss-domain-checker {
	max-width: 720px;
	margin: 0 auto;
}

.ss-hub-faq__list {
	max-width: 48rem;
	margin: 0 auto;
}

.ss-hub-faq__item {
	margin-bottom: 12px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	overflow: hidden;
}

.ss-hub-faq__item summary {
	padding: 18px 20px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}

.ss-hub-faq__item summary::-webkit-details-marker {
	display: none;
}

.ss-hub-faq__item p {
	margin: 0;
	padding: 0 20px 18px;
	line-height: 1.8;
	color: #64748b;
}

@media (max-width: 900px) {
	.ss-hub-hero__grid {
		grid-template-columns: 1fr;
	}

	.ss-hub-hero__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ss-hub-hero__media {
		order: -1;
	}
}

@media (max-width: 600px) {
	.ss-hub-hero {
		padding: 32px 0 48px;
	}

	.ss-hub-cards {
		grid-template-columns: 1fr;
	}
}
