/* ULwise landing — тёмная фирменная тема (активный фон + бирюзовый логотип) */
:root {
	--bg: #020408;
	--c1: #00e5ff;
	--teal-1: #00d5c8;
	--teal-2: #00b3a8;
	--text: #f4f7f8;
	--muted: rgba(244, 247, 248, 0.62);
	--muted-soft: rgba(244, 247, 248, 0.4);
	--surface: rgba(255, 255, 255, 0.035);
	--surface-2: rgba(255, 255, 255, 0.06);
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(0, 229, 255, 0.32);
	--success: #00ffa3;
	--radius: 20px;
	--radius-sm: 13px;
	--shell: 1140px;
	--grad: linear-gradient(135deg, #00d5c8, #00b3a8);
	--shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* ── Активный фон ─────────────────────────────────────────── */
#bg-canvas {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.vignette {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 55% at 78% 22%, rgba(0, 213, 200, 0.12), transparent 60%),
		radial-gradient(ellipse 95% 80% at 50% 12%, transparent 38%, rgba(2, 4, 8, 0.6) 72%, rgba(2, 4, 8, 0.95) 100%);
}

header,
main,
footer {
	position: relative;
	z-index: 2;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3 {
	line-height: 1.14;
	letter-spacing: -0.02em;
	font-weight: 700;
}

.accent {
	background: linear-gradient(120deg, #00e5ff, #00d5c8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.section-shell {
	width: min(100% - 40px, var(--shell));
	margin-inline: auto;
}

/* ── Кнопки ───────────────────────────────────────────────── */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	padding: 12px 22px;
	font: inherit;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.button-primary {
	background: var(--grad);
	color: #021014;
	box-shadow: 0 8px 28px rgba(0, 213, 200, 0.32);
}

.button-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 38px rgba(0, 213, 200, 0.5);
}

.button-secondary {
	background: rgba(0, 229, 255, 0.08);
	color: var(--c1);
	border-color: rgba(0, 229, 255, 0.38);
}

.button-secondary:hover {
	transform: translateY(-2px);
	background: rgba(0, 229, 255, 0.14);
}

.button-ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--border);
}

.button-ghost:hover {
	border-color: var(--border-strong);
	color: var(--c1);
}

.button-soft {
	background: var(--surface-2);
	color: var(--text);
	border-color: var(--border);
}

.button-soft:hover {
	transform: translateY(-2px);
	border-color: var(--border-strong);
}

/* ── Шапка ────────────────────────────────────────────────── */
.site-header {
	width: min(100% - 40px, var(--shell));
	margin: 20px auto 0;
	padding: 10px 16px 10px 18px;
	display: flex;
	align-items: center;
	gap: 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(6, 9, 14, 0.6);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	position: sticky;
	top: 14px;
	z-index: 30;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.2px;
}

.brand-mark {
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0, 213, 200, 0.4));
}

.top-nav {
	display: flex;
	gap: 28px;
	margin-inline: auto;
	font-size: 15px;
}

.top-nav a {
	color: var(--muted);
	transition: color 0.15s ease;
}

.top-nav a:hover {
	color: var(--c1);
}

.header-actions {
	display: flex;
	gap: 10px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 40px;
	align-items: center;
	padding: 84px 0 80px;
}

.status-line {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--muted);
	padding: 7px 15px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	margin-bottom: 28px;
}

.status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--success);
	box-shadow: 0 0 10px var(--success);
	animation: pulse 2.4s ease-in-out infinite;
}

.dot-sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--muted-soft);
}

@keyframes pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.35; }
}

.hero h1 {
	font-size: clamp(36px, 5.2vw, 60px);
	font-weight: 800;
	margin-bottom: 20px;
}

.lead {
	font-size: 17.5px;
	color: var(--muted);
	max-width: 33em;
	margin-bottom: 34px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
}

.hero-note {
	margin: 0 0 28px;
	font-size: 13px;
	color: var(--c1);
}

.button-bot {
	background: rgba(0, 229, 255, 0.12);
	color: var(--c1);
	border-color: var(--c1);
	box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.35), 0 8px 28px rgba(0, 229, 255, 0.35);
}

.button-bot:hover {
	transform: translateY(-2px);
	background: rgba(0, 229, 255, 0.2);
	box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.6), 0 12px 38px rgba(0, 229, 255, 0.5);
}

.hero-actions .button {
	padding: 15px 28px;
	font-size: 16px;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	font-size: 14px;
	color: var(--muted);
}

.hero-meta span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero-meta span::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c1);
	box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* ── Hero визуал — плавающий логотип ──────────────────────── */
.hero-visual {
	display: flex;
	justify-content: center;
}

.logo-stage {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 1;
	max-width: 420px;
}

