/* ========================================
   SerwisWP Landing Page — Styles
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-800: #1e40af;
  --primary-900: #1e3a5f;
  --gray-50: #ffffff;              /* hybrid layout — wszystkie sekcje content na białym */
  --gray-100: #f4f6fb;             /* chłodniejszy odcień — używany do hover/sub-elements */
  --gray-200: #e6eaf2;             /* bordery z lekko niebieskim tintem */
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --emerald: #10b981;
  --emerald-50: #ecfdf5;
  --amber: #f59e0b;
  --amber-50: #fffbeb;
  --rose: #f43f5e;
  --rose-50: #fff1f2;
  --indigo: #6366f1;
  --indigo-50: #eef2ff;
  --purple: #8b5cf6;
  --purple-50: #f5f3ff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);

  /* === NOWE AKCENTY === */
  --accent: #06b6d4;              /* cyan-500 — "wow" akcent */
  --accent-soft: #67e8f9;         /* cyan-300 — glow + gradient-text */
  --violet: #7c3aed;              /* drugi akcent, mesh gradient + accent shadows */

  /* === TŁA SEKCJI (zwiększony kontrast vs gray-50) === */
  --bg-canvas: #ffffff;
  --bg-subtle: #f4f6fb;           /* alternujące light — chłodniejsze, widoczne odróżnienie */
  --bg-elevated: #fafbfd;         /* karty nad bg-subtle */

  /* === DARK — głębszy i chłodniejszy === */
  --bg-dark: #0a0e1a;
  --bg-dark-2: #0f1729;
  --bg-dark-elevated: #131a2e;

  /* === TEKST 3 poziomy === */
  --text-1: #0a0e1a;
  --text-2: #475569;              /* slate-600 — cieplejszy niż gray-600 */
  --text-3: #94a3b8;

  /* === BORDERY z chłodnym tintem === */
  --border-1: #e6eaf2;
  --border-2: #cdd5e3;

  /* === COLOURED SHADOWS === */
  --shadow-brand: 0 20px 60px -20px rgba(37,99,235,0.35);
  --shadow-glow-cyan: 0 0 80px -10px rgba(6,182,212,0.4);
  --shadow-card: 0 1px 3px rgba(15,23,42,0.04), 0 12px 32px -12px rgba(15,23,42,0.12);
  --shadow-card-hover: 0 1px 3px rgba(15,23,42,0.04), 0 20px 40px -16px rgba(37,99,235,0.18);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  /* Błękitna, półprzezroczysta belka na tle hero */
  background: rgba(29, 78, 216, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar.scrolled .nav-logo-img {
  filter: none;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-img {
  height: 66px;
  width: auto;
  /* Kolorowe logo z cieniem dla kontrastu na hero */
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  transition: filter 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  /* White on transparent navbar (hero background) */
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
  position: relative;
}

.navbar.scrolled .nav-link {
  color: var(--gray-600);
}

.nav-link:hover {
  color: #fff;
}

.navbar.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-cta {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 8px 20px;
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.nav-cta-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.7);
}

.nav-cta-secondary:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: #fff;
}

.navbar.scrolled .nav-cta-secondary {
  color: var(--primary);
  border-color: var(--primary);
}

.navbar.scrolled .nav-cta-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  /* White on transparent navbar (hero) */
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
  background: var(--gray-700);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

/* Grain overlay — subtelny noise dla ciemnych sekcji, "premium" feeling */
.hero::after,
.stats::after,
.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* Zapewniamy że treść jest nad grainem */
.hero-content,
.stats .container,
.footer .container {
  position: relative;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(37,99,235,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 30%, rgba(124,58,237,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(6,182,212,0.22) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: #3b82f6;
  top: -120px;
  right: -120px;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 420px;
  height: 420px;
  background: #7c3aed;
  bottom: -120px;
  left: -120px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 380px;
  height: 380px;
  background: #06b6d4;
  top: 45%;
  left: 50%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0 auto 24px;
  letter-spacing: -0.02em;
  max-width: 920px;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, #67e8f9 45%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(103,232,249,0.25));
}

.hero-subtitle {
  font-size: clamp(15px, 1.7vw, 17px);
  color: rgba(255,255,255,0.82);
  max-width: 820px;
  margin: 0 auto 20px;
  line-height: 1.7;
  text-align: left;
}

.hero-subtitle-secondary {
  color: rgba(255,255,255,0.68);
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: 36px;
}

.hero-subtitle-secondary strong {
  color: #fff;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

/* Hero CTA — premium glow z cyan accent (physical object with backlight) */
.hero .btn-primary,
.demo-section .btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 0 0 1px rgba(96,165,250,0.4),
    0 8px 24px -4px rgba(37,99,235,0.6),
    0 0 60px -10px rgba(6,182,212,0.35);
}

.hero .btn-primary:hover,
.demo-section .btn-primary:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.2) inset,
    0 0 0 1px rgba(96,165,250,0.6),
    0 12px 32px -4px rgba(37,99,235,0.7),
    0 0 80px -10px rgba(6,182,212,0.5);
}

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
}

/* Hero Screenshot (prawdziwy zrzut zamiast schematycznego mockup) */
.hero-screenshot {
  max-width: 1100px;
  margin: 56px auto 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.5),
    0 16px 40px -12px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.08);
  position: relative;
  transition: transform 0.4s ease;
}

.hero-screenshot:hover { transform: translateY(-4px); }

.hero-screenshot-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid var(--gray-200);
}

.hero-screenshot-url {
  font-size: 12px;
  color: var(--gray-500);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 14px;
  flex: 1;
  text-align: center;
  max-width: 380px;
  margin: 0 auto;
}

