/**
 * O-Cleans — space / future coming soon
 */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	height: 100%;
	scroll-behavior: smooth;
}

body.oc-coming-soon {
	margin: 0;
	min-height: 100vh;
	font-family: 'Exo 2', system-ui, sans-serif;
	font-weight: 400;
	color: #e8f4ff;
	background: #03050c;
	overflow-x: hidden;
}

.oc-space {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.oc-space__nebula {
	position: absolute;
	inset: -20%;
	background:
		radial-gradient(ellipse 80% 50% at 20% 30%, rgba(88, 28, 135, 0.45) 0%, transparent 55%),
		radial-gradient(ellipse 70% 45% at 85% 20%, rgba(14, 165, 233, 0.25) 0%, transparent 50%),
		radial-gradient(ellipse 60% 40% at 50% 90%, rgba(16, 185, 129, 0.15) 0%, transparent 45%),
		linear-gradient(180deg, #050814 0%, #0a0f24 40%, #060912 100%);
	animation: oc-nebula-shift 18s ease-in-out infinite alternate;
}

@keyframes oc-nebula-shift {
	0% {
		filter: hue-rotate(0deg) saturate(1);
		transform: scale(1) translate(0, 0);
	}
	100% {
		filter: hue-rotate(25deg) saturate(1.15);
		transform: scale(1.05) translate(-2%, 1%);
	}
}

.oc-space__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 20%, transparent 75%);
	transform: perspective(400px) rotateX(12deg) scale(1.15);
	transform-origin: center 60%;
	opacity: 0.7;
}

.oc-space__stars {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}

.oc-space__scanlines {
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		0deg,
		transparent,
		transparent 2px,
		rgba(0, 0, 0, 0.12) 2px,
		rgba(0, 0, 0, 0.12) 4px
	);
	opacity: 0.35;
	mix-blend-mode: overlay;
}

.oc-hero {
	position: relative;
	z-index: 1;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(1.5rem, 4vw, 3rem);
	text-align: center;
}

.oc-hero__signal {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 2rem;
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(125, 211, 252, 0.85);
	font-weight: 600;
}

.oc-hero__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22d3ee;
	box-shadow: 0 0 12px #22d3ee, 0 0 28px rgba(34, 211, 238, 0.5);
	animation: oc-pulse 2s ease-in-out infinite;
}

@keyframes oc-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(0.85);
	}
}

.oc-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 3vw, 1.75rem);
	margin: 0 0 1.25rem;
	flex-wrap: wrap;
}

.oc-brand__glyph {
	position: relative;
	width: clamp(56px, 12vw, 88px);
	height: clamp(56px, 12vw, 88px);
	flex-shrink: 0;
}

.oc-brand__ring {
	position: absolute;
	inset: 0;
	border: 2px solid rgba(34, 211, 238, 0.6);
	border-radius: 50%;
	box-shadow:
		inset 0 0 20px rgba(34, 211, 238, 0.2),
		0 0 30px rgba(34, 211, 238, 0.25);
	animation: oc-ring-spin 12s linear infinite;
}

.oc-brand__ring::after {
	content: '';
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px dashed rgba(167, 139, 250, 0.35);
	animation: oc-ring-spin 20s linear infinite reverse;
}

@keyframes oc-ring-spin {
	to {
		transform: rotate(360deg);
	}
}

.oc-brand__core {
	position: absolute;
	inset: 22%;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fff 0%, #22d3ee 35%, #6366f1 100%);
	box-shadow:
		0 0 40px rgba(99, 102, 241, 0.6),
		0 0 80px rgba(34, 211, 238, 0.35);
	animation: oc-core-glow 4s ease-in-out infinite alternate;
}

@keyframes oc-core-glow {
	0% {
		filter: brightness(1);
	}
	100% {
		filter: brightness(1.15);
	}
}

