/* ====== PMB Proud — styles ====== */
/* Paleta oparta na logo: neonowy cyan/blue + deep space dark */

:root {
  --bg: #060d1f;
  --bg-2: #0a1428;
  --surface: #0e1b38;
  --surface-2: #142447;
  --border: rgba(0, 168, 232, 0.18);
  --border-strong: rgba(0, 168, 232, 0.4);

  --text: #e6f3ff;
  --text-dim: #a4b8d0;
  --muted: #7a8ba3;

  --cyan: #00a8e8;
  --cyan-2: #00d4ff;
  --blue: #0077ff;
  --blue-deep: #003a8c;
  --silver: #c8deff;
  --accent: #4cc9f0;

  --glow-cyan: 0 0 24px rgba(0, 168, 232, 0.55);
  --glow-cyan-soft: 0 0 60px rgba(0, 168, 232, 0.25);
  --glow-blue: 0 0 40px rgba(0, 119, 255, 0.4);

  --grad-primary: linear-gradient(135deg, #00a8e8 0%, #0077ff 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 168, 232, 0.15), rgba(0, 119, 255, 0.1));

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
}

/* ===== Light theme (tylko panel admin/client — feature #39) ===== */
[data-theme="light"] {
  --bg: #f3f6fb;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef3fa;
  --border: rgba(20, 50, 90, 0.14);
  --border-strong: rgba(0, 120, 200, 0.45);

  --text: #0f1e33;
  --text-dim: #3d556f;
  --muted: #7a8ba3;

  --cyan: #0077aa;
  --cyan-2: #0099cc;
  --blue: #0066dd;
  --blue-deep: #003872;
  --silver: #5a7896;
  --accent: #0088c8;

  --glow-cyan: 0 0 8px rgba(0, 120, 200, 0.25);
  --glow-cyan-soft: 0 2px 12px rgba(0, 120, 200, 0.12);
  --glow-blue: 0 2px 8px rgba(0, 100, 200, 0.2);

  --grad-primary: linear-gradient(135deg, #0099cc 0%, #0066dd 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 153, 204, 0.08), rgba(0, 102, 221, 0.06));

  color-scheme: light;
}
/* Ukryj neonowe tło/grid/glowy w light mode */
[data-theme="light"] .bg-fx,
[data-theme="light"] .bg-grid,
[data-theme="light"] .bg-glow,
[data-theme="light"] #particles { display: none !important; }
[data-theme="light"] body { background: var(--bg); }
/* Subtelne cienie dla kart w light mode (bez neon glow) */
[data-theme="light"] .admin-sidebar,
[data-theme="light"] .admin-main,
[data-theme="light"] .dash-box,
[data-theme="light"] .modal { box-shadow: 0 2px 12px rgba(0, 30, 60, 0.08); }
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea { background: #fff !important; color: var(--text) !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Tło dekoracyjne ===== */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(1200px 800px at 10% -10%, rgba(0, 119, 255, 0.22), transparent 60%),
    radial-gradient(900px 700px at 90% 10%, rgba(0, 168, 232, 0.18), transparent 60%),
    linear-gradient(180deg, #060d1f 0%, #0a1428 100%);
}

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  animation: grid-drift 60s linear infinite;
}
@keyframes grid-drift {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

.bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.55; pointer-events: none;
}
.bg-glow--1 { width: 500px; height: 500px; background: #00d4ff; top: -150px; left: -120px; animation: float 18s ease-in-out infinite; }
.bg-glow--2 { width: 600px; height: 600px; background: #0077ff; bottom: -200px; right: -150px; animation: float 22s ease-in-out infinite reverse; }
.bg-glow--3 { width: 400px; height: 400px; background: #003a8c; top: 40%; left: 50%; transform: translate(-50%, -50%); animation: pulse-glow 8s ease-in-out infinite; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(40px, -30px); }
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.5; }
}

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 8px 0;
  transition: all .3s var(--ease);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(4, 7, 15, 0.6);
  border-bottom: 1px solid transparent;
  overflow: hidden;
}
.nav.is-scrolled {
  background: rgba(4, 7, 15, 0.85);
  border-bottom-color: var(--border);
  padding: 6px 0;
}

/* Żywe tło menu — poświata pierścieni rozchodzi się od logo na całą szerokość */
.nav::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    ellipse 250% 160% at 12% 50%,
    rgba(0, 212, 255, 0.2) 0%,
    rgba(0, 168, 232, 0.1) 15%,
    rgba(0, 119, 255, 0.05) 35%,
    rgba(0, 80, 180, 0.02) 55%,
    transparent 80%
  );
  pointer-events: none;
  z-index: 0;
  animation: nav-glow 8s ease-in-out infinite;
}

@keyframes nav-glow {
  0%, 100% { opacity: 0.4; }
  25%      { opacity: 1; }
  50%      { opacity: 0.5; }
  75%      { opacity: 0.85; }
}

