/* ==========================================================================
   PAIS Starter v5 — text z v2, nová kompozice.
   Staví na tokens.css + reset.css + components.css + funnel.css.
   Na v2 ani na sdílené CSS nesahá — vlastní prefix ps5-.

   Kompoziční teze: stránka je prodejní argument, ne galerie karet.
   Proto se střídá hustota (hustý pás → tichý pás), sekce nemají stejný
   tvar a váha uvnitř dvojic je záměrně nesouměrná (dnes/potom, ano/ne).
   ========================================================================== */

.ps5-page {
  --ps5-max: 1120px;
  --ps5-pad: clamp(46px, 5.5vw, 76px);
  --ps5-line: rgba(57, 215, 232, .16);
  --ps5-glass: rgba(2, 8, 22, .78);
  color: var(--fg-on-dark-1, #fff);
}

.ps5-gtm-frame { display: none; visibility: hidden; }

/* ---- typografie ---------------------------------------------------- */
.ps5-h1 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.05rem, 3.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}

.ps5-h2 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: -.02em;
}

.ps5-h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
}

.ps5-lead {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .74);
  max-width: 56ch;
}

.ps5-lead strong { color: #fff; font-weight: 600; }

.ps5-label {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.ps5-label.is-accent { color: #39D7E8; }

.ps5-eyebrow {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #39D7E8;
}

/* ---- layout primitivy ---------------------------------------------- */
.ps5-inner { width: min(var(--ps5-max), 100%); margin: 0 auto; }
.ps5-narrow { width: min(780px, 100%); margin: 0 auto; }

.ps5-section { padding: var(--ps5-pad) 20px; }

.ps5-head { max-width: 54ch; margin-bottom: clamp(28px, 3.5vw, 44px); }
.ps5-head .ps5-label { display: block; margin-bottom: 12px; }
.ps5-head p {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
}

/* ==========================================================================
   Nav — stálá cesta k ceně (v2 ji neměla; k nabídce se šlo jen scrollem)
   ========================================================================== */
.ps5-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 7, 21, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ps5-line);
}

.ps5-nav-inner {
  width: min(var(--ps5-max), 100%);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ps5-nav img { width: 132px; height: auto; }

.ps5-nav-right { display: flex; align-items: center; gap: 18px; }

.ps5-nav-price { font-size: .95rem; color: rgba(255, 255, 255, .62); }
.ps5-nav-price strong { color: #fff; font-weight: 700; }
.ps5-nav-price s { color: rgba(255, 255, 255, .42); }

.ps5-nav .btn { padding: .62em 1.4em; font-size: .95rem; }

@media (max-width: 760px) {
  .ps5-nav-price { display: none; }
  .ps5-nav .btn { font-size: .875rem; padding: .58em 1.1em; }
  /* popisek s cenou se na telefonu nevejde na řádek — zalomí se, místo aby přetekl */
  .ps5-nav img { flex-shrink: 0; }
  .ps5-nav-right { min-width: 0; }
  .ps5-nav .btn { white-space: normal; text-align: center; line-height: 1.2; }
}

/* ==========================================================================
   Hero — cíl: nabídka i CTA se vejdou na první obrazovku
   ========================================================================== */
.ps5-hero { padding: clamp(36px, 4.5vw, 60px) 20px clamp(44px, 5.5vw, 72px); }

.ps5-hero-inner {
  width: min(var(--ps5-max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 3.5vw, 52px);
  /* video je nižší než textový sloupec — vycentrované nenechá pod sebou díru */
  align-items: center;
}

.ps5-hero-copy > * + * { margin-top: 20px; }
.ps5-hero-copy .ps5-h1 { margin-top: 14px; }

.ps5-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
}

.ps5-cta-row.is-center { align-items: center; margin-top: 30px; }

.ps5-cta-meta { font-size: .95rem; color: rgba(255, 255, 255, .6); }
.ps5-cta-meta strong { color: #fff; font-weight: 700; }

.ps5-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 22px;
}

.ps5-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .66);
}

.ps5-trust li::before {
  content: "✓";
  color: #00D3AE;
  font-size: .875rem;
}

.ps5-hero-demo .fn-video { margin: 0; max-width: none; }

.ps5-hero-demo figcaption {
  margin-top: 12px;
  font-size: .875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .55);
}

