/* =============================================
   CSS Variables & Design System
   ============================================= */
:root {
  /* --- Kolory --- */
  --bg-main: #f5f5f7;
  --bg-window: #ffffff;
  --bg-subtle: #f8fafc;       /* tło kart, sekcji alternatywnych */
  --bg-dark: #050505;

  --text-main: #111111;
  --text-soft: #6b7280;
  --text-muted: #4b5563;      /* dodatkowy poziom szarości */

  --accent-neon: #00ff41;
  --accent-cyan: #00e0ff;
  --accent-magenta: #ff2fa8;
  --accent-blue: #111827;     /* kolor marki — primary */

  --border-soft: #e5e7eb;
  --error: #f43f5e;
  --success: #00ff41;

  /* --- Typografia --- */
  --font-main: "Space Grotesk", system-ui, -apple-system, sans-serif;

  /* --- Spacing (skala 8px) --- */
  --space-xs:  0.5rem;   /* 8px  */
  --space-sm:  1rem;     /* 16px */
  --space-md:  1.5rem;   /* 24px */
  --space-lg:  2rem;     /* 32px */
  --space-xl:  3rem;     /* 48px */
  --space-xxl: 4rem;     /* 64px */

  /* --- Border radius --- */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-pill: 999px;

  /* --- Shadows --- */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.45);
  --shadow-lg: 0 14px 30px rgba(15, 23, 42, 0.6);

  /* --- Transitions --- */
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;

  /* --- Terminal (formularz kontaktowy) --- */
  --terminal-bg: #020502;
  --terminal-bg-soft: #050b05;
  --terminal-green: #7bff3b;
  --terminal-green-soft: #b6ff7a;
}

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

html {
  overflow-x: hidden;
}

/* =============================================
   Accessibility & Focus
   ============================================= */

/* Globalny focus-visible — klawiatura i screen readery */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Ukryj outline przy kliknięciu myszą (tylko klawiatura) */
:focus:not(:focus-visible) {
  outline: none;
}

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

.ml-hidden-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* =============================================
   Body & Typography
   ============================================= */
body {
  padding-top: 5rem; /* Dodano padding, aby uniknąć zakrywania treści przez stały header */

  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, var(--bg-subtle) 0, #f5f5f7 40%, var(--border-soft) 100%);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
}

body.cta-neon {
  --cta-color: var(--accent-neon);
}


img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

p {
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 60ch;
}

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.4rem 1.4rem 3.2rem;
}

/* =============================================
   Layout Utilities
   ============================================= */
.section {
  margin: 2.6rem 0;
}


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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}


/* =============================================
   Navigation
   ============================================= */
/* --- NAV MINI --- */

header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.55rem 1.4rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.86rem;
  color: var(--text-soft);

  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.2);

  transition: padding 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, font-size 0.3s ease;
}


/* Opcjonalne media query do usunięcia zaokrąglenia na pełnej szerokości, jeśli wymagane */
@media (max-width: 980px) {
    header.site-header {
        border-radius: 0;
    }
}

.site-header.scrolled {
  padding: 0.4rem 1.4rem; /* Smaller padding */
  background-color: rgba(255, 255, 255, 0.98); /* Slightly less transparent */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Slightly more prominent shadow */
  font-size: 0.75rem; /* Smaller font size for nav links */
}


.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  transition: font-size 0.3s ease, gap 0.3s ease; /* Added transition */
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.5);
  transition: width 0.3s ease, height 0.3s ease; /* Added transition */
}

