/* Publiczna strona PhotoQuest - ten sam wygląd co aplikacja (kolory marki, gradient, zaokrąglone karty). */
:root {
  --brand: #0F67FE; --violet: #6A3BFF; --ink: #141B31; --text: #242E49; --text2: #5D6A85;
  --bg: #F2F5F9; --surface: #fff; --line: #DCE1E8; --todo: #FF8A1F;
  --grad: linear-gradient(135deg, #0F67FE 0%, #4F46FF 55%, #8A3FFC 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, "Segoe UI", Roboto, system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; }
a { color: var(--brand); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

/* nagłówek */
.top { position: sticky; top: 0; z-index: 10; background: rgba(242,245,249,.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(220,225,232,.6); }
.top .row { height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 22px; color: var(--ink); text-decoration: none; letter-spacing: -.5px; }
.brand .mark { width: 38px; height: 38px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; }
.brand .mark img { width: 30px; height: 30px; }
.brand.small { font-size: 19px; }
.brand.small .mark { width: 32px; height: 32px; border-radius: 10px; }
.brand.small .mark img { width: 26px; height: 26px; }
nav { display: flex; gap: 22px; }
nav a { color: var(--text2); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a.on { color: var(--brand); }

/* hero */
.hero { background: var(--grad); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; width: 700px; height: 700px; border-radius: 50%; background: rgba(255,255,255,.08); right: -200px; top: -300px; }
.hero-row { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 0; position: relative; }
.hero-txt { padding-bottom: 70px; }
.kicker { display: inline-block; background: rgba(255,255,255,.18); padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.hero h1 { font-size: 58px; line-height: 1.05; letter-spacing: -1.8px; margin: 18px 0; font-weight: 900; }
.hero p { font-size: 19px; opacity: .92; max-width: 520px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.ghost { color: #fff; font-weight: 700; text-decoration: none; padding: 14px 18px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.4); }
.hero-phones { position: relative; height: 540px; }
.phone { background: #0B1022; padding: 9px; border-radius: 38px; box-shadow: 0 30px 70px rgba(10,16,40,.35); }
.phone img { display: block; border-radius: 30px; width: 100%; }
.hero-phones .phone { position: absolute; width: 270px; }
.tilt-l { left: 20px; top: 70px; transform: rotate(-7deg); }
.tilt-r { right: 10px; top: 20px; transform: rotate(6deg); }

/* przycisk Google Play */
.play { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; padding: 11px 22px 11px 18px; border-radius: 16px; font-weight: 800; font-size: 19px; line-height: 1.1; }
.play small { display: block; font-weight: 600; font-size: 12px; opacity: .8; }
.play.wkrotce { opacity: .9; cursor: default; }
.play.light { background: #fff; color: var(--ink); }

/* sekcje */
.sec { padding: 80px 0; }
.sec.alt { background: #fff; }
.sec h2 { font-size: 40px; letter-spacing: -1px; margin: 0 0 32px; text-align: center; line-height: 1.15; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: #fff; border-radius: 26px; padding: 26px; box-shadow: 0 16px 32px rgba(9,14,29,.05); }
.step b { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 20px; }
.step h3 { margin: 16px 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--text2); font-size: 16px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.gallery figure { margin: 0; text-align: center; }
.gallery figcaption { margin-top: 14px; font-weight: 700; font-size: 15px; }
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 20px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 8px 20px rgba(9,14,29,.04); }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--text2); }
.cta-sec { background: var(--grad); color: #fff; text-align: center; }
.cta-sec p { opacity: .9; margin: -18px 0 26px; font-size: 19px; }

/* dokumenty */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: 44px; letter-spacing: -1.2px; line-height: 1.1; margin: 0 0 12px; }
.doc .lead { font-size: 19px; color: var(--text2); }
.doc h2 { font-size: 24px; margin: 36px 0 8px; }
.doc li { margin-bottom: 8px; }
.btn { display: inline-block; background: var(--grad); color: #fff; text-decoration: none; font-weight: 800; padding: 14px 24px; border-radius: 16px; }
.pdf { margin: 24px 0; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 16px 32px rgba(9,14,29,.06); }
.pdf iframe { width: 100%; height: 75vh; border: 0; display: block; }
mark.todo { background: #FFE3B8; color: #8A4B00; border-radius: 6px; padding: 0 6px; font-weight: 700; }

/* stopka */
.foot { background: var(--ink); color: #B7C0D1; padding: 46px 0 30px; font-size: 15px; }
.foot .brand { color: #fff; }
.foot-row { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot .links { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: #fff; text-decoration: none; }
.foot .copy { margin: 30px 0 0; font-size: 13px; opacity: .7; }

@media (max-width: 900px) {
  .hero-row { grid-template-columns: 1fr; padding-top: 44px; }
  .hero h1 { font-size: 40px; }
  .hero-txt { padding-bottom: 10px; }
  .hero-phones { height: 420px; }
  .hero-phones .phone { width: 200px; }
  .steps, .gallery { grid-template-columns: 1fr 1fr; }
  nav { gap: 14px; }
  nav a:first-child { display: none; }
  .sec h2 { font-size: 30px; }
}
@media (max-width: 520px) {
  .steps, .gallery { grid-template-columns: 1fr; }
  .gallery .phone { max-width: 280px; margin: 0 auto; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 34px; letter-spacing: -1px; }
  .hero p { font-size: 17px; }
  .hero-phones { height: 340px; }
  .hero-phones .phone { width: 160px; }
  .brand { font-size: 19px; }
  nav a { font-size: 14px; }
}