.nav__inner { position: relative; z-index: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand { display: flex; align-items: center; }
/* Logo bez tła — z mocną neonową poświatą + falami rozchodzącymi się na boki */
.nav__brand { transition: transform .25s var(--ease); position: relative; }
.nav__brand::before {
  content: '';
  position: absolute; inset: -140% -100%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.85), rgba(0, 168, 232, 0.45) 20%, rgba(0, 119, 255, 0.22) 45%, rgba(0, 119, 255, 0.08) 65%, transparent 85%);
  filter: blur(40px);
  z-index: 0;
  animation: welding-flash 5s ease-in-out infinite;
  pointer-events: none;
}
.nav__brand::after {
  content: '';
  position: absolute; inset: -40% -20%;
  background: radial-gradient(circle at 45% 40%, rgba(220, 245, 255, 1), rgba(0, 212, 255, 0.8) 10%, rgba(0, 168, 232, 0.35) 28%, transparent 48%);
  filter: blur(8px);
  z-index: 1;
  opacity: 0;
  animation: welding-spark 3.3s ease-in-out infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Fale — efekt kamienia wrzuconego do wody, rozchodzą się od logo */
.nav__ripples {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.ripple {
  position: absolute;
  top: 50%; left: 50%;
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(0, 212, 255, 0.6);
  box-shadow:
    0 0 16px rgba(0, 212, 255, 0.5),
    inset 0 0 12px rgba(0, 168, 232, 0.35);
  transform: translate(-50%, -50%) scale(0.25);
  opacity: 0;
  animation: ripple-spread 8s infinite cubic-bezier(0.2, 0.6, 0.3, 1);
  mix-blend-mode: screen;
}
.ripple.r1 { animation-delay: 0s; }
.ripple.r2 { animation-delay: 1.6s; }
.ripple.r3 { animation-delay: 3.2s; }
.ripple.r4 { animation-delay: 4.8s; }
.ripple.r5 { animation-delay: 6.4s; }

@keyframes ripple-spread {
  0% {
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 0;
    border-width: 3px;
    border-color: rgba(0, 212, 255, 0.95);
  }
  8% {
    opacity: 0.95;
    border-color: rgba(0, 212, 255, 0.85);
  }
  100% {
    transform: translate(-50%, -50%) scale(5.5);
    opacity: 0;
    border-width: 0.5px;
    border-color: rgba(0, 119, 255, 0);
  }
}

.nav__sparks { position: absolute; inset: -40% -30%; pointer-events: none; z-index: 1; }
.nav-spark {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 6px 2px rgba(0, 212, 255, 1),
    0 0 18px 6px rgba(0, 168, 232, 0.85),
    0 0 36px 12px rgba(0, 119, 255, 0.5);
  opacity: 0;
  animation: spark-flash 2s infinite;
}
.nav-spark.n1 { top: 12%; left: 12%; animation-delay: .2s; animation-duration: 1.6s; }
.nav-spark.n2 { top: 22%; right: 18%; animation-delay: .8s; animation-duration: 2.0s; }
.nav-spark.n3 { bottom: 15%; left: 28%; animation-delay: 1.4s; animation-duration: 1.8s; }
.nav-spark.n4 { bottom: 20%; right: 25%; animation-delay: 1.9s; animation-duration: 2.2s; }
.nav-spark.n5 { top: 50%; left: 50%; animation-delay: 1.1s; animation-duration: 1.5s; }
.nav__logo {
  height: 96px; width: auto;
  filter:
    drop-shadow(0 0 18px rgba(0, 212, 255, 0.85))
    drop-shadow(0 0 42px rgba(0, 168, 232, 0.7))
    drop-shadow(0 0 80px rgba(0, 119, 255, 0.55))
    brightness(1.18) contrast(1.15);
  transition: all .3s var(--ease);
}
.nav.is-scrolled .nav__logo { height: 72px; }
.nav__brand:hover .nav__logo {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 14px rgba(0, 212, 255, 0.8))
    drop-shadow(0 0 32px rgba(0, 168, 232, 0.5))
    brightness(1.18) contrast(1.15);
}

.nav__links { display: flex; align-items: center; gap: 24px; }

/* (Stary lang-switch z nav usunięty — teraz pływający w lang-float) */

/* ===== Floating language switcher (dolny prawy róg) ===== */
.lang-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 8px;
}
.lang-float__current {
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
  display: block;
}
.lang-float__current .flag {
  width: 48px; height: 34px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 119, 255, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.2);
  transition: all .25s var(--ease);
}
.lang-float__current:hover .flag {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 212, 255, 0.7), 0 0 0 2px rgba(0, 212, 255, 0.4);
}
.lang-float__current.is-open .flag {
  box-shadow: 0 8px 26px rgba(0, 212, 255, 0.85), 0 0 0 2px var(--cyan);
}
.lang-float__menu {
  display: none;
  flex-direction: column; gap: 6px;
  padding: 8px;
  background: rgba(10, 19, 40, 0.92);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 212, 255, 0.15);
  min-width: 160px;
}
.lang-float__menu.is-open {
  display: flex;
  animation: langMenuIn .22s var(--ease);
}
@keyframes langMenuIn {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lang-float__opt {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-dim);
  font-size: 14px; font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all .2s var(--ease);
}
.lang-float__opt:hover {
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  border-color: var(--border-strong);
}
.lang-float__opt.is-active {
  background: var(--grad-primary);
  color: #001126;
}

