/* index.html ma kopię tego arkusza w <style>: Safari przy file:// nie dociąga osobnego CSS i zostawia pustą stronę. */
/* BiznesGraf.pl landing — „Łączymy kropki polskiego biznesu”
   Dark slate / deep navy + neonowy błękit i szmaragd. Mobile first. */

:root {
  --bg-deep: #0b0f19;
  --bg-mid: #111827;
  --bg-elevated: #1f2937;
  --text: #e5e7eb;
  --text-muted: #9ca3af;
  --steel: #6b7280;
  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-dim: rgba(59, 130, 246, 0.14);
  --accent-glow: rgba(59, 130, 246, 0.28);
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.14);
  --gold: #d4a24c;
  --gold-dim: rgba(212, 162, 76, 0.18);
  --glass: rgba(17, 24, 39, 0.72);
  --border: #1f2937;
  --border-soft: rgba(148, 163, 184, 0.18);
  --font-display: "Bitter", Georgia, serif;
  --font-ui: "DM Sans", system-ui, sans-serif;
  --max: 72rem;
  --header-h: 4rem;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  /* Siatka kropkowa — wizualny motyw „łączenia kropek” */
  background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.logo-accent {
  color: var(--accent);
}

.hidden {
  display: none !important;
}

/* ───────── Header ───────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
  min-width: 0;
}

.logo-stack {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}

.logo-mark {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  transform: rotate(45deg);
}

.nav-desktop {
  display: none;
  gap: 1.35rem;
}

.nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.btn-header {
  flex-shrink: 0;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Na wąskich ekranach: „📑 249 zł”, od 640px pełny napis */
.btn-long {
  display: none;
}

@media (min-width: 640px) {
  .btn-long {
    display: inline;
  }
  .btn-header {
    font-size: 0.9rem;
    padding: 0.6rem 1.1rem;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.25rem;
  background: var(--text);
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem 1rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-mid);
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a {
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  font-weight: 500;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.12);
  color: var(--text);
  border: 1px solid rgba(59, 130, 246, 0.45);
}

.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: var(--accent);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.btn-cta {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.02rem;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

/* Aplikacja jeszcze wyłączona (data-app-enabled="false") */
.btn-disabled,
a.is-app-disabled,
body.app-gate-off .js-radar,
body[data-app-enabled="false"] .js-radar {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
}

body.app-gate-off .nip-form--locked .nip-input,
body.app-gate-off .nip-form--locked .btn-nip {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-disabled:hover,
a.is-app-disabled:hover {
  transform: none;
}

button.btn-disabled[disabled],
button.btn-sample[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
  pointer-events: none;
}

.hero-app-soon {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--steel);
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2.25rem 0 3rem;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 80% 30%, rgba(59, 130, 246, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 90%, rgba(16, 185, 129, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
  }
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: 0 1.25rem;
  }
}

.hero-copy {
  animation: fade-up 0.8s ease both;
  min-width: 0;
}

.hero-status-pill {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 7px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  color: #93c5fd;
  margin: 0 0 1.1rem;
  max-width: 100%;
  line-height: 1.4;
}

.hero-status-pill strong {
  color: #bfdbfe;
  font-weight: 700;
}

.status-dot {
  flex-shrink: 0;
  margin-top: 0.4em;
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 5.2vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
}

.hero-claim {
  display: block;
  margin-top: 0.25rem;
  background: linear-gradient(90deg, #60a5fa 0%, var(--emerald) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

.hero-support {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

/* Dual action box */
.dual-action {
  max-width: 34rem;
  padding: 1rem;
  background: var(--glass);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dual-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0;
  color: var(--steel);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dual-or::before,
.dual-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.nip-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

@media (min-width: 520px) {
  .nip-row {
    flex-direction: row;
    align-items: stretch;
  }
}

.nip-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: rgba(11, 15, 25, 0.7);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.92rem;
  outline: none;
}

.nip-input::placeholder {
  color: var(--steel);
}

.nip-input:focus {
  border-color: rgba(59, 130, 246, 0.55);
}

.btn-nip {
  white-space: nowrap;
}

.nip-note {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--steel);
}

.hero-visual {
  width: 100%;
  margin: 0;
  line-height: 0;
}

.hero-graph {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--border-soft), 0 24px 48px rgba(0, 0, 0, 0.45);
  animation: hero-drift 12s ease-in-out infinite;
}

.hero-graph--4k {
  border-radius: 10px;
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.25),
    0 28px 64px rgba(0, 0, 0, 0.55);
}

@keyframes hero-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ───────── Sekcje ───────── */
.section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-soft);
}

@media (min-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 960px) {
  .section-inner {
    padding: 0 1.25rem;
  }
}

