/* =====================================================================================================
   Strona produktu KonduktoSWITCH — komponenty strony głównej timerpro.eu 1:1 (css/site.css, „strona główna”),
   plan `strony-kondukto-etap1`. Tokeny, pasek, przełącznik i stopka są w szablon.css (ładowany wcześniej).
   ===================================================================================================== */

body { font-size: 17px; line-height: 1.6; }
h1, h2, h3 { color: var(--tp-text); letter-spacing: -.02em; font-weight: 750; }
img, video { max-width: 100%; }
.tp-main { display: block; }
section { padding: 96px 0; }
.lead { color: var(--tp-text-2); font-size: 1.2rem; }
.tp-wrap-waski { max-width: 860px; }
.tp-h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; margin: 0 0 14px; }
.tp-head { margin-bottom: 52px; } .tp-head.c { text-align: center; } .tp-head.c .lead { margin: 0 auto; max-width: 60ch; }

/* ---------- hero ---------- */
.tp-hero { text-align: center; padding: 84px 0 0; }
.tp-kicker { display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--tp-bg-2); border: 1px solid var(--tp-line); font-size: 14px; font-weight: 650; color: var(--tp-text-2); text-decoration: none; }
.tp-kicker b { color: var(--tp-accent); } .tp-kicker:hover { color: var(--tp-text); }
.tp-hero h1 { font-size: clamp(40px, 7vw, 84px); line-height: 1.02; letter-spacing: -.045em; margin: 24px auto 20px; max-width: 15ch; font-weight: 800; }
.tp-hero .tp-sub { font-size: clamp(18px, 2.2vw, 21px); color: var(--tp-text-2); max-width: 52ch; margin: 0 auto 32px; }
.tp-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tp-checks { display: flex; gap: 8px 22px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; padding: 0; list-style: none; color: var(--tp-text-2); font-size: 15px; }
.tp-checks li::before { content: '✓'; color: var(--tp-green); font-weight: 800; margin-right: 8px; }
.tp-vid { margin: 60px auto 0; max-width: 1180px; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(90, 40, 20, .5); background: var(--tp-bg-3); }
.tp-vid video, .tp-vid img { display: block; width: 100%; height: auto; }