/* Flagi — SVG inline dla najlepszej jakości */
.flag {
  display: inline-block;
  width: 26px; height: 18px;
  border-radius: 3px;
  flex-shrink: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.flag[data-flag="pl"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'><rect width='16' height='5' fill='%23ffffff'/><rect y='5' width='16' height='5' fill='%23dc143c'/></svg>");
}
.flag[data-flag="de"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'><rect width='5' height='1' fill='%23000000'/><rect y='1' width='5' height='1' fill='%23dd0000'/><rect y='2' width='5' height='1' fill='%23ffcc00'/></svg>");
}
.flag[data-flag="en"] {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'><clipPath id='t'><path d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/></clipPath><rect width='60' height='30' fill='%23012169'/><path d='M0,0 L60,30 M60,0 L0,30' stroke='%23ffffff' stroke-width='6'/><path d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/><path d='M30,0 v30 M0,15 h60' stroke='%23ffffff' stroke-width='10'/><path d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/></svg>");
}

@media (max-width: 640px) {
  .lang-float { right: 16px; bottom: 16px; }
  .lang-float__current { width: 48px; height: 48px; }
}

.admin-link {
  font-size: 12px; color: var(--muted); padding: 4px 10px;
  border-radius: 999px; border: 1px solid var(--border);
  transition: all .2s var(--ease);
}
.admin-link:hover { color: var(--cyan); border-color: var(--border-strong); }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--text-dim); position: relative; }
.nav__links a:hover { color: var(--cyan); }
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__burger { display: none; width: 44px; height: 44px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; border-radius: 8px; border: 1px solid var(--border); }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--cyan); transition: all .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BTN ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: all .3s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--grad-primary);
  color: #001126;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5); }
.btn--glow::before {
  content: ''; position: absolute; inset: -2px; border-radius: inherit;
  background: var(--grad-primary); filter: blur(14px); opacity: .5; z-index: -1;
  transition: opacity .3s;
}
.btn--glow:hover::before { opacity: .8; }

.btn--ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn--ghost:hover { background: rgba(0, 212, 255, 0.08); border-color: var(--cyan); color: var(--cyan); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  padding: 180px 0 80px;
  display: flex; align-items: center; position: relative;
}
.hero__inner { text-align: center; max-width: 960px; margin: 0 auto; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-strong);
  font-size: 13px; font-weight: 500;
  color: var(--cyan);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.pulse {
  width: 8px; height: 8px; background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero__title {
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.35);
}

.hero__lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 44px;
}

.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 72px; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 620px; margin: 0 auto;
}
.stat {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(10, 19, 40, 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.stat__num {
  font-family: "Orbitron", sans-serif;
  font-size: 32px; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}
.stat__label { font-size: 13px; color: var(--muted); }

.hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, var(--cyan));
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ===== SECTIONS ===== */
.section { padding: 120px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(10, 19, 40, 0.4), transparent); }

.section__head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid var(--border-strong);
}
.section__title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.section__lead { color: var(--text-dim); font-size: 17px; }

/* ===== CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 19, 40, 0.9), rgba(10, 19, 40, 0.6));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all .4s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad-soft); opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.card--hover:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 212, 255, 0.15);
}
.card--hover:hover::before { opacity: 1; }

.card__icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-family: "Orbitron", sans-serif; font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 15px; margin-bottom: 18px; }
.card__list { list-style: none; }
.card__list li {
  padding-left: 24px; position: relative; font-size: 14px; color: var(--text-dim);
  margin-bottom: 8px;
}
.card__list li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 12px; height: 2px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
}

/* ===== PRODUCTS ===== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip {
  padding: 9px 20px; border-radius: 999px;
  background: rgba(10, 19, 40, 0.6);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px; font-weight: 500;
  transition: all .25s var(--ease);
}
.chip:hover { color: var(--cyan); border-color: var(--border-strong); }
.chip--active { background: var(--grad-primary); color: #001126; border-color: transparent; box-shadow: 0 4px 16px rgba(0, 212, 255, 0.3); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(10, 19, 40, 0.9), rgba(7, 12, 26, 0.9));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all .4s var(--ease);
}
.product:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0, 212, 255, 0.15); }

.product__visual {
  aspect-ratio: 16/10;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(0, 119, 255, 0.25), transparent 70%), #060a16;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.product__icon {
  font-size: 56px; font-family: "Orbitron", sans-serif; font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
  letter-spacing: -0.05em;
}
.product__tag {
  position: absolute; top: 14px; left: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(0, 212, 255, 0.15); color: var(--cyan);
  border: 1px solid var(--border-strong);
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.product__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product__title { font-family: "Orbitron", sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product__desc { font-size: 14px; color: var(--text-dim); margin-bottom: 18px; flex: 1; }
.product__meta { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--border); }
.product__price { font-family: "Orbitron", sans-serif; font-size: 20px; font-weight: 700; color: var(--cyan); }
.product__price.free { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== TECH ===== */
.tech { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; max-width: 1000px; margin: 0 auto; }
.tech__item {
  padding: 20px 16px;
  border-radius: var(--radius);
  background: rgba(10, 19, 40, 0.5);
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 600; font-size: 14px; color: var(--text-dim);
  transition: all .3s var(--ease);
  position: relative; overflow: hidden;
}
.tech__item::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad-soft); opacity: 0; transition: opacity .3s;
}
.tech__item span { position: relative; }
.tech__item:hover { transform: translateY(-3px); color: var(--cyan); border-color: var(--border-strong); }
.tech__item:hover::before { opacity: 1; }

