:root {
	--bg: #070b16;
	--surface: rgba(11, 18, 34, 0.82);
	--surface-strong: rgba(15, 24, 45, 0.96);
	--text: #eef3ff;
	--muted: #93a1c7;
	--accent: #00e5ff;
	--accent-2: #7d5cff;
	--accent-3: #ff4d8d;
	--border: rgba(145, 170, 255, 0.16);
	--shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	color: var(--text);
	background:
		linear-gradient(rgba(0, 229, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0, 229, 255, 0.08) 1px, transparent 1px),
		radial-gradient(circle at 15% 20%, rgba(125, 92, 255, 0.24), transparent 22%),
		radial-gradient(circle at 85% 15%, rgba(255, 77, 141, 0.18), transparent 20%),
		linear-gradient(180deg, #040814 0%, #091224 46%, #050913 100%);
	background-size: 32px 32px, 32px 32px, auto, auto, auto;
	min-height: 100vh;
}

[hidden] {
	display: none !important;
}

body[data-animation="drift"] .orb {
	animation-duration: 14s;
}

body[data-animation="pulse"] .orb {
	animation-name: pulseFloat;
	animation-duration: 5.5s;
}

body[data-animation="ripple"] .orb {
	animation-name: rippleFloat;
	animation-duration: 9s;
}

a {
	color: inherit;
	text-decoration: none;
}

.page-shell {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	backdrop-filter: blur(18px);
	background: rgba(3, 8, 20, 0.72);
	border-bottom: 1px solid rgba(0, 229, 255, 0.14);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 0;
}

.brand {
	display: flex;
	align-items: center;
	gap: 14px;
}

.brand-mark {
	min-width: 72px;
	height: 56px;
	padding: 0 12px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: white;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.08em;
	line-height: 1;
	box-shadow: 0 0 28px rgba(0, 229, 255, 0.34);
}

.brand-copy strong {
	display: block;
	font-size: 1.05rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.brand-copy span {
	display: block;
	color: var(--muted);
	font-size: 0.92rem;
}

.topbar-nav {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.topbar-nav a {
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.92rem;
	transition: background 180ms ease, color 180ms ease;
}

.topbar-nav a:hover,
.topbar-nav a:focus-visible,
.topbar-nav a.active {
	background: rgba(0, 229, 255, 0.12);
	color: var(--text);
	outline: none;
}

.animation-switcher {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.animation-switcher-label {
	color: var(--muted);
	font-size: 0.92rem;
}

.switch-button {
	border: 1px solid rgba(145, 170, 255, 0.18);
	background: rgba(13, 21, 39, 0.84);
	color: var(--text);
	border-radius: 999px;
	padding: 10px 16px;
	font: inherit;
	font-size: 0.92rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.switch-button:hover,
.switch-button:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(0, 229, 255, 0.42);
	box-shadow: 0 0 22px rgba(0, 229, 255, 0.16);
	outline: none;
}

.switch-button.active {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #02050d;
	border-color: transparent;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 56px 0 36px;
}

.hero-card {
	position: relative;
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 34px;
	padding: 44px;
	border-radius: 36px;
	background: var(--surface);
	box-shadow: var(--shadow);
	border: 1px solid rgba(0, 229, 255, 0.14);
	backdrop-filter: blur(24px);
	isolation: isolate;
}

.hero-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(0, 229, 255, 0.45), rgba(125, 92, 255, 0.1), rgba(255, 77, 141, 0.35));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.hero-copy {
	position: relative;
	z-index: 1;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 14px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(0, 229, 255, 0.12);
	color: var(--accent);
	letter-spacing: 0.12em;
	font-size: 0.76rem;
	text-transform: uppercase;
	border: 1px solid rgba(0, 229, 255, 0.16);
}

h1 {
	margin: 0;
	font-size: clamp(2.5rem, 5vw, 5.2rem);
	line-height: 0.96;
	max-width: 10ch;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-shadow: 0 0 32px rgba(0, 229, 255, 0.14);
}

.hero-copy p {
	margin: 22px 0 0;
	max-width: 58ch;
	color: var(--muted);
	font-size: 1.06rem;
	line-height: 1.7;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 28px;
}

.button-primary,
.button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 700;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #030611;
	box-shadow: 0 18px 36px rgba(0, 229, 255, 0.24);
}

.button-secondary {
	background: rgba(13, 21, 39, 0.8);
	border: 1px solid rgba(145, 170, 255, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
	transform: translateY(-2px);
	outline: none;
}

.hero-visual {
	position: relative;
	min-height: 420px;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
		radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.15), transparent 26%),
		linear-gradient(145deg, rgba(10, 16, 34, 0.92), rgba(22, 14, 44, 0.88));
	border: 1px solid rgba(0, 229, 255, 0.14);
	overflow: hidden;
}

.hero-visual::before {
	content: "";
	position: absolute;
	inset: 18px;
	border-radius: 22px;
	border: 1px solid rgba(0, 229, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.visual-overlay {
	position: absolute;
	right: 20px;
	bottom: 20px;
	z-index: 1;
	width: min(280px, calc(100% - 40px));
	display: grid;
	gap: 12px;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(3px);
	opacity: 0.88;
	animation: driftFloat 10s ease-in-out infinite;
}

.orb.one {
	width: 190px;
	height: 190px;
	top: 36px;
	left: 36px;
	background: radial-gradient(circle at 30% 30%, #84f7ff, #0066ff 70%);
	animation-delay: -1s;
}

.orb.two {
	width: 140px;
	height: 140px;
	top: 170px;
	right: 48px;
	background: radial-gradient(circle at 35% 35%, #c6bcff, #7d5cff 75%);
	animation-delay: -4s;
}

.orb.three {
	width: 110px;
	height: 110px;
	bottom: 54px;
	left: 120px;
	background: radial-gradient(circle at 30% 30%, #ffaad1, #ff4d8d 75%);
	animation-delay: -2s;
}

.visual-panel {
	position: relative;
	width: 100%;
	padding: 22px;
	border-radius: 22px;
	background: rgba(8, 14, 30, 0.84);
	border: 1px solid rgba(0, 229, 255, 0.14);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.visual-panel strong {
	display: block;
	margin-bottom: 10px;
	font-size: 1.1rem;
}

.visual-panel p {
	margin: 0;
	color: var(--muted);
	line-height: 1.6;
}

.section-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	padding: 20px 0 34px;
}

.feature-card,
.info-card {
	padding: 28px;
	border-radius: 28px;
	background: rgba(10, 17, 33, 0.84);
	border: 1px solid var(--border);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
	transform: translateY(24px);
	opacity: 0;
	animation: revealUp 0.9s ease forwards;
}

.feature-card:nth-child(2),
.info-card:nth-child(2) {
	animation-delay: 120ms;
}

.feature-card:nth-child(3),
.info-card:nth-child(3) {
	animation-delay: 240ms;
}

.feature-card small,
.info-card small {
	display: block;
	margin-bottom: 14px;
	color: var(--accent-2);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.feature-card h2,
.info-card h2 {
	margin: 0 0 12px;
	font-size: 1.5rem;
}

.feature-card p,
.info-card p {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
}

.info-band {
	padding: 16px 0 60px;
}

.info-layout {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 22px;
}

.statement {
	padding: 34px;
	border-radius: 30px;
	background: linear-gradient(135deg, rgba(0, 229, 255, 0.14), rgba(125, 92, 255, 0.16), rgba(7, 11, 22, 0.98));
	color: #f1f5ff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(0, 229, 255, 0.16);
}

.statement h2 {
	margin: 0 0 14px;
	font-size: 2rem;
}

.statement p {
	margin: 0;
	line-height: 1.7;
	color: rgba(247, 241, 231, 0.82);
}

footer {
	margin-top: 10px;
	border-top: 1px solid rgba(0, 229, 255, 0.14);
	background: rgba(4, 8, 20, 0.88);
	backdrop-filter: blur(18px);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
	gap: 22px;
	padding: 34px 0 42px;
}

.footer-column h3,
.footer-brand h3 {
	margin: 0 0 12px;
	font-size: 1rem;
}

.footer-brand p,
.footer-column p,
.footer-column a {
	margin: 0;
	color: var(--muted);
	line-height: 1.8;
	display: block;
}

.footer-note {
	padding: 0 0 28px;
	color: var(--muted);
	font-size: 0.92rem;
}

.visual-stats {
	position: relative;
	display: grid;
	gap: 10px;
	width: 100%;
}

.visual-stat {
	padding: 10px 14px;
	border-radius: 14px;
	background: rgba(5, 11, 25, 0.78);
	border: 1px solid rgba(145, 170, 255, 0.14);
	font-size: 0.88rem;
	color: var(--muted);
	backdrop-filter: blur(12px);
}

.visual-stat strong {
	display: block;
	color: var(--accent);
	font-size: 1rem;
	margin-bottom: 2px;
}

.page-content {
	padding: 44px 0 72px;
}

.page-card {
	padding: 36px;
	border-radius: 32px;
	background: var(--surface);
	border: 1px solid rgba(0, 229, 255, 0.14);
	box-shadow: var(--shadow);
	backdrop-filter: blur(22px);
}

.page-card h1 {
	margin: 0 0 14px;
	font-size: clamp(2rem, 3vw, 2.8rem);
	line-height: 1.1;
	text-transform: none;
	max-width: none;
}

.password-gate {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 60vh;
	padding: 24px 0;
}

.password-card {
	width: min(100%, 480px);
	padding: 32px;
	border-radius: 28px;
	background: var(--surface);
	border: 1px solid rgba(0, 229, 255, 0.14);
	box-shadow: var(--shadow);
	backdrop-filter: blur(22px);
}

.password-card h1 {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.2;
	text-transform: none;
	max-width: none;
}

.password-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 20px;
}

.password-form input {
	padding: 12px 14px;
	border-radius: 999px;
	border: 1px solid rgba(145, 170, 255, 0.18);
	background: rgba(7, 12, 24, 0.9);
	color: var(--text);
	font: inherit;
}

.password-form button {
	padding: 12px 16px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #02050d;
	font-weight: 700;
	cursor: pointer;
}

.password-message {
	min-height: 1.2em;
	margin-top: 10px;
	color: #ff9fb7;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.page-card p,
.page-card li {
	color: var(--muted);
	line-height: 1.8;
}

.page-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(0, 229, 255, 0.12);
	color: var(--accent);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.page-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.page-mini-card {
	padding: 22px;
	border-radius: 24px;
	background: rgba(7, 12, 24, 0.76);
	border: 1px solid rgba(145, 170, 255, 0.16);
}

.page-mini-card h2 {
	margin: 0 0 10px;
	font-size: 1.2rem;
}

.page-list {
	margin: 0;
	padding-left: 18px;
}

.cook-progress-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 18px;
}

.cook-progress-card {
	padding: 16px;
	border-radius: 16px;
	background: rgba(7, 12, 24, 0.78);
	border: 1px solid rgba(145, 170, 255, 0.16);
}

.cook-progress-card h2 {
	margin: 0;
	font-size: 1rem;
	letter-spacing: 0.03em;
}

.cook-progress-card p {
	margin: 8px 0 10px;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	line-height: 1.2;
}

.cook-progress-card strong {
	color: var(--text);
	font-size: 1.12rem;
}

.cook-progress-track {
	height: 10px;
	border-radius: 999px;
	background: rgba(145, 170, 255, 0.22);
	overflow: hidden;
}

.cook-progress-fill {
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--accent), #34f5a5);
	transition: width 220ms ease;
}

.cook-sync-bar {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(7, 12, 24, 0.78);
	border: 1px solid rgba(145, 170, 255, 0.16);
	font-size: 0.84rem;
	color: var(--muted);
	width: fit-content;
}

.cook-sync-sep {
	opacity: 0.4;
}

.cook-sync-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
	background: var(--muted);
	transition: background 300ms ease;
}

.cook-sync-dot[data-status="loading"] {
	background: var(--accent);
	animation: syncPulse 0.9s ease-in-out infinite;
}

.cook-sync-dot[data-status="ok"] {
	background: #34f5a5;
	animation: none;
}

.cook-sync-dot[data-status="error"] {
	background: var(--accent-3);
	animation: none;
}

@keyframes syncPulse {
	0%, 100% { opacity: 1; }
	50%       { opacity: 0.3; }
}

.cook-table-wrap {
	margin-top: 24px;
	border: 1px solid rgba(145, 170, 255, 0.18);
	border-radius: 20px;
	overflow: auto;
	background: rgba(7, 12, 24, 0.7);
}

.cook-table {
	width: 100%;
	min-width: 860px;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.cook-table th,
.cook-table td {
	padding: 10px 12px;
	border-bottom: 1px solid rgba(145, 170, 255, 0.14);
	vertical-align: middle;
}

.cook-table thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: rgba(8, 15, 31, 0.96);
	text-align: left;
	letter-spacing: 0.04em;
	font-size: 0.84rem;
	text-transform: uppercase;
	color: var(--muted);
}

.cook-table tbody tr:nth-child(even) {
	background: rgba(255, 255, 255, 0.02);
}

.cook-category {
	width: 170px;
	white-space: nowrap;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
	text-align: left;
	vertical-align: top;
	padding-top: 14px;
}

.cook-recipe {
	font-weight: 600;
	color: var(--text);
}

.cook-value {
	font-variant-numeric: tabular-nums;
	text-align: right;
	color: var(--muted);
	white-space: nowrap;
}

.cook-check {
	text-align: center;
	width: 110px;
}

.cook-check input {
	width: 18px;
	height: 18px;
	accent-color: var(--accent);
	cursor: pointer;
}

.info-grid {
	padding: 0;
}

@keyframes driftFloat {
	0%, 100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(14px, -18px, 0) scale(1.08);
	}
}

@keyframes pulseFloat {
	0%, 100% {
		transform: scale(0.96);
		opacity: 0.76;
	}
	50% {
		transform: scale(1.16);
		opacity: 1;
	}
}

@keyframes rippleFloat {
	0%, 100% {
		transform: translate3d(0, 0, 0) rotate(0deg);
		border-radius: 50%;
	}
	33% {
		transform: translate3d(-12px, 18px, 0) rotate(8deg);
		border-radius: 42% 58% 61% 39% / 46% 33% 67% 54%;
	}
	66% {
		transform: translate3d(10px, -12px, 0) rotate(-10deg);
		border-radius: 58% 42% 39% 61% / 42% 55% 45% 58%;
	}
}

@keyframes revealUp {
	from {
		transform: translateY(24px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@media (max-width: 940px) {
	.topbar-inner,
	.hero-card,
	.info-layout,
	.footer-inner {
		grid-template-columns: 1fr;
		display: grid;
	}

	.topbar-inner {
		justify-content: initial;
	}

	.animation-switcher {
		justify-content: flex-start;
	}

	.cook-progress-grid {
		grid-template-columns: 1fr;
	}

	.page-grid {
		grid-template-columns: 1fr;
	}

	.section-grid {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		min-height: 320px;
	}

	.visual-overlay {
		width: min(260px, calc(100% - 40px));
	}
}

@media (max-width: 640px) {
	.page-shell {
		width: min(100% - 20px, 1180px);
	}

	.topbar-inner,
	.hero-card,
	.statement,
	.feature-card,
	.info-card {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hero-card {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	h1 {
		max-width: 12ch;
	}

	.brand-mark {
		min-width: 64px;
		height: 52px;
		font-size: 0.82rem;
	}

	.visual-overlay {
		right: 20px;
		left: 20px;
		width: auto;
	}

	.cook-table th,
	.cook-table td {
		padding: 9px 10px;
	}
}
