/* ============================================================
   PrawkoBot – landing page (dark "command center")
   Interakcje z kursorem robi landing-fx.js (spotlight, tilt,
   glow na kartach, parallax, magnetyczne przyciski, reveal).
   ============================================================ */

:root {
  --bg: #060a14;
  --bg-2: #0a1122;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-2: rgba(255, 255, 255, 0.18);

  --text: #eef2fb;
  --text-soft: #a8b1c7;
  --text-dim: #66718c;

  --primary: #3b82f6;
  --primary-2: #38bdf8;
  --ok: #34d399;
  --danger: #fb7185;

  --grad: linear-gradient(115deg, #3b82f6 10%, #38bdf8 55%, #7dd3fc 100%);
  --glow: rgba(59, 130, 246, 0.45);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(2, 6, 18, 0.55);
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(59, 130, 246, 0.4); color: #fff; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ic { display: inline-block; flex: none; vertical-align: -2px; }

/* ---------------- Warstwy tła ---------------- */
.fx-bg {
  position: fixed; inset: -20%; z-index: -3; pointer-events: none;
  background:
    radial-gradient(42% 45% at 18% 12%, rgba(59, 130, 246, 0.16), transparent 65%),
    radial-gradient(38% 42% at 85% 8%, rgba(56, 189, 248, 0.12), transparent 62%),
    radial-gradient(50% 55% at 70% 95%, rgba(37, 99, 235, 0.10), transparent 65%);
  animation: bg-drift 26s ease-in-out infinite alternate;
}
@keyframes bg-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.05); }
}
.fx-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 30%, #000 30%, transparent 100%);
}
/* Reflektor podążający za kursorem (JS ustawia transform) */
.fx-spot {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 720px; height: 720px; margin: -360px 0 0 -360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.11) 0%, rgba(56, 189, 248, 0.05) 40%, transparent 70%);
  opacity: 0; transition: opacity 0.6s ease;
}
body.fx-on .fx-spot { opacity: 1; }

/* ---------------- Przyciski ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  font-weight: 600; font-size: 14.5px; padding: 11px 22px; border-radius: 12px;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.25s, border-color 0.2s, color 0.2s;
  white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: linear-gradient(115deg, #2f6fe0, #38bdf8);
  color: #fff;
  box-shadow: 0 8px 26px rgba(59, 130, 246, 0.38), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { box-shadow: 0 12px 34px rgba(59, 130, 246, 0.55), inset 0 1px 0 rgba(255,255,255,0.25); filter: brightness(1.07); }
.btn--ghost {
  background: var(--surface); color: var(--text-soft);
  border-color: var(--border-2); backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: rgba(255,255,255,0.3); }
.btn--light { background: #fff; color: #0d2b66; box-shadow: 0 10px 30px rgba(2, 6, 18, 0.35); }
.btn--light:hover { background: #eaf1ff; }
.btn--lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }
.btn--block { width: 100%; }
.magnetic { will-change: transform; }

/* ---------------- Navbar ---------------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 10, 20, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.nav.is-scrolled { background: rgba(6, 10, 20, 0.85); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: 0.2px; }
.brand__name { white-space: nowrap; }
.brand__logo {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: #fff; border-radius: 13px; padding: 4px; overflow: hidden; flex: none;
  box-shadow: 0 6px 20px rgba(2, 6, 18, 0.5), 0 0 0 1px rgba(255,255,255,0.12);
}
.brand__logo--sm { width: 38px; height: 38px; border-radius: 10px; padding: 3px; }
.brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 14px; color: var(--text-soft); font-weight: 500; transition: color 0.15s; }
.nav__links a:hover { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__user { display: flex; align-items: center; gap: 10px; }
.nav__email { font-size: 13px; color: var(--text-soft); font-weight: 600; }
/* Przyciski konta: na desktopie tekst, na telefonie zwijają się do samej ikony */
.nav__iconbtn { display: inline-flex; align-items: center; gap: 7px; }
.nav__iconbtn svg { display: none; flex: none; }
.nav__pill { font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.nav__pill--ok { color: #6ee7b7; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.35); }
.nav__pill--off { color: #fbbf24; background: rgba(251, 191, 36, 0.10); border: 1px solid rgba(251, 191, 36, 0.32); }
@media (max-width: 860px) { .nav__links, .nav__email { display: none; } }

/* ---------------- Hero ---------------- */
.hero { position: relative; padding: 92px 0 40px; }
.hero__inner {
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 60px; align-items: center;
}
.hero__text { max-width: 580px; }
.badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; color: #9ec5ff;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.badge-pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
}
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(42px, 5.4vw, 62px);
  line-height: 1.04; font-weight: 700; letter-spacing: -1.5px;
}
.hero__sub { margin: 24px 0 32px; font-size: 17.5px; color: var(--text-soft); max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 28px; font-size: 13.5px; color: var(--text-dim); font-weight: 500;
}
.hero__trust .ic { color: var(--ok); margin-right: 6px; }

/* Wizual hero: tilt 3D + orbity + pływające karty */
.hero__visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit span {
  position: absolute; border: 1px solid rgba(59, 130, 246, 0.16); border-radius: 50%;
}
.orbit span:nth-child(1) { width: 380px; height: 380px; animation: orbit-pulse 5s ease-in-out infinite; }
.orbit span:nth-child(2) { width: 500px; height: 500px; animation: orbit-pulse 5s ease-in-out 0.8s infinite; }
.orbit span:nth-child(3) { width: 620px; height: 620px; animation: orbit-pulse 5s ease-in-out 1.6s infinite; }
@keyframes orbit-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.015); }
}

