/* Landing page – brutalistyczna kompilacja na scroll (brief) */

.lp-wrap {
  position: relative;
  overflow-x: hidden;
}

.lp-main {
  position: relative;
  z-index: 2;
}

.lp-hero {
  background: radial-gradient(1200px 800px at 50% 20%, rgba(0, 255, 136, 0.10), transparent 60%),
    linear-gradient(180deg, #040607 0%, #070b10 60%, #0a0e1a 100%);
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.0) 0px,
      rgba(0, 0, 0, 0.0) 2px,
      rgba(0, 0, 0, 0.14) 3px
    );
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

.lp-break-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255, 0, 170, 0.0) 0%, rgba(255, 0, 170, 0.06) 50%, rgba(255, 0, 170, 0.0) 100%),
    radial-gradient(800px 500px at 60% 40%, rgba(0, 245, 255, 0.08), transparent 60%),
    radial-gradient(900px 650px at 35% 55%, rgba(0, 255, 136, 0.08), transparent 65%);
  transform: translateZ(0);
}

.lp-wrap.lp-compiled .lp-break-overlay {
  animation: lp-break 650ms steps(1, end) 1;
}

@keyframes lp-break {
  0% { opacity: 0; filter: contrast(1) saturate(1); }
  15% { opacity: 1; filter: contrast(1.25) saturate(1.3) hue-rotate(6deg); }
  35% { opacity: 0.2; filter: contrast(1.08) saturate(1.15); }
  55% { opacity: 0.85; filter: contrast(1.35) saturate(1.4) hue-rotate(-10deg); }
  100% { opacity: 0; filter: none; }
}

.lp-hero-content {
  position: relative;
  z-index: 4;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.25rem 2rem 2.25rem;
  text-align: left;
}

.lp-terminal {
  display: inline-block;
  border: 1px solid rgba(0, 255, 136, 0.22);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.08);
  padding: 1rem 1.1rem;
  margin-bottom: 1.25rem;
  width: 100%;
  max-width: 720px;
}

.lp-terminal-line {
  font-family: var(--font-display);
  color: rgba(0, 255, 136, 0.92);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.lp-terminal-line--muted {
  color: rgba(0, 245, 255, 0.75);
}

.lp-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  margin: 0.35rem 0 1rem;
  text-shadow: 0 0 28px rgba(0, 255, 136, 0.16);
}

.lp-h1-accent {
  color: rgba(0, 255, 136, 0.95);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.32);
}

.lp-lead {
  max-width: 900px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(203, 203, 203, 0.92);
  letter-spacing: 0.02em;
  margin-top: 0.6rem;
}

.lp-crt {
  position: relative;
}

.lp-crt::after {
  content: '';
  position: absolute;
  inset: -0.25rem -0.5rem;
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.0), rgba(0, 255, 136, 0.06), rgba(0, 255, 136, 0.0));
  opacity: 0.0;
  pointer-events: none;
}

.lp-wrap.lp-compiled .lp-crt::after {
  opacity: 1;
  animation: lp-scan 1200ms linear infinite;
}

@keyframes lp-scan {
  0% { transform: translateX(-40%); opacity: 0.0; }
  10% { opacity: 0.35; }
  50% { opacity: 0.12; }
  100% { transform: translateX(40%); opacity: 0.0; }
}

.lp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 0;
  border: 1px solid rgba(0, 255, 136, 0.26);
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.82rem;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease, filter 140ms ease;
}

.lp-btn--primary {
  background: rgba(0, 255, 136, 0.12);
  color: rgba(0, 255, 136, 0.96);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.12);
}

.lp-btn--ghost {
  background: rgba(0, 0, 0, 0.18);
  color: rgba(0, 245, 255, 0.88);
  border-color: rgba(0, 245, 255, 0.22);
}

.lp-btn:hover {
  transform: translateY(-1px);
  filter: saturate(1.1) contrast(1.05);
}

.lp-scrollhint {
  margin-top: 1.2rem;
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: rgba(0, 245, 255, 0.68);
  text-transform: uppercase;
}

.lp-scrollhint-cursor {
  display: inline-block;
  color: rgba(0, 255, 136, 0.95);
  margin-right: 0.35rem;
  animation: lp-blink 900ms steps(1, end) infinite;
}

