:root {
	--bg-main: #0e1117;
	--bg-secondary: #161b22;
	--bg-card: #1c2128;
	--text-main: #e6edf3;
	--text-muted: #8b949e;
	--accent: #3b82f6;
	--accent-hover: #2563eb;
	--border: #30363d;
}

* {
	box-sizing: border-box;
	font-family: Inter, system-ui, sans-serif;
}

body {
	margin: 0;
	background: var(--bg-main);
	color: var(--text-main);
}

/* ===== TOP BAR ===== */

.topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 32px;
	background: var(--bg-secondary);
	border-bottom: 1px solid var(--border);
}

.logo {
	font-weight: 700;
	font-size: 20px;
	color: white;
}

/* ===== LOGIN FORM ===== */

.login-form {
	display: flex;
	gap: 10px;
}

	.login-form input {
		background: var(--bg-card);
		border: 1px solid var(--border);
		color: white;
		padding: 8px 12px;
		border-radius: 6px;
		outline: none;
	}

		.login-form input::placeholder {
			color: var(--text-muted);
		}

	.login-form button {
		background: var(--accent);
		color: white;
		border: none;
		padding: 8px 16px;
		border-radius: 6px;
		cursor: pointer;
	}

		.login-form button:hover {
			background: var(--accent-hover);
		}

/* ===== HERO ===== */

.hero {
	text-align: center;
	padding: 90px 20px;
	background: radial-gradient( circle at top, rgba(59,130,246,.15), transparent 60% );
}

	.hero h1 {
		font-size: 44px;
		margin-bottom: 10px;
	}

	.hero p {
		color: var(--text-muted);
		font-size: 18px;
		margin-bottom: 30px;
	}

/* ===== BUTTONS ===== */

.primary {
	background: var(--accent);
	color: white;
	border: none;
	padding: 24px 40px;
	border-radius: 8px;
	cursor: pointer;
	font-size: 20px;
}

	.primary:hover {
		background: var(--accent-hover);
	}

/* ===== FEATURES ===== */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 50px;
	padding: 25px 150px;
}

.feature {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 20px;
	border-radius: 14px;
	transition: transform .2s, box-shadow .2s;
}

	.feature:hover {
		transform: translateY(-4px);
		box-shadow: 0 30px 30px rgba(0,0,0,.4);
	}

	.feature h3 {
		margin-top: 0;
	}

	.feature p {
		color: var(--text-muted);
	}

/* ===== DASHBOARD ===== */

.container {
	max-width: 900px;
	margin: 40px auto;
	padding: 0 20px;
}

.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	padding: 26px;
	border-radius: 14px;
	margin-bottom: 24px;
}

	.card h3 {
		margin-top: 0;
	}

/* ===== FILE UPLOAD ===== */

.file-drop {
	display: block;
	border: 2px dashed var(--border);
	padding: 34px;
	text-align: center;
	border-radius: 12px;
	cursor: pointer;
	color: var(--text-muted);
	margin-bottom: 16px;
	transition: border .2s, background .2s;
}

	.file-drop:hover {
		border-color: var(--accent);
		background: rgba(59,130,246,.05);
	}

	.file-drop input {
		display: none;
	}

/* ===== CHECKBOXES ===== */

.checkbox {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
}

	.checkbox input {
		accent-color: var(--accent);
	}

/* ===== LOGOUT ===== */

.logout {
	color: var(--text-muted);
	text-decoration: none;
}

	.logout:hover {
		color: white;
	}

/* ===== ERROR ===== */

.error {
	background: rgba(248,113,113,.1);
	border: 1px solid rgba(248,113,113,.3);
	color: #f87171;
	padding: 12px;
	text-align: center;
}

/* ===== FOOTER ===== */

footer {
	text-align: center;
	padding: 30px;
	color: var(--text-muted);
	font-size: 14px;
}

.discount-section {
	display: flex;
	justify-content: center;
	margin: 40px 0;
}

.discount-box {
	border: 3px solid #1b5e20; /* darker green border */
	background-color: #84E38B; /* lighter green background */
	color: #1b5e20; /* darker green text */
	padding: 30px 40px;
	text-align: center;
	max-width: 600px;
	width: 100%;
}

	.discount-box h2 {
		margin-bottom: 10px;
	}

	.discount-box h3 {
		margin-bottom: 15px;
	}

.info-section {
	display: flex;
	justify-content: center;
	margin: 40px 0;
}
.info-box {
	border: 3px solid #0A76AD; /* darker green border */
	background-color: #91DEED; /* lighter green background */
	color: #0A76AD; /* darker green text */
	padding: 30px 40px;
	text-align: left;
	max-width: 1000px;
	font-size: 16px;
	width: 100%;
}

	.info-box h2 {
		margin-bottom: 10px;
	}

	.info-box h3 {
		margin-bottom: 15px;
	}

.scan-status {
	color: var(--text-muted);
	margin-bottom: 12px;
	font-size: 14px;
}

.scan-list {
	list-style: none;
	padding: 0;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
}

	.scan-list li {
		display: flex;
		justify-content: space-between;
		padding: 12px 16px;
		background: var(--bg-secondary);
		border-bottom: 1px solid var(--border);
		font-size: 14px;
	}

		.scan-list li:last-child {
			border-bottom: none;
		}

.scan-engine {
	font-weight: 500;
}

.scan-clean {
	color: #22c55e;
}

.scan-detected {
	color: #ef4444;
	font-weight: 600;
}