/* ==========================================================================
 *  Krayin demo landing — dark theme
 *  Sections: base, header, hero, cards, trust, loader, footer, modal, anims
 * ========================================================================== */

* {
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-wrap: break-word;
}

*:focus { outline: none; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: #15181f;
	color: #ffffff;
	line-height: normal;
	font-weight: 400;
	min-height: 100vh;
	-webkit-text-size-adjust: 100%;
	position: relative;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
}

/* Vercel-style faint grid + radial fade (purely decorative) */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right,  rgba(255, 255, 255, 0.055) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, rgba(0, 0, 0, 0.7) 45%, transparent 80%);
	        mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, rgba(0, 0, 0, 0.7) 45%, transparent 80%);
}

/* Soft colored aurora behind the hero */
body::after {
	content: '';
	position: fixed;
	inset: -20% -10% auto -10%;
	height: 720px;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(40% 60% at 20% 30%, rgba(14, 144, 217, 0.20), transparent 70%),
		radial-gradient(40% 60% at 80% 25%, rgba(34, 211, 238, 0.15), transparent 70%);
	filter: blur(10px);
}

/* Keep real content above decorations */
.wk-header,
.wk-landing,
.wcdemo-loading,
.wcdemo-footer,
.wk-modal { position: relative; z-index: 1; }
.wk-header { z-index: 50; }
.wk-modal  { z-index: 1000; }

::selection { background: #0e90d9; color: #fff; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.hidden,
.disable { display: none !important; }

.text-center { text-align: center; }

/* ==========================================================================
 *  Header / nav
 * ========================================================================== */

.wk-header {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	background: rgba(21, 24, 31, 0.72);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	position: sticky;
	top: 0;
	z-index: 50;
}

.wk-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 32px;
	max-width: 1280px;
	margin: 0 auto;
}

.wk-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.wk-brand-logo {
	height: 40px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
}

.wk-nav {
	display: flex;
	gap: 28px;
	align-items: center;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.6);
}

.wk-nav a {
	transition: color 0.15s;
	cursor: pointer;
}

.wk-nav a:hover { color: #fff; }

.wk-nav-cta {
	padding: 7px 14px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #fff;
	font-weight: 500;
	transition: background 0.15s, border-color 0.15s;
}

.wk-nav-cta:hover {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
 *  Hero
 * ========================================================================== */

.wk-landing {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
}

.wk-hero {
	flex: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding: 28px 10px;
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	animation: appFade 0.4s ease both;
}

.wk-hero-head {
	text-align: center;
	margin-bottom: 56px;
}

.wk-hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: rgba(14, 144, 217, 0.08);
	border: 1px solid rgba(14, 144, 217, 0.25);
	color: rgba(255, 255, 255, 0.85);
	font-size: 12.5px;
	letter-spacing: 0.01em;
	margin-bottom: 24px;
	max-width: min(640px, 100%);
	line-height: 1.4;
	text-align: left;
	vertical-align: middle;
}

.wk-hero-eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0e90d9, #22d3ee);
	box-shadow: 0 0 12px rgba(14, 144, 217, 0.6);
	flex-shrink: 0;
}

.wk-hero-eyebrow-label { color: rgba(255, 255, 255, 0.55); }
.wk-hero-eyebrow-sep   { color: rgba(255, 255, 255, 0.25); flex-shrink: 0; }

