* { box-sizing: border-box; margin: 0; padding: 0; }

body {
	font-family: 'Poppins', sans-serif;
	background: #0a0a0a;
	color: #fff;
}

.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;

	background: #050505 url('../img/hero-bg.png') center/cover no-repeat;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 32%, rgba(0,0,0,0.1) 52%, rgba(0,0,0,0.65) 76%, rgba(0,0,0,0.88) 100%),
		linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 22%, rgba(0,0,0,0.15) 68%, rgba(0,0,0,0.6) 100%);
	pointer-events: none;
}

/* Topbar */
.topbar {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 40px 60px 0 60px;
}

.logo { display: flex; align-items: center; }

.logo-img {
	height: 60px;
	width: auto;
	display: block;
}

.tagline {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
	font-size: 12px;
	letter-spacing: 4px;
	color: #f2f2f2;
	position: relative;
	padding-bottom: 14px;
}

.dash {
	display: inline-block;
	width: 22px;
	height: 3px;
	background: #e8172a;
}

.dash-right {
	position: absolute;
	right: 0;
	bottom: 0;
}

/* Main content */
.content {
	position: relative;
	z-index: 2;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 40px 60px;
	flex-wrap: wrap;
}

.content-left {
	flex: 1 1 480px;
	max-width: 620px;
}

.headline {
	font-size: 44px;
	font-weight: 800;
	font-style: italic;
	line-height: 1.15;
	transform: skewX(-2deg);
	text-transform: uppercase;
}

.headline .accent { color: #e8172a; }

.subtext {
	margin-top: 20px;
	color: #c7c7c7;
	font-size: 16px;
	line-height: 1.6;
}

.features {
	display: flex;
	gap: 18px;
	margin-top: 40px;
	flex-wrap: wrap;
}

.feature-card {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	width: 128px;
	height: 128px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	font-size: 13px;
	font-weight: 500;
	color: #efefef;
}

.content-right {
	flex: 0 1 480px;
	display: flex;
	justify-content: center;
}

.login-card {
	width: 100%;
	max-width: 440px;
	background: rgba(20, 20, 22, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 42px 40px 34px 40px;
	box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.login-card h2 {
	font-size: 28px;
	font-weight: 700;
}

.card-subtitle {
	color: #b7b7b7;
	font-size: 14px;
	margin-top: 6px;
	margin-bottom: 28px;
}

.alert-error {
	background: rgba(232, 23, 42, 0.12);
	border: 1px solid rgba(232, 23, 42, 0.4);
	color: #ff8b93;
	font-size: 13px;
	padding: 10px 14px;
	border-radius: 8px;
	margin-bottom: 18px;
}

.input-group {
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 10px;
	padding: 0 14px;
	margin-bottom: 16px;
}

.input-icon {
	color: #9a9a9a;
	display: flex;
	align-items: center;
	margin-right: 10px;
}

.input-group input {
	flex: 1;
	background: transparent;
	border: none;
	outline: none;
	color: #fff;
	font-size: 14px;
	padding: 14px 0;
	font-family: inherit;
}

.input-group input::placeholder { color: #8c8c8c; }

.toggle-password {
	background: none;
	border: none;
	color: #9a9a9a;
	cursor: pointer;
	display: flex;
	align-items: center;
	padding: 4px;
}

.row-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 4px 0 26px 0;
	font-size: 13px;
}

.remember {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #d6d6d6;
	cursor: pointer;
}

.remember input[type="checkbox"] {
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: #e8172a;
	border: none;
	position: relative;
	cursor: pointer;
}

.remember input[type="checkbox"]::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 1px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.forgot {
	color: #e8172a;
	text-decoration: none;
	font-weight: 500;
}

.forgot:hover { text-decoration: underline; }

.btn-login {
	width: 100%;
	background: linear-gradient(180deg, #ea1c2c 0%, #c8121f 100%);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 15px 0;
	font-size: 15px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	cursor: pointer;
	box-shadow: 0 10px 25px rgba(200, 18, 31, 0.35);
	transition: filter 0.15s ease;
}

.btn-login:hover { filter: brightness(1.08); }

/* Footer */
.footer {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 60px;
	background: rgba(0, 0, 0, 0.45);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 11px;
	letter-spacing: 2px;
	color: #d6d6d6;
	flex-wrap: wrap;
	gap: 10px;
}

.footer span:first-child {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer span:last-child {
	letter-spacing: normal;
	color: #9a9a9a;
	font-size: 12px;
}

/* Responsive */
@media (max-width: 900px) {
	.topbar { padding: 24px 24px 0 24px; }
	.content { padding: 24px 24px 40px 24px; justify-content: center; }
	.content-left { text-align: center; }
	.features { justify-content: center; }
	.headline { font-size: 32px; }
	.tagline { display: none; }
	.footer { padding: 14px 24px; justify-content: center; text-align: center; }
}