.nav-links {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links a {
  opacity: 0.7;
  position: relative;
  transition: opacity 0.3s ease, color 0.3s ease; /* Dodano transition dla koloru */
  color: var(--text-soft); /* Domyślny kolor dla linków */
  transform-origin: left; /* Punkt początkowy dla animacji podkreślenia */
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%; /* Ustawiamy pełną szerokość dla ::after, aby skala działała */
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  border-radius: 999px;
  transform: scaleX(0); /* Domyślnie ukryte */
  transform-origin: left;
  transition: transform 0.3s ease; /* Animacja podkreślenia */
}

.nav-links a:hover {
  opacity: 1;
  color: var(--text-main); /* Zmiana koloru tekstu na hover */
}

.nav-links a:hover::after {
  transform: scaleX(1); /* Pokaż podkreślenie na hover */
}

.nav-links a.active {
  opacity: 1;
  font-weight: 700;
  color: var(--accent-blue);
}

.nav-links a.active::after {
  transform: scaleX(1); /* Zawsze widoczne dla aktywnego linku */
}

.site-header.scrolled .brand-mark {
  font-size: 0.7rem; /* Smaller brand text */
  gap: 0.4rem;
}

.site-header.scrolled .brand-dot {
  width: 10px;
  height: 10px;
}

/* Mobile Navigation */
/* --- MOBILE NAV TOGGLE --- */
.mobile-nav-toggle {
  display: none; /* Ukryj domyślnie na desktopie */
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 1001; /* Upewnij się, że jest nad nawigacją */
}

.hamburger-box {
  width: 24px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Aktywny stan dla hamburgera */
body.nav-open .hamburger-inner {
  transform: rotate(45deg);
}

body.nav-open .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

body.nav-open .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}


@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0; /* Wysuwanie z prawej */
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95); /* Półprzezroczyste jasne tło */
    backdrop-filter: blur(15px); /* Efekt rozmycia */
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1); /* Cień po lewej stronie */
    
    flex-direction: column;
    justify-content: center; /* Centrowanie pionowe */
    align-items: center;   /* Centrowanie poziome */
    gap: 2rem;
    
    transform: translateX(100%); /* Początkowo poza ekranem po prawej */
    transition: transform 0.3s ease-in-out; /* Płynna animacja */

    font-size: 1.2rem; /* Powiększony font dla czytelności */
    opacity: 1; /* Zawsze widoczne po otwarciu */
    pointer-events: auto; /* Zawsze aktywne po otwarciu */
  }

  body.nav-open .nav-links {
    transform: translateX(0); /* Wysuwanie na ekran */
    display: flex; /* Zawsze display flex po otwarciu */
  }

  .nav-links a {
    color: var(--text-main); /* Ciemny tekst na jasnym tle */
    opacity: 1; /* Zawsze pełna widoczność */
    font-weight: 500;
  }
  
  .mobile-nav-toggle {
    display: block; /* Pokaż hamburger */
  }

  .site-header {
    padding-right: 1.4rem;
  }
}
/* =============================================
   Hero Section
   ============================================= */
/* --- MAC WINDOW — HERO --- */

#hero {
  margin-top: 1.2rem;
}

.win-box {
  background: var(--bg-window);
  border-radius: 14px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.5);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.win-box:hover {
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(148, 163, 184, 0.3);
  border-color: rgba(59, 130, 246, 0.4);
}

.win-header {
  background: linear-gradient(90deg, var(--accent-blue), #020617);
  color: var(--bg-subtle);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.win-header-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.win-header-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
}

.win-header-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.4),
              0 0 0 3px rgba(15, 23, 42, 0.45);
}

.mac-dot.red { background: #ff5f57; }
.mac-dot.yellow { background: #ffbd2e; }
.mac-dot.green { background: #28c840; }

.win-content {
  padding: 1.9rem 1.7rem 2.1rem;
}

/* Hero Grid */
/* HERO grid */

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) { /* Adjust breakpoint as needed, 768px is common for desktop */
  .hero-grid {
    flex-direction: row; /* Make items display side-by-side */
    align-items: center; /* Vertically align items */
  }

  .hero-left {
    flex: 1; /* Allow left side to take available space */
  }

  .hero-right {
    flex: 1;
    max-width: 360px; /* desktop: ogranicz szerokość zdjęcia */
  }
}

.hero-left {
  flex: 3;
}

.hero-right {
  flex: 2;
  max-width: 100%; /* mobile: brak ograniczenia szerokości */
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.9rem;
}

.hero-tag {
  background: #0f172a;
  color: var(--border-soft);
  padding: 0.18rem 0.6rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
}

.hero-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding-left: 0.55rem;
  border-left: 2px solid rgba(148, 163, 184, 0.9);
  color: var(--text-soft);
}

.hero-title span.highlight {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
}

.hero-title span.highlight::after {
  content: "";
  position: absolute;
  inset: 72% 0 -0.1rem;
  background: rgba(56, 189, 248, 0.14);
  z-index: -1;
  border-radius: 999px;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-soft);
  margin-top: 0.7rem;
  margin-bottom: 1.1rem;
}

.hero-meta {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1.1rem;
  color: var(--text-muted);
}

.hero-meta strong {
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.5rem;   /* ~12px 24px — mobile-friendly */
  min-height: 44px;
  font-size: 0.875rem;
  border: 1px solid rgba(15, 23, 42, 0.9);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--bg-window);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

