/* OdNowa – strony informacyjne (prywatność, regulamin, wsparcie). Paleta jak w aplikacji i na stronie głównej:
   Obsidian #09090B, Graphite #18181B, Crimson #DC2626, Silver #A1A1AA, Ivory #F5F5F4. Bez zewnętrznych zasobów. */
:root {
  --bg: #09090B;
  --surface: #18181B;
  --surface-2: #1F1F23;
  --surface-3: #27272A;
  --text: #F5F5F4;
  --text-2: #A1A1AA;
  --text-3: #8A8A93;
  --sand: #DC2626;
  --sand-text: #F87171;
  --on-sand: #FFFFFF;
  --mist: #A1A1AA;
  --sage: #9CC7A8;
  --slate: #27272A;
  --glass: rgba(24, 24, 27, 0.62);
  --glass-strong: rgba(24, 24, 27, 0.82);
  --edge: rgba(255, 255, 255, 0.10);
  --edge-top: rgba(255, 255, 255, 0.22);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sand-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sand-text); outline-offset: 3px; border-radius: 10px; }

/* ---------- Animowane tło: cztery powolne światła ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.backdrop span {
  position: absolute; border-radius: 50%; filter: blur(10px); will-change: transform;
  animation: drift 22s ease-in-out infinite alternate;
}
.backdrop .l1 { width: 90vmax; height: 90vmax; left: 30%; top: -45vmax; background: radial-gradient(circle, rgba(220,38,38,.22), transparent 62%); }
.backdrop .l2 { width: 100vmax; height: 100vmax; left: -50vmax; top: 10%; background: radial-gradient(circle, rgba(39,39,42,.85), transparent 62%); animation-duration: 28s; animation-delay: -6s; }
.backdrop .l3 { width: 80vmax; height: 80vmax; right: -40vmax; top: 45%; background: radial-gradient(circle, rgba(161,161,170,.10), transparent 62%); animation-duration: 34s; animation-delay: -12s; }
.backdrop .l4 { width: 70vmax; height: 70vmax; left: 10%; bottom: -45vmax; background: radial-gradient(circle, rgba(220,38,38,.10), transparent 62%); animation-duration: 26s; animation-delay: -3s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vw, 4vh, 0) scale(1.06); }
  100% { transform: translate3d(-5vw, -3vh, 0) scale(.97); }
}

/* ---------- Szkło ---------- */
.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
}
.glass::before { /* krawędź: jaśniejsza u góry, jak w odPanel */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(180deg, var(--edge-top), var(--edge) 40%, rgba(255,255,255,.04));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-strong); }
}

/* ---------- Układ ---------- */
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
section { padding: 72px 0; }
.eyebrow { color: var(--sand-text); font-weight: 600; font-size: 15px; letter-spacing: .02em; margin: 0 0 12px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; }
h1 { font-size: clamp(42px, 7vw, 76px); font-weight: 700; }
h2 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.25; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--text-2); max-width: 34em; }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); }
.hl { color: var(--sand-text); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--text-2); margin: 14px 0 0; font-size: 18px; }

/* ---------- Nawigacja ---------- */
.nav {
  position: sticky; top: 14px; z-index: 10;
  width: min(var(--max), 100% - 32px); margin: 14px auto 0;
  display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand img.logo-word { width: auto; height: 24px; border-radius: 0; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.06); text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } .nav .btn { margin-left: auto; } }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--font); letter-spacing: -0.01em; border: 0; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sand); color: var(--on-sand); }
