/* Reset and base styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-color: #0a88cd;
	--secondary-color: #1a1a1a;
	--accent-color: #0a88cd;
	--dark-bg: #0a0a0a;
	--card-bg: rgba(26, 26, 26, 0.8);
	--text-light: #ffffff;
	--text-dim: #a0a0a0;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(0px);
	}
}

@keyframes glow {
	0% {
		box-shadow: 0 0 5px rgba(0, 168, 255, 0.2);
	}
	50% {
		box-shadow: 0 0 20px rgba(0, 168, 255, 0.4);
	}
	100% {
		box-shadow: 0 0 5px rgba(0, 168, 255, 0.2);
	}
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 0.1;
	}
	50% {
		transform: scale(1.05);
		opacity: 0.15;
	}
	100% {
		transform: scale(1);
		opacity: 0.1;
	}
}

html {
	scroll-behavior: smooth;
	scroll-snap-type: y mandatory;
	overflow-y: scroll;
	height: 100%;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
		Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: var(--text-light);
	background-color: var(--dark-bg);
	height: 100%;
	scroll-snap-type: y mandatory;
	overflow-y: scroll;
}

/* Header and Logo */
.header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2rem;
	animation: fadeIn 0.8s ease-out;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}

.logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	height: 96px;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.8s ease-out;
}

.logo img {
	height: 100%;
	width: auto;
	object-fit: contain;
	transition: all 0.3s ease;
}

.logo:hover img {
	transform: scale(1.05);
	filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.5));
}

/* Navigation */
.nav-buttons {
	display: flex;
	gap: 1rem;
	align-items: center;
	margin-left: auto;
}

.nav-button {
	background-color: var(--primary-color);
	color: var(--text-light);
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
}

.nav-button i {
	transition: transform 0.3s ease;
}

.nav-button:hover {
	background-color: var(--accent-color);
	box-shadow: 0 0 20px rgba(10, 136, 205, 0.4);
	transform: translateY(-2px);
}

.nav-button:hover i {
	transform: scale(1.1);
}

.nav-button.active {
	background-color: var(--accent-color);
}

/* Hero Section */
.hero {
	min-height: 100vh;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)),
		url("img/bg/hero.jpg") center/cover;
	padding: 0 1rem;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: none;
}

.hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(10, 136, 205, 0.2), transparent);
	animation: pulse 3s infinite;
}

.hero-content {
	max-width: 800px;
	position: relative;
	z-index: 1;
	animation: fadeIn 1s ease-out 0.3s both;
	padding: 2rem 0;
	text-align: left;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
	animation: fadeIn 1s ease-out 0.5s both;
}

.subtitle {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
	animation: fadeIn 1s ease-out 0.5s both;
}

.hero p {
	font-size: 1.25rem;
	margin-bottom: 2rem;
	color: var(--text-light);
	animation: fadeIn 1s ease-out 0.7s both;
}

.hero-stats {
	display: flex;
	justify-content: space-between;
	gap: 3rem;
	margin-bottom: 2rem;
	animation: fadeIn 1s ease-out 0.9s both;
	width: 100%;
}

.stat-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	transition: transform 0.3s ease;
	background-color: var(--card-bg);
	padding: 1rem;
	border-radius: 0.5rem;
	border: 1px solid rgba(10, 136, 205, 0.2);
	flex: 1;
	gap: 2rem;
}

.stat-item:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
	box-shadow: 0 0 20px rgba(10, 136, 205, 0.2);
}

.stat-item i {
	font-size: 2rem;
	color: var(--primary-color);
	margin-bottom: 0;
}

.stat-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.stat-number {
	font-size: 2.5rem;
	font-weight: bold;
	color: var(--primary-color);
}

.stat-label {
	color: var(--text-dim);
	text-transform: uppercase;
	font-size: 0.9rem;
	letter-spacing: 1px;
}

/* Buttons */
.cta-button,
.submit-button {
	background-color: var(--primary-color);
	color: var(--text-light);
	border: none;
	padding: 1rem 2rem;
	border-radius: 0.25rem;
	font-size: 1.1rem;
	cursor: pointer;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	overflow: hidden;
	animation: fadeIn 1s ease-out 1.1s both;
}

.cta-button:hover,
.submit-button:hover {
	background-color: var(--accent-color);
	box-shadow: 0 0 20px rgba(36, 1, 49, 0.4);
	transform: translateY(-2px);
}

/* Section Base Styles */
section {
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 6rem 2rem;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

section::after {
	content: none;
}

section::before {
	content: none;
}

/* Features Section */
.features {
	background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)),
		url("img/bg/about.jpg") center/cover;
	animation: fadeIn 1s ease-out;
}

.features h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 4rem;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 2px;
	animation: fadeIn 1s ease-out;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
	flex: 1;
	align-content: center;
}

.feature-card {
	background-color: var(--card-bg);
	border-radius: 1rem;
	padding: 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center;
	height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.feature-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
	z-index: 1;
}

