/* ==========================================================================
   Lion Dev – Main styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base & reset
   -------------------------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	width: 100%;
	overflow-x: hidden;
}

body {
	font-family: 'Segoe UI', system-ui, sans-serif;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
	min-height: calc(100vh - 80px);
	background: radial-gradient(
		ellipse 80% 70% at 22% 50%,
		#0f1828 0%,
		#0a0e1a 45%,
		#060810 100%
	);
	color: #fff;
}

.main-content {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	height: calc(100vh - 80px);
	width: 100%;
	position: relative;
}

.canvas-container {
	width: 50%;
	height: 100%;
	position: relative;
	z-index: 1;
}


/* --------------------------------------------------------------------------
   Layout: hero, canvas, overlay
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-height: 100vh;
}

#canvas {
	position: absolute;
	top: 0px;
	left: 0;
	width: 100%;
	display: block;
	height: 100%;
	z-index: 0;
	top: -80px;
}


/* --------------------------------------------------------------------------
   Header & logo
   -------------------------------------------------------------------------- */

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: clamp(0.75rem, 3vw, 1.5rem) clamp(1rem, 5vw, 2.5rem);
	height: 80px;
	position: relative;
	z-index: 100;
}

.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: 0.05em;
	cursor: pointer;
}

.logo-img {
	height: 36px;
	width: auto;
	display: inline-block;
	object-fit: contain;
	vertical-align: middle;
	margin-right: 0.5rem;
}

.logo span {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: middle;
	font-family: 'Poppins', sans-serif;
}


/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

nav {
	display: flex;
	gap: 2rem;
}

nav a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s;
}

nav a:hover {
	color: #64b4ff;
}


/* --------------------------------------------------------------------------
   Main content block (index: right-side panel)
   -------------------------------------------------------------------------- */

.content {
	width: 50%;
	height: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: relative;
	z-index: 2;
}

@media (max-width: 767px) {
	.main-content {
		flex-direction: column;
		height: auto;
		min-height: calc(100vh - 80px);
	}

	.canvas-container {
		display: none;
	}

	.content {
		width: 100%;
		padding: 2rem 1.5rem;
		align-items: flex-start;
	}

	section.section1 {
		transform: none;
		max-width: 100%;
	}
}

section.section1 {
	width: 100%;
	transform: translateY(calc(-50% + 80px));
	padding-right: 100px;
}

.content h1 {
	font-size: clamp(1.75rem, 5vw, 2.25rem);
	font-weight: 700;
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.content p {
	color: rgba(255, 255, 255, 0.75);
	font-size: clamp(0.85rem, 2.2vw, 0.95rem);
	line-height: 1.6;
}

.content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1.25rem;
	letter-spacing: 0.02em;
}

.content-intro {
	margin-bottom: 1.5rem;
}

.content h2 + p {
	margin-bottom: 1.50rem;
}


/* --------------------------------------------------------------------------
   Newsletter form (index)
   -------------------------------------------------------------------------- */

.content form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.25rem;
}

.content form input[type="email"] {
	flex: 1;
	min-width: 180px;
	padding: 0.6rem 1rem;
	font-size: 0.9rem;
	font-family: inherit;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(100, 180, 255, 0.35);
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
}

.content form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.content form input[type="email"]:focus {
	border-color: rgba(100, 180, 255, 0.7);
	background: rgba(255, 255, 255, 0.12);
}

.content form input[type="email"]:focus-visible {
	outline: 2px solid rgba(100, 180, 255, 0.7);
	outline-offset: 2px;
}

.content form button[type="submit"] {
	padding: 0.6rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: inherit;
	color: #0a0e1a;
	background: linear-gradient(180deg, #64b4ff 0%, #4a9ae8 100%);
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.2s, box-shadow 0.2s;
}

.content form button[type="submit"]:hover {
	background: linear-gradient(180deg, #7ac2ff 0%, #5aa8f0 100%);
	box-shadow: 0 0 14px rgba(100, 180, 255, 0.4);
}

.content form button[type="submit"]:focus-visible {
	outline: 2px solid #64b4ff;
	outline-offset: 2px;
}

.content form button[type="submit"]:active {
	transform: scale(0.98);
}

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */

#contact-form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

#contact-form .form-group {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-bottom: 1.25rem;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form textarea {
	width: 100%;
	padding: 0.6rem 1rem;
	font-size: 0.9rem;
	font-family: inherit;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(100, 180, 255, 0.35);
	border-radius: 6px;
	outline: none;
	transition: border-color 0.2s, background 0.2s;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

#contact-form input:focus,
#contact-form textarea:focus {
	border-color: rgba(100, 180, 255, 0.7);
	background: rgba(255, 255, 255, 0.12);
}

#contact-form input:focus-visible,
#contact-form textarea:focus-visible {
	outline: 2px solid rgba(100, 180, 255, 0.7);
	outline-offset: 2px;
}


/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}


/* --------------------------------------------------------------------------
   Pagination (index)
   -------------------------------------------------------------------------- */

.pagination {
	position: absolute;
	bottom: clamp(1rem, 3vw, 2rem);
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
}

.pagination span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	transition: background 0.2s;
}

.pagination span.active {
	background: #fff;
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}


/* --------------------------------------------------------------------------
   Scroll spacer
   -------------------------------------------------------------------------- */