@keyframes lp-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.lp-section {
  background: rgba(0, 0, 0, 0.18);
}

.lp-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.25rem 2rem;
  position: relative;
}

.lp-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  color: rgba(0, 255, 136, 0.82);
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

.lp-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.1vw, 2.2rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.18;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 26px rgba(0, 245, 255, 0.10);
}

.lp-h3 {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: rgba(0, 245, 255, 0.92);
  margin-bottom: 0.55rem;
}

.lp-body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: rgba(203, 203, 203, 0.9);
  font-size: 1rem;
}

.lp-body--muted {
  color: rgba(203, 203, 203, 0.78);
}

/* Sekcja 4 (deploy): odstęp od formularza */
.lp-section--deploy .lp-body.lp-body--muted {
  padding-bottom: 10px;
}

.lp-compile-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.2rem;
  margin-top: 1.35rem;
  align-items: start;
}

.lp-codeframe {
  background: rgba(10, 14, 26, 0.9);
  border: 1px solid rgba(0, 245, 255, 0.18);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.08);
  transform: translateZ(0);
}

.lp-codeframe-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid rgba(0, 245, 255, 0.12);
  background: linear-gradient(90deg, rgba(0, 245, 255, 0.08), rgba(255, 0, 170, 0.05));
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.55rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.65rem;
  border: 1px solid rgba(0, 255, 136, 0.25);
  color: rgba(0, 255, 136, 0.9);
  background: rgba(0, 255, 136, 0.06);
}

.lp-pill--alt {
  border-color: rgba(0, 245, 255, 0.22);
  color: rgba(0, 245, 255, 0.9);
  background: rgba(0, 245, 255, 0.06);
}

.lp-pill--warn {
  border-color: rgba(255, 0, 170, 0.22);
  color: rgba(255, 0, 170, 0.9);
  background: rgba(255, 0, 170, 0.06);
}

.lp-pill--ok {
  border-color: rgba(139, 92, 246, 0.22);
  color: rgba(139, 92, 246, 0.92);
  background: rgba(139, 92, 246, 0.06);
}

.lp-code {
  padding: 1rem 0.95rem 1.15rem;
  color: rgba(203, 203, 203, 0.92);
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.6;
}

.lp-modules {
  display: grid;
  gap: 0.95rem;
}

.lp-module {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 26px rgba(0, 0, 0, 0.25);
  padding: 1.1rem 1rem;
  transform: translateY(12px);
  opacity: 0;
  filter: blur(1px);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
}

.lp-module.lp-in {
  transform: translateY(0);
  opacity: 1;
  filter: none;
}

.lp-stream {
  margin-top: 1.75rem;
  height: 72px;
  border: 1px solid rgba(0, 255, 136, 0.18);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  position: relative;
}

.lp-stream-inner {
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.lp-hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.2rem 0 1.25rem;
}

.lp-hud-card {
  background: rgba(0, 245, 255, 0.05);
  border: 1px solid rgba(0, 245, 255, 0.16);
  padding: 0.95rem 0.95rem 0.85rem;
  box-shadow: 0 0 22px rgba(0, 245, 255, 0.06);
}

.lp-hud-card--alt {
  background: rgba(0, 255, 136, 0.05);
  border-color: rgba(0, 255, 136, 0.16);
  box-shadow: 0 0 22px rgba(0, 255, 136, 0.06);
}

.lp-hud-card--warn {
  background: rgba(255, 0, 170, 0.05);
  border-color: rgba(255, 0, 170, 0.16);
  box-shadow: 0 0 22px rgba(255, 0, 170, 0.06);
}

.lp-hud-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: rgba(203, 203, 203, 0.82);
  margin-bottom: 0.45rem;
}

.lp-hud-value {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.92);
}

.lp-hud-card--kpi .lp-hud-value {
  font-size: 1.75rem;
}

.lp-hud-card--speed {
  background: rgba(255, 51, 85, 0.04);
  border-color: rgba(255, 51, 85, 0.18);
  box-shadow: 0 0 22px rgba(255, 51, 85, 0.06);
}

