:root{
	--bg-primary:		#080c14;
	--bg-secondary:		#0d1320;
	--bg-card:			#111827;
	--bg-card-hover:	#151f32;
	--bg-input:			#0f1729;
	--border:			#1e2a40;
	--border-light:		#2a3a55;

	--text-primary:		#e2e8f0;
	--text-secondary:	#8899ac;
	--text-muted:		#556174;
	--text-heading:		#f0f4f8;

	--accent:			#00d4aa;
	--accent-dim:		#00a888;
	--accent-glow:		rgba(0, 212, 170, 0.15);
	--accent-orange:	#f59e0b;
	--accent-red:		#ef4444;
	--accent-blue:		#3b82f6;

	--success:			#10b981;
	--warning:			#f59e0b;
	--danger:			#ef4444;

	--font-body:		'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-heading:		'Barlow', 'IBM Plex Sans', sans-serif;
	--font-mono:		'IBM Plex Mono', 'Fira Code', monospace;

	--radius:			6px;
	--radius-lg:		10px;
	--shadow:			0 2px 8px rgba(0, 0, 0, 0.3);
	--shadow-lg:		0 8px 32px rgba(0, 0, 0, 0.4);
	--transition:		0.2s ease;
}
*,*::before,*::after{box-sizing:border-box;}

html{
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body{
	background:var(--bg-primary);
	color:var(--text-primary);
	font-family:var(--font-body);
	font-size:15px;
	line-height:1.65;
	margin:0;
	min-height:100vh;
	display:flex;
	flex-direction:column;
}

h1,h2,h3,h4,h5,h6{
	font-family:var(--font-heading);
	font-weight:600;
	color:var(--text-heading);
	line-height:1.25;
	margin-top:0;
}
h1{font-size:2.25rem;letter-spacing:-0.02em;}
h2{font-size:1.75rem;letter-spacing:-0.01em;}
h3{font-size:1.35rem;}
h4{font-size:1.1rem;}

a{
	color:var(--accent);
	text-decoration:none;
	transition:color var(--transition);
}
a:hover { color: var(--accent-dim); }
p { margin-top: 0; margin-bottom: 1rem; }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-secondary { color: var(--text-secondary); }
.bg-card      { background: var(--bg-card); }
.border-accent { border-color: var(--accent) !important; }

.navbar-ufb{
	background: rgba(8, 12, 20, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
	padding: 0.65rem 0;
	z-index: 1050;
}
.navbar-ufb .navbar-brand {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: 0.5px;
	color: var(--accent) !important;
	display: flex;
	align-items: center;
	gap: 8px;
}
.navbar-ufb .navbar-brand svg {
	width: 28px;
	height: 28px;
}
.navbar-ufb .nav-link {
	color: var(--text-secondary) !important;
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.02em;
	padding: 0.5rem 0.85rem !important;
	transition: color var(--transition);
	position: relative;
}
.navbar-ufb .nav-link:hover,
.navbar-ufb .nav-link.active {
	color: var(--text-primary) !important;
}
.navbar-ufb .nav-link.active::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0.85rem;
	right: 0.85rem;
	height: 2px;
	background: var(--accent);
	border-radius: 2px;
}
.navbar-toggler {
	border: 1px solid var(--border) !important;
	padding: 4px 8px;
}
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(200,208,220,0.85)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-accent {
	background: var(--accent);
	color: var(--bg-primary);
	border: none;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.55rem 1.5rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}
.btn-accent:hover {
	background: var(--accent-dim);
	color: var(--bg-primary);
	box-shadow: 0 0 20px var(--accent-glow);
	transform: translateY(-1px);
}
.btn-outline-accent {
	background: transparent;
	color: var(--accent);
	border: 1px solid var(--accent);
	font-weight: 500;
	padding: 0.55rem 1.5rem;
	border-radius: var(--radius);
	transition: all var(--transition);
}
.btn-outline-accent:hover {
	background: var(--accent-glow);
	color: var(--accent);
	border-color: var(--accent);
}
.btn-dark-card {
	background: var(--bg-card);
	color: var(--text-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.55rem 1.5rem;
	font-weight: 500;
	transition: all var(--transition);
}
.btn-dark-card:hover {
	background: var(--bg-card-hover);
	color: var(--text-heading);
	border-color: var(--border-light);
}

.card-ufb {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	transition: all var(--transition);
}
.card-ufb:hover {
	border-color: var(--border-light);
	box-shadow: var(--shadow);
}
.card-ufb-highlight {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), 0 4px 24px var(--accent-glow);
}

.hero {
	position: relative;
	padding: 5rem 0 4rem;
	overflow: hidden;
}
.hero::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background:
		radial-gradient(ellipse at 20% 50%, rgba(0, 212, 170, 0.06) 0%, transparent 50%),
		radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
	pointer-events: none;
}
.hero h1 {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	background: linear-gradient(135deg, var(--text-heading) 0%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.hero .lead {
	font-size: 1.15rem;
	color: var(--text-secondary);
	max-width: 640px;
}

.section{padding:4rem 0;}
.section-header{margin-bottom:2.5rem;}
.section-header h2 {
	position: relative;
	display: inline-block;
	margin-bottom: 0.5rem;
}
.section-header h2::after {
	content: '';
	display: block;
	width: 40px;
	height: 3px;
	background: var(--accent);
	margin-top: 0.5rem;
	border-radius: 2px;
}
.section-header p {
	color: var(--text-secondary);
	max-width: 600px;
}

.tier-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 2rem;
	text-align: center;
	transition: all 0.3s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.tier-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-light);
	box-shadow: var(--shadow-lg);
}
.tier-card.featured {
	border-color: var(--accent);
	box-shadow: 0 0 0 1px var(--accent), 0 8px 32px var(--accent-glow);
}
.tier-card .tier-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.2rem;
	color: var(--text-heading);
	margin-bottom: 0.25rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.tier-card .tier-price {
	font-size: 2.25rem;
	font-weight: 700;
	color: var(--accent);
	margin: 0.75rem 0;
}
.tier-card .tier-price span {
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--text-muted);
}
.tier-card .tier-desc {
	color: var(--text-secondary);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}