.oc-brand__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.oc-brand__name {
	font-family: 'Orbitron', sans-serif;
	font-weight: 900;
	font-size: clamp(2.5rem, 8vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: 0.08em;
	background: linear-gradient(120deg, #f0f9ff 0%, #7dd3fc 35%, #a78bfa 70%, #e0e7ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-shadow: 0 0 40px rgba(125, 211, 252, 0.35);
}

.oc-brand__tag {
	font-size: clamp(0.85rem, 2.2vw, 1.05rem);
	font-weight: 300;
	letter-spacing: 0.42em;
	text-transform: uppercase;
	color: rgba(196, 181, 253, 0.9);
	margin-top: 0.35rem;
}

.oc-hero__lead {
	max-width: 36rem;
	margin: 0 auto 2.5rem;
	font-size: clamp(1rem, 2.4vw, 1.15rem);
	line-height: 1.65;
	color: rgba(226, 232, 240, 0.88);
	font-weight: 300;
}

.oc-countdown {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0.35rem;
	flex-wrap: wrap;
	margin-bottom: 0.5rem;
}

.oc-countdown__block {
	min-width: 4.5rem;
	padding: 0.85rem 0.65rem;
	background: rgba(15, 23, 42, 0.55);
	border: 1px solid rgba(56, 189, 248, 0.25);
	border-radius: 4px;
	backdrop-filter: blur(8px);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 12px 40px rgba(0, 0, 0, 0.35);
}

.oc-countdown__value {
	display: block;
	font-family: 'Orbitron', monospace;
	font-size: clamp(1.35rem, 4vw, 1.85rem);
	font-weight: 700;
	color: #67e8f9;
	letter-spacing: 0.06em;
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
}

.oc-countdown__label {
	display: block;
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: rgba(148, 163, 184, 0.85);
	margin-top: 0.35rem;
}

.oc-countdown__sep {
	align-self: center;
	font-family: 'Orbitron', sans-serif;
	font-size: 1.5rem;
	color: rgba(56, 189, 248, 0.45);
	padding: 0 0.15rem;
}

.oc-countdown__hint {
	margin: 0.75rem 0 2rem;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(148, 163, 184, 0.65);
}

.oc-form {
	width: min(100%, 28rem);
	margin-bottom: 2.5rem;
}

.oc-form__label {
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(186, 230, 253, 0.85);
	margin-bottom: 0.75rem;
}

.oc-form__row {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.oc-form__input {
	flex: 1 1 12rem;
	min-height: 48px;
	padding: 0 1rem;
	font-family: inherit;
	font-size: 0.95rem;
	color: #f1f5f9;
	background: rgba(15, 23, 42, 0.65);
	border: 1px solid rgba(99, 102, 241, 0.35);
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.oc-form__input::placeholder {
	color: rgba(148, 163, 184, 0.55);
}

.oc-form__input:focus {
	border-color: rgba(34, 211, 238, 0.65);
	box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.oc-form__btn {
	min-height: 48px;
	padding: 0 1.35rem;
	font-family: 'Orbitron', sans-serif;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #0f172a;
	background: linear-gradient(135deg, #22d3ee 0%, #818cf8 100%);
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.2s;
	box-shadow: 0 4px 24px rgba(34, 211, 238, 0.35);
}

.oc-form__btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 32px rgba(129, 140, 248, 0.45);
}

.oc-form__btn:focus-visible {
	outline: 2px solid #e0e7ff;
	outline-offset: 2px;
}

.oc-form__note {
	margin: 0.65rem 0 0;
	font-size: 0.72rem;
	color: rgba(148, 163, 184, 0.75);
	line-height: 1.4;
}

.oc-footer {
	margin-top: auto;
	padding-top: 1rem;
}

.oc-footer__coord {
	font-size: 0.68rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(100, 116, 139, 0.9);
}

@media (prefers-reduced-motion: reduce) {
	.oc-space__nebula,
	.oc-brand__ring,
	.oc-brand__ring::after,
	.oc-brand__core,
	.oc-hero__pulse {
		animation: none;
	}
}