.logo-glow {
	position: absolute;
	width: 68%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 213, 200, 0.45), rgba(0, 213, 200, 0.08) 55%, transparent 72%);
	filter: blur(46px);
	animation: glow 7s ease-in-out infinite;
}

.hero-logo {
	position: relative;
	width: min(74%, 320px);
	height: auto;
	filter: drop-shadow(0 24px 60px rgba(0, 213, 200, 0.3));
	animation: float 12s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	33% { transform: translateY(-12px) rotate(-1deg); }
	66% { transform: translateY(6px) rotate(1deg); }
}

@keyframes glow {
	0%, 100% { opacity: 0.75; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.08); }
}

/* ── Заголовки секций ─────────────────────────────────────── */
.section-heading {
	max-width: 640px;
	margin-bottom: 40px;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 12px;
	font-weight: 600;
	color: var(--c1);
	margin-bottom: 13px;
}

.section-heading h2 {
	font-size: clamp(27px, 3.6vw, 40px);
	margin-bottom: 13px;
}

.section-heading > p {
	color: var(--muted);
	font-size: 17px;
}

/* ── Тарифы ───────────────────────────────────────────────── */
.plans {
	padding: 44px 0;
}

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 22px;
}

.plan-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding: 32px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(8, 13, 18, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
}

.plan-card-featured {
	border-color: var(--border-strong);
	background:
		linear-gradient(180deg, rgba(0, 213, 200, 0.1), rgba(8, 13, 18, 0.6) 46%);
	box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.1), var(--shadow);
}

.plan-badge {
	position: absolute;
	top: -13px;
	right: 26px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #021014;
	background: var(--grad);
	box-shadow: 0 6px 18px rgba(0, 213, 200, 0.4);
}

.plan-kicker {
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-size: 11px;
	color: var(--muted-soft);
	margin-bottom: 8px;
}

.plan-card h3 {
	font-size: 23px;
	margin-bottom: 10px;
}

.plan-text {
	color: var(--muted);
	font-size: 15px;
}

.price-row {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.price-row strong {
	font-size: 42px;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.price-row span {
	color: var(--muted-soft);
	font-size: 14px;
}

.check-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.plan-card > .button {
	margin-top: auto;
}

.check-list li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	color: rgba(244, 247, 248, 0.85);
}

.check-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background-color: rgba(0, 229, 255, 0.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e5ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
}

.plan-card .button {
	width: 100%;
}

/* ── Преимущества ─────────────────────────────────────────── */
.features {
	padding: 60px 0;
}

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

.feature-item {
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.feature-item:hover {
	border-color: var(--border-strong);
	transform: translateY(-3px);
}

.feature-icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: rgba(0, 229, 255, 0.12);
	margin-bottom: 20px;
}

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

.feature-item h3 {
	font-size: 19px;
	margin-bottom: 9px;
}

.feature-item p {
	color: var(--muted);
	font-size: 15px;
}

/* ── Настройка ────────────────────────────────────────────── */
.setup {
	padding: 28px 0 60px;
}

.setup-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: center;
	padding: 44px;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: rgba(8, 13, 18, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.setup-panel h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin: 8px 0 14px;
}

.setup-panel p {
	color: var(--muted);
}

.step-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 13px;
}

.step-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-size: 15px;
}

.step-list span {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 10px;
	background: var(--grad);
	color: #021014;
	font-weight: 700;
}

/* ── Поддержка ────────────────────────────────────────────── */
.support {
	padding: 28px 0 76px;
}

.support-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	padding: 38px 44px;
	border: 1px solid var(--border-strong);
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(0, 213, 200, 0.12), rgba(0, 229, 255, 0.04));
}

.support-strip h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin: 8px 0 8px;
}

.support-strip p {
	color: var(--muted);
	max-width: 42em;
}

/* ── Подвал ───────────────────────────────────────────────── */
.site-footer {
	display: block;
	margin-top: 20px;
}

.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-weight: 700;
	color: var(--text);
	font-size: 16px;
}

/* ── Модалка оплаты ───────────────────────────────────────── */
.checkout-dialog {
	border: none;
	padding: 0;
	background: transparent;
	color: var(--text);
	margin: auto;
}

.checkout-dialog::backdrop {
	background: rgba(2, 4, 8, 0.72);
	backdrop-filter: blur(5px);
}