.hero-screenshot picture,
.hero-screenshot img,
.hero-screenshot video {
  display: block;
  width: 100%;
  height: auto;
}

.hero-screenshot-video { cursor: default; }
.hero-screenshot-video:hover { transform: none; }
.hero-screenshot-video video {
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-screenshot { margin-top: 40px; border-radius: 12px; }
}

/* Hero Mockup (legacy — niezależny od hero-screenshot) */
.hero-mockup {
  max-width: 900px;
  margin: 0 auto;
  perspective: 1000px;
}

.mockup-window {
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
}

.mockup-window:hover {
  transform: rotateX(0deg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #0d0d1a;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.mockup-content {
  display: flex;
  min-height: 340px;
}

.mockup-sidebar {
  width: 180px;
  background: #111128;
  padding: 16px 12px;
  border-right: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-menu-item {
  height: 32px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

.mockup-menu-item.active {
  background: rgba(37, 99, 235, 0.3);
  border-left: 3px solid #3b82f6;
}

.mockup-main {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-title-block {
  width: 200px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}

.mockup-action-btn {
  width: 100px;
  height: 32px;
  background: var(--primary);
  border-radius: 6px;
  opacity: 0.8;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mockup-stat-card {
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}

.stat-icon.blue { background: rgba(59, 130, 246, 0.2); }
.stat-icon.green { background: rgba(16, 185, 129, 0.2); }
.stat-icon.amber { background: rgba(245, 158, 11, 0.2); }
.stat-icon.red { background: rgba(244, 63, 94, 0.2); }

.stat-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-number {
  width: 50%;
  height: 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.stat-label {
  width: 80%;
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.mockup-table {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.mockup-table-header {
  height: 36px;
  background: rgba(255,255,255,0.06);
}

.mockup-table-row {
  height: 40px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.03);
}

.mockup-table-row:hover {
  background: rgba(59, 130, 246, 0.05);
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(6,182,212,0.08));
  border: 1px solid rgba(37,99,235,0.18);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  flex-shrink: 0;
}

.section-tag.light {
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(6,182,212,0.18));
  border-color: rgba(255,255,255,0.18);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header.light .section-title {
  color: #fff;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========================================
   Screenshots Gallery
   ======================================== */
.gallery {
  padding: 100px 0;
  background: #fff;
}

.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.gallery-tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-tab:hover {
  border-color: var(--primary-200);
  color: var(--primary);
}

.gallery-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.gallery-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.gallery-url {
  flex: 1;
  background: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  border: 1px solid var(--gray-200);
}

.gallery-img-wrap {
  background: var(--gray-50);
  line-height: 0;
  overflow: hidden;
}

#gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

#gallery-img.fading {
  opacity: 0;
}

/* ========================================
   Features Grid
   ======================================== */
.features {
  padding: 100px 0;
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-1);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: var(--shadow-card-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon.blue { background: var(--primary-50); color: var(--primary); }
.feature-icon.indigo { background: var(--indigo-50); color: var(--indigo); }
.feature-icon.emerald { background: var(--emerald-50); color: var(--emerald); }
.feature-icon.amber { background: var(--amber-50); color: var(--amber); }
.feature-icon.rose { background: var(--rose-50); color: var(--rose); }
.feature-icon.purple { background: var(--purple-50); color: var(--purple); }

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   Modules Section
   ======================================== */
.modules {
  padding: 100px 0;
}

.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}

.module-row:last-child {
  margin-bottom: 0;
}

.module-row.reverse {
  direction: rtl;
}

.module-row.reverse > * {
  direction: ltr;
}

.module-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-50);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.module-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 12px;
}

.module-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 24px;
}

.module-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.module-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
}

.module-features li svg {
  color: var(--emerald);
  flex-shrink: 0;
}

/* Module Visuals */
.module-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 460px;
}

/* Calendar Visual */
.visual-calendar {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.cal-header {
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 8px;
}

.cal-day {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  padding: 4px;
}

.cal-cell {
  text-align: center;
  font-size: 13px;
  padding: 8px 4px;
  border-radius: 6px;
  color: var(--gray-600);
}

.cal-cell.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.cal-cell.event {
  background: var(--primary-50);
  color: var(--primary);
  font-weight: 600;
}

.cal-events {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--gray-100);
}

.cal-event {
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.cal-event.blue {
  background: var(--primary-50);
  color: var(--primary-dark);
  border-left: 3px solid var(--primary);
}

.cal-event.green {
  background: var(--emerald-50);
  color: #065f46;
  border-left: 3px solid var(--emerald);
}

/* Contract Visual */
.contract-preview {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  padding: 24px;
}

.contract-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.contract-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #065f46;
  background: var(--emerald-50);
  padding: 3px 10px;
  border-radius: 4px;
}

.contract-number {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 500;
}

.contract-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.contract-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.contract-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 11px;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.detail-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
}

.contract-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  white-space: nowrap;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--gray-100);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  border-radius: 100px;
  transition: width 1s ease;
}

.progress-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Tickets Visual */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
}

.ticket-item:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-sm);
}