.section-inner--narrow {
  max-width: 46rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.h2-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.6em;
  font-weight: 600;
  color: var(--text-muted);
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 62ch;
  margin: 0 0 2rem;
}

.section-lead strong {
  color: var(--text);
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}

/* ───────── C. Porównanie kropek ───────── */
.section-dots {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.85) 0%, rgba(11, 15, 25, 0.6) 100%);
}

.compare {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .compare {
    grid-template-columns: 1fr 1.7fr;
    gap: 1.5rem;
  }
}

.compare-col {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-mid);
}

.compare-col h3 {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.compare-col--lonely h3 {
  color: var(--steel);
}

.compare-col--linked {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.12), 0 18px 40px rgba(0, 0, 0, 0.3);
}

.compare-col--linked h3 {
  color: var(--emerald);
}

.dots-lonely {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  flex: 1;
  align-content: flex-start;
}

.dots-lonely li {
  padding: 0.5rem 0.85rem;
  border: 1px dashed rgba(107, 114, 128, 0.7);
  border-radius: 999px;
  color: var(--steel);
  font-size: 0.9rem;
}

.dots-lonely li:nth-child(2) {
  margin-left: 1.25rem;
}

.dots-chain {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  flex: 1;
}

.dot-node {
  padding: 0.65rem 0.9rem;
  text-align: center;
  border: 1px solid rgba(59, 130, 246, 0.55);
  border-radius: 10px;
  background: var(--accent-dim);
  color: #dbeafe;
  font-size: 0.92rem;
  font-weight: 600;
}

.dot-node--hot {
  border-color: rgba(212, 162, 76, 0.7);
  background: var(--gold-dim);
  color: #fde7b5;
}

.dot-link {
  align-self: center;
  color: var(--emerald);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  /* mobile: strzałki pionowe (→ ↓, ← ↑) */
  transform: rotate(90deg);
}

/* Szeroki ekran: Urząd → Kontrakt → Konkurent, pod Konkurentem ↑ Wspólny Prezes */
@media (min-width: 1100px) {
  .dots-chain {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: start;
    align-content: start;
    align-items: center;
    gap: 0.4rem 0.6rem;
  }
  .dots-chain .dot-link:nth-child(2),
  .dots-chain .dot-link:nth-child(4) {
    transform: none;
  }
  .dots-chain .dot-link:nth-child(6) {
    grid-column: 5;
    grid-row: 2;
    justify-self: center;
  }
  .dots-chain .dot-node:nth-child(7) {
    grid-column: 5;
    grid-row: 3;
  }
}

.compare-caption {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.compare-caption--ok {
  color: #a7f3d0;
  font-style: normal;
  font-weight: 500;
}

/* ───────── D. Produkt flagowy ───────── */
/* Eksplorator NIP / Raport 360° */
.section-explorer-360 {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.35) 0%, var(--bg-deep) 100%);
}

.explorer-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 960px) {
  .explorer-split {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
  }
}

.explorer-copy .section-lead {
  margin-bottom: 1.25rem;
}

.explorer-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.explorer-features li {
  padding-left: 1.15rem;
  position: relative;
}

.explorer-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.explorer-features code {
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #93c5fd;
}

.explorer-visual {
  margin: 0;
}

.explorer-graph {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px var(--border-soft), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.explorer-caption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--steel);
  text-align: center;
  line-height: 1.4;
}

.section-product {
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(17, 24, 39, 0.9) 100%);
}

.feature-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.feature-card {
  position: relative;
  padding: 1.5rem 1.25rem 1.35rem;
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}