.btn span.icon {
  font-size: 0.9rem;
}

/* Primary — główna akcja */
.btn-primary {
  background: var(--accent-blue);
  color: var(--border-soft);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Ghost — drugorzędna akcja */
.btn-ghost {
  background: var(--bg-subtle);
  color: var(--accent-blue);
  border-style: dashed;
  border-color: var(--border-soft);
}

.btn-ghost:hover {
  background: var(--bg-window);
  box-shadow: var(--shadow-sm);
}

.hero-loading {
  font-size: 0.8rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.hero-loading-bar {
  position: relative;
  width: 150px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-soft);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.9);
}

.hero-loading-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
}


.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

/* Hero Photo */
/* HERO FOTO */

.hero-photo-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #000;
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.hero-photo-frame:hover {
  box-shadow:
    0 24px 52px rgba(15, 23, 42, 0.8),
    0 0 0 1px rgba(56, 189, 248, 0.6);
  border-color: rgba(59, 130, 246, 0.55);
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.96;
}

/* =============================================
   Cards & Modules
   ============================================= */
/* --- MODULE CARDS – MINIMAL PRO --- */

#system {
  scroll-margin-top: 80px;
}

.system-heading {
  text-align: center;
  margin-bottom: 2.1rem;
}

.system-heading h1 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.thank-you-hero {
  margin-top: 0.5rem;
}

.thank-you-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 24px;
  padding: 3rem 2.8rem;
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.9);
}

.thank-you-card h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  line-height: 1.1;
  margin-bottom: 0.6rem;
  text-align: center;
}

.thank-you-card p {
  max-width: 62ch;
  margin: 0.8rem auto 0;
  color: var(--text-soft);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.thank-you-meta {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: var(--bg-subtle);
  display: grid;
  gap: 1rem;
}

.thank-you-kicker {
  display: inline-flex;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.thank-you-quicklinks {
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-main);
}

.thank-you-quicklinks a {
  display: inline-flex;
  gap: 0.35rem;
  color: inherit;
  font-weight: 600;
}

.btn.thank-you-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.btn.thank-you-cta.btn-primary {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

@media (max-width: 720px) {
  .thank-you-card {
    padding: 2.4rem 1.6rem;
    border-radius: 18px;
  }

  .thank-you-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .thank-you-actions .btn {
    justify-content: center;
  }

  .thank-you-meta {
    text-align: left;
  }
}


.system-eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.system-heading h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.system-heading p {
  margin: 0.3rem auto 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  max-width: 60ch;
}


.benefits-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.benefits-grid--problem {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.benefits-grid--spaced {
  margin-top: 2.2rem;
}

.problem-intro {
  text-align: center;
  max-width: 60ch;
  margin: 0.6rem auto 0;
}

.problem-note {
  margin: 1.6rem auto 0;
  color: var(--text-soft);
  text-align: center;
  max-width: 60ch;
}

.benefit-card--alert {
  border-color: var(--error);
}

.mission-note {
  margin-top: 1rem;
}


.testimonial-author {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  text-align: right;
}

.module-subtitle {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.module-footnote {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-soft);
}

.guarantee-section {
  margin: 4rem auto;
  max-width: 800px;
  text-align: center;
  padding: 2rem;
  background: var(--bg-subtle);
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); /* Dodany cień */
}

.guarantee-badge {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.guarantee-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.guarantee-text {
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
  align-items: start;
}

.bento-large {
  grid-column: span 2;
}

@media (max-width: 560px) {
  .bento-large {
    grid-column: span 1;
  }
}


.module-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(148, 163, 184, 0.3);
  border-color: rgba(148, 163, 184, 0.5);
}

.module-header {
  background: linear-gradient(90deg, var(--accent-blue), #020617);
  color: var(--bg-subtle);
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.module-header span.label {
  font-weight: 500;
}

.module-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-neon);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.module-body {
  padding: 1.2rem 1.4rem 1.4rem;
  font-size: 0.95rem;
  line-height: 1.55;
  background: #ffffff;
}

.module-card .module-body h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
}

.module-card .module-body p {
  max-width: 54ch;
}


.module-card.dark .module-body {
  background: radial-gradient(circle at top left, #020617 0, #020617 40%, #020617 100%);
  color: var(--border-soft);
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.module-card.dark .module-body hr {
  border: none;
  border-top: 1px dashed rgba(148, 163, 184, 0.9);
  margin-top: 1.2rem;
  margin-bottom: 0.8rem;
}

.trust-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 0.4rem;
}

.pill {
  font-size: 0.78rem;
  border-radius: 999px;
  border: 1px dashed rgba(75, 85, 99, 0.85);
  padding: 0.25rem 0.7rem;
  background: var(--bg-subtle);
  color: var(--accent-blue);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.7rem;
  font-size: 0.78rem;
}

.trust-badge {
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.8);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.35);
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
}

.trust-list li {
  margin-bottom: 0.38rem;
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.94rem;
}

.trust-list span.bullet {
  font-size: 0.8rem;
  margin-top: 0.12rem;
  font-family: "Space Grotesk", monospace;
  color: rgba(148, 163, 184, 0.9);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
  color: var(--accent-blue);
}

.stat-number.stat-number--quote {
  font-size: 1.1rem;
  line-height: 1.55;
  margin-bottom: 0.4rem;
}


.loading-bar {
  height: 8px;
  background: #eef2ff;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 10px;
  position: relative;
}

.loading-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta));
  width: 87%;
}

