:root {
  --bg: #0d0a1a;
  --bg2: #151027;
  --karta: #1b1532;
  --linia: #2e2650;
  --tekst: #f3f0fb;
  --cichy: #b8b0cf;
  --akcent: #c46bff;
  --link: #d9a8ff;
  --gradient: linear-gradient(120deg, #ff3fa4 0%, #8b5cff 50%, #3d8bff 100%);
  --r: 18px;
  --szer: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--tekst);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* Nagłówek */
.top {
  max-width: var(--szer);
  margin: 0 auto;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--tekst); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.brand img { border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 3px 12px rgba(139,92,255,.32); }
.top nav { display: flex; gap: 18px; font-size: .95rem; }
.top nav a { color: var(--cichy); text-decoration: none; }
.top nav a:hover { color: var(--tekst); }

main { display: block; }
.pas { max-width: var(--szer); margin: 0 auto; padding: 56px 16px; }

/* Hero */
.hero {
  max-width: var(--szer);
  margin: 0 auto;
  padding: 32px 16px 48px;
  display: grid;
  gap: 32px;
  align-items: center;
}
.hero .podpis { color: var(--cichy); font-size: 1.15rem; max-width: 34em; }
.grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-foto { justify-self: center; width: min(320px, 78vw); }
.hero-foto img, .galeria img, .prywatnosc img { border-radius: 26px; box-shadow: 0 30px 80px rgba(139, 92, 255, .25); }
.notka { color: var(--cichy); font-size: .92rem; margin-top: 14px; }
@media (min-width: 860px) {
  .hero { grid-template-columns: 1.15fr .85fr; padding-top: 56px; }
}

/* Przycisk App Store */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid #5a5470;
  border-radius: 12px;
  padding: 9px 20px 9px 16px;
  text-decoration: none;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
}
.appstore:hover { color: #fff; border-color: #a99ccf; }
.appstore small { display: block; font-size: .72rem; font-weight: 500; margin-bottom: 3px; }
.as-logo { width: 26px; height: 30px; }

/* Galeria zrzutów: przewijanie palcem, bez płynnego przewijania w CSS */
.galeria {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(250px, 66vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 16px 24px;
  scroll-padding-inline: 16px;
  max-width: var(--szer);
  margin: 0 auto;
}
.galeria figure { margin: 0; scroll-snap-align: start; }

/* Funkcje */
.funkcje { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.karta { background: var(--karta); border: 1px solid var(--linia); border-radius: var(--r); padding: 22px; }
.karta p { color: var(--cichy); margin: 0; font-size: .97rem; }
.karta .ikona { font-size: 1.2rem; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gradient); color: #fff; margin-bottom: 12px; font-weight: 700; }

/* Prywatność */
.prywatnosc { display: grid; gap: 32px; align-items: center; }
.prywatnosc .foto { justify-self: center; width: min(280px, 72vw); }
.lista { padding: 0; margin: 0; list-style: none; }
.lista li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--linia); }
.lista li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 14px; height: 8px; border-left: 3px solid var(--akcent); border-bottom: 3px solid var(--akcent); transform: rotate(-45deg); }
@media (min-width: 860px) { .prywatnosc { grid-template-columns: 1fr 1fr; } }

/* Ceny */
.ceny { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 28px; }
.cena { background: var(--karta); border: 1px solid var(--linia); border-radius: var(--r); padding: 24px; }
.cena.wyrozniona { border: 2px solid transparent; background: linear-gradient(var(--karta), var(--karta)) padding-box, var(--gradient) border-box; }
.cena .kwota { font-size: 2rem; font-weight: 700; margin: 4px 0 2px; }
.cena .okres { color: var(--cichy); }
.cena ul { padding-left: 18px; color: var(--cichy); margin: 14px 0 0; }

.zwrot { text-align: center; }
.zwrot .appstore { margin-top: 8px; }

/* Strony tekstowe (regulamin, polityka, pomoc) */
.doc { max-width: 780px; margin: 0 auto; padding: 24px 16px 64px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 2em; }
.doc h3 { margin-top: 1.4em; }
.doc li { margin-bottom: .4em; }
.doc .meta { color: var(--cichy); }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--linia); }
.doc th { color: var(--cichy); font-weight: 600; }
.tabela { overflow-x: auto; }
.doc details { background: var(--karta); border: 1px solid var(--linia); border-radius: 14px; padding: 4px 18px; margin: 0 0 12px; }
.doc summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.doc details[open] summary { border-bottom: 1px solid var(--linia); margin-bottom: 12px; }
.kontakt { background: var(--karta); border: 1px solid var(--linia); border-radius: var(--r); padding: 20px 22px; }
.kontakt p:last-child { margin: 0; }

