:root {
	--bg: #e8f0ff;
	--ink: #0f1f45;
	--muted: #5d6c8f;
	--line: rgba(255, 255, 255, 0.56);
	--glass: rgba(255, 255, 255, 0.38);
	--brand: #2b6fff;
	--brand-2: #04c2ff;
	--shadow: 0 20px 50px rgba(44, 83, 170, 0.2);
	--radius-lg: 28px;
	--radius-md: 20px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: "Manrope", sans-serif;
	color: var(--ink);
	background: linear-gradient(140deg, #d9e7ff 0%, #ecf6ff 35%, #ecfeff 100%);
	overflow-x: hidden;
}

.bg-orb {
	position: fixed;
	width: 42vw;
	aspect-ratio: 1;
	border-radius: 999px;
	filter: blur(44px);
	pointer-events: none;
	z-index: -1;
}

.orb-one {
	left: -12vw;
	top: -8vw;
	background: radial-gradient(circle, rgba(57, 118, 255, 0.34), rgba(57, 118, 255, 0));
}

.orb-two {
	right: -16vw;
	bottom: -14vw;
	background: radial-gradient(circle, rgba(0, 198, 255, 0.28), rgba(0, 198, 255, 0));
}

.page {
	width: min(1240px, 100%);
	margin: 0 auto;
	padding: 1.2rem 1rem 2.6rem;
	display: grid;
	gap: 1rem;
}

.glass {
	background: var(--glass);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.topbar {
	padding: 0.85rem 1rem;
	border-radius: var(--radius-md);
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.brand img {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	box-shadow: 0 10px 20px rgba(43, 111, 255, 0.22);
	object-fit: cover;
}

.brand-kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4f7ee7;
}

.brand h1 {
	margin: 0.04rem 0 0;
	font-family: "Sora", sans-serif;
	font-size: 1.16rem;
	line-height: 1;
	letter-spacing: -0.02em;
}

.install-btn {
	border: 0;
	border-radius: 999px;
	padding: 0.62rem 0.95rem;
	font-size: 0.74rem;
	font-family: "Sora", sans-serif;
	font-weight: 700;
	color: #ffffff;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
	cursor: pointer;
}

.install-btn[hidden] {
	display: none;
}

.hero {
	border-radius: var(--radius-lg);
	padding: clamp(1.2rem, 3vw, 2.2rem);
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1rem;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.25));
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	position: relative;
	overflow: visible;
}

.hero::after {
	content: "";
	position: absolute;
	inset: auto -20% -60% auto;
	width: 420px;
	aspect-ratio: 1;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(43, 111, 255, 0.26), rgba(43, 111, 255, 0));
	pointer-events: none;
}

.eyebrow {
	margin: 0;
	display: inline-block;
	background: rgba(43, 111, 255, 0.12);
	color: #2059d9;
	padding: 0.34rem 0.64rem;
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
}

.hero-copy h2 {
	margin: 0.9rem 0 0;
	font-family: "Sora", sans-serif;
	font-size: clamp(1.6rem, 4.3vw, 2.95rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	max-width: 19ch;
}

.hero-copy {
	position: relative;
	z-index: 3;
}

.sub {
	margin: 0.9rem 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--muted);
	max-width: 56ch;
}

.hero-inline-image {
	display: block;
	margin-top: 0.95rem;
	width: min(520px, 100%);
	max-width: 100%;
	height: auto;
	border-radius: 9px;
	border: 1px solid rgba(255, 255, 255, 0.62);
	box-shadow: 0 12px 26px rgba(33, 74, 158, 0.2);
	object-fit: cover;
}

.hero-actions {
	margin-top: 1.2rem;
	display: flex;
	gap: 0.75rem;
	row-gap: 0.75rem;
	flex-wrap: wrap;
	align-items: flex-start;
}

.primary-btn,
.ghost-btn {
	border-radius: 999px;
	padding: 0.78rem 1.2rem;
	font-family: "Sora", sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	cursor: pointer;
}

