/* Hosting plan landing pages */

/* —— Hero —— */
.ws-hosting-hero {
	position: relative;
	padding: 4rem 0 4.5rem;
	overflow: hidden;
	isolation: isolate;
}

.ws-hosting-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.ws-hosting-hero__bg-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
}

.ws-hosting-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Per-plan hero gradients */
.ws-hosting-hero--self-managed .ws-hosting-hero__bg::after {
	background:
		linear-gradient(115deg, rgba(2, 6, 23, 0.93) 0%, rgba(15, 118, 110, 0.75) 50%, rgba(45, 212, 191, 0.28) 100%),
		linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent 45%);
}

.ws-hosting-hero--managed .ws-hosting-hero__bg::after,
.ws-hosting-hero--shared .ws-hosting-hero__bg::after {
	background:
		linear-gradient(115deg, rgba(2, 6, 23, 0.93) 0%, rgba(3, 105, 161, 0.78) 50%, rgba(14, 165, 233, 0.3) 100%),
		linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent 45%);
}

.ws-hosting-hero--cloud .ws-hosting-hero__bg::after {
	background:
		linear-gradient(115deg, rgba(15, 23, 42, 0.94) 0%, rgba(79, 70, 229, 0.65) 42%, rgba(14, 165, 233, 0.45) 100%),
		linear-gradient(to top, rgba(2, 6, 23, 0.5), transparent 45%);
}

.ws-hosting-hero--dedicated .ws-hosting-hero__bg::after {
	background:
		linear-gradient(115deg, rgba(2, 6, 23, 0.95) 0%, rgba(15, 23, 42, 0.88) 40%, rgba(234, 88, 12, 0.25) 100%),
		linear-gradient(to top, rgba(2, 6, 23, 0.55), transparent 45%);
}

.ws-hosting-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 2.5rem;
	align-items: center;
}

.ws-hosting-hero__content .ws-eyebrow {
	color: #7dd3fc;
}

.ws-city-kicker {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #7dd3fc;
}

.ws-hosting-hero__title {
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 4vw, 2.85rem);
	letter-spacing: -0.02em;
	color: #fff;
}

.ws-hosting-hero__lead {
	margin: 0;
	max-width: 34rem;
	font-size: 1.15rem;
	color: #cbd5e1;
}

.ws-hosting-hero__price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.75rem;
	margin-top: 1.5rem;
}

.ws-hosting-hero__price {
	margin: 0;
	color: #fff;
}

.ws-hosting-hero__price strong {
	color: #fff;
}

.ws-hosting-hero__price .ws-plan__from,
.ws-hosting-hero__price .ws-plan__per {
	color: #94a3b8;
}

.ws-hosting-hero__annual-note {
	margin: 0;
	width: 100%;
	font-size: 0.88rem;
	color: #94a3b8;
}

