/* CSS Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto,
		"Helvetica Neue", Arial;
	line-height: 1.6;
	color: var(--text-primary);
	background-color: var(--bg);
	overflow: hidden;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

/* CSS Variables for Theme Colors */
:root {
	--bg: #0f172a;
	--text-primary: #e6eef8;
	--text-secondary: #9aa7bf;
	--mint: #2ee6b6;
	--sky: #7dd3fc;
	--gradient-primary: linear-gradient(90deg, var(--mint), var(--sky));
	--shadow-md: 0 6px 18px rgba(2, 6, 23, 0.7);
	--border-radius: 10px;
	--transition: all 0.25s ease;
}

/* Typography */
h1, h2 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 2rem !important;
}

h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
}

h2 {
	font-size: clamp(2rem, 4vw, 3rem);
}

p {
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1rem;
}

/* Container */
.container {
	width: min(1100px, 92vw);
	margin: 0 auto;
	padding: 0 1rem;
}

/* Navigation */
.nav {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 90%;
	z-index: 1000;
	transition: var(--transition);
	height: 64px;
	display: flex;
	align-items: center;
    margin-top: 2rem;
}

.nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem;
	width: 100%;
}

.nav-logo h2 {
	color: var(--text-primary);
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

/* Hero Section */
.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc(100vh - 128px);
	position: relative;
	width: 90%;
}

.hero-container {
	width: 100%;
	padding: 0 1rem;
	display: flex;
	gap: 48px;
	align-items: center;
	justify-content: start;
}

.hero-left {
	flex: 0 1 50%;
}

.hero-right {
	flex: 0 1 50% !important;
}

.hero-title {
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	margin-bottom: 0.5rem;
	color: var(--text-primary);
	line-height: 1.02;
}

.hero-subtitle {
	font-size: 1rem;
	margin-bottom: 1rem;
	color: var(--text-secondary);
}

.hero-buttons {
	display: flex;
	gap: 1rem;
}

.hero-right {
	flex: 0 1 40%;
}

.hero-placeholder img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.5rem;
	border: none;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: var(--transition);
}

.btn-primary {
	background: var(--gradient-primary);
	color: #062022;
	box-shadow: var(--shadow-md);
	padding: 0.75rem 1.25rem;
	margin-top: 1rem;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 36px rgba(2, 6, 23, 0.75);
}


.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.02);
	border-color: rgba(255, 255, 255, 0.12);
}

.btn-large {
	padding: 1rem 2rem;
	font-size: 1rem;
}

/* Footer */
.footer {
	bottom: 0;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.02);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	height: 64px;
}

.footer p {
    width: fit-content !important;
    align-self: center !important;
    justify-self: center !important;
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-container {
		flex-direction: column;
		gap: 16px;
		text-align: center;
		align-items: stretch; /* ensure children take full width */
		justify-content: flex-start; /* keep content at top */
		height: auto; /* allow natural flow on mobile */
		padding-top: 1.25rem; /* small breathing room from top */
	}
	.hero-left, .hero-right {
		max-width: 90vw;
	}
	/* Left-align text on mobile for better reading rhythm */
	/* Top-align content on mobile */
	.hero {
		align-items: flex-start;
		padding-top: 1rem;
		height: auto;
	}

	.hero-left {
		text-align: left;
		align-items: flex-start;
		display: flex;
		flex-direction: column;
		justify-content: flex-start; /* ensure content sits at the top */
	}
	.hero-left .hero-subtitle {
		text-align: left;
	}

	/* Make buttons responsive but keep them compact */
	.btn {
		width: auto;
		max-width: 100%;
		padding: 0.6rem 1.1rem;
	}
	.hero-buttons {
		justify-content: flex-start;
		width: 100%;
		padding-bottom: 1rem; /* space below buttons */
	}

	/* Add spacing above the image on mobile */
	.hero-right {
		padding-top: 3rem; /* space above image */
	}

	/* Ensure image scales down and aligns */
	.hero-right .hero-placeholder img {
		max-width: 100%;
		height: auto;
		margin: 0;
		display: block;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 0.75rem;
	}
	.hero-title {
		font-size: 1.5rem;
	}
	.btn {
		font-size: 0.95rem;
	}
}

/* Modal */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
}

.modal-content {
	background: #bfbfbf;
	padding-top: 4rem;
	border-radius: var(--border-radius);
	max-width: 90vw;
	max-height: 90vh;
	position: relative;
	box-shadow: var(--shadow-md);
    min-width: 80%;
}

.modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: none;
	border: none;
	color: gray;
	font-size: 3rem;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: var(--transition);
}



.modal iframe {
	width: 100%;
	height: 850px;
	border: none;
	border-radius: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Focus states for keyboard navigation */
.btn:focus {
	outline: 2px solid var(--mint);
	outline-offset: 2px;
}