.tier-card .tier-rewards {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	text-align: left;
	flex-grow: 1;
}
.tier-card .tier-rewards li {
	padding: 0.4rem 0;
	padding-left: 1.5rem;
	position: relative;
	font-size: 0.88rem;
	color: var(--text-secondary);
	border-bottom: 1px solid rgba(30, 42, 64, 0.5);
}
.tier-card .tier-rewards li:last-child {
	border-bottom: none;
}
.tier-card .tier-rewards li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 700;
}

.roadmap-phase {
	position: relative;
	padding-left: 2.5rem;
	margin-bottom: 2rem;
}
.roadmap-phase::before {
	content: '';
	position: absolute;
	left: 8px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: var(--border);
}
.roadmap-phase .phase-dot {
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--bg-card);
	border: 2px solid var(--border);
}
.roadmap-phase.status-completed .phase-dot {
	background: var(--accent);
	border-color: var(--accent);
}
.roadmap-phase.status-in-progress .phase-dot {
	background: var(--accent-orange);
	border-color: var(--accent-orange);
	box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
.roadmap-milestone {
	padding: 0.3rem 0;
	font-size: 0.9rem;
	color: var(--text-secondary);
}
.roadmap-milestone.completed {
	text-decoration: line-through;
	color: var(--text-muted);
}
.roadmap-milestone.completed::before {
	content: '✓ ';
	color: var(--accent);
	text-decoration: none;
	display: inline;
}

.update-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	margin-bottom: 1rem;
	transition: all var(--transition);
}
.update-card:hover {
	border-color: var(--border-light);
}

.update-card .update-date {
	font-family: var(--font-mono);
	font-size: 0.8rem;
	color: var(--text-muted);
	letter-spacing: 0.03em;
}
.update-card .update-title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-heading);
	margin: 0.25rem 0 0.5rem;
}
.update-card .update-excerpt {
	color: var(--text-secondary);
	font-size: 0.9rem;
}
.tier-badge {
	display: inline-block;
	padding: 2px 8px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 3px;
	background: var(--accent-glow);
	color: var(--accent);
	border: 1px solid rgba(0, 212, 170, 0.2);
}

.stat-card {
	text-align: center;
	padding: 1.5rem;
}
.stat-value {
	font-size: 2rem;
	font-weight: 700;
	color: var(--accent);
	font-family: var(--font-mono);
}
.stat-label {
	color: var(--text-muted);
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 0.25rem;
}

.sponsor-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem 2rem;
	min-height: 100px;
	transition: all var(--transition);
}
.sponsor-logo:hover {
	border-color: var(--border-light);
	box-shadow: var(--shadow);
}
.sponsor-logo img {
	max-height: 60px;
	max-width: 100%;
	filter: grayscale(1) brightness(1.3);
	opacity: 0.7;
	transition: all var(--transition);
}
.sponsor-logo:hover img {
	filter: none;
	opacity: 1;
}