.lp-hud-card--conv {
  background: rgba(0, 245, 255, 0.05);
  border-color: rgba(0, 245, 255, 0.18);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.08);
}

.lp-unit {
  font-size: 0.9rem;
  color: rgba(203, 203, 203, 0.7);
  margin-left: 0.15rem;
}

.lp-chart {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  padding-bottom: 3.35rem;
  overflow: visible;
}

.lp-chart--bars4 {
  padding-bottom: 1rem;
}
/* Pokaż nagłówki/metryki zawsze, ale ukryj wizualne słupki dopóki nie będą animowane.
   Słupki będą ujawniane przy dodaniu klasy .lp-b4-in (robione w JS). */
.lp-bars4 .lp-bars4-bar {
  display: none;
}
.lp-bars4-col.lp-b4-in .lp-bars4-bar {
  display: flex;
}

.lp-chart-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 245, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 245, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  pointer-events: none;
}

.lp-analytics-wrap {
  margin-top: 0.6rem;
  background: rgba(5,8,12,0.45);
  border: 1px solid rgba(0,245,255,0.06);
  padding: 0.5rem;
  box-shadow: 0 0 22px rgba(0,0,0,0.24);
  overflow: visible;
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.lp-analytics-sidebar {
  width: 80px;
  flex: 0 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px;
}
.lp-analytics-sidebar-bar {
  width: 36px;
  height: 140px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(10,14,20,0.6);
  position: relative;
  overflow: hidden;
}
.lp-analytics-sidebar-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: linear-gradient(180deg, rgba(0,255,136,0.28), rgba(0,245,255,0.12));
  transition: height 900ms cubic-bezier(.2,.9,.1,1);
}
.lp-analytics-sidebar-meta { text-align: center; }
.lp-analytics-sidebar-label { font-family: var(--font-display); font-size: 0.75rem; color: rgba(203,203,203,0.72); }
.lp-analytics-sidebar-value { font-family: var(--font-display); font-size: 1.45rem; color: rgba(0,255,136,0.95); font-weight: 800; }
.lp-analytics-wrap canvas {
  flex: 1 1 calc(100% - 92px);
  min-width: 0;
  box-sizing: border-box;
  width: auto;
  max-width: calc(100% - 92px);
  height: 260px;
  max-height: 260px;
  display: block;
}

.lp-bars4 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.lp-bars4-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 150px;
}

.lp-bars4-top {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.85rem 0.85rem 0.75rem;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.25);
}

.lp-bars4-title {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.lp-bars4-metric {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 1.5rem;
  line-height: 1.1;
  color: rgba(0, 245, 255, 0.92);
}

.lp-bars4-metric--empty {
  opacity: 0.15;
}

.lp-bars4-impact {
  margin-top: 0.45rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: rgba(203, 203, 203, 0.78);
}

.lp-bars4-val {
  color: rgba(255, 255, 255, 0.92);
}

.lp-bars4-val--accent {
  color: rgba(0, 255, 136, 0.95);
  text-shadow: 0 0 18px rgba(0, 255, 136, 0.16);
}

.lp-bars4-bar {
  flex: 1 1 auto;
  border: 1px solid rgba(0, 245, 255, 0.12);
  background: rgba(10, 14, 26, 0.72);
  box-shadow: 0 0 22px rgba(0, 245, 255, 0.06);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  position: relative;
}

.lp-bars4 .lp-bars4-bar {
  display: none;
}

.lp-bars4-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.0) 0px, rgba(255,255,255,0.0) 3px, rgba(0,245,255,0.06) 4px);
  opacity: 0.35;
  pointer-events: none;
}

.lp-bars4-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, rgba(0,255,136,0.22) 0%, rgba(0,245,255,0.10) 55%, rgba(0,0,0,0.0) 100%);
  box-shadow: 0 -18px 32px rgba(0, 255, 136, 0.12);
  transition: height 820ms cubic-bezier(.2,.9,.1,1);
}

.lp-bars4-col--behavior .lp-bars4-fill {
  background: linear-gradient(180deg, rgba(0,255,136,0.28) 0%, rgba(0,245,255,0.14) 60%, rgba(0,0,0,0.0) 100%);
  box-shadow: 0 -22px 42px rgba(0, 245, 255, 0.16);
}

