/* Global Styles */
:root {
	--primary-blue: #297ac2;
	--primary-blue-dark: #1b588e;
	--gray-50: #f9fafb;
	--gray-100: #f3f4f6;
	--gray-600: #4b5563;
	--gray-900: #111827;

	--bs-primary: var(--primary-blue);
	--bs-primary-rgb: 41, 122, 194;        /* rgb of #297ac2 */
	--bs-link-color: var(--primary-blue);
	--bs-link-hover-color: var(--primary-blue-dark);
}

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

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
	background-color: white;
	color: var(--gray-900);
}

/* Navigation */
nav {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid #f3f4f6;
}

.nav-container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 4rem;
}

.dropdown:hover > .dropdown-menu:not(.show) {
	display: none !important;
}

.logo {
	display: flex;
	align-items: center;
	cursor: pointer;
	text-decoration: none;
	color: var(--gray-900);
}

.logo img {
	width: 2rem;
	height: 2rem;
}

.logo span {
	margin-left: 0.5rem;
	font-weight: 700;
	font-size: 1.25rem;
}

.nav-links {
	display: none;
	gap: 2rem;
	align-items: center;
}

.nav-links a, .nav-links button {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--gray-600);
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	transition: color 0.3s;
}

.nav-links a:hover, .nav-links button:hover {
	color: var(--gray-900);
}

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

.cta-button {
	padding: 0.5rem 1.5rem;
	background-color: var(--primary-blue);
	color: white;
	border-radius: 0.5rem;
	font-weight: 500;
	cursor: pointer;
	transition: background-color 0.3s;
	border: none;
}

.cta-button:hover {
	background-color: var(--primary-blue-dark);
}

.menu-toggle {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
}

@media (min-width: 768px) {
	.nav-links {
		display: flex;
	}
	.menu-toggle {
		display: none;
	}
}

.outline-btn {
	justify-content: center !important;
	background: transparent !important;
	color: var(--primary-blue) !important;
	border: solid 2px var(--primary-blue) !important;
}

/* Dropdown Menu */
.dropdown {
	position: relative;
}

