/* Strona główna sklepu — układ wzorowany na stronach z mapami nieba: wideo na cały ekran, granatowe pasy,
   przewijane kafle ze zdjęciami, karty „jak to działa”. Nagłówki Playfair Display, tekst Inter. */
:root {
  --ink: #121824; --muted: #5d6270; --line: #e7e7ea; --dark: #0d1220; --dark-2: #141b2c; --soft: #f4f4f6;
  --serif: 'Playfair Display', Georgia, serif; --sans: 'Inter', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 300 15px/1.6 var(--sans); }
a { color: inherit; }
h2 { font: 400 clamp(26px, 3.4vw, 38px)/1.15 var(--serif); margin: 0 0 6px; }
.lead { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.center { text-align: center; }

/* przyciski: zaokrąglone „pigułki” */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 40px; padding: 15px 30px; font: 400 14px var(--sans); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s, background .2s; }
.pill:active { transform: scale(.98); }
.pill.white { background: #fff; color: var(--ink); }
.pill.white:hover { background: #f0f0f2; }
.pill.dark-pill { background: var(--ink); color: #fff; }
.pill.dark-pill:hover { background: #222b3d; }
.pill.outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.pill.small { padding: 9px 18px; font-size: 13px; }
.spark { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; }

/* nagłówek na wideo */
.nav { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; transition: background .3s; }
.nav.solid { background: rgba(13, 18, 32, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.nav-menu { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; display: grid; align-content: center; gap: 5px; padding: 8px; }
.nav-menu span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.nav-logo { position: absolute; left: 50%; transform: translateX(-50%); color: #fff; font-size: 19px; }
.drawer { position: fixed; z-index: 19; top: 0; left: 0; right: 0; padding: 92px 24px 28px; background: var(--dark); display: grid; gap: 4px; }
.drawer a { color: #fff; text-decoration: none; font: 400 24px var(--serif); padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }

/* 1. wideo na cały ekran */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: #fff; text-align: center;
  background: radial-gradient(1.4px 1.4px at 14% 24%, #fff, transparent), radial-gradient(1px 1px at 36% 62%, #dfe6ff, transparent),
    radial-gradient(1.2px 1.2px at 60% 28%, #fff, transparent), radial-gradient(1px 1px at 80% 56%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 88% 16%, #fff, transparent), radial-gradient(1px 1px at 22% 82%, #cfd8ff, transparent),
    radial-gradient(1px 1px at 48% 44%, #fff, transparent), radial-gradient(1.2px 1.2px at 70% 80%, #fff, transparent),
    radial-gradient(ellipse at 60% 25%, #2a3d68 0%, transparent 60%), linear-gradient(170deg, #1a2747, #070b17); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .05) 35%, rgba(0, 0, 0, .7) 100%); }
.hero-body { position: relative; padding: 0 22px 48px; max-width: 720px; margin: 0 auto; }
.hero h1 { font: 600 clamp(36px, 6vw, 64px)/1.08 var(--serif); margin: 0 0 12px; text-shadow: 0 2px 16px rgba(0, 0, 0, .3); }
.hero-body > p:first-of-type { font-size: 15px; margin: 0 auto 22px; max-width: 360px; }
.hero .pill { margin-bottom: 18px; }
.hero-trust { font-size: 12.5px; margin: 4px 0; opacity: .92; }

/* 2. promocja */
.promo { background: var(--dark); color: #fff; text-align: center; font-size: 13.5px; padding: 12px 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.promo i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #22c55e; margin-right: 10px; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* granatowe sekcje */
.dark { background: var(--dark); color: #fff; }
.dark h2 { color: #fff; }

/* 3. hasła */
.lines { position: relative; padding: 34px 0 28px; text-align: center; overflow: hidden; }
.lines-track { display: flex; transition: transform .5s ease; }
.lines-track p { flex: 0 0 100%; margin: 0; padding: 0 48px; box-sizing: border-box; font: italic 400 clamp(21px, 2.8vw, 30px)/1.3 var(--serif); align-self: center; }
.lines-track p small { display: block; margin-top: 10px; font: 400 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.arrow { position: absolute; top: 38%; border: 0; background: none; color: #fff; font-size: 30px; cursor: pointer; padding: 4px 10px; }
.arrow[data-dir="-1"] { left: 6px; } .arrow[data-dir="1"] { right: 6px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.dots button.on { background: #fff; }
.dots.light button { background: #cfd1d8; } .dots.light button.on { background: var(--ink); }

/* 4. uchwyć chwilę */
.capture { padding: 40px 20px 30px; text-align: center; }
.capture canvas { width: min(84vw, 460px); height: auto; aspect-ratio: 1; margin: 12px auto 22px; display: block; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); transition: box-shadow 1.4s ease; }
.capture canvas.moving { box-shadow: 0 0 0 1px rgba(255, 255, 255, .9), 0 0 38px rgba(150, 175, 255, .28); transition-duration: .4s; }
.capture-form { max-width: 460px; margin: 0 auto; text-align: left; display: grid; gap: 14px; }
.capture-form label { font-size: 13px; color: #d9dce5; }
.capture-form input, .capture-form select { width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18); background: var(--dark-2); color: #fff; font: 400 14px var(--sans); }
.capture-form input::placeholder { color: #8b91a3; }
.when { display: grid; grid-template-columns: .7fr 1.6fr 1fr; gap: 8px; }
.capture-form .pill { margin-top: 6px; }
.search { position: relative; }
.search ul { position: absolute; z-index: 5; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.search li { padding: 9px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; }
.search li small { display: block; color: var(--muted); font-size: 12px; }
.search li:hover { background: #f2f2f5; }
.badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; padding: 14px 16px; background: var(--dark); color: #e6e8ee; font-size: 12.5px; border-top: 1px solid rgba(255, 255, 255, .08); }

/* bloki z przewijanymi kaflami */
.block { max-width: 1180px; margin: 0 auto; padding: 46px 20px 10px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; padding-bottom: 10px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, #1d2a4a, #0b1122); }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .65)); }
.tile figcaption { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font: 400 21px/1.2 var(--serif); }
.tile figcaption small { display: block; font: 400 12px var(--sans); opacity: .85; margin-top: 4px; }
.tile figcaption em { display: block; font: italic 300 13px var(--sans); margin-top: 4px; opacity: .9; }
.tile.soon { opacity: .9; }
button.tile { border: 0; padding: 0; cursor: pointer; text-align: left; font: inherit; }

/* 6. czym jest */
.wide { width: 100%; max-width: 560px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin: 14px auto 18px; display: block; background: var(--dark); }
.block.center p { max-width: 560px; margin: 0 auto 12px; font-size: 14px; }
.block.center .pill { margin-top: 10px; }

/* 7. jak to działa */
.steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; max-width: 560px; margin: 14px auto 0; }
.steps::-webkit-scrollbar { display: none; }
.step-card { flex: 0 0 100%; scroll-snap-align: center; background: var(--soft); border-radius: 10px; padding: 30px 24px 34px; }
.step-card .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 13px var(--sans); }
.step-card p { margin: 12px 0 16px; font-size: 14px; }
.step-card b { font: 400 24px/1.25 var(--serif); }
.how .pill { margin-top: 18px; }

/* pytania i stopka */
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 500; }
.faq p { color: var(--muted); margin: 8px 0 0; }
.final { padding: 54px 20px; margin-top: 40px; }
.final h2 { margin-bottom: 18px; }
.foot { max-width: 1180px; margin: 0 auto; padding: 24px 20px 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }


/* napis pod żywym niebem — jak na plakacie */
.sky-wrap { text-align: center; }
.sky-caption { margin: -8px 0 18px; min-height: 2.6em; font: 400 12px/1.6 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #cfd5e4; transition: opacity .4s; }
.sky-caption b { display: block; font: italic 400 22px/1.3 var(--serif); letter-spacing: 0; text-transform: none; color: #fff; margin-bottom: 2px; }
.form-note { margin: -4px 0 0; text-align: center; font-size: 12.5px; color: #aab1c2; }
.allegro-badge { color: inherit; text-decoration: none; }
.allegro-badge:hover { text-decoration: underline; }

/* przyklejony przycisk (telefon) */
.sticky { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(13, 18, 32, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .3s; }
.sticky.show { transform: none; }
.sticky .pill { width: 100%; }

@media (min-width: 900px) {
  .sticky { display: none; }
  .capture .sky-wrap { grid-row: 2 / span 2; }
  .rail { grid-auto-columns: calc((100% - 36px) / 4); margin: 0; padding-left: 0; padding-right: 0; }
  .capture { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 0 40px; text-align: left; padding: 56px max(20px, calc((100% - 1180px) / 2)); }
  .capture h2 { grid-column: 1 / -1; text-align: center; }
  .capture-wrap { background: var(--dark); }
  .steps { max-width: 1000px; gap: 14px; overflow: visible; }
  .step-card { flex: 1; }
  #steps-dots { display: none; }
}
@media (max-width: 899px) { .foot { padding-bottom: 96px; } }

/* logo Lunear: półksiężyc z gwiazdką + napis kapitalikami z szerokim odstępem */
.lg { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; color: inherit; line-height: 1; }
.lg-mark { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.lg-word { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; text-transform: uppercase; letter-spacing: .34em; margin-right: -.34em; }
@media (max-width: 420px) { .nav-logo { font-size: 15px; } .nav-logo .lg-word { letter-spacing: .28em; margin-right: -.28em; } }
.nav-logo.lg { color: #fff; }
