html { scroll-behavior: smooth; }

.section {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 24px;
}

.section h2 {
  text-align: center;
  font-size: 28px;
  color: #20323c;
  margin-bottom: 36px;
}

.section.alt {
  background: #f3e8d3;
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.benefit-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid #e8d9b8;
  box-shadow: 0 3px 10px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.benefit-card .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 50%;
}

.benefit-card:nth-child(1) .icon { background: #ffe2c8; }
.benefit-card:nth-child(2) .icon { background: #cdeeee; }

/* Magic / AI teaser box */
.magic-box {
  max-width: 760px;
  margin: 44px auto 0;
  text-align: center;
  padding: 56px 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff1d8, #ffd9e8 55%, #e3d4ff);
  border: 1px solid #f0c98c;
  box-shadow: 0 16px 44px rgba(120, 70, 40, .18);
}

.magic-icon {
  font-size: 52px;
  margin-bottom: 16px;
}

.magic-box h3 {
  font-size: 30px;
  margin: 0 0 16px;
  color: #20323c;
}

.magic-box p {
  font-size: 19px;
  color: #3a3247;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .magic-box {
    padding: 40px 26px;
  }
  .magic-box h3 {
    font-size: 24px;
  }
  .magic-box p {
    font-size: 17px;
  }
}
.benefit-card:nth-child(3) .icon { background: #ffe2c8; }
.benefit-card:nth-child(4) .icon { background: #cdeeee; }

.benefit-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #20323c;
}

.benefit-card p {
  font-size: 15px;
  color: #4b5563;
  margin: 0;
}

/* Library section */
.library-section {
  padding-top: 50px;
}

.library-hero-svg {
  max-width: 480px;
  margin: 0 auto 10px;
}

.library-hero-svg svg {
  width: 100%;
  display: block;
}

.library-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

/* Areas preview */
.areas-preview {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.areas-group-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #20323c;
  margin-bottom: 10px;
  text-align: center;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.chip {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-v {
  background: #e6faf8;
  color: #0e7066;
  border: 1.5px solid #99e6de;
}

.chip-a {
  background: #fff4ec;
  color: #9a3a00;
  border: 1.5px solid #ffc49a;
}

/* Library CTA button */
.btn-library {
  display: inline-block;
  background: #0aa;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,170,170,.25);
  transition: background .2s;
}

.btn-library:hover {
  background: #089090;
}

/* Tray section */
.tray-section {
  background: #f3e8d3;
  padding: 50px 24px 60px;
}

/* Globe / world symbol */
.world-symbol {
  text-align: center;
  margin-bottom: 28px;
}

.world-symbol svg {
  display: inline-block;
}

.world-label {
  font-size: 13px;
  font-weight: 600;
  color: #0e7066;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 10px 0 0;
}

.library-stats-mini {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: #6b5d45;
}

.library-stats-mini strong {
  color: #0aa;
  font-weight: 700;
}

.library-stats-mini .sep {
  margin: 0 10px;
  color: #d8c8a8;
}

/* ── ZLATÝ PODNOS (SVG ilustrace) ── */
.golden-tray-wrap {
  margin: 16px auto 0;
  max-width: 820px;
  padding: 0 8px;
}

.golden-tray-stage {
  position: relative;
}

.tray-svg {
  width: 100%;
  display: block;
}

/* Text přeložený přes střed SVG podnosu */
.tray-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54%;
  text-align: center;
  pointer-events: none;
}

.tray-content a { pointer-events: auto; }

.tray-ornament {
  font-size: 11px;
  color: #6a4800;
  letter-spacing: 6px;
  margin-bottom: 6px;
  opacity: .65;
}

.tray-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5a3a00;
  margin-bottom: 10px;
}

.golden-tray-wrap .tip-text {
  font-size: 17px;
  font-weight: 500;
  color: #1e1200;
  line-height: 1.5;
  margin: 0 0 8px;
}

.golden-tray-wrap .tip-source:not(.tip-source--below) {
  display: none;
}

.tip-source--below {
  display: block;
  text-align: center;
  font-size: 13px;
  color: #1a6a9a;
  margin-top: 12px;
}

.tip-source--below a {
  color: #1a6a9a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tip-source--below a:hover { color: #0d4a70; }

.tip-translate-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #5a5a5a;
  font-style: italic;
}

.tip-archive-link {
  text-align: center;
  margin-top: 14px;
}
.tip-archive-link a {
  display: inline-block;
  color: #1a6a9a;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 28px;
  border: 2px solid #1a6a9a;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.tip-archive-link a:hover {
  background: #1a6a9a;
  color: #fff;
}

@media (max-width: 600px) {
  /* Na mobilu: skrýt SVG, podnos jako CSS box */
  .tray-svg { display: none; }
  .tray-content {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: auto;
    margin: 0 16px;
    padding: 20px 22px 18px;
    background: linear-gradient(160deg, #fffde8 0%, #fef0a0 35%, #fcd835 68%, #e8b800 100%);
    border-radius: 22px;
    border: 2px solid #b8860b;
    box-shadow: 0 8px 24px rgba(100,60,0,.22), inset 0 1px 0 rgba(255,252,180,.7);
  }
  .golden-tray-wrap .tip-text {
    font-size: 15px;
  }
  .tray-label {
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .library-stats-mini .sep {
    display: none;
  }
  .library-stats-mini span:not(.sep) {
    display: block;
    margin-bottom: 4px;
  }
}

/* Library credibility */
.library-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
  margin-top: 30px;
}

.library-stats .num {
  font-size: 38px;
  font-weight: 700;
  color: #0aa;
  display: block;
}

.library-stats .label {
  font-size: 15px;
  color: #4b5563;
}

/* How it works steps */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step {
  text-align: center;
}

.step .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9f55, #ff6a00);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(255,106,0,.3);
}

.step h3 {
  font-size: 17px;
  color: #20323c;
  margin: 0 0 6px;
}

.step p {
  font-size: 14px;
  color: #4b5563;
  margin: 0;
}

/* ── NOVÝ CENÍK ── */
.pricing-section h2 {
  margin-bottom: 28px;
}

.pricing-group-label {
  text-align: center;
  margin-bottom: 12px;
}

.pricing-group-label span {
  display: inline-block;
  background: #fff8ec;
  border: 2px solid #ff8a3d;
  color: #c45200;
  font-weight: 700;
  font-size: 15px;
  padding: 8px 22px;
  border-radius: 999px;
}

.pricing-trial-note {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.65;
  background: #fff8ec;
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid #ffd0a0;
}

.pricing-grid--trial {
  max-width: 720px;
  margin: 0 auto 20px;
}

.trial-card {
  border-color: #ff8a3d !important;
}

.badge--trial {
  background: #ff8a3d !important;
}

.price-trial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.price-zero {
  font-size: 22px;
  font-weight: 700;
  color: #059669;
}

.price-arrow {
  font-size: 18px;
  color: #9ca3af;
}

.price-main {
  font-size: 24px;
  font-weight: 700;
  color: #0aa;
}

.price-main small {
  font-size: 13px;
  font-weight: 400;
  color: #4b5563;
}

.pricing-divider {
  text-align: center;
  margin: 28px 0 20px;
  position: relative;
}

.pricing-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: #e8d9b8;
}

.pricing-divider span {
  position: relative;
  background: #f3e8d3;
  padding: 0 16px;
  font-size: 13px;
  color: #6b5d45;
  font-weight: 600;
}

.pricing-grid--direct {
  max-width: 600px;
  margin: 0 auto;
}

.direct-card {
  opacity: .88;
}

.badge--direct {
  background: #6b7280 !important;
}

.btn-cta--outline {
  background: transparent !important;
  border: 2px solid #0aa !important;
  color: #0aa !important;
}

.btn-cta--outline:hover {
  background: #0aa !important;
  color: #fff !important;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.price-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  border: 2px solid #e8d9b8;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: #0aa;
  box-shadow: 0 8px 24px rgba(0,170,170,.15);
  transform: scale(1.02);
}

.price-card .badge {
  background: #ff8a3d;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 12px;
}

.price-card h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: #20323c;
}