/* Na mobilu jde tlačítko s cenou před video: video skoro nikdo nespouští
   a CTA by jinak skončilo pod první obrazovkou. */
@media (max-width: 900px) {
  .ps5-hero-inner { grid-template-columns: minmax(0, 1fr); }
}

/* .btn má z components.css white-space:nowrap — dlouhý český popisek
   by na mobilu roztáhl celý grid a stránka by přetekla do stran. */
@media (max-width: 560px) {
  .ps5-cta-row .btn {
    white-space: normal;
    max-width: 100%;
    line-height: 1.25;
  }
  .ps5-cta-row .btn-lg { font-size: 1.05rem; padding: 16px 24px; }
}

/* ==========================================================================
   Dnes → potom. Ne dvě symetrické karty, ale nesouměrná dvojice:
   „dnes" je ztlumené a užší, „potom" nese váhu.
   ========================================================================== */
.ps5-shift {
  padding: var(--ps5-pad) 20px;
  border-top: 1px solid var(--ps5-line);
  border-bottom: 1px solid var(--ps5-line);
  background: linear-gradient(180deg, rgba(0, 117, 238, .07), rgba(0, 176, 149, .04));
}

.ps5-shift-title { margin-bottom: clamp(28px, 3.5vw, 44px); }

.ps5-shift-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}

.ps5-shift-grid h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
  margin: 10px 0 16px;
}

.ps5-shift-grid ul { display: grid; gap: 10px; }

.ps5-shift-grid li {
  font-size: .95rem;
  line-height: 1.55;
  padding-left: 26px;
  position: relative;
}

.ps5-then { color: rgba(255, 255, 255, .5); padding-top: 6px; }
.ps5-then h3 { color: rgba(255, 255, 255, .72); }
.ps5-then li::before {
  content: "×";
  position: absolute;
  left: 4px;
  top: -1px;
  color: rgba(232, 70, 91, .8);
  font-size: 1.05rem;
}

.ps5-now {
  background: var(--ps5-glass);
  border: 1px solid rgba(57, 215, 232, .26);
  border-radius: var(--r-md, 20px);
  padding: clamp(22px, 2.6vw, 32px);
}

.ps5-now h3 { color: #fff; }
.ps5-now li { color: rgba(255, 255, 255, .8); }
.ps5-now li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  top: 0;
  color: #00D3AE;
  font-size: .95rem;
}

@media (max-width: 780px) {
  .ps5-shift-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Tři situace ze dne — obrázek nese sdělení, text pod ním.
   Bez rámečků karet: tři stejné karty vedle sebe = mřížka, ne argument.
   ========================================================================== */
.ps5-day {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.6vw, 34px);
}

.ps5-day img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(57, 215, 232, .18);
}

.ps5-when {
  margin: 16px 0 6px;
  font-family: var(--ff-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #39D7E8;
}

.ps5-day h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ps5-day p {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
}

@media (max-width: 860px) {
  .ps5-day { grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 480px; }
}

/* ==========================================================================
   Co si kupuješ — výklad vlevo, tři kroky vpravo jako linka, ne karty
   ========================================================================== */
.ps5-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.ps5-split .ps5-label { display: block; margin-bottom: 12px; }
.ps5-split .ps5-h2 { margin-bottom: 18px; }

.ps5-note {
  margin-top: 18px;
  padding-left: 18px;
  border-left: 2px solid rgba(57, 215, 232, .45);
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .68);
}

