/* Pricing stránka — drží se brand stylu landing page (indigo + clean cards) */

.pr-section {
  padding: 60px 24px;
}
.pr-section-alt {
  background: var(--bg-soft, #f8fafc);
}
.pr-section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.pr-section-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  margin: 0 0 12px;
  color: var(--text-strong, #0f172a);
}
.pr-section-lead {
  font-size: 17px;
  text-align: center;
  color: var(--muted, #64748b);
  max-width: 760px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* Hero */
.pr-hero {
  padding: 72px 24px 48px;
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .pr-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 100%);
}
.pr-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pr-hero-badge {
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: .02em;
}
[data-theme="dark"] .pr-hero-badge {
  background: rgba(167, 139, 250, 0.2);
  color: #c4b5fd;
}
.pr-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--text-strong, #0f172a);
  letter-spacing: -0.02em;
}
.pr-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted, #475569);
  max-width: 680px;
  margin: 0 auto 32px;
}
.pr-hero-image-wrap {
  margin-top: 24px;
}
.pr-hero-image {
  max-width: 100%;
  height: auto;
  max-height: 360px;
  border-radius: 12px;
}

/* Billing toggle */
.pr-billing-toggle-wrap {
  padding: 24px 24px 8px;
  text-align: center;
}
.pr-billing-toggle {
  display: inline-flex;
  background: var(--bg-soft, #f1f5f9);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}
.pr-billing-btn {
  padding: 10px 24px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #64748b);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pr-billing-btn:hover {
  color: var(--text-strong, #0f172a);
}
.pr-billing-active {
  background: var(--card, white);
  color: var(--primary, #4f46e5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.pr-discount-badge {
  background: #10b981;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

/* Cards grid */
.pr-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}
.pr-loading {
  text-align: center;
  color: var(--muted, #64748b);
  padding: 60px 0;
  grid-column: 1 / -1;
}

.pr-card {
  background: var(--card, white);
  border: 2px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s;
}
.pr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.pr-card-featured {
  border: 2px solid var(--primary, #4f46e5);
  background: linear-gradient(180deg, var(--card, white) 0%, rgba(79, 70, 229, 0.04) 100%);
  box-shadow: 0 6px 24px rgba(79, 70, 229, 0.15);
}
[data-theme="dark"] .pr-card-featured {
  background: linear-gradient(180deg, var(--card, #1e293b) 0%, rgba(124, 58, 237, 0.15) 100%);
}

.pr-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pr-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 12px;
  display: block;
  object-fit: contain;
}
.pr-card-name {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--text-strong, #0f172a);
}
.pr-card-tagline {
  font-size: 13px;
  color: var(--muted, #64748b);
  margin: 0 0 18px;
  min-height: 32px;
}
.pr-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 4px;
  color: var(--text-strong, #0f172a);
}
.pr-price-num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pr-price-currency {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted, #64748b);
}
.pr-card-period {
  font-size: 12px;
  color: var(--muted, #64748b);
  min-height: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pr-card-cta {
  display: block;
  text-align: center;
  margin: 18px 0 16px;
  padding: 11px 20px;
  background: var(--bg-soft, #f1f5f9);
  color: var(--text-strong, #0f172a);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.15s;
}
.pr-card-cta:hover {
  background: var(--bg-strong, #e2e8f0);
}
.pr-card-cta-primary {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}
.pr-card-cta-primary:hover {
  background: linear-gradient(135deg, #4338ca, #6d28d9);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.45);
  color: white;
}
.pr-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #64748b);
  margin: 0 0 14px;
}
.pr-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text, #1e293b);
}
.pr-card-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 4px;
}
.pr-card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
}
.pr-card-features li s {
  color: #94a3b8;
  text-decoration: line-through;
}
.pr-card-features li s::before { content: ""; }

/* ROI banner */
.pr-roi {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}
[data-theme="dark"] .pr-roi {
  background: linear-gradient(135deg, #422006 0%, #713f12 100%);
}
.pr-roi-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pr-roi-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text-strong, #0f172a);
}
.pr-roi-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text, #1e293b);
  margin: 0 0 16px;
}
.pr-roi-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  line-height: 2;
}
.pr-roi-image {
  max-width: 100%;
  height: auto;
}

/* Stupně dokumentace */
.pr-docs-image-wrap {
  text-align: center;
  margin: 32px 0;
}
.pr-docs-image {
  max-width: 100%;
  height: auto;
  max-height: 320px;
  border-radius: 12px;
}
.pr-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.pr-doc-card {
  background: var(--card, white);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 20px;
}
.pr-doc-featured {
  border: 2px solid var(--primary, #4f46e5);
  background: linear-gradient(180deg, var(--card, white) 0%, rgba(79, 70, 229, 0.04) 100%);
}
.pr-doc-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.pr-doc-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text-strong, #0f172a);
}
.pr-doc-card p {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #64748b);
}
.pr-doc-price {
  font-size: 12px;
  color: var(--text, #1e293b);
  font-weight: 600;
  border-top: 1px solid var(--border, #e2e8f0);
  padding-top: 8px;
  margin-top: 8px;
}

/* FAQ */
.pr-faq {
  max-width: 760px;
  margin: 0 auto;
}
.pr-faq-item {
  background: var(--card, white);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 8px;
  transition: border-color 0.15s;
}
.pr-faq-item[open] {
  border-color: var(--primary, #4f46e5);
}
.pr-faq-item summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  color: var(--text-strong, #0f172a);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pr-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--primary, #4f46e5);
  transition: transform 0.15s;
}
.pr-faq-item[open] summary::after {
  content: "−";
}
.pr-faq-item p {
  margin: 12px 0 0;
  color: var(--muted, #64748b);
  line-height: 1.6;
  font-size: 14px;
}

/* Final CTA */
.pr-cta-final {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  text-align: center;
}
.pr-cta-inner h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
  color: white;
}
.pr-cta-inner p {
  font-size: 17px;
  opacity: 0.9;
  margin: 0 0 24px;
}
.pr-cta-btn {
  display: inline-block;
  background: white;
  color: var(--primary, #4f46e5);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.15s;
}
.pr-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Active nav highlight */
.lp-nav-active {
  color: var(--primary, #4f46e5) !important;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .pr-hero-title { font-size: 30px; }
  .pr-hero-subtitle { font-size: 15px; }
  .pr-section-title { font-size: 24px; }
  .pr-roi-inner { grid-template-columns: 1fr; gap: 28px; }
  .pr-roi-image-wrap { order: -1; }
}

@media (max-width: 480px) {
  .pr-section { padding: 36px 16px; }
  .pr-hero { padding: 48px 16px 32px; }
  .pr-hero-title { font-size: 24px; }
  .pr-hero-subtitle { font-size: 14px; }
  .pr-section-title { font-size: 20px; }
  .pr-section-lead { font-size: 14px; }
  .pr-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .pr-card { padding: 22px 18px; }
  .pr-price-num { font-size: 32px; }
  .pr-billing-toggle { width: 100%; }
  .pr-billing-btn { flex: 1; padding: 9px 12px; font-size: 13px; }
  .pr-docs-grid { grid-template-columns: 1fr; }
  .pr-cta-inner h2 { font-size: 24px; }
  .pr-cta-inner p { font-size: 14px; }
  .pr-cta-btn { padding: 12px 24px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Pricing rozšíření — 4 hlavní karty + Další možnosti + Comparison tabulka
   ═══════════════════════════════════════════════════════════════════════════ */

/* 4 hlavních karet — sjednocená šířka, lepší rozložení */
.pr-cards-grid-main {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

/* Sekce „Další možnosti" */
.pr-section-other { background: var(--bg-soft, #f8fafc); padding: 36px 0; }
.pr-section-title-sm { font-size: 1.45rem !important; }
.pr-section-lead-sm { font-size: 0.95rem; max-width: 600px; }
.pr-cards-grid-other {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 800px;
  margin: 16px auto 0;
}
.pr-cards-grid-other .pr-card {
  /* Trochu menší než hlavní karty */
  padding: 1.4rem;
}
.pr-cards-grid-other .pr-card-name { font-size: 1.15rem; }
.pr-cards-grid-other .pr-card-price .pr-price-num { font-size: 2.2rem; }

/* ── Comparison tabulka ── */
.pr-compare-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.pr-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--card, #ffffff);
  min-width: 700px;
}
.pr-compare-table thead th {
  position: sticky;
  top: 0;
  background: var(--card, #ffffff);
  padding: 14px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-strong, #0f172a);
  border-bottom: 2px solid var(--border, #e2e8f0);
  z-index: 2;
}
.pr-compare-table thead th.pr-compare-feature {
  text-align: left;
  background: var(--card, #ffffff);
  position: sticky;
  left: 0;
  z-index: 3;
  min-width: 240px;
}
.pr-compare-table thead th.pr-compare-tier-featured {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.08) 0%, rgba(79, 70, 229, 0.02) 100%);
  color: var(--primary-dark, #4338ca);
}
.pr-compare-star { font-size: 0.8rem; margin-left: 4px; }
.pr-compare-group-row td {
  background: var(--bg-soft, #f1f5f9);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  color: var(--muted, #64748b);
  padding: 14px 12px 8px;
  border-top: 1px solid var(--border, #e2e8f0);
}
.pr-compare-feature {
  text-align: left;
  padding: 10px 12px;
  color: var(--text, #0f172a);
  position: sticky;
  left: 0;
  background: var(--card, #ffffff);
  z-index: 1;
  border-right: 1px solid var(--border, #e2e8f0);
}
.pr-compare-cell {
  text-align: center;
  padding: 10px 12px;
  color: var(--text, #0f172a);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.pr-compare-yes { color: var(--success, #16a34a); font-weight: 600; }
.pr-compare-no { color: var(--muted, #94a3b8); }
.pr-compare-table tbody tr:hover .pr-compare-cell:not(.pr-compare-tier-featured) {
  background: rgba(248, 250, 252, 0.6);
}
.pr-compare-tier-featured {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.04) 0%, rgba(79, 70, 229, 0.01) 100%);
}

/* Cena řádek na konci */
.pr-compare-price-row td {
  background: var(--bg-soft, #f1f5f9) !important;
  font-weight: 700;
  font-size: 1rem;
  border-top: 2px solid var(--border, #e2e8f0);
  padding: 14px 12px;
}
.pr-compare-price-row .pr-compare-tier-featured {
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.10) 0%, rgba(79, 70, 229, 0.06) 100%) !important;
  color: var(--primary-dark, #4338ca);
}

/* Dark mode */
[data-theme="dark"] .pr-section-other {
  background: rgba(148, 163, 184, 0.04);
}
[data-theme="dark"] .pr-compare-wrap {
  border-color: var(--border, #334155);
}
[data-theme="dark"] .pr-compare-table {
  background: var(--card, #1e293b);
}
[data-theme="dark"] .pr-compare-table thead th {
  background: var(--card, #1e293b);
  border-bottom-color: var(--border, #334155);
}
[data-theme="dark"] .pr-compare-table thead th.pr-compare-tier-featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0.04) 100%);
  color: #93c5fd;
}
[data-theme="dark"] .pr-compare-group-row td {
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted, #94a3b8);
  border-top-color: var(--border, #334155);
}
[data-theme="dark"] .pr-compare-feature {
  background: var(--card, #1e293b);
  border-right-color: var(--border, #334155);
}
[data-theme="dark"] .pr-compare-tier-featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.02) 100%);
}
[data-theme="dark"] .pr-compare-yes { color: #4ade80; }
[data-theme="dark"] .pr-compare-no { color: var(--muted, #64748b); }
[data-theme="dark"] .pr-compare-price-row td {
  background: rgba(148, 163, 184, 0.10) !important;
}
[data-theme="dark"] .pr-compare-price-row .pr-compare-tier-featured {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.20) 0%, rgba(99, 102, 241, 0.08) 100%) !important;
  color: #93c5fd;
}

/* Mobile */
@media (max-width: 720px) {
  .pr-compare-table { font-size: 0.82rem; }
  .pr-compare-table thead th { padding: 10px 8px; font-size: 0.85rem; }
  .pr-compare-feature, .pr-compare-cell { padding: 8px; }
  .pr-compare-feature { min-width: 180px; }
}
