/* StageSync — strona produktu */
:root {
  --bg: #0b0c0f;
  --bg2: #111318;
  --panel: #15181e;
  --panel2: #1c2027;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #f3f1ec;
  --muted: #9aa0ab;
  --dim: #6b717c;
  --amber: #fdcd2f;
  --amber2: #f5a700;
  --glow: rgba(253, 205, 47, 0.35);
  --ok: #3ecf7a;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--amber); color: #111; }

/* Ziarno i pasek postępu */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--amber), var(--amber2)); }

/* Przyciski */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  border-radius: 999px; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; font: inherit; font-weight: 600; line-height: 1; white-space: nowrap;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.35s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.btn.small { padding: 10px 18px; font-size: 14px; }
.btn.big { padding: 18px 28px; font-size: 16px; }
.btn.primary { background: linear-gradient(135deg, #ffe07a, var(--amber) 45%, var(--amber2)); color: #17120a; box-shadow: 0 10px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.45); }
.btn.primary:hover { box-shadow: 0 16px 60px -8px rgba(255, 150, 30, 0.6), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line2); color: var(--text); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: rgba(253, 205, 47, 0.6); color: #fff; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* Nawigacja */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s, top 0.4s var(--ease);
}
.nav.scrolled { background: rgba(14, 15, 19, 0.72); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 20px 50px -30px #000; top: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand b { color: var(--amber); }
.brand img { border-radius: 8px; }
.brand img.logo { border-radius: 0; height: 40px; width: auto; }
.foot .brand img.logo { height: 30px; }
.links { display: flex; gap: 28px; font-size: 15px; }
.links a { text-decoration: none; color: var(--muted); position: relative; transition: color 0.2s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.4s var(--ease); }
.links a:hover { color: var(--text); }
.links a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav-cta { display: flex; gap: 8px; }

/* Sekcje */
.section { position: relative; padding: clamp(90px, 13vw, 170px) var(--pad); max-width: 1320px; margin: 0 auto; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px; }
.big-title { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.025em; margin: 0 0 28px; max-width: 16ch; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 56ch; margin: 0 0 32px; }

/* Pojawianie się */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* HERO */
.hero {
  --sx: 50%; --sy: 30%;
  position: relative; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; gap: 40px;
  /* tło na całą szerokość ekranu, treść nadal w kolumnie 1440 px */
  padding: 130px max(var(--pad), calc((100% - 1440px) / 2 + var(--pad))) 80px;
}
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(1000px 600px at 75% 40%, rgba(255, 140, 20, 0.12), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(88, 166, 255, 0.06), transparent 60%); }
.spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(255, 190, 80, 0.10), transparent 60%); transition: background 0.2s; }
.beams { position: absolute; inset: -20% -5% auto; height: 120%; z-index: -1; pointer-events: none; filter: blur(2px); }
.beams i { position: absolute; top: -10%; width: 32vw; height: 130%; transform-origin: 50% 0; background: linear-gradient(180deg, rgba(255, 220, 110, 0.16), rgba(253, 205, 47, 0) 70%); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); mix-blend-mode: screen; animation: sway 9s ease-in-out infinite alternate; }
.beams i:nth-child(1) { left: -4%; animation-duration: 11s; }
.beams i:nth-child(2) { left: 18%; animation-delay: -4s; opacity: 0.6; }
.beams i:nth-child(3) { left: 42%; animation-duration: 13s; animation-delay: -7s; }
.beams i:nth-child(4) { left: 64%; animation-duration: 10s; animation-delay: -2s; opacity: 0.8; }
.beams i:nth-child(5) { left: 84%; animation-duration: 12s; animation-delay: -9s; opacity: 0.65; }
@keyframes sway { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); border: 1px solid var(--line2); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.03); margin: 0 0 26px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(62, 207, 122, 0.7); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62, 207, 122, 0.6); } 80%, 100% { box-shadow: 0 0 0 10px rgba(62, 207, 122, 0); } }

