/* ==========================================================================
   LOKALNE CZCIONKI PRONTOCORE (POPRAWKA VARIABLE)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Cinzel-VariableFont_wght.ttf') format('truetype-variations');
}

@font-face {
  font-family: 'Syne';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('./fonts/Syne-VariableFont_wght.ttf') format('truetype-variations');
}








html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* To kluczowa linijka – blokuje poziomy suwak na całej stronie */
}


/* Bezpieczny reset dla całej strony */
*, *::before, *::after {
  box-sizing: border-box; /* Sprawia, że padding nie zwiększa szerokości */
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden; /* Całkowita pewność, że nic nie wyjdzie na boki */
  width: 100%;
}



:root {
  --bg: #070b14;
  --bg-soft: #0d1424;
  --surface: #111a2f;
  --text: #f4f7ff;
  --muted: #adbbd8;
  --primary: #4f8cff;
  --primary-strong: #2f70ec;
  --border: #223153;
  --header-bg: rgba(7, 11, 20, 0.58);
  --header-border: rgba(255, 255, 255, 0.06);
  --nav-surface: rgba(9, 15, 28, 0.72);
  --nav-text: #d9e4ff;
  --nav-hover: rgba(79, 140, 255, 0.11);
  --soft-section: linear-gradient(180deg, rgba(17, 26, 47, 0.55), rgba(7, 11, 20, 0.4));
  --eyebrow: #7ea8ff;
  --hero-card-bg: linear-gradient(160deg, #131f39, #0e172a);
  --hero-card-border: rgba(126, 168, 255, 0.22);
  --btn-ghost-text: #dce6ff;
  --btn-ghost-hover-bg: rgba(255, 255, 255, 0.05);
  --step-badge-bg: #17326a;
  --step-badge-text: #9fc0ff;
  --contact-bg: linear-gradient(140deg, #11244d, #0b1833);
  --contact-border: rgba(159, 192, 255, 0.28);
  --contact-text: #c7d8ff;
  --footer-text: #98abd0;
  --mobile-nav-bg: rgba(9, 14, 25, 0.97);
  --mobile-nav-border: rgba(255, 255, 255, 0.1);
  --menu-icon: #dce6ff;
  --container: 1120px;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.25);

  /* Nowe akcenty - uzywane przez "wymyslne" style kursora (Pixel Glow / Liquid / Hexagon / Crosshair / Neon) */
  --accent-teal: #00d4aa;
  --accent-purple: #9900ff;
  --accent-gold: #fbbf24;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 10%, var(--bg-soft) 0%, var(--bg) 46%);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

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

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-soft {
  background: var(--soft-section);
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.95rem, 5vw, 3.35rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.3rem);
  margin-bottom: 0.8rem;
}

p {
  margin-top: 0;
}

.lead,
.section-intro {
  color: var(--muted);
  max-width: 70ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(4px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-wrap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.02em;
  justify-self: start;
  position: relative;
  z-index: 2;
  transition: color 0.24s ease, transform 0.24s ease, text-shadow 0.24s ease;
}

.logo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, #8ec0ff, #4f8cff 60%, #2f70ec);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.logo:hover,
.logo:focus-visible {
  color: color-mix(in srgb, var(--primary) 64%, var(--text));
  transform: translateY(-1px);
  text-shadow: 0 0 12px color-mix(in srgb, var(--primary) 30%, transparent);
}

.logo:hover::after,
.logo:focus-visible::after {
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: center;
  padding: 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 168, 255, 0.22);
  background: var(--nav-surface);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-links a {
  position: relative;
  color: var(--nav-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.22rem;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, #8ec0ff, #4f8cff 60%, #2f70ec);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--nav-hover);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.header-controls {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 2;
}

.control-dropdown {
  position: relative;
}

.control-trigger {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  color: var(--text);
  border-radius: 999px;
  height: 40px;
  padding: 0 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.control-trigger:hover,
.control-trigger:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
}

.control-flag,
.control-icon {
  font-size: 1rem;
  line-height: 1;
}

.control-flag {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.flag-nl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath fill='%2321468B' d='M0,0h9v6h-9z'/%3E%3Cpath fill='%23FFF' d='M0,0h9v4h-9z'/%3E%3Cpath fill='%23AE1C28' d='M0,0h9v2h-9z'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.flag-en {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='a'%3E%3Cpath d='M0,0v30h60v-30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0l60,30M60,0l-60,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0l60,30M60,0l-60,30' stroke='%23c8102e' stroke-width='4' clip-path='url(%23a)'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23c8102e' stroke-width='6'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.flag-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--text) 20%, transparent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  flex: 0 0 auto;
}

.control-label {
  font-size: 0.82rem;
  font-weight: 600;
}

.control-caret {
  font-size: 0.65rem;
  opacity: 0.88;
}

.control-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 190px;
  background: rgba(13, 20, 36, 0.95); /* Ciemniejsze, eleganckie tło */
  backdrop-filter: blur(12px); /* Rozmycie tła pod menu */
  border: 1px solid rgba(79, 140, 255, 0.3);
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  display: grid;
  gap: 0.25rem;
  
  /* Animacja */
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
}

.control-dropdown.open .control-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.control-menu button {
  width: 100%;
  border: none;
  background: transparent;
  color: #d9e4ff;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.2s ease;
}

.control-menu button:hover {
  background: rgba(79, 140, 255, 0.12);
  color: #ffffff;
  transform: translateX(4px); /* Subtelny ruch przy najechaniu */
}

/* Wspólny styl dla podglądów */
.cursor-preview {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}



/* Ulepszony podgląd Ring */
.cursor-preview-ring {
  border: 2px solid var(--primary);
}
.cursor-preview-ring::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

/* Ulepszony podgląd Dot */
.cursor-preview-dot {
  border: 1px solid #9fc0ff;
}
.cursor-preview-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-strong);
  box-shadow: 0 0 8px var(--primary);
}

/* Podgląd: Pixel Glow */
.cursor-preview-pixelglow {
  border: 1px solid rgba(0, 212, 170, 0.4);
}
.cursor-preview-pixelglow::after {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-teal);
  box-shadow: 0 0 8px 2px rgba(0, 212, 170, 0.7);
}

/* Podgląd: Liquid Trail */
.cursor-preview-liquid {
  border: 1px solid rgba(79, 140, 255, 0.3);
}
.cursor-preview-liquid::after {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
}

/* Podgląd: Hexagon Grid */
.cursor-preview-hexagon {
  border: none;
  background: transparent;
}
.cursor-preview-hexagon::after {
  content: "";
  width: 14px;
  height: 14px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
}

/* Podgląd: Crosshair Pro */
.cursor-preview-crosshair {
  border: 1.5px solid var(--accent-gold);
  background: transparent;
}
.cursor-preview-crosshair::after {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}

/* Podgląd: Neon Pulse */
.cursor-preview-neon {
  border: 2px solid var(--accent-purple);
  box-shadow: 0 0 8px rgba(153, 0, 255, 0.6);
}
.cursor-preview-neon::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 6px rgba(0, 212, 170, 0.8);
}

.header-cta {
  padding-inline: 0.95rem;
}

.mobile-only-link {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 0.6rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background: var(--menu-icon);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #ffffff;
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--btn-ghost-text);
}

.btn-ghost:hover {
  background: var(--btn-ghost-hover-bg);
  border-color: var(--primary);
}

.btn-small {
  padding: 0.55rem 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

.card {
  padding: 1.2rem;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.step {
  padding: 1.1rem;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 0.6rem;
  border-radius: 50%;
  background: var(--step-badge-bg);
  color: var(--step-badge-text);
  font-weight: 700;
}

.step p {
  color: var(--muted);
  margin-bottom: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.about-points {
  display: grid;
  gap: 0.8rem;
}

.about-points p {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  color: var(--text);
}

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

.faq details {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  padding: 0.95rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.contact-box {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--contact-bg);
  border: 1px solid var(--contact-border);
  text-align: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.contact-box p {
  color: var(--contact-text);
  max-width: 66ch;
  margin: 0 auto;
}

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}

.footer-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--footer-text);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

body.cursor-ring {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='9' fill='none' stroke='%234f8cff' stroke-width='2'/%3E%3Ccircle cx='15' cy='15' r='2.5' fill='%234f8cff'/%3E%3C/svg%3E")
      15 15,
    auto;
}

body.cursor-dot {
  cursor:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='4' fill='%232f70ec'/%3E%3Ccircle cx='11' cy='11' r='9' fill='none' stroke='%239fc0ff' stroke-width='1.4'/%3E%3C/svg%3E")
      11 11,
    auto;
}

body.cursor-ring a,
body.cursor-ring button,
body.cursor-dot a,
body.cursor-dot button {
  cursor: inherit;
}

/* ============================================================
   NIESTANDARDOWY KURSOR (silnik) - 5 nowych, animowanych stylow:
   Pixel Glow / Liquid Trail / Hexagon Grid / Crosshair Pro / Neon Pulse
   DOM tworzony i pozycjonowany przez script.js (translate3d).
   Te style mozliwe sa TYLKO przez JS-driven element (natywny
   "cursor: url()" jak Ring/Dot powyzej nie umie animowac glow/trail).
   ============================================================ */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 9999;
}

.cc-layer {
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  will-change: transform;
  transition: opacity 0.15s ease;
}
.cc-layer.cc-visible {
  opacity: 1;
}

/* Gdy aktywny jest ktorykolwiek z 5 nowych stylow - chowamy natywny kursor */
body.custom-cursor-on,
body.custom-cursor-on a,
body.custom-cursor-on button {
  cursor: none;
}

/* ---------- 1) Pixel Glow ---------- */
.cc-pixel {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--accent-teal);
  box-shadow:
    0 0 8px 2px rgba(0, 212, 170, 0.8),
    0 0 16px 4px rgba(0, 212, 170, 0.3);
}
.cc-pixel-main {
  width: 6px;
  height: 6px;
}
.cc-pixel-trail1 {
  width: 5px;
  height: 5px;
  opacity: 0.55;
}
.cc-pixel-trail2 {
  width: 4px;
  height: 4px;
  opacity: 0.3;
}
.cc-pixelglow.cc-visible .cc-pixel-main {
  animation: cc-flicker 1.6s steps(2) infinite;
}
@keyframes cc-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ---------- 2) Liquid Trail ---------- */
.cc-liquid {
  width: 26px;
  height: 26px;
  border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-purple));
  filter: blur(1.5px);
  mix-blend-mode: screen;
}
.cc-liquid.cc-visible {
  animation: cc-liquid-morph 3.2s ease-in-out infinite;
}
@keyframes cc-liquid-morph {
  0%, 100% { border-radius: 46% 54% 60% 40% / 50% 45% 55% 50%; }
  33% { border-radius: 60% 40% 45% 55% / 40% 60% 40% 60%; }
  66% { border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%; }
}