.ticket-priority {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

.ticket-priority.medium { background: var(--amber); }
.ticket-priority.low { background: var(--emerald); }

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-id {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 2px;
}

.ticket-subject {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticket-status.red { background: var(--rose-50); color: var(--rose); }
.ticket-status.amber { background: var(--amber-50); color: #92400e; }
.ticket-status.green { background: var(--emerald-50); color: #065f46; }

/* ========================================
   AI Visual (Module 4)
   ======================================== */
.ai-visual {
  padding: 0 !important;
  overflow: hidden;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.ai-avatar {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.ai-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-800);
}

.ai-status {
  margin-left: auto;
  font-size: 12px;
  color: var(--emerald);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.ai-status-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald);
  border-radius: 50%;
  display: inline-block;
  animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.ai-chat-messages {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-msg {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-width: 90%;
}

.ai-msg.user {
  background: var(--gray-100);
  color: var(--gray-600);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.ai-msg.assistant {
  background: var(--primary-50);
  color: var(--primary-800);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.ai-msg-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ai-action {
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.ai-chat-features {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-feature-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--primary-50);
  color: var(--primary);
  border: 1px solid var(--primary-100);
}

/* ========================================
   AI Differentiators — light layout
   ======================================== */
.differentiators {
  padding: 100px 0;
  background: var(--gray-50);
}

.diff-bg { display: none; }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.diff-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.diff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.diff-number {
  font-size: 52px;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.03em;
}

.diff-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-body {
  flex: 1;
  min-width: 0;
}

.diff-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 10px;
  line-height: 1.3;
}

.diff-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 16px;
}

.diff-desc strong {
  color: var(--gray-900);
  font-weight: 700;
}

.diff-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.diff-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--gray-700);
}

.diff-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.diff-list li {
  font-size: 13px;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}

.diff-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
}

/* section-tag.light + section-title light + section-desc.light
   na light backgroundach — wracają do ciemnego koloru */
.differentiators .section-tag.light,
.automation .section-tag.light,
.pricelists .section-tag.light {
  color: #2563eb;
  background: #eff6ff;
  border-color: #bfdbfe;
}

.differentiators .section-header.light .section-title,
.automation .section-header.light .section-title,
.pricelists .section-header.light .section-title {
  color: var(--gray-900);
}

.differentiators .section-desc.light,
.automation .section-desc.light,
.pricelists .section-desc.light {
  color: var(--gray-600);
}

/* Stary .section-desc.light na innych dark sekcjach (stats) */
.stats .section-desc.light {
  color: rgba(255,255,255,0.55);
}

/* ========================================
   Integrations
   ======================================== */
.integrations {
  padding: 100px 0;
  background: var(--gray-50);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.integration-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.integration-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.integration-logo {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.integration-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.integration-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   Stats Section
   ======================================== */
.stats {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1d4ed8 100%);
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.stat-number-big {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label-big {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.stat-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ========================================
   More Features
   ======================================== */
.more-features {
  padding: 100px 0;
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.more-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  background: #fff;
  transition: all 0.3s ease;
}

.more-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.more-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.more-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.more-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
  padding: 80px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
  border-color: var(--primary-200);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary-100);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  text-align: left;
  line-height: 1.5;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
  padding: 0 0 100px;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #3b82f6 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  overflow: hidden;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.cta-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  position: relative;
}

.cta-actions {
  position: relative;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.contact-section .section-header {
  text-align: center;
  margin-bottom: 48px;
}

.contact-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: 32px !important;
  max-width: 960px;
  margin: 0 auto;
}

.contact-form-card,
.contact-info-card {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 36px 32px !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #e5e7eb;
}

.contact-form-card h3,
.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111827;
}

.contact-form .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 24px;
}

.contact-form-note {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 12px;
}

.contact-success {
  text-align: center;
  padding: 48px 20px;
}

.contact-success svg {
  margin-bottom: 8px;
}

.contact-success h3 {
  color: #10b981;
  margin-top: 12px;
  font-size: 1.3rem;
}

.contact-success p {
  color: #6b7280;
  margin-top: 8px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
}

.contact-info-item svg {
  flex-shrink: 0;
  color: #2563eb;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
  font-size: 0.9rem;
  color: #4b5563;
}

.contact-info-item a:hover {
  color: #2563eb;
}

.contact-info-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 24px 0;
}

.contact-info-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr !important;
  }
  .contact-form-card,
  .contact-info-card {
    padding: 24px 20px !important;
  }
}

/* ========================================
   Login Modal
   ======================================== */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.login-modal-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
}

.login-modal-card h3 {
  font-size: 1.3rem;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.login-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}

.login-modal-close:hover {
  color: var(--gray-700);
}

.login-modal-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--gray-200);
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 12px;
}

.login-modal-btn strong {
  display: block;
  font-size: 1rem;
  color: var(--gray-900);
}

.login-modal-btn span {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.login-modal-btn svg {
  flex-shrink: 0;
}

.login-modal-btn-primary {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.04);
}

.login-modal-btn-primary svg {
  color: var(--primary);
}

.login-modal-btn-primary:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #1d4ed8;
  transform: translateY(-1px);
}

.login-modal-btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateY(-1px);
}

.login-modal-btn-secondary svg {
  color: var(--gray-500);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   Footer
   ======================================== */
.footer {
  padding: 48px 0 24px;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin-bottom: 12px;
  /* Oryginalne kolory logo z drop-shadow dla czytelności na ciemnym tle.
     Wcześniej 44px było zbyt małe — napisy "SERWIS WP" nieczytelne. */
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.5));
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray-500);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  font-size: 13px;
  color: var(--gray-400);
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray-500);
}

/* ========================================
   Animations
   ======================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animations in grids */
.features-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.features-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.features-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.features-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.features-grid [data-animate]:nth-child(6) { transition-delay: 0.5s; }

.integrations-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.integrations-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.integrations-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.integrations-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.integrations-grid [data-animate]:nth-child(6) { transition-delay: 0.5s; }

