/* Strony funkcji — styl z nowej strony głównej: miękkie kafle, pastelowe panele, niebieskie ptaszki.
   Hero stron funkcji zostaje bez zmian. */
.fx-section { padding: 72px 0; }
.fx-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.fx-split.rev .fx-media { order: 2; }
.fx-copy .kicker { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.fx-copy h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 16px; }
.fx-copy > p { color: #52525b; font-size: 17px; line-height: 1.6; margin: 0 0 20px; max-width: 54ch; }
.fx-list { list-style: none; margin: 0 0 26px; padding: 0; }
.fx-list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 16px; color: #3d3d44; line-height: 1.5; }
.fx-list svg { flex: none; margin-top: 4px; color: #2b59ff; }
.fx-btn { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 12px; background: #e3e9ff; color: #1f47e0; font-weight: 700; font-size: 16px; text-decoration: none; transition: background .2s, color .2s; }
.fx-btn:hover { background: #2b59ff; color: #fff; }
.fx-media { position: relative; }
.fx-img { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; border: 1px solid #ececf0; overflow: hidden; background: #fff; }
.fx-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-img[data-fxfade] img { opacity: 0; transition: opacity .7s ease; }
.fx-img[data-fxfade] img.on { opacity: 1; }
.fx-lilac { background: #f3e3f5; border-color: transparent; }
.fx-blue { background: #e3e9ff; border-color: transparent; }
.fx-peach { background: #ffe9d6; border-color: transparent; }
.fx-blue img { object-position: center 60%; }
/* ramki: nakładki jak na stronie głównej */
.fx-brand .ob-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-brand .ob { position: absolute; display: block; height: auto; width: auto; inset: auto; opacity: 0; animation: obIn 9s ease-in-out infinite; object-fit: initial; }
.fx-brand .ob-tr { top: 3.5%; right: 3%; width: 38.5%; animation-delay: .6s; --fx: 16px; --fy: -10px; }
.fx-brand .ob-logo { top: 3.5%; left: 3%; width: 29.6%; animation-delay: 1.8s; --fx: -12px; --fy: -8px; }
.fx-brand .ob-bl { left: 3%; bottom: 3.5%; width: 36.5%; animation-delay: 3s; --fx: -16px; --fy: 10px; }
.fx-brand .ob-br { right: 0; bottom: 0; width: 43.9%; animation-delay: 4.2s; --fx: 16px; --fy: 10px; }
@keyframes obIn { 0% { opacity: 0; transform: translate(var(--fx), var(--fy)); } 7%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fx-brand .ob { animation: none; opacity: 1; } }
/* galeria zdjęć (kilka kadrów obok siebie) */
.fx-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.fx-gallery .fx-img { aspect-ratio: 4 / 3; }
.fx-head { max-width: 720px; margin-bottom: 8px; }
.fx-head h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.025em; line-height: 1.1; margin: 10px 0 14px; }
.fx-head p { color: #52525b; font-size: 17px; line-height: 1.6; }

/* skórka starych bloków (karty, callout, proza, przed/po) */
.cards .card { background: #f6f6f8; border: 0; border-radius: 24px; padding: 30px 28px 32px; }
.cards .card .ic { width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; background: #e3e9ff; color: #1f47e0; }
.cards .card:nth-child(2) .ic { background: #f3e3f5; color: #8a2fa0; }
.cards .card:nth-child(3) .ic { background: #ffe9d6; color: #b45309; }
.cards .card h3 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.cards .card p { color: #52525b; font-size: 15.5px; line-height: 1.6; }
.callout { background: #f3e3f5; border: 0; border-radius: 24px; padding: 32px 34px; }
.callout h3 { font-size: 22px; letter-spacing: -.02em; }
.callout p { color: #4a3a4f; }
.section-head h2 { letter-spacing: -.025em; line-height: 1.1; }
.examples-item .ba, .visual-img { border-radius: 22px; }
.section.alt { background: #fff; }
.prose h3 { letter-spacing: -.02em; }
@media (max-width: 900px) {
  .fx-section { padding: 48px 0; }
  .fx-split { grid-template-columns: 1fr; gap: 32px; }
  .fx-split.rev .fx-media { order: 0; }
  .fx-gallery { grid-template-columns: 1fr; }
}

/* sekcje wyśrodkowane na 100% szerokości (Dlaczego to ważne, Przykłady) */
.fx-center { text-align: center; }
.fx-center .section-head, .fx-head-c { max-width: none; text-align: center; margin-left: auto; margin-right: auto; }
.fx-center .section-head p { margin-left: auto; margin-right: auto; max-width: 680px; }
.fx-center .prose { max-width: 780px; margin-left: auto; margin-right: auto; }
.fx-center .prose p { margin-left: auto; margin-right: auto; }
.fx-center .callout { text-align: center; }
.fx-center .examples-item { text-align: left; }
.fx-head-c { text-align: center; }
.faq-wide { max-width: none !important; }
/* pierścień + strzałki w panelu ze zmieniającymi się zdjęciami */
.fx-ring { position: absolute; top: 14px; right: 14px; z-index: 3; width: 24px; height: 24px; pointer-events: none; }
.fx-ring svg { width: 24px; height: 24px; transform: rotate(-90deg); overflow: visible; filter: drop-shadow(0 0 2px rgba(0,0,0,.35)); }
.fx-ring circle { fill: none; stroke-width: 2.8; stroke-linecap: round; }
.fx-ring .rt { stroke: rgba(255,255,255,.45); }
.fx-ring .rp { stroke: #fff; stroke-dasharray: 69.2; stroke-dashoffset: 69.2; }
.fx-ring.go .rp { animation: fxRing var(--fxdur, 3.5s) linear forwards; }
@keyframes fxRing { from { stroke-dashoffset: 69.2; } to { stroke-dashoffset: 0; } }
.fx-arrows { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: flex; gap: 8px; }
.fx-arrow { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: #18181b; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.18); transition: background .2s, transform .2s; }
.fx-arrow:hover { background: #fff; transform: scale(1.06); }
/* mockup telefonu (Link do zdjęć) */
.fx-phone { display: flex; align-items: center; justify-content: center; }
.fxp-device { position: relative; width: 36%; aspect-ratio: 9 / 18.5; border-radius: 34px; border: 9px solid #0c0c10; background: #0c0c10; overflow: hidden; box-shadow: 0 30px 60px -26px rgba(60,20,80,.5); transform: translateY(4%); }
.fxp-device::before { content: ""; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 30%; height: 14px; background: #0c0c10; border-radius: 999px; z-index: 2; }
.fx-img .fxp-device img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fxp-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px -10px rgba(40,20,60,.35); font-size: 14px; color: #18181b; z-index: 2; }
.fxp-chip i { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; background: #e3e9ff; color: #1f47e0; }
.fxp-c1 { top: 18%; left: 6%; }
.fxp-c2 { top: 46%; right: 5%; }
.fxp-c3 { bottom: 14%; left: 8%; }
@media (max-width: 900px) { .fxp-device { width: 46%; } .fxp-chip { font-size: 12.5px; } }