/* ---------- 3) Hexagon Grid ---------- */
.cc-hexagon {
  width: 30px;
  height: 30px;
}
.cc-hex-outer,
.cc-hex-inner {
  position: absolute;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.cc-hex-outer {
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
}
.cc-hex-inner {
  inset: 5px;
  background: var(--bg);
}
.cc-hexagon.cc-visible .cc-hex-outer {
  animation: cc-hex-spin 5s linear infinite;
}
.cc-hexagon.cc-visible .cc-hex-inner {
  animation: cc-hex-spin-reverse 4s linear infinite;
}
@keyframes cc-hex-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes cc-hex-spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* ---------- 4) Crosshair Pro ---------- */
.cc-crosshair {
  width: 36px;
  height: 36px;
}
.cc-ch-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.8);
}
.cc-ch-line {
  position: absolute;
  background: rgba(251, 191, 36, 0.7);
}
.cc-ch-line-h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
  mask-image: linear-gradient(to right, black 0%, black 38%, transparent 42%, transparent 58%, black 62%, black 100%);
}
.cc-ch-line-v {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  transform: translateX(-50%);
  mask-image: linear-gradient(to bottom, black 0%, black 38%, transparent 42%, transparent 58%, black 62%, black 100%);
}
.cc-ch-bracket {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1.5px solid rgba(251, 191, 36, 0.9);
  transition: transform 0.25s ease;
}
.cc-ch-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.cc-ch-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.cc-ch-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.cc-ch-br { bottom: 0; right: 0; border-left: none; border-top: none; }

body.cc-clicking .cc-ch-tl { transform: translate(4px, 4px); }
body.cc-clicking .cc-ch-tr { transform: translate(-4px, 4px); }
body.cc-clicking .cc-ch-bl { transform: translate(4px, -4px); }
body.cc-clicking .cc-ch-br { transform: translate(-4px, -4px); }

/* ---------- 5) Neon Pulse ---------- */
.cc-neon {
  width: 28px;
  height: 28px;
}
.cc-neon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(153, 0, 255, 0.9);
  box-shadow:
    0 0 8px rgba(153, 0, 255, 0.8),
    0 0 18px rgba(0, 212, 170, 0.5);
}
.cc-neon.cc-visible .cc-neon-ring-main {
  animation: cc-neon-pulse 1.8s ease-in-out infinite;
}
.cc-neon-ring-echo {
  opacity: 0.4;
}
.cc-neon.cc-visible .cc-neon-ring-echo {
  animation: cc-neon-pulse 1.8s ease-in-out infinite;
  animation-delay: 0.5s;
}
@keyframes cc-neon-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.55; }
}

/* Na dotyku / przy prefers-reduced-motion silnik JS sie nie uruchamia,
   wiec ponizsze jest dodatkowym zabezpieczeniem na wypadek zmiany w JS */
@media (hover: none), (pointer: coarse) {
  #custom-cursor {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cc-pixelglow.cc-visible .cc-pixel-main,
  .cc-liquid.cc-visible,
  .cc-hexagon.cc-visible .cc-hex-outer,
  .cc-hexagon.cc-visible .cc-hex-inner,
  .cc-neon.cc-visible .cc-neon-ring-main,
  .cc-neon.cc-visible .cc-neon-ring-echo {
    animation: none;
  }
}

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

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

@media (max-width: 760px) {
  .section {
    padding: 4rem 0;
  }

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

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

  .nav-wrap {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
  }

  .header-controls {
    margin-left: auto;
    gap: 0.4rem;
  }

  .header-cta {
    display: none;
  }

  .control-label {
    display: none;
  }

  .control-trigger {
    width: 40px;
    justify-content: center;
    padding: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 73px;
    right: 4%;
    left: 4%;
    background: var(--mobile-nav-bg);
    border: 1px solid var(--mobile-nav-border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.95rem;
    display: none;
    gap: 0.2rem;
  }

  .nav-links a {
    width: 100%;
    border-radius: 10px;
    padding: 0.65rem 0.7rem;
  }

  .mobile-only-link {
    display: block;
  }

  .nav-links a::after {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.3rem;
  }

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

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 1rem 0;
    text-align: center;
  }
}
/* --- ADVANCED HERO SECTION --- */
.hero-advanced {
  position: relative;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 6.4rem;
  padding-bottom: 4.8rem;
  isolation: isolate;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--primary) 22%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--primary) 22%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 78%);
  opacity: 0.18;
  z-index: -3;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(44px);
  opacity: 0.48;
  z-index: -2;
  pointer-events: none;
}

.hero-bg-orb-left {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 120px;
  background: color-mix(in srgb, var(--primary) 42%, transparent);
}

.hero-bg-orb-right {
  width: 360px;
  height: 360px;
  right: -100px;
  top: 200px;
  background: color-mix(in srgb, var(--primary-strong) 50%, transparent);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: block;
}

.hero-center {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;         /* Zmieniamy z grid na flex */
  flex-direction: column; /* Układamy elementy jeden pod drugim */
  align-items: flex-start; /* Wszystko do lewej strony */
  gap: 2rem;
}


/* Sekcja z napisami */
.hero-top {
  text-align: left;
  max-width: 800px; /* Szeroki napis na górze */
  margin: 0;
}

/* Stylizacja kontenera mapy */
.hero-map-subsection {
  width: 45%;           /* Mapa zajmuje mniej niż połowę szerokości */
  max-width: 500px;      /* Ale nie więcej niż 500px */
  margin-left: 0;        /* Trzymamy ją przy lewej krawędzi */
  opacity: 0.9;
  filter: scale(0.9);    /* Opcjonalnie: lekko ją zmniejszamy */
  filter: drop-shadow(0 0 15px rgba(79, 140, 255, 0.1));
  transition: filter 0.5s ease;
}
.hero-map-subsection:hover {
  filter: drop-shadow(0 0 30px rgba(79, 140, 255, 0.25));
}

/* Poprawka dla przycisków, żeby też były po lewej */
.hero-bottom-actions {
  justify-content: flex-start;
}

.hero-map-subsection {
  position: relative;
  overflow: hidden;
}

.hero-map-subsection::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 20%;
  background: linear-gradient(to bottom, transparent, rgba(79, 140, 255, 0.1), transparent);
  animation: scan-line 4s infinite linear;
  pointer-events: none;
}

.hero-map-subsection {
  margin-top: 5rem;      /* To odsunie mapę znacząco w dół od tekstu */
  width: 45%;            /* Szerokość mapy */
  max-width: 500px;      /* Maksymalny rozmiar */
  margin-left: 0;        /* Trzymanie przy lewej krawędzi */
  margin-right: auto;    /* Popycha resztę miejsca na prawo */
  display: block;        /* Upewniamy się, że marginesy działają poprawnie */
}

/* Opcjonalnie: jeśli chcesz, aby napisy miały więcej oddechu od spodu */
.hero-top {
  margin-bottom: 2rem;
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(500%); }
}

.eyebrow-tech {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--eyebrow);
}

.glitch-title {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lead-tech {
  margin: 1rem 0 1.6rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}

.hero-actions-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.hero-top {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-generator-wrap {
  position: relative;
  margin: 1.5rem auto 0;
  max-width: 760px;
  min-height: 166px;
  animation: hero-float 7s ease-in-out infinite;
}

.hero-generator-glow {
  position: absolute;
  width: 240px;
  height: 120px;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.34;
  z-index: 0;
}

.hero-generator-glow-left {
  left: -45px;
  top: 20px;
  background: rgba(90, 112, 255, 0.6);
}

.hero-generator-glow-right {
  right: -40px;
  top: 26px;
  background: rgba(179, 77, 255, 0.55);
}

.hero-generator-stack {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(660px, 88%);
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(8px);
}

.stack-1 {
  top: 56px;
  height: 66px;
  opacity: 0.34;
}

.stack-2 {
  top: 74px;
  height: 62px;
  opacity: 0.24;
}

.stack-3 {
  top: 92px;
  height: 56px;
  opacity: 0.15;
}

.hero-generator-main {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  width: min(680px, 92%);
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  background: linear-gradient(140deg, rgba(19, 30, 51, 0.74), rgba(14, 24, 41, 0.78));
  box-shadow: 0 24px 50px rgba(8, 12, 22, 0.5);
  backdrop-filter: blur(14px);
  min-height: 122px;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.8rem;
}

.generator-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  color: color-mix(in srgb, var(--primary) 75%, white);
  padding: 0.22rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.generator-line {
  margin: 0;
  font-size: clamp(1.02rem, 2.6vw, 1.26rem);
  color: color-mix(in srgb, var(--text) 95%, #ffffff);
  letter-spacing: 0.01em;
}

.generator-caret {
  width: 10px;
  height: 1.2em;
  border-radius: 3px;
  background: color-mix(in srgb, var(--primary) 82%, white);
  animation: caret-blink 0.9s steps(1, end) infinite;
}

.btn-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border-radius: 12px;
  background: linear-gradient(125deg, var(--primary), var(--primary-strong));
  border: 1px solid color-mix(in srgb, var(--primary-strong) 70%, transparent);
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-tech:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(47, 112, 236, 0.35);
}

.btn-link-tech {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.76rem 1.12rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.btn-link-tech:hover {
  transform: translateY(-1px);
  border-color: var(--primary);
}

.hero-visual-advanced {
  min-height: 560px;
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--border));
  border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.map-wrapper {
  height: 100%;
  width: 100%;
  animation: float-map 9s ease-in-out infinite;
}
.hero-map-subsection:hover .map-wrapper {
  animation-play-state: paused;
}

.automation-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 16px 40px color-mix(in srgb, var(--primary) 24%, transparent));
}

.ring {
  fill: none;
  stroke: color-mix(in srgb, var(--primary) 30%, transparent);
  stroke-width: 1.2;
}

.ring-2 {
  stroke-dasharray: 5 10;
}

.ring-3 {
  stroke-dasharray: 3 8;
}

.ring-4 {
  stroke-dasharray: 2 6;
}

.flow-line {
  fill: none;
  stroke: color-mix(in srgb, var(--primary) 70%, transparent);
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-dasharray: 8 11;
  animation: flow-dash 5.6s linear infinite;
}

.flow-secondary {
  stroke-width: 1.4;
  stroke: color-mix(in srgb, var(--muted) 45%, transparent);
  stroke-dasharray: 4 12;
}

.particle {
  fill: var(--primary);
}

.main-core {
  fill: color-mix(in srgb, var(--primary) 42%, var(--surface));
  stroke: color-mix(in srgb, var(--primary) 80%, white);
  stroke-width: 2.4;
}

.main-core-inner {
  fill: color-mix(in srgb, var(--surface) 92%, transparent);
  stroke: color-mix(in srgb, var(--primary) 40%, transparent);
  stroke-width: 1.4;
}

.node-bg {
  fill: color-mix(in srgb, var(--surface) 90%, transparent);
  stroke: color-mix(in srgb, var(--primary) 36%, var(--border));
  stroke-width: 2;
}

.node-small .node-bg {
  stroke-width: 1.6;
}