.price-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #0aa;
  margin: 10px 0;
}

.price-card .price small {
  font-size: 15px;
  font-weight: 400;
  color: #4b5563;
}

.price-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
  flex: 1;
}

.price-card ul li {
  font-size: 14px;
  color: #3a4a55;
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0aa;
  font-weight: 700;
}

.price-card .btn-cta {
  display: inline-block;
  background: #0aa;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.price-card.featured .btn-cta {
  background: #ff8a3d;
}

/* Audio přehrávač */
.audio-player-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 680px;
  margin: 0 auto 36px;
  background: #fff8f0;
  border: 1.5px solid #e8d0a8;
  border-radius: 20px;
  padding: 18px 22px;
}
.audio-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #ff8a3d;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .18s, transform .1s;
}
.audio-play-btn:hover { background: #ff7a1f; }
.audio-play-btn:active { transform: scale(.95); }
.audio-wave-wrap { flex: 1; min-width: 0; }
#waveform { width: 100%; }
.audio-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #a07040;
  margin-top: 4px;
  font-family: 'Montserrat', sans-serif;
}

/* Author section – žlutý pás + modrá karta uvnitř */
.author-section {
  background: #fbf4e7;
  max-width: 100%;
  width: 100%;
  padding: 50px 24px 60px;
  box-sizing: border-box;
}