.form-control-ufb {
	background: var(--bg-input);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--text-primary);
	padding: 0.6rem 0.9rem;
	font-size: 0.9rem;
	transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control-ufb:focus {
	background: var(--bg-input);
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-glow);
	color: var(--text-primary);
	outline: none;
}
.form-control-ufb::placeholder {
	color: var(--text-muted);
}
.form-label-ufb {
	font-weight: 500;
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.alert-ufb {
	border-radius: var(--radius);
	border: 1px solid;
	padding: 0.75rem 1rem;
	font-size: 0.9rem;
}
.alert-success-ufb {
	background: rgba(16, 185, 129, 0.1);
	border-color: rgba(16, 185, 129, 0.25);
	color: var(--success);
}
.alert-error-ufb {
	background: rgba(239, 68, 68, 0.1);
	border-color: rgba(239, 68, 68, 0.25);
	color: var(--danger);
}
.alert-warning-ufb {
	background: rgba(245, 158, 11, 0.1);
	border-color: rgba(245, 158, 11, 0.25);
	color: var(--warning);
}

.progress-ufb {
	height: 10px;
	background: var(--bg-secondary);
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--border);
}
.progress-ufb .progress-bar {
	background: linear-gradient(90deg, var(--accent), var(--accent-dim));
	border-radius: 5px;
	transition: width 0.8s ease;
}

.table-ufb{color:var(--text-primary);}
.table-ufb thead th {
	background: var(--bg-secondary);
	border-bottom: 2px solid var(--border);
	color: var(--text-secondary);
	font-weight: 600;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.75rem 1rem;
}
.table-ufb tbody td {
	border-bottom: 1px solid var(--border);
	padding: 0.7rem 1rem;
	font-size: 0.9rem;
	vertical-align: middle;
}
.table-ufb tbody tr:hover {
	background: var(--bg-card-hover);
}

.footer {
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	padding: 3rem 0 1.5rem;
	margin-top: auto;
}
.footer h6 {
	color: var(--text-heading);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 1rem;
}
.footer a {
	color: var(--text-secondary);
	font-size: 0.88rem;
	display: block;
	padding: 0.2rem 0;
}
.footer a:hover{color:var(--accent);}
.footer-bottom {
	border-top: 1px solid var(--border);
	padding-top: 1.5rem;
	margin-top: 2rem;
	color: var(--text-muted);
	font-size: 0.8rem;
}

.funding-bar{max-width:500px;}
.funding-stats {
	display: flex;
	justify-content: space-between;
	margin-top: 0.5rem;
	font-size: 0.85rem;
}
.funding-stats .raised {
	color: var(--accent);
	font-weight: 600;
	font-family: var(--font-mono);
}
.funding-stats .goal{color:var(--text-muted);}

.grid-bg {
	background-image:
		linear-gradient(rgba(30, 42, 64, 0.15) 1px, transparent 1px),
		linear-gradient(90deg, rgba(30, 42, 64, 0.15) 1px, transparent 1px);
	background-size: 60px 60px;
}

.scroll-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	width: 40px;
	height: 40px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 50%;
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition);
	z-index: 999;
}
.scroll-top.visible {
	opacity: 1;
	visibility: visible;
}
.scroll-top:hover {
	background: var(--accent);
	color: var(--bg-primary);
}

.admin-sidebar {
	background: var(--bg-secondary);
	border-right: 1px solid var(--border);
	min-height: 100vh;
	padding-top: 1rem;
}
.admin-sidebar .nav-link {
	color: var(--text-secondary);
	padding: 0.6rem 1.25rem;
	font-size: 0.88rem;
	border-radius: var(--radius);
	margin: 1px 0.5rem;
	transition: all var(--transition);
}
.admin-sidebar .nav-link:hover {
	color: var(--text-primary);
	background: var(--bg-card);
}
.admin-sidebar .nav-link.active {
	color: var(--accent);
	background: var(--accent-glow);
}

@media (max-width: 768px) {
	.hero h1 { font-size: 2rem; }
	.hero { padding: 3rem 0 2.5rem; }
	.section { padding: 2.5rem 0; }
	.card-ufb { padding: 1.25rem; }
	.tier-card { padding: 1.5rem; }
	h1 { font-size: 1.75rem; }
	h2 { font-size: 1.4rem; }
}

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

.fade-in-up {
	animation: fadeInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