.ps5-note strong { color: #fff; font-weight: 600; }

/* Titulek info bubliny. Ve funnel.css je to <h4>, což hned za <h1> dělá
   přeskočenou úroveň nadpisu — je to popisek tooltipu, ne osnova stránky. */
.fn-info-pop .ps5-info-title {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  margin-bottom: .4em;
}

/* obrázek jako pravý sloupec ve dvousloupci (v1: „druhý mozek") */
.ps5-figure {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(57, 215, 232, .18);
}

/* pointa pod hustým blokem — jediná věta, která si bere prostor */
.ps5-pointa {
  margin-top: clamp(24px, 3vw, 34px);
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.3;
  color: #fff;
}

.ps5-note-center {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.ps5-steps {
  counter-reset: ps5step;
  display: grid;
  gap: 2px;
}

.ps5-steps li {
  counter-increment: ps5step;
  position: relative;
  padding: 18px 0 18px 58px;
  border-bottom: 1px solid var(--ps5-line);
}

.ps5-steps li:last-child { border-bottom: 0; }

.ps5-steps li::before {
  content: counter(ps5step);
  position: absolute;
  left: 0;
  top: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(57, 215, 232, .4);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .95rem;
  color: #7EE7F2;
}

.ps5-steps strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}

.ps5-steps span {
  display: block;
  margin-top: 3px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 860px) {
  .ps5-split { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Dvě cesty zprovoznění.
   Tady jsou karty na místě a schválně stejně velké: obě cesty jsou
   rovnocenné a vedou ke stejnému výsledku, takže by nesouměrnost lhala.
   ========================================================================== */
.ps5-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.ps5-paths article {
  display: flex;
  flex-direction: column;
  background: var(--ps5-glass);
  border: 1px solid rgba(57, 215, 232, .18);
  border-radius: var(--r-md, 20px);
  padding: clamp(22px, 2.6vw, 30px);
}

/* pozor na specificitu: .ps5-paths p by jinak barvu přebilo */
.ps5-paths .ps5-path-tag {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #39D7E8;
}

.ps5-paths h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
  color: #fff;
  margin: 10px 0 12px;
}

.ps5-paths p {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .7);
}

.ps5-paths .ps5-path-time {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: .875rem;
  color: #7EE7F2;
}

@media (max-width: 760px) {
  .ps5-paths { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Balíček — definiční seznam, ne mřížka čtyř stejných karet
   ========================================================================== */
.ps5-package {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px clamp(28px, 4vw, 60px);
}

.ps5-package > div {
  padding: 22px 0;
  border-top: 1px solid var(--ps5-line);
}

.ps5-package dt {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 8px;
}

.ps5-package dd {
  font-size: .95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
}

.ps5-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(28px, 3.5vw, 44px);
  padding-top: 26px;
  border-top: 1px solid var(--ps5-line);
}

.ps5-timeline li { position: relative; padding-left: 20px; }

.ps5-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aiu-gradient-h);
}

.ps5-timeline strong {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.ps5-timeline span {
  display: block;
  margin-top: 2px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .6);
}

@media (max-width: 760px) {
  .ps5-package { grid-template-columns: minmax(0, 1fr); }
  .ps5-timeline { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ==========================================================================
   Pro koho — „ano" vede, „ne" je ztlumená poznámka na okraji
   ========================================================================== */
.ps5-fit {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
}

.ps5-fit .ps5-label { display: block; margin-bottom: 12px; }
.ps5-fit-yes .ps5-h2 { margin-bottom: 22px; }

.ps5-fit-yes ul { display: grid; gap: 12px; }

.ps5-fit-yes li {
  position: relative;
  padding-left: 30px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

.ps5-fit-yes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #00D3AE;
}

.ps5-fit-no {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-md, 20px);
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .025);
}

.ps5-fit-no ul { display: grid; gap: 10px; margin-top: 14px; }

.ps5-fit-no li {
  position: relative;
  padding-left: 22px;
  font-size: .95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .58);
}