.btn-primary:hover { background: #EF4444; }
.btn-glass { color: var(--text); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--edge); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn[aria-disabled="true"] { cursor: default; }

/* ---------- Hero ---------- */
.hero { padding-top: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { margin-top: 6px; }
.hero .lead { margin: 22px 0 30px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.promises { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.promises li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  font-size: 15px; color: var(--text-2); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--edge);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); flex: none; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Telefon ---------- */
.phone {
  position: relative; width: min(320px, 78vw); margin-inline: auto; aspect-ratio: 1206 / 2622;
  border-radius: 52px; padding: 10px; background: linear-gradient(160deg, #3f3f46, #18181b 40%, #09090b);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.10);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 43px; }
.phone-glow { position: absolute; inset: 10% -20% 0; z-index: -1; background: radial-gradient(closest-side, rgba(220,38,38,.32), transparent); filter: blur(20px); }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Kroki ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 28px; }
.step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 18px;
  font-weight: 700; color: var(--sand-text); background: rgba(220,38,38,.14); box-shadow: inset 0 0 0 1px rgba(220,38,38,.35);
}
.step p { color: var(--text-2); margin: 10px 0 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Bento funkcji ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card { padding: 28px; overflow: hidden; }
.card p { color: var(--text-2); margin: 10px 0 0; }
.span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; } .span-4 { grid-column: span 4; }
.card.media { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.card.media .shot { width: 200px; height: 300px; object-fit: cover; object-position: top; border-radius: 26px 26px 0 0; margin-bottom: -28px; box-shadow: 0 -10px 40px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.08); }
.icon {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(220,38,38,.14); color: var(--sand-text); box-shadow: inset 0 0 0 1px rgba(220,38,38,.30);
}
.icon svg { width: 22px; height: 22px; }
.big-number { font-size: 64px; font-weight: 300; letter-spacing: -0.04em; line-height: 1; margin-top: 8px; }
.trail { display: flex; align-items: center; gap: 8px; margin-top: 22px; }
.trail i { width: 12px; height: 12px; border-radius: 50%; background: var(--sand); }
.trail i.q { background: transparent; box-shadow: inset 0 0 0 2px var(--text-3); }
.trail i.s { width: 9px; height: 9px; background: var(--mist); }
.trail i.today { width: 22px; height: 22px; background: transparent; box-shadow: inset 0 0 0 2.5px var(--text); position: relative; }
@media (max-width: 900px) { .span-2, .span-3, .span-4 { grid-column: span 6; } .card.media .shot { width: 150px; height: 240px; } }

/* ---------- Ekrany ---------- */
.screens { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.screens figure { margin: 0; text-align: center; }
.screens .phone { width: 250px; }
.screens figcaption { margin-top: 16px; color: var(--text-2); font-size: 15px; }
.screens figure:nth-child(2) { transform: translateY(-24px); }
@media (max-width: 860px) { .screens figure:nth-child(2) { transform: none; } .screens .phone { width: min(260px, 70vw); } }

/* ---------- Prywatność ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.privacy .card ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.privacy .card li { display: flex; gap: 12px; color: var(--text-2); }
.check { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(156,199,168,.16); color: var(--sage); font-size: 13px; font-weight: 700; margin-top: 2px; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } }

/* ---------- Cennik ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { padding: 28px; display: flex; flex-direction: column; }
.plan.recommended { background: rgba(60, 20, 20, .45); }
.plan.recommended::before { background: linear-gradient(180deg, rgba(220,38,38,.85), rgba(220,38,38,.25)); }
.badge {
  align-self: flex-start; font-size: 13px; font-weight: 650; padding: 6px 12px; border-radius: 999px;
  background: var(--sand); color: var(--on-sand); margin-bottom: 16px;
}
.plan h3 { font-size: 19px; }
.price { font-size: 44px; font-weight: 650; letter-spacing: -0.035em; margin-top: 14px; line-height: 1; }
.price small { font-size: 16px; font-weight: 500; color: var(--text-2); letter-spacing: 0; }
.plan .note { color: var(--text-2); margin: 12px 0 0; font-size: 15px; }
.plan ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.plan ul li::before { content: "·"; color: var(--sand-text); font-weight: 900; margin-right: 8px; }
.pricing-legal { margin-top: 22px; font-size: 14px; color: var(--text-3); max-width: 820px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Kryzys ---------- */
.crisis { padding: 32px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.lines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.line { display: block; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--edge); color: var(--text); }
.line:hover { text-decoration: none; background: rgba(255,255,255,.08); }
.line strong { display: block; font-size: 24px; letter-spacing: -0.02em; }
.line span { font-size: 14px; color: var(--text-2); }
@media (max-width: 860px) { .crisis { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .lines { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 56px 22px 24px; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 400; font-size: 20px;
  background: rgba(255,255,255,.07); color: var(--text-2); transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--text-2); }

/* ---------- Końcowe CTA i stopka ---------- */
.final { text-align: center; padding: 56px 28px; }
.final img { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.6); }
.final p { color: var(--text-2); margin: 14px auto 28px; max-width: 30em; font-size: 18px; }
footer { padding: 40px 0 56px; color: var(--text-3); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--text-2); }
.disclaimer { margin-top: 18px; max-width: 760px; }

/* ---------- Strony prawne ---------- */
.doc { padding: 40px 0 24px; }
.doc article { padding: clamp(24px, 5vw, 56px); max-width: 860px; margin-inline: auto; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 24px; margin: 40px 0 12px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--text-2); }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .meta { color: var(--text-3); font-size: 15px; margin-top: 12px; }
.doc .summary { padding: 22px 24px; border-radius: var(--radius-sm); background: rgba(220,38,38,.08); box-shadow: inset 0 0 0 1px rgba(220,38,38,.25); margin: 28px 0; }
.doc .summary ul { margin: 10px 0 0; padding-left: 20px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; color: var(--text-2); }
.doc th { color: var(--text); font-weight: 600; }
.todo { background: rgba(255, 196, 0, .16); color: #FFD98A; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
@media (max-width: 600px) { .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; } .doc thead { display: none; } .doc td:first-child { color: var(--text); font-weight: 600; border-bottom: 0; padding-bottom: 0; } }

/* ---------- Wejścia przy przewijaniu ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .backdrop span, .float { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