/* ===== ABOUT ===== */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.about__text .section__title { text-align: left; margin-bottom: 24px; }
.about__text .eyebrow { display: inline-block; }
.about__text p { color: var(--text-dim); font-size: 16px; margin-bottom: 18px; }
.about__features { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }
.feat { display: flex; gap: 18px; align-items: flex-start; }
.feat__num {
  flex-shrink: 0;
  font-family: "Orbitron", sans-serif; font-weight: 800; font-size: 14px;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--cyan);
}
.feat strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--text); }
.feat p { font-size: 14px; color: var(--text-dim); margin: 0; }

.about__visual { display: flex; justify-content: center; align-items: center; position: relative; min-height: 480px; overflow: visible; }
.hex-frame {
  position: relative; width: 100%; max-width: 560px;
  aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
}
/* Poświata spawania — pulsujący, nieregularny rozbłysk */
.hex-frame::before {
  content: '';
  position: absolute; inset: -25%;
  background:
    radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.55), rgba(0, 119, 255, 0.25) 30%, transparent 65%),
    radial-gradient(circle at 30% 40%, rgba(0, 168, 232, 0.35), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(0, 119, 255, 0.3), transparent 45%);
  filter: blur(50px);
  z-index: 0;
  animation: welding-flash 5s ease-in-out infinite;
}
/* Druga warstwa — ostra "iskra" przy rozbłysku */
.hex-frame::after {
  content: '';
  position: absolute; inset: -10%;
  background: radial-gradient(circle at 45% 35%, rgba(200, 240, 255, 0.9), rgba(0, 212, 255, 0.5) 8%, transparent 18%);
  filter: blur(8px);
  z-index: 1;
  opacity: 0;
  animation: welding-spark 3.3s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes welding-flash {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  8% { opacity: 0.6; }
  10% { opacity: 1; transform: scale(1.08); }
  11% { opacity: 0.5; }
  15% { opacity: 0.9; transform: scale(1.04); }
  16% { opacity: 0.4; }
  32% { opacity: 0.8; transform: scale(1.06); }
  33% { opacity: 0.35; }
  50% { opacity: 0.9; transform: scale(1.1); }
  51% { opacity: 0.4; }
  67% { opacity: 1; transform: scale(1.08); }
  68% { opacity: 0.45; }
  82% { opacity: 0.75; transform: scale(1.05); }
  84% { opacity: 0.4; transform: scale(1); }
}

@keyframes welding-spark {
  0%, 100% { opacity: 0; }
  9%  { opacity: 0; }
  10% { opacity: 1; }
  12% { opacity: 0.2; }
  13% { opacity: 0.9; }
  15% { opacity: 0; }
  49% { opacity: 0; }
  50% { opacity: 1; }
  52% { opacity: 0; }
  66% { opacity: 0; }
  67% { opacity: 1; }
  70% { opacity: 0.3; }
  71% { opacity: 1; }
  72% { opacity: 0; }
}

/* Iskry elektryczne — rozbudowany efekt z wylatywaniem poza logo */
.logo-sparks {
  position: absolute;
  inset: -40%;   /* wychodzi poza logo — iskry mogą lecieć dalej */
  pointer-events: none; z-index: 1;
  overflow: visible;
}
.spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 6px 2px rgba(0, 212, 255, 0.95),
    0 0 18px 6px rgba(0, 168, 232, 0.7),
    0 0 36px 10px rgba(0, 119, 255, 0.4);
  opacity: 0;
  animation: spark-flash 1.8s infinite;
}
.spark.s1  { top: 8%;  left: 18%; animation-delay: 0s;    animation-duration: 1.4s; }
.spark.s2  { top: 14%; left: 72%; animation-delay: .3s;   animation-duration: 2.1s; }
.spark.s3  { top: 42%; left: 6%;  animation-delay: .7s;   animation-duration: 1.7s; }
.spark.s4  { top: 48%; left: 88%; animation-delay: 1.1s;  animation-duration: 1.9s; }
.spark.s5  { top: 78%; left: 22%; animation-delay: .5s;   animation-duration: 2.3s; }
.spark.s6  { top: 86%; left: 66%; animation-delay: 1.5s;  animation-duration: 1.6s; }
.spark.s7  { top: 22%; left: 52%; animation-delay: .9s;   animation-duration: 2.5s; }
.spark.s8  { top: 64%; left: 40%; animation-delay: 1.8s;  animation-duration: 1.5s; }
.spark.s9  { top: 5%;  left: 50%; animation-delay: 2.0s;  animation-duration: 1.8s; }
.spark.s10 { top: 92%; left: 50%; animation-delay: .4s;   animation-duration: 2.2s; }
.spark.s11 { top: 35%; left: 78%; animation-delay: 1.3s;  animation-duration: 1.4s; }
.spark.s12 { top: 55%; left: 14%; animation-delay: 1.7s;  animation-duration: 2.0s; }