.headline { display: inline-grid; justify-items: start; font-family: var(--display); font-weight: 600; margin: 0 0 30px; }
.headline .logo-line { width: 100%; margin-bottom: 0.9em; padding: 0; }
/* logo ma dokładnie szerokość napisu pod spodem (width:0 + min-width:100% nie rozpycha kontenera) */
.hero-logo { display: block; width: 0; min-width: 100%; height: auto; }
.headline .tagline { white-space: nowrap; font-size: clamp(13px, 1.95vw, 28px); line-height: 1.2; letter-spacing: 0.34em; text-transform: uppercase; margin-right: -0.34em; }
.headline .tagline .grad { animation-duration: 8s; }
.headline .line { display: block; overflow: hidden; padding: 0.04em 0 0.1em; margin-bottom: -0.1em; }
.headline .w { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.headline.in .w { transform: none; }
.grad { background: linear-gradient(100deg, #fff1b8 0%, var(--amber) 35%, var(--amber2) 70%, #ffe27a 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -220% 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--dim); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: var(--amber); opacity: 0.8; }

/* Scena z telefonami */
.stage { position: relative; height: min(640px, 72vh); perspective: 1600px; }
.stage .waves { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); width: 100%; height: auto; z-index: 0; overflow: visible; }
.waves .wire { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 1.5; stroke-dasharray: 3 6; }
.waves .pulse { fill: none; stroke: url(#wg); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 60 400; stroke-dashoffset: 60; opacity: 0; }
.stage.fire .waves .pulse { animation: travel 0.9s var(--ease) forwards; }
@keyframes travel { 0% { stroke-dashoffset: 60; opacity: 1; } 100% { stroke-dashoffset: -300; opacity: 0; } }

.phone {
  --w: 250px;
  position: absolute; width: var(--w); aspect-ratio: 9 / 19.2;
  border-radius: 38px; padding: 9px;
  background: linear-gradient(145deg, #2b2f37, #0d0f13 40%, #1d2027);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 30px 60px -40px rgba(255, 150, 30, 0.35), inset 0 0 0 2px #050608;
}
.phone::before { content: attr(data-role); position: absolute; top: -34px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.phone.lead-phone::before { color: var(--amber); }
.stage { --lw: 262px; --ss: 0.83; }
/* boczne telefony mają ten sam układ co lider (tylko pomniejszone), więc tekst przewija się identycznie */
.lead-phone { --w: var(--lw); left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; animation: float 7s ease-in-out infinite; }
.side { --w: var(--lw); top: 50%; z-index: 2; opacity: 0.92; filter: saturate(0.9) brightness(0.86); }
.side.left { left: 0; transform-origin: 0 50%; transform: translateY(-44%) rotateY(24deg) rotateZ(-3deg) scale(var(--ss)); animation: floatL 8s ease-in-out infinite; }
.side.right { right: 0; transform-origin: 100% 50%; transform: translateY(-44%) rotateY(-24deg) rotateZ(3deg) scale(var(--ss)); animation: floatR 8.5s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-50%, calc(-50% - 12px)); } }
@keyframes floatL { 50% { transform: translateY(calc(-44% + 10px)) rotateY(24deg) rotateZ(-3deg) scale(var(--ss)); } }
@keyframes floatR { 50% { transform: translateY(calc(-44% - 10px)) rotateY(-24deg) rotateZ(3deg) scale(var(--ss)); } }

.screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #0e1013; font-size: 11px; display: flex; flex-direction: column; }
.screen::before { content: ''; position: absolute; top: 8px; left: 50%; width: 70px; height: 18px; transform: translateX(-50%); border-radius: 12px; background: #000; z-index: 3; }
.screen::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.07), transparent 30%); }
.screen img { width: 100%; height: 100%; object-fit: cover; }
.app-top { display: flex; justify-content: space-between; align-items: center; padding: 34px 14px 8px; color: #8b93a1; font-size: 9.5px; font-family: var(--mono); letter-spacing: 0.04em; }
.app-top .conn { color: var(--ok); }
.song { padding: 4px 14px 10px; border-bottom: 1px solid #20242b; }
.song-title { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; line-height: 1.1; color: #eef1f5; }
.song-meta { margin-top: 5px; display: flex; gap: 6px; flex-wrap: wrap; }
.song-meta span { font-family: var(--mono); font-size: 9.5px; padding: 3px 7px; border-radius: 6px; background: #20242b; color: #c9ced6; }
.song-meta span.k { background: rgba(253, 205, 47, 0.16); color: var(--amber); }
.beats { display: flex; gap: 6px; padding: 10px 14px; }
.beats i { flex: 1; height: 6px; border-radius: 4px; background: #252a32; transition: background 0.08s, box-shadow 0.08s; }
.beats i.on { background: var(--amber); box-shadow: 0 0 12px var(--glow); }
.beats i.on.one { background: #fff3d6; }
.screen .content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.sheet { padding: 4px 14px 0; flex: 1; min-height: 0; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.sheet-in { padding-bottom: 14px; will-change: transform; }
.sheet .sec { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin: 10px 0 4px; }
.sheet .l { margin: 0 0 7px; line-height: 1.2; }
.sheet .chords { display: flex; flex-wrap: wrap; gap: 5px; }
.sheet .cc { font-family: var(--mono); font-weight: 700; font-size: 10.5px; color: var(--amber); background: #171a1f; border: 1px solid #262a31; border-radius: 6px; padding: 4px 7px; }
.song-artist { color: #8b93a1; font-size: 11px; margin-top: 2px; }
.sheet .c { display: block; font-family: var(--mono); font-weight: 700; font-size: 10.5px; color: var(--amber); white-space: pre; min-height: 12px; }
.sheet .t { display: block; color: #e3e6eb; font-size: 12px; white-space: pre; }
.screen .content { transition: opacity 0.25s, transform 0.4s var(--ease), filter 0.3s; }
.screen.swap .content { opacity: 0; transform: translateY(8px); filter: blur(3px); }
.screen .flash { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 30%, rgba(255, 190, 80, 0.35), transparent 60%); opacity: 0; }
.screen.swap .flash { animation: flash 0.7s ease-out; }
@keyframes flash { 0% { opacity: 1; } 100% { opacity: 0; } }
.lead-bar { margin-top: auto; padding: 10px 12px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 1px solid #20242b; background: #121418; }
.lead-bar span { text-align: center; font-size: 9px; font-weight: 600; padding: 7px 0; border-radius: 8px; background: #20242b; color: #c9ced6; }
.lead-bar span.go { background: var(--amber); color: #17120a; }
.count { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 90px; color: rgba(253, 205, 47, 0.95); text-shadow: 0 0 40px var(--glow); pointer-events: none; opacity: 0; z-index: 2; }
.count.show { animation: count 0.5s var(--ease); }
@keyframes count { 0% { opacity: 0; transform: scale(1.5); } 30% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.9); } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.track { display: flex; gap: 60px; width: max-content; animation: marquee 38s linear infinite; }
.track span { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 4vw, 54px); letter-spacing: -0.03em; color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 60px; }
.track span::after { content: '✦'; color: var(--amber); font-size: 0.5em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Problem */
.problem { text-align: left; }
.problem .big-title { max-width: 18ch; }
.pains { list-style: none; padding: 0; margin: 40px 0 44px; display: grid; gap: 4px; }
.pain { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 3vw, 40px); letter-spacing: -0.02em; color: var(--dim); padding: 14px 0; border-bottom: 1px solid var(--line); }
.strike { background: linear-gradient(90deg, var(--amber), var(--amber2)) no-repeat 0 58% / 0% 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 1s var(--ease) 0.35s, color 0.6s 0.35s; }
.pain.in .strike { background-size: 100% 3px; color: #5d626b; }
.answer { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em; margin: 0; }

/* Jak to działa */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 12vh 0; opacity: 0.28; transition: opacity 0.6s var(--ease); border-top: 1px solid var(--line); }
.step:first-child { padding-top: 6vh; border-top: 0; }
.step.active { opacity: 1; }
.step .num { font-family: var(--mono); color: var(--amber); font-size: 14px; letter-spacing: 0.1em; }
.step h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 44px); letter-spacing: -0.03em; line-height: 1.05; margin: 10px 0 14px; }
.step p { color: var(--muted); max-width: 44ch; margin: 0; }
.how-visual { position: sticky; top: 12vh; height: 76vh; display: grid; place-items: center; }
.how-visual::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 20, 0.22), transparent 65%); filter: blur(20px); }
.phone.solo { --w: min(290px, 70vw); position: relative; animation: float2 8s ease-in-out infinite; }
@keyframes float2 { 50% { transform: translateY(-12px) rotate(-1deg); } }
.qr-screen { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.qr-screen b { font-family: var(--display); font-size: 18px; }
.qr-screen small { color: #8b93a1; font-size: 10px; }
.qr { width: 150px; height: 150px; padding: 10px; border-radius: 16px; background: #fff; display: grid; grid-template-columns: repeat(21, 1fr); }
.qr i { background: #111; }
.qr i.o { background: transparent; }
.scan-line { width: 150px; height: 2px; background: var(--amber); box-shadow: 0 0 20px var(--amber); margin-top: -90px; animation: scan 2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-60px); opacity: 0.2; } 50% { transform: translateY(60px); opacity: 1; } }
.members { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.members .m { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: #171a1f; border: 1px solid #22262d; opacity: 0; transform: translateX(20px); animation: join 0.6s var(--ease) forwards; animation-delay: calc(var(--i) * 0.45s); }
.members .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 11px; color: #17120a; background: linear-gradient(135deg, #ffe07a, var(--amber2)); }
.members .m div { flex: 1; font-size: 11px; line-height: 1.3; }
.members .m div small { display: block; color: #8b93a1; font-size: 9.5px; }
.members .m em { font-style: normal; color: var(--ok); font-size: 9.5px; font-family: var(--mono); }
@keyframes join { to { opacity: 1; transform: none; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.card {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden;
  padding: 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
  border: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 320px;
  transition: border-color 0.4s, transform 0.5s var(--ease), opacity 1s var(--ease);
  transform-style: preserve-3d;
}
.card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; background: radial-gradient(420px circle at var(--x) var(--y), rgba(253, 205, 47, 0.12), transparent 50%); }
.card:hover { border-color: rgba(253, 205, 47, 0.28); }
.card:hover::before { opacity: 1; }
.card.c-wide { grid-column: span 2; flex-direction: row; gap: 24px; align-items: stretch; }
.card.c-wide .card-copy { flex: 1 1 50%; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.viz { margin-top: auto; padding-top: 22px; position: relative; }
.c-wide .viz { margin: 0; padding: 0; flex: 1 1 50%; display: grid; place-items: center; }

.sync-viz { display: flex !important; align-items: flex-end; justify-content: center; gap: 12px; }
.mini-phone { width: 54px; height: 100px; border-radius: 12px; background: #0e1013; border: 1px solid #2a2f37; padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.mini-phone:nth-child(2) { height: 116px; border-color: rgba(253, 205, 47, .5); }
.mini-phone b { height: 8px; border-radius: 3px; background: #2a2f37; }
.mini-phone i { flex: 1; border-radius: 4px; background: repeating-linear-gradient(180deg, #252a32 0 4px, transparent 4px 9px); }
.sync-viz.tick .mini-phone b { background: var(--amber); box-shadow: 0 0 12px var(--glow); }

.offline-viz { display: flex; align-items: end; justify-content: space-between; }
.offline-viz svg { width: 120px; }
.offline-viz path { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: round; opacity: 0.25; animation: wifi 2.4s infinite; }
.offline-viz path:nth-child(2) { animation-delay: 0.2s; }
.offline-viz path:nth-child(3) { animation-delay: 0.4s; }
.offline-viz circle { fill: var(--amber); }
@keyframes wifi { 0%, 100% { opacity: 0.2; } 40% { opacity: 1; } }
.tag { font-family: var(--mono); font-size: 12px; color: var(--ok); border: 1px solid rgba(62, 207, 122, 0.4); border-radius: 999px; padding: 4px 10px; }

.transpose-viz { display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; gap: 12px; }
.transpose-viz .key-from, .transpose-viz .key-to { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.transpose-viz .key-to { color: var(--amber); }
.transpose-viz .arrow { color: var(--dim); font-size: 24px; }
.transpose-viz .chords { grid-column: 1 / -1; display: flex; gap: 8px; }
.transpose-viz .chords span { font-family: var(--mono); font-weight: 700; font-size: 15px; min-width: 44px; text-align: center; padding: 8px 0; border-radius: 10px; background: var(--panel2); border: 1px solid var(--line); transition: transform 0.5s var(--ease), color 0.3s, background 0.3s; }
.transpose-viz.flip .chords span { color: var(--amber); background: rgba(253, 205, 47, 0.1); transform: rotateX(360deg); }

.click-viz { display: flex; align-items: center; gap: 10px; }
.click-viz i { width: 26px; height: 26px; border-radius: 50%; background: var(--panel2); border: 1px solid var(--line2); transition: background 0.06s, transform 0.12s, box-shadow 0.1s; }
.click-viz i.on { background: var(--amber); transform: scale(1.18); box-shadow: 0 0 24px var(--glow); border-color: transparent; }
.click-viz i.on:first-child { background: #fff3d6; }
.click-viz .bpm { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--muted); }

.chord-viz svg { width: 110px; margin: 0 auto; }
.chord-viz .fret-lines path { stroke: #4a505b; stroke-width: 1.5; fill: none; }
.chord-viz .nut { fill: #cfd3da; }
.chord-viz circle { fill: var(--amber); transform-box: fill-box; transform-origin: center; animation: pop 3s var(--ease) infinite; }
.chord-viz circle:nth-of-type(2) { animation-delay: 0.12s; }
.chord-viz circle:nth-of-type(3) { animation-delay: 0.24s; }
.chord-viz text { fill: var(--text); font-family: var(--display); font-weight: 800; font-size: 13px; }
@keyframes pop { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.35); } }

.setlist-viz ol { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 330px; display: grid; gap: 8px; position: relative; }
.setlist-viz li { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: transform 0.7s var(--ease), box-shadow 0.4s, border-color 0.4s; }
.setlist-viz li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #2a2f37; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.setlist-viz li em { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--ok); }
.setlist-viz.swapped .swap-a { transform: translateY(calc(100% + 8px)); }
.setlist-viz.swapped .swap-b { transform: translateY(calc(-100% - 8px)); border-color: rgba(253, 205, 47, .5); box-shadow: 0 10px 30px -10px var(--glow); }
.setlist-viz .added { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.6s, transform 0.6s var(--ease); border-style: dashed; border-color: rgba(62, 207, 122, 0.4); }
.setlist-viz.grown .added { opacity: 1; transform: none; }

.staff-viz svg { width: 100%; }
.staff-viz .staff path { stroke: #3a3f48; stroke-width: 1.2; fill: none; }
.staff-viz .notes ellipse { fill: var(--text); }
.staff-viz .notes path { stroke: var(--text); stroke-width: 1.6; fill: none; }
.staff-viz .notes { animation: bob 3.5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-3px); } }

.scroll-viz { height: 110px; overflow: hidden; mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.scroll-text { animation: autoscroll 9s linear infinite; }
.scroll-text p { margin: 0 0 6px; font-size: 15px; color: #c9ced6; }
@keyframes autoscroll { to { transform: translateY(-50%); } }

.roles-viz { display: flex !important; flex-wrap: wrap; gap: 10px; align-content: center; justify-content: center; }
.role { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); color: var(--dim); display: inline-flex; align-items: center; gap: 8px; }
.role::before { content: ''; width: 26px; height: 15px; border-radius: 999px; background: #2a2f37; box-shadow: inset 2px 0 0 0 #555, inset 13px 0 0 0 #2a2f37; transition: 0.3s; }
.role.on { color: var(--text); border-color: rgba(253, 205, 47, .35); }
.role.on::before { background: var(--amber); box-shadow: inset 13px 0 0 0 var(--amber), inset 26px 0 0 0 #fff; }

/* Studio */
.studio .big-title { font-size: clamp(32px, 4.2vw, 58px); max-width: 18ch; }
.studio { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: #d6d9df; }
.ticks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: rgba(253, 205, 47, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fdcd2f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.laptop { perspective: 1400px; }
.lid { border-radius: 18px 18px 6px 6px; padding: 10px; background: linear-gradient(160deg, #2a2e36, #111317); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 60px 100px -40px #000, 0 40px 80px -50px rgba(255,150,30,.4); transform: rotateX(8deg) rotateY(-10deg); transform-origin: 50% 100%; transition: transform 1.2s var(--ease); }
.laptop.in .lid { transform: rotateX(2deg) rotateY(-4deg); }
.base { height: 16px; margin: 0 -5%; border-radius: 0 0 20px 20px; background: linear-gradient(180deg, #3a3f48, #16181d); box-shadow: 0 30px 40px -20px #000; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 6px 10px 10px; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f48; }
.browser-bar span { margin-left: 12px; flex: 1; font-family: var(--mono); font-size: 11px; color: var(--muted); background: #0e1013; border-radius: 6px; padding: 5px 10px; }
.studio-ui { display: grid; grid-template-columns: 0.7fr 1.3fr 1fr; background: #0e1013; border-radius: 8px; overflow: hidden; min-height: 330px; font-size: 12px; }
.studio-ui aside { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid #20242b; background: #121418; }
.studio-ui aside b { font-family: var(--display); font-size: 13px; margin: 0 0 8px 6px; }
.studio-ui aside span { padding: 7px 8px; border-radius: 7px; color: #9aa0ab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-ui aside span.on { background: rgba(253, 205, 47, .14); color: var(--amber); font-weight: 600; }
.editor { padding: 14px; border-right: 1px solid #20242b; }
.ed-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.ed-meta span { font-family: var(--mono); font-size: 10px; padding: 4px 8px; border-radius: 6px; background: #20242b; color: #c9ced6; }
.ed-meta span:first-child { background: rgba(253, 205, 47, .16); color: var(--amber); }
.ed-text { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.9; color: #d6d9df; white-space: pre-wrap; }
.ed-text .ch { color: var(--amber); font-weight: 700; }
.ed-text .sec { color: #58a6ff; }
.caret { display: inline-block; width: 2px; height: 14px; background: var(--amber); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.preview { padding: 16px; background: #0b0d10; }
.preview b { display: block; font-family: var(--display); font-size: 16px; margin-bottom: 10px; }
.preview p { margin: 0 0 12px; color: #e3e6eb; line-height: 2.2; }
.preview small { display: block; color: var(--muted); font-size: 11px; margin: -6px 0 10px; }
.preview .pv-sec { display: block; font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); margin: 10px 0 6px; }
.preview p { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 6px; line-height: 1; }
.preview em { font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 10px; color: var(--amber); background: #171a1f; border: 1px solid #262a31; border-radius: 5px; padding: 4px 6px; }
.ed-text .dir { color: #8b93a1; }

/* Hasło z efektem przewijania */
.statement { padding-block: clamp(60px, 10vw, 140px); }
.scrub { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 7vw, 104px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.scrub .sw { opacity: 0.12; transition: opacity 0.25s linear; }
.scrub .sw.lit { opacity: 1; }
.scrub .sw.lit.hl { color: var(--amber); }

/* FAQ */
.qa { margin-top: 40px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line2); background: linear-gradient(var(--text), var(--text)) center/12px 2px no-repeat, linear-gradient(var(--text), var(--text)) center/2px 12px no-repeat; transition: transform 0.4s var(--ease), background-color 0.3s; }
.qa details[open] summary::after { transform: rotate(135deg); background-color: rgba(253, 205, 47, .15); }
.qa details p { margin: -8px 0 26px; color: var(--muted); max-width: 70ch; }

/* CTA */
.cta { text-align: center; overflow: hidden; border-radius: 40px; margin-bottom: 60px; background: linear-gradient(180deg, #16130d, #0e0f12 70%); border: 1px solid rgba(253, 205, 47, .16); max-width: calc(1320px - 2 * var(--pad)); width: calc(100% - 28px); }
.cta-glow { position: absolute; left: 50%; top: -40%; width: 900px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 160, 30, 0.35), transparent); filter: blur(30px); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 50% { opacity: 0.6; transform: translateX(-50%) scale(1.08); } }
.cta-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta .big-title, .cta .lead { margin-left: auto; margin-right: auto; }
.beta { text-align: left; display: grid; gap: 16px; margin-top: 10px; padding: 26px; border-radius: 26px; background: rgba(12, 13, 16, 0.7); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.beta .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.beta label { display: grid; gap: 7px; font-size: 13px; color: var(--muted); }
.beta input[type='email'], .beta input[type='text'], .beta select { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #0b0c0f; border: 1px solid var(--line2); border-radius: 14px; padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s; }
.beta input:focus, .beta select:focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(253, 205, 47, .12); outline: none; }
.beta .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.beta .consent input { margin-top: 3px; accent-color: var(--amber); width: 18px; height: 18px; flex: none; }
.beta .consent a { color: var(--amber); }
.beta button { justify-self: start; }
.beta button[disabled] { opacity: 0.6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: #ff8a8a; }

/* Stopka */
.foot { max-width: 1320px; margin: 0 auto; padding: 40px var(--pad) 50px; border-top: 1px solid var(--line); }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.fine { color: var(--dim); font-size: 13px; margin: 24px 0 0; }

/* Podstrona tekstowa (polityka) */
.doc { max-width: 780px; margin: 0 auto; padding: 140px var(--pad) 80px; }
.doc h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.05; margin: 0 0 12px; }
.doc h2 { font-family: var(--display); font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 12px; }
.doc p, .doc li { color: #c9ced6; }
.doc a { color: var(--amber); }
.doc .updated { color: var(--dim); font-family: var(--mono); font-size: 13px; }

/* Responsywność */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; text-align: left; }
  .stage { height: 560px; max-width: 640px; width: 100%; margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .studio { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .links { display: none; }
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { position: relative; top: 0; height: auto; padding: 40px 0; order: -1; }
  .step { padding: 36px 0; opacity: 1; }
  .studio-ui { grid-template-columns: 0.8fr 1.2fr; }
  .studio-ui .preview { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none; }
  .nav { padding-left: 14px; }
  .stage { height: 470px; }
  .stage { --lw: 210px; --ss: 0.76; }
  .side.left { left: -20px; }
  .side.right { right: -20px; }
  .bento { grid-template-columns: 1fr; }
  .card.c-wide { grid-column: auto; flex-direction: column; }
  .card { min-height: 0; }
  .beta .row { grid-template-columns: 1fr; }
  .beta button { justify-self: stretch; }
  .cta { border-radius: 28px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .headline .w { transform: none; }
  .grain { display: none; }
}

/* Studio: podgląd z tekstem */
.studio-ui { height: 400px; }
.editor, .preview { overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent); mask-image: linear-gradient(180deg, #000 85%, transparent); }
.studio-ui aside span { cursor: default; transition: background .3s, color .3s; }
.ed-text { transition: opacity .35s; }
.preview .l { display: block; margin: 0 0 8px; line-height: 1.15; }
.preview .l span { display: inline-block; }
.preview .l .c { display: block; font-family: var(--mono); font-weight: 700; font-size: 9.5px; color: var(--amber); min-height: 11px; white-space: pre; }
.preview .l .t { display: block; color: #e3e6eb; font-size: 11.5px; white-space: pre; }
.studio-ui.swap .ed-text, .studio-ui.swap .preview > * { opacity: 0; }
.preview > * { transition: opacity .35s; }
.preview .chords .cc { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 9.5px; color: var(--amber); background: #171a1f; border: 1px solid #262a31; border-radius: 5px; padding: 3px 6px; margin: 0 4px 4px 0; }

.fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.credit a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line2); transition: color .2s, border-color .2s; }
.credit a:hover { color: var(--amber); border-color: var(--amber); }