.loading-fill--full {
  width: 100%;
}


/* =============================================
   Terminal Text Effect
   ============================================= */
/* --- TERMINAL TEXT EFFECT --- */
.terminal-text-effect {
  min-height: 200px; /* Minimalna wysokość, aby efekt był widoczny */
  background-color: transparent;
  color: var(--terminal-green);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif; /* Zmieniona czcionka */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ważne dla efektów pisania/mrugania */
  padding: 1rem;
}

.terminal-text-effect h2.typing-animation {
  white-space: nowrap;
  overflow: hidden;
  margin: 0;
  animation: typing 4s steps(40, end) forwards, /* Wolniejsza i płynniejsza */
             blink-caret 0.75s step-end infinite;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  border-right: 2px solid var(--terminal-green);
  padding-right: 0.25rem;
}

.terminal-text-effect h2.erasing-animation {
  white-space: nowrap;
  overflow: hidden;
  margin: 0;
  animation: typing-erase 2s steps(40, end) forwards, /* Wolniejsza i płynniejsza */
             blink-caret 0.75s step-end infinite;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 400;
  border-right: 2px solid var(--terminal-green);
  padding-right: 0.25rem;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes typing-erase {
  from { width: 100% }
  to { width: 0 }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--terminal-green); }
}

/* =============================================
   Contact Section
   ============================================= */
/* --- KONTAKT – NEON TERMINAL --- */

#kontakt {
  scroll-margin-top: 80px;
}

.contact-section {
  background: radial-gradient(circle at top, #000000 0, var(--terminal-bg) 55%, #000000 100%);
  color: var(--terminal-green-soft);
  padding: 3.5rem 1.4rem 3.8rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow:
    0 -40px 120px rgba(0, 0, 0, 1) inset,
    0 0 40px rgba(0, 0, 0, 0.9) inset;
}

.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 18px;
  padding: 2.5rem 2rem 2.8rem;
  background: radial-gradient(circle at top left, var(--terminal-bg-soft) 0, #020202 65%);
  border: 1px solid rgba(123, 255, 59, 0.4);
  box-shadow:
    0 0 32px rgba(123, 255, 59, 0.2),
    0 0 0 1px rgba(0, 0, 0, 0.9);
}

.action-header {
  text-align: left;
  margin-bottom: 2rem;
}

.action-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terminal-green);
}

.action-sub {
  font-size: 0.98rem;
  color: #9ca3af;
  max-width: 34rem;
  margin-top: 0.75rem;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1.8rem;
  max-width: 700px;
}

.field-inline-row {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.9rem;
}

.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem;
}

.field label {
  font-weight: 500;
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--terminal-green-soft);
}

.field small {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.input-retro,
.textarea-retro,
.select-retro {
  width: 100%;
  padding: 0.9rem 0.9rem;
  background: #020302;
  border-radius: 8px;
  border: 1px solid rgba(123, 255, 59, 0.5);
  color: var(--terminal-green-soft);
  font-family: "Space Grotesk", monospace;
  font-size: 0.96rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8);
}

.input-retro::placeholder,
.textarea-retro::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.textarea-retro {
  min-height: 140px;
  resize: vertical;
}

.select-retro {
  appearance: none;
  background-image:
    linear-gradient(45deg, var(--terminal-green) 50%, transparent 50%),
    linear-gradient(135deg, var(--terminal-green) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.input-retro:focus,
.textarea-retro:focus,
.select-retro:focus {
  outline: none;
  border-color: var(--terminal-green);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 1),
    0 0 18px rgba(123, 255, 59, 0.7);
}

.slider-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-soft);
}