.feature-card h3,
.feature-card p {
	position: relative;
	z-index: 2;
	color: white;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 0.5rem 0.5rem 0 0;
	margin-bottom: 1rem;
}

/* Corporations Section */
.corporations {
	background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)),
		url("img/bg/offer.jpg") center/cover;
	animation: fadeIn 1s ease-out;
}

.corporations h2 {
	text-align: center;
	font-size: 2.5rem;
	margin-bottom: 4rem;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 2px;
	animation: fadeIn 1s ease-out;
}

.corp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 3rem;
	max-width: 1200px;
	margin: 0 auto;
	flex: 1;
	align-content: center;
}

.corp-card {
	padding: 2rem;
	background-color: var(--card-bg);
	border-radius: 0.5rem;
	text-align: center;
	transition: all 0.3s ease;
	border: 1px solid rgba(10, 136, 205, 0.2);
	animation: fadeIn 1s ease-out;
}

.corp-logo {
	width: 128px;
	height: 128px;
	margin: 0 auto 1rem;
	background-color: rgba(10, 136, 205, 0.1);
	border-radius: 50%;
	border: 2px solid var(--primary-color);
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.corp-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.5rem;
	transition: transform 0.3s ease;
}

.corp-card:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
	box-shadow: 0 0 20px rgba(10, 136, 205, 0.2);
}

.corp-card:hover .corp-logo {
	transform: scale(1.1);
	box-shadow: 0 0 20px rgba(10, 136, 205, 0.3);
}

.corp-card:hover .corp-logo img {
	transform: scale(1.1);
}

.corp-card h3 {
	color: var(--primary-color);
	margin-bottom: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.corp-focus {
	color: var(--text-dim);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.corp-members {
	color: var(--text-light);
	font-size: 0.9rem;
}

/* Corporation Toggle */
.corp-toggle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-bottom: 2rem;
	gap: 1rem;
	animation: fadeIn 1s ease-out;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 1rem;
}

.toggle-switch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 24px;
}

.toggle-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--card-bg);
	transition: 0.4s;
	border-radius: 24px;
	border: 1px solid var(--primary-color);
}

.toggle-slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 2px;
	background-color: var(--primary-color);
	transition: 0.4s;
	border-radius: 50%;
}

input:checked + .toggle-slider {
	background-color: var(--card-bg);
}

input:checked + .toggle-slider:before {
	transform: translateX(16px);
	background-color: var(--primary-color);
}

.toggle-label {
	color: var(--text-light);
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: color 0.3s ease;
}

.toggle-switch:hover + .toggle-label {
	color: var(--primary-color);
}

/* Contact/Join Section */
.contact {
	padding: 5rem 1rem;
	background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.95)),
		url("img/bg/offer.jpg") center/cover;
	text-align: center;
	animation: fadeIn 1s ease-out;
}

.contact h2 {
	font-size: 2.5rem;
	margin-bottom: 2rem;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 2px;
	animation: fadeIn 1s ease-out;
}

.contact-form {
	max-width: 500px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	animation: fadeIn 1s ease-out;
}

.contact-form input {
	padding: 1rem;
	border: 1px solid rgba(0, 168, 255, 0.2);
	border-radius: 0.25rem;
	font-size: 1rem;
	background-color: rgba(10, 15, 29, 0.8);
	color: var(--text-light);
	transition: all 0.3s ease;
}

.contact-form input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 10px rgba(0, 168, 255, 0.2);
	transform: translateY(-2px);
}

/* History Section */
.history {
	background-color: var(--secondary-color);
	text-align: center;
	animation: fadeIn 1s ease-out;
	position: relative;
	background: linear-gradient(rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.95)),
		url("img/bg/history.png") center/cover;
}

.history h2 {
	font-size: 2.5rem;
	margin-bottom: 4rem;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 2px;
	animation: fadeIn 1s ease-out;
}

.timeline {
	max-width: 100%;
	margin: 0 auto;
	position: relative;
	padding: 2rem 0;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	align-items: center;
	justify-content: flex-start;
}

.timeline::-webkit-scrollbar {
	display: none;
}

.timeline::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(
		to right,
		transparent,
		var(--primary-color),
		var(--primary-color),
		transparent
	);
	opacity: 0.3;
	transform: translateY(-50%);
}

.timeline-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0 2rem;
	position: relative;
	animation: fadeIn 1s ease-out;
	scroll-snap-align: center;
	min-width: 300px;
	height: 400px;
	justify-content: center;
}

.timeline-item:first-child {
	margin-left: 50%;
}

.timeline-date {
	width: auto;
	text-align: center;
	color: var(--primary-color);
	font-size: 1.5rem;
	font-weight: bold;
	position: relative;
	margin-bottom: 2rem;
}

.timeline-date::after {
	content: "";
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 12px;
	height: 12px;
	background-color: var(--primary-color);
	border-radius: 50%;
	box-shadow: 0 0 15px var(--primary-color);
}