.more-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.more-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.more-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.more-grid [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.more-grid [data-animate]:nth-child(6) { transition-delay: 0.5s; }
.more-grid [data-animate]:nth-child(7) { transition-delay: 0.6s; }
.more-grid [data-animate]:nth-child(8) { transition-delay: 0.7s; }

.stats-grid [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.stats-grid [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.stats-grid [data-animate]:nth-child(4) { transition-delay: 0.3s; }

.diff-grid [data-animate]:nth-child(2) { transition-delay: 0.15s; }
.diff-grid [data-animate]:nth-child(3) { transition-delay: 0.3s; }
.diff-grid [data-animate]:nth-child(4) { transition-delay: 0.45s; }

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .module-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .module-row.reverse {
    direction: ltr;
  }

  .integrations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .more-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-mockup {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .integrations-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .more-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 40px 24px;
  }

  .footer-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 40px;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contract-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    justify-content: center;
  }

  .stat-number-big {
    font-size: 36px;
  }

  .visual-card {
    padding: 20px;
  }

  .diff-card {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .diff-number {
    font-size: 42px;
  }
}

/* ============================================
   DEMO REGISTRATION SECTION
   ============================================ */

.demo-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.demo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--gray-200);
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-dot.green {
  background: #16a34a;
}

.demo-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.demo-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 28px;
}

.demo-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}

.demo-form-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.demo-form {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.demo-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 20px;
}

.demo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}

.demo-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.demo-form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.demo-form-group input {
  padding: 10px 14px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--gray-900);
  background: #ffffff;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
}

.demo-form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.demo-form-group input.input-error {
  border-color: #ef4444;
}

.demo-form-message {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}

.demo-form-message.success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.demo-form-message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.demo-btn-submit {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.demo-form-consent {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin: 0;
}

@keyframes demo-spin {
  to { transform: rotate(360deg); }
}

.demo-spinner {
  animation: demo-spin 0.8s linear infinite;
}

.demo-success-state {
  text-align: center;
  padding: 16px 0;
}

.demo-success-state .success-icon {
  width: 56px;
  height: 56px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  margin: 0 auto 16px;
}

.demo-success-state h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 10px;
}

.demo-success-state p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.demo-option-btn {
  display: block;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.demo-option-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.demo-option-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.demo-option-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.demo-option-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.demo-option-danger {
  background: transparent;
  color: #ef4444;
  border-color: #ef4444;
  font-family: inherit;
}

.demo-option-danger:hover {
  background: #ef4444;
  color: #fff;
}

.demo-option-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .demo-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 28px;
  }
}

@media (max-width: 480px) {
  .demo-form-row {
    grid-template-columns: 1fr;
  }

  .demo-section {
    padding: 52px 0;
  }
}

/* ========================================
   Hero metrics (4 liczby pod CTA — w stylu Conductis)
   ======================================== */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 56px auto 0;
  padding: 28px 24px;
  background: rgba(15,23,42,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  max-width: 980px;
}

.hero-metric {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.hero-metric:last-child {
  border-right: none;
}

.hero-metric-num {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 12px rgba(59,130,246,0.35);
}

.hero-metric-suffix {
  font-size: 0.7em;
  margin-left: 2px;
  color: #93c5fd;
}

.hero-metric-label {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .hero-metrics {
    grid-template-columns: 1fr 1fr;
    padding: 20px 0;
  }
}

/* ========================================
   For-Whom — sektor publiczny + alarmy + elastyczność
   ======================================== */
.for-whom {
  padding: 100px 0;
  background: #fff;
}

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.forwhom-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.forwhom-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.forwhom-card.highlight {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%);
  border-color: #bfdbfe;
}

.forwhom-card.highlight::before {
  content: 'Główny scenariusz';
  position: absolute;
  top: -10px;
  right: 24px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.forwhom-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.forwhom-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  width: max-content;
}

.forwhom-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.forwhom-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
}

.forwhom-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  margin-top: auto;
}

.forwhom-list li {
  font-size: 13px;
  color: var(--gray-700);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.forwhom-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .for-whom-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ========================================
   Security section — 3 pillars layout
   ======================================== */
.security {
  padding: 100px 0;
  background: var(--gray-50);
}

.security-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.security-pillar {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.security-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.security-pillar-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 2px solid #eff6ff;
}

.security-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #1e40af 0%, #6366f1 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-pillar-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.3;
}

.security-pillar-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.security-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.security-item strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.4;
}

.security-item span {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .security-pillars { grid-template-columns: 1fr; gap: 20px; }
  .security-pillar { padding: 28px 24px; }
}

/* ========================================
   AI capability card (zamiast fake chat mockup)
   ======================================== */
.ai-capability-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.18);
}

.ai-capability-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 20px;
}

.ai-capability-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-capability-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
}

.ai-capability-subtitle {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.ai-capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-capability-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-100);
}

.ai-capability-list li:last-child {
  border-bottom: none;
}

.ai-cap-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-capability-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.6;
  font-style: italic;
}

/* ========================================
   Automation / SLA — light layout (consistent with rest)
   ======================================== */
.automation {
  padding: 100px 0;
  background: #fff;
}

.automation-bg { display: none; }

.automation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.automation-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
}

.automation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.automation-num {
  font-size: 32px;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.automation-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.3;
}

.automation-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .automation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .automation-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Made by Condactis section
   ======================================== */
.madeby {
  padding: 80px 0;
  background: #fff;
}

.madeby-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e40af 100%);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.madeby-card::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.25) 0%, transparent 70%);
  top: -300px;
  right: -200px;
  pointer-events: none;
}

