/* 🌐 davidvas.cz/appka — „Co appka umí" (appka.js). Barvy z tokenů webu (styles.css). */
.ap-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; margin-top: 22px; }
.ap-hero-login { color: rgba(255, 255, 255, 0.9); font-weight: 700; text-decoration: none; }
.ap-hero-login:hover { text-decoration: underline; }
.ap-stats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.ap-stats span { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; border-radius: 999px; padding: 6px 13px; font-size: 0.88rem; }
.ap-stats b { font-weight: 900; }
.ap-h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; margin: 0 0 6px; color: hsl(var(--foreground)); }
.ap-sub { margin: 0 0 18px; color: hsl(var(--muted-foreground)); font-size: 1rem; }
.ap-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.ap-chip { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 999px; padding: 8px 14px; font-family: inherit; font-size: 0.9rem; font-weight: 700; color: hsl(var(--foreground)); cursor: pointer; }
.ap-chip.is-on { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ap-card { background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 6px 20px hsla(150, 40%, 12%, 0.05); min-width: 0; }
.ap-card__top { display: flex; gap: 12px; align-items: flex-start; }
.ap-card__emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.ap-card h3 { margin: 0; font-family: 'Montserrat', sans-serif; font-size: 1.12rem; font-weight: 800; color: hsl(var(--foreground)); overflow-wrap: anywhere; }
.ap-badge { display: inline-block; margin-top: 5px; font-size: 0.75rem; font-weight: 800; background: hsl(42 88% 95%); color: hsl(35 85% 30%); border: 1px solid hsl(42 75% 80%); border-radius: 999px; padding: 2px 9px; }
.ap-what, .ap-why { margin: 10px 0 0; font-size: 0.95rem; line-height: 1.55; color: hsl(var(--foreground)); }
.ap-why { color: hsl(var(--primary)); }
.ap-what b, .ap-why b { font-weight: 800; }
.ap-media { margin-top: 12px; border-radius: 12px; overflow: hidden; background: hsl(var(--muted)); }
.ap-media-img { display: block; width: 100%; max-height: 380px; object-fit: contain; }
.ap-media-video { display: block; width: 100%; max-height: 380px; background: #000; }
.ap-yt { position: relative; display: block; width: 100%; padding: 0; border: none; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.ap-yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0.92; }
.ap-yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: hsl(var(--primary)); color: #fff; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; padding-left: 4px; }
.ap-yt-frame { position: relative; aspect-ratio: 16 / 9; }
.ap-yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ap-quote { margin: 12px 0 0; padding: 10px 14px; border-left: 4px solid hsl(var(--primary-glow)); background: hsl(var(--secondary)); border-radius: 0 12px 12px 0; font-style: italic; font-size: 0.95rem; line-height: 1.5; color: hsl(var(--foreground)); }
.ap-quote cite { display: block; margin-top: 4px; font-style: normal; font-weight: 700; font-size: 0.82rem; color: hsl(var(--muted-foreground)); }
.ap-more { text-align: center; margin-top: 22px; }
.ap-more-btn { background: hsl(var(--card)); border: 2px solid hsl(var(--primary)); color: hsl(var(--primary)); border-radius: 999px; padding: 11px 22px; font-family: inherit; font-size: 1rem; font-weight: 800; cursor: pointer; }
.ap-more-btn:hover { background: hsl(var(--secondary)); }
.ap-loading { color: hsl(var(--muted-foreground)); }
.ap-timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ap-timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 14px 16px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); }
.ap-timeline time { font-weight: 800; color: hsl(var(--primary)); font-size: 0.92rem; }
.ap-timeline strong { color: hsl(var(--foreground)); }
.ap-timeline p { margin: 4px 0 0; color: hsl(var(--muted-foreground)); font-size: 0.92rem; }
.ap-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ap-product { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: var(--radius); text-decoration: none; color: hsl(var(--foreground)); transition: transform 0.15s ease, border-color 0.15s ease; }
.ap-product:hover { transform: translateY(-2px); border-color: hsl(var(--primary-glow)); }
.ap-product__ico { font-size: 2rem; }
.ap-product strong { font-family: 'Montserrat', sans-serif; font-size: 1.15rem; font-weight: 900; }
.ap-product small { color: hsl(var(--muted-foreground)); font-size: 0.92rem; line-height: 1.5; flex: 1; }
.ap-product__go { color: hsl(var(--primary)); font-weight: 800; }
.ap-note { margin-top: 18px; color: hsl(var(--muted-foreground)); }
@media (max-width: 760px) {
  .ap-grid, .ap-products { grid-template-columns: minmax(0, 1fr); }
  .ap-timeline li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ap-card { padding: 16px; }
}