.primary-btn,
.ghost-btn,
.download-toggle-btn,
.telegram-btn {
	transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.telegram-btn:hover {
	transform: translateY(-1px);
}

.primary-btn {
	border: 0;
	color: #fff;
	background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.ghost-btn {
	border: 1px solid rgba(43, 111, 255, 0.25);
	color: #224dad;
	background: rgba(255, 255, 255, 0.6);
}

.telegram-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border-radius: 999px;
	padding: 0.78rem 1.05rem;
	border: 1px solid rgba(24, 140, 255, 0.28);
	font-family: "Sora", sans-serif;
	font-weight: 700;
	font-size: 0.78rem;
	text-decoration: none;
	color: #0f62d6;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: 0 8px 20px rgba(44, 104, 196, 0.15);
}

.telegram-btn svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
	flex-shrink: 0;
}

.download-menu-wrap {
	position: relative;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 230px;
}

.download-toggle-btn {
	border: 0;
	border-radius: 999px;
	padding: 0.78rem 1.2rem;
	font-family: "Sora", sans-serif;
	font-weight: 700;
	font-size: 0.8rem;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #ffffff;
	background: linear-gradient(95deg, #1d5dff, #11b8ff);
	cursor: pointer;
	box-shadow: 0 12px 26px rgba(29, 93, 255, 0.28);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.download-toggle-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 15px 30px rgba(29, 93, 255, 0.34);
}

.download-dropdown {
	position: static;
	margin-top: 0;
	min-width: 240px;
	width: min(320px, 92vw);
	padding: 0.6rem;
	display: grid;
	gap: 0.5rem;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid transparent;
	box-shadow: none;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transform-origin: top left;
	pointer-events: none;
	transition: max-height 320ms ease, margin-top 280ms ease, opacity 280ms ease, transform 280ms ease, visibility 280ms ease, border-color 280ms ease;
}

.download-dropdown.is-open {
	margin-top: 0.55rem;
	max-height: var(--dropdown-max-height, 320px);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: 0 18px 32px rgba(35, 69, 147, 0.26);
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.download-option {
	appearance: none;
	border: 0;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	padding: 0.76rem 0.95rem;
	min-height: 44px;
	border-radius: 12px;
	font-family: "Sora", sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	color: #1945a8;
	background: rgba(35, 94, 224, 0.1);
	cursor: pointer;
	transition: background-color 220ms ease, transform 220ms ease;
}

.download-option:hover {
	background: rgba(35, 94, 224, 0.17);
	transform: translateY(-1px);
}

.download-option.pending {
	opacity: 0.58;
	cursor: not-allowed;
	transform: none;
}

.download-popup {
	position: fixed;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(10, 20, 46, 0.35);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 260ms ease, visibility 260ms ease;
	z-index: 999;
}

.download-popup.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.download-popup-card {
	width: min(460px, calc(100vw - 2rem));
	max-width: calc(100vw - 2rem);
	padding: 1.1rem;
	max-height: calc(100dvh - 2rem);
	overflow-y: auto;
	overflow-x: hidden;
	border-radius: 20px;
	position: relative;
	opacity: 0;
	transform: translateY(10px) scale(0.98);
	transition: opacity 260ms ease, transform 260ms ease;
}

.download-popup.is-open .download-popup-card {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.download-popup-close {
	position: absolute;
	right: 0.65rem;
	top: 0.65rem;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	border: 1px solid rgba(43, 111, 255, 0.18);
	background: rgba(255, 255, 255, 0.72);
	color: #255cb8;
	font-family: "Sora", sans-serif;
	font-weight: 700;
	cursor: pointer;
}

.download-popup-kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #4d6fbd;
}

.download-popup h3 {
	margin: 0.35rem 0 0;
	font-family: "Sora", sans-serif;
	font-size: 1.45rem;
	line-height: 1.15;
}

.download-popup p {
	margin: 0.56rem 0 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

.download-popup-actions {
	margin-top: 1rem;
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
}

body.popup-open {
	overflow: hidden;
	overscroll-behavior: none;
}

.install-hint {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.76rem;
	color: #4560a2;
}

.install-hint[hidden] {
	display: none;
}

.hero-panel {
	border-radius: var(--radius-md);
	padding: 1rem;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.6rem;
	position: relative;
	z-index: 2;
}

.panel-kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 700;
	color: #4d6fbd;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.hero-panel h3 {
	margin: 0;
	font-family: "Sora", sans-serif;
	font-size: 1.22rem;
	line-height: 1.22;
}

.panel-text {
	margin: 0;
	font-size: 0.86rem;
	color: var(--muted);
}

.panel-cover {
	margin-top: 0.2rem;
	height: 136px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.panel-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(1.05) contrast(1.03);
}

.panel-tags {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.panel-tags span {
	padding: 0.34rem 0.56rem;
	border-radius: 999px;
	font-size: 0.66rem;
	font-weight: 700;
	color: #2b56c6;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.72);
}

.section {
	border-radius: var(--radius-lg);
	padding: 1.2rem;
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}

.section-head h3 {
	margin: 0;
	font-family: "Sora", sans-serif;
	font-size: clamp(1.2rem, 3.2vw, 1.8rem);
	letter-spacing: -0.02em;
}

.section-head p {
	margin: 0.36rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.feature-grid {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.7rem;
}

.feature-card {
	border-radius: 16px;
	padding: 0.88rem;
	min-height: 124px;
}

.feature-card h4 {
	margin: 0;
	font-family: "Sora", sans-serif;
	font-size: 0.88rem;
	line-height: 1.3;
}

.feature-card p {
	margin: 0.52rem 0 0;
	font-size: 0.82rem;
	line-height: 1.5;
	color: var(--muted);
}

.function-list {
	margin-top: 1rem;
	border-radius: 18px;
	padding: 0.5rem;
	display: grid;
	gap: 0.48rem;
}

.function-list p {
	margin: 0;
	padding: 0.7rem 0.8rem;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.65);
	font-size: 0.91rem;
	line-height: 1.55;
	color: #3c4f7e;
}

.function-list span {
	display: inline-block;
	min-width: 28px;
	font-family: "Sora", sans-serif;
	font-size: 0.8rem;
	color: #2b6fff;
	font-weight: 700;
}

.dev-footer {
	border-radius: 22px;
	padding: 0.9rem 1rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
}

.dev-footer-title {
	margin: 0;
	font-family: "Sora", sans-serif;
	font-size: 0.86rem;
	font-weight: 700;
	color: #1a3f92;
}

.dev-links {
	display: flex;
	gap: 0.55rem;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.dev-link {
	display: inline-flex;
	align-items: center;
	gap: 0.42rem;
	padding: 0.58rem 0.8rem;
	border-radius: 999px;
	text-decoration: none;
	font-family: "Sora", sans-serif;
	font-size: 0.74rem;
	font-weight: 700;
	color: #c13584;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(193, 53, 132, 0.18);
	box-shadow: 0 10px 22px rgba(103, 41, 110, 0.12);
	transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.dev-link:hover {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 14px 24px rgba(103, 41, 110, 0.16);
}

.dev-link svg {
	width: 14px;
	height: 14px;
	fill: currentColor;
	flex-shrink: 0;
}

.mockup-section {
	overflow: hidden;
}

.mockup-grid {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 180px));
	justify-content: center;
	gap: 0.58rem;
	align-items: stretch;
}

.mockup-card {
	margin: 0;
	max-width: 180px;
	width: 100%;
	aspect-ratio: 9 / 19;
	padding: 0.16rem;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(255, 255, 255, 0.68);
	box-shadow: 0 14px 28px rgba(33, 71, 150, 0.18);
	transition: transform 250ms ease, box-shadow 250ms ease;
}

.mockup-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 32px rgba(33, 71, 150, 0.24);
}

.mockup-card img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	background: rgba(231, 240, 255, 0.62);
}

.visual-section {
	overflow: hidden;
}

.showcase-grid {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: 56px repeat(3, minmax(0, 1fr));
	gap: 0.72rem;
	align-items: end;
}

.image-strip {
	border-radius: 14px;
	overflow: hidden;
	height: 248px;
	display: grid;
	grid-template-rows: repeat(6, 1fr);
	box-shadow: 0 16px 30px rgba(39, 78, 165, 0.2);
}

.image-strip img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.show-card {
	position: relative;
	height: 255px;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 16px 30px rgba(39, 78, 165, 0.2);
	transition: transform 260ms ease, box-shadow 260ms ease;
}

.show-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 22px 34px rgba(39, 78, 165, 0.26);
}

