/*
 * Coming Soon splash styles.
 *
 * Standalone page — does NOT use the site header/footer chrome.
 * Reuses --color-navy / --color-teal / --color-gold from variables.css.
 * Splash-only tokens are scoped here under :root.
 */

:root {
	--cs-navy-mid: #1B2D45;
	--cs-teal-light: #24C4D6;
	--cs-gold-dim: rgba(212, 168, 67, 0.15);
	--cs-dark: #060D16;
	--cs-gray: #8892A0;
	--cs-paper: #F0F2F5;
}

body.iteramind-coming-soon {
	font-family: var(--font-body);
	background: var(--cs-dark);
	color: var(--cs-paper);
	min-height: 100vh;
	overflow-x: hidden;
	position: relative;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
}

html { scroll-behavior: smooth; }

/* === BACKGROUND EFFECTS === */
.cs-bg-grid {
	position: fixed;
	inset: 0;
	background-image:
		linear-gradient(rgba(27, 154, 170, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(27, 154, 170, 0.04) 1px, transparent 1px);
	background-size: 60px 60px;
	z-index: 0;
	pointer-events: none;
}

.cs-bg-glow {
	position: fixed;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	filter: blur(150px);
	opacity: 0.12;
	pointer-events: none;
	z-index: 0;
}

.cs-bg-glow--teal {
	top: -200px;
	right: -100px;
	background: var(--color-teal);
	animation: cs-float-glow 12s ease-in-out infinite;
}

.cs-bg-glow--gold {
	bottom: -200px;
	left: -200px;
	background: var(--color-gold);
	animation: cs-float-glow 15s ease-in-out infinite reverse;
}

@keyframes cs-float-glow {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(30px, -40px); }
}

/* === NOISE OVERLAY === */
.cs-noise {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0.025;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 256px 256px;
}

/* === MAIN CONTAINER === */
.cs-container {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 2rem;
}

/* === ITERATION SYMBOL === */
.cs-iter-symbol {
	width: 64px;
	height: 64px;
	margin-bottom: 3rem;
	position: relative;
	animation: cs-fade-in 1s ease-out 0.2s both;
}

.cs-iter-ring {
	position: absolute;
	inset: 0;
	border: 2px solid var(--color-teal);
	border-radius: 50%;
	border-top-color: transparent;
	animation: cs-spin 8s linear infinite;
}

.cs-iter-ring:nth-child(2) {
	inset: 8px;
	border-color: var(--color-gold);
	border-right-color: transparent;
	animation-duration: 12s;
	animation-direction: reverse;
}

.cs-iter-ring:nth-child(3) {
	inset: 16px;
	border-color: rgba(240, 242, 245, 0.2);
	border-bottom-color: transparent;
	animation-duration: 6s;
}

.cs-iter-dot {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6px;
	height: 6px;
	background: var(--cs-teal-light);
	border-radius: 50%;
	box-shadow: 0 0 12px var(--color-teal);
}

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

/* === WORDMARK === */
.cs-wordmark {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: clamp(2.8rem, 7vw, 5.5rem);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--cs-paper);
	margin: 0 0 0.5rem;
	animation: cs-fade-in 1s ease-out 0.5s both;
	text-align: center;
}

.cs-wordmark span {
	background: linear-gradient(135deg, var(--cs-paper) 40%, var(--cs-teal-light) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* === TAGLINE === */
.cs-tagline {
	font-family: var(--font-body);
	font-weight: 300;
	font-size: clamp(1rem, 2.5vw, 1.35rem);
	color: var(--cs-gray);
	letter-spacing: 0.25em;
	text-transform: uppercase;
	margin: 0 0 3.5rem;
	animation: cs-fade-in 1s ease-out 0.8s both;
	text-align: center;
}

/* === GOLD LINE === */
.cs-gold-line {
	width: 60px;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
	margin-bottom: 3.5rem;
	animation: cs-fade-in 1s ease-out 1s both;
}

/* === PILLARS === */
.cs-pillars {
	list-style: none;
	margin: 0 0 4rem;
	padding: 0;
	display: flex;
	gap: 2rem;
	animation: cs-fade-in 1s ease-out 1.2s both;
	flex-wrap: wrap;
	justify-content: center;
}

.cs-pillar {
	padding: 1.2rem 2rem;
	border: 1px solid rgba(27, 154, 170, 0.15);
	border-radius: 2px;
	background: rgba(13, 27, 42, 0.5);
	backdrop-filter: blur(10px);
	text-align: center;
	transition: all 0.4s ease;
	min-width: 200px;
	display: block;
}

.cs-pillar:hover {
	border-color: var(--color-teal);
	background: rgba(27, 154, 170, 0.06);
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(27, 154, 170, 0.1);
}

.cs-pillar-label {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-teal);
	margin-bottom: 0.4rem;
	display: block;
}

.cs-pillar-name {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 0.95rem;
	color: var(--cs-gray);
	display: block;
}

/* === COMING SOON LABEL === */
.cs-coming-soon {
	font-family: var(--font-heading);
	font-weight: 300;
	font-size: 0.85rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--color-gold);
	margin: 0 0 1.5rem;
	animation: cs-fade-in 1s ease-out 1.5s both;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.cs-coming-soon::before,
.cs-coming-soon::after {
	content: '';
	width: 30px;
	height: 1px;
	background: var(--cs-gold-dim);
}

/* === CONTACT === */
.cs-contact {
	animation: cs-fade-in 1s ease-out 1.8s both;
	text-align: center;
}

.cs-contact-link {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 1rem;
	color: var(--color-teal);
	text-decoration: none;
	letter-spacing: 0.03em;
	border-bottom: 1px solid rgba(27, 154, 170, 0.3);
	padding-bottom: 2px;
	transition: all 0.3s ease;
}

.cs-contact-link:hover {
	color: var(--cs-teal-light);
	border-bottom-color: var(--cs-teal-light);
}

.cs-contact-label {
	font-size: 0.75rem;
	color: var(--cs-gray);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

/* === FOOTER === */
.cs-footer {
	position: relative;
	z-index: 2;
	padding: 0 2rem 2rem;
	display: flex;
	justify-content: center;
	gap: 2rem;
	animation: cs-fade-in 1s ease-out 2s both;
}

.cs-footer a {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: rgba(136, 146, 160, 0.5);
	text-decoration: none;
	transition: color 0.3s ease;
}

.cs-footer a:hover {
	color: var(--color-teal);
}

/* === ANIMATION === */
@keyframes cs-fade-in {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
	.cs-pillars { flex-direction: column; align-items: center; }
	.cs-pillar { width: 100%; max-width: 280px; }
	.cs-footer { flex-direction: column; align-items: center; gap: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
	.cs-iter-ring,
	.cs-bg-glow--teal,
	.cs-bg-glow--gold,
	.cs-iter-symbol,
	.cs-wordmark,
	.cs-tagline,
	.cs-gold-line,
	.cs-pillars,
	.cs-coming-soon,
	.cs-contact,
	.cs-footer {
		animation: none !important;
	}
	.cs-pillar { transition: none; }
}