.wk-hero-eyebrow-product {
	color: #fff;
	font-weight: 500;
	min-width: 0;
	/* keep on one line in the chip; full name visible on hover via title */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.wk-hero-head h1 {
	font-size: clamp(36px, 5.6vw, 68px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.05;
	margin: 0 0 16px;
	text-wrap: balance;
}

.wk-hero-product {
	background: linear-gradient(135deg, #0e90d9, #22d3ee);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.wk-hero-head p {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

/* ==========================================================================
 *  CTA cards
 * ========================================================================== */

.wk-card-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

@property --wk-angle {
	syntax: '<angle>';
	initial-value: 0deg;
	inherits: false;
}

.wk-card {
	appearance: none;
	text-align: left;
	cursor: pointer;
	color: #fff;
	padding: 32px 32px 28px;
	border-radius: 18px;
	position: relative;
	overflow: hidden;
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	font-family: inherit;
	--wk-angle: 0deg;
	animation: wk-rotate 6s linear infinite;
}

.wk-card:hover { transform: translateY(-2px); }

.wk-card-primary {
	background: linear-gradient(rgba(14, 144, 217, 0.12), rgba(14, 144, 217, 0.04));
	border: 1px solid rgba(14, 144, 217, 0.4);
	--wk-ring-a: rgba(14, 144, 217, 1);
	--wk-ring-b: rgba(34, 211, 238, 0.85);
}

.wk-card-primary:hover {
	border-color: rgba(14, 144, 217, 0.8);
	box-shadow: 0 18px 50px rgba(14, 144, 217, 0.18);
}

.wk-card-secondary {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	--wk-ring-a: rgba(34, 211, 238, 0.95);
	--wk-ring-b: rgba(14, 144, 217, 0.7);
}

.wk-card-secondary:hover {
	border-color: rgba(34, 211, 238, 0.4);
	box-shadow: 0 18px 50px rgba(34, 211, 238, 0.10);
}

/* Muted variant — visually de-emphasises the card so users gravitate to the
   primary CTA. Hover brings it back to full strength. */
.wk-card-muted {
	opacity: 0.7;
	filter: saturate(0.85);
	transition: opacity 0.25s, filter 0.25s, transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.wk-card-muted:hover {
	opacity: 1;
	filter: saturate(1);
}

.wk-card-muted .wk-card-title { font-size: 24px; }
.wk-card-muted .wk-card-desc  { color: rgba(255, 255, 255, 0.45); }

/* Recommended variant — bumps the primary card forward with a stronger glow,
   slight scale, and a corner ribbon. */
.wk-card-recommended {
	box-shadow: 0 26px 70px rgba(14, 144, 217, 0.25);
	border-color: rgba(14, 144, 217, 0.65);
}

.wk-card-recommended:hover {
	box-shadow: 0 32px 90px rgba(14, 144, 217, 0.35);
	border-color: rgba(14, 144, 217, 0.9);
}

/* The "Recommended" badge replaces the regular chip on the primary card.
   Uses the same .wk-badge shell but a stronger gradient + bigger shadow so
   it pulls the eye without needing a separate floating ribbon. */
.wk-badge-recommended {
	background: linear-gradient(135deg, #0e90d9, #22d3ee);
	border: 1px solid rgba(14, 144, 217, 0.7);
	color: #0a0a0a;
	font-weight: 600;
	box-shadow: 0 8px 22px rgba(14, 144, 217, 0.32);
	padding: 6px 14px;
}

.wk-badge-recommended svg { color: #0a0a0a; }

/* Auto-animating gradient ring overlaid on the border */
.wk-card::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1.5px;
	background: conic-gradient(
		from var(--wk-angle),
		transparent 0deg,
		var(--wk-ring-a) 80deg,
		var(--wk-ring-b) 160deg,
		transparent 260deg
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	        mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	        mask-composite: exclude;
	pointer-events: none;
	z-index: 2;
}

.wk-card > * { position: relative; z-index: 1; }

@keyframes wk-rotate {
	to { --wk-angle: 360deg; }
}

@supports not (background: conic-gradient(from 0deg, red, blue)) {
	.wk-card::before { display: none; }
}

.wk-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 20px;
	width: max-content;
}

.wk-badge-purple {
	background: rgba(14, 144, 217, 0.15);
	border: 1px solid rgba(14, 144, 217, 0.333);
	color: #0e90d9;
}

.wk-badge-cyan {
	background: rgba(34, 211, 238, 0.15);
	border: 1px solid rgba(34, 211, 238, 0.333);
	color: #22d3ee;
}

.wk-badge-neutral {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.55);
}

.wk-card-title {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.025em;
	margin-bottom: 10px;
}

.wk-card-desc {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.55;
	margin-bottom: 22px;
}

.wk-card-list {
	list-style: none;
	padding: 0;
	margin: 0 0 28px;
	display: grid;
	gap: 8px;
}

.wk-card-list li {
	display: flex;
	gap: 10px;
	align-items: center;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.7);
}

.wk-check {
	width: 18px;
	height: 18px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 10px;
	flex-shrink: 0;
}

.wk-card-list-purple .wk-check { background: rgba(14, 144, 217, 0.133); color: #0e90d9; }
.wk-card-list-cyan .wk-check   { background: rgba(34, 211, 238, 0.133); color: #22d3ee; }

.wk-card-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 20px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 600;
	transition: transform 0.2s, background 0.2s;
	width: max-content;
}

.wk-card-cta-light { background: #fff; color: #0a0a0a; }
.wk-card-cta-ghost { background: rgba(255, 255, 255, 0.027); color: #fff;    }

.wk-card:hover .wk-card-cta { transform: translateX(2px); }
.wk-card-secondary:hover .wk-card-cta-ghost { background: rgba(255, 255, 255, 0.10);  }

/* ==========================================================================
 *  Cloud hosting promo banner
 * ========================================================================== */

.wk-cloud {
	position: relative;
	margin-top: 28px;
	padding: 26px 28px;
	border-radius: 18px;
	border: 1px solid rgba(14, 144, 217, 0.28);
	background:
		linear-gradient(120deg, rgba(14, 144, 217, 0.10), rgba(34, 211, 238, 0.05) 55%, transparent),
		rgba(255, 255, 255, 0.02);
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 22px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.wk-cloud:hover {
	border-color: rgba(14, 144, 217, 0.42);
	box-shadow: 0 18px 50px rgba(14, 144, 217, 0.14);
}

/* Soft colored glow anchored to the right, behind the CTA */
.wk-cloud-glow {
	position: absolute;
	inset: -60% -8% auto auto;
	width: 460px;
	height: 360px;
	pointer-events: none;
	background: radial-gradient(50% 50% at 70% 35%, rgba(14, 144, 217, 0.28), transparent 70%);
	filter: blur(10px);
}

/* Square icon tile on the left */
.wk-cloud-icon {
	position: relative;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	color: #7ec3ec;
	background: rgba(14, 144, 217, 0.14);
	border: 1px solid rgba(14, 144, 217, 0.3);
}

.wk-cloud-content {
	position: relative;
	flex: 1;
	min-width: 0;
}

.wk-cloud-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #5cb3e8;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.wk-cloud-eyebrow-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #0e90d9;
	box-shadow: 0 0 8px rgba(14, 144, 217, 0.8);
}

.wk-cloud-title {
	margin: 0 0 6px;
	font-size: clamp(19px, 2.2vw, 23px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: #fff;
	text-wrap: balance;
}

.wk-cloud-desc {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.55;
	max-width: 620px;
}

.wk-cloud-cta {
	position: relative;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 13px 22px;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: #0a0a0a;
	background: linear-gradient(135deg, #0e90d9, #22d3ee);
	box-shadow: 0 10px 30px rgba(14, 144, 217, 0.25);
	transition: transform 0.2s, box-shadow 0.2s;
	white-space: nowrap;
}

.wk-cloud-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 38px rgba(14, 144, 217, 0.35);
}

.wk-cloud-cta svg { transition: transform 0.2s; }
.wk-cloud-cta:hover svg { transform: translateX(2px); }

/* ==========================================================================
 *  reCAPTCHA v2 widget host
 * ========================================================================== */

/* Disabled-button visual while captcha hasn't been solved. We don't actually
   disable the cards (they're <button> elements that double as the surface);
   we lower opacity + intercept clicks via JS so the hint stays helpful. */
.wk-card.is-locked {
	opacity: 0.55;
	cursor: not-allowed;
}
.wk-card.is-locked:hover { transform: none; }

/* ==========================================================================
 *  Trust strip
 * ========================================================================== */

.wk-trust {
	margin-top: 64px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 32px;
	opacity: 0.35;
}

.wk-trust span {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.08em;
	color: #fff;
	text-transform: uppercase;
}

/* ==========================================================================
 *  Provisioning / loading screen (two-column with terminal)
 * ========================================================================== */

.wk-provision {
	flex: 1 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 28px;
	animation: appFade 0.35s ease both;
}

.wk-provision-grid {
	width: 100%;
	max-width: 1040px;
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: center;
	animation: dfSlideUp 0.4s ease both;
}

.wk-provision-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(14, 144, 217, 0.14);
	border: 1px solid rgba(14, 144, 217, 0.3);
	color: #8fcdee;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.01em;
	margin-bottom: 16px;
}

.wk-provision-chip-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #0e90d9;
	animation: dfPulse 1.2s ease infinite;
}

.wk-provision-title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: #fff;
}

.wk-provision-desc {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 15px;
	line-height: 1.55;
	max-width: 420px;
}

.wk-provision-bar {
	height: 6px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 999px;
	overflow: hidden;
	max-width: 420px;
}

.wk-provision-bar-fill {
	width: 0%;
	height: 100%;
	background: linear-gradient(90deg, #0e90d9, #22d3ee);
	transition: width 0.4s ease;
}

.wk-provision-meta {
	margin-top: 10px;
	display: flex;
	justify-content: space-between;
	max-width: 420px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	font-variant-numeric: tabular-nums;
}

/* Terminal */

.wk-terminal {
	background: #0a0b10;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.wk-terminal-bar {
	padding: 10px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.wk-terminal-dots { display: flex; gap: 6px; }

.wk-terminal-dots span {
	width: 10px;
	height: 10px;
	border-radius: 999px;
}

.wk-terminal-dots span:nth-child(1) { background: #ff5f57; }
.wk-terminal-dots span:nth-child(2) { background: #febc2e; }
.wk-terminal-dots span:nth-child(3) { background: #28c840; }

.wk-terminal-title {
	font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
}

.wk-terminal-body {
	padding: 16px 18px;
	min-height: 320px;
	max-height: 360px;
	overflow: auto;
	font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
	font-size: 12.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.75);
	white-space: pre-wrap;
	word-break: break-word;
}

.wk-log {
	animation: dfSlideUp 0.35s ease both;
}

.wk-log-cmd  { color: #8fcdee; }
.wk-log-dim  { color: rgba(255, 255, 255, 0.5); }
.wk-log-ok   { color: #7be38c; }
.wk-log-warn { color: #fcb469; }

.wk-cursor-row { color: rgba(255, 255, 255, 0.4); }
.wk-cursor {
	display: inline-block;
	animation: dfPulse 1s ease infinite;
}

/* ==========================================================================
 *  Footer
 * ========================================================================== */

.wcdemo-footer.wkgrid-custom {
	max-width: 720px;
	padding: 20px 30px;
	margin: 16px auto;
	flex-shrink: 0;
}

.wcdemo-footer-main { text-align: center; }

.wcdemo-footer-content {
	font-size: 12px;
	line-height: 21px;
	margin: 0;
	color: rgba(255, 255, 255, 0.45);
}

.wcdemo-footer a {
	color: #22d3ee;
	text-decoration: none;
}

.wcdemo-footer a:hover { text-decoration: underline; }

/* ==========================================================================
 *  Modal
 * ========================================================================== */

.wk-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	animation: fmFadeIn 0.25s ease both;
}

.wk-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 8, 10, 0.6);
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	cursor: pointer;
}

.wk-modal-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 520px;
	background: #0f0f12;
	color: #fafafa;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	box-shadow:
		0 30px 80px rgba(0, 0, 0, 0.5),
		inset 0 0 0 1px rgba(255, 255, 255, 0.04);
	overflow: hidden;
	animation: fmSlideIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
}

.wk-modal-top {
	padding: 22px 26px 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.wk-modal-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(14, 144, 217, 0.14);
	border: 1px solid rgba(14, 144, 217, 0.3);
	color: #8fcdee;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.02em;
	min-width: 0;
	max-width: 100%;
	line-height: 1.4;
}

.wk-modal-chip strong {
	color: #fff;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.wk-modal-chip-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: #0e90d9;
	box-shadow: 0 0 8px #0e90d9;
}

.wk-modal-close {
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.6);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

.wk-modal-close:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.wk-modal-head { padding: 16px 26px 4px; }

.wk-modal-head h2 {
	margin: 8px 0 6px;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
	color: #fff;
}

.wk-modal-head p {
	margin: 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 14px;
	line-height: 1.5;
}

.wk-modal-body {
	padding: 20px 26px 22px;
	display: grid;
	gap: 14px;
}

/* Success modal — compact, centered confirmation shown after a walkthrough
   request is accepted. Reuses .wk-modal-card sizing but tightens padding. */
.wk-modal-card-success { max-width: 420px; }

.wk-success-body {
	padding: 8px 26px 26px;
	display: grid;
	gap: 14px;
	justify-items: center;
	text-align: center;
}

.wk-success-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #34d399;
	background: rgba(52, 211, 153, 0.10);
	box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.30);
	animation: wkSuccessPop 320ms cubic-bezier(0.18, 1.25, 0.4, 1) both;
}

.wk-success-body h2 {
	margin: 4px 0 0;
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
}

.wk-success-body p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	line-height: 1.55;
	max-width: 320px;
}

.wk-success-body .wk-modal-submit {
	margin-top: 8px;
	min-width: 160px;
	justify-content: center;
}

@keyframes wkSuccessPop {
	from { transform: scale(0.6); opacity: 0; }
	to   { transform: scale(1);   opacity: 1; }
}

/* Honeypot — visually + functionally hidden from real users.
   Avoids display:none / visibility:hidden because some bots skip those. */
.wk-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
}

.wk-field { display: block; }

.wk-field-label {
	display: block;
	margin-bottom: 7px;
	font-size: 12.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
	letter-spacing: 0.01em;
}

.wk-req {
	color: #ff6b6b;
	font-style: normal;
	margin-left: 4px;
}

.wk-field input,
.wk-field select,
.wk-field textarea {
	appearance: none;
	width: 100%;
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	outline: none;
	transition: border-color 0.15s, background 0.15s;
	font-family: inherit;
}

.wk-field input::placeholder,
.wk-field textarea::placeholder { color: rgba(255, 255, 255, 0.3); }

.wk-field input:focus,
.wk-field select:focus,
.wk-field textarea:focus {
	border-color: rgba(14, 144, 217, 0.55);
	background: rgba(255, 255, 255, 0.06);
}

.wk-field textarea {
	resize: vertical;
	min-height: 92px;
	line-height: 1.5;
}

.wk-field select { cursor: pointer; }
.wk-field select option { background: #1a1a20; color: #fff; }

/* ---------- Searchable combobox (country picker) ---------- */

.wk-combo { position: relative; }

.wk-combo-input {
	appearance: none;
	width: 100%;
	padding: 11px 38px 11px 14px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
	outline: none;
	font-family: inherit;
	cursor: text;
	transition: border-color 0.15s, background 0.15s;
}

.wk-combo-input::placeholder { color: rgba(255, 255, 255, 0.3); }

.wk-combo-input:focus {
	border-color: rgba(14, 144, 217, 0.55);
	background: rgba(255, 255, 255, 0.06);
}

.wk-combo-chev {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	color: rgba(255, 255, 255, 0.4);
	transition: transform 0.2s;
}

.wk-combo[data-open="true"] .wk-combo-chev {
	transform: translateY(-50%) rotate(180deg);
}

.wk-combo-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 260px;
	overflow-y: auto;
	background: #14141a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 4px 0;
	margin: 0;
	list-style: none;
	z-index: 10;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
	scrollbar-width: thin;
	scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.wk-combo-list[hidden] { display: none; }

.wk-combo-list::-webkit-scrollbar { width: 8px; }
.wk-combo-list::-webkit-scrollbar-track { background: transparent; }
.wk-combo-list::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 999px;
}

.wk-combo-option {
	padding: 9px 14px;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	user-select: none;
}

.wk-combo-option:hover,
.wk-combo-option.is-active {
	background: rgba(14, 144, 217, 0.18);
	color: #fff;
}

.wk-combo-option-flag { font-size: 16px; line-height: 1; }
.wk-combo-option-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wk-combo-option-dial {
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
	font-variant-numeric: tabular-nums;
	flex-shrink: 0;
}

.wk-combo-empty {
	padding: 14px;
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
	font-style: italic;
	text-align: center;
}

.wk-field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.wk-product-pill {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding: 11px 14px;
	background: rgba(14, 144, 217, 0.06);
	border: 1px dashed rgba(14, 144, 217, 0.35);
	border-radius: 10px;
	color: #fff;
	font-size: 14px;
}

.wk-product-pill-left {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	flex: 1 1 auto;
}

.wk-product-pill-left strong {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.wk-product-pill-logo {
	height: 22px;
	width: auto;
	filter: brightness(0) invert(1);
}

.wk-product-pill strong { font-weight: 600; }

.wk-product-pill-tag {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wk-modal-submit {
	margin-top: 6px;
	appearance: none;
	border: 0;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.4);
	padding: 14px 22px;
	border-radius: 11px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
	cursor: not-allowed;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: none;
	transition: transform 0.15s, background 0.15s, color 0.15s, box-shadow 0.2s;
}

.wk-modal-submit.is-ready,
.wk-modal-submit:not(:disabled) {
	background: linear-gradient(135deg, #0e90d9, #22d3ee);
	color: #0a0a0a;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(14, 144, 217, 0.25);
}

.wk-modal-submit:not(:disabled):hover { transform: translateY(-1px); }

.wk-modal-foot {
	margin: 4px 0 0;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.4);
	text-align: center;
	line-height: 1.5;
}

.wk-modal-status {
	margin-top: 4px;
	text-align: center;
	font-size: 13px;
	min-height: 18px;
}

.wk-modal-status.is-success { color: #4ade80; }
.wk-modal-status.is-error   { color: #ff6b6b; }

/* ---- Captcha widget mount point ----
 * Empty (zero-height) for invisible providers (reCAPTCHA Enterprise, or
 * Turnstile in interaction-only mode). When Cloudflare Turnstile decides an
 * interactive challenge is required, demo-ready.js renders the widget here —
 * centered above the submit button. */
.wk-captcha-holder { line-height: 0; }

.wk-captcha-holder:not(:empty) {
	display: flex;
	justify-content: center;
	margin: 2px 0 4px;
	min-height: 65px;
	line-height: normal;
}

/* ---- Live email validation hint (injected by demoready.js) ----
 * Sits beneath the email input, shows "Checking…" / "✓ Looks deliverable" /
 * the server's reject message. Same color tokens as wk-modal-status so the
 * feedback feels consistent with form-level errors. */
.wk-field-hint {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.4;
	min-height: 16px;
	color: rgba(255, 255, 255, 0.55);
	transition: color 120ms ease;
}
.wk-field-hint.is-validating { color: rgba(255, 255, 255, 0.55); }
.wk-field-hint.is-valid      { color: #4ade80; }
.wk-field-hint.is-risky      { color: #fbbf24; }
.wk-field-hint.is-invalid    { color: #ff6b6b; }

/* Tint the input border to reinforce the state. */
.wk-field input.is-validating { border-color: rgba(255, 255, 255, 0.18); }
.wk-field input.is-valid      { border-color: rgba(74, 222, 128, 0.55); }
.wk-field input.is-risky      { border-color: rgba(251, 191, 36, 0.65); }
.wk-field input.is-invalid    { border-color: rgba(255, 107, 107, 0.65); }

/* ==========================================================================
 *  Animations
 * ========================================================================== */

@keyframes appFade   { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fmFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fmSlideIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dfSlideUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dfPulse   { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.85); } }

/* Respect users who prefer reduced motion — nukes all looping & entrance anims */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	body::after        { display: none; }
	.wk-card           { animation: none !important; }
	.wk-card::before   { animation: none !important; opacity: 0.4; }
	.wk-provision-chip-dot,
	.wk-cursor         { animation: none !important; opacity: 1; }
}

/* ==========================================================================
 *  Responsive
 * ========================================================================== */

@media (max-width: 820px) {
	.wk-card-grid       { grid-template-columns: 1fr; }
	.wk-hero            { padding: 32px 20px; }
	.wk-header-inner    { padding: 14px 20px; }
	.wk-nav             { gap: 18px; font-size: 13px; }
	.wk-provision-grid  { grid-template-columns: 1fr; gap: 28px; }
	.wk-provision       { padding: 40px 20px; }
	.wk-cloud           { flex-wrap: wrap; gap: 18px 20px; padding: 24px; }
	.wk-cloud-content   { flex-basis: calc(100% - 74px); }
	.wk-cloud-cta       { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
	.wk-nav a:not(.wk-nav-cta) { display: none; }
	.wk-hero-head              { margin-bottom: 36px; }
	.wk-card                   { padding: 24px 22px 22px; }
	.wk-card-title             { font-size: 24px; }
	.wk-field-row              { grid-template-columns: 1fr; }
	.wcdemo-footer.wkgrid-custom { margin: 24px auto 16px; }
	.wk-provision-title        { font-size: 30px; }
	.wk-terminal-body          { min-height: 240px; max-height: 280px; font-size: 12px; }
}

/* ==========================================================================
 *  Krayin footer meta (demo prep time + lifetime timer)
 * ========================================================================== */

.wcdemo-footer.wkgrid-custom { max-width: 860px; }

.wcdemo-footer-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
	margin-bottom: 14px;
}

.wcdemo-footer-stat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.wcdemo-footer-stat-label { letter-spacing: 0.01em; }

.wcdemo-footer-stat-val {
	color: #0e90d9;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
 *  Status pages (limit reached / session expired)
 * ========================================================================== */

.wk-status {
	flex: 1;
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
}

.wk-status-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #0e90d9;
	background: rgba(14, 144, 217, 0.10);
	box-shadow: inset 0 0 0 1px rgba(14, 144, 217, 0.30);
}

.wk-status-icon-warn {
	color: #fbbf24;
	background: rgba(251, 191, 36, 0.10);
	box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.30);
}

.wk-status h1 {
	font-size: clamp(28px, 4vw, 44px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0;
}

.wk-status p {
	color: rgba(255, 255, 255, 0.55);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	max-width: 460px;
}

.wk-status-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 8px;
}

/* ==========================================================================
 *  Animated background — drifting CRM feature icons + flowing lines
 * ========================================================================== */

.wk-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

/* keep real content above the animated background */
.wk-hero { position: relative; z-index: 1; }

/* ---- Flowing connector lines ---- */
.wk-bg-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0.9;
}

.wk-bg-lines .wk-line {
	fill: none;
	stroke: rgba(14, 144, 217, 0.30);
	stroke-width: 1.6;
	stroke-dasharray: 7 13;
	animation: wk-line-flow 16s linear infinite;
}

.wk-bg-lines .wk-line:nth-child(2) { stroke: rgba(34, 211, 238, 0.26); animation-duration: 22s; animation-direction: reverse; }
.wk-bg-lines .wk-line:nth-child(3) { stroke: rgba(14, 144, 217, 0.24); animation-duration: 27s; }
.wk-bg-lines .wk-line:nth-child(4) { stroke: rgba(92, 179, 232, 0.24); animation-duration: 19s; animation-direction: reverse; }

@keyframes wk-line-flow { to { stroke-dashoffset: -400; } }

/* ---- Drifting feature icons ---- */
.wk-bg-icon {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: 50px;
	height: 50px;
	border-radius: 16px;
	display: grid;
	place-items: center;
	color: #2aa6e6;
	background: rgba(14, 144, 217, 0.12);
	border: 1px solid rgba(14, 144, 217, 0.32);
	box-shadow: 0 12px 36px rgba(14, 144, 217, 0.22), inset 0 0 18px rgba(14, 144, 217, 0.10);
	opacity: calc(var(--o, 0.18) * 1);
	animation: wk-drift var(--d, 26s) ease-in-out var(--delay, 0s) infinite;
	will-change: transform;
}

.wk-bg-icon.is-ai {
	color: #3ce0f5;
	background: rgba(34, 211, 238, 0.14);
	border-color: rgba(34, 211, 238, 0.36);
	box-shadow: 0 12px 36px rgba(34, 211, 238, 0.26), inset 0 0 18px rgba(34, 211, 238, 0.12);
}

.wk-bg-icon svg { width: 32px; height: 32px; }

@keyframes wk-drift {
	0%   { transform: translate(0, 0)        rotate(0deg)  scale(var(--s, 1)); }
	25%  { transform: translate(16px, -22px) rotate(5deg)  scale(var(--s, 1)); }
	50%  { transform: translate(-12px, -36px) rotate(-4deg) scale(var(--s, 1)); }
	75%  { transform: translate(-18px, -14px) rotate(4deg)  scale(var(--s, 1)); }
	100% { transform: translate(0, 0)        rotate(0deg)  scale(var(--s, 1)); }
}

@media (max-width: 720px) {
	.wk-bg-icon { width: 50px; height: 50px; opacity: calc(var(--o, 0.18) * 1.5); }
	.wk-bg-icon svg { width: 26px; height: 26px; }
}

/* ==========================================================================
 *  "Try instant sandbox" CTA — highlight on hover + click feedback
 *  (cyan to match the secondary card's accent; icons use currentColor so they
 *   recolour too. :active keeps the hover text colour on click.)
 * ========================================================================== */

.wk-card-cta-ghost {
	background: rgba(34, 211, 238, 0.12);
	border: 1px solid rgba(34, 211, 238, 0.34);
	color: #e6fbff;
	box-shadow: 0 2px 14px rgba(34, 211, 238, 0.12);
	transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.wk-card-secondary:hover .wk-card-cta-ghost,
#wk-launch-btn:hover .wk-card-cta-ghost,
.wk-card-cta-ghost:hover {
	background: rgba(34, 211, 238, 0.14);
	border-color: rgba(34, 211, 238, 0.45);
	color: #22d3ee;
	box-shadow: 0 6px 22px rgba(34, 211, 238, 0.22);
}

#wk-launch-btn:active .wk-card-cta-ghost,
.wk-card-cta-ghost:active {
	background: rgba(34, 211, 238, 0.24);
	border-color: rgba(34, 211, 238, 0.65);
	color: #22d3ee;
	box-shadow: 0 4px 14px rgba(34, 211, 238, 0.30);
	transform: translateX(2px) scale(0.98);
}

/* ==========================================================================
 *  Language switcher (header) + footer support links
 * ========================================================================== */

.wk-lang { position: relative; }

.wk-lang-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 11px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.03);
	color: #fff;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}

.wk-lang-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.24); }

.wk-lang-flag { font-size: 15px; line-height: 1; }
.wk-lang-chev { opacity: 0.6; transition: transform 0.2s; }
.wk-lang[data-open="true"] .wk-lang-chev { transform: rotate(180deg); }

.wk-lang-list {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 226px;
	background: #181b22;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 5px;
	margin: 0;
	list-style: none;
	z-index: 60;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
	max-height: 340px;
	overflow: auto;
}

.wk-lang-list[hidden] { display: none; }

.wk-lang-option {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 11px;
	border-radius: 7px;
	cursor: pointer;
	color: rgba(255, 255, 255, 0.85);
	font-size: 13.5px;
}

.wk-lang-option:hover,
.wk-lang-option.is-active { background: rgba(14, 144, 217, 0.16); color: #fff; }

.wk-lang-opt-flag   { font-size: 16px; line-height: 1; }
.wk-lang-opt-name   { font-weight: 500; }
.wk-lang-opt-native { margin-left: auto; color: rgba(255, 255, 255, 0.45); font-size: 12.5px; }

/* ---- Footer support links (raise a ticket / live chat / email) ---- */
.wcdemo-footer-support {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px 22px;
	margin-top: 2px;
}

.wcdemo-support-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.62);
	transition: color 0.15s;
}

.wcdemo-support-link svg { color: #22d3ee; flex-shrink: 0; }
.wcdemo-support-link:hover { color: #fff; }

@media (max-width: 560px) {
	.wk-lang-btn { padding: 6px 9px; font-size: 12.5px; }
	.wcdemo-footer-support { gap: 8px 16px; }
}

/* ==========================================================================
 *  Mobile header / nav sizing (keep "View All" compact on small screens)
 * ========================================================================== */

@media (max-width: 640px) {
	.wk-nav-cta { font-size: 12px; padding: 6px 11px; }
}

@media (max-width: 560px) {
	.wk-header-inner { padding: 12px 16px; column-gap: 10px; row-gap: 10px; flex-wrap: wrap; }
	.wk-brand-logo   { height: 26px; }
	.wk-nav          { gap: 10px; }
	.wk-nav-cta      { font-size: 11.5px; padding: 6px 10px; }
	.wk-lang-btn     { padding: 6px 8px; font-size: 12px; }
}
