/** JakToMám — Ceník/Pricing CSS. Extracted from cenik.php. */

.cenik-wrap { max-width: 1020px; margin: 3rem auto; padding: 0 1.5rem 4rem; }
.cenik-wrap h1 { font-size: 1.6rem; margin-bottom: .3rem; }
.cenik-sub { color: #666; margin-bottom: 2.5rem; font-size: .95rem; }

/* ── 3 plan cards ── */
.plan-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .plan-grid-3 { grid-template-columns: 1fr; }
}
.plan-card {
  border: 2px solid #e0e0f0; border-radius: 0; padding: 1.6rem 1.4rem 1.4rem;
  background: var(--color-surface, #fff); display: flex; flex-direction: column; position: relative;
}
.plan-card.featured {
  border-color: #6c6ca8;
  box-shadow: 0 4px 24px rgba(108,108,168,.18);
}
.plan-card.plan-free { background: #fafafa; }

.plan-badge-top {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: #6c6ca8; color: var(--color-surface, #fff); font-size: .68rem; font-weight: 700;
  border-radius: 0; padding: .15rem .75rem;
  white-space: nowrap; letter-spacing: .05em;
}
.early-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #fef9c3; color: #713f12; font-size: .74rem; font-weight: 700;
  border-radius: 0; padding: .14rem .5rem; margin-bottom: .55rem;
}

.plan-name  { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; }
.plan-price { font-size: 1.8rem; font-weight: 800; color: var(--color-nav, #1a1a2e); margin: .45rem 0 .2rem; line-height: 1; }
.plan-price small { font-size: .85rem; font-weight: 400; color: #888; }
.plan-price .strikethrough { text-decoration: line-through; color: #ccc; font-size: 1rem; font-weight: 400; margin-right: .2rem; }
.promo-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e;
  font-size: .72rem; font-weight: 700; border-radius: 0;
  padding: .18rem .55rem; margin-bottom: .4rem; letter-spacing: .02em;
  box-shadow: 0 1px 3px rgba(146,64,14,.12);
}
.promo-badge::before { content: '🏷️'; font-size: .78rem; }
.promo-price-row {
  display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap;
}
.promo-original {
  font-size: 1.1rem; font-weight: 400; color: #bbb;
  text-decoration: line-through; text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
}
.promo-arrow { font-size: .9rem; color: #d97706; font-weight: 700; }
.promo-current { font-size: 1.8rem; font-weight: 800; color: #16a34a; }
.plan-desc  { font-size: .82rem; color: #888; margin-bottom: 1.1rem; min-height: 2em; }

.plan-features { list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .86rem; flex: 1; }
.plan-features li { padding: .24rem 0; color: #444; display: flex; gap: .45rem; align-items: baseline; }
.plan-features li .f-icon { flex-shrink: 0; }
.plan-features li.ok   .f-icon { color: #16a34a; }
.plan-features li.no   .f-icon { color: #d1d5db; }
.plan-features li.no   { color: #bbb; }
.plan-features li.star { font-weight: 600; color: #4338ca; }
.plan-features li.star .f-icon { color: #7c3aed; }
.plan-features li.hook {
  font-weight: 700; color: #92400e;
  background: #fef3c7; border-radius: 0;
  padding: .3rem .5rem; margin: .15rem -.5rem;
}
.plan-features li.hook .f-icon { color: #d97706; }

/* ── CTA buttons ── */
.plan-expand { margin: .6rem 0 1rem; border-top: 1px solid #f0f0f0; padding-top: .5rem; }
.plan-expand > summary {
  font-size: .77rem; color: #7c5cbf; cursor: pointer; user-select: none;
  list-style: none; display: flex; align-items: center; gap: .25rem;
}
.plan-expand > summary::-webkit-details-marker { display: none; }
.plan-expand > summary::before { content: '▸'; font-size: .65rem; }
.plan-expand[open] > summary::before { content: '▾'; }
.plan-expand-body {
  font-size: .81rem; color: #555; line-height: 1.7; margin-top: .55rem;
  padding: .5rem .6rem; background: #faf8ff; border-radius: 0;
}
.plan-expand-body p  { margin: .3rem 0; }
.plan-expand-body ul { padding-left: 1.1em; margin: .3rem 0 .5rem; }
.plan-expand-body li { margin: .2rem 0; }

.btn-cenik {
  display: block; width: 100%; padding: .72rem;
  background: var(--color-nav, #1a1a2e); color: var(--color-surface, #fff); border: none; border-radius: 0;
  font-size: .92rem; font-weight: 600; cursor: pointer; text-align: center;
  text-decoration: none; transition: background .15s; box-sizing: border-box;
}
.btn-cenik:hover { background: #2d2d5e; }
.btn-cenik.active  { background: #16a34a; cursor: default; }
.btn-cenik.soon    { background: #e5e7eb; color: #9ca3af; cursor: default; }
.btn-cenik.outline { background: var(--color-surface, #fff); color: var(--color-nav, #1a1a2e); border: 2px solid var(--color-nav, #1a1a2e); }
.btn-cenik.outline:hover { background: #f5f5f8; }

.current-badge {
  display: inline-block; background: #d1fae5; color: #065f46;
  font-size: .7rem; font-weight: 700; border-radius: 0;
  padding: .07rem .4rem; margin-left: .4rem; vertical-align: middle;
}

/* ── Comparison table ── */
.compare-wrap { overflow-x: auto; margin-bottom: 2.5rem; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .855rem; }
.compare-table th, .compare-table td { padding: .52rem .75rem; border-bottom: 1px solid #f0f0f0; text-align: center; }
.compare-table th { background: #f8f8fb; font-weight: 700; white-space: nowrap; }
.compare-table th.col-std { background: #f0f0fa; color: var(--color-nav, #1a1a2e); }
.compare-table td:first-child { text-align: left; color: #555; white-space: normal; min-width: 220px; }
.compare-table tr:last-child td { border-bottom: none; }
.ct-yes { color: #16a34a; font-weight: 700; }
.ct-no  { color: #d1d5db; }
.ct-val { color: #374151; font-weight: 600; }
.ct-std { background: #faf9ff; }

/* ── Professional horizontal section ── */
.pro-section {
  background: linear-gradient(135deg, var(--color-nav, #1a1a2e) 0%, #2d1f5e 100%);
  border-radius: 0; padding: 2rem 2.2rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center; margin-bottom: 2rem;
  color: var(--color-surface, #fff);
}
@media (max-width: 640px) {
  .pro-section { grid-template-columns: 1fr; }
}
.pro-section h2 { font-size: 1.25rem; margin-bottom: .2rem; color: var(--color-surface, #fff); }
.pro-section .pro-desc { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 1.1rem; }
.pro-section .pro-features {
  display: flex; flex-wrap: wrap; gap: .35rem .9rem;
  list-style: none; padding: 0; margin: 0 0 1.4rem; font-size: .86rem;
}
.pro-section .pro-features li { color: rgba(255,255,255,.85); display: flex; gap: .35rem; }
.pro-section .pro-features li .f-icon { color: #a78bfa; flex-shrink: 0; }
.pro-section .pro-features li.ok .f-icon { color: #6ee7b7; }
.pro-badge-inline {
  display: inline-flex; gap: .35rem; align-items: center;
  background: rgba(167,139,250,.2); color: #c4b5fd;
  font-size: .72rem; font-weight: 700; border-radius: 0;
  padding: .12rem .5rem; margin-bottom: .5rem; letter-spacing: .04em;
}
.pro-price-block { text-align: center; }
.pro-price-block .price-label { font-size: 1.4rem; font-weight: 800; color: var(--color-surface, #fff); }
.pro-price-block .price-sub { font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.btn-pro {
  display: block; padding: .75rem 2rem;
  background: #7c3aed; color: var(--color-surface, #fff); border: none; border-radius: 0;
  font-size: .95rem; font-weight: 700; cursor: pointer; text-align: center;
  text-decoration: none; white-space: nowrap; transition: background .15s;
}
.btn-pro:hover { background: #6d28d9; }
.btn-pro.active { background: #16a34a; cursor: default; }

/* ── Osobní výklad section (full-width, light) ── */
.konsult-section {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 2px solid #ddd6fe; border-radius: 0; padding: 1.8rem 2rem;
  display: grid; grid-template-columns: 1fr auto;
  gap: 2rem; align-items: center; margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .konsult-section { grid-template-columns: 1fr; }
}
.konsult-section h2 { font-size: 1.2rem; margin-bottom: .15rem; color: var(--color-nav, #1a1a2e); }
.konsult-desc { font-size: .88rem; color: #6b7280; margin-bottom: .8rem; }
.konsult-features { margin-bottom: 0 !important; }
.konsult-price-block { text-align: center; }
.konsult-price { font-size: 1.6rem; font-weight: 800; color: var(--color-nav, #1a1a2e); }
.konsult-price-sub { font-size: .8rem; color: #9ca3af; margin-bottom: .8rem; }
.btn-konsult {
  display: inline-block; padding: .65rem 1.8rem;
  background: #7c3aed; color: var(--color-surface, #fff); border: none; border-radius: 0;
  font-size: .9rem; font-weight: 600; cursor: pointer; text-align: center;
  text-decoration: none; white-space: nowrap; transition: background .15s;
}
.btn-konsult:hover { background: #6d28d9; }

/* ── Upgrade hint ── */
.upgrade-hint {
  font-size: .76rem; color: #4338ca; background: #ede9fe;
  border-radius: 0; padding: .35rem .6rem; margin-top: .5rem;
  text-align: center; line-height: 1.4;
}

/* ── Notice ── */
.plan-notice {
  background: #fef9c3; border: 1px solid #fde68a; color: #713f12;
  border-radius: 0; padding: .75rem 1.1rem; margin-bottom: 1.5rem; font-size: .9rem;
}
/* ── Trust note ── */
.trust-note { font-size: .8rem; color: #aaa; text-align: center; margin-top: 1rem; }
.trust-note a { color: #888; }