.ws-hosting-hero .ws-btn--outline {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.ws-hosting-hero .ws-btn--outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.ws-hosting-hero__badge {
	display: inline-block;
	margin: 1rem 0 0;
	padding: 0.35rem 0.85rem;
	font-family: var(--ws-font-display);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: linear-gradient(135deg, #7c3aed, #a78bfa);
	color: #fff;
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.ws-hosting-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: #e2e8f0;
}

.ws-hosting-hero__chips li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.ws-hosting-hero__chips .ws-icon {
	color: #38bdf8;
}

/* Hero preview card */
.ws-hosting-hero-card {
	position: relative;
	padding: 1.75rem;
	background: rgba(15, 23, 42, 0.82);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(148, 163, 184, 0.2);
	border-radius: var(--ws-radius-lg);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.ws-hosting-hero-card__glow {
	position: absolute;
	top: -25%;
	right: -15%;
	width: 55%;
	height: 75%;
	pointer-events: none;
}

.ws-hosting-hero--self-managed .ws-hosting-hero-card__glow {
	background: radial-gradient(circle, rgba(45, 212, 191, 0.35) 0%, transparent 70%);
}

.ws-hosting-hero--managed .ws-hosting-hero-card__glow,
.ws-hosting-hero--shared .ws-hosting-hero-card__glow {
	background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
}

.ws-hosting-hero--cloud .ws-hosting-hero-card__glow {
	background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, transparent 70%);
}

.ws-hosting-hero--dedicated .ws-hosting-hero-card__glow {
	background: radial-gradient(circle, rgba(251, 146, 60, 0.35) 0%, transparent 70%);
}

.ws-hosting-hero-card__icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	margin-bottom: 1rem;
	border-radius: 12px;
	color: #fff;
}

.ws-hosting-hero--self-managed .ws-hosting-hero-card__icon {
	background: linear-gradient(135deg, #0f766e, #2dd4bf);
}

.ws-hosting-hero--managed .ws-hosting-hero-card__icon,
.ws-hosting-hero--shared .ws-hosting-hero-card__icon {
	background: linear-gradient(135deg, #0369a1, #0ea5e9);
}

.ws-hosting-hero--cloud .ws-hosting-hero-card__icon {
	background: linear-gradient(135deg, #4f46e5, #a78bfa);
}

.ws-hosting-hero--dedicated .ws-hosting-hero-card__icon {
	background: linear-gradient(135deg, #c2410c, #fb923c);
}

.ws-hosting-hero-card__label {
	position: relative;
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #94a3b8;
}

.ws-hosting-hero-card__stat {
	position: relative;
	margin: 0;
	font-family: var(--ws-font-display);
	font-size: 2rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.ws-hosting-hero-card__meta {
	position: relative;
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: #94a3b8;
}

.ws-hosting-hero-card__list {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: #cbd5e1;
}

.ws-hosting-hero-card__list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.35rem;
}

.ws-dot {
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	flex-shrink: 0;
}

.ws-dot--ok {
	background: #4ade80;
	box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* —— Intro split —— */
.ws-hosting-intro-section {
	background: linear-gradient(180deg, #fff 0%, #f0f9ff 100%);
}

.ws-hosting-intro-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.ws-hosting-intro-split__media {
	position: relative;
	border-radius: var(--ws-radius-lg);
	overflow: hidden;
	box-shadow: var(--ws-shadow);
}

.ws-hosting-intro-split__media img {
	display: block;
	width: 100%;
	min-height: 260px;
	object-fit: cover;
}

.ws-hosting-intro-split__badge {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1rem;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 999px;
	font-family: var(--ws-font-display);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ws-ink);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ws-page--hosting-shared .ws-hosting-intro-split__badge .ws-icon { color: #0369a1; }
.ws-page--hosting-cloud .ws-hosting-intro-split__badge .ws-icon { color: #4f46e5; }
.ws-page--hosting-dedicated .ws-hosting-intro-split__badge .ws-icon { color: #ea580c; }

.ws-hosting-intro p {
	margin: 0 0 1rem;
	font-size: 1.125rem;
}

.ws-hosting-intro p:last-child {
	margin-bottom: 0;
}

/* —— Feature grid —— */
.ws-hosting-features-section {
	background: var(--ws-navy);
}

.ws-hosting-features-section .ws-section__title {
	color: #fff;
}

.ws-hosting-features-section .ws-section__lead {
	color: #94a3b8;
}

.ws-hosting-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ws-hosting-feature-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.35rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(148, 163, 184, 0.15);
	border-radius: var(--ws-radius-lg);
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.ws-hosting-feature-card:hover {
	background: rgba(255, 255, 255, 0.08);
	transform: translateY(-2px);
}

.ws-hosting-features-section--shared .ws-hosting-feature-card--1 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.ws-hosting-features-section--shared .ws-hosting-feature-card--2 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #059669, #34d399); }
.ws-hosting-features-section--shared .ws-hosting-feature-card--3 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.ws-hosting-features-section--shared .ws-hosting-feature-card--4 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #dc2626, #1e40af); }

.ws-hosting-features-section--cloud .ws-hosting-feature-card--1 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.ws-hosting-features-section--cloud .ws-hosting-feature-card--2 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.ws-hosting-features-section--cloud .ws-hosting-feature-card--3 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #059669, #34d399); }
.ws-hosting-features-section--cloud .ws-hosting-feature-card--4 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #ea580c, #fb923c); }

.ws-hosting-features-section--dedicated .ws-hosting-feature-card--1 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #c2410c, #fb923c); }
.ws-hosting-features-section--dedicated .ws-hosting-feature-card--2 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #0f172a, #475569); }
.ws-hosting-features-section--dedicated .ws-hosting-feature-card--3 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.ws-hosting-features-section--dedicated .ws-hosting-feature-card--4 .ws-hosting-feature-card__icon { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.ws-hosting-feature-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 10px;
	color: #fff;
}

.ws-hosting-feature-card__label {
	font-size: 0.98rem;
	font-weight: 500;
	color: #e2e8f0;
	line-height: 1.4;
}

/* —— Ideal for / specs panels —— */
.ws-hosting-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

.ws-hosting-split__panel {
	padding: 1.75rem;
	background: var(--ws-surface);
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-lg);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.ws-page--hosting-shared .ws-hosting-split__panel--ideal { border-top: 4px solid #0369a1; }
.ws-page--hosting-cloud .ws-hosting-split__panel--ideal { border-top: 4px solid #4f46e5; }
.ws-page--hosting-dedicated .ws-hosting-split__panel--ideal { border-top: 4px solid #ea580c; }

.ws-page--hosting-shared .ws-hosting-split__panel--specs { border-top: 4px solid #0ea5e9; }
.ws-page--hosting-cloud .ws-hosting-split__panel--specs { border-top: 4px solid #818cf8; }
.ws-page--hosting-dedicated .ws-hosting-split__panel--specs { border-top: 4px solid #fb923c; }

.ws-hosting-split__panel-head {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.ws-hosting-split__panel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: rgba(3, 105, 161, 0.1);
	color: var(--ws-primary);
}

.ws-page--hosting-cloud .ws-hosting-split__panel-icon {
	background: rgba(79, 70, 229, 0.12);
	color: #4f46e5;
}

.ws-page--hosting-dedicated .ws-hosting-split__panel-icon {
	background: rgba(234, 88, 12, 0.12);
	color: #ea580c;
}

.ws-hosting-split__panel .ws-section__title {
	margin: 0;
	font-size: 1.25rem;
}

.ws-hosting-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ws-hosting-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin-bottom: 0.65rem;
	color: var(--ws-ink);
}

.ws-hosting-list .ws-icon {
	flex-shrink: 0;
	margin-top: 0.15em;
	color: #15803d;
}

.ws-hosting-specs {
	margin: 0;
}

.ws-hosting-specs__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.25rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid var(--ws-border);
}

.ws-hosting-specs__row:last-child {
	border-bottom: 0;
}

.ws-hosting-specs dt {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--ws-font-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ws-ink);
}

.ws-hosting-specs dt .ws-icon {
	color: var(--ws-primary);
	flex-shrink: 0;
}

.ws-page--hosting-cloud .ws-hosting-specs dt .ws-icon { color: #4f46e5; }
.ws-page--hosting-dedicated .ws-hosting-specs dt .ws-icon { color: #ea580c; }

.ws-hosting-specs dd {
	margin: 0 0 0 1.75rem;
	font-size: 0.95rem;
}

/* —— Compare section —— */
.ws-hosting-compare-section {
	background: linear-gradient(180deg, var(--ws-bg) 0%, #e0f2fe 100%);
}

.ws-plans {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	align-items: stretch;
}

.ws-plans--compact .ws-plan {
	padding: 1.35rem;
}

.ws-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	background-color: var(--ws-surface);
	background-repeat: no-repeat;
	background-position: top;
	border: 1px solid var(--ws-border);
	border-radius: var(--ws-radius-lg);
	padding: 1.75rem;
	transition: transform 0.2s, box-shadow 0.2s;
}

/* Top accent bar — background layers clip to border-radius (unlike ::before). */
.ws-plan--self-managed {
	background-image:
		linear-gradient(90deg, #0f766e, #2dd4bf),
		linear-gradient(var(--ws-surface), var(--ws-surface));
	background-size: 100% 4px, 100% 100%;
}

.ws-plan--managed,
.ws-plan--shared {
	background-image:
		linear-gradient(90deg, #0369a1, #0ea5e9),
		linear-gradient(var(--ws-surface), var(--ws-surface));
	background-size: 100% 4px, 100% 100%;
}

.ws-plan--cloud {
	background-image:
		linear-gradient(90deg, #4f46e5, #818cf8),
		linear-gradient(var(--ws-surface), var(--ws-surface));
	background-size: 100% 4px, 100% 100%;
}

.ws-plan--dedicated {
	background-image:
		linear-gradient(90deg, #c2410c, #fb923c),
		linear-gradient(var(--ws-surface), var(--ws-surface));
	background-size: 100% 4px, 100% 100%;
}

.ws-plan:hover {
	transform: translateY(-4px);
	box-shadow: var(--ws-shadow);
}

.ws-plan--featured {
	border-color: #7c3aed;
	box-shadow: 0 20px 50px rgba(124, 58, 237, 0.15);
}

.ws-plan__badge {
	position: absolute;
	top: -0.65rem;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	padding: 0.25rem 0.75rem;
	font-family: var(--ws-font-display);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: linear-gradient(135deg, #7c3aed, #a78bfa);
	color: #fff;
	border-radius: 999px;
}

.ws-plan__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border-radius: 10px;
	color: #fff;
}

.ws-plan--self-managed .ws-plan__icon { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.ws-plan--managed .ws-plan__icon,
.ws-plan--shared .ws-plan__icon { background: linear-gradient(135deg, #0369a1, #0ea5e9); }
.ws-plan--cloud .ws-plan__icon { background: linear-gradient(135deg, #4f46e5, #a78bfa); }
.ws-plan--dedicated .ws-plan__icon { background: linear-gradient(135deg, #c2410c, #fb923c); }

.ws-plan__name {
	margin: 0 0 0.5rem;
	font-size: 1.35rem;
}

.ws-plan__price {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: var(--ws-ink);
}

.ws-plan__price strong {
	font-family: var(--ws-font-display);
	font-size: 2rem;
}

.ws-plan__from,
.ws-plan__per {
	font-size: 0.95rem;
	color: var(--ws-muted);
}

.ws-plan__note {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ws-primary);
}

@media (max-width: 960px) {
	.ws-hosting-hero__grid,
	.ws-hosting-intro-split,
	.ws-hosting-split {
		grid-template-columns: 1fr;
	}

	.ws-hosting-hero__visual {
		max-width: 22rem;
	}

	.ws-hosting-feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ws-hosting-feature-grid,
	.ws-plans,
	.ws-plan-variants__grid {
		grid-template-columns: 1fr;
	}

	.ws-plan--featured {
		transform: none;
	}
}
