* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Inter', sans-serif;
}

html, body {
	height: 100%;
	overflow: hidden;
}

.app-container {
	height: 100vh;
	overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.app-container::-webkit-scrollbar {
	display: none;
}

body {
	background-color: #000;
	color: #fff;
	line-height: 1.6;
	position: relative;
	min-height: 100vh;
}

body::before, body::after {
	content: '';
	position: fixed;
	width: 900px;
	height: 900px;
	border-radius: 50%;
	z-index: -1;
	pointer-events: none;
	opacity: 0.35;
	filter: blur(150px);
	animation: float 20s infinite alternate ease-in-out;
}

body::before {
	top: -300px;
	left: -200px;
	background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
}

body::after {
	bottom: -300px;
	right: -200px;
	background: radial-gradient(circle, #a855f7 0%, rgba(168, 85, 247, 0) 70%);
	animation-delay: -7s;
}

@keyframes float {
	0% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(100px, 50px) scale(1.1); }
	100% { transform: translate(-50px, 100px) scale(0.9); }
}

header {
	position: sticky;
	top: 0;
	width: 100%;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 8%;
	background: rgba(255, 255, 255, 0.02);
	backdrop-filter: blur(25px);
	-webkit-backdrop-filter: blur(25px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	z-index: 1000;
}

.logo {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 24px;
	font-weight: 800;
	text-decoration: none;
	color: #fff;
	letter-spacing: -1px;
}

.logo img {
	height: 35px;
	width: auto;
	object-fit: contain;
}

.nav-right {
	display: flex;
	align-items: center;
	gap: 35px;
}

.nav-link {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.6);
	font-weight: 500;
	font-size: 15px;
	transition: all 0.3s ease;
}

.nav-link:hover {
	color: #fff;
	text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-login {
	background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	color: white !important;
	padding: 12px 28px;
	border-radius: 14px;
	font-weight: 600 !important;
	text-decoration: none;
	display: inline-block;
	box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
	transition: all 0.2s ease;
}

.btn-login:hover {
	opacity: 0.9;
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(99, 102, 241, 0.5);
}

.user-link {
	text-decoration: none;
	color: rgba(255, 255, 255, 0.8) !important;
	font-weight: 500;
	font-size: 15px;
	transition: all 0.3s ease;
}

.user-link:hover {
	color: #fff !important;
}

section {
	padding: 80px 10% 80px;
	position: relative;
}

.certificate-section {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: calc(100vh - 80px);
	padding: 60px 10%;
}

.certificate-content {
	max-width: 720px;
	width: 100%;
	text-align: center;
	background: rgba(255, 255, 255, 0.02);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 40px;
	padding: 60px 50px 50px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.certificate-icon {
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
}

.certificate-content h1 {
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 20px;
	background: linear-gradient(to bottom, #fff 40%, #777 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.certificate-desc {
	font-size: 1.15rem;
	color: #999;
	margin-bottom: 40px;
	line-height: 1.7;
}

.certificate-desc br {
	display: none;
}

.certificate-features {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 45px;
	text-align: left;
	padding: 0 10px;
}

.feature-item {
	display: flex;
	align-items: center;
	gap: 14px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 1rem;
	padding: 8px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
	transition: all 0.3s ease;
}

.feature-item:hover {
	background: rgba(255, 255, 255, 0.06);
}

.feature-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366f1, #a855f7);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	flex-shrink: 0;
}

.download-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
	color: white;
	padding: 18px 40px;
	border-radius: 16px;
	font-weight: 700;
	font-size: 18px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
	transition: all 0.3s ease;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
}

.download-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5);
	opacity: 0.95;
}

.download-btn:active {
	transform: scale(0.97);
}

.download-btn svg {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.certificate-note {
	margin-top: 20px;
	color: rgba(255, 255, 255, 0.35);
	font-size: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.note-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
}

.certificate-security {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.security-badge {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.04);
}

.badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #4ade80;
	display: inline-block;
	animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.3; }
}

.menu-toggle {
	display: none;
}

.side-menu {
	display: none;
}

.menu-overlay {
	display: none;
}