.label-main {
  fill: color-mix(in srgb, var(--text) 96%, white);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.label-sub {
  fill: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.label-app {
  fill: var(--text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.label-app-sub {
  fill: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.hero-bottom-eyebrow {
  margin-bottom: 0.7rem;
}

.hero-bottom-title {
  max-width: 18ch;
  margin: 0 auto;
}

.hero-bottom-lead {
  margin: 1rem auto 1.45rem;
}

.hero-bottom-actions {
  justify-content: center;
}

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

@keyframes caret-blink {
  0%,
  46% {
    opacity: 1;
  }
  47%,
  100% {
    opacity: 0;
  }
}

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

@keyframes flow-dash {
  to {
    stroke-dashoffset: -120;
  }
}

@keyframes float-map {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1150px) {
  .hero-visual-advanced {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .hero-advanced {
    min-height: auto;
    padding-top: 5.2rem;
    padding-bottom: 2.9rem;
  }

  .hero-visual-advanced {
    min-height: 340px;
    border-radius: 18px;
  }

  .hero-bottom-title {
    font-size: clamp(1.7rem, 7.4vw, 2.25rem);
  }

  .hero-generator-main {
    min-height: 110px;
    border-radius: 16px;
  }

  .hero-generator-wrap {
    min-height: 138px;
  }

  .stack-1 {
    top: 45px;
    height: 54px;
  }

  .stack-2 {
    top: 60px;
    height: 52px;
  }

  .stack-3 {
    top: 74px;
    height: 46px;
  }
}

/* GŁÓWNY KONTENER MAPY */
.hero-map-subsection {
  width: 100%;
  max-width: 550px;
  perspective: 1000px; /* Kluczowe dla efektu 3D */
  margin-top: 2rem;
}

.pronto-advanced-map {
  width: 100%;
  height: auto;
  overflow: visible;
  transition: transform 0.1s ease-out; /* Płynność ruchu myszką */
  filter: drop-shadow(0 20px 40px rgba(79, 140, 255, 0.15));
}

/* WĘZŁY (NODES) */
.sys-node {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



.node-base {
  fill: rgba(17, 26, 47, 0.8);
  stroke: rgba(126, 168, 255, 0.5);
  stroke-width: 2;
  transition: all 0.3s ease;
}

.sys-node:hover .node-base {
  fill: rgba(79, 140, 255, 0.2);
  stroke: #fff;
  filter: drop-shadow(0 0 10px var(--primary));
}

/* TEKSTY W WĘZŁACH */
.node-text {
  fill: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-anchor: middle;
  pointer-events: none;
}

.node-text.primary {
  fill: #00f2ff; /* Jasny neonowy niebieski/cyjan */
  font-size: 16px;
}

.node-subtext {
  fill: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-anchor: middle;
}

/* ORBITY WOKÓŁ WĘZŁÓW */
.node-orbit {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1;
  stroke-dasharray: 10 5;
  opacity: 0.6;
  transform-origin: center;
  animation: spin-orbit 10s linear infinite;
}

.node-orbit.reverse {
  animation-direction: reverse;
  stroke-dasharray: 4 4;
}

.node-orbit.fast {
  animation-duration: 5s;
  stroke: #00f2ff;
}

.node-orbit.dashed {
  stroke-dasharray: 2 12;
  stroke-width: 2;
}

/* TŁO I RADAR */
.radar-bg {
  transform-origin: center;
  animation: spin-orbit 60s linear infinite;
}

.radar-wave {
  transform-origin: center;
  animation: radar-pulse 3s infinite ease-out;
}

/* KLUCZOWE ANIMACJE (KEYFRAMES) */
@keyframes spin-orbit {
  100% { transform: rotate(360deg); }
}

@keyframes radar-pulse {
  0% { r: 40; opacity: 1; stroke-width: 3; }
  100% { r: 350; opacity: 0; stroke-width: 1; }
}
/* Wymuszenie stabilności węzłów */
.sys-node {
  cursor: pointer;
  transform-box: fill-box !important;
  transform-origin: center !important;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}



/* =========================================
   WAAROM WIJ - SEKCJA Z PORTFELEM (ZAAWANSOWANY UX)
   ========================================= */

   .waarom-wij-section {
    position: relative;
    z-index: 10;
    overflow-x: hidden; /* <-- DODANE: Ukrywa wszystko, co wystaje po bokach na mobile */
  }
  
  .wallet {
    position: relative;
    width: 300px;
    /* Zwiększona wysokość, aby pomieścić rozwinięte karty i zapewnić wygodniejszy obszar najechania myszką */
    height: 280px; 
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    cursor: inherit;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  
  .wallet::after {
    content: "Hover to see Balance";
    position: absolute;
    bottom: -40px;
    font-style: normal;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    opacity: 0.5;
    transition: opacity 0.3s ease;
  }
  
  @media (max-width: 768px) {
    .wallet::after {
      content: "Scroll to see Balance";
    }
  }
  
  .wallet:hover::after, .wallet.is-active::after {
    opacity: 0;
  }
  
  /* Subtelny blask (Glow) w tle portfela */
  .wallet-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -45%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .wallet:hover .wallet-glow, .wallet.is-active .wallet-glow {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
  
  /* Tylna ściana portfela */
  .wallet-back {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(145deg, var(--surface), var(--bg));
    border-radius: 20px 20px 50px 50px;
    z-index: 5;
    box-shadow: 
      inset 0 15px 25px rgba(0, 0, 0, 0.6), 
      0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  /* KARTY - BAZOWE USTAWIENIA */
  @keyframes slideIntoPocket {
    /* Używamy zmiennych CSS, aby zachować schodkowe ułożenie podczas wejścia */
    0% { transform: translateY(calc(var(--rest-y) - 80px)) scale(0.9); opacity: 0; }
    100% { transform: translateY(var(--rest-y)) scale(1); opacity: 1; }
  }
  
  .card {
    position: absolute;
    width: 270px;
    height: 150px;
    bottom: 45px; /* Podniesione, by karty bardziej wystawały z kieszeni */
    border-radius: 18px;
    padding: 20px;
    color: white;
    box-shadow: 
      inset 0 1px 1px rgba(255, 255, 255, 0.3), 
      0 -5px 20px rgba(0, 0, 0, 0.4);
    will-change: transform;
    
    /* Domyślne przesunięcie Y dla stanu spoczynku */
    --rest-y: 0px; 
    transform: translateY(var(--rest-y));
    
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0.1s, box-shadow 0.3s;
    animation: slideIntoPocket 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
    overflow: hidden;
    transform-origin: bottom center;
  }
  
  .card-noise {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
  }
  
  .card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    z-index: 2;
  }
  
  .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .card-brand {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  
  .real-chip {
    width: 36px;
    height: 26px;
    opacity: 0.9;
  }
  
  .card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }
  
  .label {
    font-size: 9px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
    display: block;
  }
  
  .value {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
  
  .card-number-wrapper {
    text-align: right;
    height: 20px;
    display: flex;
    align-items: flex-end;
  }
  
  .hidden-stars { 
    font-size: 14px; 
    letter-spacing: 2px;
    opacity: 0.9;
  }
  
  .card-number {
    display: none;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  }
  
  /* Indywidualne style kart i schodkowe odsłonięcie (--rest-y) */
  .stripe { 
    background: linear-gradient(135deg, #635bff, #4333e6); 
    z-index: 10; 
    animation-delay: 0.1s; 
    --rest-y: -35px; /* Najbardziej wystaje (z tyłu) */
  }
  .wise { 
    background: linear-gradient(135deg, #9bd86a, #7aba48); 
    color: #0b1a0b; 
    z-index: 20; 
    animation-delay: 0.2s; 
    --rest-y: -15px; /* Środkowa karta */
  }
  .wise .label, .wise .hidden-stars, .wise .card-number { 
    color: rgba(0,0,0,0.7); 
    text-shadow: none;
  }
  .wise .value, .wise .card-brand {
    text-shadow: none;
  }
  .paypal { 
    background: linear-gradient(135deg, #1f2a40, #001e5c); 
    color: #ffffff; 
    z-index: 30; 
    animation-delay: 0.3s; 
    --rest-y: 5px; /* Prawie schowana (z przodu) */
  }
  
  /* KIESZEŃ - GLASSMORPHISM */
  .pocket-glass {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 140px;
    z-index: 40;
    background: rgba(17, 26, 47, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px 12px 50px 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3), 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .pocket-lip {
    position: absolute;
    top: 10px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: transparent;
    border-top: 1px dashed rgba(255, 255, 255, 0.2);
  }
  
  .pocket-content {
    text-align: center;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transform: translateY(-5px);
  }
  
  .balance-display {
    position: relative; 
    height: 28px; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .balance-stars {
    color: var(--muted);
    font-size: 20px;
    letter-spacing: 5px;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  .balance-real {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 15px rgba(79, 140, 255, 0.5);
    opacity: 0;
    position: absolute;
    transform: translateY(15px) scale(0.9);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  .balance-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .eye-icon-wrapper {
    margin-top: 10px;
    height: 20px;
    width: 20px;
    position: relative;
    color: var(--primary);
    transition: 0.3s;
    cursor: pointer;
  }
  
  .eye-icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  
  .eye-slash { opacity: 0.6; }
  .eye-open { opacity: 0; transform: scale(0.5) rotate(-45deg); }
  
  /* ========================================================
     LOGIKA HOVER I AKTYWACJI – SZERSZY WACHLARZ
     ======================================================== */
  
  .wallet:hover, .wallet.is-active { 
    transform: translateY(-8px); 
  }
  
  /* Mocniejsze i szersze rozsunięcie kart z większymi przerwami */
  .wallet:hover .stripe, .wallet.is-active .stripe { 
    transform: translateY(-150px) translateX(-30px) rotate(-10deg); 
    box-shadow: 0 10px 30px rgba(99, 91, 255, 0.4);
  }
  
  .wallet:hover .wise, .wallet.is-active .wise { 
    transform: translateY(-95px) translateX(0) rotate(0deg); 
    box-shadow: 0 10px 30px rgba(155, 216, 106, 0.3);
  }
  
  .wallet:hover .paypal, .wallet.is-active .paypal { 
    transform: translateY(-40px) translateX(30px) rotate(10deg); 
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.4);
  }
  
  /* Interakcje z pojedynczymi kartami - eksponowanie wybranej karty */
  @media (hover: hover) {
    .card:hover {
      z-index: 100 !important;
      transition-delay: 0s !important;
    }
    
    .wallet:hover .stripe:hover { 
      transform: translateY(-165px) translateX(-20px) rotate(-4deg) scale(1.05); 
    }
  
    .wallet:hover .wise:hover { 
      transform: translateY(-115px) scale(1.05); 
    }
  
    .wallet:hover .paypal:hover { 
      transform: translateY(-55px) translateX(20px) rotate(4deg) scale(1.05); 
    }
  
    .card:hover .hidden-stars { display: none; }
    .card:hover .card-number { display: block; }
  }
  
  /* Animacja balansu w szklanej kieszeni */
  .wallet:hover .balance-stars, .wallet.is-active .balance-stars { 
    opacity: 0; 
    transform: translateY(-10px);
  }
  
  .wallet:hover .balance-real, .wallet.is-active .balance-real {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  
  .wallet:hover .eye-slash, .wallet.is-active .eye-slash { 
    opacity: 0; 
    transform: scale(0.5) rotate(45deg); 
  }
  
  .wallet:hover .eye-open, .wallet.is-active .eye-open { 
    opacity: 1; 
    transform: scale(1) rotate(0); 
  }


  /*_________________________________________________________*/
  /*__________________________WALLET RESPONSIVITY_____________________________*/
  /*_________________________________________________________*/ 



  /* =========================================
   POPRAWKI RWD DLA BARDZO WĄSKICH EKRANÓW
   ========================================= */

/* Telefony poniżej 380px szerokości (np. iPhone SE, mniejsze ekrany) */
@media (max-width: 380px) {
  .wallet {
    transform: scale(0.85);
    /* Ustawiamy punkt transformacji na dół-środek, żeby portfel nie "wisiał" w powietrzu po zmniejszeniu */
    transform-origin: bottom center; 
  }
  
  /* UWAGA: Nadpisujemy stan :hover i .is-active, aby zachować skalę, gdy portfel podskakuje! */
  .wallet:hover, 
  .wallet.is-active { 
    transform: scale(0.85) translateY(-8px); 
  }
}

/* Wyjątkowo wąskie, stare ekrany (poniżej 340px, np. 320px) */
@media (max-width: 340px) {
  .wallet {
    transform: scale(0.75);
  }
  
  .wallet:hover, 
  .wallet.is-active { 
    transform: scale(0.75) translateY(-8px); 
  }
}

/*_________________________________________________________*/
/*____________________________HERO2_____________________________*/
/*_________________________________________________________*/ 

/* --- FUNDAMENT SEKCJI --- */
.hero2 {
  padding: 120px 0 100px;
  background: #070a12;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

/* --- ANIMOWANE PRZEPŁYWY (FLOWS) --- */
.hero2-flows {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.4;
  pointer-events: none;
}

.flow-line {
  fill: none;
  stroke: url(#flowGradient); /* Jeśli chcesz gradientu, ale prościej użyć koloru: */
  stroke: #4fa3ff;
  stroke-width: 1;
  stroke-dasharray: 100 1000;
  stroke-dashoffset: 1100;
  animation: flowAnim 8s linear infinite;
}

.line-2 { animation-delay: -3s; stroke: #7e5fff; }
.line-3 { animation-delay: -5s; stroke: #00d4ff; }

@keyframes flowAnim {
  to { stroke-dashoffset: 0; }
}

/* --- WRAPPER I STOS (DESKTOP) --- */
.stack-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  z-index: 5;
}

.glass-card {
  position: relative;
  width: 300px;
  height: 380px;
  padding: 40px 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  margin: 0 -100px;
  transform: rotate(calc(var(--r) * 1deg));
}

/* Efekt rozsuwania na Desktop */
.stack-wrapper:hover .glass-card {
  margin: 0 15px;
  transform: rotate(0deg) translateY(-10px);
}

.glass-card:hover {
  border-color: rgba(79,163,255,0.4) !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 0 30px rgba(79,163,255,0.15);
}

/* --- ELEMENTY WEWNĄTRZ --- */
.hero2-icon-box {
  width: 50px; height: 50px;
  background: rgba(79,163,255,0.1);
  border: 1px solid rgba(79,163,255,0.2);
  border-radius: 12px;
  color: #4fa3ff;
  display: grid; place-items: center;
  margin-bottom: 25px;
}

.hero2-main-metric {
  font-size: 26px; font-weight: 800;
  background: linear-gradient(90deg, #fff, #4fa3ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero2-details {
  font-size: 14px; color: rgba(255,255,255,0.6);
  line-height: 1.6; margin-top: 15px;
}

/* Etykieta na dole */
.glass-card::after {
  content: attr(data-text);
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 12px 0;
  text-align: center;
  font-size: 10px; letter-spacing: 3px;
  color: rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===========================================
   WŁAŚCIWA WERSJA MOBILNA (MOBILE REVOLUTION)
   =========================================== */

@media (max-width: 990px) {
  .hero2 {
    padding: 60px 20px;
  }

  .stack-wrapper {
    flex-direction: column; /* Karty pod sobą */
    min-height: auto;
    gap: 25px; /* Odstęp między kartami */
  }

  .glass-card {
    /* Resetujemy nakładanie i rotację */
    margin: 0 !important;
    transform: rotate(0deg) !important;
    width: 100%; /* Pełna szerokość kontenera */
    max-width: 350px;
    height: auto; /* Elastyczna wysokość */
    padding: 35px 25px 60px; /* Więcej miejsca na dole dla etykiety */
    
    /* DODAJEMY RUCH NA MOBILE */
    animation: mobilePulse 4s infinite ease-in-out;
    animation-delay: var(--delay); /* Każda karta pulsuje w innym momencie */
  }

  /* Subtelne "oddychanie" kart na telefonie */
  @keyframes mobilePulse {
    0%, 100% {
      transform: translateY(0) scale(1);
      border-color: rgba(255, 255, 255, 0.08);
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    50% {
      transform: translateY(-8px) scale(1.01);
      border-color: rgba(79, 163, 255, 0.25);
      box-shadow: 0 15px 40px rgba(79, 163, 255, 0.1);
    }
  }

  /* Podświetlenie ikony na mobile też niech pulsuje */
  .glass-card .hero2-icon-box {
    animation: iconGlow 4s infinite ease-in-out;
    animation-delay: var(--delay);
  }

  @keyframes iconGlow {
    0%, 100% { box-shadow: 0 0 0px rgba(79,163,255,0); }
    50% { box-shadow: 0 0 15px rgba(79,163,255,0.3); }
  }

  /* Etykieta na dole bardziej widoczna na mobile */
  .glass-card::after {
    color: rgba(79, 163, 255, 0.4);
    background: rgba(79, 163, 255, 0.03);
  }

  /* Przepływy w tle na mobile - zwalniamy je, by nie rozpraszały */
  .flow-line {
    stroke-width: 2;
    animation-duration: 12s;
  }
}


/*_________________________________________________________*/
/*_________________________________________________________*/ 
/*_________________________DIENSTEN________________________________*/

/* ==================== DIENSTEN SECTION (ŻYWY UKŁAD) ==================== */
.diensten-section {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

/* Świecące kule w tle */
.diensten-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.diensten-orb-left {
  width: 500px; height: 500px;
  left: -200px; top: 10%;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
}
.diensten-orb-right {
  width: 450px; height: 450px;
  right: -150px; bottom: 20%;
  background: color-mix(in srgb, var(--primary-strong) 15%, transparent);
}

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

/* --- NAGŁÓWEK --- */
.diensten-header {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  margin-bottom: 5rem;
}

.diensten-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 1rem;
}
.diensten-eyebrow::before,
.diensten-eyebrow::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary));
}
.diensten-eyebrow::after {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.diensten-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.diensten-title-accent {
  display: block;
  background: linear-gradient(135deg, #7ea8ff 0%, #4f8cff 50%, #2f70ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.diensten-intro {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
}

/* --- TIMELINE / SHOWCASE --- */
.diensten-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-bottom: 5rem;
}

/* Główna oś centralna z bazowym tłem */
.showcase-axis {
  position: absolute;
  top: 0; 
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(79,140,255,0.15);
  transform: translateX(-50%);
  z-index: 0;
  overflow: hidden; /* Utrzymuje animację wewnątrz linii */
}

/* ANIMACJA: Strumień danych przelatujący przez oś */
.showcase-axis::before {
  content: '';
  position: absolute;
  top: -200px; /* Startuje niewidoczny nad linią */
  left: 0;
  width: 100%;
  height: 200px; /* Długość świetlistego promienia */
  background: linear-gradient(to bottom, transparent, var(--primary), var(--primary-strong), transparent);
  animation: dataFlow 5s linear infinite;
  opacity: 0.8;
}

@keyframes dataFlow {
  0% { top: -200px; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Pojedynczy wiersz usługi */
.showcase-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  z-index: 1;
}
.showcase-row.reverse {
  flex-direction: row-reverse;
}

.showcase-visual,
.showcase-content {
  flex: 1;
  width: 50%;
  position: relative;
}

/* Węzeł na linii centralnej */
.showcase-node {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(79, 140, 255, 0.4);
  z-index: 2;
  transition: all 0.3s ease;
}

/* ANIMACJA: Pulsujący radar wokół węzła (bicie serca) */
.showcase-node::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: nodePulse 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes nodePulse {
  0% { width: 100%; height: 100%; opacity: 1; border-width: 2px; }
  100% { width: 400%; height: 400%; opacity: 0; border-width: 0px; }
}

/* Reakcja węzła na hover całej sekcji (np. przyspieszone bicie i rozświetlenie) */
.showcase-row:hover .showcase-node {
  background: var(--primary);
  box-shadow: 0 0 25px rgba(79, 140, 255, 0.8);
  transform: translate(-50%, -50%) scale(1.3);
}
.showcase-row:hover .showcase-node::after {
  animation: nodePulse 1.2s ease-out infinite;
  border-color: var(--primary-strong);
}

/* --- WIZUALNA STRONA (IKONY I NUMERY) --- */
.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
}

.visual-watermark {
  position: absolute;
  font-size: 14rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  user-select: none;
  z-index: 0;
  transition: color 0.4s ease, transform 0.4s ease;
}

.showcase-row:hover .visual-watermark {
  color: rgba(79, 140, 255, 0.05);
  transform: scale(1.05);
}

/* Szklane tło ikony */
.visual-glass {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(79,140,255,0.1);
  /* Dodane delikatne pływanie całej ikony */
  animation: floatGlass 6s ease-in-out infinite;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Losowe opóźnienia pływania, by każda ikona żyła własnym życiem */
.showcase-row:nth-child(even) .visual-glass { animation-delay: 1.5s; }
.showcase-row:nth-child(3) .visual-glass { animation-delay: 3s; }
.showcase-row:nth-child(5) .visual-glass { animation-delay: 4.5s; }

@keyframes floatGlass {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.visual-glass::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(79,140,255,0.5), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.visual-glass svg {
  width: 50px;
  height: 50px;
  color: var(--primary);
  filter: drop-shadow(0 0 12px rgba(79,140,255,0.3));
  transition: transform 0.4s ease;
}

/* Po najechaniu wyłączamy pływanie na rzecz konkretnej reakcji */
.showcase-row:hover .visual-glass {
  animation-play-state: paused;
  transform: translateY(-15px) !important;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(79,140,255,0.2);
  background: rgba(79, 140, 255, 0.05);
}
.showcase-row:hover .visual-glass::before { opacity: 1; }
.showcase-row:hover .visual-glass svg { transform: scale(1.15); }


/* --- KONTENT (PRAWA/LEWA STRONA) --- */
.showcase-content {
  padding: 2rem 0;
}

.content-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.diensten-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
}

.diensten-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47,112,236,0.14);
  color: var(--text);
  border: 1px solid rgba(79,140,255,0.18);
}

.diensten-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0 0 1rem;
}

.diensten-card-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.diensten-bullets {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.diensten-bullets li {
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--muted) 85%, white);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}
.diensten-bullets li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 0 10px rgba(79,140,255,0.4);
}

.diensten-learn {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.diensten-learn::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0%; height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}
.showcase-row:hover .diensten-learn {
  gap: 12px;
  color: var(--text);
}
.diensten-arrow {
  transition: transform 0.3s ease;
}
.showcase-row:hover .diensten-arrow {
  transform: translateX(4px);
}

/* --- NOWOCZESNY CTA BOX --- */
.diensten-cta-box {
  margin-top: 5rem;
  text-align: center;
  padding: 5rem 2rem;
  background: rgba(17, 36, 77, 0.2); /* Bardziej przejrzyste tło */
  backdrop-filter: blur(12px); /* Efekt szkła */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1); /* Delikatna krawędź szkła */
  border-radius: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.diensten-cta-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary); /* Rozświetla się przy najechaniu */
}

/* Zawartość nad blaskami */
.cta-content {
  position: relative;
  z-index: 2;
}

/* Stylizacja tekstu */
.diensten-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* Większy, bardziej odważny tytuł */
  font-weight: 850;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.diensten-cta-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 55ch;
  margin: 0 auto 2.5rem;
}

/* Neonowe blaski w tle */
.cta-glow-1, .cta-glow-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
  z-index: 1;
}

.cta-glow-1 {
  top: -150px;
  left: -100px;
  background: var(--primary);
}

.cta-glow-2 {
  bottom: -150px;
  right: -100px;
  background: #635bff; /* Fioletowy akcent dla głębi */
}

/* Przyciski */
.diensten-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Jeśli Twoje przyciski potrzebują odświeżenia wewnątrz CTA */
.diensten-cta-actions .btn {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.diensten-cta-actions .btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 10px 20px rgba(0, 243, 255, 0.3);
}

.diensten-cta-actions .btn-primary:hover {
  box-shadow: 0 15px 30px rgba(0, 243, 255, 0.5);
  transform: scale(1.05);
}

/* Responsywność */
@media (max-width: 640px) {
  .diensten-cta-box {
    padding: 3rem 1.5rem;
    border-radius: 24px;
  }
  
  .diensten-cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .diensten-cta-actions .btn {
    width: 100%;
  }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 990px) {
  .showcase-axis {
    left: 20px;
  }
  
  .showcase-row,
  .showcase-row.reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    padding-left: 60px;
  }

  .showcase-node {
    left: 20px;
    top: 60px;
    transform: translate(-50%, -50%);
  }

  .showcase-row:hover .showcase-node {
    transform: translate(-50%, -50%) scale(1.3);
  }

  .showcase-visual,
  .showcase-content {
    width: 100%;
  }

  .showcase-visual {
    min-height: auto;
    justify-content: flex-start;
    padding-top: 1rem;
  }

  .visual-watermark {
    font-size: 8rem;
    left: -20px;
    top: -20px;
  }

  .visual-glass {
    width: 80px;
    height: 80px;
    border-radius: 20px;
  }

  .visual-glass svg {
    width: 35px;
    height: 35px;
  }
}


@media (max-width: 1140px) {
  /* Ukryj przełącznik kursora */
  .control-dropdown[data-dropdown="cursor"] {
    display: none !important;
  }
  
  /* Ukryj przycisk kontaktowy */
  .header-cta {
    display: none !important;
  }
  
  /* Ukryj przycisk gry (GAME) obok logo */
  .gnb-btn {
    display: none !important;
  }
  
  /* Ukryj cały dropdown języka (flagę + tekst + strzałkę) */
  .control-dropdown[data-dropdown="language"] {
    display: none !important;
  }
}





@media (max-width: 580px) {
  
  .diensten-section { padding: 4rem 0; }
  .diensten-showcase { gap: 4rem; margin-bottom: 3rem; }
  .diensten-cta-actions { flex-direction: column; width: 100%; }
  .diensten-cta-actions .btn { width: 100%; }
  .diensten-card-title { font-size: 1.4rem; }
}

/*_________________________PRELOADER________________________________*/

/* From Uiverse.io by Vosoone */ 
.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.loader {
  width: 100%;
}

.trace-bg {
  stroke: #333;
  stroke-width: 1.8;
  fill: none;
}

.trace-flow {
  stroke-width: 1.8;
  fill: none;
  stroke-dasharray: 40 400;
  stroke-dashoffset: 438;
  filter: drop-shadow(0 0 6px currentColor);
  animation: flow 0.8s cubic-bezier(0.5, 0, 0.9, 1) infinite;
}

.yellow {
  stroke: #ffea00;
  color: #ffea00;
}
.blue {
  stroke: #00ccff;
  color: #00ccff;
}
.green {
  stroke: #00ff15;
  color: #00ff15;
}
.purple {
  stroke: #9900ff;
  color: #9900ff;
}
.red {
  stroke: #ff3300;
  color: #ff3300;
}

@keyframes flow {
  to {
    stroke-dashoffset: 0;
  }
}

/* Čip */
.chip-body {
  rx: 20;
  ry: 20;
}

/* Text uvnitř čipu */
.chip-text {
  font-weight: bold;
  letter-spacing: 1px;
}

/* Piny */
.chip-pin {
  stroke: #444;
  stroke-width: 0.5;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}
/* Styl dla Twojego preloadera */
#preloader.main-container {
  position: fixed;   /* Blokuje preloader na całym ekranie */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #070b14; /* Dopasuj do tła swojej strony */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;     /* Musi być najwyższy ze wszystkich elementów */
  transition: opacity 0.6s ease; /* Płynne znikanie */
}

/* Klasa, którą doda JS po upływie czasu */
.preloader-hidden {
  opacity: 0;
  pointer-events: none; /* Pozwala klikać w elementy pod spodem */
}
/* _________________________MOBILE OPTYMALIZACJA________________________________ */

/* =======================================================
   🔥 EKSTREMALNA OPTYMALIZACJA MOBILNA (VRAM, CPU & PAINT)
   Kompleksowy pakiet wydajnościowy (Max-width: 768px)
   ======================================================= */
   @media (max-width: 768px) {

    /* ---------------------------------------------------
       1. RDZEŃ RENDEROWANIA I ELIMINACJA BIAŁYCH EKRANÓW
       --------------------------------------------------- */
    html {
      background-color: #0d121f !important; /* Absolutny bezpiecznik - tło podkładowe */
      scroll-behavior: auto !important; 
    }

    body {
      overflow-x: hidden !important;
      background-color: #0d121f !important;
      -webkit-overflow-scrolling: touch;
    }
  
    /* Spłaszczanie GPU - zapobiega przepełnieniu pamięci RAM wideo */
    * {
      -webkit-perspective: none !important;
      perspective: none !important;
      -webkit-transform-style: flat !important;
      transform-style: flat !important;
      /* Limitujemy długość trwania wszelkich opóźnionych animacji przy scrollu */
      transition-duration: 0.2s !important; 
    }
  
    /* ---------------------------------------------------
       2. CSS CONTAINMENT (Izolacja sekcji - Game Changer)
       --------------------------------------------------- */
    section, 
    article,
    .hero-section, 
    .wallet-section, 
    .diensten-section {
      /* Mówi przeglądarce: "Renderuj to tylko jako zamknięte pudło" */
      contain: layout style !important; 
      /* Pomija renderowanie sekcji, które są daleko poza ekranem */
      content-visibility: auto; 
      contain-intrinsic-size: 1000px; /* Pomaga w obliczeniu paska scrolla dla ukrytych sekcji */
      
      transform: translateZ(0);
      will-change: transform;
      backface-visibility: hidden;
    }
  
    /* ---------------------------------------------------
       3. BEZWZGLĘDNA OPTYMALIZACJA TŁA (Nasze ustalenia)
       --------------------------------------------------- */
    /* Resetujemy WSZYSTKIE elementy, aby żadne nie miały tła "fixed" */
    * {
      background-attachment: scroll !important;
    }
  
    /* Głównym sekcjom nadajemy najlżejszy z możliwych gradientów 2-kolorowych */
    section, 
    .hero-section, 
    .wallet-section {
      background-image: linear-gradient(180deg, #0d121f 0%, #111a2f 100%) !important;
      /* Wyłączamy skomplikowane tryby mieszania kolorów dla tła */
      background-blend-mode: normal !important;
      mix-blend-mode: normal !important;
    }
  
  /* ---------------------------------------------------
     4. KARTY, POCKET GLASS I ELEMENTY UI
     --------------------------------------------------- */
  .pocket-glass, 
  .hero-generator-main,
  .glass-card-step,
  .contact-form-wrapper,
  .contact-info-card,
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Zastępujemy szkło jednolitym, ładnym, prawie czarnym kolorem HEX, 
       żeby teksty były wciąż czytelne, a GPU mogło odpocząć */
    background-color: #0c1220 !important; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
  }
  
    /* ---------------------------------------------------
       5. CZYSTKA ELEMENTÓW W TLE (Zero tolerancji)
       --------------------------------------------------- */
    /* Odłączamy elementy dekoracyjne od "nasłuchiwania" na dotyk palca (Hit-Testing) */
    .hero-bg-orb,
    .hero-generator-glow,
    .wallet-glow,
    .cta-glow-1,
    .cta-glow-2,
    .glow-point,
    #preloader,
    .map-wrapper {
      pointer-events: none !important; 
    }
  
    /* Ukrywamy wszystko, co nieustannie pracuje w tle */
    #preloader #traces, 
    #preloader .trace-flow,
    [class*="trace"], 
    [id*="trace"],
    .hero-map-subsection::after,
    .flow-line,
    .node-orbit,
    .radar-bg,
    .radar-wave,
    .flow-dash,
    [class*="orbit"], 
    [class*="pulse"], 
    [class*="wave"],
    .hero-bg-orb,
    .hero-generator-glow,
    .wallet-glow,
    .cta-glow-1,
    .cta-glow-2,
    .glow-point {
      display: none !important;
      animation-name: none !important;
      animation-duration: 0s !important;
    }
  
    /* ---------------------------------------------------
       6. UPROSZCZENIE MAPY I GRAFIKI WEKTOROWEJ (SVG)
       --------------------------------------------------- */
    .pronto-advanced-map, 
    .automation-svg,
    svg {
      filter: none !important;
      transform: none !important;
      animation: none !important;
      /* Zmuszamy SVG do renderowania w niższej, zoptymalizowanej jakości */
      shape-rendering: optimizeSpeed !important; 
    }
  
    /* ---------------------------------------------------
       7. TEKST I ZDJĘCIA (Marginesy wydajności)
       --------------------------------------------------- */
    img {
      /* Przeglądarka renderuje obrazki jako spłaszczone bitmapy, a nie złożone obiekty */
      image-rendering: -webkit-optimize-contrast !important;
    }
  
    h1, h2, h3, p {
      /* Priorytet szybkosci wyswietlania nad idealnym kerningiem (odstępami) */
      text-rendering: optimizeSpeed !important; 
      will-change: opacity;
    }

    #preloader, 
    .preloader-container, 
    [class*="preloader"], 
    [id*="preloader"] {
      display: none !important;
      visibility: hidden !important;
      opacity: 0 !important;
      pointer-events: none !important; /* Gwarantuje, że nie zablokuje kliknięć */
      z-index: -1 !important;
    }

    /* Wymuszamy, aby strona była widoczna od razu (jeśli JS ją ukrywa) */
    body {
      opacity: 1 !important;
      visibility: visible !important;
      overflow-x: hidden !important;
      background-color: #0d121f !important; /* Tło podkładowe */
    }
}

/* =======================================================
   NOWE EKSKLUZYWNE MENU MOBILNE (FULLSCREEN OVERLAY)
   ======================================================= */
   .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* Bezpieczne dla Safari na iOS */
    background: rgba(7, 11, 20, 0.88); /* Oparte na Twoim var(--bg) */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 15; /* Musi być tuż pod .site-header, który ma z-index: 20 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    overflow: hidden;
  }
  
  .mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  /* Dekoracyjne tło */
  .mobile-menu-background {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
  }
  
  .mobile-menu-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    transition: opacity 1s ease, transform 1s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .mobile-menu-orb.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    transform: translate(50px, -50px);
  }
  
  .mobile-menu-orb.orb-2 {
    width: 250px;
    height: 250px;
    background: var(--primary-strong);
    bottom: 5vh;
    left: -100px;
    transform: translate(-50px, 50px);
  }
  
  .mobile-menu-overlay.is-open .mobile-menu-orb {
    opacity: 0.25;
    transform: translate(0, 0);
  }
  
  /* Zawartość */
  .mobile-menu-content {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
  }
  
  .mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 5rem;
  }
  
  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    color: var(--text);
    font-size: clamp(2rem, 8vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    opacity: 0.7;
    font-family: 'Courier New', Courier, monospace;
    margin-top: 8px;
  }
  
  .nav-text {
    position: relative;
    transition: transform 0.3s ease;
  }
  
  .nav-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #8ec0ff, #4f8cff);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
  }
  
  .mobile-nav-item:hover .nav-text,
  .mobile-nav-item:focus .nav-text {
    transform: translateX(10px);
    color: #fff;
  }
  
  .mobile-nav-item:hover .nav-text::after,
  .mobile-nav-item:focus .nav-text::after {
    width: 100%;
  }
  
  /* Animacja wjazdu Kaskadowego (Staggering) */
  .mobile-menu-overlay.is-open .mobile-nav-item {
    opacity: 1;
    transform: translateY(0);
  }
  
  .mobile-menu-overlay.is-open .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; }
  .mobile-menu-overlay.is-open .mobile-nav-item:nth-child(2) { transition-delay: 0.15s; }
  .mobile-menu-overlay.is-open .mobile-nav-item:nth-child(3) { transition-delay: 0.2s; }
  .mobile-menu-overlay.is-open .mobile-nav-item:nth-child(4) { transition-delay: 0.25s; }
  .mobile-menu-overlay.is-open .mobile-nav-item:nth-child(5) { transition-delay: 0.3s; }
  
  /* Stopka menu */
  .mobile-menu-footer {
    margin-top: auto;
    padding-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.4s; /* Ostatnie zjawisko po linkach */
  }
  
  .mobile-menu-overlay.is-open .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
  }
  
  .mobile-menu-info {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
  }
  
  .mobile-socials {
    display: flex;
    gap: 0.6rem;
    align-items: center;
  }
  
  .mobile-socials a {
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
  }
  
  .mobile-socials a:hover {
    color: var(--primary);
  }
  
  .mobile-socials .separator {
    color: var(--muted);
    opacity: 0.4;
  }
  
  /* Wygaszenie starego mobilnego menu oraz blokada scrolla */
  @media (max-width: 760px) {
    /* Ukrywamy poprzednie drop-down menu na telefonach */
    .nav-links {
      display: none !important;
    }
    
    /* Usunięcie domyślnego tła dla otwartego menu, zrobiliśmy overlay */
    .site-header {
      background: rgba(7, 11, 20, 0.9) !important;
    }
  
    /* Klasa dodawana przez JS blokująca scrollowanie strony pod spodem */
    body.menu-open {
      overflow: hidden !important;
      touch-action: none; 
    }
  }

  .mobile-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text);
    transition: color 0.3s, border-color 0.3s, background 0.3s;
  }
  
  .mobile-socials a:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(79, 140, 255, 0.08);
  }
  
  .mobile-socials .separator {
    display: none; /* już niepotrzebny przy ikonkach-kółkach */
  }

  /* =======================================================
   RUBIK SECTION — redesign
   ======================================================= */

@media (max-width: 1023px) {
  .desktop-only { display: none !important; }
}

/* ── SEKCJA ── */
.rubik-section {
  position: relative;
  padding: 130px 20px;
  background: var(--soft-section, #1a1a2e);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* Delikatne linie graniczne sekcji */
.rubik-section::before,
.rubik-section::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--primary, #4f8cff) 40%, transparent),
    transparent
  );
}
.rubik-section::before { top: 0; }
.rubik-section::after  { bottom: 0; }

/* ── TŁO: siatka ── */
.rubik-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.032) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 10%, transparent 72%);
  z-index: -1;
  pointer-events: none;
}