input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(55, 65, 81, 1), var(--terminal-green));
  border-radius: 999px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terminal-green);
  border: 2px solid #000;
  margin-top: -5px;
  box-shadow: 0 0 0 3px rgba(123, 255, 59, 0.4);
}

.form-footer-row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1rem;
}

.consent-text {
  font-size: 0.8rem;
  color: var(--text-soft);
}

.btn-primary--full {
  width: 100%;
  justify-content: center;
  background: transparent;
  color: var(--terminal-green-soft);
  border-radius: 999px;
  border: 1px solid rgba(123, 255, 59, 0.8);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 1),
    0 0 24px rgba(123, 255, 59, 0.5);
  position: relative;
  overflow: hidden;
}

.btn-primary--full::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(55, 65, 81, 1), var(--terminal-green));
  border-radius: 999px;
}



.form-status {
  font-size: 0.8rem;
  min-height: 1.1rem;
}

.form-status--ok { color: var(--terminal-green); }
.form-status--error { color: #f97373; }

/* =============================================
   Footer
   ============================================= */
/* FOOTER */

footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.2rem 1.4rem 1.8rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  background: rgba(15, 23, 42, 0.98);
  text-align: center; /* Wyśrodkowanie tekstu i inline-elementów */
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: block; /* Zmieniam na block, aby text-align: center działał */
  /*flex-direction: column; /* Keep column for overall stacking: main content, then bottom */
  /*gap: 1.5rem; /* Space between main content wrapper and footer-bottom */
}

/* New class for the main top part of the footer - will become two columns on desktop */
.footer-main-layout {
  display: flex;
  flex-direction: column; /* Stack on mobile by default */
  gap: 1.5rem; /* Space between stacked elements on mobile */
  padding-bottom: 1.5rem; /* Add some padding before footer-bottom */
  border-bottom: 1px dashed rgba(148, 163, 184, 0.2); /* Separator line */
}
.footer-top {
  display: flex;
  flex-direction: column; /* Ułożenie elementów pionowo */
  justify-content: center; /* Centrowanie elementów */
  align-items: center;    /* Centrowanie elementów */
  flex-wrap: wrap;
  gap: 0.6rem;
  color: #9ca3af;
  margin-bottom: 0; /* Adjust footer-top for better spacing with newsletter */
}

.footer-links {
  display: flex;
  flex-direction: column; /* Ułożenie linków pionowo */
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.78rem;
  align-items: center; /* Centrowanie linków */
}

.footer-link {
  text-decoration: none;
  opacity: 0.7;
}

.footer-link:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  flex-direction: column; /* Ułożenie elementów pionowo */
  justify-content: center; /* Centrowanie elementów */
  align-items: center;    /* Centrowanie elementów */
  gap: 0.4rem;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: var(--text-soft);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-neon);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

/* --- FOOTER NEWSLETTER --- */
.footer-newsletter {
  background: radial-gradient(circle at top left, #020617 0, #000000 90%);
  border-radius: 12px;
  border: 1px solid rgba(123, 255, 59, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(123, 255, 59, 0.15);
  padding: 1.5rem;
  margin-top: 1.5rem; /* Add some space from elements above */
  text-align: center;
  color: var(--terminal-green-soft);
}

.footer-newsletter .newsletter-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--terminal-green); /* More prominent green for title */
}

.footer-newsletter .newsletter-desc {
  font-size: 0.8rem;
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.4;
  max-width: 40ch;
  margin-left: auto;
  margin-right: auto;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column; /* Stack input and button on small screens */
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto;
}

.footer-newsletter .newsletter-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: #020302;
  border-radius: 8px;
  border: 1px solid rgba(123, 255, 59, 0.5);
  color: var(--terminal-green-soft);
  font-family: "Space Grotesk", monospace;
  font-size: 0.9rem;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8);
}

.footer-newsletter .newsletter-input:focus {
  outline: none;
  border-color: var(--terminal-green);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 1),
    0 0 18px rgba(123, 255, 59, 0.7);
}

.footer-newsletter .newsletter-button {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid rgba(123, 255, 59, 0.6);
  background: rgba(123, 255, 59, 0.1);
  color: var(--terminal-green-soft);
  box-shadow: 0 0 12px rgba(123, 255, 59, 0.2);
}