@keyframes spark-flash {
  0%, 49%    { opacity: 0; transform: scale(0.5); }
  50%, 52%   { opacity: 1; transform: scale(1.4); }
  53%, 55%   { opacity: 0.2; transform: scale(0.9); }
  56%, 57%   { opacity: 0.95; transform: scale(1.2); }
  58%, 100%  { opacity: 0; transform: scale(0.6); }
}

/* Wideo z wyładowaniami jako tło logo w sekcji "O nas" */
.logo-bg-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 1;
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, rgba(0,0,0,0.9) 25%, rgba(0,0,0,0.5) 42%, rgba(0,0,0,0.15) 55%, transparent 70%);
          mask-image: radial-gradient(circle at center, #000 0%, rgba(0,0,0,0.9) 25%, rgba(0,0,0,0.5) 42%, rgba(0,0,0,0.15) 55%, transparent 70%);
  filter: brightness(1.12);
}

/* FLY-SPARK — iskry wylatujące na zewnątrz logo (jak iskry spawania) */
.fly-spark {
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow:
    0 0 8px 2px rgba(255, 255, 255, 0.95),
    0 0 16px 5px rgba(0, 212, 255, 0.9),
    0 0 28px 10px rgba(0, 168, 232, 0.5);
  opacity: 0;
  animation: fly 2.6s infinite;
}
/* Różne kierunki wylotu — --dx/--dy to współrzędne docelowe */
.fly-spark.f1  { --dx: 180px;  --dy: -160px; animation-delay: 0s;   animation-duration: 1.9s; }
.fly-spark.f2  { --dx: -200px; --dy: -140px; animation-delay: .3s;  animation-duration: 2.3s; }
.fly-spark.f3  { --dx: 220px;  --dy: 90px;   animation-delay: .7s;  animation-duration: 2.1s; }
.fly-spark.f4  { --dx: -230px; --dy: 110px;  animation-delay: 1.1s; animation-duration: 2.0s; }
.fly-spark.f5  { --dx: 40px;   --dy: -220px; animation-delay: 1.5s; animation-duration: 1.7s; }
.fly-spark.f6  { --dx: -70px;  --dy: 230px;  animation-delay: 1.9s; animation-duration: 2.4s; }
.fly-spark.f7  { --dx: 260px;  --dy: -40px;  animation-delay: 2.2s; animation-duration: 1.8s; }
.fly-spark.f8  { --dx: -270px; --dy: 50px;   animation-delay: 2.5s; animation-duration: 2.2s; }
.fly-spark.f9  { --dx: 150px;  --dy: -240px; animation-delay: .5s;  animation-duration: 2.5s; }
.fly-spark.f10 { --dx: -180px; --dy: -210px; animation-delay: 2.8s; animation-duration: 2.0s; }
.fly-spark.f11 { --dx: 120px;  --dy: 250px;  animation-delay: 1.3s; animation-duration: 2.3s; }
.fly-spark.f12 { --dx: -140px; --dy: 240px;  animation-delay: 3.1s; animation-duration: 1.9s; }

@keyframes fly {
  0%         { opacity: 0; transform: translate(0, 0) scale(0.4); }
  4%         { opacity: 1; transform: translate(0, 0) scale(1.6); }
  10%        { opacity: 1; transform: translate(calc(var(--dx) * 0.3), calc(var(--dy) * 0.3)) scale(1.2); }
  40%        { opacity: 0.7; transform: translate(calc(var(--dx) * 0.7), calc(var(--dy) * 0.7)) scale(0.9); }
  70%        { opacity: 0.3; transform: translate(var(--dx), var(--dy)) scale(0.5); }
  100%       { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.2); }
}

/* (Stary .bolt usunięty — zastąpiony przez SVG .tesla-bolts) */
/* Logo w sekcji "O nas" — bez tła/panelu, samo logo */
.logo-light-panel { background: none !important; padding: 0 !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.logo-light-panel::before { display: none; }
.hex-frame img {
  width: 100%; height: auto;
  filter:
    drop-shadow(0 0 30px rgba(0, 168, 232, 0.6))
    drop-shadow(0 0 70px rgba(0, 119, 255, 0.4))
    brightness(1.1) contrast(1.08);
  position: relative; z-index: 2;
}

/* Film promocyjny w sekcji "O nas" */
.about-promo-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 30, 80, 0.5), 0 0 40px rgba(0, 168, 232, 0.25);
}
.hex-frame { overflow: visible; }
.hex-ring, .hex-ring--2 { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 24px;
  background:
    radial-gradient(ellipse at center, rgba(0, 212, 255, 0.15), transparent 70%),
    linear-gradient(180deg, rgba(10, 19, 40, 0.6), rgba(14, 27, 56, 0.6));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner__inner { text-align: center; max-width: 760px; }
.cta-banner h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.2;
  margin-bottom: 14px;
}
.cta-banner p { color: var(--text-dim); margin-bottom: 28px; font-size: 17px; }