.peach-card {
	background: linear-gradient(180deg, #ffcfbe 0%, #ff8f6f 100%);
	padding: 0.56rem;
}

.card-photo {
	position: relative;
	height: 72%;
	border-radius: 14px;
	overflow: hidden;
}

.card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card-tag {
	position: absolute;
	left: 8px;
	bottom: 8px;
	padding: 0.2rem 0.46rem;
	border-radius: 999px;
	font-size: 0.6rem;
	font-weight: 700;
	color: #fff;
	background: rgba(0, 0, 0, 0.24);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.peach-card h4,
.blue-card h4 {
	margin: 0.45rem 0 0;
	font-family: "Sora", sans-serif;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
}

.peach-card h4 {
	font-size: 2rem;
}

.peach-card p,
.blue-card p {
	margin: 0.32rem 0 0;
	color: #fff;
	font-size: 0.86rem;
	line-height: 1.25;
	max-width: 17ch;
}

.blue-card {
	background: linear-gradient(180deg, #9cc0ff 0%, #6f9cf8 100%);
	padding: 0.75rem;
}

.blue-card h4 {
	font-size: 2.2rem;
	margin-top: 0;
}

.card-mini {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.75rem;
	height: 42%;
	border-radius: 14px;
	overflow: hidden;
}

.card-mini img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gold-card {
	background: linear-gradient(180deg, #f9d05f 0%, #e99d2f 100%);
	padding: 0.52rem;
}

.gold-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 14px;
}

.gold-overlay {
	position: absolute;
	left: 1rem;
	bottom: 0.92rem;
	padding: 0.35rem 0.56rem;
	border-radius: 999px;
	font-size: 0.64rem;
	font-weight: 700;
	color: #fff;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.35);
}

[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: transform 500ms ease, opacity 500ms ease;
	transition-delay: var(--delay, 0ms);
}

body.is-loaded [data-reveal] {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 1080px) {
	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.showcase-grid {
		grid-template-columns: 52px repeat(3, minmax(180px, 1fr));
		overflow-x: auto;
		padding-bottom: 0.22rem;
	}

	.mockup-grid {
		grid-template-columns: repeat(3, minmax(0, 160px));
	}
}

@media (max-width: 760px) {
	.page {
		padding: 0.7rem;
	}

	.topbar {
		flex-wrap: wrap;
	}

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

	.showcase-grid {
		display: flex;
		align-items: end;
		gap: 0.6rem;
		overflow-x: auto;
	}

	.image-strip {
		min-width: 44px;
		height: 218px;
	}

	.show-card {
		min-width: 178px;
		height: 232px;
	}

	.hero,
	.section {
		padding: 1rem;
		border-radius: 20px;
	}

	.download-dropdown {
		width: 100%;
		min-width: 100%;
	}

	.download-menu-wrap,
	.download-toggle-btn,
	.telegram-btn {
		width: 100%;
	}

	.download-popup-card {
		width: calc(100vw - 1.4rem);
		max-width: calc(100vw - 1.4rem);
		max-height: calc(100dvh - 1.4rem);
		padding: 0.92rem;
		border-radius: 16px;
	}

	.download-popup {
		padding: 0.7rem;
		align-items: center;
	}

	.download-popup h3 {
		font-size: 1.22rem;
	}

	.download-popup p {
		font-size: 0.85rem;
		line-height: 1.5;
	}

	.download-popup-close {
		right: 0.5rem;
		top: 0.5rem;
	}

	.download-popup-actions .primary-btn,
	.download-popup-actions .ghost-btn {
		width: 100%;
	}

	.mockup-grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.5rem;
		overflow: visible;
		padding-bottom: 0;
	}

	.mockup-card {
		min-width: 0;
		max-width: none;
		aspect-ratio: 10 / 19;
		border-radius: 12px;
	}

	.hero-copy h2 {
		font-size: clamp(1.45rem, 8.8vw, 2rem);
	}

	.sub,
	.section-head p,
	.function-list p {
		font-size: 0.86rem;
	}

	.dev-footer {
		padding: 0.85rem;
		flex-direction: column;
		align-items: flex-start;
	}

	.dev-links {
		width: 100%;
		justify-content: flex-start;
	}
}

@media (max-width: 420px) {
	.mockup-grid {
		grid-template-columns: 1fr;
	}

	.mockup-card {
		max-width: 210px;
		margin-inline: auto;
	}
}