.footer-newsletter .newsletter-button:hover {
  background: rgba(123, 255, 59, 0.15);
  color: var(--terminal-green);
  box-shadow: 0 0 18px rgba(123, 255, 59, 0.35);
}



/* --- BLOG POST NEWSLETTER BOX --- */
.blog-newsletter-box {
  margin: 3.2rem auto;
  max-width: 820px;
  width: 100%;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 20px 45px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.85);
  padding: 2.4rem 2.2rem;
  color: var(--text-main);
  text-align: left;
}

.blog-newsletter-box .newsletter-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
  align-items: start;
}

.blog-newsletter-box .newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.blog-newsletter-box .newsletter-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.blog-newsletter-box .newsletter-title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.7rem;
  color: var(--text-main);
}

.blog-newsletter-box .newsletter-subtitle {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 52ch;
  margin-bottom: 1.3rem;
  line-height: 1.55;
}

.blog-newsletter-box .newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.blog-newsletter-box .newsletter-benefits li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  background: var(--bg-subtle);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-main);
}

.blog-newsletter-box .newsletter-benefits .benefit-icon {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

.blog-newsletter-box .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  max-width: 640px;
  padding: 0.9rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 16px 30px rgba(15, 23, 42, 0.08);
}

.blog-newsletter-box .newsletter-input {
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
}

.blog-newsletter-box .newsletter-input::placeholder {
  color: rgba(107, 114, 128, 0.8);
}

.blog-newsletter-box .newsletter-input:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.4);
  outline-offset: 2px;
  border-color: rgba(59, 130, 246, 0.4);
}

.blog-newsletter-box .newsletter-button {
  border: 1px solid rgba(15, 23, 42, 0.85);
  border-radius: 12px;
  padding: 0.9rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--bg-subtle);
  background: var(--accent-blue);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.blog-newsletter-box .newsletter-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.24);
}

.blog-newsletter-box .newsletter-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.2);
}

.blog-newsletter-box .newsletter-button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.blog-newsletter-box .newsletter-note {
  font-size: 0.82rem;
  color: var(--text-soft);
  text-align: left;
}

@media (min-width: 760px) {
  .blog-newsletter-box .newsletter-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .blog-newsletter-box {
    text-align: center;
  }

  .blog-newsletter-box .newsletter-copy {
    margin: 0 auto;
  }

  .blog-newsletter-box .newsletter-form {
    margin: 0 auto;
  }

  .blog-newsletter-box .newsletter-note {
    text-align: center;
  }
}


/* --- HOMEPAGE NEWSLETTER SECTION --- */
.newsletter-homepage-section {
  position: relative;
  padding: 4.4rem 1.4rem;
  margin-top: 3.6rem;
  background: linear-gradient(180deg, var(--bg-subtle) 0%, #eef2f7 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  overflow: hidden;
  color: var(--text-main);
}

.newsletter-homepage-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(56, 189, 248, 0.12), transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.newsletter-homepage-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(255, 47, 168, 0.12), transparent 40%);
  opacity: 0.55;
  pointer-events: none;
}

.newsletter-homepage-section .newsletter-inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 3rem 2.6rem;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
    0 24px 50px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.85);
  overflow: hidden;
  z-index: 1;
}

.newsletter-homepage-section .newsletter-content {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.newsletter-homepage-section .newsletter-copy {
  max-width: 520px;
}

.newsletter-homepage-section .newsletter-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.newsletter-homepage-section .newsletter-eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-magenta));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4);
}

.newsletter-homepage-section .newsletter-title {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
  color: var(--text-main);
  text-transform: none;
}

.newsletter-homepage-section .newsletter-subtitle {
  font-size: 1rem;
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 1.6rem;
  line-height: 1.6;
}

.newsletter-homepage-section .newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.newsletter-homepage-section .newsletter-benefits li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--text-main);
}

.newsletter-homepage-section .newsletter-benefits .benefit-icon {
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-top: 0.15rem;
}

.newsletter-homepage-section .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 20px 40px rgba(15, 23, 42, 0.08);
}

.newsletter-homepage-section .newsletter-input {
  padding: 1rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 14px;
  background: var(--bg-subtle);
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
}

.newsletter-homepage-section .newsletter-input::placeholder {
  color: rgba(107, 114, 128, 0.8);
}

.newsletter-homepage-section .newsletter-input:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
  border-color: rgba(59, 130, 246, 0.5);
}

