/* Public landing shell — Overview-first, dashboard stays locked */

.amzt-app.amzt-landing-shell {
	padding: 0;
	border-radius: 0;
	min-height: 100vh;
	width: 100%;
}

body.amzt-has-studio .amzt-app.amzt-landing-shell {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	min-height: 100vh;
}

.amzt-landing-shell .amzt-shell-main {
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(900px 420px at 8% -8%, color-mix(in srgb, var(--amzt-accent) 20%, transparent), transparent 58%),
		var(--amzt-bg);
}

.amzt-lp-page {
	display: none;
	flex: 1;
}

.amzt-lp-page.is-active {
	display: block;
	animation: amzt-ov-in .55s cubic-bezier(.22, 1, .36, 1);
}

@keyframes amzt-ov-in {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Overview canvas ---------- */

.amzt-ov {
	width: 100%;
	max-width: 1120px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.amzt-ov-hero {
	max-width: 720px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.amzt-lp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px !important;
	color: #c4b5fd;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.amzt-lp-pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
	animation: amzt-lp-pulse 1.8s ease-out infinite;
}

@keyframes amzt-lp-pulse {
	0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
	100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.amzt-lp-h1 {
	font-size: clamp(40px, 4.6vw, 58px) !important;
	line-height: 1.08 !important;
	letter-spacing: -0.045em;
	margin: 0 0 14px !important;
	color: #fff !important;
	font-weight: 750;
}

.amzt-lp-h2 {
	font-size: clamp(28px, 3.2vw, 40px) !important;
	letter-spacing: -0.03em;
	margin: 0 0 12px !important;
}

.amzt-lp-lead {
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--amzt-muted);
	margin: 0 0 22px !important;
	max-width: 640px;
}

.amzt-lp-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
}

.amzt-lp-btn {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
	cursor: pointer;
}

button.amzt-btn-ghost.amzt-lp-btn,
a.amzt-btn-ghost.amzt-lp-btn {
	border: 1px solid rgba(255,255,255,.18);
	color: var(--amzt-text);
	background: transparent;
}

.amzt-lp-gate {
	margin: 0 !important;
	color: var(--amzt-muted);
	font-size: 13.5px;
}

/* ---------- Feature grid ---------- */

.amzt-ov-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	width: 100%;
}

.amzt-ov-card {
	appearance: none;
	text-align: left;
	cursor: pointer;
	min-height: 124px;
	padding: 18px 18px 16px;
	border-radius: 16px;
	border: 1px solid rgba(255,255,255,.08);
	background: rgba(23, 26, 35, 0.72);
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.amzt-ov-card:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--amzt-accent) 55%, transparent);
	box-shadow: 0 16px 32px rgba(0,0,0,.28);
	background: rgba(30, 34, 48, 0.9);
}

.amzt-ov-card .amzt-nav-ico {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--amzt-accent), var(--amzt-accent-2));
	color: #fff;
	margin-bottom: 2px;
}

.amzt-ov-card .amzt-nav-ico svg { width: 16px; height: 16px; display: block; }

.amzt-ov-card strong {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #f4f6fb;
}

.amzt-ov-card span {
	font-size: 13.5px;
	color: var(--amzt-muted);
	margin-top: auto;
}