.tilt { transform-style: preserve-3d; will-change: transform; }

.mock {
  width: 330px; border-radius: 22px; overflow: hidden;
  background: #f5f7fc; color: #1a2233;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 40px 90px rgba(2, 6, 18, 0.65), 0 0 60px rgba(59, 130, 246, 0.18);
}
.mock__header {
  background: linear-gradient(135deg, #071a30 0%, #12408c 45%, #1f73ea 100%);
  color: #fff; padding: 15px 16px; display: flex; align-items: center; justify-content: space-between;
}
.mock__brand { display: flex; align-items: center; gap: 10px; }
.mock__logo { width: 38px; height: 38px; display: grid; place-items: center; background: #fff; border-radius: 10px; padding: 3px; overflow: hidden; }
.mock__logo img { width: 100%; height: 100%; object-fit: contain; }
.mock__title { font-size: 14.5px; font-weight: 700; }
.mock__subtitle { font-size: 10.5px; opacity: 0.85; }
.mock__pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; background: rgba(255,255,255,0.18);
  border-radius: 999px; padding: 4px 10px;
}
.mock__pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.mock__body { padding: 12px; display: grid; gap: 10px; }
.mock__card {
  padding: 12px 14px; background: #fff; border: 1px solid #dbe4f3; border-radius: 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mock__label { font-size: 13px; font-weight: 700; }
.mock__state { font-size: 11.5px; font-weight: 600; color: #1f73ea; }
.mock__dot { width: 12px; height: 12px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px #e9f7ef; flex: none; }
.mock__slot { padding: 11px 13px; background: #fff; border: 1px solid #dbe4f3; border-left: 3px solid #1f73ea; border-radius: 13px; }
.mock__slot-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.mock__cat { font-size: 11px; font-weight: 700; color: #1f73ea; background: #eaf2fd; border-radius: 6px; padding: 2px 8px; }
.mock__chips { display: flex; gap: 6px; margin-top: 8px; }
.mock__chip { font-size: 11px; color: #5b6577; background: #f2f5fa; border: 1px solid #e3e9f4; border-radius: 999px; padding: 3px 10px; }
.mock__hit {
  padding: 11px 13px; background: #e9f7ef; border: 1px solid #bfe8d0; border-left: 3px solid #16a34a;
  border-radius: 13px; display: flex; gap: 10px; align-items: center;
}
.mock__hit-ic { color: #15803d; display: inline-flex; }
.mock__hit-title { font-size: 12.5px; font-weight: 700; color: #15803d; }
.mock__hit-sub { font-size: 11px; color: #3f7a55; }

/* Pływające karty wokół mocka */
.float {
  position: absolute; pointer-events: none; will-change: transform;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.float--tg {
  right: -12px; top: 30px; width: 250px;
  background: rgba(13, 20, 38, 0.88); border: 1px solid var(--border-2);
  border-radius: 15px; padding: 12px 14px; box-shadow: var(--shadow);
  animation: floaty 6.5s ease-in-out infinite;
}
.float__head { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #7cc7f8; margin-bottom: 6px; }
.float__app { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #229ed9; color: #fff; }
.float__body { font-size: 12.5px; color: var(--text-soft); line-height: 1.45; }
.float__body strong { color: #fff; }
.float--live {
  left: -18px; bottom: 56px;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(13, 20, 38, 0.88); border: 1px solid var(--border-2);
  border-radius: 999px; padding: 10px 16px;
  font-size: 12px; font-weight: 600; color: var(--text-soft);
  box-shadow: var(--shadow);
  animation: floaty 7.5s ease-in-out 0.9s infinite;
}
.float__pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); animation: ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

/* ---------------- Marquee WORD-ów ---------------- */
.marquee { margin-top: 76px; }
.marquee__label {
  text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 20px;
}
.marquee__mask {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marq 42s linear infinite;
}
.marquee__mask:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  flex: none; margin-right: 14px; font-size: 13px; font-weight: 600; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 18px; transition: color .2s, border-color .2s;
}
.marquee__track span:hover { color: #fff; border-color: rgba(59,130,246,.5); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------------- Sekcje ---------------- */
.section { padding: 108px 0; position: relative; }
.section--tint {
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.045) 30%, rgba(59, 130, 246, 0.045) 70%, transparent);
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #7cc7f8; margin-bottom: 14px;
}
.section__title { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; letter-spacing: -1px; line-height: 1.12; }
.section__lead { font-size: 16.5px; color: var(--text-soft); margin-top: 16px; }

/* Karty z poświatą za kursorem (JS ustawia --mx/--my) */
.glow { position: relative; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(96, 165, 250, 0.14), transparent 65%);
  opacity: 0; transition: opacity 0.35s ease; z-index: 0;
}
.glow:hover::before { opacity: 1; }
.glow > * { position: relative; z-index: 1; }

/* ---------------- Bento (funkcje) ---------------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.bcard {
  grid-column: span 5;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease;
}
.bcard:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, 0.4); box-shadow: 0 22px 50px rgba(2, 6, 18, 0.5); }
.bcard--wide { grid-column: span 7; display: flex; gap: 26px; align-items: center; justify-content: space-between; }
.bcard h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; letter-spacing: -0.3px; margin-bottom: 10px; }
.bcard p { font-size: 14.5px; color: var(--text-soft); }
.bcard__text { max-width: 56%; }
.bcard--wide .bcard__text { flex: 1 1 auto; }

/* Radar */
.radar { position: relative; width: 168px; height: 168px; flex: none; border-radius: 50%; }
.radar__rings {
  position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 54%, rgba(96, 165, 250, 0.25) 55%, transparent 56%),
    radial-gradient(circle, transparent 34%, rgba(96, 165, 250, 0.22) 35%, transparent 36%),
    radial-gradient(circle, rgba(96, 165, 250, 0.28) 2.5%, transparent 3%);
  border: 1px solid rgba(96, 165, 250, 0.35);
}
.radar__sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(56, 189, 248, 0.5), transparent 75deg);
  animation: sweep 4s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__blip {
  position: absolute; left: 66%; top: 26%; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-2); box-shadow: 0 0 12px var(--primary-2);
  animation: blip 4s ease-out infinite;
}
.radar__blip--2 { left: 30%; top: 62%; animation-delay: 2s; }
@keyframes blip {
  0%, 15% { opacity: 0; transform: scale(0.4); }
  22%, 55% { opacity: 1; transform: scale(1); }
  85%, 100% { opacity: 0; transform: scale(0.4); }
}

/* Czat Telegram */
.chat { margin-top: 20px; display: grid; gap: 10px; }
.chat__row { display: flex; gap: 9px; align-items: flex-end; }
.chat__avatar {
  width: 26px; height: 26px; border-radius: 50%; background: #fff; padding: 2px;
  overflow: hidden; flex: none; display: grid; place-items: center;
}
.chat__avatar img { width: 100%; height: 100%; object-fit: contain; }
.chat__bubble {
  font-size: 12.5px; line-height: 1.5; color: var(--text-soft);
  background: rgba(34, 158, 217, 0.14); border: 1px solid rgba(34, 158, 217, 0.35);
  border-radius: 13px 13px 13px 4px; padding: 10px 13px;
}
.chat__bubble strong { display: block; color: #6ee7b7; font-size: 12.5px; margin-bottom: 2px; }
.chat__bubble--dim { opacity: 0.65; }

/* Chipy slotów */
.chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; font-weight: 600; color: var(--text-soft);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px;
}
.chip--on { color: #9ec5ff; background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.4); }
.chip--ghost { border-style: dashed; color: var(--text-dim); }

/* Lista bezpieczeństwa */
.seclist { list-style: none; display: grid; gap: 12px; flex: none; max-width: 44%; }
.seclist li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-soft); }
.seclist .ic { color: var(--ok); margin-top: 2px; }

@media (max-width: 940px) {
  .bento { grid-template-columns: 1fr; }
  .bcard, .bcard--wide { grid-column: auto; }
  .bcard--wide { flex-direction: column; align-items: flex-start; }
  .bcard__text, .seclist { max-width: 100%; }
  .radar { align-self: center; }
}

/* ---------------- Kroki ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 52px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.45), rgba(56, 189, 248, 0.45), transparent);
}
.step {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.step:hover { transform: translateY(-4px); border-color: rgba(96, 165, 250, 0.4); }
.step__n {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, #2f6fe0, #38bdf8); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 18px;
  margin-bottom: 18px; box-shadow: 0 8px 22px rgba(59, 130, 246, 0.4);
}
.step h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-soft); }
@media (max-width: 940px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------------- Instalacja wtyczki ---------------- */
.install {
  display: flex; align-items: center; justify-content: space-between; gap: 44px;
  border-radius: 26px; padding: 50px 48px; overflow: hidden;
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.022));
  border: 1px solid var(--border-2);
  box-shadow: var(--shadow);
}
.install__text { max-width: 590px; }
.install__text .eyebrow { margin-bottom: 12px; }
.install__text .section__lead { margin-top: 14px; }
.install__cta { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.install__meta { font-size: 13px; color: var(--text-dim); }
.install__badge {
  position: relative; flex: none; width: 180px; height: 180px; border-radius: 42px;
  display: grid; place-items: center; color: #bfe0ff;
  background: linear-gradient(160deg, rgba(59,130,246,0.22), rgba(56,189,248,0.06));
  border: 1px solid rgba(96, 165, 250, 0.4);
  animation: floaty 7s ease-in-out infinite;
}
.install__badge svg { position: relative; z-index: 1; filter: drop-shadow(0 6px 20px rgba(56,189,248,0.5)); }
.install__badge-glow {
  position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.4), transparent 62%);
  animation: badge-pulse 4s ease-in-out infinite;
}
@keyframes badge-pulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@media (max-width: 860px) {
  .install { flex-direction: column-reverse; text-align: center; padding: 44px 26px; gap: 30px; }
  .install__text { max-width: 100%; }
  .install__cta { justify-content: center; }
}

/* ---------------- Cennik ---------------- */
.pricing { display: grid; justify-content: center; grid-template-columns: minmax(0, 480px); }
.plan {
  position: relative; border-radius: 24px; padding: 38px 36px 32px;
  background:
    linear-gradient(180deg, rgba(17, 26, 48, 0.92), rgba(10, 16, 32, 0.92)) padding-box,
    linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(56, 189, 248, 0.25) 45%, rgba(59, 130, 246, 0.8)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 30px 80px rgba(2, 6, 18, 0.6), 0 0 70px rgba(59, 130, 246, 0.14);
  overflow: hidden;
}
.plan::after {
  content: ""; position: absolute; top: 0; left: -80%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  transform: skewX(-18deg); animation: shine 5.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 55% { left: -80%; }
  100% { left: 160%; }
}
.plan__tag {
  position: absolute; top: 22px; right: 24px;
  background: rgba(59, 130, 246, 0.14); color: #9ec5ff;
  border: 1px solid rgba(59, 130, 246, 0.45);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px;
  padding: 6px 14px; border-radius: 999px;
}
.plan__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.plan__name { font-family: var(--font-head); font-size: 26px; font-weight: 700; letter-spacing: -0.5px; }
.plan__desc { font-size: 13.5px; color: var(--text-soft); margin-top: 6px; max-width: 240px; }
.plan__price { font-family: var(--font-head); font-size: 52px; font-weight: 700; letter-spacing: -2px; line-height: 1; }
.plan__price span { font-size: 15px; font-weight: 600; color: var(--text-dim); letter-spacing: 0; margin-left: 6px; }
.plan__list { list-style: none; display: grid; gap: 13px; margin-bottom: 28px; }
.plan__list li { font-size: 14.5px; color: var(--text-soft); padding-left: 30px; position: relative; }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.plan__note { text-align: center; margin-top: 14px; font-size: 12.5px; color: var(--text-dim); }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: 16px; padding: 4px 22px;
  transition: border-color 0.2s;
}
.faq__item:hover, .faq__item[open] { border-color: rgba(96, 165, 250, 0.35); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-size: 24px; font-weight: 300; color: var(--primary-2);
  transition: transform 0.25s ease; flex: none;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 20px; font-size: 14px; color: var(--text-soft); }

/* ---------------- CTA ---------------- */
.cta { padding: 40px 0 110px; }
.cta__panel {
  text-align: center; border-radius: 28px; padding: 74px 30px;
  background:
    radial-gradient(80% 120% at 50% -20%, rgba(56, 189, 248, 0.28), transparent 60%),
    linear-gradient(135deg, #0c2f6e 0%, #12408c 50%, #1f73ea 100%);
  border: 1px solid rgba(96, 165, 250, 0.4);
  box-shadow: 0 34px 90px rgba(2, 6, 18, 0.6), inset 0 1px 0 rgba(255,255,255,0.14);
  overflow: hidden;
}
.cta__panel h2 { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -1px; }
.cta__panel p { font-size: 17px; color: rgba(238, 242, 251, 0.85); margin: 14px 0 30px; }

/* ---------------- Footer ---------------- */
.footer { border-top: 1px solid var(--border); padding: 44px 0; background: rgba(4, 7, 14, 0.6); }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: #fff; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { font-size: 14px; color: var(--text-soft); transition: color 0.15s; }
.footer__links a:hover { color: #fff; }
.footer__links a.footer__legal { color: var(--primary-2); }
.footer__links a.footer__legal:hover { color: #7dd3fc; }
.footer__copy { font-size: 12.5px; color: var(--text-dim); width: 100%; border-top: 1px solid var(--border); padding-top: 20px; }

/* ---------------- Animacje reveal (scroll) ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease var(--d, 0s), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Modale (ciemne — spójne z motywem strony) ---------------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 5, 12, 0.7); backdrop-filter: blur(6px); }
.modal__box {
  position: relative; width: 100%; max-width: 430px; color: var(--text);
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(59, 130, 246, 0.14), transparent 60%),
    linear-gradient(180deg, #111a2e, #0b1120);
  border: 1px solid var(--border-2);
  border-radius: 20px; padding: 30px;
  box-shadow: 0 40px 100px rgba(2, 6, 18, 0.75), inset 0 1px 0 rgba(255,255,255,0.06);
  animation: pop 0.22s ease; max-height: 92vh; overflow-y: auto;
}
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__x {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0;
  background: rgba(255,255,255,0.07); border-radius: 10px; font-size: 18px; color: var(--text-soft); cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.modal__x:hover { background: rgba(255,255,255,0.14); color: #fff; }
.modal__head { margin-bottom: 18px; }
.modal__head h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; }
.modal__head p { font-size: 13.5px; color: var(--text-dim); margin-top: 4px; }
.modal__switch { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--text-soft); }
.modal__switch a { color: var(--primary-2); font-weight: 700; cursor: pointer; }
.modal__switch a:hover { text-decoration: underline; }
.modal__fineprint { font-size: 11.5px; color: var(--text-dim); text-align: center; margin-top: 12px; line-height: 1.4; }
.modal__fineprint--consent a { color: var(--primary-2); font-weight: 600; }
.modal__fineprint--consent a:hover { text-decoration: underline; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.field input {
  width: 100%; font-family: inherit; font-size: 14px; padding: 12px 13px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  background: rgba(255,255,255,0.04); color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2); background: rgba(255,255,255,0.06); }
.field-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .field-row2 { grid-template-columns: 1fr; gap: 0; } }

.note { font-size: 13px; font-weight: 600; padding: 10px 12px; border-radius: 10px; margin-bottom: 14px; line-height: 1.4; }
.note--err { color: #fda4af; background: rgba(251, 113, 133, 0.12); border: 1px solid rgba(251, 113, 133, 0.32); }
.note--ok { color: #6ee7b7; background: rgba(52, 211, 153, 0.12); border: 1px solid rgba(52, 211, 153, 0.32); }

.order { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.order__row { display: flex; justify-content: space-between; align-items: center; font-size: 14.5px; }
#payment-element { margin-bottom: 16px; min-height: 40px; }
.pay-loading { font-size: 13px; color: var(--text-dim); text-align: center; padding: 22px 0; }

.prof__section { border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.prof__section--first { border-top: none; padding-top: 0; margin-top: 4px; }
.prof__title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-dim); font-weight: 700; margin-bottom: 10px; }
.prof__sub { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.prof__subinfo { font-size: 13px; color: var(--text-soft); }
.prof__hint { font-size: 13px; color: var(--text-soft); margin-bottom: 12px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(24px);
  background: rgba(16, 68, 44, 0.95); color: #d9fbe9;
  border: 1px solid rgba(52, 211, 153, 0.45);
  font-size: 14px; font-weight: 600; padding: 13px 20px;
  border-radius: 13px; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: all 0.25s ease; z-index: 80; max-width: 90%;
  display: inline-flex; align-items: center; gap: 8px; text-align: left;
  backdrop-filter: blur(8px);
}
.toast__ic { display: inline-flex; flex: none; }
.toast__ic .ic { width: 16px; height: 16px; }
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--info { background: rgba(13, 42, 92, 0.95); color: #dbeafe; border-color: rgba(96, 165, 250, 0.5); }
.toast--warn { background: rgba(88, 48, 8, 0.95); color: #fef3c7; border-color: rgba(251, 191, 36, 0.5); }

/* ---------------- Responsywność hero ---------------- */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__text { max-width: 640px; }
  .hero__visual { min-height: 420px; }
  .float--tg { right: 4px; }
  .float--live { left: 4px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 56px; }
  .section { padding: 80px 0; }
  .float--tg { display: none; }
  .orbit span:nth-child(3) { display: none; }
  .plan { padding: 30px 22px 26px; }
  .plan__price { font-size: 42px; }

  /* Nav: kompaktowy, żeby nic nie wypychało strony w bok */
  .nav__inner { height: 62px; gap: 8px; }
  .brand { font-size: 15.5px; gap: 9px; }
  .brand__logo { width: 40px; height: 40px; }
  .nav__actions, .nav__user { gap: 7px; }
  .nav .btn { padding: 9px 13px; font-size: 13px; }
  /* Status subskrypcji → mała kropka (zielona/pomarańczowa); pełny status jest w „Mój profil" */
  .nav__user .nav__pill { font-size: 0; padding: 0; width: 12px; height: 12px; min-width: 12px; border-radius: 50%; }
  /* Konto: ikona zamiast tekstu */
  .nav .nav__iconbtn { padding: 0; width: 38px; height: 38px; justify-content: center; }
  .nav__iconbtn .nav__btntext { display: none; }
  .nav__iconbtn svg { display: block; }
}

/* ---------------- Ograniczenie ruchu ---------------- */
@media (prefers-reduced-motion: reduce) {
  .fx-bg, .fx-spot, .orbit span, .float, .radar__sweep, .radar__blip,
  .badge-pill__dot, .float__pulse, .marquee__track, .plan::after { animation: none !important; }
  .fx-spot { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