.author-section h2 {
  color: #1a3a52;
  text-align: center;
  font-size: 28px;
  margin-bottom: 32px;
}

.author-centered {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  background: #dde8f0;
  border-radius: 24px;
  padding: 48px 40px 40px;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}

.author-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  margin-bottom: 16px;
}

.author-name {
  font-size: 18px;
  font-weight: 600;
  color: #1a3a52;
  margin: 0 0 24px;
}

.author-quote {
  font-style: italic;
  font-size: 16px;
  line-height: 1.85;
  color: #2a3f52;
  border: none;
  margin: 0 0 28px;
  padding: 0;
  quotes: none;
}

.author-signature {
  font-family: "Georgia", serif;
  font-style: italic;
  font-size: 22px;
  color: #1a3a52;
  line-height: 1.5;
  margin: 0 0 20px;
}

.author-stars {
  font-size: 28px;
  color: #f5a623;
  letter-spacing: 4px;
}

/* OLD author-box – zůstává pro případ použití jinde */
.author-box {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid #e8d9b8;
  flex-wrap: wrap;
}

.author-box img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-box .text h3 {
  margin: 0 0 8px;
  color: #20323c;
}

.author-box .text p {
  margin: 0;
  font-size: 15px;
  color: #4b5563;
}

/* Final CTA (legacy) */
.final-cta {
  text-align: center;
  padding: 60px 24px 80px;
}
.final-cta h2 { font-size: 26px; margin-bottom: 20px; }

/* ── 3 Příběhové kroky ─────────────────────────────── */
.story-section {
  background: #fbf4e7;
  padding-top: 20px;
  padding-bottom: 20px;
}

.story-steps {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 16px;
}

/* Základní styl kroků 1 a 3 */
.story-step {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0 20px;
  align-items: center;
  padding: 28px 28px;
  border-radius: 20px;
  background: #fff9ee;
  border: 1.5px solid #edd8a8;
  box-shadow: 0 3px 14px rgba(160,100,0,.07);
  transition: transform .2s;
}
.story-step--1 { transform: rotate(-0.8deg); }
.story-step--3 { transform: rotate(0.7deg); }
.story-step--1:hover { transform: rotate(0deg) translateY(-2px); }
.story-step--3:hover { transform: rotate(0deg) translateY(-2px); }