.timeline-content {
	width: 100%;
	height: 300px;
	text-align: left;
	padding: 2rem;
	background-color: var(--card-bg);
	border-radius: 0.5rem;
	border: 1px solid rgba(10, 136, 205, 0.2);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.timeline-content:hover {
	transform: translateY(-5px);
	border-color: var(--primary-color);
	box-shadow: 0 0 20px rgba(10, 136, 205, 0.3);
}

.timeline-content h3 {
	color: var(--primary-color);
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 1.2rem;
}

.timeline-content p {
	color: var(--text-light);
	font-size: 1rem;
	line-height: 1.6;
}

.history-footer {
	position: absolute;
	bottom: 2rem;
	left: 0;
	right: 0;
	color: var(--text-dim);
	text-align: center;
	font-size: 0.9rem;
	animation: fadeIn 1s ease-out;
	padding: 2.5rem;
	background-color: var(--card-bg);
	border-top: 1px solid rgba(10, 136, 205, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	max-width: 800px;
	margin: 0 auto;
	border-radius: 0.5rem;
	box-shadow: 0 0 20px rgba(10, 136, 205, 0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.history-footer p {
	margin: 0;
	line-height: 1.6;
	text-align: center;
	max-width: 600px;
}

/* Footer */
.footer {
	background-color: var(--dark-bg);
	color: var(--text-dim);
	padding: 2rem;
	animation: fadeIn 1s ease-out;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
}

.footer-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--dark-bg);
	padding: 2rem;
	border-top: 1px solid rgba(10, 136, 205, 0.2);
	z-index: 2;
}

.footer-content::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100vw;
	right: -100vw;
	bottom: 0;
	background-color: var(--dark-bg);
	z-index: -1;
}

.footer-content > * {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

.footer-text {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	display: flex;
	justify-content: space-between;
}

.developer-credit {
	color: var(--text-dim);
	font-size: 0.8rem;
	transition: color 0.3s ease;
	opacity: 0.7;
	display: flex;
	justify-content: end;
}

.developer-credit:hover {
	color: var(--text-light);
	opacity: 1;
}

.developer-credit i {
	font-size: 0.9rem;
	color: var(--primary-color);
}

.developer-credit a {
	color: inherit;
	text-decoration: none;
}

.footer-logo {
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer-logo img {
	height: 100%;
	width: auto;
	object-fit: contain;
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.footer-logo img:hover {
	opacity: 1;
}

/* Scroll Arrow */
.scroll-arrow {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	color: var(--primary-color);
	font-size: 2.5rem;
	background: none;
	border: none;
	outline: none;
	cursor: pointer;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: bounce 2s infinite;
	transition: color 0.3s;
}

.scroll-arrow:hover {
	color: var(--accent-color);
}

@keyframes bounce {
	0%,
	100% {
		transform: translateX(-50%) translateY(0);
	}
	50% {
		transform: translateX(-50%) translateY(12px);
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	section {
		height: auto;
		min-height: 100vh;
		padding: 4rem 1.5rem;
	}

	.header {
		padding: 1.5rem;
	}

	.logo {
		height: 64px;
	}

	.nav-buttons {
		gap: 0.5rem;
	}

	.nav-button {
		width: 36px;
		height: 36px;
		font-size: 1rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.subtitle {
		font-size: 1.5rem;
	}

	.hero-stats {
		flex-direction: column;
		gap: 1rem;
	}

	.stat-item {
		width: 100%;
	}

	.feature-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.feature-card {
		height: 250px;
	}

	.corp-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.timeline {
		padding: 2rem 1rem;
	}

	.timeline-item {
		min-width: 280px;
		margin: 0 1rem;
		height: 350px;
	}

	.timeline-content {
		height: 250px;
		padding: 1.5rem;
	}

	.footer-content {
		padding: 1.5rem;
	}

	.footer-content > * {
		flex-direction: column;
		gap: 1rem;
	}

	.footer-text {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		text-align: center;
	}

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

	.footer-logo {
		height: 40px;
	}
}

.section-indicator {
	position: fixed;
	top: 50%;
	right: 2rem;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	z-index: 100;
}

.indicator-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--card-bg);
	border: 2px solid var(--primary-color);
	transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
	box-shadow: 0 0 0 0 rgba(10, 136, 205, 0.2);
	display: block;
	margin: 0 auto;
	cursor: pointer;
}

.indicator-dot.active {
	background: var(--primary-color);
	border-color: var(--accent-color);
	box-shadow: 0 0 8px 2px rgba(10, 136, 205, 0.4);
}

.indicator-dot:hover {
	background: var(--accent-color);
	border-color: var(--primary-color);
}

@media (max-width: 768px) {
	.section-indicator {
		right: 0.5rem;
		gap: 0.7rem;
	}
	.indicator-dot {
		width: 12px;
		height: 12px;
	}
}