/* ===== CONTACT ===== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.contact__info .section__title { text-align: left; margin-bottom: 20px; }
.contact__info .eyebrow { display: inline-block; }
.contact__info > p { color: var(--text-dim); margin-bottom: 32px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.contact__list li {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: rgba(10, 19, 40, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-dim);
  transition: all .25s;
}
.contact__list li:hover { border-color: var(--border-strong); color: var(--text); }
.contact__list svg { color: var(--cyan); flex-shrink: 0; }
.contact__list a { color: inherit; }

.contact__form {
  padding: 36px;
  background: linear-gradient(180deg, rgba(10, 19, 40, 0.85), rgba(7, 12, 26, 0.85));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  padding: 14px 16px;
  background: rgba(4, 7, 15, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit; font-size: 15px;
  transition: all .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 14px; text-align: center; color: var(--cyan); min-height: 20px; }
.form-note.error { color: #ff5c7a; }

/* ===== FOOTER ===== */
.footer { padding: 72px 0 28px; border-top: 1px solid var(--border); margin-top: 80px; background: rgba(4, 7, 15, 0.6); }
.footer__inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.footer__col--brand { max-width: 320px; }
.footer__logo {
  height: 120px; margin-bottom: 16px;
  filter:
    drop-shadow(0 0 12px rgba(0, 168, 232, 0.55))
    drop-shadow(0 0 30px rgba(0, 119, 255, 0.35))
    brightness(1.12) contrast(1.1);
}
.footer__col--brand p { color: var(--muted); font-size: 14px; }
.footer__col h4 { font-family: "Orbitron", sans-serif; font-size: 13px; font-weight: 700; margin-bottom: 18px; color: var(--text); letter-spacing: 0.1em; text-transform: uppercase; }
.footer__col a { display: block; font-size: 14px; color: var(--text-dim); margin-bottom: 10px; transition: color .25s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 12px;
}