.lp-bars4-col--bounce .lp-bars4-fill {
  background: linear-gradient(180deg, rgba(255,0,170,0.18) 0%, rgba(0,245,255,0.08) 60%, rgba(0,0,0,0.0) 100%);
  box-shadow: 0 -18px 30px rgba(255, 0, 170, 0.10);
}

.lp-bars4-col--content .lp-bars4-fill {
  background: linear-gradient(180deg, rgba(139,92,246,0.18) 0%, rgba(0,245,255,0.08) 60%, rgba(0,0,0,0.0) 100%);
  box-shadow: 0 -18px 30px rgba(139, 92, 246, 0.10);
}

.lp-bars4-col--bounce .lp-bars4-metric {
  color: rgba(255, 0, 170, 0.88);
}

.lp-bars4-col--content .lp-bars4-metric {
  color: rgba(139, 92, 246, 0.92);
}

.lp-bars4-col--behavior .lp-bars4-metric {
  color: rgba(0, 255, 136, 0.92);
}

.lp-bars4-col.lp-b4-in .lp-bars4-top {
  border-color: rgba(0, 255, 136, 0.16);
}

.lp-bars4-col--speed.lp-b4-in .lp-bars4-top {
  box-shadow: 0 0 22px rgba(0, 245, 255, 0.08);
}

.lp-bars4-col--bounce.lp-b4-in .lp-bars4-top {
  box-shadow: 0 0 22px rgba(255, 0, 170, 0.06);
}

.lp-bars4-col--content.lp-b4-in .lp-bars4-top {
  box-shadow: 0 0 22px rgba(139, 92, 246, 0.06);
}

.lp-bars4-col--behavior.lp-b4-in .lp-bars4-top {
  box-shadow: 0 0 28px rgba(0, 255, 136, 0.10);
}

.lp-chart-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: end;
  min-height: 180px;
  z-index: 1;
}

.lp-bar {
  height: 0%;
  background: rgba(203, 203, 203, 0.18);
  border: 1px solid rgba(203, 203, 203, 0.18);
  position: relative;
  transition: height 900ms cubic-bezier(.2,.9,.1,1);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

.lp-bar--std {
  background: rgba(255, 51, 85, 0.10);
  border-color: rgba(255, 51, 85, 0.22);
  box-shadow: 0 0 18px rgba(255, 51, 85, 0.08);
}

.lp-bar--system {
  background: rgba(0, 255, 136, 0.18);
  border-color: rgba(0, 245, 255, 0.22);
  box-shadow: 0 0 26px rgba(0, 255, 136, 0.14);
}

.lp-bar-label {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: -2.55rem;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 18px rgba(0, 245, 255, 0.08);
  line-height: 1.2;
}

.lp-bar-sub {
  position: absolute;
  left: 0.25rem;
  right: 0.25rem;
  bottom: -1.25rem;
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.25;
  color: rgba(203, 203, 203, 0.78);
}

.lp-chart-bars.lp-bars-in .lp-bar--std {
  animation: lp-std-jitter 1500ms steps(2, end) infinite;
}

.lp-chart-bars.lp-bars-in .lp-bar--system {
  animation: lp-system-pulse 1050ms ease-in-out infinite;
}

@keyframes lp-std-jitter {
  0%, 100% { filter: none; transform: translateY(0); }
  50% { filter: contrast(1.05); transform: translateY(1px); }
}

@keyframes lp-system-pulse {
  0%, 100% { filter: saturate(1.08) contrast(1.05); box-shadow: 0 0 26px rgba(0, 255, 136, 0.18); }
  50% { filter: saturate(1.22) contrast(1.12); box-shadow: 0 0 38px rgba(0, 245, 255, 0.18); }
}

.lp-deploy-panel {
  border: 1px solid rgba(0, 255, 136, 0.22);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 36px rgba(0, 255, 136, 0.08);
  overflow: hidden;
}

.lp-deploy-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(0, 255, 136, 0.16);
  background: linear-gradient(90deg, rgba(0, 255, 136, 0.08), rgba(0, 245, 255, 0.05));
}