.feature-card--hot {
  border-color: rgba(212, 162, 76, 0.5);
  background: linear-gradient(160deg, rgba(212, 162, 76, 0.1), var(--bg-mid) 60%);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: #93c5fd;
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-card--hot .feature-num {
  background: var(--gold-dim);
  border-color: rgba(212, 162, 76, 0.6);
  color: var(--gold);
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

.product-cta {
  margin: 2rem 0 0;
  max-width: 24rem;
}

/* ───────── E. Cennik ───────── */
.section-pricing {
  background: var(--bg-mid);
}

.pricing-grid {
  display: grid;
  gap: 1.75rem;
  max-width: var(--max);
  margin: 0 auto;
}

@media (min-width: 720px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-features code {
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 0.82em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.85);
  color: #93c5fd;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.4rem;
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
}

/* Produkt główny — gradient + błękitno-złote obramowanie */
.price-card--flagship {
  border: 1px solid transparent;
  background:
    linear-gradient(160deg, #101a30 0%, #0b1220 55%, #14130f 100%) padding-box,
    linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%) border-box;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 24px 56px rgba(37, 99, 235, 0.22);
}

.price-badge {
  position: absolute;
  top: -0.8rem;
  left: 1.25rem;
  margin: 0;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111827;
  background: linear-gradient(90deg, var(--gold), #f0c674);
  border-radius: 4px;
}

.price-card h3 {
  margin: 0.35rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.25;
}

.price-amount {
  margin: 0 0 1.25rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.price-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-card--flagship .price-num {
  color: #fff;
}

.price-cur {
  font-weight: 600;
  color: var(--text-muted);
}

.price-note {
  font-size: 0.9rem;
  color: var(--steel);
}

.price-features {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-features li {
  padding-left: 1.2rem;
  position: relative;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
}

.price-card--flagship .price-features li::before {
  background: var(--emerald);
}

.price-features li.price-feature-muted {
  color: var(--steel);
  font-size: 0.88rem;
}

.price-features li.price-feature-muted::before {
  background: var(--steel);
  opacity: 0.55;
}

.price-features li.price-feature-note {
  color: #94a3b8;
  font-size: 0.85rem;
  font-style: italic;
}

.price-features li.price-feature-note::before {
  background: transparent;
  width: 0;
  height: 0;
}

.sample-report-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .sample-report-box {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.sample-report-content {
  display: flex;
  gap: 16px;
  align-items: center;
}

.sample-report-box h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #f8fafc;
}

.sample-report-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sample-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.btn-sample {
  white-space: nowrap;
}

.order-pilot-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* ───────── Zamówienie ───────── */
.section-order {
  background: linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 100%);
}

.order-card {
  padding: 1.75rem 1.25rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  text-align: center;
}

@media (min-width: 640px) {
  .order-card {
    padding: 2.5rem;
  }
}

.order-card .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.early-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.order-form .form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 34rem;
  margin: 0 auto;
}

.order-form input[type="email"],
.order-form input[type="text"],
.order-form select {
  width: 100%;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: rgba(11, 15, 25, 0.75);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  outline: none;
}

.order-form select:invalid {
  color: var(--steel);
}

.order-form input::placeholder {
  color: var(--steel);
}

.order-form input:focus,
.order-form select:focus {
  border-color: rgba(59, 130, 246, 0.6);
}

.order-form button {
  margin-top: 0.25rem;
  padding: 0.95rem 1.25rem;
}

.order-legal {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--steel);
}

.order-legal a {
  color: var(--text-muted);
}

.form-success-msg {
  color: #34d399;
  font-size: 0.95rem;
  margin-top: 14px;
}

.form-error-msg {
  color: #fca5a5;
  font-size: 0.9rem;
  margin-top: 14px;
}

.form-error-msg a {
  color: #93c5fd;
}

/* ───────── F. Tarcza bezpieczeństwa ───────── */
.section-shield {
  padding: 2.5rem 0;
}

.shield-box {
  padding: 1.5rem 1.35rem;
  background: var(--emerald-dim);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-left-width: 4px;
  border-radius: 10px;
}

.section .shield-box h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: #a7f3d0;
}

.shield-box p {
  margin: 0 0 0.75rem;
  color: var(--text);
  font-size: 0.98rem;
}

.shield-box .shield-disclaimer {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ───────── G. FAQ ───────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.75);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.75rem 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* ───────── H. Footer ───────── */
.site-footer {
  padding: 2.5rem 0;
  background: var(--bg-mid);
  border-top: 1px solid var(--border-soft);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 1.25rem;
  }
}