@media (max-width: 768px) {
	header {
		padding: 0 5%;
		height: 70px;
	}

	.logo {
		font-size: 20px;
		gap: 10px;
	}

	.logo img {
		height: 30px;
	}

	.nav-right {
		display: none;
	}

	.menu-toggle {
		display: flex;
		width: 40px;
		height: 40px;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 6px;
		cursor: pointer;
		z-index: 1002;
	}

	.menu-toggle span {
		width: 24px;
		height: 2px;
		background-color: #fff;
		border-radius: 4px;
		transition: all 0.3s ease;
	}

	.menu-toggle.active span:nth-child(1) {
		transform: rotate(45deg) translate(7px, 7px);
	}

	.menu-toggle.active span:nth-child(2) {
		opacity: 0;
	}

	.menu-toggle.active span:nth-child(3) {
		transform: rotate(-45deg) translate(7px, -7px);
	}

	.side-menu {
		display: block;
		position: fixed;
		top: 0;
		right: -300px;
		width: 280px;
		height: 100vh;
		background: rgba(10, 10, 15, 0.95);
		backdrop-filter: blur(20px);
		-webkit-backdrop-filter: blur(20px);
		border-left: 1px solid rgba(255, 255, 255, 0.08);
		z-index: 1001;
		transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
		padding: 100px 25px 40px;
		display: flex;
		flex-direction: column;
		align-items: center;
		box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
	}

	.side-menu.active {
		right: 0;
	}

	.menu-overlay {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(0, 0, 0, 0.7);
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s ease;
		backdrop-filter: blur(5px);
	}

	.menu-overlay.active {
		opacity: 1;
		visibility: visible;
	}

	.menu-btn-container {
		width: 100%;
		display: flex;
		justify-content: center;
		margin-bottom: 30px;
	}

	.menu-login-btn {
		background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
		color: white;
		padding: 14px 30px;
		border-radius: 40px;
		font-weight: 700;
		font-size: 18px;
		text-decoration: none;
		display: inline-block;
		box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
		transition: all 0.2s ease;
		width: 100%;
		text-align: center;
		border: none;
		cursor: pointer;
	}

	.menu-user-name {
		color: white;
		font-weight: 700;
		font-size: 20px;
		padding: 14px 0;
		text-align: center;
		background: rgba(255, 255, 255, 0.05);
		border-radius: 40px;
		width: 100%;
		border: 1px solid rgba(255, 255, 255, 0.1);
		text-decoration: none;
	}

	.menu-divider {
		width: 80%;
		height: 1px;
		background: rgba(255, 255, 255, 0.15);
		margin: 25px 0;
	}

	.menu-links {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 25px;
		width: 100%;
	}

	.menu-link {
		text-decoration: none;
		color: rgba(255, 255, 255, 0.8);
		font-weight: 500;
		font-size: 18px;
		transition: all 0.3s ease;
		padding: 10px 0;
		width: 100%;
		text-align: center;
		border-radius: 30px;
	}

	.menu-link:hover {
		color: #fff;
		background: rgba(255, 255, 255, 0.05);
	}

	section {
		padding: 40px 5%;
	}

	.certificate-section {
		padding: 40px 5%;
		min-height: calc(100vh - 70px);
		align-items: flex-start;
		padding-top: 60px;
	}

	.certificate-content {
		padding: 35px 25px 35px;
		border-radius: 28px;
		background: rgba(255, 255, 255, 0.03);
	}

	.certificate-content h1 {
		font-size: clamp(26px, 7vw, 36px);
	}

	.certificate-desc {
		font-size: 1rem;
		color: #aaa;
	}

	.certificate-desc br {
		display: block;
	}

	.certificate-features {
		padding: 0;
		gap: 10px;
	}

	.feature-item {
		font-size: 0.9rem;
		padding: 10px 14px;
	}

	.download-btn {
		font-size: 16px;
		padding: 16px 30px;
		max-width: 100%;
		gap: 12px;
	}

	.download-btn svg {
		width: 20px;
		height: 20px;
	}

	.certificate-security {
		gap: 12px;
	}

	.security-badge {
		font-size: 0.65rem;
		padding: 4px 12px;
	}
}

@media (max-width: 480px) {
	.certificate-content {
		padding: 25px 18px 30px;
	}

	.certificate-icon svg {
		width: 60px;
		height: 60px;
	}

	.certificate-content h1 {
		font-size: 24px;
	}

	.certificate-desc {
		font-size: 0.95rem;
	}
}