.ps5-fit-no li::before {
  content: "×";
  position: absolute;
  left: 4px;
  top: -2px;
  color: rgba(232, 70, 91, .75);
  font-size: 1.05rem;
}

@media (max-width: 860px) {
  .ps5-fit { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Nabídka — nejhlasitější pás stránky
   ========================================================================== */
.ps5-offer-section {
  padding: var(--ps5-pad) 20px;
  border-top: 1px solid var(--ps5-line);
  border-bottom: 1px solid var(--ps5-line);
  background: linear-gradient(180deg, rgba(0, 117, 238, .1), rgba(0, 176, 149, .05));
  scroll-margin-top: 76px;
}

.ps5-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.ps5-offer .ps5-label { display: block; margin-bottom: 12px; }
.ps5-offer .ps5-h2 { margin-bottom: 22px; }

.ps5-offer-list { display: grid; gap: 11px; margin-bottom: 26px; }

.ps5-offer-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
}

.ps5-offer-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #00D3AE;
}

.ps5-subsidy {
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-md, 20px);
  border: 1px solid var(--ps5-line);
  background: rgba(2, 8, 22, .55);
}

.ps5-subsidy h3 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 10px;
}

.ps5-subsidy p {
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
}

.ps5-subsidy p + p { margin-top: 12px; }
.ps5-subsidy-note { color: rgba(255, 255, 255, .6) !important; }

/* Sloupec s cenou: karta + odpovědi na nejčastější námitky hned pod ní */
.ps5-price-col {
  position: sticky;
  top: 84px;
}

.ps5-price-faq { margin-top: 16px; }

.ps5-price-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: clamp(24px, 3vw, 34px) clamp(20px, 2.6vw, 30px);
  border-radius: 24px;
  border: 1px solid rgba(57, 215, 232, .34);
  background: rgba(2, 8, 22, .92);
}

.ps5-price-card .fn-price-toggle { margin-bottom: 20px; }

.ps5-price-panel { display: grid; justify-items: center; gap: 2px; }
.ps5-price-panel[hidden] { display: none; }

.ps5-price-old { font-size: 1.05rem; color: rgba(255, 255, 255, .5); }
.ps5-price-old s { text-decoration-color: rgba(232, 70, 91, .7); }

.ps5-price-main {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -.02em;
}

.ps5-price-unit { font-size: .95rem; color: rgba(255, 255, 255, .6); }

.ps5-price-panel p {
  margin-top: 12px;
  font-size: .875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}

.ps5-price-card .btn {
  margin-top: 22px;
  width: 100%;
  justify-content: center;
  white-space: normal;
  line-height: 1.25;
}

.ps5-price-card small {
  margin-top: 10px;
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
}

.ps5-price-guarantee {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ps5-line);
  width: 100%;
  font-size: .95rem;
  color: rgba(255, 255, 255, .74);
}

.ps5-price-guarantee span { color: #00D3AE; margin-right: 6px; }

@media (max-width: 900px) {
  .ps5-offer { grid-template-columns: minmax(0, 1fr); }
  .ps5-price-col { position: static; order: -1; }
}

/* ==========================================================================
   Autor — tichý pás po hlasité nabídce
   ========================================================================== */
.ps5-author {
  display: flex;
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  max-width: 860px;
}

.ps5-author img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(57, 215, 232, .35);
}

.ps5-author p {
  margin-top: 12px;
  font-size: .95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 640px) {
  .ps5-author { flex-direction: column; align-items: flex-start; }
}

/* ---- FAQ ------------------------------------------------------------ */
.ps5-faq-title { margin-bottom: clamp(24px, 3vw, 36px); }

/* ==========================================================================
   Závěr
   ========================================================================== */
.ps5-final {
  padding: clamp(60px, 7vw, 100px) 20px clamp(70px, 8vw, 110px);
  text-align: center;
  border-top: 1px solid var(--ps5-line);
}

.ps5-final .ps5-label { display: block; margin-bottom: 16px; }
