﻿:root {
	--bg: #0b1220;
	--panel: rgba(255,255,255,.06);
	--panel2: rgba(255,255,255,.09);
	--border: rgba(255,255,255,.14);
	--text: rgba(255,255,255,.92);
	--muted: rgba(255,255,255,.72);
	--muted2: rgba(255,255,255,.62);
	--accent: #7dd3fc;
	--accent2: #a7f3d0;
	--warn: #fde68a;
	--radius: 18px;
	--shadow: 0 10px 30px rgba(0,0,0,.32);
	--shadow2: 0 8px 22px rgba(0,0,0,.22);
	--maxw: 1120px;
	--pad: clamp(16px, 3vw, 28px);
}

* {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
	color: var(--text);
	background: radial-gradient(900px 600px at 12% 8%, rgba(125,211,252,.18), transparent 55%), radial-gradient(900px 700px at 85% 10%, rgba(167,243,208,.15), transparent 55%), radial-gradient(1000px 900px at 40% 110%, rgba(253,230,138,.10), transparent 55%), linear-gradient(180deg, #070b14 0%, var(--bg) 65%, #070b14 100%);
}

a {
	color: inherit;
	text-decoration: none;
}

	a:hover {
		text-decoration: underline;
		text-underline-offset: 3px;
	}

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--pad);
}

/* Header */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: blur(10px);
	background: linear-gradient(180deg, rgba(11,18,32,.78), rgba(11,18,32,.45));
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.logo {
	width: 42px;
	height: 42px;
	border-radius: 14px;
	background: linear-gradient(135deg, rgba(125,211,252,.20), rgba(167,243,208,.18));
	border: 1px solid var(--border);
	display: grid;
	place-items: center;
	box-shadow: var(--shadow2);
	flex: 0 0 auto;
}

.brand-title {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	min-width: 0;
}

	.brand-title b {
		font-size: clamp(14px, 2.6vw, 18px);
		letter-spacing: .2px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.brand-title span {
		font-size: 12.5px;
		color: var(--muted);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

.actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 12px;
	border-radius: 999px;
	background: var(--panel);
	border: 1px solid var(--border);
	color: var(--muted);
	font-size: 13px;
	line-height: 1;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 10px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(125,211,252,.22), rgba(167,243,208,.18));
	border: 1px solid rgba(255,255,255,.18);
	box-shadow: var(--shadow2);
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
}

	.btn:hover {
		text-decoration: none;
		filter: brightness(1.08);
	}

/* Hero */
.hero {
	padding: 26px 0 10px;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: clamp(16px, 3vw, 26px);
	align-items: stretch;
}

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(253,230,138,.10);
	border: 1px solid rgba(253,230,138,.25);
	color: rgba(255,255,255,.86);
	font-weight: 700;
	font-size: 13px;
	width: fit-content;
}

h1 {
	margin: 12px 0 10px;
	font-size: clamp(26px, 4.6vw, 42px);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.lead {
	margin: 0;
	color: var(--muted);
	font-size: clamp(14.5px, 1.55vw, 17px);
	line-height: 1.6;
}

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.badge {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 9px 12px;
	color: rgba(255,255,255,.85);
	font-weight: 650;
	font-size: 13px;
	line-height: 1;
}

.card {
	background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.045));
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* Media slider */
.media {
	padding: 14px;
	display: grid;
	gap: 12px;
	height: 100%;
}

.slider {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 100%;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 6px;
}

	.slider::-webkit-scrollbar {
		height: 10px;
	}

	.slider::-webkit-scrollbar-thumb {
		background: rgba(255,255,255,.18);
		border-radius: 999px;
	}

.slide {
	scroll-snap-align: start;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(0,0,0,.18);
	overflow: hidden;
}

	.slide img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		aspect-ratio: 16/10;
	}

	.slide .cap {
		padding: 10px 12px 12px;
		color: var(--muted);
		font-size: 12.5px;
		line-height: 1.35;
		border-top: 1px solid rgba(255,255,255,.12);
		background: rgba(0,0,0,.14);
	}

.mini-info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.mini {
	padding: 12px;
	border-radius: 14px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.055);
}

	.mini b {
		display: block;
		font-size: 13px;
		margin-bottom: 4px;
	}

	.mini span {
		color: var(--muted);
		font-size: 12.5px;
		line-height: 1.35;
	}

/* Sections */
section.block {
	margin-top: 18px;
	padding: 18px;
}

.title {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
}

	.title h2 {
		margin: 0;
		font-size: clamp(18px, 2.6vw, 22px);
		letter-spacing: -0.01em;
	}

	.title .hint {
		margin: 0;
		color: var(--muted2);
		font-size: 13px;
	}

.cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.list {
	margin: 0;
	padding-left: 18px;
	color: var(--muted);
	line-height: 1.65;
	font-size: 14.5px;
}

	.list li {
		margin: 7px 0;
	}

.stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.stat {
	padding: 14px;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.055);
}

	.stat .n {
		font-weight: 900;
		font-size: clamp(16px, 2.3vw, 20px);
		letter-spacing: -0.01em;
	}

	.stat .t {
		margin-top: 6px;
		color: var(--muted);
		font-size: 12.8px;
		line-height: 1.35;
	}

/* Product cards */
.cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.p {
	padding: 14px;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(255,255,255,.055);
	display: grid;
	gap: 10px;
	min-height: 160px;
}

	.p .icon {
		width: 42px;
		height: 42px;
		border-radius: 14px;
		border: 1px solid rgba(255,255,255,.14);
		background: linear-gradient(135deg, rgba(125,211,252,.18), rgba(167,243,208,.14));
		display: grid;
		place-items: center;
	}

	.p b {
		font-size: 15px;
		letter-spacing: -0.01em;
	}

	.p span {
		color: var(--muted);
		font-size: 13.5px;
		line-height: 1.45;
	}

/* Gallery */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.g {
	overflow: hidden;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.14);
	background: rgba(0,0,0,.16);
}

	.g img {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		aspect-ratio: 16/10;
	}

/* Footer */
footer {
	margin: 20px 0 34px;
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.6;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 14px;
	padding: 18px;
}

.mono {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
	font-size: 13px;
}

/* Responsive */
@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.mini-info {
		grid-template-columns: 1fr;
	}

	.cols {
		grid-template-columns: 1fr;
	}

	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.actions {
		justify-content: flex-start;
	}
}

@media (max-width: 560px) {
	.header-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.actions {
		width: 100%;
	}

	.chip, .btn {
		width: 100%;
		justify-content: center;
	}

	.stats {
		grid-template-columns: 1fr;
	}

	.cards {
		grid-template-columns: 1fr;
	}

	.gallery {
		grid-template-columns: 1fr;
	}

	section.block {
		padding: 16px;
	}
}

/* Print */
@media print {
	:root {
		--bg: #ffffff;
		--text: #000000;
		--muted: #222;
		--muted2: #333;
		--panel: #fff;
		--panel2: #fff;
		--border: #ddd;
	}

	body {
		background: #fff;
		color: #000;
	}

	.header {
		position: static;
		background: #fff;
		border-bottom: 1px solid #ddd;
	}

	.card {
		box-shadow: none;
	}

	a {
		text-decoration: none;
		color: #000;
	}
}