/* ===== REVEAL ANIM ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .about, .contact { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hex-frame { width: 100%; max-width: 400px; margin: 0 auto; }
  .about-promo-video { border-radius: 14px; }
}

/* ===== MOBILE — immersyjny, wizualnie atrakcyjny ===== */
@media (max-width: 768px) {
  /* Ogólne */
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }

  /* NAV — kompaktowy. Wyłączamy backdrop-filter i overflow:hidden bo one
     psują pozycjonowanie fullscreen menu (fixed children traktują nav
     jako containing block gdy rodzic ma filter/backdrop-filter). */
  .nav {
    padding: 6px 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
  }
  .nav.is-scrolled { padding: 4px 0; }
  .nav__logo { height: 56px; }
  .nav.is-scrolled .nav__logo { height: 48px; }
  .nav__burger { display: flex; position: relative; z-index: 102; }
  .nav__brand::before { inset: -80% -40%; }

  .nav__links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 0;
    padding: 100px 32px 60px;
    background: rgba(4, 7, 15, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(-10px); opacity: 0; pointer-events: none;
    transition: all .4s var(--ease);
    z-index: 101;
    overflow-y: auto;
    /* Animowany gradient w tle menu mobilnego */
    background-image:
      radial-gradient(circle at 30% 20%, rgba(0, 168, 232, 0.12), transparent 50%),
      radial-gradient(circle at 70% 80%, rgba(0, 119, 255, 0.1), transparent 50%);
  }
  /* Blokuj scroll body gdy menu otwarte */
  body.nav-open { overflow: hidden; }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    letter-spacing: 0.03em;
  }
  .nav__links a:last-child { border-bottom: none; margin-top: 20px; }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn--primary { padding: 16px 32px; font-size: 18px; border-radius: 999px; width: 100%; }

  /* HERO — dramatyczny, pełnoekranowy */
  .hero { padding: 130px 0 50px; min-height: 100vh; min-height: 100dvh; }
  .hero__inner { text-align: center; }
  .hero__title { font-size: clamp(30px, 8vw, 48px); line-height: 1.1; }
  .hero__lead { font-size: 15px; padding: 0 8px; }
  .hero__badge { font-size: 12px; padding: 7px 14px; }
  .hero__cta { flex-direction: column; gap: 12px; }
  .hero__cta .btn { width: 100%; padding: 16px 24px; font-size: 16px; }
  .hero__stats {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px;
  }
  .stat {
    padding: 18px;
    display: flex; align-items: center; gap: 14px;
    border-radius: 14px;
  }
  .stat__num { font-size: 28px; margin-bottom: 0; }
  .stat__label { font-size: 13px; text-align: left; }
  .hero__scroll { display: none; }

  /* SEKCJE — nagłówki wyraziste */
  .section__head { margin-bottom: 48px; }
  .section__title { font-size: clamp(24px, 6vw, 36px); }
  .section__lead { font-size: 15px; }
  .eyebrow { font-size: 11px; padding: 5px 12px; }

  /* KARTY usług — efekt stack z cieniem */
  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card {
    padding: 28px 22px;
    border-radius: 18px;
    /* Cień z neonowym akcentem na mobile */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border);
  }
  .card__icon { width: 48px; height: 48px; border-radius: 12px; margin-bottom: 18px; }
  .card__icon svg { width: 24px; height: 24px; }
  .card h3 { font-size: 18px; }

  /* PRODUKTY */
  .products { grid-template-columns: 1fr; gap: 16px; }
  .filters { gap: 8px; }
  .chip { padding: 8px 14px; font-size: 13px; }
  .product { border-radius: 18px; }
  .product__visual { aspect-ratio: 16/8; }
  .product__icon { font-size: 42px; }
  .product__title { font-size: 16px; }
  .product__price { font-size: 18px; }

  /* TECHNOLOGIE — scroll horyzontalny */
  .tech {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .tech__item {
    min-width: 120px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 16px 14px;
  }

  /* O NAS */
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__text .section__title { text-align: center; }
  .about__text .eyebrow { text-align: center; display: block; }
  .about__text p { text-align: center; }
  .about__features { gap: 16px; }
  .feat__num { width: 38px; height: 38px; font-size: 12px; }
  .hex-frame { width: 100%; max-width: 340px; margin: 0 auto; }
  .about-promo-video { border-radius: 12px; }

  /* CTA */
  .cta-banner { padding: 60px 18px; }
  .cta-banner h2 { font-size: clamp(22px, 5.5vw, 34px); }

  /* KONTAKT */
  .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact__info .section__title { text-align: center; }
  .contact__info .eyebrow { text-align: center; display: block; }
  .contact__info > p { text-align: center; }
  .contact__form { padding: 22px; border-radius: 18px; }
  .field input, .field select, .field textarea { padding: 14px 14px; font-size: 16px; border-radius: 10px; }

  /* FOOTER */
  .footer__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__col--brand { max-width: none; }
  .footer__logo { margin: 0 auto 12px; }
  .footer__col h4 { margin-bottom: 12px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Floating flag — mniejszy i wyżej żeby nie kolidował z klawiaturą */
  .lang-float { right: 14px; bottom: 14px; }
  .lang-float__current .flag { width: 38px; height: 28px; }

  /* Ripple rings — mniejsze na mobile */
  .ripple { width: 60px; height: 60px; }

  /* Sparks — mniejsze na mobile */
  .nav__sparks { display: none; }
}

/* ===== MAŁE TELEFONY ===== */
@media (max-width: 400px) {
  .hero__title { font-size: 28px; }
  .nav__logo { height: 46px; }
  .nav.is-scrolled .nav__logo { height: 38px; }
  .stat { padding: 14px; }
  .stat__num { font-size: 24px; }
  .card { padding: 22px 18px; }
  .section { padding: 48px 0; }
  .container { padding: 0 14px; }
}

/* ===== Chatbot widget (feature #12) ===== */
.chatbot__fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 95;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001822;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 168, 232, 0.5), 0 0 60px rgba(0, 168, 232, 0.3);
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.chatbot__fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 168, 232, 0.7), 0 0 80px rgba(0, 168, 232, 0.4);
}
.chatbot__fab::after {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  opacity: 0;
  animation: chatbotPulse 2s infinite;
}
@keyframes chatbotPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chatbot__panel {
  position: fixed; bottom: 100px; right: 24px; z-index: 96;
  width: 380px; max-width: calc(100vw - 48px);
  height: 560px; max-height: calc(100vh - 140px);
  background: linear-gradient(180deg, rgba(10, 19, 40, 0.98), rgba(7, 12, 26, 0.98));
  border: 1px solid rgba(0, 168, 232, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(0, 168, 232, 0.15);
  display: flex; flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.chatbot__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(0, 168, 232, 0.2);
  background: rgba(0, 168, 232, 0.05);
}
.chatbot__title { font-family: 'Orbitron', sans-serif; font-weight: 600; font-size: 15px; color: var(--cyan); }
.chatbot__close {
  width: 28px; height: 28px; border-radius: 50%;
  background: transparent; color: var(--text-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .2s, color .2s;
}
.chatbot__close:hover { background: rgba(255, 92, 122, 0.15); color: #ff5c7a; }

.chatbot__messages {
  flex: 1; overflow-y: auto;
  padding: 16px 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.chatbot__messages::-webkit-scrollbar { width: 6px; }
.chatbot__messages::-webkit-scrollbar-thumb { background: rgba(0, 168, 232, 0.3); border-radius: 3px; }

.chatbot__msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px; line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.chatbot__msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001822;
  border-bottom-right-radius: 2px;
}
.chatbot__msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 2px;
}
.chatbot__msg--typing { opacity: 0.6; font-style: italic; }

.chatbot__suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 14px 8px;
}
.chatbot__suggestion {
  padding: 6px 12px;
  background: rgba(0, 168, 232, 0.08);
  border: 1px solid rgba(0, 168, 232, 0.25);
  border-radius: 999px;
  font-size: 12px; color: var(--cyan);
  cursor: pointer; transition: background .2s;
}
.chatbot__suggestion:hover { background: rgba(0, 168, 232, 0.18); }

.chatbot__form {
  display: flex; gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 168, 232, 0.2);
  background: rgba(0, 0, 0, 0.2);
}
.chatbot__form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 168, 232, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-family: inherit; font-size: 14px;
}
.chatbot__form input:focus { outline: none; border-color: var(--cyan); }
.chatbot__form button {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001822;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .2s;
  flex-shrink: 0;
}
.chatbot__form button:hover:not(:disabled) { transform: scale(1.05); }
.chatbot__form button:disabled { opacity: 0.5; cursor: not-allowed; }
.chatbot__footer {
  text-align: center; padding: 6px; font-size: 10px; color: var(--muted);
  background: rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  .chatbot__fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .chatbot__panel { bottom: 82px; right: 12px; left: 12px; width: auto; height: calc(100vh - 110px); }
}

