/*
 * Strona główna: realistyczny iPhone w CSS, animacja wejścia i opowieść przy przewijaniu.
 * Bez JavaScriptu (D-W02). Animacje przewijania przez CSS scroll-driven animations
 * (Safari 26+, Chrome 115+); starsze przeglądarki dostają ten sam układ bez ruchu.
 * Stan końcowy jest stylem bazowym, a animacje startują ze stanu początkowego —
 * przy „Ogranicz ruch” wszystko od razu wygląda jak po animacji.
 */

/* ---------- iPhone ---------- */
.iphone {
  --w: 320px;
  position: relative;
  width: var(--w);
  aspect-ratio: 9 / 19.4;
  padding: 11px;
  border-radius: 58px;
  background:
    linear-gradient(145deg, #c7c7cc 0%, #8e8e93 12%, #48484a 32%, #2c2c2e 55%, #636366 78%, #aeaeb2 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.35),
    inset 0 0 0 4px #1c1c1e,
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 40px 80px -20px rgba(0, 0, 0, 0.45),
    0 70px 120px -40px rgba(0, 122, 255, 0.35);
}
/* przyciski z boku */
.iphone .side { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #48484a, #8e8e93); }
.iphone .side.action { left: -3px; top: 17%; height: 4.5%; }
.iphone .side.vol-up { left: -3px; top: 25%; height: 9%; }
.iphone .side.vol-down { left: -3px; top: 36%; height: 9%; }
.iphone .side.power { right: -3px; top: 29%; height: 14%; }
.iphone .side.camera { right: -3px; top: 58%; height: 7%; border-radius: 3px; }

.screen {
  position: relative;
  height: 100%;
  border-radius: 47px;
  overflow: hidden;
  background: var(--bg);
  font-size: 13px;
  isolation: isolate;
}
/* odbicie światła na szkle */
.screen::after {
  content: ""; position: absolute; inset: 0; z-index: 50; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 28%, transparent 42%);
  mix-blend-mode: soft-light;
}
.island {
  position: absolute; z-index: 40; top: 11px; left: 50%; transform: translateX(-50%);
  width: 31%; height: 30px; border-radius: 20px; background: #000;
}
.status {
  position: relative; z-index: 30; display: flex; justify-content: space-between; align-items: center;
  height: 52px; padding: 0 30px 0 34px; font-weight: 600; font-size: 15px; color: var(--text);
}
.status .icons { display: flex; gap: 5px; align-items: center; }
.status .sig { width: 17px; height: 11px; background: linear-gradient(90deg, currentColor 0 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.status .bat { width: 24px; height: 11.5px; border-radius: 3.5px; box-shadow: inset 0 0 0 1.2px color-mix(in srgb, currentColor 45%, transparent); padding: 2px; }
.status .bat::before { content: ""; display: block; height: 100%; width: 80%; border-radius: 1.5px; background: currentColor; }

/* zawartość ekranu w stylu aplikacji */
.app { padding: 0 14px; }
.app .month { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 4px 12px; }
.app .card {
  position: relative; background: var(--card); border-radius: 18px; padding: 15px 16px; margin-bottom: 16px;
  background-image: radial-gradient(90% 130% at 0% 0%, var(--glow-1), transparent 62%);
}
.app .card small { color: var(--text-2); font-size: 12.5px; }
.amounts { position: relative; height: 38px; }
.amounts span { position: absolute; left: 0; top: 0; font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.amounts .before { opacity: 0; }
.app .bar { height: 6px; border-radius: 3px; background: var(--line); margin: 8px 0 7px; overflow: hidden; }
.app .bar i { display: block; height: 100%; width: 75%; border-radius: 3px; background: var(--accent); }
.app .label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-2); margin: 0 8px 6px; }
.app .list { background: var(--card); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.row { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 44px; right: 0; border-top: 1px solid var(--line); }
.row .t { flex: 1; min-width: 0; }
.row .t b { display: block; font-weight: 500; font-size: 14px; }
.row .t i { font-style: normal; font-size: 11.5px; color: var(--text-2); }
.row .t i.late { color: var(--danger); }
.row .v { font-variant-numeric: tabular-nums; font-weight: 500; font-size: 14px; }
.row.paid .t b, .row.paid .v { color: var(--text-2); }
.ring {
  position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--text-3);
}
.ring.on { background: var(--accent); box-shadow: none; }
.ring.on::after {
  content: ""; position: absolute; left: 7.5px; top: 4px; width: 5.5px; height: 10.5px;
  border: solid #fff; border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
.toast {
  position: absolute; z-index: 20; left: 14px; right: 14px; bottom: 26px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; border-radius: 16px; font-size: 13.5px; font-weight: 500;
  background: color-mix(in srgb, var(--text) 88%, transparent); color: var(--bg);
  opacity: 0; transform: translateY(20px);
}
.toast b { color: color-mix(in srgb, var(--accent) 70%, #fff); font-weight: 600; }
.home-bar { position: absolute; z-index: 45; bottom: 8px; left: 50%; transform: translateX(-50%); width: 36%; height: 5px; border-radius: 3px; background: var(--text); opacity: 0.85; }

/* ekran startowy wewnątrz telefonu (jak w aplikacji, D-34) */
.splash {
  position: absolute; inset: 0; z-index: 35; display: grid; place-items: center;
  background: var(--bg); opacity: 0; visibility: hidden;
}
.splash .logo { position: relative; width: 104px; height: 104px; }
.splash .logo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash .logo .check { transform-origin: 51.6% 53.9%; }

/* ---------- hero ---------- */
.hero2 { position: relative; padding: 48px 0 24px; overflow: hidden; }
.hero2::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 40px; width: 1300px; height: 900px; transform: translateX(-50%);
  background:
    radial-gradient(30% 35% at 38% 45%, var(--glow-1), transparent 70%),
    radial-gradient(28% 32% at 64% 50%, var(--glow-2), transparent 70%);
}
.hero2 .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; min-height: min(860px, 92vh); }
.hero-copy h1 { font-size: clamp(44px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 20px; }
.shine {
  background: linear-gradient(100deg, var(--accent) 0%, #34c759 30%, #7be495 45%, #34c759 60%, var(--accent) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out 2.2s infinite;
}
@keyframes shine { 0%, 60% { background-position: 100% 0; } 100% { background-position: -150% 0; } }
.hero-copy .lead { font-size: clamp(19px, 2.1vw, 23px); color: var(--text-2); max-width: 30em; margin: 0 0 30px; }

.stage { position: relative; display: grid; place-items: center; perspective: 1800px; }
.stage .tilt { transform: rotateY(-16deg) rotateX(6deg) rotateZ(1deg); transform-style: preserve-3d; }
.stage .iphone { animation: rise 1.5s cubic-bezier(0.16, 1, 0.3, 1) both, float 7s ease-in-out 1.6s infinite; }
@keyframes rise {
  from { opacity: 0; transform: translateY(120px) rotateX(28deg) scale(0.9); }
  to { opacity: 1; transform: none; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* sekwencja na ekranie: logo → ptaszek → pulpit → odhaczenie → komunikat */
.hero2 .splash { animation: splash-out 2.1s ease both; }
@keyframes splash-out { 0%, 78% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.hero2 .splash .logo { animation: logo-zoom 2.1s ease both; }
@keyframes logo-zoom { 0%, 70% { transform: scale(1); } 100% { transform: scale(1.18); } }
.hero2 .splash .check { animation: check-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.95s both; }
@keyframes check-pop { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: scale(1); } }

.hero2 .ring.go { animation: ring-on 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 2.9s both; }
.hero2 .ring.go::after { animation: tick-in 0.3s ease 3.05s both; }
@keyframes ring-on {
  from { background: transparent; box-shadow: inset 0 0 0 2px var(--text-3); transform: scale(1); }
  50% { transform: scale(1.18); }
  to { background: var(--accent); box-shadow: none; transform: scale(1); }
}
@keyframes tick-in { from { opacity: 0; transform: rotate(45deg) scale(0.4); } to { opacity: 1; transform: rotate(45deg) scale(1); } }
.hero2 .row.go .t b, .hero2 .row.go .v { animation: dim 0.4s ease 3s both; }
@keyframes dim { from { color: var(--text); } to { color: var(--text-2); } }
.hero2 .amounts .before { animation: fade-out 0.35s ease 3.05s both; }
.hero2 .amounts .after { animation: fade-in 0.35s ease 3.2s both; }
@keyframes fade-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px); } }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hero2 .app .bar i { animation: grow 0.8s cubic-bezier(0.16, 1, 0.3, 1) 3.05s both; }
@keyframes grow { from { width: 38%; } to { width: 75%; } }
.hero2 .toast { animation: toast 3.4s ease 3.2s both; }
@keyframes toast {
  0% { opacity: 0; transform: translateY(20px); }
  10%, 85% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(8px); }
}

/* pływające karty obok telefonu */
.float-card {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 20px; font-size: 14px; line-height: 1.3;
  background: color-mix(in srgb, var(--card) 72%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 35%, transparent), 0 18px 40px -12px rgba(0, 0, 0, 0.25);
}
.float-card img { width: 34px; height: 34px; border-radius: 8px; }
.float-card small { display: block; color: var(--text-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
.float-card.note { top: 18%; right: -2%; animation: pop-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 4s both, drift 8s ease-in-out 4.8s infinite; }
.float-card.done { bottom: 14%; left: 2%; animation: pop-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 4.5s both, drift 9s ease-in-out 5.3s infinite reverse; }
.float-card .ok { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: 18px; }
@keyframes pop-in { from { opacity: 0; transform: translateY(24px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero2 .wrap { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 12px; }
  .hero-copy .lead { margin-left: auto; margin-right: auto; }
  .hero-copy .cta { justify-content: center; }
  .stage { margin-top: 12px; }
  .stage .tilt { zoom: 0.86; }
  .float-card.note { right: 0; top: 10%; }
  .float-card.done { left: 0; bottom: 8%; }
}
@media (max-width: 480px) {
  .float-card { font-size: 12.5px; padding: 10px 12px; }
  .float-card.note { right: -6px; }
  .float-card.done { left: -6px; }
}

/* ---------- wielkie hasło rozświetlane przy przewijaniu ---------- */
.statement { padding: 120px 0; }
.statement p {
  max-width: 1120px; margin: 0 auto; text-align: center;
  font-size: clamp(34px, 5.4vw, 68px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700;
}
.statement .w { color: var(--text); }
.statement .w.green { color: var(--accent); }

/* ---------- opowieść przy przewijaniu ---------- */
.story { timeline-scope: --s1, --s2, --s3, --s4; padding: 40px 0 80px; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story-phone { position: sticky; top: calc(50vh - 330px); height: max-content; justify-self: center; }
.story-phone .iphone { --w: 330px; }
.step { min-height: 92vh; display: flex; align-items: center; }
.step .num { display: inline-block; font-weight: 700; color: var(--accent); font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 10px; }
.step h3 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 14px; }
.step p { font-size: 20px; color: var(--text-2); margin: 0; max-width: 24em; }
.s1 { view-timeline-name: --s1; }
.s2 { view-timeline-name: --s2; }
.s3 { view-timeline-name: --s3; }
.s4 { view-timeline-name: --s4; }

.layer { position: absolute; inset: 52px 0 0 0; opacity: 0; }
.layer.l1 { opacity: 1; }

/* ekran 1: dodawanie */
.form-title { display: flex; justify-content: space-between; align-items: center; padding: 6px 18px 14px; font-size: 15px; }
.form-title b { font-size: 16px; }
.form-title span { color: var(--accent); font-weight: 600; }
.fields { margin: 0 14px 14px; background: var(--card); border-radius: 14px; overflow: hidden; }
.field { position: relative; display: flex; justify-content: space-between; padding: 12px 14px; font-size: 14px; }
.field + .field::before { content: ""; position: absolute; top: 0; left: 14px; right: 0; border-top: 1px solid var(--line); }
.field span { color: var(--text-2); }
.field b { font-weight: 500; }
.field b.accent { color: var(--accent); }
.caret { display: inline-block; width: 2px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hint { margin: 0 22px; font-size: 12px; color: var(--text-2); }

/* ekran 3: ekran blokady */
.lock { position: absolute; inset: -52px 0 0 0; padding-top: 70px; text-align: center; color: #fff;
  background: radial-gradient(120% 80% at 20% 10%, #2f6f4a, transparent 60%), radial-gradient(120% 90% at 90% 90%, #1d3f8f, transparent 60%), #0b1a2a; }
.lock .date { font-size: 15px; font-weight: 600; opacity: 0.85; }
.lock .time { font-size: 82px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: 2px 0 26px; }
.push {
  margin: 0 12px; display: flex; gap: 10px; align-items: center; text-align: left;
  padding: 12px 14px; border-radius: 22px; font-size: 13.5px; line-height: 1.3;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.push img { width: 36px; height: 36px; border-radius: 9px; }
.push .meta { display: flex; justify-content: space-between; font-size: 12px; opacity: 0.8; }
.push b { font-weight: 600; }
.push + .push { margin-top: 8px; opacity: 0.75; transform: scale(0.96); }

/* ekran 4: podsumowanie roku */
.sum-title { text-align: center; padding: 4px 0 10px; font-weight: 600; font-size: 15px; }
.sum-card { margin: 0 14px 14px; text-align: center; background: var(--card); border-radius: 18px; padding: 16px;
  background-image: radial-gradient(90% 130% at 0% 0%, var(--glow-1), transparent 62%); }
.sum-card small { color: var(--text-2); }
.sum-card .big { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chart { margin: 0 14px 14px; background: var(--card); border-radius: 16px; padding: 14px 12px 10px; }
.chart .bars { display: flex; align-items: flex-end; gap: 4px; height: 120px; }
.chart .bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent); transform-origin: bottom; }
.chart .months { display: flex; gap: 4px; margin-top: 6px; font-size: 10px; color: var(--text-2); }
.chart .months span { flex: 1; text-align: center; }
.cats { margin: 0 14px; background: var(--card); border-radius: 14px; overflow: hidden; }
.cats .row .v { font-size: 13px; }
.dot { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; }

.step-phone { display: none; }
@media (max-width: 900px) {
  /* Na telefonie bez „przyklejonego” iPhone'a: każdy krok ma własny ekran. */
  .story-grid { grid-template-columns: 1fr; gap: 0; }
  .story-phone { display: none; }
  .step { min-height: 0; display: block; text-align: center; padding: 48px 0 8px; }
  .step p { margin: 0 auto; font-size: 18px; }
  .step h3 { font-size: 32px; }
  .step-phone { display: flex; justify-content: center; margin-top: 28px; }
  .step-phone { zoom: 0.82; }
  .step-phone .layer { opacity: 0 !important; animation: none !important; }
  .step-phone.show-1 .l1, .step-phone.show-2 .l2, .step-phone.show-3 .l3, .step-phone.show-4 .l4 { opacity: 1 !important; }
}

/* ---------- animacje przy przewijaniu (tylko gdy przeglądarka je obsługuje) ---------- */
@supports (animation-timeline: view()) {
  .layer { animation: layer linear both; animation-range: cover 18% cover 82%; }
  .l1 { animation-name: layer-first; animation-timeline: --s1; }
  .l2 { animation-timeline: --s2; }
  .l3 { animation-timeline: --s3; }
  .l4 { animation-name: layer-last; animation-timeline: --s4; }

  .l2 .ring { animation: ring-on linear both; animation-timeline: --s2; }
  .l2 .ring::after { animation: tick-in linear both; animation-timeline: --s2; }
  .l2 .row:nth-child(1) .ring, .l2 .row:nth-child(1) .ring::after { animation-range: cover 32% cover 38%; }
  .l2 .row:nth-child(2) .ring, .l2 .row:nth-child(2) .ring::after { animation-range: cover 40% cover 46%; }
  .l2 .row:nth-child(3) .ring, .l2 .row:nth-child(3) .ring::after { animation-range: cover 48% cover 54%; }
  .l2 .row:nth-child(4) .ring, .l2 .row:nth-child(4) .ring::after { animation-range: cover 56% cover 62%; }

  .l3 .push:first-child { animation: drop linear both; animation-timeline: --s3; animation-range: cover 30% cover 45%; }
  @keyframes drop { from { opacity: 0; transform: translateY(-30px) scale(0.95); } to { opacity: 1; transform: none; } }

  .l4 .bars i { animation: bar linear both; animation-timeline: --s4; animation-range: cover 28% cover 52%; }
  @keyframes bar { from { transform: scaleY(0); } to { transform: scaleY(1); } }

  .step > div { animation: rise-text linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  @keyframes rise-text { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

  .statement .w { animation: light linear both; animation-timeline: view(); animation-range: cover 20% cover 45%; }
  @keyframes light { from { color: color-mix(in srgb, var(--text) 55%, var(--bg)); } }

  .reveal { animation: rise-text linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }

  /* telefon w każdym kroku (wersja mobilna) */
  .step-phone .iphone { animation: phone-in linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  @keyframes phone-in { from { opacity: 0; transform: translateY(60px) scale(0.94) rotateX(14deg); } to { opacity: 1; transform: none; } }
  .step-phone .l2 .ring, .step-phone .l2 .ring::after { animation-timeline: view(); }
  .step-phone .l2 .row:nth-child(1) .ring, .step-phone .l2 .row:nth-child(1) .ring::after { animation-range: cover 30% cover 36%; }
  .step-phone .l2 .row:nth-child(2) .ring, .step-phone .l2 .row:nth-child(2) .ring::after { animation-range: cover 36% cover 42%; }
  .step-phone .l2 .row:nth-child(3) .ring, .step-phone .l2 .row:nth-child(3) .ring::after { animation-range: cover 42% cover 48%; }
  .step-phone .l2 .row:nth-child(4) .ring, .step-phone .l2 .row:nth-child(4) .ring::after { animation-range: cover 48% cover 54%; }
  .step-phone .l3 .push:first-child { animation-timeline: view(); animation-range: cover 30% cover 45%; }
  .step-phone .l4 .bars i { animation-timeline: view(); animation-range: cover 25% cover 50%; }

  .stage .tilt { animation: flatten linear both; animation-timeline: view(); animation-range: exit 0% exit 60%; }
  @keyframes flatten { to { transform: rotateY(0) rotateX(18deg) translateY(-40px) scale(0.92); opacity: 0.4; } }
}
@keyframes layer { 0% { opacity: 0; transform: translateY(14px) scale(0.98); } 18%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px) scale(0.99); } }
@keyframes layer-first { 0%, 82% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-10px) scale(0.99); } }
@keyframes layer-last { 0% { opacity: 0; transform: translateY(14px) scale(0.98); } 18%, 100% { opacity: 1; transform: none; } }

/* ---------- „Ogranicz ruch”: bez animacji, od razu stan końcowy ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .layer { opacity: 0 !important; }
  .layer.l1 { opacity: 1 !important; }
}

/* =====================================================================
   Poziom „agencja”: ikony, pasek zaufania, bento, ciemna prywatność, Pro, finał
   ===================================================================== */
.ico { width: 26px; height: 26px; flex: none; }
.ico.big { width: 64px; height: 64px; stroke-width: 1.4; }
.ico.huge { width: 88px; height: 88px; stroke-width: 1.3; }
.eyebrow { display: inline-block; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); margin-bottom: 12px; }
.eyebrow.light { color: #30d158; }
section h2 { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em; }

/* nagłówek */
.top nav { align-items: center; }
.nav-cta { padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff !important; font-weight: 600; font-size: 14px; }
.nav-cta:hover { text-decoration: none; background: var(--accent-strong); }

/* reflektor i podłoga pod telefonem w nagłówku */
.spot {
  position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(48, 209, 88, 0.0), rgba(48, 209, 88, 0.28), rgba(10, 132, 255, 0.32), rgba(48, 209, 88, 0.0), rgba(10, 132, 255, 0.22), rgba(48, 209, 88, 0.0));
  filter: blur(60px); animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.floor {
  position: absolute; z-index: -1; bottom: -26px; width: 70%; height: 46px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.35), transparent);
  filter: blur(6px);
}
@media (prefers-color-scheme: dark) { .floor { background: radial-gradient(closest-side, rgba(48, 209, 88, 0.25), transparent); } }

/* pasek zaufania */
.trust { padding: 8px 0 24px; }
.trust ul { list-style: none; margin: 0; padding: 18px 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: 12px; justify-content: center; color: var(--text); }
.trust li .ico { color: var(--accent); }
.trust b { display: block; font-size: 16px; }
.trust span { font-size: 14px; color: var(--text-2); line-height: 1.3; }
@media (max-width: 860px) { .trust ul { grid-template-columns: repeat(2, 1fr); row-gap: 18px; } .trust li { justify-content: flex-start; } }

/* bento */
.bento-sec { padding: 96px 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 8px; }
.b {
  position: relative; overflow: hidden; border-radius: 28px; padding: 28px; background: var(--card);
  box-shadow: var(--shadow); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.b:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 24px 50px -12px rgba(0,0,0,.18); }
.b h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin: 14px 0 8px; }
.b p { margin: 0; color: var(--text-2); font-size: 16px; }
.b-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.b-ico.red { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }
.b .badge { position: absolute; top: 22px; right: 22px; margin: 0; }
.b-late { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; }
.b-unknown { grid-column: span 2; }
.b-swipe { grid-column: span 3; }
.b-remind { grid-column: span 3; }
.b-face, .b-family, .b-backup { grid-column: span 2; text-align: center; padding-top: 40px; }
.b-face p, .b-family p, .b-backup p { max-width: 16em; margin: 0 auto; }
.glyph { color: var(--accent); display: grid; place-items: center; height: 80px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-late { grid-column: span 2; grid-template-columns: 1fr; }
  .b-unknown, .b-swipe, .b-remind, .b-face, .b-family, .b-backup { grid-column: span 1; }
}
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .b-late, .b-unknown, .b-swipe, .b-remind, .b-face, .b-family, .b-backup { grid-column: span 1; } }

.mini { margin-top: 18px; background: var(--bg); border-radius: 16px; overflow: hidden; font-size: 13px; }
.b-late .mini { margin-top: 0; }
.mini .row { padding: 11px 14px; }
.mini-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 12px 14px 2px; }
.mini-label.red { color: var(--danger); }
.ring.red { box-shadow: inset 0 0 0 2px var(--danger); }
.pill { font-size: 12px; color: var(--text-2); background: var(--card); padding: 3px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.swipe { position: relative; }
.swipe-track { position: relative; }
.swipe-track .row { position: relative; z-index: 1; background: var(--bg); animation: swipe 4.5s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
.swipe-del { position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 76px; display: grid; place-items: center; background: var(--danger); color: #fff; }
.swipe-del .ico { width: 22px; height: 22px; }
@keyframes swipe { 0%, 22% { transform: translateX(0); } 38%, 70% { transform: translateX(-76px); } 86%, 100% { transform: translateX(0); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { font-size: 14px; padding: 7px 12px; border-radius: 999px; background: var(--bg); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
.chips span.on { background: var(--accent); color: #fff; box-shadow: none; }
.avatars { display: flex; justify-content: center; height: 80px; align-items: center; }
.avatars span { width: 46px; height: 46px; margin: 0 -6px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff;
  background: var(--c); box-shadow: 0 0 0 3px var(--card); }

/* prywatność na czarnym tle */
.dark-band {
  --text: #f5f5f7; --text-2: #a1a1a6; --line: #38383a; --card: #1c1c1e; --bg: #000;
  position: relative; overflow: hidden; background: #000; color: var(--text); padding: 120px 0;
}
.dark-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 50% 18%, rgba(48, 209, 88, 0.28), transparent 70%),
              radial-gradient(50% 50% at 50% 100%, rgba(10, 132, 255, 0.18), transparent 70%);
}
.dark-band .wrap { position: relative; }
.dark-band a { color: #2997ff; }
.lock-glow { display: inline-grid; place-items: center; width: 150px; height: 150px; border-radius: 40px; margin-bottom: 26px;
  color: #30d158; background: linear-gradient(180deg, #1c1c1e, #0b0b0c);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 0 80px rgba(48, 209, 88, 0.35); }
.promises2 { list-style: none; padding: 0; margin: 48px auto 0; max-width: 1200px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.promises2 li { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.promises2 .ico { color: #30d158; margin-bottom: 14px; }
.promises2 b { display: block; font-size: 18px; margin-bottom: 4px; }
.promises2 span { color: var(--text-2); font-size: 15px; }
@media (max-width: 900px) { .promises2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .promises2 { grid-template-columns: 1fr; } }

/* Pro: karta z animowaną, świecącą ramką */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pro-sec { padding: 110px 0 80px; }
.pro-card {
  position: relative; max-width: 760px; margin: 8px auto 0; padding: 2px; border-radius: 32px;
  background: conic-gradient(from var(--angle), #30d158, #0a84ff, #5ac8fa, #34c759, #30d158);
  animation: angle 6s linear infinite;
  box-shadow: 0 30px 80px -30px rgba(48, 209, 88, 0.5);
}
@keyframes angle { to { --angle: 360deg; } }
.pro-inner { border-radius: 30px; background: var(--card); padding: 36px; }
.pro-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.pro-head img { border-radius: 15px; box-shadow: var(--shadow); }
.pro-head h3 { margin: 0; font-size: 28px; letter-spacing: -0.02em; }
.pro-head p { margin: 2px 0 0; color: var(--text-2); font-size: 15px; }
.pro-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.pro-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.pro-list .ico { width: 24px; height: 24px; color: var(--accent); }
.free-line { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.free-line b { color: var(--text); }
@media (max-width: 620px) { .pro-list { grid-template-columns: 1fr; } .pro-inner { padding: 26px; } }

/* zakończenie */
.final { padding: 120px 0 130px; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(35% 45% at 50% 30%, var(--glow-2), transparent 70%), radial-gradient(40% 40% at 50% 70%, var(--glow-1), transparent 70%); }
.final-icon { border-radius: 27px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); margin-bottom: 28px; }
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.store-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 22px 10px 16px; border-radius: 14px;
  background: var(--text); color: var(--bg); text-align: left; line-height: 1.1; font-size: 20px; font-weight: 600; }
.store-pill small { display: block; font-size: 11px; font-weight: 500; opacity: 0.8; }

/* ikonki kategorii w ekranach telefonu (zamiast emoji) */
.cat { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; }
.cat svg { width: 16px; height: 16px; color: #fff; }

@media (prefers-reduced-motion: reduce) { .spot, .swipe-track .row, .pro-card { animation: none !important; } }

/* ---------- Pro: sekcja-gwiazda ---------- */
.pro-sec2 { position: relative; overflow: hidden; padding: 130px 0; }
.pro-sec2::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(35% 45% at 78% 45%, rgba(255, 196, 0, 0.22), transparent 70%),
    radial-gradient(30% 40% at 70% 60%, rgba(48, 209, 88, 0.22), transparent 70%),
    radial-gradient(40% 50% at 10% 20%, var(--glow-1), transparent 70%);
}
.pro-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.pro-copy h2 { font-size: clamp(44px, 6vw, 84px); margin-bottom: 18px; }
.gold {
  background: linear-gradient(100deg, #ff9f0a 0%, #ffd60a 22%, #34c759 50%, #30d158 65%, #ffcc00 85%, #ff9f0a 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: goldflow 7s ease-in-out infinite;
}
@keyframes goldflow { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.stats {
  display: grid; grid-template-columns: 1.45fr 1fr 1fr; margin: 8px 0 32px; border-radius: 24px; overflow: hidden;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), var(--shadow);
}
.stats div { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 22px 24px; text-align: left; }
.stats div + div { border-left: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.stats b {
  font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  background: linear-gradient(180deg, var(--text) 30%, color-mix(in srgb, var(--text) 55%, transparent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stats div:first-child b {
  font-size: clamp(42px, 4.4vw, 64px);
  background: linear-gradient(100deg, #ff9f0a, #ffcc00 35%, #34c759 75%, #30d158);
  -webkit-background-clip: text; background-clip: text;
}
.stats span { font-size: 14px; line-height: 1.3; color: var(--text-2); }
.gtiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gtiles li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), var(--shadow);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.gtiles li:hover { transform: translateY(-3px) scale(1.01); }
.gtiles b { display: block; font-size: 16px; }
.gtiles li > span:last-child { font-size: 14px; color: var(--text-2); line-height: 1.3; }
.gtile, .itile { flex: none; display: grid; place-items: center; color: #fff; border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px -6px var(--tc); background: linear-gradient(160deg, color-mix(in srgb, var(--tc) 80%, #fff), var(--tc)); }
.gtile { width: 44px; height: 44px; }
.gtile svg { width: 24px; height: 24px; }
.itile { width: 28px; height: 28px; border-radius: 7px; box-shadow: none; }
.itile svg { width: 16px; height: 16px; }
.green { --tc: #30b14e; } .indigo { --tc: #5856d6; } .red { --tc: #ff3b30; } .teal { --tc: #10a5b8; } .blue { --tc: #007aff; } .orange { --tc: #ff9500; }
.pro-foot { margin: 22px 0 0; color: var(--text-2); font-size: 15px; }

.pro-stage { position: relative; display: grid; place-items: center; perspective: 1800px; }
.pro-halo { position: absolute; width: 520px; height: 520px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 90deg, rgba(255, 204, 0, 0.45), rgba(48, 209, 88, 0.4), rgba(255, 149, 0, 0.35), rgba(255, 204, 0, 0.45));
  filter: blur(70px); animation: spin 18s linear infinite; }
.pro-tilt { transform: rotateY(14deg) rotateX(4deg) rotateZ(-1.5deg); }
.pro-tilt .iphone { --w: 320px; animation: float 8s ease-in-out infinite; }
.paywall { padding: 0 14px; }
.pw-close { position: absolute; top: 58px; left: 18px; color: var(--accent); font-size: 14px; }
.paywall { padding-top: 10px; }
.pw-hero { display: grid; justify-items: center; gap: 2px; text-align: center; margin: 0 0 10px; }
.pw-star { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; margin-bottom: 4px;
  background: linear-gradient(160deg, #ffc23d, #ff9500); box-shadow: 0 10px 24px -8px rgba(255, 149, 0, 0.7); animation: twinkle 3.5s ease-in-out infinite; }
.pw-star svg { width: 28px; height: 28px; }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.06) rotate(-4deg); } }
.pw-hero b { font-size: 20px; letter-spacing: -0.02em; }
.pw-hero i { font-style: normal; font-size: 12.5px; color: var(--text-2); }
.paywall .list { margin-bottom: 10px; }
.paywall .list .row { padding: 5px 12px; gap: 9px; }
.paywall .list .row + .row::before { left: 50px; }
.paywall .row .t b { font-size: 13px; }
.paywall .row .t i { font-size: 11px; }
.pw-buy { margin-top: 0; text-align: center; padding: 11px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 15px;
  background: var(--accent); box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.5); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.55); } 70%, 100% { box-shadow: 0 0 0 14px rgba(48, 209, 88, 0); } }
.pw-restore { text-align: center; color: var(--accent); font-size: 13px; padding: 7px; }

@media (max-width: 960px) {
  .pro-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .gtiles { text-align: left; }
  .pro-tilt { zoom: 0.84; }
}
@media (max-width: 560px) {
  .gtiles { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:first-child { grid-column: span 2; border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); align-items: center; text-align: center; }
  .stats div:nth-child(2) { border-left: 0; }
  .stats div { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .gold, .pro-halo, .pw-star, .pw-buy, .pro-tilt .iphone { animation: none !important; } }

/* ---------- prywatność: czytelność i efekt „chronione” ---------- */
.dark-band { --text-2: #c7c7cc; padding: 140px 0 130px; }
.dark-band .wrap.center { display: flex; flex-direction: column; align-items: center; }
.dark-band h2 {
  letter-spacing: -0.025em; line-height: 1.06; margin-top: 6px;
  background: linear-gradient(180deg, #ffffff 40%, #a1a1a6); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dark-band .section-lead { color: #c7c7cc; max-width: 34em; font-size: 21px; }
.dark-band .eyebrow { margin: 0; font-size: 17px; }

.lock-glow { position: relative; width: 168px; height: 168px; border-radius: 46px; margin-bottom: 34px; isolation: isolate; }
.lock-glow .ico.huge { width: 92px; height: 92px; filter: drop-shadow(0 0 18px rgba(48, 209, 88, 0.6)); }
.lock-glow::before, .lock-glow::after {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 50px;
  border: 1.5px solid rgba(48, 209, 88, 0.55);
  animation: ripple 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.lock-glow::after { animation-delay: 1.8s; }
@keyframes ripple { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.1); opacity: 0; } }

.promises2 { gap: 18px; margin-top: 56px; }
.promises2 li {
  position: relative; padding: 30px 28px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}
.promises2 li:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(48, 209, 88, 0.45), 0 20px 50px -18px rgba(48, 209, 88, 0.45);
}
.promises2 .ico {
  box-sizing: content-box; width: 26px; height: 26px; padding: 12px; margin-bottom: 18px; border-radius: 16px;
  color: #30d158; background: rgba(48, 209, 88, 0.12); box-shadow: 0 0 24px rgba(48, 209, 88, 0.25);
}
.promises2 b { font-size: 20px; letter-spacing: -0.01em; margin-bottom: 8px; color: #fff; }
.promises2 span { display: block; font-size: 16px; line-height: 1.5; color: #c7c7cc; }
.dark-band .note { margin-top: 36px; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .lock-glow::before, .lock-glow::after { animation: none !important; opacity: 0; } }

/* ---------- bento: żywe kafelki ---------- */
.b { --gc: rgba(48, 209, 88, 0.35); isolation: isolate; }
.b::before {
  content: ""; position: absolute; z-index: -1; top: -30%; right: -20%; width: 70%; height: 90%;
  background: radial-gradient(closest-side, var(--gc), transparent); opacity: 0.55; transition: opacity 0.5s;
}
.b::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 22%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent); }
.b:hover::before { opacity: 1; }
.glow-red { --gc: rgba(255, 69, 58, 0.38); } .glow-red2 { --gc: rgba(255, 105, 97, 0.3); }
.glow-amber { --gc: rgba(255, 204, 0, 0.32); } .glow-green { --gc: rgba(48, 209, 88, 0.35); }
.glow-teal { --gc: rgba(64, 200, 224, 0.35); } .glow-blue { --gc: rgba(10, 132, 255, 0.38); } .glow-indigo { --gc: rgba(94, 92, 230, 0.4); }
.b h3 { font-size: 26px; }
.b p { color: color-mix(in srgb, var(--text) 72%, var(--bg)); font-size: 16.5px; }
.b-late .mini { box-shadow: 0 20px 40px -20px rgba(255, 69, 58, 0.45); }

/* zaległe: pulsujący alarm */
.ring.red { animation: alarm 2.2s ease-in-out infinite; }
.mini-list .row:nth-child(3) .ring.red { animation-delay: 0.4s; }
@keyframes alarm { 0%, 100% { box-shadow: inset 0 0 0 2px var(--danger), 0 0 0 0 rgba(255, 69, 58, 0.5); } 50% { box-shadow: inset 0 0 0 2px var(--danger), 0 0 0 7px rgba(255, 69, 58, 0); } }

/* nieznana kwota: mieniąca się plakietka */
.pill { position: relative; overflow: hidden; }
.pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, #fff 45%, transparent) 50%, transparent 70%);
  transform: translateX(-120%); animation: sheen 3s ease-in-out infinite; }
@keyframes sheen { 0%, 40% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }

/* przypomnienia: dni zapalają się po kolei + mini-powiadomienie */
.chips span.on { animation: chip 6s ease-in-out infinite; }
.chips span.on:nth-child(3) { animation-delay: 0.35s; }
.chips span.on:nth-child(4) { animation-delay: 0.7s; }
@keyframes chip {
  0%, 8% { background: var(--bg); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); transform: scale(1); }
  14% { transform: scale(1.08); }
  18%, 88% { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(48, 209, 88, 0.8); transform: scale(1); }
  100% { background: var(--bg); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }
}
.mini-push {
  display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; border-radius: 18px; max-width: 360px;
  background: color-mix(in srgb, var(--bg) 70%, transparent); box-shadow: inset 0 0 0 1px var(--line), 0 14px 30px -14px rgba(0,0,0,.4);
  font-size: 14px; line-height: 1.3; animation: push-in 6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.mini-push img { width: 30px; height: 30px; border-radius: 7px; }
.mini-push b { display: block; font-size: 11px; letter-spacing: 0.04em; color: var(--text-2); }
@keyframes push-in { 0%, 20% { opacity: 0; transform: translateY(-14px) scale(0.96); } 30%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

/* Face ID: skanowanie i „rozpoznano” */
.face-scan { position: relative; width: 96px; margin: 0 auto; overflow: hidden; border-radius: 20px; }
.face-scan .ico.big { animation: recognized 3.6s ease-in-out infinite; }
.scan { position: absolute; left: 8%; right: 8%; height: 2px; top: 10%; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #40c8e0, transparent); box-shadow: 0 0 12px #40c8e0;
  animation: scanline 3.6s ease-in-out infinite; }
@keyframes scanline { 0% { top: 12%; opacity: 0; } 8% { opacity: 1; } 45% { top: 86%; opacity: 1; } 55%, 100% { top: 86%; opacity: 0; } }
@keyframes recognized { 0%, 50% { color: color-mix(in srgb, var(--text) 55%, transparent); filter: none; transform: scale(1); }
  58% { transform: scale(1.08); } 62%, 92% { color: var(--accent); filter: drop-shadow(0 0 12px rgba(48, 209, 88, 0.7)); transform: scale(1); } 100% { color: color-mix(in srgb, var(--text) 55%, transparent); } }

/* rodzina: awatary wskakują po kolei */
.avatars span { animation: hop 5s cubic-bezier(0.34, 1.56, 0.64, 1) infinite; }
.avatars span:nth-child(2) { animation-delay: 0.15s; } .avatars span:nth-child(3) { animation-delay: 0.3s; } .avatars span:nth-child(4) { animation-delay: 0.45s; }
@keyframes hop { 0%, 6% { transform: translateY(14px) scale(0.6); opacity: 0; } 16%, 90% { transform: none; opacity: 1; } 100% { transform: translateY(6px) scale(0.9); opacity: 0; } }

/* kopia z hasłem: szyfrowanie na oczach */
.cipher { position: relative; height: 32px; margin: 10px auto 0; max-width: 240px; border-radius: 10px; overflow: hidden;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/32px ui-monospace, "SF Mono", Menlo, monospace; }
.cipher span { position: absolute; inset: 0; text-align: center; }
.cipher .plain { animation: plain 5s ease-in-out infinite; }
.cipher .enc { color: #7d7aff; animation: enc 5s ease-in-out infinite; }
@keyframes plain { 0%, 35% { opacity: 1; filter: blur(0); } 45%, 90% { opacity: 0; filter: blur(4px); } 100% { opacity: 1; } }
@keyframes enc { 0%, 38% { opacity: 0; letter-spacing: 0.4em; } 50%, 88% { opacity: 1; letter-spacing: 0.02em; } 98%, 100% { opacity: 0; } }
.b-backup .glyph { height: 64px; color: #7d7aff; }
.b-face .glyph { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  .ring.red, .pill::after, .chips span.on, .mini-push, .face-scan .ico.big, .scan, .avatars span, .cipher .plain, .cipher .enc { animation: none !important; }
  .scan, .cipher .plain { opacity: 0; } .cipher .enc { opacity: 1; } .face-scan .ico.big { color: var(--accent); }
}

/* ---------- światło za telefonem w krokach, kolor zmienia się z krokiem ---------- */
@property --g1 { syntax: "<color>"; inherits: false; initial-value: rgba(48, 209, 88, 0.45); }
@property --g2 { syntax: "<color>"; inherits: false; initial-value: rgba(10, 132, 255, 0.35); }
.story { view-timeline-name: --story; timeline-scope: --s1, --s2, --s3, --s4; }
.story-phone { isolation: isolate; }
.step-phone { position: relative; isolation: isolate; }
.story-glow {
  position: absolute; z-index: -1; left: 50%; top: 50%; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--g1), var(--g2), transparent 55%, var(--g1), transparent 85%);
  filter: blur(70px); opacity: 0.9;
  animation: spin 20s linear infinite;
}
.step-phone .story-glow { width: 420px; height: 420px; margin: -210px 0 0 -210px; filter: blur(55px); }
.step-phone.show-2 .story-glow { --g1: rgba(52, 199, 89, 0.5); --g2: rgba(0, 199, 190, 0.38); }
.step-phone.show-3 .story-glow { --g1: rgba(10, 132, 255, 0.5); --g2: rgba(94, 92, 230, 0.4); }
.step-phone.show-4 .story-glow { --g1: rgba(255, 196, 0, 0.45); --g2: rgba(48, 209, 88, 0.38); }
@supports (animation-timeline: view()) {
  .story-phone .story-glow {
    animation: spin 20s linear infinite, glow-steps linear both;
    animation-timeline: auto, --story;
    animation-range: normal, contain 0% contain 100%;
  }
  @keyframes glow-steps {
    0% { --g1: rgba(48, 209, 88, 0.5); --g2: rgba(10, 132, 255, 0.35); }
    33% { --g1: rgba(52, 199, 89, 0.5); --g2: rgba(0, 199, 190, 0.4); }
    66% { --g1: rgba(10, 132, 255, 0.55); --g2: rgba(94, 92, 230, 0.45); }
    100% { --g1: rgba(255, 196, 0, 0.5); --g2: rgba(48, 209, 88, 0.4); }
  }
}
@media (prefers-reduced-motion: reduce) { .story-glow { animation: none !important; } }
.story { overflow-x: clip; }

/* ---------- pytania: sekcja premium ---------- */
.faq2 { position: relative; padding: 120px 0; overflow: hidden; }
.faq2::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(35% 45% at 15% 30%, var(--glow-1), transparent 70%), radial-gradient(35% 45% at 85% 75%, var(--glow-2), transparent 70%); }
.faq-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin: 0 0 16px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: center; margin-top: 8px; padding: 22px; border-radius: 26px;
  background: color-mix(in srgb, var(--card) 72%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 18%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), var(--shadow);
}
.contact-card b { display: block; font-size: 18px; }
.contact-card div > span { font-size: 15px; color: var(--text-2); }
.contact-actions { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.itile.big { width: 48px; height: 48px; border-radius: 14px; }
.itile.big svg { width: 26px; height: 26px; }

.faq-list { display: grid; gap: 12px; }
/* Akordeon bez JavaScriptu: ukryte przyciski wyboru (jedno pytanie naraz), animacja wysokości przez siatkę 0fr → 1fr. */
.qa {
  position: relative; border-radius: 22px; background: var(--card); overflow: hidden;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 14%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent);
  transition: box-shadow 0.5s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.qa:hover { transform: translateY(-2px); }
.qa:has(.qa-r:checked) { box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--accent) 70%, transparent), 0 20px 50px -22px color-mix(in srgb, var(--accent) 70%, transparent); }
.qa-r { position: absolute; opacity: 0; pointer-events: none; }
.qa-h { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.qa-r:focus-visible + .qa-top .qa-h { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: 22px; }
.qa .itile { width: 38px; height: 38px; border-radius: 11px; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.qa .itile svg { width: 21px; height: 21px; }
.qa-r:checked + .qa-top .itile { transform: scale(1.08) rotate(-6deg); }
.qa .q { flex: 1; }
.qa-top { position: relative; }
/* Kliknięcie otwartego pytania (albo zielonego krzyżyka) zwija je. */
.qa-x { position: absolute; inset: 0; display: none; cursor: pointer; }
.qa-r:checked + .qa-top .qa-x { display: block; }
.qa-x:hover ~ .qa-h .pm, .qa-top:has(.qa-x:hover) .pm { transform: rotate(135deg) scale(1.1); }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 1px; background: var(--text-2); transition: background 0.4s; }
.pm::after { transform: rotate(90deg); }
.qa-r:checked + .qa-top .pm { transform: rotate(135deg); background: var(--accent); }
.qa-r:checked + .qa-top .pm::before, .qa-r:checked + .qa-top .pm::after { background: #fff; }
.ans-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.qa-r:checked ~ .ans-wrap { grid-template-rows: 1fr; }
.ans { min-height: 0; overflow: hidden; }
.ans p { margin: 0; padding: 0 22px 22px 76px; color: color-mix(in srgb, var(--text) 75%, var(--bg)); font-size: 16.5px; line-height: 1.6;
  opacity: 0; transform: translateY(-8px); transition: opacity 0.35s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1); }
.qa-r:checked ~ .ans-wrap .ans p { opacity: 1; transform: none; transition-delay: 0.08s; }

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-intro { position: static; text-align: center; }
  .contact-card { text-align: left; }
  .qa-h { font-size: 16.5px; padding: 18px; gap: 12px; }
  .ans p { padding: 0 18px 20px 18px; }
}
@media (prefers-reduced-motion: reduce) { .ans-wrap, .ans p, .pm, .qa .itile { transition: none !important; } }

/* przyciski sklepów w nagłówku */
.hero-stores { justify-content: flex-start; margin-top: 26px; }
.hero-stores .store-pill { font-size: 18px; padding: 9px 20px 9px 14px; }
@media (max-width: 900px) { .hero-stores { justify-content: center; } }

/* przyciski sklepów: czarne, jak prawdziwe przyciski sklepów (w obu trybach) */
.store-pill { background: #000; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 10px 24px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s; }
.store-pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 16px 30px -12px rgba(0, 0, 0, 0.55); }
.store-pill small { opacity: 0.75; }
.hero-stores { margin-top: 4px; }
.hero-links { display: flex; gap: 28px; margin-top: 22px; font-size: 17px; font-weight: 600; }
.hero-links a { color: var(--accent); }
.hero-links a span { display: inline-block; transition: transform 0.3s; }
.hero-links a:hover { text-decoration: none; }
.hero-links a:hover span { transform: translateX(3px); }
.hero-links a:first-child:hover span { transform: translateY(3px); }
@media (max-width: 900px) { .hero-links { justify-content: center; } }

/* ---------- wielki finał ---------- */
.final { padding: 80px 0 140px; }
.final::before {
  background:
    radial-gradient(30% 40% at 50% 28%, rgba(48, 209, 88, 0.30), transparent 70%),
    radial-gradient(45% 45% at 50% 75%, var(--glow-1), transparent 70%),
    radial-gradient(25% 30% at 20% 60%, rgba(94, 92, 230, 0.16), transparent 70%),
    radial-gradient(25% 30% at 80% 55%, rgba(255, 204, 0, 0.12), transparent 70%);
}
.final h2 { font-size: clamp(48px, 7vw, 96px); }
.final .section-lead { font-size: 21px; }
.final-stage { position: relative; height: 420px; max-width: 900px; margin: 0 auto 10px; display: grid; place-items: center; }
.rays {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(48, 209, 88, 0.22) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 100%); mask: radial-gradient(closest-side, #000 30%, transparent 100%);
  animation: spin 40s linear infinite; opacity: 0.8;
}
.final-logo { position: relative; width: 170px; height: 170px; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(48, 209, 88, 0.35)); }
.final-logo img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 38px; }
.final-logo .check { border-radius: 0; transform-origin: 51.6% 53.9%; }
.final-reflect {
  position: absolute; bottom: 28px; width: 200px; height: 40px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(48, 209, 88, 0.45), transparent); filter: blur(10px);
}
.fchip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 9px; border-radius: 999px;
  font-size: 14px; white-space: nowrap;
  background: color-mix(in srgb, var(--card) 70%, transparent); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 20%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), 0 14px 30px -14px rgba(0, 0, 0, 0.45);
  animation: drift 7s ease-in-out infinite;
}
.fchip i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-style: normal; font-weight: 700; font-size: 12px; }
.fchip b { font-weight: 600; }
.fchip em { font-style: normal; color: var(--text-2); font-variant-numeric: tabular-nums; }
.fchip.c1 { left: 6%; top: 16%; animation-duration: 7s; }
.fchip.c2 { left: 0%; top: 52%; animation-duration: 8.5s; animation-delay: -2s; }
.fchip.c3 { left: 14%; top: 82%; animation-duration: 7.5s; animation-delay: -4s; }
.fchip.c4 { right: 6%; top: 14%; animation-duration: 8s; animation-delay: -1s; }
.fchip.c5 { right: 0%; top: 50%; animation-duration: 9s; animation-delay: -3s; }
.fchip.c6 { right: 13%; top: 80%; animation-duration: 7.2s; animation-delay: -5s; }

@supports (animation-timeline: view()) {
  .final-logo .check { animation: check-pop linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
  .fchip { animation: drift 7s ease-in-out infinite, chip-in linear both; animation-timeline: auto, view(); animation-range: normal, entry 20% cover 40%; }
  @keyframes chip-in { from { opacity: 0; scale: 0.7; translate: 0 30px; } to { opacity: 1; scale: 1; translate: 0 0; } }
}
@media (max-width: 760px) {
  .final-stage { height: 340px; }
  .rays { width: 380px; height: 380px; }
  .final-logo { width: 130px; height: 130px; }
  .final-logo img { border-radius: 29px; }
  .fchip { font-size: 12.5px; padding: 7px 11px 7px 7px; }
  .fchip em { display: none; }
  .fchip.c1 { left: 0; top: 8%; } .fchip.c4 { right: 0; top: 8%; }
  .fchip.c2 { left: -2%; top: 46%; } .fchip.c5 { right: -2%; top: 46%; }
  .fchip.c3 { left: 4%; top: 84%; } .fchip.c6 { right: 4%; top: 84%; }
}
@media (prefers-reduced-motion: reduce) { .rays, .final-logo, .fchip, .final-logo .check { animation: none !important; } }

.hero-eyebrow { display: block; font-size: 17px; margin-bottom: 14px; }

@media (prefers-color-scheme: dark) {
  .chips span.on, .pw-buy, .qa-r:checked + .qa-top .pm::before { color: #002e0e; }
  .pw-buy { color: #002e0e; }
}

@media (prefers-color-scheme: dark) { .top .nav-cta, .top .nav-cta:hover { color: #002e0e !important; } }