.checkout-box {
	position: relative;
	width: min(92vw, 420px);
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 34px;
	border: 1px solid var(--border-strong);
	border-radius: 22px;
	background: rgba(8, 13, 18, 0.97);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.checkout-box h2 {
	font-size: 25px;
}

.dialog-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
	color: var(--muted);
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.dialog-close:hover {
	color: var(--c1);
	border-color: var(--border-strong);
}

.dialog-close svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.checkout-plan {
	color: var(--c1);
	font-weight: 600;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	color: var(--muted);
}

.field input {
	padding: 13px 15px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
	font: inherit;
}

.field input:focus {
	outline: none;
	border-color: var(--border-strong);
	box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.form-note {
	font-size: 12.5px;
	color: var(--muted-soft);
	line-height: 1.5;
}

.checkout-result {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	font-size: 14px;
}

.result-link {
	color: var(--c1);
	font-weight: 600;
}

/* ── Полоса доверия ───────────────────────────────────────── */
.trust-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 8px;
	margin-bottom: 24px;
	padding: 22px 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.trust-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-align: center;
}

.trust-item strong {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	background: linear-gradient(120deg, #00e5ff, #00d5c8);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.trust-item span {
	font-size: 13px;
	color: var(--muted);
}

.feature-grid-tight .feature-item {
	padding: 22px;
}

/* ── Сетка тарифов (5 карточек) ───────────────────────────── */
.plan-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 18px;
}

.plan-badge-soft {
	background: rgba(0, 229, 255, 0.16);
	color: var(--c1);
}

.plan-monthly {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--c1);
}

.plan-note {
	font-size: 12.5px;
	color: var(--muted-soft);
	margin-top: -4px;
}

.plan-grid .plan-card {
	padding: 26px 22px;
	gap: 16px;
}

.plan-grid .price-row strong {
	font-size: 32px;
}

.plan-grid .check-list {
	gap: 9px;
}

.plan-grid .check-list li {
	font-size: 14px;
}

/* ── Отзывы ───────────────────────────────────────────────── */
.reviews {
	padding: 28px 0 60px;
}

.review-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
}

.review-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.review-card .stars {
	color: #ffd60a;
	font-size: 15px;
	letter-spacing: 2px;
}

.review-card p {
	color: rgba(244, 247, 248, 0.85);
	font-size: 15px;
	line-height: 1.55;
}

.review-author {
	margin-top: auto;
	font-weight: 600;
	font-size: 14px;
	color: var(--muted);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
	padding: 28px 0 60px;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 820px;
}

.faq-list details {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface);
	overflow: hidden;
}

.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 22px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
	content: "+";
	color: var(--c1);
	font-size: 22px;
	line-height: 1;
	flex-shrink: 0;
}

.faq-list details[open] summary::after { content: "–"; }

.faq-list details p {
	padding: 0 22px 20px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

/* ── Подвал: ссылки ───────────────────────────────────────── */
.footer-top {
	width: min(100% - 40px, var(--shell));
	margin: 0 auto;
	padding: 30px 0 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	border-top: 1px solid var(--border);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	font-size: 14px;
}

.footer-links a {
	color: var(--muted);
	transition: color 0.15s ease;
}

.footer-links a:hover { color: var(--c1); }

.footer-bottom {
	width: min(100% - 40px, var(--shell));
	margin: 0 auto;
	padding: 0 0 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	color: var(--muted-soft);
	font-size: 13px;
}

/* ── Адаптив ──────────────────────────────────────────────── */
@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		padding: 56px 0 48px;
		text-align: center;
	}
	.hero-copy {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.hero-visual {
		order: -1;
	}
	.logo-stage {
		max-width: 280px;
	}
	.hero-meta {
		justify-content: center;
	}
	.setup-panel {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 32px;
	}
	.feature-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.top-nav {
		display: none;
	}
	.site-header {
		gap: 12px;
	}
	.header-actions {
		margin-inline: auto;
	}
}

@media (max-width: 600px) {
	.trust-strip {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 12px;
		padding: 20px 18px;
	}
	.trust-item strong {
		font-size: 23px;
	}
	.feature-grid {
		grid-template-columns: 1fr;
	}
	.support-strip {
		padding: 26px 22px;
	}
	.setup-panel {
		padding: 26px 22px;
	}
	.footer-top,
	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
}

@media (max-width: 560px) {
	.section-shell,
	.site-header,
	.footer-top,
	.footer-bottom {
		width: min(100% - 28px, var(--shell));
	}
	.site-header {
		justify-content: space-between;
		gap: 10px;
		padding: 9px 12px 9px 14px;
	}
	.header-actions {
		margin-inline: 0;
		gap: 8px;
	}
	.header-actions .button {
		padding: 9px 14px;
		font-size: 13px;
	}
	.hero-actions {
		width: 100%;
	}
	.hero-actions .button {
		width: 100%;
	}
	.hero h1 {
		font-size: clamp(30px, 8vw, 44px);
	}
}