.madeby-text {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.madeby-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
  background: rgba(147,197,253,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.madeby-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.madeby-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
}

.madeby-desc strong {
  color: #fff;
  font-weight: 700;
}

.madeby-points {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 40px;
  margin-bottom: 32px;
}

.madeby-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.madeby-point-num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.madeby-point-label {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.madeby-card .btn-ghost {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.madeby-card .btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .madeby-card { padding: 40px 28px; }
  .madeby-points { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ========================================
   Footer additions
   ======================================== */
.footer-madeby {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
}

.footer-madeby a {
  color: var(--gray-700);
  font-weight: 600;
  text-decoration: none;
}

.footer-madeby a:hover {
  color: #2563eb;
}

.footer-col-publisher .footer-publisher-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.footer-col-publisher .footer-publisher-line {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.55;
  margin: 6px 0;
}

.footer-col-publisher .footer-publisher-line a {
  color: var(--gray-300);
  text-decoration: none;
}

.footer-col-publisher .footer-publisher-line a:hover {
  color: #fff;
}

.footer-col-publisher .footer-publisher-line strong {
  color: rgba(255,255,255,0.92);
}

/* ========================================
   Visual screenshot (zamiast fake mockup) — używane w module-row i procedures
   ======================================== */
.visual-screenshot {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.25), 0 8px 24px -8px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.visual-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 72px -22px rgba(15, 23, 42, 0.32), 0 12px 32px -10px rgba(15, 23, 42, 0.15);
}

.vs-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  border-bottom: 1px solid var(--gray-200);
}

.vs-url {
  font-size: 12px;
  color: var(--gray-500);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 3px 12px;
  flex: 1;
  text-align: center;
  max-width: 340px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.visual-screenshot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   Procedury — split layout (tekst lewo, screenshoty prawo)
   ======================================== */
.procedures {
  padding: 100px 0;
  background: #fff;
}

.procedures-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: start;
}

.procedures-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.procedure-feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.procedure-feature:last-child {
  border-bottom: none;
}

.procedure-feature-num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.procedure-feature h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.procedure-feature p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

.procedures-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 100px;
}

.visual-screenshot-secondary {
  margin-left: 40px;
  transform: scale(0.96);
  opacity: 0.95;
}

@media (max-width: 1024px) {
  .procedures-layout { grid-template-columns: 1fr; gap: 40px; }
  .procedures-visual { position: static; }
  .visual-screenshot-secondary { margin-left: 0; transform: none; }
}

/* ========================================
   Cenniki dostawców — light section z dark accent boxem
   ======================================== */
.pricelists {
  padding: 100px 0;
  background: var(--gray-50);
}

.pricelists-bg { display: none; }

.pricelists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pricelist-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}

.pricelist-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pricelist-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pricelist-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.pricelist-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* Dark accent box dla listy producentów — JEDYNY akcent w sekcji */
.pricelists-suppliers {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pricelists-suppliers::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 60%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.pricelists-suppliers-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
  position: relative;
  z-index: 1;
}

.pricelists-suppliers-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.pricelists-suppliers-list span {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #e0e7ff;
  font-weight: 600;
  font-size: 13px;
  border-radius: 100px;
  transition: all 0.2s;
}

.pricelists-suppliers-list span:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.pricelists-suppliers-note {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .pricelists-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .pricelists-grid { grid-template-columns: 1fr; }
  .pricelists-suppliers { padding: 28px 20px; }
}

/* ============================================================================
   DARK THEME GLOBAL OVERRIDE
   Całość strony w ciemnogranatowym tle jak hero — eliminuje light sekcje.
   Logo footer już jest w wersji white, navbar i hero zostają bez zmian.
   Cały override w jednym bloku — łatwo zdjąć przez usunięcie tej sekcji.
   ============================================================================ */

body {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.85);
}

/* Wszystkie sekcje content (z białym tłem) → granat */
.gallery,
.for-whom,
.features,
.modules,
.differentiators,
.procedures,
.security,
.automation,
.pricelists,
.integrations,
.more-features,
.demo-section,
.faq,
.madeby,
.contact-section {
  background: var(--bg-dark);
}

/* Subtelny gradient akcent dla wybranych sekcji żeby unikać monotonii */
.differentiators,
.security,
.pricelists {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(37,99,235,0.08) 0%, transparent 60%),
    var(--bg-dark);
}

/* Section headers */
.section-title {
  color: #ffffff;
}

.section-desc {
  color: rgba(255, 255, 255, 0.68);
}

.section-tag {
  color: #c7d2fe;
  background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(6,182,212,0.18));
  border-color: rgba(96,165,250,0.3);
}

/* Cards — glass morphism (półprzezroczyste na ciemnym tle) */
.feature-card,
.forwhom-card,
.diff-card,
.automation-card,
.pricelist-card,
.security-pillar,
.integration-card,
.more-card,
.ai-capability-card,
.contract-visual,
.maintenance-visual,
.tickets-visual,
.ai-visual,
.visual-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
  backdrop-filter: blur(4px);
}

.feature-card:hover,
.forwhom-card:hover,
.diff-card:hover,
.automation-card:hover,
.pricelist-card:hover,
.security-pillar:hover,
.integration-card:hover,
.more-card:hover,
.ai-capability-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.25);
  box-shadow:
    0 1px 2px rgba(0,0,0,0.3),
    0 20px 40px -16px rgba(37, 99, 235, 0.35);
}

/* Highlight card (Sektor publiczny) — mocniejszy akcent */
.forwhom-card.highlight {
  background:
    linear-gradient(135deg, rgba(37,99,235,0.15) 0%, rgba(99,102,241,0.08) 100%),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(96, 165, 250, 0.3);
}

/* Card titles + body */
.feature-title,
.forwhom-title,
.diff-title,
.automation-card h3,
.pricelist-card h4,
.security-pillar-title,
.integration-card h4,
.more-card h4,
.ai-capability-title {
  color: #ffffff;
}

.feature-desc,
.forwhom-desc,
.diff-desc,
.automation-card p,
.pricelist-card p,
.integration-card p,
.more-card p,
.security-item span {
  color: rgba(255, 255, 255, 0.68);
}