/* KROK 2 – hvězda */
.story-step--highlight {
  display: block;
  text-align: center;
  padding: 44px 40px 36px;
  border-radius: 24px;
  background: linear-gradient(145deg, #1c0a40, #2e1060, #1c0a40);
  border: 2px solid #7c3aed;
  box-shadow: 0 0 0 4px rgba(124,58,237,.15), 0 12px 40px rgba(50,0,100,.35);
  transform: scale(1.04);
  position: relative;
  z-index: 1;
}
.story-step--highlight .story-step-symbol {
  font-size: 52px;
  display: block;
  margin-bottom: 14px;
}
.story-step--highlight .story-step-num {
  color: #a78bfa;
  letter-spacing: .18em;
}
.story-step--highlight .story-step-title {
  font-size: 24px;
  color: #fde68a;
  margin-bottom: 14px;
}
.story-step--highlight .story-step-text {
  color: #ddd6fe;
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}
.story-step--highlight .magic-box {
  display: none;
}

.story-step-symbol {
  font-size: 38px;
  text-align: center;
  line-height: 1;
}

.story-step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b07840;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.story-step-title {
  font-size: 20px;
  color: #3a2008;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: normal;
}

.story-step-text {
  font-size: 17px;
  color: #6b4c2a;
  line-height: 1.7;
}

.story-connector {
  text-align: center;
  font-size: 24px;
  padding: 4px 0;
  opacity: .5;
}

/* Magic box uvnitř story-step (kroky 1,3) */
.story-step .magic-box {
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  max-width: 130px;
}
.story-step .magic-box svg { width: 100px; height: auto; }

@media (max-width: 600px) {
  .story-step { grid-template-columns: 52px 1fr; transform: none !important; }
  .story-step .magic-box { display: none; }
  .story-step--highlight { transform: none !important; }
  .story-step--highlight .story-step-title { font-size: 19px; }
}

/* ── Vstupní brána ─────────────────────────────────── */
.gate-section {
  background: #fbf4e7;
  padding: 20px 24px 48px;
  text-align: center;
}
.gate-section > svg,
.gate-section > div {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.gate-btn-overlay {
  display: inline-block;
  margin-top: 4px;
  padding: 16px 56px;
  background: #3a9030;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .03em;
}
.gate-btn-overlay:hover { background: #2e7226; }

@media (max-width: 600px) {
  .story-step { grid-template-columns: 52px 1fr; }
  .story-step .magic-box { display: none; }
  .story-step-symbol { font-size: 30px; }
  .story-step-title { font-size: 17px; }
}

@media (max-width: 600px) {
  .price-card.featured {
    transform: none;
  }
}

/* ── Footer ──────────────────────────────────────── */
/* Přechod ke footeru – louka s květinami */
.footer-meadow {
  background: #fbf4e7;
  padding: 40px 0 0;
  position: relative;
}
.meadow-wave {
  display: block;
  width: 100%;
  height: 60px;
  margin-top: 8px;
}
.meadow-content {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding-bottom: 8px;
  font-size: 32px;
  flex-wrap: wrap;
}
.meadow-item {
  animation: meadow-sway 3s ease-in-out infinite;
}
.meadow-item:nth-child(2) { animation-delay: .4s; }
.meadow-item:nth-child(3) { animation-delay: .8s; }
.meadow-item:nth-child(4) { animation-delay: .2s; }
.meadow-item:nth-child(5) { animation-delay: 1s; }
.meadow-item:nth-child(6) { animation-delay: .6s; }
.meadow-item:nth-child(7) { animation-delay: 1.2s; }
@keyframes meadow-sway {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50%       { transform: rotate(4deg) translateY(-5px); }
}

.site-footer {
  background: #2a1a08;
  color: #d4b88a;
  padding: 32px 24px 28px;
  text-align: center;
}
.site-footer-inner {
  max-width: 780px;
  margin: 0 auto;
}
.footer-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: none;
  color: #f0c870;
  margin-bottom: 14px;
}
.footer-contacts {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-sep {
  color: #5a3a10;
}
.site-footer a {
  color: #d4b88a;
  text-decoration: none;
}
.site-footer a:hover {
  color: #f0c870;
  text-decoration: underline;
}
