
html {
	scroll-behavior: smooth;
}


.hero {
	text-align: center;
	padding: 60px 40px;
}

.hero .app-icon {
	width: 96px;
	height: 96px;
	border-radius: 22px;
	box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
	margin-bottom: 24px;
}

.hero h2 {
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	color: #fff;
	background: linear-gradient(90deg, #00dbde, #818cf8, #fc00ff);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 16px;
}

.hero-tagline {
	max-width: 760px;
	margin: 0 auto 28px;
	font-size: 1.15rem;
	line-height: 1.7;
	color: #c5cdd8;
}

.hero-badges {
	display: flex;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 36px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(99, 102, 241, 0.4);
	border-radius: 999px;
	color: #e0e6ed;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
}

.badge:hover {
	background: rgba(99, 102, 241, 0.18);
	border-color: #6366f1;
	color: #fff;
	transform: translateY(-2px);
}

.badge.download {
	background: linear-gradient(90deg, #6366f1, #8b5cf6);
	border-color: transparent;
	color: #fff;
}

.badge.download:hover {
	background: linear-gradient(90deg, #818cf8, #a78bfa);
}

.badge .star-count {
	position: static;
	background: rgba(0, 0, 0, 0.4);
	color: #fbbf24;
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 0.85rem;
	border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-screens {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
}

.hero-screens img {
	width: 190px;
	height: auto;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	transition: transform 0.3s ease;
}

.hero-screens img:hover {
	transform: translateY(-6px);
}


.docs-content {
	transition: opacity 0.12s ease;
}

.docs-content.content-fade-out {
	opacity: 0;
}


.docs-layout {
	display: block;
}

.docs-sidebar {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 20px;
	backdrop-filter: blur(10px);
	margin-bottom: 30px;
}

.docs-sidebar h2 {
	font-size: 1.05rem;
	margin-bottom: 12px;
	padding: 0 12px;
	color: #e0e6ed;
}

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

.docs-sidebar li {
	margin: 2px 0;
	padding: 0;
}

.docs-sidebar li a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	border-left: 2px solid transparent;
	color: #c5cdd8;
	text-decoration: none;
	font-size: 0.95rem;
	transition: all 0.25s ease;
}

.docs-sidebar li a:hover {
	background: rgba(99, 102, 241, 0.12);
	color: #a5b4fc;
}

.docs-sidebar li a.active {
	background: rgba(99, 102, 241, 0.18);
	color: #fff;
	border-left-color: #6366f1;
}

.docs-sidebar .sidebar-back {
	margin-bottom: 8px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-content {
	min-width: 0;
}

@media (min-width: 1024px) and (orientation: landscape) {
	.docs-layout {
		display: grid;
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 30px;
		align-items: start;
	}

	.docs-sidebar {
		position: sticky;
		top: 24px;
		max-height: calc(100vh - 48px);
		overflow-y: auto;
		margin-bottom: 0;
	}
}


.doc-header {
	margin-bottom: 24px;
}

.doc-header h2 {
	font-size: 1.8rem;
	color: #e0e6ed;
	margin-bottom: 8px;
}

.doc-intro {
	font-size: 1rem;
	line-height: 1.7;
	color: #a0aec0;
}


.doc-section {
	margin-bottom: 34px;
}

.doc-section h3 {
	font-size: 1.3rem;
	color: #e0e6ed;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(99, 102, 241, 0.3);
}

.doc-section p {
	color: #c5cdd8;
	line-height: 1.7;
	margin-bottom: 12px;
}

.doc-section ul.plain {
	color: #c5cdd8;
	line-height: 1.8;
	margin: 0 0 12px;
	padding-left: 24px;
}

.doc-section a {
	color: #818cf8;
}


.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.feature-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 28px;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.feature-card:hover {
	background: rgba(255, 255, 255, 0.05);
	border-color: rgba(99, 102, 241, 0.4);
	transform: translateY(-4px);
}

.feature-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(252, 0, 255, 0.15));
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	color: #a5b4fc;
}

.feature-icon svg {
	width: 24px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.feature-card h3 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #e0e6ed;
	margin-bottom: 10px;
}

.feature-card h4 {
	font-size: 1.05rem;
	font-weight: 600;
	color: #e0e6ed;
	margin-bottom: 8px;
}

.feature-card p {
	font-size: 0.97rem;
	line-height: 1.7;
	color: #c5cdd8;
	margin-bottom: 12px;
}

.feature-card p a {
	color: #818cf8;
}

.feature-list {
	list-style: none;
	padding-left: 0;
	margin-top: 0;
	flex: 1;
}

.feature-list li {
	margin: 7px 0;
	padding-left: 20px;
	position: relative;
	font-size: 0.94rem;
	line-height: 1.6;
	color: #c5cdd8;
}

.feature-list li:before {
	content: "\25B8";
	position: absolute;
	left: 0;
	color: #6366f1;
}

.feature-screens {
	display: none;
}

.screens-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	align-self: flex-start;
	padding: 8px 16px;
	background: rgba(99, 102, 241, 0.12);
	border: 1px solid rgba(99, 102, 241, 0.4);
	border-radius: 8px;
	color: #a5b4fc;
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	transition: all 0.3s ease;
}

.screens-btn:hover {
	background: rgba(99, 102, 241, 0.25);
	border-color: #6366f1;
	color: #fff;
	transform: translateY(-2px);
}

.screens-btn svg {
	width: 18px;
	height: 18px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}


.pager {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}

.pager a {
	flex: 1;
	display: block;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	color: #c5cdd8;
	text-decoration: none;
	transition: all 0.3s ease;
}

.pager a:hover {
	border-color: rgba(99, 102, 241, 0.5);
	background: rgba(99, 102, 241, 0.1);
	color: #fff;
}

.pager .pager-label {
	display: block;
	font-size: 0.8rem;
	color: #a0aec0;
	margin-bottom: 4px;
}

.pager .pager-title {
	font-weight: 600;
	color: #e0e6ed;
}

.pager a:last-child {
	text-align: right;
}


.changelog-entry {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 28px;
	margin-bottom: 24px;
}

.changelog-entry h3 {
	font-size: 1.3rem;
	color: #e0e6ed;
	margin-bottom: 4px;
}

.changelog-date {
	font-size: 0.9rem;
	color: #a0aec0;
	margin-bottom: 16px;
}

.changelog-entry h4 {
	font-size: 1.05rem;
	color: #a5b4fc;
	margin: 16px 0 8px;
}

.changelog-entry ul {
	color: #c5cdd8;
	line-height: 1.7;
	margin: 0;
	padding-left: 24px;
}

.changelog-entry ul a {
	color: #818cf8;
}


.lightbox {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.92);
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
	opacity: 1;
	visibility: visible;
}

.lightbox img {
	max-width: 85vw;
	max-height: 85vh;
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-btn {
	position: absolute;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #fff;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
	z-index: 1001;
}

.lightbox-btn:hover {
	background: rgba(255, 255, 255, 0.25);
}

.lightbox-close {
	top: 20px;
	right: 20px;
}

.lightbox-prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-caption {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	color: #c5cdd8;
	font-size: 0.9rem;
	text-align: center;
	white-space: nowrap;
	max-width: 90vw;
}


.todo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
}

.todo-item {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 18px 22px;
	color: #c5cdd8;
	display: flex;
	align-items: center;
	gap: 12px;
}

.todo-item svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: #f59e0b;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 768px) {
	.hero {
		padding: 40px 20px;
	}

	.hero-screens img {
		width: 150px;
	}

	.feature-grid {
		grid-template-columns: 1fr;
	}
}

.noscript-note {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	padding: 28px;
	color: #c5cdd8;
	line-height: 1.7;
}

.noscript-note a {
	color: #818cf8;
}