.forwhom-list li,
.diff-list li,
.security-item strong {
  color: rgba(255, 255, 255, 0.85);
}

.diff-desc strong,
.feature-card strong {
  color: #ffffff;
}

/* Forwhom-card badge (małe pill napis kategorii) */
.forwhom-badge {
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

/* Procedury — kroki numerowane */
.procedure-feature {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.procedure-feature h4 {
  color: #ffffff;
}

.procedure-feature p {
  color: rgba(255, 255, 255, 0.68);
}

/* Cenniki — accent box dla 12 producentów (już dark, drobne dopasowanie) */
.pricelists-suppliers {
  background:
    linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(6,182,212,0.08) 100%),
    rgba(255, 255, 255, 0.04);
  border-color: rgba(96, 165, 250, 0.3);
}

/* AI capability list — separator dashed */
.ai-capability-list li {
  color: rgba(255, 255, 255, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.ai-cap-num {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
}

.ai-capability-note {
  color: rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.ai-capability-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ai-capability-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

/* Security pillars */
.security-pillar-head {
  border-bottom-color: rgba(96, 165, 250, 0.2);
}

/* Gallery — pasek przeglądarki nad screenshotem zostaje light (bo to UI mockup
   przeglądarki, tylko sam zrzut to UI aplikacji) */
.gallery-tab {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-tab:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.gallery-tab.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* FAQ */
.faq-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(96, 165, 250, 0.25);
}

.faq-question {
  color: #ffffff;
}

.faq-question:hover {
  background: transparent;
  color: #67e8f9;
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.7);
}

.faq-answer p strong {
  color: #ffffff;
}

.faq-answer p a {
  color: #67e8f9;
}

/* Madeby card — granat już ciemny, drobne dopasowanie do nowego stylu */
.madeby-card {
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(124,58,237,0.18) 0%, transparent 60%),
    linear-gradient(135deg, rgba(37,99,235,0.12) 0%, rgba(15,23,42,0.4) 100%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.3);
}

/* Demo section */
.demo-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-content h2,
.demo-title {
  color: #ffffff;
}

.demo-desc,
.demo-features-list li {
  color: rgba(255, 255, 255, 0.75);
}

.demo-form-title {
  color: #ffffff;
}

.demo-form label {
  color: rgba(255, 255, 255, 0.85);
}

.demo-form input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.demo-form input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #67e8f9;
  outline: none;
}

.demo-form input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Contact section */
.contact-section h2,
.contact-section h3,
.contact-form-card h3,
.contact-info-card h3,
.contact-info-card h4 {
  color: #ffffff;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-form-card,
.contact-info-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #67e8f9;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-info-item strong {
  color: #ffffff;
}

.contact-info-item span,
.contact-info-item a {
  color: rgba(255, 255, 255, 0.7);
}

.contact-info-item a:hover {
  color: #67e8f9;
}

.contact-info-divider {
  background: rgba(255, 255, 255, 0.1);
}

/* Navbar scrolled → ciemny zamiast białego (bo strona jest ciemna teraz) */
.navbar.scrolled {
  background: rgba(15, 23, 42, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.navbar.scrolled .nav-link:hover {
  color: #ffffff;
}

.navbar.scrolled .nav-cta {
  background: var(--primary);
  color: #ffffff;
}

.navbar.scrolled .nav-cta-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar scrolled — logo zostaje kolorowe (działa na ciemnym też) */
.navbar.scrolled .nav-logo-img {
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

/* Stats — była ciemna sekcja, teraz wszystko ciemne. Zachowaj nieco mocniejszy
   gradient żeby się wyróżniała */
.stats-bg {
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(37,99,235,0.2) 0%, transparent 60%),
    linear-gradient(135deg, #0f1729 0%, #131a2e 100%);
}

/* Wzmocnienie cienia w hero CTA na ciemnym tle całej strony — żeby się wyróżniał */
.demo-section .btn-primary {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 0 0 1px rgba(96,165,250,0.4),
    0 8px 24px -4px rgba(37,99,235,0.6),
    0 0 60px -10px rgba(6,182,212,0.35);
}

/* Visual screenshots — ramka okna przeglądarki zostaje light (UI mockup),
   tylko cień mocniejszy żeby się wyróżniał na ciemnym tle */
.visual-screenshot,
.hero-screenshot {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 24px 60px -20px rgba(0, 0, 0, 0.6),
    0 8px 24px -8px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Gallery frame */
.gallery-frame {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* === DARK THEME — DODATKOWE NAPRAWY (iteracja 2) === */

/* Module-title (Konserwacje, Umowy serwisowe, Zgłoszenia, AI) — były ciemne na ciemnym */
.module-title {
  color: #ffffff;
}

.module-desc {
  color: rgba(255, 255, 255, 0.78);
}

.module-badge {
  background: rgba(37, 99, 235, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.module-features li {
  color: rgba(255, 255, 255, 0.82);
}

.module-features li svg {
  color: #10b981;
}

/* Demo form — białe tło i jasne inputy (z var(--gray-50) który teraz = #fff)
   trzeba zoverridować na ciemne */
.demo-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-form-title {
  color: #ffffff;
}

.demo-form-group label {
  color: rgba(255, 255, 255, 0.85);
}

.demo-form-group input {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.demo-form-group input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #67e8f9;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.15);
}

.demo-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.demo-form-group label span {
  color: rgba(255, 255, 255, 0.5) !important;
}

.demo-form-consent {
  color: rgba(255, 255, 255, 0.55);
}

/* Contact form-card i info-card — oryginał ma background: #fff !important
   trzeba użyć !important żeby pobić */
.contact-form-card,
.contact-info-card {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}

.contact-form-card h3,
.contact-info-card h3,
.contact-info-card h4 {
  color: #ffffff;
}

.contact-form label {
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #67e8f9;
  box-shadow: 0 0 0 3px rgba(103, 232, 249, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form-note {
  color: rgba(255, 255, 255, 0.45);
}

.contact-info-item {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.contact-info-item strong {
  color: #ffffff;
}

.contact-info-item a,
.contact-info-item span {
  color: rgba(255, 255, 255, 0.78);
}

.contact-info-item a:hover {
  color: #67e8f9;
}

.contact-info-item svg {
  color: #67e8f9;
}

.contact-info-divider {
  background: rgba(255, 255, 255, 0.1);
}

.contact-success p {
  color: rgba(255, 255, 255, 0.7);
}

/* Logo nav — biała wersja działa na ciemnym tle */
.nav-logo-img,
.navbar.scrolled .nav-logo-img {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

/* Wzmocnienie kontrastu opisów (poprzednie 0.68 było zbyt słabe) */
.feature-desc,
.forwhom-desc,
.diff-desc,
.automation-card p,
.pricelist-card p,
.integration-card p,
.more-card p,
.procedure-feature p,
.section-desc,
.security-item span,
.ai-capability-list li {
  color: rgba(255, 255, 255, 0.78);
}

.faq-answer p {
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================================================
   v1.1 — nowe sekcje: Problem, Jak działa, Protokoły, Final CTA + Hero tweaks
   ============================================================================ */

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  margin: 8px auto 28px;
  padding: 6px 4px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s;
}
.hero-link:hover { color: #67e8f9; border-bottom-color: rgba(103,232,249,0.4); }

.hero-points {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 56px;
  max-width: 900px;
}
.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
@media (max-width: 720px) { .hero-points { flex-direction: column; gap: 12px; } }

/* Sekcja "Problem" */
.problem { padding: 100px 0; background: var(--bg-dark); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.problem-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(96,165,250,0.25); transform: translateY(-4px); }
.problem-card-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(244,63,94,0.12));
  border: 1px solid rgba(245,158,11,0.25);
  color: #fbbf24;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.problem-card h3 { font-size: 18px; font-weight: 700; color: #ffffff; line-height: 1.3; margin: 0 0 12px; }
.problem-card p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.65; margin: 0; }
@media (max-width: 1024px) { .problem-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Sekcja "Jak działa" — 7 kroków */
.how-it-works { padding: 100px 0; background: var(--bg-dark); }
.process-steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.process-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s ease;
}
.process-step:hover { background: rgba(255,255,255,0.06); border-color: rgba(96,165,250,0.25); transform: translateY(-3px); }
.process-step-num {
  font-size: 12px; font-weight: 700; color: #67e8f9;
  background: rgba(6,182,212,0.12);
  border: 1px solid rgba(6,182,212,0.25);
  padding: 4px 10px; border-radius: 100px;
  display: inline-block; margin-bottom: 14px; letter-spacing: 0.06em;
}
.process-step-body h3 { font-size: 17px; font-weight: 700; color: #ffffff; margin: 0 0 8px; line-height: 1.25; }
.process-step-body p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0; }
@media (max-width: 1024px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .process-steps { grid-template-columns: 1fr; } }

/* AI security-line w module AI */
.ai-security-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(96,165,250,0.08);
  border: 1px solid rgba(96,165,250,0.2);
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}
.ai-security-line svg { color: #67e8f9; flex-shrink: 0; margin-top: 2px; }
.ai-security-line strong { color: #ffffff; }

/* Sekcja "Protokoły i dokumentacja" */
.documentation { padding: 100px 0; background: var(--bg-dark); }
.documentation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.documentation-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all 0.3s ease;
}
.documentation-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(96,165,250,0.25); transform: translateY(-4px); }
.documentation-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.documentation-card h3 { font-size: 16px; font-weight: 700; color: #ffffff; margin: 0 0 10px; line-height: 1.3; }
.documentation-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0; }
@media (max-width: 1024px) { .documentation-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .documentation-grid { grid-template-columns: 1fr; } }

/* Final CTA przed Contact */
.final-cta { padding: 60px 0 40px; background: var(--bg-dark); }
.final-cta-card {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(37,99,235,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 80% 100%, rgba(124,58,237,0.15) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(96,165,250,0.25);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
}
.final-cta-title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #ffffff; line-height: 1.2; margin: 0 0 16px; letter-spacing: -0.02em; }
.final-cta-desc { font-size: 15px; color: rgba(255,255,255,0.78); line-height: 1.65; max-width: 740px; margin: 0 auto 32px; }
.final-cta-desc strong { color: #ffffff; }
.final-cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.final-cta-link {
  display: inline-block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 2px;
  transition: all 0.2s;
}
.final-cta-link:hover { color: #67e8f9; border-bottom-color: rgba(103,232,249,0.5); }
@media (max-width: 720px) { .final-cta-card { padding: 36px 24px; } }

/* === END v1.1 dodatki === */

/* ============================================================================
   LIGHTBOX — powiększenie screenshotów po kliknięciu
   ============================================================================ */

/* Cursor "zoom-in" na wszystkich klikalnych screenshotach */
.hero-screenshot img,
.gallery-img-wrap img,
.visual-screenshot img {
  cursor: zoom-in;
  transition: filter 0.2s ease;
}

.hero-screenshot img:hover,
.gallery-img-wrap img:hover,
.visual-screenshot img:hover {
  filter: brightness(1.05);
}

/* Sam modal — niewidoczny domyślnie */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 9, 18, 0.92);
  backdrop-filter: blur(8px);
  padding: 40px 20px;
  cursor: zoom-out;
  animation: lightboxFadeIn 0.2s ease;
}

.lightbox.active {
  display: flex;
}

/* Lock scrolla strony w tle gdy lightbox jest otwarty */
body.lightbox-open {
  overflow: hidden;
}

/* === Contact form — komunikat błędu === */
.contact-error {
  display: block;
  margin: 12px 0;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 14px;
  line-height: 1.55;
}

.contact-error[hidden] {
  display: none;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sam obrazek */
.lightbox-img {
  max-width: min(100%, 1800px);
  max-height: calc(100vh - 100px);
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: default;
  display: block;
}

/* Caption pod obrazem */
.lightbox-caption {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 90%;
  text-align: center;
}

/* Przycisk Zamknij — prawy górny róg */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Link "Otwórz w nowej karcie" — prawy górny róg pod close */
.lightbox-open-tab {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(96, 165, 250, 0.4);
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lightbox-open-tab:hover {
  background: rgba(37, 99, 235, 0.4);
  border-color: rgba(96, 165, 250, 0.6);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .lightbox { padding: 20px 10px; }
  .lightbox-img { max-height: calc(100vh - 140px); }
  .lightbox-caption { font-size: 12px; padding: 6px 12px; bottom: 16px; }
  .lightbox-close { top: 12px; right: 12px; }
  .lightbox-open-tab { top: 12px; left: 12px; font-size: 12px; padding: 8px 12px; }
  .lightbox-open-tab span { display: none; }
}

/* === END DARK THEME OVERRIDE === */

/* ============================================================
   PASEK ZAPOWIEDZI (coming soon) + NEWSLETTER / LISTA CHĘTNYCH
   ============================================================ */

/* --- Pasek zapowiedzi nad nawigacją --- */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  min-height: 56px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #1d4ed8 0%, #4f46e5 45%, #0ea5e9 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.announce-bar[hidden] { display: none; }

.announce-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.announce-text {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-text strong { font-weight: 800; letter-spacing: 0.2px; }
.announce-sub { opacity: 0.96; font-weight: 500; }

/* Etykieta stała przy kropce */
.announce-label {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fde047;
  white-space: nowrap;
}

/* Ruchomy ticker (marquee) z treściami newslettera */
.announce-ticker {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
          mask: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
}
.announce-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: announceScroll 38s linear infinite;
}
.announce-ticker:hover .announce-track,
.announce-track:focus-within { animation-play-state: paused; }
.announce-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  padding: 0 26px;
}
.announce-item strong { font-weight: 800; }
.announce-sep {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
@keyframes announceScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .announce-track { animation: none; white-space: normal; }
}

.announce-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fde047;
  box-shadow: 0 0 0 5px rgba(253, 224, 71, 0.28);
  flex-shrink: 0;
  animation: announcePulse 2s ease-in-out infinite;
}
@keyframes announcePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.announce-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.announce-cta {
  background: #ffffff;
  border: none;
  color: #1d4ed8;
  padding: 9px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}
.announce-cta:hover { transform: translateY(-1px); box-shadow: 0 5px 16px rgba(0, 0, 0, 0.25); }

/* Przesunięcie nawigacji i hero, gdy pasek jest widoczny */
body.has-announce .navbar { top: 56px; }
body.has-announce .hero { padding-top: 176px; }

/* --- Sekcja newslettera / rejestr chętnych --- */
.newsletter-section {
  padding: 80px 0;
  background: var(--bg-dark);
}
.newsletter-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-info {
  background: linear-gradient(135deg, #1d4ed8 0%, #6366f1 100%);
  color: #fff;
  padding: 48px 40px;
}
.newsletter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.newsletter-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fde047;
  animation: announcePulse 2s ease-in-out infinite;
}
.newsletter-info h2 {
  font-size: 1.75rem;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 14px;
  color: #fff;
}
.newsletter-info > p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  margin: 0 0 24px;
}
.newsletter-points { list-style: none; margin: 0; padding: 0; }
.newsletter-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9375rem;
  padding: 7px 0;
}
.newsletter-points svg { flex-shrink: 0; margin-top: 2px; }

.newsletter-form-wrap {
  background: #ffffff;
  padding: 44px 38px;
}
.newsletter-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 22px;
}
.newsletter-group { margin-bottom: 16px; }
.newsletter-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}
.nl-optional { font-weight: 400; color: #9ca3af; }
.newsletter-form input[type="text"],
.newsletter-form input[type="email"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1.5px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #111827;
  background: #f9fafb;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-form input::placeholder { color: #9ca3af; }
.newsletter-form input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  background: #ffffff;
}
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  cursor: pointer;
}
.newsletter-consent input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #2563eb;
  cursor: pointer;
}
.newsletter-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
.newsletter-submit {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 24px;
}
.newsletter-note {
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 12px;
}
.newsletter-success {
  text-align: center;
  padding: 40px 20px;
}
.newsletter-success h3 { color: #10b981; margin-top: 12px; font-size: 1.3rem; }
.newsletter-success p { color: #6b7280; margin-top: 8px; line-height: 1.6; }

/* --- Responsywność --- */
@media (max-width: 860px) {
  .newsletter-card { grid-template-columns: 1fr; max-width: 520px; }
  .newsletter-info { padding: 36px 30px; }
  .newsletter-form-wrap { padding: 36px 30px; }
}
@media (max-width: 640px) {
  .announce-bar { min-height: 56px; padding: 6px 0; }
  .announce-label { display: none; }
  .announce-item { font-size: 0.85rem; padding: 0 18px; }
  .announce-cta { padding: 8px 16px; }
  body.has-announce .navbar { top: 56px; }
  body.has-announce .hero { padding-top: 176px; }
}