.lp-deploy-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.lp-deploy-dot--r { background: rgba(255, 0, 170, 0.7); }
.lp-deploy-dot--y { background: rgba(255, 197, 66, 0.7); }
.lp-deploy-dot--g { background: rgba(0, 255, 136, 0.7); }

.lp-deploy-title {
  margin-left: 0.5rem;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(203, 203, 203, 0.86);
}

.lp-form {
  padding: 1.1rem 1rem 1.2rem;
}

.lp-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lp-field {
  display: block;
  margin-bottom: 0.85rem;
}

.lp-label {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
  color: rgba(203, 203, 203, 0.75);
  margin-bottom: 0.35rem;
}

.lp-input {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 0.9rem;
  border-radius: 0;
  border: 1px solid rgba(0, 255, 136, 0.18);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.lp-input:focus {
  outline: 2px solid rgba(0, 255, 136, 0.25);
  outline-offset: 0;
}

.lp-legal {
  font-size: 0.88rem;
  color: rgba(203, 203, 203, 0.78);
  line-height: 1.5;
  margin: 0.5rem 0 1rem;
}

.lp-legal a {
  color: rgba(0, 245, 255, 0.9);
  text-decoration: none;
}

.lp-legal a:hover {
  text-decoration: underline;
}

.lp-submit {
  width: 100%;
  min-height: 64px;
  border-radius: 0;
  border: 1px solid rgba(0, 255, 136, 0.28);
  background: rgba(0, 255, 136, 0.14);
  color: rgba(0, 255, 136, 0.98);
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease, background 180ms ease;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.12);
}

.lp-submit:hover {
  border-color: rgba(0, 255, 136, 0.55);
  background: rgba(0, 255, 136, 0.22);
  box-shadow: 0 0 45px rgba(0, 255, 136, 0.28), 0 2px 12px rgba(0, 255, 136, 0.15);
  transform: translateY(-2px);
}

.lp-submit:focus-visible {
  outline: 2px solid rgba(0, 255, 136, 0.8);
  outline-offset: 2px;
}

.lp-submit:disabled,
.lp-submit--sending {
  cursor: wait;
  opacity: 0.92;
}

.lp-submit--sending {
  border-color: rgba(0, 245, 255, 0.4);
  box-shadow: 0 0 35px rgba(0, 245, 255, 0.2);
  animation: lp-submit-pulse 1.2s ease-in-out infinite;
}

@keyframes lp-submit-pulse {
  0%, 100% { box-shadow: 0 0 35px rgba(0, 245, 255, 0.2); }
  50% { box-shadow: 0 0 50px rgba(0, 245, 255, 0.35); }
}

.lp-form-msg {
  margin: 0.9rem 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0, 245, 255, 0.18);
  background: rgba(0, 245, 255, 0.06);
  color: rgba(203, 203, 203, 0.92);
  font-family: var(--font-body);
  line-height: 1.55;
}

.lp-micro {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: rgba(203, 203, 203, 0.78);
}

.lp-micro a {
  color: rgba(0, 245, 255, 0.9);
  text-decoration: none;
}

.lp-micro a:hover {
  text-decoration: underline;
}

.lp-faq {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.lp-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.95rem 0.95rem 0.9rem;
}

.lp-faq-q {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.45rem;
}

.lp-faq-a {
  font-family: var(--font-body);
  line-height: 1.7;
  color: rgba(203, 203, 203, 0.88);
}