.scroll-spacer {
	min-height: 100vh;
	background: transparent;
}


/* --------------------------------------------------------------------------
   Timeline (explore page) – .content holds .timeline-list, same zone as index
   -------------------------------------------------------------------------- */

.roadmap-page .overlay > .content {
	overflow-y: auto;
}

.roadmap-page .timeline-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.roadmap-page .timeline-list li {
	position: relative;
	padding-bottom: 2.5rem;
	padding-left: 0;
}

.roadmap-page .timeline-list li:last-child {
	padding-bottom: 0;
}

.roadmap-page .timeline-list li::before {
	content: '';
	position: absolute;
	top: 0.25rem;
	transform: translateX(-5%);
	width: 12px;
	height: 12px;
	background: rgba(100, 180, 255, 0.9);
	border-radius: 50%;
	box-shadow:
		0 0 0 3px rgba(100, 180, 255, 0.25),
		0 0 12px rgba(100, 180, 255, 0.4);
	transition: box-shadow 0.2s, transform 0.2s;
}

.roadmap-page .timeline-list li:hover::before {
	box-shadow:
		0 0 0 4px rgba(100, 180, 255, 0.35),
		0 0 18px rgba(100, 180, 255, 0.6);
	transform: translateX(-50%) scale(1.15);
}

.roadmap-page .timeline-list li h2 {
	font-size: 0.9rem;
	font-weight: 600;
	color: #64b4ff;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
	line-height: 1.3;
}

.roadmap-page .timeline-list li p {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.5;
	margin: 0;
	padding: 0.75rem 1rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(100, 180, 255, 0.2);
	border-radius: 8px;
	transition: background 0.2s, border-color 0.2s;
}

.roadmap-page .timeline-list li:hover p {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(100, 180, 255, 0.4);
}


/* --------------------------------------------------------------------------
   Timeline: medium screens and up
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
	.roadmap-page .overlay > .content {
		padding-left: 2.75rem;
	}

	.roadmap-page .overlay > .content::before {
		left: 0.25rem;
		width: 2px;
	}

	.roadmap-page .timeline-list li::before {
		left: -2.75rem;
	}
}


/* --------------------------------------------------------------------------
   Explore page – BlueYard-style full-viewport hero, editorial layout
   -------------------------------------------------------------------------- */

/* Explore page currently reuses the same layout as index.
   If we reintroduce a custom hero later, adapt these styles. */

.explore-page .explore-hero-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: clamp(1.5rem, 5vw, 3rem) clamp(1.5rem, 6vw, 4rem);
	pointer-events: none;
}

.explore-page .explore-hero-content .explore-cta {
	pointer-events: auto;
}

.explore-page .explore-scroll-pct {
	position: absolute;
	top: clamp(1rem, 3vw, 1.5rem);
	left: clamp(1.5rem, 6vw, 4rem);
	margin: 0;
	font-size: clamp(0.75rem, 1.5vw, 0.9rem);
	font-weight: 600;
	letter-spacing: 0.15em;
	color: rgba(255, 255, 255, 0.5);
}

.explore-page .explore-headline {
	font-size: clamp(2.25rem, 6.5vw, 4rem);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem 0;
	max-width: 14ch;
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.explore-page .explore-manifesto {
	font-size: clamp(0.95rem, 1.8vw, 1.1rem);
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	max-width: 42ch;
	margin: 0 0 1.75rem 0;
}

.explore-page .explore-cta {
	display: inline-block;
	padding: 0.65rem 1.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #0a0e1a;
	background: linear-gradient(180deg, #64b4ff 0%, #4a9ae8 100%);
	border-radius: 6px;
	text-decoration: none;
	transition: background 0.2s, box-shadow 0.2s;
}

.explore-page .explore-cta:hover {
	background: linear-gradient(180deg, #7ac2ff 0%, #5aa8f0 100%);
	box-shadow: 0 0 20px rgba(100, 180, 255, 0.4);
}

.explore-page .explore-scroll-spacer {
	min-height: 180vh;
}

.explore-page .explore-content {
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
}

.explore-page .explore-content .section1 h2 {
	font-size: 1.75rem;
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 0.75rem;
}

.explore-page .explore-content .section1 h3 {
	font-size: 1.25rem;
	color: #64b4ff;
	margin: 1.5rem 0 0.5rem 0;
}

.explore-page .explore-content .section1 p {
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.6;
}

/* Center the main explore section vertically like the index hero */
.explore-page .content {
	align-items: center;
}

.explore-page section.section1 {
	transform: none;
	margin-top: 0;
	margin-bottom: 0;
}

/* Center the contact page like explore */
.contact-page .content {
	align-items: center;
}

.contact-page section.section1 {
	transform: none;
	margin-top: 0;
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Simple grid helpers (.row, .col-md-3, .col-md-9)
   -------------------------------------------------------------------------- */

.row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -0.75rem;
	margin-right: -0.75rem;
	align-items: center;
}

.col-md-3,
.col-md-9 {
	padding-left: 0.75rem;
	padding-right: 0.75rem;
	box-sizing: border-box;
}

/* Stack on small screens */
.col-md-3,
.col-md-9 {
	width: 100%;
}

/* 12-column layout from 768px+ */
@media (min-width: 768px) {
	.col-md-3 {
		width: 25%;
	}

	.col-md-9 {
		width: 75%;
	}
}
