/* Strona główna (opis produktu). Kolory jak w aplikacji; tryb ciemny wg systemu. */
:root {
  --bg: #f3f5f2; --bg-2: #e9efe9; --surface: #ffffff; --ink: #17211d; --ink-2: #4b5852; --muted: #7a8680;
  --line: #dce2dd; --accent: #0d6e56; --accent-2: #2a78d6; --accent-ink: #ffffff; --accent-soft: #e1efe9;
  --shadow: 0 30px 60px -20px rgb(13 40 30 / .28), 0 12px 24px -12px rgb(13 40 30 / .18);
  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1311; --bg-2: #141a17; --surface: #182019; --ink: #e9eee9; --ink-2: #b6c1bb; --muted: #87938d;
    --line: #29322e; --accent: #3dbb92; --accent-2: #5aa2f0; --accent-ink: #07130e; --accent-soft: #1b3a2f;
    --shadow: 0 30px 60px -20px rgb(0 0 0 / .6), 0 12px 24px -12px rgb(0 0 0 / .5);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; line-height: 1.12; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: .95rem; border-radius: 999px; padding: 10px 18px; border: 1.5px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn.big { padding: 14px 24px; font-size: 1.02rem; }
.btn.primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px var(--accent); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent); }
.btn.outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn.outline:hover { border-color: var(--accent); }
.btn.ghost { color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); }
.btn.light { background: #fff; color: #0d6e56; }
.btn.light:hover { transform: translateY(-2px); }
.btn.ghostlight { color: #fff; border-color: rgb(255 255 255 / .45); }
.btn.ghostlight:hover { border-color: #fff; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* Nawigacja */
.nav { position: sticky; top: 0; z-index: 20; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.navrow { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand svg { color: var(--accent); }
.brand.small { font-size: 1.05rem; }
.links { display: flex; gap: 22px; }
.links a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .93rem; }
.links a:hover { color: var(--accent); }
.navcta { display: flex; gap: 6px; align-items: center; }
@media (max-width: 920px) { .links { display: none; } }
@media (max-width: 420px) { .navcta .ghost { display: none; } .brand { font-size: 1.1rem; } }

/* Hero */
.hero { position: relative; padding: 40px 0 70px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.b1 { width: 520px; height: 520px; background: radial-gradient(circle, #6fd3ad, transparent 65%); top: -160px; right: -120px; }
.b2 { width: 460px; height: 460px; background: radial-gradient(circle, #8fb8ff, transparent 65%); bottom: -200px; left: -160px; animation-delay: -6s; }
@media (prefers-color-scheme: dark) { .blob { opacity: .22; } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
.herogrid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 920px) { .herogrid { grid-template-columns: 1fr; } }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); margin: 18px 0 18px; }
.grad { background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 36em; }
.lead q { font-style: italic; color: var(--ink); }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ctas.center { justify-content: center; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: .92rem; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 6px; }

/* Telefony ze zrzutami */
.herovisual { position: relative; height: 600px; }
@media (max-width: 920px) { .herovisual { height: 540px; margin-top: 10px; } }
.phone { position: absolute; width: 270px; aspect-ratio: 390 / 844; border-radius: 40px; padding: 9px; background: #101614; box-shadow: var(--shadow), inset 0 0 0 2px #2b3531; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 76px; height: 20px; translate: -50% 0; background: #101614; border-radius: 12px; z-index: 1; }
.phone.tilt { left: 50%; top: 10px; translate: -30% 0; rotate: 4deg; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.phone.back { left: 50%; top: 60px; translate: -95% 0; rotate: -7deg; scale: .88; opacity: .95; animation: floaty 8s ease-in-out -3s infinite; }
@media (max-width: 520px) { .phone { width: 220px; } .phone.back { translate: -85% 0; } .herovisual { height: 470px; } }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .35); font-size: .85rem; animation: floaty 6s ease-in-out infinite; }
.chip b { display: block; font-size: .92rem; }
.chip small { color: var(--muted); }
.chip .ico { font-size: 1.3rem; }
.c1 { top: 40px; right: 0; animation-delay: -1s; }
.c2 { top: 300px; left: 0; animation-delay: -2.5s; }
.c3 { bottom: 30px; right: 20px; animation-delay: -4s; }
@media (max-width: 520px) { .c1 { right: -6px; top: 10px; } .c2 { left: -6px; top: 250px; } .c3 { right: -6px; bottom: 10px; } .chip { padding: 8px 10px; font-size: .78rem; } }

/* Pasek z funkcjami */
.strip { border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 48px; width: max-content; padding-block: 16px; animation: scroll 32s linear infinite; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sekcje */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); }
.head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.section h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 920px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.card .icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); font-size: 1.6rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .97rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.step { position: relative; text-align: center; }
.shot { border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 390 / 600; background: var(--surface); transition: transform .4s; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step:hover .shot { transform: translateY(-6px) rotate(-1deg); }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; margin: -20px auto 12px; position: relative; box-shadow: 0 0 0 6px var(--bg-2); }
.step h3 { font-size: 1.2rem; margin-bottom: 6px; }
.step p { color: var(--ink-2); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.splittext h2 { margin-bottom: 16px; }
.list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.list li { padding-left: 32px; position: relative; color: var(--ink-2); }
.list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 6px var(--accent); }
.list b { color: var(--ink); }
.splitvisual { position: relative; height: 560px; }
.phone.small { width: 240px; }
.phone.small.left { left: 4%; top: 0; rotate: -5deg; animation: floaty 7s ease-in-out infinite; }
.phone.small.right { right: 4%; top: 60px; rotate: 5deg; animation: floaty 7s ease-in-out -3.5s infinite; }
@media (max-width: 520px) { .phone.small { width: 190px; } .splitvisual { height: 460px; } }
.sync { position: absolute; left: 50%; top: 46%; translate: -50% -50%; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: .85rem; box-shadow: var(--shadow); }
.sync span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 920px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.ticon { font-size: 1.8rem; margin-bottom: 10px; }
.tcard h3 { font-size: 1.05rem; margin-bottom: 6px; }
.tcard p { color: var(--ink-2); font-size: .93rem; }
.fine { text-align: center; margin-top: 28px; color: var(--muted); }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; padding: 14px 28px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; font-size: 1.4rem; color: var(--accent); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--ink-2); padding-bottom: 16px; }

.final { padding: 30px 0 90px; }
.finalbox { text-align: center; color: #fff; padding: 64px 24px; border-radius: 32px; background: radial-gradient(circle at 20% 0%, #2a9a78, transparent 55%), radial-gradient(circle at 90% 100%, #2a78d6, transparent 50%), #0d6e56; box-shadow: var(--shadow); }
.finalbox h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 18em; margin: 0 auto 12px; }
.finalbox p { opacity: .9; }

.foot { border-top: 1px solid var(--line); padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); }
.footrow { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footlinks { display: flex; gap: 20px; flex-wrap: wrap; }
.footlinks a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.footlinks a:hover { color: var(--accent); }
.copy { color: var(--muted); font-size: .88rem; }

/* Pojawianie się przy przewijaniu (klasa .js ustawiana przez landing.js — bez JS wszystko widać od razu) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