/* ── CONTENT WRAPPER ── */
.rubik-content {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.5rem;
}

/* ── INTRO: eyebrow + nagłówek ── */
.rubik-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 2.5rem;
}

/* Subtelne narożniki nawiązujące do kolorów kostki */
.rubik-intro::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 22px; height: 22px;
  border-top: 2px solid #3498db;
  border-left: 2px solid #3498db;
  opacity: 0.45;
}
.rubik-intro::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 22px; height: 22px;
  border-bottom: 2px solid #e67e22;
  border-right: 2px solid #e67e22;
  opacity: 0.45;
}

.rubik-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary, #4f8cff);
}

.rubik-headline {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.rh-soft {
  display: block;
  color: color-mix(in srgb, var(--text, #fff) 50%, transparent);
  font-weight: 700;
}

.rh-strong {
  display: block;
  font-weight: 900;
  background: linear-gradient(125deg, #3498db 0%, var(--primary, #4f8cff) 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CUBE STAGE ── */
.cube-stage {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dwuwarstwowy halo — inner + outer */
.cube-halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: hue-rotate 20s linear infinite; /* zsynchronizowane z kostką */
}

.cube-halo:not(.cube-halo-outer) {
  inset: 30px;
  background: radial-gradient(circle, rgba(79, 140, 255, 0.28), transparent 65%);
  filter: blur(18px);
}

.cube-halo-outer {
  inset: -10px;
  background: radial-gradient(circle, rgba(52, 152, 219, 0.1), transparent 60%);
  filter: blur(30px);
  animation-direction: reverse;
}

/* Kostka — powiększona */
.rubik-section .container {
  --w: 54px;
  --g: 7px;
  --t: calc(var(--w) + var(--g));
  width: var(--w);
  aspect-ratio: 1;
  perspective: 200px;
  transform-style: preserve-3d;
  margin: 0 auto;
}

.rubik-section .cube {
  --fz: 0;
  --rx: 0;
  --fx: 0;
  --ry: 0;
  --fy: 0;
  position: absolute;
  background: #fffc;
  border: 2px solid black;
  width: var(--w);
  aspect-ratio: 1;
  bottom: calc(var(--w) * -0.5);
  right: calc(var(--w) * -0.5);
  animation:
    rotate 20s linear infinite,
    hue-rotate 20s linear infinite;
  transition: 5s;
  --a: translateZ(calc(0.5 * var(--w)))
    translateX(calc(var(--x) * var(--t) - 0.5 * var(--fy) * var(--w)))
    translateY(calc(var(--y) * var(--t) - 0.5 * var(--fx) * var(--w)))
    translateZ(calc(
      var(--z) * var(--t) - 0.5 * var(--ry) * var(--w) -
      0.5 * var(--rx) * var(--w) - var(--fz) * var(--w)
    ))
    rotateX(calc(90deg * var(--rx))) rotateY(calc(90deg * var(--ry)));
  --p: translateX(calc(-0.5 * var(--w))) translateY(calc(-0.5 * var(--w)))
    translateZ(calc(-0.5 * var(--w)));
}

.rubik-section .cube:hover {
  background: #f00e;
  transition: 0s;
}

/* Keyframes (identyczne z oryginałem) */
@keyframes hue-rotate {
  to { filter: hue-rotate(360deg); }
}

@keyframes rotate {
  0%  { transform: var(--p) rotateZ(0deg)   rotateY(0deg)   rotateX(0deg)   var(--a); }
  to  { transform: var(--p) rotateZ(360deg) rotateY(720deg) rotateX(360deg) var(--a); }
}

/* ── OUTRO: tekst pod kostką ── */
.rubik-outro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
}

.rubik-sub {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted, #888);
  max-width: 44ch;
  line-height: 1.65;
  font-weight: 400;
}

/* Pionowa linia łącząca dwa zdania */
.rubik-outro-rule {
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--primary, #4f8cff) 60%, transparent),
    transparent
  );
}

.rubik-claim {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: var(--primary, #4f8cff);
  letter-spacing: 0.01em;
}
/*______________________MOBILE_DEBUGGING______________________*/
@media (max-width: 768px) {
  /* 1. Ukrycie menu wyboru kursora w wersji mobilnej */
  .control-dropdown[data-dropdown="cursor"] {
    display: none !important;
  }

  /* 2. Ukrycie napisu (NL/EN) oraz małej strzałki w menu językowym */
  .control-dropdown[data-dropdown="language"] .control-label,
  .control-dropdown[data-dropdown="language"] .control-caret {
    display: none !important;
  }

  /* Wyśrodkowanie samej flagi w przycisku języka */
  .control-dropdown[data-dropdown="language"] .control-trigger {
    padding: 0;
    width: 40px; /* Szerokość dopasowana do wysokości zdefiniowanej w Twoim kodzie */
    justify-content: center;
  }
}

/*_________________CONTACT_FORM___________________*/

/* =========================================
   SEKCJA KONTAKTOWA (NOWA)
   ========================================= */
   .contact-section {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 8rem;
  }
  
  .relative-z {
    position: relative;
    z-index: 2;
  }
  
  /* Kule światła (Glow) w tle formularza */
  .contact-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
  }
  
  .contact-bg-orb.orb-1 {
    width: 400px; height: 400px;
    bottom: -100px; right: -100px;
    background: var(--primary);
  }
  
  .contact-bg-orb.orb-2 {
    width: 300px; height: 300px;
    top: 10%; left: -50px;
    background: #b34dff;
  }
  
  /* Układ Grid (Lewa/Prawa strona) */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
  }
  
  /* KARTY INFO */
  .contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .contact-info-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
  }
  
  .contact-info-card:hover {
    background: rgba(79, 140, 255, 0.08);
    border-color: rgba(79, 140, 255, 0.3);
    transform: translateY(-4px);
  }
  
  .contact-icon-glass {
    width: 54px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 14px;
    background: rgba(79, 140, 255, 0.1);
    border: 1px solid rgba(79, 140, 255, 0.2);
    color: var(--primary);
    flex-shrink: 0;
  }
  
  .contact-info-text h4 {
    margin: 0 0 0.2rem;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 700;
  }
  
  .contact-info-text p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--muted);
  }
  
  /* FORMULARZ (GLASSMORPHISM) */
  .contact-form-wrapper {
    background: rgba(17, 26, 47, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 2.5rem;
  }
  
  .pronto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.03em;
  }
  
  .pronto-form input,
  .pronto-form select,
  .pronto-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
  }
  
  .pronto-form textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  /* Stylowanie Selecta */
  .select-wrapper {
    position: relative;
  }
  .pronto-form select {
    appearance: none;
    cursor: pointer;
  }
  .select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
  }
  .pronto-form select option {
    background: var(--surface);
    color: var(--text);
  }
  
  /* Efekty Focus */
  .pronto-form input:focus,
  .pronto-form select:focus,
  .pronto-form textarea:focus {
    background: rgba(79, 140, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.15);
  }
  
  .pronto-form input::placeholder,
  .pronto-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
  }
  
  /* Przycisk wysyłania */
  .form-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem;
    font-size: 1.05rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
  }
  
  /* Responsywność */
  @media (max-width: 860px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
    .form-row {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .contact-form-wrapper {
      padding: 1.8rem;
    }
  }


  .form-status {
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    animation: slideIn 0.4s ease forwards;
  }
  
  .success-msg {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
  }
  
  .error-msg {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
  }
  
  .status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: currentColor;
    color: var(--surface);
    font-weight: bold;
    flex-shrink: 0;
  }
  
  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /*__________FOOTER_________*/

  /* =========================================
   ADVANCED FOOTER (NOWOCZESNA STOPKA)
   ========================================= */
