/* Global Header and Footer Styles */

/* Header */
.global-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(26, 26, 46, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.global-header .header-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.global-header .logo {
	font-size: 1.5rem;
	font-weight: 700;
	background: linear-gradient(90deg, #00d4ff, #00ff88);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-decoration: none;
}

.global-header .nav-links {
	display: flex;
	align-items: center;
	gap: 2rem;
}

.global-header .nav-link {
	color: #8892b0;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}

.global-header .nav-link:hover {
	color: #fff;
}

.global-header .nav-link.active {
	color: #00d4ff;
}

.global-header .nav-buttons {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.global-header .nav-btn {
	padding: 0.5rem 1.25rem;
	font-size: 0.9rem;
	font-weight: 600;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.2s;
	text-decoration: none;
}

.global-header .nav-btn.login {
	background: transparent;
	border: 2px solid #3d4f7c;
	color: #fff;
}

.global-header .nav-btn.login:hover {
	border-color: #00d4ff;
	color: #00d4ff;
}

.global-header .nav-btn.signup {
	background: linear-gradient(90deg, #00d4ff, #00ff88);
	border: none;
	color: #1a1a2e;
}

.global-header .nav-btn.signup:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Mobile menu button */
.global-header .mobile-menu-btn {
	display: none;
	background: none;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 0.5rem;
}

.global-header .mobile-menu-btn svg {
	width: 24px;
	height: 24px;
}

/* Footer */
.global-footer {
	background: rgba(0, 0, 0, 0.2);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 3rem 2rem 2rem;
	margin-top: auto;
}

.global-footer .footer-container {
	max-width: 1200px;
	margin: 0 auto;
}

.global-footer .footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 3rem;
	margin-bottom: 2rem;
}

.global-footer .footer-brand .logo {
	font-size: 1.5rem;
	font-weight: 700;
	background: linear-gradient(90deg, #00d4ff, #00ff88);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
	margin-bottom: 1rem;
}

.global-footer .footer-brand p {
	color: #8892b0;
	font-size: 0.9rem;
	line-height: 1.6;
}

.global-footer .footer-section h4 {
	color: #fff;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

.global-footer .footer-section ul {
	list-style: none;
}

.global-footer .footer-section li {
	margin-bottom: 0.5rem;
}

.global-footer .footer-section a {
	color: #8892b0;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s;
}

.global-footer .footer-section a:hover {
	color: #00d4ff;
}

.global-footer .footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.global-footer .footer-bottom p {
	color: #6b7280;
	font-size: 0.875rem;
}

.global-footer .footer-bottom-links {
	display: flex;
	gap: 1.5rem;
}

.global-footer .footer-bottom-links a {
	color: #6b7280;
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s;
}

.global-footer .footer-bottom-links a:hover {
	color: #00d4ff;
}

/* Responsive */
@media (max-width: 768px) {
	.global-header .header-container {
		padding: 1rem;
	}

	.global-header .nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: rgba(26, 26, 46, 0.98);
		flex-direction: column;
		padding: 1rem;
		gap: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.global-header .nav-links.active {
		display: flex;
	}

	.global-header .nav-link {
		padding: 0.75rem 1rem;
		width: 100%;
	}

	.global-header .nav-buttons {
		display: none;
	}

	.global-header .nav-links.active + .nav-buttons,
	.global-header .nav-buttons.active {
		display: flex;
		flex-direction: column;
		width: 100%;
		padding: 1rem;
	}

	.global-header .mobile-menu-btn {
		display: block;
	}

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

	.global-footer .footer-brand {
		grid-column: 1 / -1;
	}

	.global-footer .footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.global-footer .footer-grid {
		grid-template-columns: 1fr;
	}
}