.dropdown-button {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.dropdown-menu {
	display: none;
	position: absolute;
	top: 2.5rem;
	left: 0;
	width: 12rem;
	background: white;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu button {
	width: 100%;
	text-align: left;
	padding: 0.5rem 1rem;
	color: var(--gray-600);
	background: none;
	border: none;
	cursor: pointer;
	font-size: 0.875rem;
	transition: all 0.3s;
}

.dropdown-menu button:hover {
	background-color: #eff6ff;
	color: var(--primary-blue);
}

.container {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1rem;
}

/* Sections */
section {
	padding: 5rem 1rem;
}

section.banner {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: linear-gradient(to bottom right, #eff6ff, white, #f3f4f6);
	position: relative;
	overflow: hidden;
}

section.light-bg {
	background-color: var(--gray-50);
}

section.dark-bg {
	background: var(--primary-blue-dark);
	color: white;
}

/* Animations */
@keyframes blob {
	0%, 100% { transform: translate(0, 0) scale(1); }
	33% { transform: translate(30px, -50px) scale(1.1); }
	66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

@keyframes slideInRight {
	from { opacity: 0; transform: translateX(40px); }
	to { opacity: 1; transform: translateX(0); }
}

.blob {
	position: absolute;
	border-radius: 50%;
	background: rgba(59, 130, 246, 0.1);
	filter: blur(80px);
	animation: blob 7s infinite;
}

.blob:nth-child(1) {
	width: 18rem;
	height: 18rem;
	top: 5rem;
	left: 2.5rem;
}

.blob:nth-child(2) {
	width: 18rem;
	height: 18rem;
	top: 10rem;
	right: 2.5rem;
	animation-delay: 2s;
}

.blob:nth-child(3) {
	width: 18rem;
	height: 18rem;
	bottom: -2rem;
	left: 5rem;
	animation-delay: 4s;
}

.fade-in {
	animation: fadeIn 0.8s ease-out;
}

.slide-in-right {
	animation: slideInRight 0.8s ease-out 0.2s backwards;
}

/* Typography */
h1 {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.2;
}

@media (min-width: 768px) {
	h1 {
		font-size: 3rem;
	}
}

h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	h2 {
		font-size: 2.25rem;
	}
}

h3 {
	font-size: 1.5rem;
	font-weight: 700;
}

p {
	font-size: 1rem;
	line-height: 1.6;
}

.text-large {
	font-size: 1.25rem;
	line-height: 1.8;
}

.text-center {
	text-align: center;
}

.gradient-text {
	background: linear-gradient(to right, var(--primary-blue), var(--primary-blue-dark));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Grid & Flex */
.grid {
	display: grid;
	gap: 1.5rem;
}

.grid.cols-2 {
	grid-template-columns: repeat(2, 1fr);
}

.grid.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.grid.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
	.grid.cols-2, .grid.cols-3, .grid.cols-4 {
		grid-template-columns: 1fr;
	}
}

.flex {
	display: flex;
}

.flex.gap-6 {
	gap: 1.5rem;
}

.flex.gap-12 {
	gap: 3rem;
}

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

.flex.items-start {
	align-items: flex-start;
}

.flex.justify-between {
	justify-content: space-between;
}

/* Cards */
.card {
	padding: 1.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.75rem;
	transition: all 0.3s;
}

.card:hover {
	border-color: var(--primary-blue);
	box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.card-image {
	width: 100%;
	border-radius: 0.75rem;
	object-fit: cover;
}

/* Buttons */
button {
	font-family: inherit;
}

.btn {
	padding: 0.75rem 2rem;
	border: none;
	border-radius: 0.5rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.btn-primary {
	background-color: var(--primary-blue);
	color: white;
}

.btn-primary:hover {
	background-color: var(--primary-blue-dark);
	transform: scale(1.05);
}

.btn-secondary {
	border: 2px solid var(--primary-blue);
	color: var(--primary-blue);
	background: none;
}

.btn-secondary:hover {
	background-color: #eff6ff;
}

/* Forms */
.form-group {
	margin-bottom: 1.5rem;
}

label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--gray-900);
	margin-bottom: 0.5rem;
}

input, textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.3s;
}

input:focus, textarea:focus {
	outline: none;
	border-color: var(--primary-blue);
}

textarea {
	resize: vertical;
	min-height: 8rem;
}

/* Footer */
footer {
	background-color: #111827;
	color: white;
	padding: 3rem 1rem;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
	gap: 3rem;
	margin-bottom: 2rem;
}

.footer-section {
	flex: 1;
	min-width: 12rem;
}

.footer-section h4 {
	font-weight: 600;
	margin-bottom: 1rem;
}

.footer-section ul {
	list-style: none;
}

.footer-section li {
	margin-bottom: 0.5rem;
}

.footer-section a, .footer-section button {
	color: #9ca3af;
	text-decoration: none;
	background: none;
	border: none;
	cursor: pointer;
	font-size: 0.875rem;
	transition: color 0.3s;
}

.footer-section a:hover, .footer-section button:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid #374151;
	padding-top: 2rem;
	text-align: center;
	color: #9ca3af;
	font-size: 0.875rem;
}

footer a {
	color: #cccccc !important;
}

/* Utilities */
.mt-6 { margin-top: 1.5rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-12 { margin-bottom: 3rem; }

.shadow-lg {
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.rounded-lg {
	border-radius: 0.5rem;
}

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }

.screenshot {
	border-radius: 1rem;
	box-shadow: 0 15px 25px -10px rgba(15, 23, 42, 0.45);
}

.web-frame {
	background: #020617;
	border-radius: 1rem;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.6);
	overflow: hidden;
	color: #e5e7eb;
	font-size: 0.8rem;
	width: 100%;
}

.web-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.6rem 0.9rem;
	background: #030712;
	border-bottom: 1px solid #111827;
}

.web-toolbar-left {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.web-toolbar-left .dots span {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	margin-right: 4px;
}

.web-sidebar h6 {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6b7280;
	margin-bottom: 0.4rem;
}

.web-sidebar ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.web-sidebar li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.25rem 0.45rem;
	border-radius: 0.4rem;
	font-size: 0.78rem;
	color: #9ca3af;
	cursor: default;
}

.web-deploy p {
	margin-bottom: 0.3rem;
}

.web-deploy-actions span {
	border-radius: 999px;
	padding: 0.15rem 0.55rem;
	background: rgba(34, 197, 94, 0.1);
	color: #bbf7d0;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background-color: #eff6ff;
	color: var(--primary-blue);
	font-size: 0.85rem;
	font-weight: 600;
}

.pill i {
	font-size: 0.9rem;
}
