* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #f5f7fa;
	color: #1e293b;
	line-height: 1.7;
}

a {
	color: inherit;
}

.page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 24px 16px 40px;
}

header {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-bottom: 40px;
}

@media (max-width: 900px) {
	header {
		grid-template-columns: minmax(0, 1fr);
	}
}

.text-muted {
	color: #feffaaf5;
	font-size: 12px;
	margin-left: 10px;
}

/* --- ЛОГО --- */
.app-logo-row {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.app-logo {
	border: 1px solid #01919078;
	width: 70px;
	height: 70px;
	border-radius: 35px;
	object-fit: cover;
	box-shadow: 0 0 10px rgba(15, 23, 42, 0.25);
	transition: transform 0.2s ease-in-out;
}

.app-logo-row:hover .app-logo {
	transform: scale(1.05)
}

.app-logo-name {
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #e0f2fe;
	color: #0369a1;
	margin-bottom: 16px;
	border: 1px solid #ced4db;
}

.badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
}

h1 {
	margin: 0;
	color: #015a5b;
	line-height: 1.3;
	font-size: clamp(26px, 3vw, 30px);
}

.subtitle {
	margin: 0 0 20px;
	color: #64748b;
	max-width: 800px;
	font-style: italic;
}

.hero-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

.hero-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 6px;
	color: #0f172a;
}

.hero-list-icon {
	margin-top: 3px;
	font-size: 14px;
}

.hero-meta {
	font-size: 13px;
	color: #64748b;
	margin-top: 4px;
}

.hero-meta strong {
	color: #0f172a;
}

.hero-buttons {
	display: inline;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.btn-primary {
	border: none;
	outline: none;
	cursor: default;
	min-width: 350px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: linear-gradient(135deg, #0ea5e9, #2563eb);
	color: #f9fafb;
	display: inline-block;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	white-space: nowrap;
}

.btn-save {
	border: none;
	outline: none;
	cursor: default;
	min-width: 350px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: linear-gradient(135deg, #0ea5e9, #b89a10);
	color: #f9fafb;
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
	display: inline-block;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.btn-save-rev {
	border: none;
	outline: none;
	cursor: default;
	min-width: 350px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	background: linear-gradient(135deg, #b89a10, #0ea5e9);
	color: #f9fafb;
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.28);
	display: inline-block;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.btn-save:hover {
	background: linear-gradient(135deg, #b89a10, #0ea5e9);
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.48);
}

.btn-save-rev:hover {
	background: linear-gradient(135deg, #0ea5e9, #b89a10);
	box-shadow: 0 10px 20px rgba(37, 99, 235, 0.48);
}

.btn-ghost {
	border-radius: 999px;
	border: 1px solid #cbd5f5;
	padding: 9px 14px;
	min-width: 350px;
	font-size: 13px;
	background: rgba(255, 255, 255, 0.9);
	display: inline-block;
	align-items: center;
	gap: 8px;
	cursor: default;
	margin-bottom: 10px;
	color: #1e293b;
}

.btn-ghost span {
	font-size: 18px;
}

/* --- Телефон + слайдер экранов --- */
.phone-mock-wrapper {
	display: flex;
	justify-content: center;
}

.phone-mock {
	position: relative;
	width: min(320px, 70vw);
	aspect-ratio: 9 / 19;
	border-radius: 32px;
	padding: 10px;
	background: radial-gradient(circle at 0 0, #60a5fa, #1d2e54);
	box-shadow:
		0 24px 60px rgba(15, 23, 42, 0.45),
		0 0 0 1px rgba(148, 163, 184, 0.5);
	display: flex;
	align-items: stretch;
	justify-content: stretch;
}

.phone-screen {
	position: relative;
	flex: 1 1 auto;
	width: 100%;
	height: 100%;
	border-radius: 26px;
	overflow: hidden;
	background: #0f172a;
	border: 1px solid rgba(15, 23, 42, 0.7);
}

.phone-screen-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(0.9);
	transition: transform 0.8s ease, opacity 0.8s ease;
}

/* активный слайд */
.phone-screen-img.active {
	opacity: 1;
	transform: scale(1);
	z-index: 2;
}

section {
	margin-bottom: 32px;
}

h2 {
	margin: 0 0 12px;
	font-size: 20px;
}

.section-desc {
	margin: 0 0 16px;
	font-size: 14px;
	color: #64748b;
}

.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.step-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 14px 14px 12px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
	border: 1px solid #ced4db;
}

.step-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.step-number {
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
}

.step-title {
	font-size: 14px;
	font-weight: 600;
}

.step-text {
	font-size: 13px;
	color: #475569;
}

.screens-card {
	background: #ffffff;
	border-radius: 18px;
	padding: 14px;
	border: 1px solid #ced4db;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.screens-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 10px;
}

/* 4 изображения по ширине контента */
.screens-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
}

.screen-item {
	min-width: 0;
}

.screen-thumb {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	background: #0f172a;
}

.screen-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.screen-caption {
	margin-top: 6px;
	font-size: 12px;
	color: #64748b;
	text-align: center;
}

/* QR блок — сетка 2×2 (адаптивная) */
.qr-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.qr-item {
	background: #ffffff;
	border-radius: 16px;
	padding: 12px 14px;
	border: 1px solid #ced4db;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	cursor: pointer;
	transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.qr-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
	border-color: #cbd5f5;
}

.qr-inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

.qr-text {
	flex: 1;
	text-align: left;
}

.qr-label {
	font-size: 13px;
	font-weight: 500;
	margin-bottom: 4px;
}

.qr-desc {
	font-size: 12px;
	color: #64748b;
}

.qr-image-wrap {
	flex-shrink: 0;
}

.qr-image-wrap img {
	max-width: 140px;
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 700px) {
	.qr-inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.qr-image-wrap img {
		max-width: 180px;
	}
}

footer {
	margin-top: 24px;
	font-size: 14px;
	color: #94a3b8;
	text-align: center;
}
footer a {
	color: blue;
}

/* Модалка для увеличения QR */
.qr-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.98);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
}

.qr-modal-backdrop.active {
	display: flex;
}

.qr-modal {
	background: #0b1120;
	border-radius: 16px;
	padding: 16px 18px 14px;
	max-width: 96vw;
	max-height: 96vh;
	color: #e2e8f0;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(148, 163, 184, 0.7);
}

.qr-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}

.qr-modal-title {
	font-size: 14px;
	font-weight: 600;
}

.qr-modal-close {
	border: none;
	background: transparent;
	color: #cbd5f5;
	font-size: 18px;
	cursor: pointer;
	padding: 2px 4px;
	line-height: 1;
}

.qr-modal-body {
	text-align: center;
}

.qr-modal-body img {
	max-width: min(420px, 80vw);
	width: 100%;
	height: auto;
	display: block;
	margin: 0 auto 10px;
	background: #020617;
	padding: 8px;
	border-radius: 12px;
}

.qr-modal-desc {
	font-size: 12px;
	color: #cbd5f5;
	max-width: 380px;
	margin: 0 auto;
}
/* Download APK: делаем ссылку кликабельной как кнопку */
.download-open {
    display: block;
    color: #f9fafb;
    text-decoration: none;
    cursor: pointer;
}
.btn-save { cursor: pointer; }

.dl-button {
	font-size: 18px;
    color: greenyellow;
    text-decoration: none;
}

.dl-button:hover {
	text-decoration: underline;
}