.footer-brand {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.footer-owner {
  margin: 0 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-owner strong {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  color: var(--steel);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  position: relative;
  width: fit-content;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav a:hover::after {
  width: 100%;
}

/* ───────── Dossier gminy (lejek 249 PLN) ───────── */
.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.btn-header-link {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.lp-hero {
  position: relative;
  padding: 3.5rem 1rem 2.5rem;
}

.lp-hero-inner {
  position: relative;
  max-width: 60rem;
  margin: 0 auto;
}

.lp-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--accent-dim);
  color: #dbeafe;
  font-size: 0.85rem;
  font-weight: 600;
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lp-lead,
.lp-claim {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.lp-claim {
  font-size: 0.98rem;
}

.lp-search {
  position: relative;
  margin: 1.5rem 0 1rem;
}

.lp-search-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lp-search input[type="search"],
.lp-unlock input[type="email"] {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: var(--bg-mid);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.lp-search input:focus,
.lp-unlock input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.lp-ac {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.35rem;
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  max-height: 18rem;
  overflow: auto;
}

.lp-ac button {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--text);
  border: 0;
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.lp-ac button:hover,
.lp-ac button:focus {
  background: var(--accent-dim);
}

.lp-trust {
  color: var(--steel);
  font-size: 0.88rem;
}

.hero-graph-showcase {
  margin-top: 28px;
  position: relative;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.graph-preview-frame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.8), 0 0 30px rgba(37, 99, 235, 0.15);
  background: #0b0f17;
  height: 420px;
}

button.graph-preview-trigger {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

button.graph-preview-trigger:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

.graph-open-cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(11, 15, 25, 0.35);
  color: #f8fafc;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease;
  pointer-events: none;
}

.graph-preview-trigger:hover .graph-open-cta,
.graph-preview-trigger:focus-visible .graph-open-cta {
  opacity: 1;
  background: rgba(11, 15, 25, 0.55);
}

.graph-open-cta-icon {
  font-size: 1.75rem;
  line-height: 1;
}

/* Modal grafu demo (jak w aplikacji — bez pobierania plików) */
.lp-graph-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  background: #0b0f19;
}

.lp-graph-modal[hidden] {
  display: none !important;
}

body.lp-graph-modal-open {
  overflow: hidden;
}

.lp-graph-topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid #1e293b;
  color: #f8fafc;
}

.lp-graph-kicker {
  display: block;
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.lp-graph-topbar-text strong {
  display: block;
  font-size: 1.05rem;
}

.lp-graph-sub {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.lp-graph-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lp-graph-canvas {
  flex: 1;
  min-height: 0;
  width: 100%;
  background: radial-gradient(circle at 30% 20%, #111827 0%, #0b0f19 55%);
}

.lp-graph-placeholder {
  margin: 0;
  padding: 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.95rem;
}

.graph-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  display: block;
  transform: scale(1.72);
  transform-origin: center 46%;
  transition: transform 0.3s ease;
}

.graph-preview-frame:hover .graph-hero-img {
  transform: scale(1.78);
}

.graph-badge-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: lp-pulse 1.6s ease-in-out infinite;
}

@keyframes lp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.graph-caption {
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
  margin-top: 10px;
}

.lp-macro {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  margin: 1.25rem 0;
}

.lp-tile {
  background: var(--bg-mid);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.lp-tile-label {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.lp-tile-value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #fff;
}

.lp-paid {
  margin: 2rem 0 0;
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 14px;
  background: var(--gold-dim);
  border: 1px solid rgba(212, 162, 76, 0.55);
  box-shadow: inset 3px 0 0 var(--gold);
}

.lp-paid-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.lp-paid-lead {
  margin: 0.4rem 0 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
}

.lp-locks {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(11, 15, 25, 0.55);
  border: 1px solid rgba(212, 162, 76, 0.28);
}

.lp-locks li {
  padding: 0.35rem 0;
  color: var(--text-muted);
}

.lp-unlock {
  display: grid;
  gap: 0.7rem;
}

.lp-unlock-note,
.lp-macro-note {
  margin: 0;
  color: var(--steel);
  font-size: 0.88rem;
}

.lp-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.lp-deliver {
  display: grid;
  gap: 1rem;
}

.lp-deliver img {
  width: 100%;
  height: auto;
  margin-top: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.lp-deliver--4cols {
  padding-top: 0.45rem;
}

.feature-card--highlight {
  position: relative;
  border: 1px solid rgba(212, 162, 76, 0.5) !important;
  background: linear-gradient(165deg, rgba(212, 162, 76, 0.08) 0%, rgba(17, 24, 39, 0.95) 60%) !important;
  box-shadow: 0 10px 30px -5px rgba(212, 162, 76, 0.15) !important;
}

.feature-badge-highlight {
  position: absolute;
  top: -11px;
  right: 16px;
  background: linear-gradient(90deg, #d4a24c, #f59e0b);
  color: #0b0f19;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.65rem;
}

.feature-card-header h3 {
  margin: 0;
}

.feature-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.lp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
}

.lp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
  font-size: 0.95rem;
}

.lp-table th,
.lp-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.lp-table thead th {
  background: var(--bg-mid);
  color: #fff;
}

.lp-table tbody th {
  font-weight: 600;
  color: var(--text);
  width: 28%;
}

.lp-table td:last-child {
  color: #d1fae5;
  font-weight: 600;
}

.lp-price {
  margin-top: 1rem;
}

@media (min-width: 720px) {
  .lp-search-row {
    flex-direction: row;
    align-items: stretch;
  }
  .lp-search-row .btn {
    flex: 0 0 auto;
  }
  .lp-macro {
    grid-template-columns: 1fr 1fr;
  }
  .lp-deliver {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .lp-deliver--4cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .header-actions {
    display: flex;
  }
  .header-inner {
    height: auto;
    min-height: var(--header-h);
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }
}
