/* Landing / homepage – onepage prezentace Puck Konfigurátoru.
   Brand Got Authentic: tmavý motiv, zlatá jako akcent. Self-contained paleta
   (topbar.css i tento soubor nezávisí na :root z auth.css). Sekce s prefixem .lp-*. */

:root {
	--bg: #0f1218;
	--bg-2: #0b0e13;
	--panel: #1a1f2b;
	--panel-2: #232a39;
	--text: #e7ebf3;
	--muted: #9aa4b8;
	--border: #303a4d;
	--primary: #ccaf6e;        /* zlatá */
	--primary-strong: #bf9a48;
	--primary-soft: #ddc48a;
	--primary-ink: #20242c;
	--accent-soft: rgba(204,175,110,.12);
	--ok: #2ec27e;
}

* { box-sizing: border-box; }

.lp-body {
	margin: 0;
	font-family: 'Outfit', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
}
.lp-body a { color: var(--primary); text-decoration: none; }
.lp-body a:hover { text-decoration: underline; }
html { scroll-behavior: smooth; }

/* ── Wide bannery/flashe nad landingem (mimo container) ── */
.flashes--wide, .ctx-banner--wide { max-width: 1160px; margin: 1rem auto 0; padding: 0 1.5rem; }
.ctx-banner--wide { background: none; border: none; padding-top: 0; }
.flashes--wide .flash { padding: .7rem 1rem; border-radius: 8px; margin-bottom: .5rem; border: 1px solid transparent; }
.flash-success { background: rgba(46,194,126,.12); border-color: var(--ok); color: #a6f0cf; }
.flash-info    { background: var(--accent-soft); border-color: var(--primary); color: var(--primary-soft); }
.flash-warning { background: rgba(255,176,32,.12); border-color: #ffb020; color: #ffe0a6; }
.flash-error   { background: rgba(255,93,108,.12); border-color: #ff5d6c; color: #ffc2c8; }

/* ── Sekce ── */
.lp-section { padding: 5.5rem 1.5rem; }
.lp-inner { max-width: 1160px; margin: 0 auto; }
.lp-section--alt { background: var(--bg-2); }
.lp-eyebrow {
	display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
	text-transform: uppercase; color: var(--primary); margin-bottom: .6rem;
}
.lp-h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .6rem; }
.lp-lead { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 640px; margin: 0 0 2.5rem; }
.lp-section--center { text-align: center; }
.lp-section--center .lp-lead { margin-left: auto; margin-right: auto; }

/* ── Tlačítka ──
   Prefix .lp-body zvyšuje specificitu nad obecné `.lp-body a` (jinak by zlatá barva
   odkazů přebila barvu textu tlačítka → zlatá na zlatém = neviditelné). */
.lp-body .lp-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .8rem 1.5rem; border-radius: 10px; border: 1px solid var(--border);
	background: var(--panel-2); color: var(--text); font-weight: 600; font-size: 1rem;
	cursor: pointer; transition: transform .12s, filter .12s, border-color .12s;
}
.lp-body .lp-btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.08); }
.lp-body .lp-btn-primary { background: var(--primary); border-color: var(--primary-strong); color: var(--primary-ink); }
.lp-body .lp-btn-ghost { background: transparent; }
.lp-btn-lg { padding: 1rem 1.8rem; font-size: 1.08rem; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ── Hero ── */
.lp-hero {
	position: relative; overflow: hidden;
	padding: clamp(3.5rem, 8vw, 6.5rem) 1.5rem;
	background:
		radial-gradient(1200px 500px at 78% -10%, rgba(204,175,110,.16), transparent 60%),
		radial-gradient(800px 400px at 0% 100%, rgba(204,175,110,.08), transparent 55%),
		var(--bg);
}
.lp-hero-grid {
	max-width: 1160px; margin: 0 auto;
	display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.lp-hero-title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: .6rem 0 1rem; }
.lp-hero-title .lp-gold { color: var(--primary); }
.lp-hero-sub { color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 540px; margin: 0 0 1.8rem; }
.lp-hero-note { margin-top: 1.1rem; color: var(--muted); font-size: .9rem; }
.lp-hero-note svg { color: var(--primary); }

/* Vizuál puku (CSS placeholder – reálný náhled doladíme později) */
.lp-hero-visual { display: flex; justify-content: center; }
.lp-puck {
	position: relative; width: min(340px, 78vw); aspect-ratio: 1/1; border-radius: 50%;
	background:
		radial-gradient(circle at 38% 32%, #3a3f4a, #14171d 70%),
		#0d1015;
	box-shadow: 0 30px 60px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.04);
	display: grid; place-items: center;
	animation: lpFloat 6s ease-in-out infinite;
}
.lp-puck::before {
	content: ""; position: absolute; inset: 12%; border-radius: 50%;
	border: 2px dashed rgba(204,175,110,.35);
}
/* Text po obvodu (arc text) – SVG přes celý puk, škáluje s viewBoxem */
.lp-puck-arc {
	position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.lp-puck-arc text {
	fill: var(--primary); font-family: inherit; font-weight: 700;
	font-size: 7px; letter-spacing: .8px; text-anchor: middle; text-transform: uppercase;
}
.lp-puck-arc text.lp-puck-arc-sub { fill: #ffffff; }
.lp-puck-badge {
	width: 52%; aspect-ratio: 1/1; border-radius: 50%;
	background: linear-gradient(140deg, var(--primary-soft), var(--primary-strong));
	color: var(--primary-ink); display: grid; place-items: center; text-align: center;
	font-weight: 800; letter-spacing: .04em; padding: 1rem; line-height: 1.15;
	box-shadow: 0 8px 24px rgba(204,175,110,.35);
}
.lp-puck-logo {
	display: block;
	font-family: 'Outfit', 'Arial Black', 'Archivo Black', Impact, sans-serif;
	font-size: clamp(1.7rem, 4.4vw, 2.6rem); font-weight: 900; letter-spacing: -.02em;
	line-height: 1; text-transform: uppercase; -webkit-text-stroke: .5px currentColor;
}
@keyframes lpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── Stepper (jak to funguje) ── */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.lp-steps::before {
	content: ""; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 2px;
	background: linear-gradient(90deg, var(--primary-strong), var(--primary-soft));
	opacity: .5;
}
.lp-step { text-align: center; position: relative; }
.lp-step-num {
	width: 48px; height: 48px; border-radius: 50%; margin: 0 auto .9rem;
	display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
	background: var(--panel); border: 2px solid var(--primary); color: var(--primary);
	position: relative; z-index: 1;
}
.lp-step h3 { margin: 0 0 .35rem; font-size: 1.1rem; }
.lp-step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Video (showreel) ── */
.lp-video {
	max-width: 900px; margin: 0 auto; aspect-ratio: 16/9; border-radius: 16px;
	border: 1px solid var(--border); background:
		radial-gradient(600px 300px at 50% 40%, rgba(204,175,110,.12), transparent 60%),
		var(--panel);
	display: grid; place-items: center; text-align: center; gap: 1rem;
	position: relative; overflow: hidden;
}
/* Video vyplní rám beze zbytku – 16:9 už drží .lp-video, takže cover nic neuřízne. */
.lp-video-el {
	width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit;
}
/* Reduced-motion varianta ukazuje poster s ovládáním – ať jde video pustit ručně. */
.lp-video-el[controls] { object-fit: contain; }

/* ── Grid výhod ── */
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lp-card {
	background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
	padding: 1.6rem 1.5rem; position: relative; overflow: hidden;
	transition: transform .15s, border-color .15s;
}
.lp-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--primary-strong), var(--primary-soft)); opacity: 0; transition: opacity .15s; }
.lp-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.lp-card:hover::before { opacity: 1; }
.lp-card-ico {
	width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
	background: var(--accent-soft); color: var(--primary); margin-bottom: 1rem;
}
.lp-card-ico svg { width: 24px; height: 24px; }
.lp-card h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.lp-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ── Pro koho ── */
.lp-segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.lp-segment { background: var(--panel); border: 1px solid var(--border); border-radius: 14px; padding: 1.4rem; text-align: center; }
.lp-segment .lp-seg-ico { color: var(--primary); margin-bottom: .7rem; }
.lp-segment .lp-seg-ico svg { width: 28px; height: 28px; }
.lp-segment h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.lp-segment p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ── Ceník ── */
.lp-vat-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem; }
.lp-vat-toggle button {
	padding: .55rem 1.1rem; background: var(--panel); color: var(--muted); border: none;
	font-weight: 600; font-size: .95rem; cursor: pointer; font-family: inherit;
}
.lp-vat-toggle button.is-active { background: var(--primary); color: var(--primary-ink); }
.lp-price-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; }
.lp-price-table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--panel); }
.lp-price-table th, .lp-price-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
.lp-price-table thead th { background: var(--panel-2); color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.lp-price-table tbody tr:last-child td { border-bottom: none; }
.lp-price-table td.lp-qty { font-weight: 600; }
.lp-price-table .lp-price { font-weight: 700; color: var(--primary-soft); white-space: nowrap; }
.lp-price-unit { color: var(--muted); font-weight: 500; font-size: .82rem; }
.lp-price-notes { color: var(--muted); font-size: .92rem; margin: 1.4rem 0 0; }
.lp-price-notes li { margin-bottom: .3rem; }

/* ── Závěrečné CTA ── */
.lp-final {
	text-align: center;
	background: radial-gradient(700px 320px at 50% 0%, rgba(204,175,110,.14), transparent 60%), var(--bg-2);
}
.lp-final .lp-cta-row { justify-content: center; }

/* ── Footer ── */
.lp-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3rem 1.5rem 2rem; }
.lp-footer-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.lp-footer-brand { display: flex; align-items: center; gap: .5rem; font-weight: 800; font-size: 1.15rem; margin-bottom: .6rem; }
.lp-footer-brand svg { color: var(--primary); }
.lp-footer p { color: var(--muted); font-size: .9rem; margin: .2rem 0; }
.lp-footer h4 { margin: 0 0 .8rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.lp-footer ul { list-style: none; padding: 0; margin: 0; }
.lp-footer li { margin-bottom: .5rem; }
.lp-footer li a { color: var(--text); font-size: .95rem; }
.lp-footer li a:hover { color: var(--primary); }
.lp-footer-bottom { max-width: 1160px; margin: 2rem auto 0; padding-top: 1.4rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* ── Responsivita ── */
@media (max-width: 900px) {
	.lp-hero-grid { grid-template-columns: 1fr; text-align: center; }
	.lp-hero-sub { margin-left: auto; margin-right: auto; }
	.lp-hero .lp-cta-row { justify-content: center; }
	.lp-hero-visual { order: -1; }
	.lp-cards { grid-template-columns: repeat(2, 1fr); }
	.lp-segments { grid-template-columns: repeat(2, 1fr); }
	.lp-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
	.lp-steps::before { display: none; }
	.lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.lp-section { padding: 3.5rem 1.25rem; }
	.lp-cards, .lp-segments { grid-template-columns: 1fr; }
	.lp-steps { grid-template-columns: 1fr; }
	.lp-footer-grid { grid-template-columns: 1fr; }
	.lp-cta-row { flex-direction: column; }
	.lp-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	.lp-puck { animation: none; }
	.lp-btn:hover, .lp-card:hover { transform: none; }
	html { scroll-behavior: auto; }
}