/* ---------- wszystko na jednym ekranie (przybliżenia) ---------- */
.tp-story { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: start; }
.tp-steps { padding: 100px 0 240px; }
.tp-step { padding: 26px 0 26px 22px; border-left: 2px solid var(--tp-line); opacity: .45; transition: opacity .4s, border-color .4s; min-height: 300px; cursor: pointer; }
.tp-step.on { opacity: 1; border-color: var(--tp-accent); }
.tp-step h3 { margin: 0 0 8px; font-size: 24px; } .tp-step p { margin: 0; color: var(--tp-text-2); }
.tp-sticky { position: sticky; top: 110px; }
.tp-stage { border-radius: 28px; background: var(--tp-wall); padding: clamp(16px, 4.5vw, 56px); overflow: hidden; }
.tp-win { border-radius: 14px; background: var(--tp-bg-2); box-shadow: var(--tp-shadow); overflow: hidden; border: 1px solid rgba(0, 0, 0, .08); }
.tp-win-tb { height: 32px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: color-mix(in srgb, var(--tp-bg-2) 92%, #888); border-bottom: 1px solid var(--tp-line); }
.tp-win-tb i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .tp-win-tb i:nth-child(2) { background: #febc2e; } .tp-win-tb i:nth-child(3) { background: #28c840; }
.tp-viewport { position: relative; overflow: hidden; aspect-ratio: 1440 / 900; background: #1b1c20; }
.tp-viewport img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.65, 0, .25, 1); display: block; }
.tp-cursor { position: absolute; width: 22px; height: 22px; left: 0; top: 0; z-index: 3; pointer-events: none; transition: transform 1.1s cubic-bezier(.65, 0, .25, 1); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.tp-cursor::after { content: ''; position: absolute; left: -9px; top: -9px; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--tp-accent) 45%, transparent); transform: scale(0); }
.tp-cursor.click::after { animation: tp-ripple .6s ease-out; }
@keyframes tp-ripple { from { transform: scale(0); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

/* ---------- karty funkcji ---------- */
.tp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tp-card { background: var(--tp-bg-2); border: 1px solid var(--tp-line); border-radius: var(--tp-r); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s; }
.tp-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(90, 40, 20, .35); }
.tp-card-pic { background: var(--tp-wall); padding: 22px 22px 0; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; overflow: hidden; }
.tp-card-pic img { border-radius: 10px 10px 0 0; box-shadow: var(--tp-shadow); width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tp-card-pic.v { padding: 0; aspect-ratio: 1280 / 800; }
.tp-card-pic.v video, .tp-card-pic.v img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; box-shadow: none; }
.tp-card-txt { padding: 22px 24px 26px; } .tp-card-txt h3 { margin: 0 0 6px; font-size: 19px; } .tp-card-txt p { margin: 0; color: var(--tp-text-2); font-size: 15.5px; }

/* ---------- cennik (jak .pricing-card / .pricing-card-pro timerpro) ---------- */
.tp-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.tp-plan { background: var(--tp-bg-2); border: 1px solid var(--tp-line); border-radius: 26px; padding: 34px; display: flex; flex-direction: column; }
.tp-plan-pro { background: var(--tp-wall); border: 0; color: var(--tp-wall-ink); }
.tp-plan h3 { font-size: 22px; margin: 0; }
.tp-plan-pro h3, .tp-plan-pro .tp-plan-cena strong { color: var(--tp-wall-ink); }
.tp-plan-opis { color: var(--tp-text-2); margin: 4px 0 18px; }
.tp-plan-pro .tp-plan-opis, .tp-plan-pro .tp-plan-lista li, .tp-plan-pro .tp-plan-cena span { color: color-mix(in srgb, var(--tp-wall-ink) 78%, transparent); }
.tp-plan-cena { display: flex; align-items: baseline; gap: 8px; margin: 0 0 20px; }
.tp-plan-cena strong { font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tp-plan-cena span { color: var(--tp-text-2); }
.tp-plan-lista { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.tp-plan-lista li { color: var(--tp-text-2); }
.tp-plan-lista li::before { content: '✓'; color: var(--tp-green); font-weight: 800; margin-right: 8px; }
.tp-plan-lista b { color: inherit; font-weight: 700; }
.tp-plan-akcje { margin-top: auto; display: grid; gap: 10px; }
.tp-plan-pro .tp-btn-primary { background: #121317; color: #fff; }
:root:not([data-theme="light"]) .tp-plan-pro .tp-btn-primary { background: #fff; color: #121317; }
.tp-plan-pro .tp-btn-soft { background: rgba(255, 255, 255, .7); border-color: transparent; color: #121317; }
:root:not([data-theme="light"]) .tp-plan-pro .tp-btn-soft { background: rgba(0, 0, 0, .35); color: #fff; }
.tp-przypis { text-align: center; color: var(--tp-muted); font-size: 14px; margin: 22px 0 0; }

/* ---------- FAQ ---------- */
.tp-faq { display: grid; gap: 12px; }
.tp-faq-poz { border: 1px solid var(--tp-line); border-radius: 16px; background: var(--tp-bg-2); padding: 0 22px; }
.tp-faq-poz summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; color: var(--tp-text); display: flex; justify-content: space-between; gap: 16px; }
.tp-faq-poz summary::-webkit-details-marker { display: none; }
.tp-faq-poz summary::after { content: '+'; color: var(--tp-muted); font-weight: 400; font-size: 22px; line-height: 1; }
.tp-faq-poz[open] summary::after { content: '−'; }
.tp-faq-poz p { margin: 0 0 18px; color: var(--tp-text-2); }

/* ---------- wezwanie na „tapecie” ---------- */
.tp-cta { background: var(--tp-wall); border-radius: 32px; padding: clamp(40px, 8vw, 96px) 24px; text-align: center; color: var(--tp-wall-ink); }
.tp-cta h2, .tp-cta .lead { color: var(--tp-wall-ink); } .tp-cta .lead { margin: 0 auto 30px; max-width: 56ch; }
.tp-cta .tp-btn-primary { background: #121317; color: #fff; } .tp-cta .tp-btn-soft { background: rgba(255, 255, 255, .75); border-color: transparent; color: #121317; }
:root:not([data-theme="light"]) .tp-cta .tp-btn-primary { background: #fff; color: #121317; }
:root:not([data-theme="light"]) .tp-cta .tp-btn-soft { background: rgba(0, 0, 0, .35); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .tp-viewport img, .tp-cursor, .tp-card { transition: none; }
}
@media (max-width: 960px) {
  .tp-story { grid-template-columns: 1fr; gap: 24px; } .tp-sticky { position: relative; top: 0; order: -1; } .tp-steps { padding: 8px 0 0; }
  .tp-step { min-height: 0; opacity: 1; }
  .tp-cards, .tp-plans { grid-template-columns: 1fr; }
  section { padding: 72px 0; } .tp-hero { padding-top: 52px; }
}
@media (max-width: 480px) {
  .tp-plan { padding: 26px; } .tp-vid { border-radius: 18px; } .tp-stage { border-radius: 20px; }
}