@media (max-width: 400px) {
	.header-actions .button-ghost {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.status-dot,
	.hero-logo,
	.logo-glow {
		animation: none;
	}
	html {
		scroll-behavior: auto;
	}
}

/* ── Страница входа / регистрации ─────────────────────────── */
.auth-body {
	display: flex;
	min-height: 100vh;
}

.auth-wrap {
	position: relative;
	z-index: 2;
	width: min(100% - 40px, 440px);
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	padding: 40px 0;
}

.auth-brand {
	display: inline-flex;
	align-items: center;
	gap: 0;
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 0.2px;
}

.auth-brand img {
	filter: drop-shadow(0 4px 14px rgba(0, 213, 200, 0.45));
	margin-right: -6px;
}

.auth-card {
	width: 100%;
	padding: 32px;
	border: 1px solid var(--border);
	border-radius: 22px;
	background: rgba(8, 13, 18, 0.66);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: var(--shadow);
}

.auth-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--border);
	border-radius: 13px;
	background: var(--surface);
	margin-bottom: 24px;
}

.auth-tab {
	border: none;
	border-radius: 9px;
	padding: 10px;
	font: inherit;
	font-weight: 600;
	font-size: 14px;
	color: var(--muted);
	background: transparent;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.auth-tab.is-active {
	background: var(--grad);
	color: #021014;
}

.auth-title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 8px;
}

.auth-sub {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 24px;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.auth-form .button {
	margin-top: 4px;
}

.auth-message {
	padding: 11px 14px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	border: 1px solid transparent;
}

.auth-message[data-kind="error"] {
	color: #ffb4b4;
	background: rgba(255, 90, 90, 0.1);
	border-color: rgba(255, 90, 90, 0.32);
}

.auth-message[data-kind="success"] {
	color: var(--success);
	background: rgba(0, 255, 163, 0.1);
	border-color: rgba(0, 255, 163, 0.32);
}

.auth-switch {
	margin-top: 22px;
	text-align: center;
	font-size: 14px;
	color: var(--muted);
}

.auth-link {
	border: none;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--c1);
	cursor: pointer;
	padding: 0 2px;
}

.auth-link:hover {
	text-decoration: underline;
}

.auth-home {
	font-size: 14px;
	color: var(--muted-soft);
	transition: color 0.15s ease;
}

.auth-home:hover {
	color: var(--c1);
}

/* ── Личный кабинет ───────────────────────────────────────── */
.dashboard {
	padding: 40px 0 80px;
	display: flex;
	flex-direction: column;
	gap: 26px;
}

.dashboard-hero {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(8, 13, 18, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.profile-orb {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: rgba(0, 229, 255, 0.1);
	border: 1px solid var(--border-strong);
}

.dashboard-hero h1 {
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	margin: 4px 0 6px;
	word-break: break-word;
}

.dashboard-meta {
	color: var(--muted);
	font-size: 14px;
}

.copy-button {
	border: 1px solid var(--border);
	border-radius: 8px;
	background: var(--surface);
	color: var(--c1);
	font: inherit;
	font-size: 12px;
	padding: 3px 9px;
	margin-left: 6px;
	cursor: pointer;
	transition: border-color 0.15s ease;
}

.copy-button:hover {
	border-color: var(--border-strong);
}

.account-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 20px;
}

.subscription-panel {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(8, 13, 18, 0.55);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.subscription-panel h2 {
	font-size: 22px;
}

.subscription-panel p {
	color: var(--muted);
}

.subscription-panel .status-line {
	margin-bottom: 0;
	align-self: flex-start;
}

.muted-panel {
	background: var(--surface);
}

.account-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 6px;
}

.cabinet-section {
	display: flex;
	flex-direction: column;
}

.cabinet-section .section-heading {
	margin-bottom: 20px;
}

.device-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.device-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: rgba(8, 13, 18, 0.5);
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.device-row:hover {
	border-color: var(--border-strong);
	transform: translateX(3px);
}

.device-icon {
	flex-shrink: 0;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: rgba(0, 229, 255, 0.1);
}

.device-icon svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--c1);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.device-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-right: auto;
}

.device-text strong {
	font-size: 15px;
}

.device-text small {
	color: var(--muted-soft);
	font-size: 13px;
}

.device-chevron {
	color: var(--muted-soft);
	font-size: 22px;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-list details {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: rgba(8, 13, 18, 0.5);
	overflow: hidden;
}

.faq-list summary {
	padding: 16px 20px;
	font-weight: 600;
	font-size: 15px;
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	content: "+";
	color: var(--c1);
	font-size: 20px;
	line-height: 1;
}

.faq-list details[open] summary::after {
	content: "–";
}

.faq-list details p {
	padding: 0 20px 18px;
	color: var(--muted);
	font-size: 14px;
}

@media (max-width: 760px) {
	.account-grid {
		grid-template-columns: 1fr;
	}
	.dashboard-hero {
		flex-direction: column;
		text-align: center;
	}
}
