:root {
	--bg-color: #0b0f19;
	--text-main: #f3f4f6;
	--text-muted: #9ca3af;
	--primary: #6366f1;
	--primary-hover: #4f46e5;
	--secondary: #06b6d4;
	--glass-bg: rgba(255, 255, 255, 0.03);
	--glass-border: rgba(255, 255, 255, 0.08);
	--easy: #10b981;
	--medium: #f59e0b;
	--hard: #ef4444;
}

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

html {
	scroll-behavior: smooth;
	font-family: "Inter", sans-serif;
	color: var(--text-main);
}

body {
	background-color: var(--bg-color);
	overflow-x: hidden;
	position: relative;
}

/* Background Image Overlay */
.site-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -2;
	background-image: url("assets/images/Notebys_bg.jpeg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.bg-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	background: radial-gradient(
		circle at top right,
		rgba(11, 15, 25, 0.7) 0%,
		rgba(11, 15, 25, 0.95) 100%
	);
	/* or optionally simply rgba(11, 15, 25, 0.85) */
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Outfit", sans-serif;
	font-weight: 700;
}

a {
	text-decoration: none;
	color: inherit;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
}

.section {
	padding: 6rem 0;
}

.section-title {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.section-title p {
	color: var(--text-muted);
	font-size: 1.1rem;
	max-width: 600px;
	margin: 0 auto;
}

.text-gradient {
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.mt-2 {
	margin-top: 0.5rem;
}
.mt-3 {
	margin-top: 1rem;
}
.mb-4 {
	margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	font-weight: 500;
	transition: all 0.3s ease;
	cursor: pointer;
	border: none;
	font-family: "Inter", sans-serif;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
	background-color: var(--primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-outline {
	background-color: transparent;
	color: var(--text-main);
	border: 1px solid var(--glass-border);
}

.btn-outline:hover {
	background-color: var(--glass-bg);
	border-color: var(--primary);
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1.1rem;
}

/* Glass panel */
.glass-panel {
	background: var(--glass-bg);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid var(--glass-border);
	border-radius: 16px;
}

/* Navbar */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 1.5rem 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

.navbar.scrolled {
	background: rgba(11, 15, 25, 0.8);
	backdrop-filter: blur(16px);
	padding: 1rem 0;
	border-bottom: 1px solid var(--glass-border);
}

.nav-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: "Outfit", sans-serif;
	font-size: 1.5rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: white;
}

.logo i {
	color: var(--primary);
}

.nav-links {
	display: flex;
	gap: 2rem;
}

.nav-links a {
	color: var(--text-muted);
	font-weight: 500;
	transition: color 0.3s;
}

.nav-links a:hover {
	color: var(--primary);
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding-top: 6rem;
	position: relative;
}

.hero-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 100%;
}

.badge-pill {
	background: rgba(99, 102, 241, 0.1);
	border: 1px solid rgba(99, 102, 241, 0.2);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.badge-pill span {
	background: var(--primary);
	padding: 0.2rem 0.5rem;
	border-radius: 12px;
	font-size: 0.75rem;
	font-weight: 600;
}

.hero h1 {
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 1.5rem;
}

.hero-description {
	color: var(--text-muted);
	font-size: 1.25rem;
	max-width: 600px;
	margin-bottom: 2.5rem;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	margin-bottom: 4rem;
}

/* Mockup Window */
.hero-mockup {
	width: 100%;
	max-width: 800px;
	transform: perspective(1000px) rotateX(5deg);
	transition: transform 0.5s ease;
}

.hero-mockup:hover {
	transform: perspective(1000px) rotateX(0deg);
}

.mockup-window {
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.mockup-header {
	background: rgba(0, 0, 0, 0.3);
	padding: 1rem;
	display: flex;
	gap: 0.5rem;
	border-bottom: 1px solid var(--glass-border);
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.dot.red {
	background-color: #ff5f56;
}
.dot.yellow {
	background-color: #ffbd2e;
}
.dot.green {
	background-color: #27c93f;
}

.mockup-body {
	padding: 2rem;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.02) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

.word-card {
	text-align: left;
	border-left: 3px solid var(--primary);
	padding-left: 1.5rem;
}

.word-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.word-header h3 {
	font-size: 2rem;
}

.level-badge {
	padding: 0.2rem 0.6rem;
	border-radius: 12px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.level-badge.easy {
	background: rgba(16, 185, 129, 0.1);
	color: var(--easy);
}
.level-badge.medium {
	background: rgba(245, 158, 11, 0.1);
	color: var(--medium);
}
.level-badge.hard {
	background: rgba(239, 68, 68, 0.1);
	color: var(--hard);
}

.word-source {
	color: var(--secondary);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.word-def,
.word-concept {
	margin-bottom: 1rem;
	line-height: 1.6;
	color: #ccc;
}

.ai-feedback {
	background: rgba(99, 102, 241, 0.1);
	border: 1px solid rgba(99, 102, 241, 0.2);
	padding: 1rem;
	border-radius: 8px;
	margin-top: 1.5rem;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	color: #d1d5db;
}

.ai-feedback i {
	color: var(--primary);
	font-size: 1.2rem;
	margin-top: 0.1rem;
}

/* Problem vs Solution */
.ps-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
}

.ps-card {
	padding: 2.5rem;
	border-radius: 16px;
}

.ps-card h3 {
	font-size: 1.5rem;
	margin: 1rem 0;
}

.ps-card ul {
	list-style: none;
}

.ps-card ul li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-muted);
}

.ps-card ul li::before {
	content: "•";
}

.problem-card {
	background: rgba(239, 68, 68, 0.05);
	border: 1px solid rgba(239, 68, 68, 0.1);
}

.problem-card i {
	color: var(--hard);
	font-size: 2.5rem;
}

.solution-card {
	background: rgba(16, 185, 129, 0.05);
	border: 1px solid rgba(16, 185, 129, 0.1);
}

.solution-card i {
	color: var(--easy);
	font-size: 2.5rem;
}

/* Features - Bento Grid */
.bento-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	grid-auto-rows: minmax(200px, auto);
}

.bento-item {
	padding: 2rem;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s;
}

.bento-item:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 255, 255, 0.2);
}

.bento-item.highlight-1 {
	grid-column: span 2;
	background: linear-gradient(
		135deg,
		rgba(99, 102, 241, 0.1) 0%,
		var(--glass-bg) 100%
	);
}

.bento-icon {
	font-size: 2.5rem;
	color: var(--primary);
	margin-bottom: 1rem;
}

.bento-item h3 {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}

.bento-item p {
	color: var(--text-muted);
	font-size: 0.95rem;
	line-height: 1.5;
}

.level-pills {
	display: flex;
	gap: 0.5rem;
}
.sso-icons {
	display: flex;
	gap: 1rem;
	font-size: 2rem;
	color: #fff;
}

/* How It Works */
.steps-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	position: relative;
}