.amzt-ov-card:nth-child(2) .amzt-nav-ico { background: linear-gradient(135deg, #a855f7, #ec4899); }
.amzt-ov-card:nth-child(3) .amzt-nav-ico { background: linear-gradient(135deg, #6366f1, #22d3ee); }
.amzt-ov-card:nth-child(4) .amzt-nav-ico { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.amzt-ov-card:nth-child(5) .amzt-nav-ico { background: linear-gradient(135deg, #7c3aed, #38bdf8); }
.amzt-ov-card:nth-child(6) .amzt-nav-ico { background: linear-gradient(135deg, #2563eb, #22d3ee); }

/* ---------- Thumbnail stage ---------- */

.amzt-ov-stage {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) 160px;
	grid-template-rows: 86px auto;
	gap: 16px 20px;
	align-items: stretch;
	width: 100%;
	padding-top: 8px;
}

.amzt-ov-thumb {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.12);
	box-shadow: 0 18px 40px rgba(0,0,0,.32);
	display: flex;
	align-items: flex-end;
	padding: 14px 16px;
	color: #fff;
	min-height: 0;
}

.amzt-ov-thumb span {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 10px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 999px;
	background: rgba(0,0,0,.42);
	letter-spacing: .04em;
}

.amzt-ov-thumb strong {
	font-size: 13px;
	letter-spacing: .06em;
	text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.amzt-ov-thumb.is-wide {
	aspect-ratio: 16 / 9;
	width: 100%;
}

.amzt-ov-thumb.is-a {
	grid-column: 1;
	grid-row: 1 / 3;
	align-self: start;
	max-width: 100%;
	background: linear-gradient(135deg, #7c3aed 0%, #db2777 48%, #f59e0b 100%);
	animation: amzt-ov-float 5.2s ease-in-out infinite;
}

.amzt-ov-thumb.is-b {
	grid-column: 2;
	grid-row: 2;
	background: linear-gradient(135deg, #c026d3 0%, #fb7185 55%, #fb923c 100%);
	animation: amzt-ov-float 6s ease-in-out infinite reverse;
}

.amzt-ov-thumb.is-tall {
	grid-column: 3;
	grid-row: 1 / 3;
	aspect-ratio: 9 / 16;
	width: 100%;
	max-width: 160px;
	justify-self: end;
	background: linear-gradient(180deg, #38bdf8 0%, #6366f1 55%, #6d28d9 100%);
	animation: amzt-ov-float 4.6s ease-in-out infinite;
}

@keyframes amzt-ov-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	animation: amzt-ov-in .6s cubic-bezier(.22,1,.36,1) forwards;
	animation-delay: calc(var(--d, 0) * 70ms);
}

.amzt-ov-hero[data-reveal] { animation-delay: 0ms; }
.amzt-ov-stage[data-reveal] { animation-delay: 280ms; }

/* ---------- Detail + auth ---------- */

.amzt-ov-detail { max-width: 720px; }

.amzt-lp-checks {
	list-style: none;
	padding: 0;
	margin: 0 0 24px;
}

.amzt-lp-checks li {
	position: relative;
	padding: 12px 0 12px 28px;
	border-bottom: 1px solid var(--amzt-border);
}

.amzt-lp-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--amzt-accent), var(--amzt-accent-2));
	box-shadow: inset 0 0 0 3px var(--amzt-surface);
}

.amzt-lp-auth {
	width: min(480px, 100%);
	padding: 24px;
	border-radius: 18px;
	background: var(--amzt-surface);
	border: 1px solid var(--amzt-border);
}

.amzt-lp-auth .amzt-input { width: 100%; }
.amzt-lp-auth .amzt-btn-block { width: 100%; margin-top: 12px; }
.amzt-lp-auth-note { margin: 10px 0 0 !important; color: var(--amzt-ok); font-size: 13.5px; }
.amzt-lp-auth-note.is-error { color: var(--amzt-danger); }
.amzt-lp-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.amzt-lp-side-cta {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none;
}

.amzt-lp-side-link,
.amzt-lp-text-btn {
	appearance: none;
	background: none;
	border: 0;
	width: 100%;
	color: #98a2b3;
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	padding: 6px 0 0;
}

.amzt-lp-text-btn {
	width: auto;
	color: var(--amzt-accent-2);
	font: inherit;
	font-weight: 650;
}

.amzt-lp-side-link:hover,
.amzt-lp-text-btn:hover { color: #fff; }

@media (max-width: 1100px) {
	.amzt-ov-stage {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
	}
	.amzt-ov-thumb.is-tall {
		grid-column: 2;
		grid-row: 1;
		max-width: 120px;
		justify-self: end;
	}
	.amzt-ov-thumb.is-a { grid-row: 1 / 3; }
	.amzt-ov-thumb.is-b { grid-column: 2; grid-row: 2; }
}

@media (max-width: 860px) {
	.amzt-ov-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	.amzt-ov-grid { grid-template-columns: 1fr; }
	.amzt-ov-stage {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}
	.amzt-ov-thumb.is-a,
	.amzt-ov-thumb.is-b,
	.amzt-ov-thumb.is-tall {
		grid-column: 1;
		grid-row: auto;
		max-width: none;
		justify-self: stretch;
	}
	.amzt-ov-thumb.is-tall { max-width: 140px; }
	.amzt-lp-h1 { font-size: 34px !important; }
}

@media (prefers-reduced-motion: reduce) {
	.amzt-lp-page.is-active,
	[data-reveal],
	.amzt-ov-thumb,
	.amzt-lp-pulse { animation: none !important; opacity: 1; transform: none; }
}
