/* =========================================================
   Psaní Deseti Prsty - marketingový web
   Tmavý neonový vizuál (dle hero návrhu z Claude Design) - jediný motiv,
   přepínač světlý/tmavý byl odstraněn (neon na světlém pozadí nefunguje).
   ========================================================= */

:root {
  --bg:          #050a16;
  --surface:     #0c1526;
  --surface-alt: #081020;
  --text:        #eef4ff;
  --text-soft:   rgba(232, 242, 255, 0.72);
  --border:      rgba(120, 170, 255, 0.16);

  --brand-blue:  #39bdf8;
  --brand-green: #a8e63a;   /* neonová limetka - hlavní akcent CTA */
  --accent:      #25d3ee;
  --amber:       #f59e0b;
  --lime-ink:    #07110a;   /* text na limetkovém tlačítku */

  --grad:        linear-gradient(100deg, #39bdf8, #25d3ee);
  --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md:   0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg:   0 24px 60px rgba(0, 0, 0, 0.55);
}

/* ── Reset / základ ── */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth; scroll-padding-top: 90px;
  /* Mobil (nalezeno na Honor 70 se zvětšeným systémovým písmem): Android násobí velikost
     textu, nowrap tlačítka pak přetečou displej o pár px → stránkou šlo hýbat do stran.
     Pojistka: vodorovné přetečení stránky se nikdy neprojeví posuvem. */
  overflow-x: hidden;
}
body { overflow-x: hidden; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; line-height: 1.2; color: var(--text); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Tlačítka ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-family: 'Poppins', sans-serif;
  border-radius: 12px; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
  padding: 10px 20px; font-size: 0.95rem; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

.btn-gradient { background: var(--grad); color: #04121e; box-shadow: var(--shadow-sm); }
.btn-gradient:hover { box-shadow: 0 8px 30px rgba(37, 211, 238, 0.35); }
.btn-lime { background: var(--brand-green); color: var(--lime-ink); box-shadow: 0 12px 40px rgba(168, 230, 58, 0.28); }
.btn-lime:hover { filter: brightness(1.06); box-shadow: 0 14px 46px rgba(168, 230, 58, 0.4); }
.btn-outline { border-color: rgba(120, 170, 255, 0.3); color: var(--text); background: rgba(120, 170, 255, 0.08); }
.btn-outline:hover { border-color: var(--brand-blue); }
.btn-ghost { color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); }
.btn-light { background: #fff; color: var(--brand-blue); }
.btn-outline-light { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ── Hlavička ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
/* (site-header používá už jen objednavka.php - sladí se v kroku 4) */
.header-inner { display: flex; align-items: center; gap: 20px; height: 78px; }
.logo img { height: 56px; }
.main-nav { display: flex; gap: 24px; margin-left: 12px; }
.main-nav a { color: var(--text-soft); font-weight: 500; font-size: 0.95rem; }
.main-nav a:hover { color: var(--brand-blue); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Přepínač motivu odstraněn (web je dark-only); objednavka.php ho skryje do sladění. */
.theme-toggle { display: none; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ── Hero s vlastní hlavičkou - CSS převzato 1:1 z návrhu Claude Design
   (selektory scopované pod .hero, hodnoty beze změny) ── */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
  background: radial-gradient(120% 90% at 85% 15%, #0e1c3a 0%, #0a1327 45%, #050a16 100%);
}
.hero-header, .hero-content { position: relative; z-index: 2; }
.hero-header { display: flex; align-items: center; justify-content: space-between; padding: 26px 60px; }
.hero-logo { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -0.02em; }
.hero-logo .lg-blue { color: #39bdf8; }
.hero-logo .lg-lime { color: #a8e63a; }
.hero-nav { display: flex; align-items: center; gap: 34px; font-weight: 600; font-size: 16px; color: rgba(232,242,255,0.82); }
.hero-nav a { color: inherit; }
.hero-nav a:hover { color: #a8e63a; }
.hero-nav a.cta { padding: 11px 22px; border-radius: 999px; background: #a8e63a; color: #07110a; font-weight: 700; white-space: nowrap; }
.hero-nav a.cta:hover { color: #07110a; filter: brightness(1.05); }
.hero-content { flex: 1; display: grid; grid-template-columns: minmax(440px, 1fr) minmax(0, 1.25fr); align-items: center; gap: 56px; padding: 20px 60px 60px; }
.hero-inner { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border-radius: 999px; background: rgba(120,170,255,0.1);
  border: 1px solid rgba(37,211,238,0.35);
  font-weight: 600; font-size: 14px; letter-spacing: 0.08em;
  color: #25d3ee; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #a8e63a; box-shadow: 0 0 10px #a8e63a; }
.hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 66px; line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 22px; }
.hero h1 .c-cyan { color: #25d3ee; }
.hero h1 .c-lime { color: #a8e63a; }
.hero-lead { font-size: 21px; line-height: 1.6; color: rgba(232,242,255,0.72); margin: 0 0 38px; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .btn-primary {
  padding: 17px 34px; border-radius: 14px; background: #a8e63a; color: #07110a;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 19px;
  box-shadow: 0 12px 40px rgba(168,230,58,0.28);
}
.hero .btn-primary:hover { color: #07110a; filter: brightness(1.05); }
.hero .btn-ghost-hero {
  padding: 17px 30px; border-radius: 14px; background: rgba(120,170,255,0.08);
  border: 1px solid rgba(120,170,255,0.3); color: #eef4ff;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 19px;
}
.hero .btn-ghost-hero:hover { color: #eef4ff; }
.hero-meta { display: flex; align-items: center; gap: 30px; margin-top: 44px; color: rgba(232,242,255,0.6); font-size: 15px; font-weight: 500; }
.hero-meta strong { color: #eef4ff; font-family: 'Poppins', sans-serif; }
.hero-meta .sep { width: 1px; height: 20px; background: rgba(232,242,255,0.2); }
.hero-media { position: relative; }
.hero-media video {
  display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 18px; border: 1px solid rgba(37,211,238,0.4);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55); background: #0a1120;
}
.hero-media::before {
  content: ""; position: absolute; inset: -14px; border-radius: 24px;
  background: linear-gradient(135deg, #25d3ee, #a8e63a);
  filter: blur(30px); opacity: 0.35; z-index: -1;
}
@media (max-width: 1280px) {
  .hero-nav { gap: 18px; font-size: 15px; }
}
@media (max-width: 900px) {
  .hero-header { padding: 20px 24px; }
  .hero-nav { gap: 18px; font-size: 14px; }
  .hero-nav a:not(.cta) { display: none; }
  .hero-content { grid-template-columns: 1fr; gap: 36px; padding: 20px 24px 48px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 18px; }
  .hero-meta { flex-wrap: wrap; gap: 14px; }
  .hero-meta .sep { display: none; }   /* svislítko samotné na řádku vypadalo divně */
}

.screenshot-frame {
  border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.hero-visual .screenshot-frame { transform: rotate(1.5deg); }

/* ── Pás čísel ── */
.stats-band { background: var(--surface-alt); padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat { color: var(--text); }
.stat-num {
  display: block; font-family: 'Roboto Mono', monospace; font-size: 2.5rem; font-weight: 700;
  color: var(--accent); text-shadow: 0 0 24px rgba(37, 211, 238, 0.45);
}
.stat:nth-child(even) .stat-num { color: var(--brand-green); text-shadow: 0 0 24px rgba(168, 230, 58, 0.35); }
.stat-label { font-size: 0.95rem; color: var(--text-soft); }

/* ── Sekce ── */
.section { padding: 76px 0; }
.section-alt { background: var(--surface-alt); }
.section-title { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.section-title.left { text-align: left; }
.section-lead { text-align: center; color: var(--text-soft); font-size: 1.1rem; margin: 12px auto 44px; max-width: 620px; }
.section-lead.left { text-align: left; margin-left: 0; }

/* ── Karty (proč my) ── */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(37, 211, 238, 0.45); box-shadow: 0 12px 40px rgba(37, 211, 238, 0.12); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.7rem;
  background: rgba(120, 170, 255, 0.1); border: 1px solid rgba(37, 211, 238, 0.3);
  margin-bottom: 14px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-soft); font-size: 0.97rem; }

/* ── Kroky ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 0 8px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #25d3ee, #a8e63a);
  color: #07110a; font-family: 'Poppins'; font-weight: 700; font-size: 1.4rem; margin-bottom: 14px;
  box-shadow: 0 0 24px rgba(37, 211, 238, 0.3);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ── Hry ── */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(168, 230, 58, 0.45); box-shadow: 0 12px 40px rgba(168, 230, 58, 0.12); }
.game-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #0b1220; }
.game-shot img { width: 100%; height: 100%; object-fit: cover; }
.game-body { padding: 18px 20px 22px; }
.game-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.game-emoji { margin-right: 4px; }
.game-body p { color: var(--text-soft); font-size: 0.95rem; }

/* ── Split (gamifikace) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--text-soft); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-green); font-weight: 700; }
.feature-list strong { color: var(--text); }
.split-visual { position: relative; }
.split-visual .screenshot-frame--overlap {
  position: absolute; right: -10px; bottom: -34px; width: 58%; transform: rotate(3deg);
}

/* ── Persony ── */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.persona {
  text-align: center; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.persona:hover { transform: translateY(-4px); border-color: rgba(37, 211, 238, 0.45); box-shadow: 0 12px 40px rgba(37, 211, 238, 0.12); }
.persona-emoji { font-size: 2.4rem; margin-bottom: 12px; }
.persona h3 { font-size: 1.15rem; margin-bottom: 8px; }
.persona p { color: var(--text-soft); font-size: 0.95rem; }

/* ── Reference ── */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.02rem; margin-bottom: 14px; }
.quote cite { color: var(--text-soft); font-style: normal; font-size: 0.9rem; }

/* ── Ceník ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 30px 22px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; text-align: center;
}
.price-card--top { border: 2px solid transparent; background:
  linear-gradient(var(--surface), var(--surface)) padding-box,
  linear-gradient(135deg, #25d3ee, #a8e63a) border-box;
  box-shadow: 0 12px 46px rgba(168, 230, 58, 0.14); }
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand-green); color: var(--lime-ink); font-size: 0.78rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 0 18px rgba(168, 230, 58, 0.4);
}
.price-name { font-size: 1.2rem; margin-bottom: 8px; }
.price-value { font-family: 'Roboto Mono', monospace; font-size: 2rem; font-weight: 700; margin-bottom: 6px; color: var(--brand-green); }
.price-desc { color: var(--text-soft); font-size: 0.9rem; margin-bottom: 18px; }
.price-features { list-style: none; text-align: left; display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; flex: 1; }
.price-features li { position: relative; padding-left: 24px; font-size: 0.92rem; color: var(--text-soft); }
.price-features li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-green); font-weight: 700; }
.cenik-note { text-align: center; color: var(--text-soft); margin-top: 28px; font-size: 0.95rem; }
.cenik-note a { color: var(--brand-blue); font-weight: 600; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color 0.15s; }
.faq-item.open, .faq-item:hover { border-color: rgba(37, 211, 238, 0.4); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: none; border: none; cursor: pointer;
  font-family: 'Poppins'; font-weight: 600; font-size: 1rem; color: var(--text); text-align: left;
}
.faq-arrow { transition: transform 0.2s; color: var(--text-soft); font-size: 1.2rem; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 22px 18px; color: var(--text-soft); }

/* ── Recenze (vzor web-apps-studio, neon vizuál) ── */
.reviews-empty {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 40px 32px; box-shadow: var(--shadow-sm);
}
.reviews-kicker, .kicker {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.reviews-empty h3 { font-size: 1.5rem; margin-bottom: 12px; }
.reviews-empty p { color: var(--text-soft); }
.reviews-empty-note { font-size: 0.9rem; margin-top: 10px; }
.reviews-empty-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

.stars { color: var(--amber); letter-spacing: 2px; text-shadow: 0 0 14px rgba(245, 158, 11, 0.4); }
.stars .hvezda-prazdna { color: rgba(232, 242, 255, 0.18); text-shadow: none; }

.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 28px; }
.reviews-summary strong { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; }
.reviews-summary .stars { font-size: 1.3rem; }
.reviews-count { color: var(--text-soft); font-size: 0.95rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 24px 22px; box-shadow: var(--shadow-sm); transition: border-color 0.15s;
}
.review-card:hover { border-color: rgba(37, 211, 238, 0.4); }
.review-text p { color: var(--text); font-size: 0.98rem; }
.review-text.je-orezany { max-height: 130px; overflow: hidden; position: relative; }
.review-text.je-orezany::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  background: linear-gradient(rgba(12, 21, 38, 0), var(--surface));
}
.review-text.je-otevreny { max-height: none; }
.review-text.je-otevreny::after { display: none; }
.review-vice {
  align-self: flex-start; background: none; border: none; cursor: pointer;
  color: var(--accent); font-weight: 600; font-size: 0.9rem; padding: 0;
}
.review-vice:hover { color: var(--brand-green); }
.review-reply {
  background: rgba(120, 170, 255, 0.06); border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0; padding: 10px 14px; font-size: 0.92rem;
}
.review-reply b { color: var(--accent); font-size: 0.85rem; }
.review-reply p { color: var(--text-soft); margin-top: 4px; }
.review-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.review-footer b { font-family: 'Poppins', sans-serif; }
.review-footer time { color: var(--text-soft); font-size: 0.85rem; }

/* Panel „Napsat recenzi" + formulář */
.recenze-panel {
  max-width: 640px; margin: 30px auto 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
}
.recenze-panel[open] { border-color: rgba(37, 211, 238, 0.4); }
.recenze-panel summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem;
}
.recenze-panel summary::-webkit-details-marker { display: none; }
.recenze-panel .plus { color: var(--brand-green); font-size: 1.4rem; font-weight: 700; transition: transform 0.2s; }
.recenze-panel[open] .plus { transform: rotate(45deg); }
.recenze-form { display: flex; flex-direction: column; gap: 16px; padding: 4px 22px 24px; }
.web-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.92rem; }
.web-form label small { color: var(--text-soft); font-weight: 400; }
.web-form input[type="text"], .web-form input[type="email"], .web-form textarea {
  background: rgba(120, 170, 255, 0.06); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font: inherit; font-weight: 400; padding: 11px 14px;
}
.web-form input:focus, .web-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37, 211, 238, 0.15);
}
.web-form textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field-row label { min-width: 0; }
/* Inputy v .field-row nikdy nepřerostou svou buňku (vrozená šířka inputu je ~20 znaků,
   se zvětšeným systémovým písmem na mobilu přetékaly z karty) */
.field-row input { width: 100%; min-width: 0; }
/* Inputy vedle sebe zarovnané ke spodku buňky, i když má jeden label delší popisek */
.field-row label input { margin-top: auto; }
.web-form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--text-soft); }
.web-form .check input { margin-top: 3px; accent-color: var(--brand-green); }
.web-form .check a { color: var(--accent); }
.field-err { color: #fca5a5; font-style: normal; font-size: 0.85rem; font-weight: 400; }
.form-stav:empty { display: none; }   /* prázdný kontejner hlášek nezabírá místo (gap formuláře) */
.form-note { border-radius: 10px; padding: 12px 16px; font-size: 0.95rem; }
.form-ok { background: rgba(168, 230, 58, 0.1); border: 1px solid rgba(168, 230, 58, 0.4); color: #d3f39a; }
.form-err { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hvězdičkové hodnocení (radio, v obráceném pořadí 5..1 kvůli CSS sourozencům) */
.hodnoceni-pole { border: none; padding: 0; margin: 0; }
.hodnoceni-pole legend { font-weight: 600; font-size: 0.92rem; margin-bottom: 8px; }
.hvezdicky { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.hvezdicky input { position: absolute; opacity: 0; pointer-events: none; }
.hvezdicky label { cursor: pointer; font-size: 1.9rem; line-height: 1; color: rgba(232, 242, 255, 0.18); transition: color 0.1s; }
.hvezdicky label::before { content: "★"; }
.hvezdicky label:hover, .hvezdicky label:hover ~ label,
.hvezdicky input:checked ~ label {
  color: var(--amber); text-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
}

/* ── Kontakt (jen e-mail, bez DB) ── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.contact-copy .section-lead.left { margin-bottom: 28px; }
.contact-lines { display: flex; flex-direction: column; gap: 14px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; color: var(--text); }
.contact-lines a:hover b { color: var(--accent); }
.contact-ico {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 12px; font-weight: 700; font-size: 1.1rem;
  background: rgba(120, 170, 255, 0.1); border: 1px solid rgba(37, 211, 238, 0.3); color: var(--accent);
}
.contact-lines small { display: block; color: var(--text-soft); font-size: 0.8rem; }
.contact-lines b { transition: color 0.15s; }
.kontakt-form {
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}

/* ── Závěrečné CTA ── */
.final-cta {
  background: radial-gradient(120% 120% at 50% 100%, #0e1c3a 0%, #0a1327 50%, #050a16 100%);
  padding: 70px 0; text-align: center; color: #fff; border-top: 1px solid var(--border);
}
.final-cta h2 { color: #fff; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.final-cta p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 28px; }
.final-cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Právní stránky (gdpr.php, podminky.php) - obálka sdíleného obsahu ── */
.legal-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; border-bottom: 1px solid var(--border); background: var(--surface-alt);
}
.legal-container { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.legal-container .page-title { font-family: 'Poppins', sans-serif; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
.legal-container .page-subtitle { color: var(--text-soft); font-size: 0.85rem; margin-bottom: 36px; }
.legal-container h2 {
  font-size: 1.15rem; color: var(--accent); margin: 32px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(37, 211, 238, 0.2);
}
.legal-container p { margin-bottom: 12px; color: var(--text-soft); }
.legal-container strong { color: var(--text); }
.legal-container ul { margin: 8px 0 12px 20px; color: var(--text-soft); }
.legal-container li { margin-bottom: 6px; }
.legal-container .highlight {
  background: var(--surface); border-left: 3px solid var(--accent);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 16px 0;
}
.legal-container a { color: var(--accent); }
.legal-container a:hover { color: var(--brand-green); }
/* Tlačítka uvnitř textu si musí udržet vlastní barvu písma. Pravidlo pro odkazy
   výše je jinak přebije (má vyšší specificitu) a na svítivě zeleném tlačítku
   vznikne světle modrý text, který s pozadím splývá. */
.legal-container .btn-lime,
.legal-container .btn-lime:hover { color: var(--lime-ink); }
.legal-container .btn-outline,
.legal-container .btn-outline:hover { color: var(--text); }
.legal-footer { margin-top: 48px; text-align: center; color: var(--text-soft); font-size: 0.85rem; }

/* Hlavička obsahového článku. Přebírá pozadí sekce `hero` z domovské stránky,
   aby článek vypadal jako její součást, ale bez `min-height: 100vh` - na článku
   by to odsunulo text o celou obrazovku níž. */
.hero.clanek-hlavicka { min-height: 0; padding-bottom: 10px; }

/* Obsahové články: stejná typografie jako právní stránky, ale v plné šířce
   obsahu webu. Zúžení na 820 px je u smluvních textů žádoucí, u článku vedle
   domovské stránky ale působilo jako úzký sloupec v prázdné stránce. */
.legal-container.clanek { max-width: 1140px; }
.legal-container.clanek .page-title { font-size: 2.4rem; }
.legal-container.clanek p,
.legal-container.clanek li { font-size: 1.02rem; line-height: 1.75; }

/* ── Patička ── */
.site-footer { background: var(--surface-alt); border-top: 1px solid var(--border); padding: 50px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 40px 90px; }
.footer-logo { height: 100px; margin-bottom: 14px; }
.footer-brand { max-width: 340px; }
.footer-brand p { color: var(--text-soft); font-size: 0.95rem; }
.footer-studio {
  display: inline-block; margin-top: 14px; font-weight: 600; font-size: 0.92rem;
  color: var(--brand-green);
}
.footer-studio:hover { color: var(--accent); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a { color: var(--text-soft); font-size: 0.95rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--brand-blue); }
.footer-contact p { font-weight: 600; margin-bottom: 10px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-soft); font-size: 0.88rem; text-align: center; }

/* ── Zkušební doba: časová osa ── */
.tl { max-width: 940px; margin: 0 auto; }

/* Pás dnů. První dva jsou zdarma hned, zbylých pět se otevře e-mailem. */
.tl-track { display: flex; align-items: stretch; gap: 8px; margin-bottom: 30px; }
.tl-day {
  flex: 1; height: 58px; border-radius: 12px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px;
  font-size: 0.82rem; font-weight: 700;
  transition: transform 0.15s;
}
.tl-day:hover { transform: translateY(-3px); }
.tl-day.is-free {
  background: linear-gradient(160deg, #25d3ee, #a8e63a);
  color: #07110a;
  box-shadow: 0 0 26px rgba(37, 211, 238, 0.28);
}
.tl-day.is-mail {
  background: rgba(120, 170, 255, 0.07);
  border: 1px dashed rgba(37, 211, 238, 0.45);
  color: var(--text-soft);
}
.tl-star {
  flex: 0 0 auto; align-self: center; margin-left: 6px;
  font-size: 1.9rem; line-height: 1; color: var(--amber);
  text-shadow: 0 0 18px rgba(245, 158, 11, 0.5);
}

/* Vysvětlení pod osou */
.tl-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tl-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 20px 22px; box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--border);
}
.tl-card--free  { border-top-color: #25d3ee; }
.tl-card--mail  { border-top-color: #a8e63a; }
.tl-card--after { border-top-color: var(--amber); }
.tl-badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  background: rgba(120, 170, 255, 0.1); color: var(--text-soft);
}
.tl-card--free  .tl-badge { background: rgba(37, 211, 238, 0.14); color: #7fe4f5; }
.tl-card--mail  .tl-badge { background: rgba(168, 230, 58, 0.14); color: #c6ef7a; }
.tl-card--after .tl-badge { background: rgba(245, 158, 11, 0.14); color: #fbc76a; }
.tl-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.tl-card p { color: var(--text-soft); font-size: 0.93rem; line-height: 1.55; }

.tl-actions { display: flex; justify-content: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

/* Přihlášení v hlavičce vedle hlavní akce (drobnější, jen pro ty, kdo licenci mají) */
.hero-nav a.nav-login { font-weight: 600; }

/* ── Responzivita ── */
@media (max-width: 900px) {
  .tl-legend { grid-template-columns: 1fr; }
  .tl-day { height: 46px; font-size: 0.74rem; }
  .cards-grid, .games-grid, .persona-grid, .quotes-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split-visual .screenshot-frame--overlap { position: static; width: 100%; transform: none; margin-top: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-inner { gap: 32px 56px; }

  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 20px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }}

@media (max-width: 560px) {
  /* Zvětšené systémové písmo (Android): tlačítka se raději zalomí, než aby přetekla displej */
  .btn { white-space: normal; }
  .cards-grid, .games-grid, .persona-grid, .quotes-grid, .steps, .pricing-grid, .reviews-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }}