.advanced-footer {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 2rem;
  background: #04070d; /* Jeszcze ciemniejsze tło niż sekcje, by dać kontrast na koniec */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dekoracyjne efekty w tle */
.footer-bg-orb {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.footer-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, transparent, black);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black);
  pointer-events: none;
  z-index: 1;
}

/* Układ główny */
.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

/* Kolumna z Logo */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 32ch;
  margin: 0 0 1.5rem;
}

/* Social Media Ikony */
.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover {
  color: #fff;
  background: rgba(79, 140, 255, 0.15);
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(79, 140, 255, 0.25);
}

/* Kolumny z linkami */
.footer-links-col h4 {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  letter-spacing: 0.02em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-list a,
.cookie-btn {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Animacja najechania na linki */
.footer-links-list a:hover {
  color: var(--primary);
  transform: translateX(6px); /* Przesunięcie w prawo */
}

/* Specjalny przycisk Cookies */
.cookie-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-btn:hover {
  color: var(--text);
}

.cookie-btn svg {
  color: var(--primary);
  transition: transform 0.4s ease;
}

.cookie-btn:hover svg {
  transform: rotate(45deg);
}

/* Dolny pasek (Copyright i Status) */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copyright {
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-location {
  opacity: 0.6;
  position: relative;
  padding-left: 1rem;
}

.footer-location::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* IT/SaaS Widget - "All systems operational" */
.footer-status-widget {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 20, 20, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 999px;
}

.status-ping {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #2ed573;
  border-radius: 50%;
}

.status-ping::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: #2ed573;
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.status-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a4b0be;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* RESPONSIVITY & MOBILE OPTIMIZATION */
@media (max-width: 990px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
  
  .footer-brand-col {
    grid-column: 1 / -1; /* Rozciąga markę na pełną szerokość */
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .advanced-footer {
    padding-top: 4rem;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .footer-brand-col {
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }
  
  .cookie-btn {
    justify-content: center;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-location::before {
    display: none;
  }
  
  .footer-location {
    padding-left: 0;
  }

  /* OPTYMALIZACJA WYDAJNOŚCI NA MOBILE - Wyłączamy animacje "transform" */
  .social-icon:hover {
    transform: none;
    box-shadow: none;
  }
  
  .footer-links-list a:hover {
    transform: none; /* Wyłączamy rozsuwanie linków (często zacina na starych telefonach) */
    color: var(--primary); /* Zostaje tylko zmiana koloru */
  }
}

/* ====================== NAV SEPARATOR & GLOW ====================== */
/* Separator w nawigacji pośrodku */
.nav-separator {
  width: 1px;
  height: 20px;
  background-color: var(--header-border, rgba(255, 255, 255, 0.15));
  margin: 0 12px;
  display: inline-block;
  vertical-align: middle;
}

/* Wygląd dla urządzeń mobilnych - ukrywamy separator w pionowym menu */
@media (max-width: 768px) {
  .nav-separator {
    display: none;
  }
}

/* Efekt podświetlenia aktywnej grupy (nie ingeruje w Twoje animacje bazowe) */
.nav-links a.active-group {
  color: var(--primary, #4f8cff) !important; /* Wymuszenie jaśniejszego koloru */
  text-shadow: 0 0 12px rgba(79, 140, 255, 0.6); /* Delikatna niebieska poświata */
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* ====================== MAGISTRALA DANYCH V5 ====================== */
.tech-transition {
  width: 100%;
  padding: 4rem 0;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
  background: transparent;
}

.data-bus {
  width: 80%;
  max-width: 1100px;
  height: 16px;
  /* Gwarantowana szklana tekstura na każdym urządzeniu */
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
}

.bus-clipper {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden; /* Odpowiada za ucinanie impulsów poza paskiem */
  display: flex;
  align-items: center;
}

/* STRUMIEŃ BINARNY - PERFEKCYJNA PĘTLA */
.binary-stream-infinite {
  display: flex;
  width: max-content; /* Dynamiczna szerokość bazująca na treści */
  white-space: nowrap;
  animation: ultraScroll 15s linear infinite;
  will-change: transform;
}

.binary-set {
  flex-shrink: 0;
  display: flex;
  gap: 15px; /* Odstęp między "paczkami" cyfr */
  padding-right: 15px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 10px;
  letter-spacing: 5px;
  align-items: center;
}

/* Stylizacja 1 i 0 */
.binary-set .o {
  color: var(--primary, #00f0ff);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.6);
  opacity: 1;
  font-weight: 900;
}

.binary-set .z {
  color: #fff;
  opacity: 0.6; /* Bardzo subtelne zera */
}

/* SUBTELNE IMPULSY (PUNKCIKI) */
.photon {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px #fff;
  opacity: 0;
  z-index: 4;
}

.p1 { animation: photonMove 4s infinite linear; }
.p2 { animation: photonMove 6s infinite linear; animation-delay: 2s; }
.p3 { animation: photonMove 5s infinite linear; animation-delay: 3.5s; }

/* ANIMACJE */
@keyframes ultraScroll {
  0% { transform: translateX(0); }
  /* Przesunięcie o dokładnie 1/3, bo mamy 3 identyczne zestawy danych */
  100% { transform: translateX(-33.3333%); }
}

@keyframes photonMove {
  0% { left: -5%; opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { left: 105%; opacity: 0; }
}

@keyframes lightMove {
  0% { left: -20%; }
  100% { left: 120%; }
}

/* WĘZŁY (Subtelne kropki na końcach) */
.bus-node {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #0d1117;
  border: 1px solid var(--primary, #00f0ff);
  border-radius: 50%;
  z-index: 5;
}
.node-left { left: -3px; }
.node-right { right: -3px; }

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
  .data-bus { 
    width: 90%; 
    height: 14px;
    background: rgba(255, 255, 255, 0.03) !important;
  }
  .binary-set { font-size: 8px; gap: 10px; }
}

/* ====================== WERKWIJZE (KRĘGOSŁUP JAKOŚCI) – ZOPTYMALIZOWANY CSS ====================== */
.werkwijze-section {
  position: relative;
  overflow: visible; /* pozwala kręgosłupowi wyjść poza sekcję */
  padding: 6rem 0 2rem;
  background: transparent;
  isolation: isolate;
}
.werkwijze-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
}
.werkwijze-orb-left {
  width: 450px; height: 450px;
  left: -150px; top: 15%;
  background: color-mix(in srgb, var(--primary) 25%, transparent);
}
.werkwijze-orb-right {
  width: 400px; height: 400px;
  right: -120px; bottom: 5%;
  background: color-mix(in srgb, var(--primary-strong) 25%, transparent);
}
.relative-z { position: relative; z-index: 2; }

/* Nagłówek */
.process-spine-header {
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.spine-main-title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin: 0.8rem 0 1rem;
}
.spine-title-line { display: block; }
.spine-title-accent {
  display: block;
  background: linear-gradient(135deg, #7ea8ff 0%, #4f8cff 55%, #2f70ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}
.spine-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  max-width: 55ch;
  margin-inline: auto;
}

/* Kontener mapy */
.treasure-map-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0 4rem;
  margin-top: 1rem;
}

/* SVG kręgosłupa */
.map-path-svg {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: calc(100% + 80px);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.map-path-line,
.map-path-progress {
  transition: stroke-dashoffset 0.08s linear; /* będzie aktualizowane tylko gdy kontener widoczny */
}

/* --- KROKI --- */
.map-step {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(45px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.map-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Pozycjonowanie PC (szerokość > 992px) */
@media (min-width: 993px) {
  .map-step.step-left {
    justify-content: flex-start;
    padding-right: calc(50% + 2rem); /* więcej miejsca na ikonę */
    flex-direction: row;
  }
  .map-step.step-right {
    justify-content: flex-end;
    padding-left: calc(50% + 2rem);
    flex-direction: row-reverse;
  }
  /* Wizualna część (ikona + węzeł) – absolutnie wyśrodkowana na osi */
  .map-step-visual {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 3;
    flex-shrink: 0;
  }
  .map-step.step-left .map-step-visual { flex-direction: row; }
  .map-step.step-right .map-step-visual { flex-direction: row-reverse; }

  /* Karty mają stałą szerokość i nie nachodzą na ikony */
  .map-step-content {
    width: 460px;
    max-width: 90%;
  }
}

/* --- ELEMENTY WIZUALNE --- */
.step-node {
  width: 18px; height: 18px;
  background: var(--bg);
  border: 3px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(79, 140, 255, 0.55), 0 0 0 6px rgba(79, 140, 255, 0.08);
  z-index: 4;
  transition: all 0.4s ease;
  flex-shrink: 0;
}
.step-node-start {
  border-color: #f87171;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.55), 0 0 0 6px rgba(248, 113, 113, 0.08);
}
.step-node-final {
  border-color: #fbbf24;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.6), 0 0 0 8px rgba(251, 191, 36, 0.1);
  animation: nodePulseFinal 2.5s ease-out infinite;
}
@keyframes nodePulseFinal {
  0%, 100% { box-shadow: 0 0 25px rgba(251, 191, 36, 0.6), 0 0 0 6px rgba(251, 191, 36, 0.1); }
  50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.9), 0 0 0 16px rgba(251, 191, 36, 0); }
}
.map-step:hover .step-node { transform: scale(1.4); box-shadow: 0 0 30px rgba(79, 140, 255, 0.8), 0 0 0 10px rgba(79, 140, 255, 0.15); }
.map-step:hover .step-node-start { box-shadow: 0 0 30px rgba(248, 113, 113, 0.8), 0 0 0 10px rgba(248, 113, 113, 0.15); }
.map-step:hover .step-node-final { box-shadow: 0 0 45px rgba(251, 191, 36, 1), 0 0 0 14px rgba(251, 191, 36, 0.15); }

.step-icon-glass {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: rgba(17, 26, 47, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(126, 168, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  margin: 0 1.2rem;
}
.step-icon-glass svg { width: 32px; height: 32px; }
.step-icon-chaos { color: #f87171; border-color: rgba(248, 113, 113, 0.3); }
.step-icon-final { color: #fbbf24; border-color: rgba(251, 191, 36, 0.3); box-shadow: 0 12px 40px rgba(251, 191, 36, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.map-step:hover .step-icon-glass {
  transform: translateY(-6px) scale(1.06);
  border-color: rgba(126, 168, 255, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.map-step:hover .step-icon-chaos { border-color: rgba(248, 113, 113, 0.55); }
.map-step:hover .step-icon-final { border-color: rgba(251, 191, 36, 0.55); box-shadow: 0 20px 50px rgba(251, 191, 36, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1); }

/* Karty */
.glass-card-step {
  padding: 2.2rem 2rem;
  background: rgba(17, 26, 47, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(126, 168, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
  position: relative;
  transition: all 0.4s ease;
  z-index: 2;
}
.glass-card-step:hover {
  transform: translateY(-5px);
  border-color: rgba(126, 168, 255, 0.35);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.5);
}
.empire-card { border-color: rgba(251, 191, 36, 0.2); background: rgba(17, 26, 47, 0.65); }

.step-watermark {
  position: absolute;
  top: -15px; right: -5px;
  font-size: 5.5rem; font-weight: 800;
  color: rgba(255, 255, 255, 0.025);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.map-step.step-right .step-watermark { right: auto; left: -5px; }
.empire-watermark { color: rgba(251, 191, 36, 0.06); }

.step-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 0.6rem;
  position: relative; z-index: 1;
}
.step-tag-gold { color: #fbbf24; }

.step-card-title {
  font-size: 1.35rem; font-weight: 700;
  color: var(--text);
  margin: 0 0 0.8rem;
  line-height: 1.3;
  position: relative; z-index: 1;
}
.empire-card-title {
  background: linear-gradient(135deg, #fcd34d, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
  position: relative; z-index: 1;
}
.step-card-desc strong { color: var(--text); font-weight: 700; }

/* --- RESPONSYWNOŚĆ MOBILNA --- */
@media (max-width: 992px) {
  .map-path-svg { left: 28px; transform: none; width: 60px; }
  .map-step {
    flex-direction: row !important;
    justify-content: flex-start !important;
    padding-left: 65px !important;
    padding-right: 0 !important;
    margin-bottom: 1rem;
  }
  .map-step .map-step-visual {
    position: absolute !important;
    left: 28px !important;
    top: 50%;
    transform: translate(-50%, -50%) !important;
    flex-direction: column !important;
    gap: 0.4rem;
  }
  .step-icon-glass {
    width: 44px; height: 44px;
    border-radius: 13px;
    margin: 0;
  }
  .step-icon-glass svg { width: 22px; height: 22px; }
  .step-node { width: 13px; height: 13px; border-width: 2.5px; }
  .glass-card-step { width: 100%; max-width: 100%; padding: 1.5rem 1.2rem; }
  .step-watermark { font-size: 3.5rem; top: -10px; right: 5px; }
  .step-card-title { font-size: 1.15rem; }
  .step-card-desc { font-size: 0.88rem; }
}

@media (max-width: 576px) {
  .map-path-svg { left: 18px; width: 44px; }
  .map-step { padding-left: 50px !important; }
  .map-step .map-step-visual { left: 18px !important; }
  .step-icon-glass { width: 36px; height: 36px; border-radius: 10px; }
  .step-icon-glass svg { width: 18px; height: 18px; }
  .step-node { width: 10px; height: 10px; border-width: 2px; }
  .glass-card-step { padding: 1.2rem 1rem; }
  .step-watermark { font-size: 2.8rem; top: -8px; right: 3px; }
  .step-card-title { font-size: 1.05rem; }
  .step-card-desc { font-size: 0.82rem; }
  .spine-main-title { font-size: 1.4rem; }
  .spine-subtitle { font-size: 0.88rem; }
}
html, body {
  background-color: #070b14; /* lub dowolny inny kolor pasujący do designu */
}
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}


/* ROZMIAR NAV BARA ___________________________________*/


@media (max-width: 1140px) {
  .fmn-trigger {
    display: flex !important; /* lub block – zależnie od oryginalnego display */
  }
  .nav-links {
    display: none !important;
  }
  .nav-links.open {
    display: flex !important;
  }
  .control-dropdown[data-dropdown="cursor"],
  .control-dropdown[data-dropdown="language"],
  .header-cta,
  .gnb-btn {
    display: none !important;
  }
}
@media (min-width: 1141px) {
  .fmn-trigger {
    display: none !important;
  }
  .nav-links {
    display: flex !important;
  }
}
/* Przycisk GAME – widoczny od 760px w górę */
@media (min-width: 760px) {
  .gnb-btn {
    display: inline-flex !important; /* przywróć oryginalne wyświetlanie */
  }
}

/* Ukrywa starą, nieużywaną nawigację mobilną spod stopki */
.pronto-mobnav-wrapper {
  display: none !important;
}


/* ==============================================
   MANIFESTO SECTION
   Volledig afgestemd op ProntoCore design system.
   Gebruikt: --bg, --bg-soft, --surface, --text, --muted,
             --primary, --primary-strong, --border,
             --eyebrow, --container, --radius, Inter font
   ============================================== */

/* ── LAYOUT ── */
.mf-section {
  position: relative;
  overflow: hidden;
  /* Zachte naadloze overgang met de rest van de pagina */
  background: linear-gradient(
    180deg,
    rgba(17, 26, 47, 0.0) 0%,
    rgba(17, 26, 47, 0.45) 30%,
    rgba(17, 26, 47, 0.45) 70%,
    rgba(17, 26, 47, 0.0) 100%
  );
}

/* Subtiel perspectief-raster als achtergrond */
.mf-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 140, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 140, 255, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Horizontale sierrand boven en onder */
.mf-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 140, 255, 0.25), rgba(0, 212, 170, 0.15), transparent);
  pointer-events: none;
}

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

/* Hoofd-grid: tekst links, visueel rechts */
.mf-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

/* ── EYEBROW ── */
.mf-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.2rem !important;
}

.mf-eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--eyebrow, #7ea8ff);
  flex-shrink: 0;
}

/* ── HEADLINE ── */
.mf-headline {
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
  color: var(--text);
}

/* Elke regel op eigen lijn */
.mf-headline-line {
  display: block;
}

/* Tweede regel: gradient accent */
.mf-headline-line--accent {
  background: linear-gradient(120deg, var(--primary, #4f8cff) 0%, #7ea8ff 60%, #a8c8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── BODY TEKST ── */
.mf-body {
  margin-bottom: 2.5rem;
}

.mf-lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.mf-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1rem;
}

.mf-text:last-child {
  margin-bottom: 0;
}

/* ── KNOPPEN ── */
.mf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.mf-btn-primary {
  background: linear-gradient(135deg, var(--primary, #4f8cff), var(--primary-strong, #2f70ec));
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 8px 20px rgba(47, 112, 236, 0.28);
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius, 16px);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.mf-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(47, 112, 236, 0.42);
}

.mf-btn-ghost {
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius, 16px);
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.mf-btn-ghost:hover {
  transform: translateY(-3px);
}

/* ── VISUEEL BLOK ── */
.mf-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

/* Glow achtergrond bollen */
.mf-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(70px);
}

.mf-orb--blue {
  width: 280px;
  height: 280px;
  background: rgba(79, 140, 255, 0.12);
  top: 10%;
  left: 10%;
}

.mf-orb--teal {
  width: 200px;
  height: 200px;
  background: rgba(0, 212, 170, 0.08);
  bottom: 5%;
  right: 5%;
}

/* ── ROTERENDE RING ── */
.mf-ring-wrap {
  position: relative;
  width: 300px;
  height: 300px;
  flex-shrink: 0;
}

.mf-ring-svg {
  width: 100%;
  height: 100%;
  color: var(--eyebrow, #7ea8ff);
  opacity: 0.55;
  animation: mfRingSpin 28s linear infinite;
  /* GPU-compositing: alleen transform */
  will-change: transform;
}

@keyframes mfRingSpin {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

/* Pauzeer bij prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .mf-ring-svg { animation: none; }
}

/* Centraal icoon in de ring */
.mf-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-center-icon {
  width: 56px;
  height: 56px;
  color: var(--primary, #4f8cff);
  filter: drop-shadow(0 0 16px rgba(79, 140, 255, 0.45));
  animation: mfIconPulse 3.5s ease-in-out infinite;
}

@keyframes mfIconPulse {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(79, 140, 255, 0.45)); }
  50%       { filter: drop-shadow(0 0 28px rgba(79, 140, 255, 0.7)); }
}

@media (prefers-reduced-motion: reduce) {
  .mf-center-icon { animation: none; }
}

/* ── ZWEVENDE KAARTJES ── */
.mf-card {
  position: absolute;
  background: rgba(17, 26, 47, 0.82);
  border: 1px solid var(--border, #223153);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 110px;
}

.mf-card--tl {
  top: 4%;
  left: -2%;
  animation: mfCardFloat 5s ease-in-out infinite;
}

.mf-card--br {
  bottom: 8%;
  right: -4%;
  animation: mfCardFloat 5s ease-in-out infinite 2.5s;
}

@keyframes mfCardFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .mf-card { animation: none; }
}

.mf-card-num {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text, #f4f7ff);
  line-height: 1;
}

.mf-card-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted, #adbbd8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

/* ── PIJLERS (onderin) ── */
.mf-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  padding-top: 3.5rem;
}

.mf-pillar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  /* Ingang animatie — JS voegt .mf--in toe */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--pillar-delay, 0s);
}

.mf-pillar.mf--in {
  opacity: 1;
  transform: none;
}

.mf-pillar-icon {
  color: var(--primary, #4f8cff);
  font-size: 1.1rem;
  line-height: 1;
}

.mf-pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #f4f7ff);
  line-height: 1.3;
}

.mf-pillar-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted, #adbbd8);
  margin: 0;
}

/* ── INGANG ANIMATIES VOOR CONTENT ── */
.mf-content > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--mf-delay, 0s);
}

.mf-section.mf--visible .mf-content > * {
  opacity: 1;
  transform: none;
}

.mf-visual {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.75s ease 0.2s, transform 0.75s ease 0.2s;
}

.mf-section.mf--visible .mf-visual {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .mf-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Visueel blok onder tekst, iets kleiner */
  .mf-visual {
    min-height: 300px;
    transform: translateX(0) translateY(16px);
  }

  .mf-section.mf--visible .mf-visual {
    transform: none;
  }

  .mf-ring-wrap {
    width: 240px;
    height: 240px;
  }

  .mf-card--tl { top: -4%; left: 0; }
  .mf-card--br { bottom: -4%; right: 0; }
}

@media (max-width: 680px) {
  .mf-pillars {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .mf-headline {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .mf-actions {
    flex-direction: column;
  }

  .mf-btn-primary,
  .mf-btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   POPRAWKA: STABILIZACJA WYSOKOŚCI SEKCJI HERO NA URZĄDZENIACH MOBILNYCH
   ========================================================================== */
@media (max-width: 768px) {
  .hero-generator-wrap {
    /* Wymuszamy stałą, bezpieczną wysokość okienka, aby tekst go nie rozpychał */
    height: 170px !important;
    min-height: 170px !important;
  }

  /* Opcjonalnie: rezerwujemy stałą przestrzeń dla samego tekstu */
  #hero-typing-text {
    min-height: 3.6em; 
    display: inline-block;
    vertical-align: top;
  }
}