:root {
	--primary: #5b7cff;
	--accent: #00c2a8;
	--dark: #0b1220;
	--light: #f5f7fb;
	--muted: #93a1b5;
	--white: #ffffff;
	--border: #e5e7eb;
	--shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
		0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--radius: 16px;
	--font: 'system-ui', '-apple-system', 'Segoe UI', 'Roboto', 'Arial',
		sans-serif;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--font);
	line-height: 1.6;
	color: var(--dark);
	background: var(--white);
	font-size: 16px;
}
/* Sticky footer layout */
html,
body {
	height: 100%;
}
body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
#main {
	flex: 1 0 auto;
}
a {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.2s;
}
a:hover {
	color: var(--accent);
}
a:focus {
	outline: 2px solid var(--primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}
.header {
	position: sticky;
	top: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(91, 124, 255, 0.1);
	z-index: 100;
	padding: 20px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}
.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 22px;
	color: var(--dark);
	transition: all 0.3s ease;
	position: relative;
}
.logo:hover {
	transform: translateY(-1px);
	color: var(--primary);
}
.logo svg {
	width: 36px;
	height: 36px;
	transition: all 0.3s ease;
}
.logo:hover svg {
	transform: scale(1.05);
}
.nav {
	display: flex;
	gap: 40px;
	list-style: none;
}
.nav a {
	font-weight: 600;
	color: var(--dark);
	position: relative;
	padding: 8px 0;
	transition: all 0.3s ease;
}
.nav a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}
.nav a:hover {
	color: var(--primary);
	transform: translateY(-1px);
}
.nav a:hover::after {
	width: 100%;
}
.auth {
	display: flex;
	gap: 20px;
	align-items: center;
}
.btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 28px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 15px;
	transition: all 0.3s ease;
	border: none;
	cursor: pointer;
	text-decoration: none;
	position: relative;
	overflow: hidden;
}
.btn-primary {
	background: linear-gradient(135deg, var(--primary) 0%, #4a6bff 100%);
	color: var(--white);
	box-shadow: 0 4px 15px rgba(91, 124, 255, 0.3);
}
.btn-primary:hover {
	background: linear-gradient(135deg, #4a6bff 0%, #3b5bff 100%);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(91, 124, 255, 0.4);
}
.btn-ghost {
	background: transparent;
	color: var(--dark);
	border: 2px solid var(--border);
	backdrop-filter: blur(10px);
}
.btn-ghost:hover {
	background: rgba(91, 124, 255, 0.05);
	color: var(--primary);
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(91, 124, 255, 0.1);
}
.hero {
	text-align: center;
	padding: 120px 0 80px;
	background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}
.hero h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 800;
	margin-bottom: 24px;
	line-height: 1.2;
}
.hero p {
	font-size: 1.25rem;
	color: var(--muted);
	max-width: 600px;
	margin: 0 auto 40px;
}
.hero-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}
.section {
	padding: 80px 0;
	position: relative;
}
.section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(91, 124, 255, 0.2) 25%,
		rgba(0, 194, 168, 0.3) 50%,
		rgba(91, 124, 255, 0.2) 75%,
		transparent 100%
	);
}
.section::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(91, 124, 255, 0.1) 25%,
		rgba(0, 194, 168, 0.15) 50%,
		rgba(91, 124, 255, 0.1) 75%,
		transparent 100%
	);
	transform: translateY(-1px);
}
.section-title {
	text-align: center;
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 16px;
}
.section-subtitle {
	text-align: center;
	font-size: 1.25rem;
	color: var(--muted);
	margin-bottom: 64px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 32px;
	margin-top: 64px;
}
.card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 32px;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
	transition: transform 0.2s;
}
.card:hover {
	transform: translateY(-4px);
}
.card h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 16px;
	color: var(--dark);
}
.card p {
	color: var(--muted);
	line-height: 1.7;
}
.code-block {
	background: var(--dark);
	color: var(--light);
	padding: 24px;
	border-radius: 8px;
	font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
	font-size: 14px;
	overflow-x: auto;
	margin: 16px 0;
}
.code-block code {
	color: var(--accent);
}
.pricing {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 32px;
	margin-top: 64px;
}
.pricing-card {
	background: var(--white);
	border-radius: var(--radius);
	padding: 40px 32px;
	text-align: center;
	border: 2px solid var(--border);
	position: relative;
}
.pricing-card.featured {
	border-color: var(--primary);
	transform: scale(1.05);
}
.pricing-card h3 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 8px;
}
.pricing-card .price {
	font-size: 3rem;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 16px;
}
.pricing-card .period {
	color: var(--muted);
	font-size: 1rem;
}
.pricing-card ul {
	list-style: none;
	margin: 24px 0;
}
.pricing-card li {
	margin: 8px 0;
	color: var(--muted);
}
.timeline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 64px 0;
	position: relative;
	padding: 0 20px;
}
.timeline::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 10%;
	right: 10%;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary) 0%,
		var(--accent) 50%,
		var(--primary) 100%
	);
	border-radius: 2px;
	z-index: 1;
	box-shadow: 0 2px 8px rgba(91, 124, 255, 0.2);
}
.timeline::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 10%;
	right: 10%;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(91, 124, 255, 0.1) 25%,
		rgba(0, 194, 168, 0.1) 50%,
		rgba(91, 124, 255, 0.1) 75%,
		transparent 100%
	);
	border-radius: 1px;
	z-index: 0;
	transform: translateY(-50%);
}
.timeline-item {
	background: var(--white);
	padding: 24px 20px;
	border-radius: 20px;
	border: 3px solid var(--primary);
	z-index: 2;
	position: relative;
	text-align: center;
	min-width: 180px;
	box-shadow: 0 8px 25px rgba(91, 124, 255, 0.15);
	transition: all 0.4s ease;
	backdrop-filter: blur(10px);
}
.timeline-item::before {
	content: '';
	position: absolute;
	top: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 20px;
	background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
	border-radius: 50%;
	border: 4px solid var(--white);
	box-shadow: 0 4px 12px rgba(91, 124, 255, 0.3);
}
.timeline-item:hover {
	transform: translateY(-8px) scale(1.05);
	box-shadow: 0 15px 35px rgba(91, 124, 255, 0.25);
	border-color: var(--accent);
}
.timeline-item:hover::before {
	background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
	transform: translateX(-50%) scale(1.2);
}
.timeline-item h4 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--dark);
}
.timeline-item p {
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.5;
}
.about-section {
	position: relative;
}
.about-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 200px;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--primary) 0%,
		var(--accent) 50%,
		var(--primary) 100%
	);
	border-radius: 2px;
	box-shadow: 0 2px 8px rgba(91, 124, 255, 0.3);
}
.about-section::after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(0, 194, 168, 0.5) 50%,
		transparent 100%
	);
	border-radius: 1px;
}
.form {
	max-width: 400px;
	margin: 0 auto;
}
.form-group {
	margin-bottom: 24px;
}
.form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--dark);
}
.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--border);
	border-radius: 8px;
	font-size: 16px;
	transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--primary);
}
.form-group textarea {
	min-height: 120px;
	resize: vertical;
}
.error-banner {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
	padding: 24px;
	border-radius: 8px;
	margin-bottom: 32px;
}
.error-banner h2 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 8px;
}
.breadcrumb {
	display: flex;
	gap: 8px;
	margin-bottom: 32px;
	font-size: 0.875rem;
	color: var(--muted);
}
.breadcrumb a {
	color: var(--primary);
}
.breadcrumb a:hover {
	color: var(--accent);
}
.footer {
	background: var(--light);
	border-top: 1px solid var(--border);
	padding: 48px 0 24px;
	margin-top: 80px;
	position: relative;
}
.footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(91, 124, 255, 0.2) 25%,
		rgba(0, 194, 168, 0.3) 50%,
		rgba(91, 124, 255, 0.2) 75%,
		transparent 100%
	);
}
.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 32px;
	gap: 32px;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
}
.footer-brand .logo {
	font-size: 20px;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 8px;
}
.footer-brand p {
	color: var(--muted);
	font-size: 0.9rem;
	margin: 0;
}
.footer-links {
	display: flex;
	gap: 32px;
	align-items: center;
}
.footer-links a {
	color: var(--muted);
	font-weight: 500;
	transition: all 0.3s ease;
	padding: 8px 0;
	position: relative;
}
.footer-links a:hover {
	color: var(--primary);
	transform: translateY(-1px);
}
.footer-links a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary);
	transition: width 0.3s ease;
}
.footer-links a:hover::after {
	width: 100%;
}
.footer-bottom {
	text-align: center;
	padding-top: 24px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.875rem;
}
.social {
	display: flex;
	gap: 16px;
	align-items: center;
}
.social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--white);
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1px solid var(--border);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.social a:hover {
	background: var(--primary);
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(91, 124, 255, 0.2);
}
.social svg {
	width: 16px;
	height: 16px;
	fill: var(--muted);
	transition: all 0.3s ease;
}
.social a:hover svg {
	fill: var(--white);
	transform: scale(1.1);
}
@media (prefers-color-scheme: dark) {
	:root {
		--white: #1f2937;
		--light: #111827;
		--dark: #f9fafb;
		--border: #374151;
		--muted: #9ca3af;
	}
	.header {
		background: rgba(17, 24, 39, 0.95);
		border-bottom: 1px solid rgba(91, 124, 255, 0.2);
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	}
	.btn-ghost {
		border-color: #374151;
	}
	.btn-ghost:hover {
		background: rgba(91, 124, 255, 0.1);
		border-color: var(--primary);
	}
	.timeline-item {
		background: var(--white);
		border-color: var(--primary);
	}
	.timeline-item::before {
		border-color: var(--white);
	}
	.about-section::before {
		box-shadow: 0 2px 8px rgba(91, 124, 255, 0.4);
	}
	.footer {
		background: var(--light);
		border-top-color: var(--border);
	}
	.social a {
		background: var(--white);
		border-color: var(--border);
	}
}
@media (max-width: 768px) {
	.header-content {
		flex-direction: column;
		gap: 16px;
	}
	.nav {
		flex-wrap: wrap;
		justify-content: center;
		gap: 16px;
	}
	.hero {
		padding: 80px 0 60px;
	}
	.hero-actions {
		flex-direction: column;
		align-items: center;
	}
	.section {
		padding: 60px 0;
	}
	.section-title {
		font-size: 2rem;
	}
	.cards {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.pricing {
		grid-template-columns: 1fr;
	}
	.timeline {
		flex-direction: column;
		gap: 32px;
		padding: 0 10px;
	}
	.timeline::before,
	.timeline::after {
		display: none;
	}
	.timeline-item {
		border-radius: 16px;
		padding: 20px;
		width: 100%;
		text-align: center;
		min-width: auto;
	}
	.timeline-item::before {
		top: -12px;
		width: 24px;
		height: 24px;
	}
	.footer-content {
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}
	.footer-brand {
		flex-direction: column;
		gap: 8px;
	}
	.footer-links {
		flex-wrap: wrap;
		justify-content: center;
		gap: 24px;
	}
	.social {
		justify-content: center;
	}
}

/* Hover animation overrides */
a,
.btn,
.btn-primary,
.btn-ghost,
.nav a,
.card,
.logo,
.logo svg,
.social a,
.social svg,
.footer a,
.footer-links a,
.pricing-card,
.timeline-item {
	transition: none;
}

.nav a:hover,
.btn-primary:hover,
.btn-ghost:hover,
.card:hover,
.logo:hover,
.logo:hover svg,
.social a:hover,
.social a:hover svg,
.footer a:hover,
.footer-links a:hover,
.pricing-card.featured,
.timeline-item:hover {
	transform: none;
	box-shadow: none;
}

.footer-links a::after {
	transition: none;
}

/* Remove focus outlines in header for logo and nav links */
.header .logo:focus,
.header .logo:focus-visible,
.header .nav a:focus,
.header .nav a:focus-visible {
	outline: none;
	outline-offset: 0;
	box-shadow: none;
	border-radius: 0;
}