.newsletter-homepage-section .newsletter-button {
  border: 1px solid rgba(15, 23, 42, 0.85);
  border-radius: 14px;
  padding: 1rem 1.7rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: var(--bg-subtle);
  background: var(--accent-blue);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.newsletter-homepage-section .newsletter-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.28);
}

.newsletter-homepage-section .newsletter-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.22);
}

.newsletter-homepage-section .newsletter-button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

.newsletter-homepage-section .newsletter-note {
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
}

@media (min-width: 900px) {
  .newsletter-homepage-section .newsletter-content {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .newsletter-homepage-section {
    text-align: left;
  }

  .newsletter-homepage-section .newsletter-note {
    text-align: left;
  }
}

@media (max-width: 899px) {
  .newsletter-homepage-section {
    text-align: center;
  }

  .newsletter-homepage-section .newsletter-copy {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .newsletter-homepage-section {
    padding: 3.2rem 1rem;
    margin-left: -1.4rem;
    margin-right: -1.4rem;
    border-radius: 0;
  }

  .newsletter-homepage-section .newsletter-inner {
    width: 100%;
    padding: 2.1rem 1.3rem;
    border-radius: 18px;
  }

  .newsletter-homepage-section .newsletter-content {
    gap: 1.6rem;
    width: 100%;
  }

  .newsletter-homepage-section .newsletter-copy {
    max-width: none;
  }

  .newsletter-homepage-section .newsletter-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

  .newsletter-homepage-section .newsletter-subtitle {
    margin-bottom: 1.2rem;
  }

  .newsletter-homepage-section .newsletter-benefits li {
    font-size: 0.88rem;
    padding: 0.6rem 0.8rem;
  }

  .newsletter-homepage-section .newsletter-form {
    width: 100%;
    max-width: none;
    padding: 0.85rem;
  }

  .newsletter-homepage-section .newsletter-input {
    width: 100%;
    font-size: 0.95rem;
  }

  .newsletter-homepage-section .newsletter-button {
    width: 100%;
    padding: 0.9rem 1.4rem;
  }

  .newsletter-homepage-section .newsletter-note {
    text-align: center;
  }
}



/* ========================================
   BANER COOKIES / RODO - KOMPAKTOWY
   ======================================== */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  width: min(420px, 92vw);
  background: rgba(15, 23, 42, 0.98);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-banner.hidden {
  display: none;
}


.cookie-banner.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.cookie-banner-content {
  background: radial-gradient(circle at top left, #020617 0, #000000 90%);
  border-radius: 12px;
  border: 1px solid rgba(123, 255, 59, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(123, 255, 59, 0.15);
  overflow: hidden;
}

.cookie-banner-header {
  background: linear-gradient(90deg, #0a0f1a, #020617);
  padding: 8px 12px;
  border-bottom: 1px solid rgba(123, 255, 59, 0.15);
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white; /* Upewnij się, że tekst nagłówka jest biały */
}

.cookie-icon {
  font-size: 1rem;
  filter: drop-shadow(0 0 3px rgba(123, 255, 59, 0.3));
}

.cookie-banner-body {
  padding: 1rem 1.1rem 1rem;
}

.cookie-intro {
  font-size: 0.8rem;
  color: white; /* Upewnij się, że tekst wprowadzający jest biały */
  margin-bottom: 0.9rem;
  line-height: 1.4;
}

.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cookie-category {
  display: block;
  cursor: pointer;
  padding: 0.5rem 0.7rem;
  color: white; /* Ustaw kolor tekstu na biały */
}

.cookie-category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.cookie-category-name-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: white; /* Ustawia kolor nazwy kategorii na biały */
}

.cookie-category-name {
  font-size: 0.9rem;
}

.cookie-category-badge {
  font-size: 0.65rem;
  background: var(--accent-blue);
  color: white; /* Upewnij się, że badge ma biały tekst */
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Style for the new inline description */
.cookie-category-description-inline {
  font-size: 0.8rem;
  color: #ccc; /* Lighter color to de-emphasize */
  flex-basis: 100%; /* Take full width on new line if it wraps */
  margin-left: 1.7rem; /* Indent to align with the name */
}

/* Old description style is now obsolete */
.cookie-category-desc {
  display: none;
}

.cookie-category-toggle {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 2.2rem;
  height: 1.2rem;
  background-color: var(--border-soft);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  outline: none;
  transition: background-color 0.2s ease;
  vertical-align: middle;
}

.cookie-category-toggle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  width: 0.9rem;
  height: 0.9rem;
  background-color: var(--bg-window);
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cookie-category-toggle:checked {
  background-color: var(--accent-neon);
}

.cookie-category-toggle:checked::before {
  transform: translateY(-50%) translateX(1rem);
}

.cookie-category-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 118, 255, 0.4);
}

.cookie-category-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-category-input:checked ~ .cookie-category-desc {
  max-height: 100px; /* Rozwiń opis */
}

/* Przyciski akcji */
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem 1.2rem;
  border-top: 1px solid rgba(123, 255, 59, 0.15);
}

.cookie-btn {
  flex: 1;
  min-width: 120px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.cookie-btn-primary {
  background: var(--accent-blue);
  color: white;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.cookie-btn-primary:hover {
  background: #0f1522;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.4);
}

.cookie-btn-ghost {
  background: transparent;
  color: white; /* Upewnij się, że przycisk ghost ma biały tekst */
  border-color: rgba(123, 255, 59, 0.5);
}

.cookie-btn-ghost:hover {
  background: var(--terminal-bg-soft);
}

.cookie-btn-link {
  background: transparent;
  color: white; /* Upewnij się, że link przycisku jest biały */
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.7rem 0;
  border: none;
}

.cookie-btn-link:hover {
  color: var(--accent-blue);
}

/* --- SIMPLE FOOTER --- */

.simple-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.5);
  padding: 1.4rem 1.4rem 1.8rem;
  font-size: 0.78rem;
  color: #9ca3af;
  background: rgba(15, 23, 42, 0.98);
  text-align: center;
}

.footer-inner-simple {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand-simple {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-brand-simple .footer-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-neon);
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

.footer-links-simple {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.footer-copyright-simple {
  font-size: 0.74rem;
  color: var(--text-soft);
}

/* =============================================
   Mobile — ultra-small screens (< 400px)
   ============================================= */
@media (max-width: 400px) {
  /* Zapobiegaj overflow na bardzo małych ekranach */
  .hero-tag-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  /* Mniejszy padding sekcji */
  .section {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
}

/* =============================================
   Mobile — responsywność główna (< 768px)
   ============================================= */

/* Hero photo — ogranicz wysokość portretu na telefonie */
@media (max-width: 767px) {
  .hero-right {
    max-height: 320px;
    overflow: hidden;
  }

  .hero-photo-frame {
    max-height: 320px;
    overflow: hidden;
  }

  .hero-photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top center;
  }

  /* win-content — zmniejsz padding po bokach */
  .win-content {
    padding: 1.2rem 1rem 1.4rem;
  }

  /* contact-inner — zmniejsz padding po bokach */
  .contact-inner {
    padding: 1.8rem 1rem 2rem;
  }

  /* contact-section — zmniejsz padding po bokach */
  .contact-section {
    padding: 2.5rem 0.8rem 2.8rem;
  }

  /* bento-large — nie wymuszaj span 2 na mobile */
  .bento-large {
    grid-column: span 1;
  }
}

/* =============================================
   Hover tylko na urządzeniach z myszą
   ============================================= */
@media (hover: hover) and (pointer: fine) {
  .win-box:hover {
    transform: translate(-4px, -4px);
    box-shadow:
      0 26px 60px rgba(15, 23, 42, 0.22),
      0 0 0 1px rgba(148, 163, 184, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
  }

  .hero-photo-frame:hover {
    transform: translate(-4px, -4px);
    box-shadow:
      0 24px 52px rgba(15, 23, 42, 0.8),
      0 0 0 1px rgba(56, 189, 248, 0.6);
    border-color: rgba(59, 130, 246, 0.55);
  }
}

/* =============================================
   Testimoniale
   ============================================= */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.testimonial-card .module-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.testimonial-quote {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  position: relative;
  padding-left: 1.2rem;
  border-left: 3px solid var(--accent-neon);
  margin: 0;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

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

/* =============================================
   Sticky CTA (mobile)
   ============================================= */

.mobile-cta-sticky {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta-sticky.is-visible {
  transform: translateY(0);
}

.mobile-cta-sticky__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--accent-blue);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.mobile-cta-sticky__btn:hover {
  background: #1f2937;
}

@media (max-width: 767px) {
  .mobile-cta-sticky {
    display: block;
  }

  /* Dodaj padding na dole strony żeby sticky CTA nie zasłaniało contentu */
  body {
    padding-bottom: 80px;
  }
}