/* Ukryj lang-float gdy chatbot panel open (mobile konflikt) */
@media (max-width: 480px) {
  .chatbot__panel:not([hidden]) ~ .lang-float { display: none; }
}

/* ===== Announce banner (feature #19) ===== */
.announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.announce--info     { background: linear-gradient(90deg, #003b5c, #004e7a); color: #e0f6ff; }
.announce--promo    { background: linear-gradient(90deg, #00d4ff, #0088cc); color: #001822; }
.announce--warning  { background: linear-gradient(90deg, #b38600, #cc9900); color: #fff; }
.announce--critical { background: linear-gradient(90deg, #c0392b, #e74c3c); color: #fff; }
.announce__text { flex: 0 1 auto; }
.announce__link {
  color: inherit;
  text-decoration: underline;
  font-weight: 700;
  white-space: nowrap;
}
.announce__link:hover { opacity: 0.8; }
.announce__close {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  opacity: 0.6;
  transition: opacity .2s;
}
.announce__close:hover { opacity: 1; }
@media (max-width: 640px) { .announce { font-size: 12px; padding: 8px 12px; } }

/* Gdy banner widoczny — nav i body przesuwają się pod niego */
body:has(.announce:not([hidden])) .nav { top: 44px; }
body:has(.announce:not([hidden])) { padding-top: 44px; }
@media (max-width: 640px) {
  body:has(.announce:not([hidden])) .nav { top: 36px; }
  body:has(.announce:not([hidden])) { padding-top: 36px; }
}

/* ===== Booking Cal.com (feature #6) ===== */
.booking { padding: 80px 0; position: relative; }
.booking__body { max-width: 1000px; margin: 40px auto 0; text-align: center; }
.booking__body iframe {
  width: 100%; min-height: 700px;
  border: 1px solid rgba(0,212,255,.2);
  border-radius: 14px;
  background: #0a1428;
}
.booking__btn-wrap {
  display: flex; justify-content: center; padding: 40px 0;
}
@media (max-width: 640px) {
  .booking { padding: 50px 0; }
  .booking__body iframe { min-height: 600px; }
}

/* ===== Kalkulator wyceny (feature #4) ===== */
.calc { padding: 80px 0; position: relative; }
.calc__grid { max-width: 1000px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 40px; }
.calc__step { }
.calc__step-title {
  display: flex; align-items: center; gap: 14px;
  font-family: 'Orbitron', sans-serif;
  font-size: 18px; font-weight: 600;
  margin-bottom: 20px; color: var(--text);
}
.calc__step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #001822; font-weight: 900; font-size: 16px;
}
.calc__options { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.calc__option {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(0,212,255,.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  color: var(--text);
  font-family: inherit;
}
.calc__option:hover { border-color: rgba(0,212,255,.45); background: rgba(0,212,255,.04); }
.calc__option.is-selected {
  border-color: var(--cyan);
  background: rgba(0,212,255,.08);
  box-shadow: 0 0 20px rgba(0,212,255,.15);
}
.calc__option-name { font-weight: 600; font-size: 15px; }
.calc__option-price { font-size: 12px; color: var(--text-dim); font-family: 'Inter', sans-serif; }

.calc__summary {
  max-width: 1000px; margin: 40px auto 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(0,212,255,.06), rgba(0,119,255,.04));
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 14px;
  box-shadow: 0 0 40px rgba(0,212,255,.1);
}
.calc__summary-grid {
  display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px; align-items: center;
}
.calc__summary-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.calc__summary-value { font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: 700; color: var(--cyan); }
.calc__summary-cta { text-align: right; }
.calc__disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); font-style: italic; }

@media (max-width: 720px) {
  .calc__summary-grid { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .calc__summary-cta { text-align: center; }
}
@media (max-width: 640px) {
  .calc { padding: 50px 0; }
  .calc__options { grid-template-columns: 1fr; }
  .calc__step-title { font-size: 16px; }
  .calc__summary { padding: 20px; }
  .calc__summary-value { font-size: 20px; }
}

/* ===== FAQ (feature #15) ===== */
.faq { padding: 80px 0; position: relative; }
.faq__list { max-width: 820px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .25s, background .25s;
}
.faq__item[open] {
  background: rgba(0, 212, 255, 0.04);
  border-color: rgba(0, 212, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.08);
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--cyan); }
.faq__chev {
  flex-shrink: 0;
  color: var(--cyan);
  transition: transform .3s ease;
}
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a {
  padding: 0 22px 20px;
  color: var(--text-dim);
  line-height: 1.7;
  font-size: 15px;
}
@media (max-width: 640px) {
  .faq { padding: 50px 0; }
  .faq__q { font-size: 14px; padding: 14px 16px; }
  .faq__a { padding: 0 16px 16px; font-size: 14px; }
}

/* ===== UTILITIES ===== */
::selection { background: rgba(0, 212, 255, 0.35); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #060a16; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--cyan), var(--blue)); border-radius: 10px; border: 2px solid #060a16; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }
