:root {
  --bg: #0a0e14;
  --bg-warm: #0d1219;
  --panel: #141c28;
  --panel-elevated: #1a2435;
  --text: #f0f4f8;
  --muted: #94a3b8;
  --accent: #2dd4bf;
  --accent-dim: rgba(45, 212, 191, 0.15);
  --sun: #fbbf24;
  --sun-dim: rgba(251, 191, 36, 0.12);
  --water: #38bdf8;
  --water-dim: rgba(56, 189, 248, 0.12);
  --border: #2a3548;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", var(--font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(45, 212, 191, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 20%, rgba(56, 189, 248, 0.08), transparent);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.kid-line {
  font-family: var(--font-display);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 16px;
  background: var(--accent);
  color: #042f2e;
  font-weight: 800;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

/* Logo — tmavý znak na tmavém webu: invert na „světlou“ variantu + jemný světelný obrys (PNG zůstává průhledné) */
.site-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 8px;
}

.site-logo-link:hover .site-logo {
  filter: invert(1) drop-shadow(0 0 2px rgba(255, 255, 255, 0.5)) drop-shadow(0 6px 28px rgba(45, 212, 191, 0.3));
}

.site-logo {
  display: block;
  height: clamp(62px, 10.5vw, 88px);
  width: auto;
  max-width: min(400px, 94vw);
  object-fit: contain;
  filter: invert(1) drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.45)) drop-shadow(0 4px 22px rgba(45, 212, 191, 0.2));
  transition: filter 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .site-logo {
    transition: none;
  }
}

.site-logo--footer {
  height: 56px;
  max-width: 300px;
}

.site-logo--nav {
  height: 48px;
  max-width: 250px;
}

.hero-brand {
  margin: 0 0 1.15rem;
  text-decoration: none;
  color: inherit;
}

a.footer-brand-row {
  margin-bottom: 12px;
  text-decoration: none;
  color: inherit;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 64px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero-visual {
  order: -1;
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  padding: 0 4px;
}

@media (min-width: 900px) {
  .hero-visual {
    order: 0;
    margin: 0;
    max-width: none;
    width: 100%;
  }
}

/* Jemný „světelný“ kruh za fotkou */
.hero-photo-glow {
  position: absolute;
  width: 85%;
  height: 70%;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(45, 212, 191, 0.22) 0%,
    rgba(56, 189, 248, 0.08) 45%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.hero-photo-frame {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(45, 212, 191, 0.35);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 0, 0, 0.2) inset;
  background: var(--panel);
  transform: rotate(-1.25deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
  .hero-visual:hover .hero-photo-frame {
    transform: rotate(0deg) scale(1.01);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(45, 212, 191, 0.25) inset;
  }
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  aspect-ratio: 1024 / 559;
  object-fit: contain;
  background: radial-gradient(circle at 50% 40%, #132337 0%, #0a1628 100%);
}

.hero-photo-caption {
  position: relative;
  z-index: 1;
  margin: 14px 8px 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.badge-emoji {
  font-size: 1.15rem;
}

h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.lead {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 0 20px;
}

.lead strong {
  color: var(--text);
}

.hero h2.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 40rem;
  letter-spacing: -0.01em;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-strip .ic {
  font-size: 1.1rem;
}

/* ——— Sections ——— */
.section {
  padding: clamp(44px, 7vw, 72px) 0;
}

.section.alt {
  background: var(--panel);
  border-block: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-head .sub {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

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

.card {
  background: var(--panel-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.section.alt .card {
  background: var(--bg-warm);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 212, 191, 0.35);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.card-icon.teal {
  background: var(--accent-dim);
}
.card-icon.sun {
  background: var(--sun-dim);
}
.card-icon.water {
  background: var(--water-dim);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Dětský pruh */
.kid-band {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.08), rgba(56, 189, 248, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 40px;
  position: relative;
}

.kid-band::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  border: 12px solid transparent;
  border-bottom-color: rgba(45, 212, 191, 0.2);
  transform: translateY(-100%);
  display: none;
}

.kid-band h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--accent);
}

.kid-line {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 12px;
}

.kid-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.kid-list li {
  margin-bottom: 8px;
}

/* Premium row */
.premium-row {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.premium-card {
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.premium-card.free {
  background: var(--panel-elevated);
}

.premium-card.plus {
  background: linear-gradient(160deg, rgba(45, 212, 191, 0.12), var(--panel-elevated));
  border-color: rgba(45, 212, 191, 0.4);
}

.premium-card h3 {
  margin-top: 0;
}

.premium-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.premium-card li {
  margin-bottom: 8px;
}

.premium-card-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin: -6px 0 16px;
  line-height: 1.45;
}

.plan-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--accent);
  letter-spacing: 0.02em;
}

.premium-card .btn {
  margin-top: 18px;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.premium-plan-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.5;
}

.closing-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.closing-inner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.closing-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 22px;
}

/* FAQ */
.faq-grid .card h3 {
  font-size: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
  background: var(--accent);
  color: #042f2e;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  filter: brightness(1.08);
  transform: scale(1.02);
}

.btn:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 2px solid rgba(45, 212, 191, 0.5);
}

/* Waitlist */
.waitlist-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.waitlist-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.waitlist-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.hint {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}

input,
select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.checkbox-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: left;
}

.checkbox-row input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--accent);
}

.checkbox-row label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.checkbox-row a {
  color: var(--accent);
  font-weight: 600;
}

.form-message {
  min-height: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-message.ok {
  color: var(--accent);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  background: var(--bg-warm);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-copy {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 420px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--water);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

a {
  color: var(--water);
}

/* Cookie lišta */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px;
  display: none;
  pointer-events: none;
}

.cookie-banner.is-visible {
  display: block;
  pointer-events: auto;
}

.cookie-inner {
  max-width: 960px;
  margin: 0 auto;
  background: var(--panel-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .cookie-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.cookie-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.cookie-text strong {
  color: var(--text);
}

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

.cookie-actions .btn {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn-cookie-decline {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Právní stránky */
.legal-nav {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.legal-nav a {
  font-weight: 700;
  text-decoration: none;
}

.legal-nav .legal-back {
  margin-left: auto;
}

.legal-nav a:hover {
  text-decoration: underline;
}

.legal-doc {
  max-width: 720px;
  margin: 0 auto 64px;
  padding: 0 16px;
}

.legal-doc h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.legal-doc .legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.legal-doc h2 {
  font-size: 1.2rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.legal-doc h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal-doc ul {
  padding-left: 1.25rem;
}

.legal-doc strong {
  color: var(--text);
}

.legal-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.legal-doc .legal-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.5;
}