.steps-container::before {
	content: "";
	position: absolute;
	top: 30px;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	z-index: 0;
	opacity: 0.5;
}

.step {
	position: relative;
	z-index: 1;
	background: var(--bg-color); /* To cover the line */
	padding-top: 1rem;
}

.step-num {
	width: 60px;
	height: 60px;
	background: var(--primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	font-family: "Outfit", sans-serif;
	margin-bottom: 1.5rem;
	box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.step h3 {
	margin-bottom: 0.5rem;
}

.step p {
	color: var(--text-muted);
	font-size: 0.9rem;
}

/* Tech Stack */
.stack-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
}

.stack-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-weight: 500;
}

.stack-item i {
	font-size: 1.5rem;
}

.stack-item .bxl-react {
	color: #61dafb;
}
.stack-item .bxl-nodejs {
	color: #339933;
}
.stack-item .bxl-postgresql {
	color: #336791;
}
.stack-item .bxl-docker {
	color: #2496ed;
}

/* Waitlist */
.waitlist-card {
	padding: 4rem 2rem;
	text-align: center;
	border: 1px solid var(--primary);
	box-shadow: 0 0 40px rgba(99, 102, 241, 0.15);
}

.waitlist-card h2 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
}

.waitlist-card p {
	color: var(--text-muted);
	max-width: 500px;
	margin: 0 auto 2rem auto;
}

.waitlist-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 400px;
	margin: 0 auto;
}

.form-inputs {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.waitlist-form input,
.waitlist-form select {
	width: 100%;
	padding: 0.75rem 1rem;
	border-radius: 8px;
	border: 1px solid var(--glass-border);
	background: rgba(0, 0, 0, 0.2);
	color: white;
	outline: none;
	font-family: "Inter", sans-serif;
	appearance: none;
}

.waitlist-form select option {
	background: var(--bg-color);
	color: white;
}

.waitlist-form input:focus,
.waitlist-form select:focus {
	border-color: var(--primary);
}

.form-message {
	font-weight: 500;
	padding: 0.75rem;
	border-radius: 8px;
	margin-top: 1rem;
}

.form-message.success {
	background: rgba(16, 185, 129, 0.1);
	color: var(--easy);
	border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
	background: rgba(239, 68, 68, 0.1);
	color: var(--hard);
	border: 1px solid rgba(239, 68, 68, 0.2);
}

.btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

/* Footer */
.footer {
	border-top: 1px solid var(--glass-border);
	padding: 2rem 0;
	margin-top: 4rem;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-logo {
	font-family: "Outfit", sans-serif;
	font-weight: 700;
	color: var(--text-muted);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.footer-copy {
	color: var(--text-muted);
	font-size: 0.9rem;
}

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

.footer-links a {
	color: var(--text-muted);
	font-size: 0.9rem;
}

.footer-links a:hover {
	color: var(--primary);
}

/* Animations Reveal */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

.delay-1 {
	transition-delay: 0.2s;
}
.delay-2 {
	transition-delay: 0.4s;
}
.delay-3 {
	transition-delay: 0.6s;
}
.delay-4 {
	transition-delay: 0.8s;
}

/* Responsive adjustments */
@media (max-width: 992px) {
	.hero h1 {
		font-size: 3rem;
	}
	.ps-grid {
		grid-template-columns: 1fr;
	}
	.bento-grid {
		grid-template-columns: 1fr 1fr;
	}
	.bento-item.highlight-1 {
		grid-column: span 2;
	}
	.steps-container {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
	.steps-container::before {
		display: none;
	}
}

@media (max-width: 768px) {
	.nav-links {
		display: none;
	}
	.hero h1 {
		font-size: 2.5rem;
	}
	.bento-grid {
		grid-template-columns: 1fr;
	}
	.bento-item.highlight-1 {
		grid-column: 1;
	}
	.steps-container {
		grid-template-columns: 1fr;
	}
	.hero-actions {
		flex-direction: column;
	}
	.waitlist-form {
		flex-direction: column;
	}
	.footer-content {
		flex-direction: column;
		gap: 1rem;
		text-align: center;
	}
}