/* Stopka */
.foot { border-top: 1px solid var(--linia); color: var(--cichy); font-size: .9rem; padding: 28px 16px 40px; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 14px; }
.foot p { margin: 4px 0; }

/* Przełącznik języka EN | PL */
.top nav { align-items: center; }
.jezyki { display: inline-flex; border: 1px solid var(--linia); border-radius: 999px; padding: 2px; }
.top nav .jezyki a { padding: 3px 11px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--cichy); }
.top nav .jezyki a[aria-current="page"] { background: var(--gradient); color: #fff; }

/* Filmy: pokaz w hero i gotowa rolka */
.hero-foto video, .rolka video { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 30px 80px rgba(139, 92, 255, .25); background: #000; }
.rolka { display: grid; gap: 32px; align-items: center; }
.rolka .foto { justify-self: center; width: min(300px, 74vw); }
@media (min-width: 860px) { .rolka { grid-template-columns: 1.1fr .9fr; } }

/* Hero: napis w stylu Neon, znaczki stylów, konkrety */
.napis-demo {
  display: inline-flex; flex-wrap: wrap; gap: 4px 6px; align-items: center;
  margin: 2px 0 22px; padding: 10px 14px; border-radius: 14px;
  background: rgba(0, 0, 0, .45); border: 1px solid var(--linia);
  font-weight: 800; font-size: clamp(1.05rem, 3.2vw, 1.35rem); letter-spacing: -.01em;
}
.napis-demo span { display: inline-block; padding: 1px 7px; border-radius: 8px; color: #fff; animation: neon 4s infinite; }
.napis-demo span:nth-child(2) { animation-delay: 1s; }
.napis-demo span:nth-child(3) { animation-delay: 2s; }
.napis-demo span:nth-child(4) { animation-delay: 3s; }
@keyframes neon {
  0% { background: #c6ff1a; color: #0d0a1a; transform: scale(1.07); box-shadow: 0 0 22px rgba(198, 255, 26, .55); }
  20% { background: #c6ff1a; color: #0d0a1a; transform: scale(1); box-shadow: 0 0 14px rgba(198, 255, 26, .35); }
  25%, 100% { background: transparent; color: #fff; transform: none; box-shadow: none; }
}
.style-chipy { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.style-chipy li { font-weight: 800; font-size: .88rem; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--linia); background: var(--karta); }
.style-chipy .s-neon { background: #c6ff1a; color: #0d0a1a; border-color: #c6ff1a; box-shadow: 0 0 18px rgba(198, 255, 26, .35); }
.style-chipy .s-spot { background: #2f7bff; color: #fff; border-color: #2f7bff; }
.style-chipy .s-kar { color: #ffd60a; }
.style-chipy .s-news { background: #d90f1c; color: #fff; border-color: #d90f1c; }
.style-chipy .s-wiecej { color: var(--cichy); font-weight: 600; }
.fakty { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--cichy); font-size: .95rem; }
.fakty strong { color: var(--tekst); font-size: 1.15rem; margin-right: 4px; }
.hero-foto { position: relative; }
.hero-foto::before {
  content: ""; position: absolute; inset: 8% -18% 8% -18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(198, 255, 26, .18), rgba(139, 92, 255, .22) 55%, transparent 75%);
  filter: blur(18px);
}
.hero { position: relative; isolation: isolate; }
@media (prefers-reduced-motion: reduce) {
  .napis-demo span { animation: none; }
  .napis-demo span:last-child { background: #c6ff1a; color: #0d0a1a; }
}

/* Smaczki w tle hero: kropki, fala dźwięku, wycinane wtrącenia */
.hero-tlo { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero-tlo .kropki {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(196, 107, 255, .22) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-tlo .fala { position: absolute; left: 0; right: 0; bottom: 6px; height: 70px; display: flex; align-items: flex-end; gap: 6px; padding: 0 16px; opacity: .45; }
.hero-tlo .fala i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #c6ff1a, #8b5cff 70%, transparent);
  transform-origin: bottom; animation: fala 1.8s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1);
}
@keyframes fala { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.wtracenie {
  position: absolute; font-weight: 800; font-size: 1rem; color: var(--cichy);
  padding: 3px 10px; border-radius: 8px; border: 1px dashed var(--linia); background: rgba(13, 10, 26, .6);
  animation: wtracenie 7s ease-in-out infinite;
}
.wtracenie::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: #ff3fa4; transform: scaleX(0); transform-origin: left; animation: przekreslenie 7s ease-in-out infinite; animation-delay: inherit; }
.wtracenie b { position: absolute; right: -16px; top: -14px; color: #ff3fa4; font-size: 1.1rem; opacity: 0; animation: nozyczki 7s ease-in-out infinite; animation-delay: inherit; }
.w1 { top: 14%; left: 46%; animation-delay: 0s; }
.w2 { top: 64%; left: 50%; animation-delay: 2.4s; }
.w3 { top: 30%; right: 3%; animation-delay: 4.6s; color: #c6ff1a; border-style: solid; }
.w3::after, .w3 b { display: none; }
@keyframes wtracenie { 0% { opacity: 0; transform: translateY(10px); } 12%, 55% { opacity: .9; transform: none; } 75%, 100% { opacity: 0; transform: translateY(-14px) scale(.9); } }
@keyframes przekreslenie { 0%, 25% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
@keyframes nozyczki { 0%, 22% { opacity: 0; } 30%, 50% { opacity: 1; } 65%, 100% { opacity: 0; } }
@media (max-width: 859px) { .w1 { top: 4%; left: auto; right: 6%; } .w2 { top: 58%; left: 4%; } .w3 { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-tlo .fala i, .wtracenie, .wtracenie::after, .wtracenie b { animation: none; }
  .wtracenie { opacity: .7; } .wtracenie::after { transform: scaleX(1); }
}

/* Fala: wysokości i przesunięcia słupków (bez stylów w HTML, bo CSP) */
.hero-tlo .fala i:nth-child(1){height:83%;animation-delay:-0.3s}
.hero-tlo .fala i:nth-child(2){height:66%;animation-delay:-0.6s}
.hero-tlo .fala i:nth-child(3){height:49%;animation-delay:-0.9s}
.hero-tlo .fala i:nth-child(4){height:32%;animation-delay:-1.2s}
.hero-tlo .fala i:nth-child(5){height:85%;animation-delay:-1.5s}
.hero-tlo .fala i:nth-child(6){height:68%;animation-delay:-0.1s}
.hero-tlo .fala i:nth-child(7){height:51%;animation-delay:-0.4s}
.hero-tlo .fala i:nth-child(8){height:34%;animation-delay:-0.7s}
.hero-tlo .fala i:nth-child(9){height:87%;animation-delay:-1s}
.hero-tlo .fala i:nth-child(10){height:70%;animation-delay:-1.3s}
.hero-tlo .fala i:nth-child(11){height:53%;animation-delay:-1.6s}
.hero-tlo .fala i:nth-child(12){height:36%;animation-delay:-0.2s}
.hero-tlo .fala i:nth-child(13){height:89%;animation-delay:-0.5s}
.hero-tlo .fala i:nth-child(14){height:72%;animation-delay:-0.8s}
.hero-tlo .fala i:nth-child(15){height:55%;animation-delay:-1.1s}
.hero-tlo .fala i:nth-child(16){height:38%;animation-delay:-1.4s}
.hero-tlo .fala i:nth-child(17){height:91%;animation-delay:-0s}
.hero-tlo .fala i:nth-child(18){height:74%;animation-delay:-0.3s}
.hero-tlo .fala i:nth-child(19){height:57%;animation-delay:-0.6s}
.hero-tlo .fala i:nth-child(20){height:40%;animation-delay:-0.9s}
.hero-tlo .fala i:nth-child(21){height:93%;animation-delay:-1.2s}
.hero-tlo .fala i:nth-child(22){height:76%;animation-delay:-1.5s}
.hero-tlo .fala i:nth-child(23){height:59%;animation-delay:-0.1s}
.hero-tlo .fala i:nth-child(24){height:42%;animation-delay:-0.4s}
.hero-tlo .fala i:nth-child(25){height:95%;animation-delay:-0.7s}
.hero-tlo .fala i:nth-child(26){height:78%;animation-delay:-1s}
.hero-tlo .fala i:nth-child(27){height:61%;animation-delay:-1.3s}
.hero-tlo .fala i:nth-child(28){height:44%;animation-delay:-1.6s}
.hero-tlo .fala i:nth-child(29){height:97%;animation-delay:-0.2s}
.hero-tlo .fala i:nth-child(30){height:80%;animation-delay:-0.5s}
.hero-tlo .fala i:nth-child(31){height:63%;animation-delay:-0.8s}
.hero-tlo .fala i:nth-child(32){height:46%;animation-delay:-1.1s}
.hero-tlo .fala i:nth-child(33){height:99%;animation-delay:-1.4s}
.hero-tlo .fala i:nth-child(34){height:82%;animation-delay:-0s}
.hero-tlo .fala i:nth-child(35){height:65%;animation-delay:-0.3s}
.hero-tlo .fala i:nth-child(36){height:48%;animation-delay:-0.6s}
.hero-tlo .fala i:nth-child(37){height:31%;animation-delay:-0.9s}
.hero-tlo .fala i:nth-child(38){height:84%;animation-delay:-1.2s}
.hero-tlo .fala i:nth-child(39){height:67%;animation-delay:-1.5s}
.hero-tlo .fala i:nth-child(40){height:50%;animation-delay:-0.1s}
/* Położenie wtrąceń: z dala od nagłówka i telefonu */
.w1 { top: 3%; left: 38%; }
.w2 { top: 74%; left: 42%; }
.w3 { top: 58%; right: auto; left: 47%; }
@media (max-width: 1100px) { .w3 { display: none; } }
@media (max-width: 859px) { .w1 { top: 2%; left: auto; right: 6%; } .w2 { top: 47%; left: auto; right: 4%; } }
/* Wtrącenia przy telefonie (nadpisuje wcześniejsze położenia) */
.wtracenia { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.wtracenia .w1 { top: 16%; left: -22%; right: auto; }
.wtracenia .w2 { top: auto; bottom: 26%; left: auto; right: -20%; }
.wtracenia .w3 { display: inline-block; top: 48%; left: -20%; right: auto; }
@media (max-width: 1100px) { .wtracenia .w3 { display: none; } }
@media (max-width: 859px) { .wtracenia .w1 { left: -10%; top: 10%; right: auto; } .wtracenia .w2 { right: -8%; bottom: 20%; left: auto; top: auto; } }
.wtracenia .w2 { right: -10%; }
.hero { overflow-x: clip; }
html { overflow-x: hidden; }

/* Karty funkcji: nagłówek jak napis w jednym ze stylów CutNeo */
.funkcje { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
@media (min-width: 980px) { .funkcje { grid-template-columns: repeat(3, 1fr); } }
.karta { padding: 0; overflow: hidden; transition: transform .2s ease, border-color .2s ease; }
.karta:hover { transform: translateY(-3px); border-color: #4b3f80; }
.karta p { padding: 16px 20px 20px; }
.kadr {
  position: relative; min-height: 132px; display: grid; place-items: end center; padding: 34px 14px 18px;
  background: radial-gradient(120% 90% at 30% 10%, #2a2150 0%, #120e24 60%), #120e24;
  border-bottom: 1px solid var(--linia);
}
.kadr::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.3px); background-size: 16px 16px; }
.kadr h3 {
  position: relative; margin: 0; text-align: center; font-size: 1.32rem; font-weight: 800; line-height: 1.25; color: #fff;
  text-shadow: 0 0 2px #000, 0 2px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 4px 14px rgba(0,0,0,.7);
}
.kadr h3 b { display: inline-block; padding: 0 6px; border-radius: 7px; }
.styl-nazwa { position: absolute; top: 10px; left: 12px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cichy); background: rgba(0,0,0,.45); border: 1px solid var(--linia); padding: 2px 8px; border-radius: 99px; z-index: 1; }
.n-neon h3 b { background: #c6ff1a; box-shadow: 0 0 18px rgba(198,255,26,.45); }
.n-spot h3 b { background: #2f7bff; }
.n-kar h3 b { color: #ffd60a; padding: 0; }
.n-pill h3 { background: #1d1660; padding: 4px 14px; border-radius: 10px; text-shadow: none; }
.n-pill h3 b { padding: 0; }
.n-news { place-items: end stretch; padding-left: 0; padding-right: 0; }
.n-news h3 { background: #d90f1c; padding: 8px 14px; text-shadow: none; }
.n-tt h3 { font-family: Impact, "Arial Narrow", "Helvetica Neue", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.5rem; }
.n-tt h3 b { color: #ffd60a; padding: 0; }
.karta .ikona { display: none; }
.n-news h3 b { padding: 0; }

/* Pełny pokaz aplikacji niżej na stronie */
.pokaz { display: grid; gap: 32px; align-items: center; }
.pokaz .foto { justify-self: center; width: min(300px, 74vw); }
.pokaz video { display: block; width: 100%; height: auto; border-radius: 26px; box-shadow: 0 30px 80px rgba(139, 92, 255, .25); background: #000; }
@media (min-width: 860px) { .pokaz { grid-template-columns: .9fr 1.1fr; } .pokaz .foto { order: -1; } }