/* Responsywność */
@media (max-width: 980px) {
  .lp-compile-grid {
    grid-template-columns: 1fr;
  }
  .lp-hud {
    grid-template-columns: 1fr;
  }
  .lp-bars4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-bars4-col {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  /* Sekcja (szablon-content) – jedyny padding: 35px lewo, 10px prawo; treść na całą szerokość */
  .lp-wrap .szablon-content {
    padding-left: 35px !important;
    padding-right: 10px !important;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
    box-sizing: border-box;
  }
  .lp-wrap .lp-hero.szablon-content {
    padding-top: 3.15rem;
    padding-bottom: 2rem;
  }
  .lp-section-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .lp-section-inner:first-child {
    padding-top: 0;
  }
  .lp-hero-content {
    padding-left: 35px !important;
    padding-right: 10px !important;
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
  }
  .lp-bars4 {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .lp-bars4-col {
    min-height: 130px;
  }
  /* Sekcja 3 (proof) – lewy 20px, prawy 15px (nadpisanie sekcji) */
  .lp-wrap .lp-section--proof.szablon-content {
    padding-left: 20px !important;
    padding-right: 15px !important;
    padding-bottom: 1.5rem !important;
  }
  /* Sekcja 3 (proof) – wyrównanie lewego startu tekstu do kolumn w .lp-chart (padding 1rem) */
  .lp-section--proof .lp-kicker,
  .lp-section--proof .lp-h2,
  .lp-section--proof .lp-body {
    padding-left: 1rem;
  }
  /* Wyraźny odstęp między słupkami KPI a blokiem Konwersje + wykres */
  .lp-section--proof .lp-analytics-wrap {
    margin-top: 2rem !important;
    padding-top: 1rem !important;
  }
  /* Nagłówki – łamanie długich słów */
  .lp-h1, .lp-h2, .lp-h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .lp-h1 {
    font-size: clamp(1.5rem, 5.5vw, 2.4rem);
    line-height: 1.12;
  }
  .lp-h2 {
    font-size: clamp(1.2rem, 4vw, 1.75rem);
  }
  /* Przyciski hero – pełna szerokość, jeden pod drugim */
  .lp-hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }
  .lp-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  /* Terminal i kod – przewijanie w poziomie */
  .lp-terminal, .lp-code {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .lp-terminal-line {
    word-break: break-word;
  }
  .lp-code code {
    word-break: break-word;
  }
  /* Sekcja 2 (compile) – brak overflow w prawo */
  .lp-compile-grid {
    min-width: 0;
    max-width: 100%;
  }
  .lp-codeframe {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .lp-code {
    max-width: 100%;
    box-sizing: border-box;
  }
  .lp-code code {
    white-space: pre-wrap;
  }
  .lp-modules,
  .lp-module {
    min-width: 0;
    max-width: 100%;
  }
  /* Sekcja proof – wykres i sidebar w kolumnie; wykres widoczny na telefonie */
  .lp-analytics-wrap {
    flex-wrap: wrap;
    min-width: 0;
    min-height: 320px;
    overflow: visible;
    gap: 1rem;
  }
  .lp-analytics-wrap canvas {
    min-width: 0;
    flex: 1 1 100%;
    max-width: 100%;
    min-height: 240px;
    height: 240px !important;
    width: 100% !important;
    display: block !important;
  }
  .lp-analytics-sidebar {
    flex: 0 0 auto;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 245, 255, 0.12);
  }
  .lp-analytics-sidebar-bar {
    height: 80px;
    width: 28px;
  }
  /* Formularz */
  .lp-deploy-panel, .lp-form {
    min-width: 0;
  }
  .lp-input, .lp-submit {
    box-sizing: border-box;
    min-width: 0;
  }
  .lp-submit {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    padding: 0.9rem 0.75rem;
    min-height: 56px;
  }
  /* FAQ */
  .lp-faq-q, .lp-faq-a {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .lp-faq-item {
    padding: 0.85rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .lp-section-inner {
    padding-left: 20px;
    padding-right: 15px;
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
  .lp-section--proof .lp-section-inner {
    padding-left: 16px;
    padding-right: 15px;
    padding-bottom: 1.25rem !important;
  }
  .lp-hero-content {
    padding-left: 20px;
    padding-right: 15px;
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
  }
  .lp-bars4 {
    gap: 0.45rem;
  }
  .lp-bars4-col {
    min-height: 115px;
  }
  .lp-h1 {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }
  .lp-h2 {
    font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  }
  .lp-lead {
    font-size: 0.95rem;
  }
  .lp-submit {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    min-height: 52px;
  }
  .lp-deploy-top {
    padding: 0.6rem 0.75rem;
  }
  .lp-deploy-title {
    font-size: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-wrap.lp-compiled .lp-break-overlay,
  .lp-wrap.lp-compiled .lp-crt::after,
  .lp-scrollhint-cursor {
    animation: none !important;
  }
  .lp-module {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
