/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #000;
  --white:    #fff;

  /* orbit accent colors (inner → middle → outer) */
  --c-inner:  #4a9eff;
  --c-middle: #a78bfa;
  --c-outer:  #2dd4bf;

  --text:     rgba(255,255,255,0.9);
  --muted:    rgba(255,255,255,0.32);
  --border:   rgba(255,255,255,0.06);
}

html, body { height: 100%; scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--c-inner); }

.nav-links { display: flex; gap: 2rem; }

.nav-links a {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: rgba(255,255,255,0.90); }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-inner);
  letter-spacing: 0.02em;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(74,158,255,0.3);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  background: rgba(74,158,255,0.1);
  border-color: rgba(74,158,255,0.6);
  color: #fff;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, opacity 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--c-inner);
  color: #000;
  border-color: var(--c-inner);
}

.btn-primary:hover {
  background: #6fb3ff;
  border-color: #6fb3ff;
  box-shadow: 0 0 20px rgba(74,158,255,0.35);
}

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

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.38);
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 2rem;
  padding: 7rem 3.5rem 3rem;
  overflow: hidden;
  animation: fade-in 0.8s ease both;
}

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ambient light behind entire scene */
.bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110vmax;
  height: 110vmax;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(74,158,255,0.045) 0%,
    transparent 55%
  );
  pointer-events: none;
}

/* ─── HERO TEXT ──────────────────────────────────────────────────────────── */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  z-index: 2;
  animation: slide-up 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-inner);
}

.hero-heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

.hero-sub-link {
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: color 0.2s, border-color 0.2s;
}
.hero-sub-link:hover {
  color: var(--c-outer);
  border-bottom-color: var(--c-outer);
}

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

.hero-service-link {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
  transition: color 0.22s;
}
.hero-service-link:hover { color: var(--c-outer); }

.hero-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin-top: 0.9rem;
}

.hero-hint {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.52);
  letter-spacing: 0.04em;
  margin-top: 1rem;
  animation: fade-in 1s ease 0.8s both;
}

/* ─── PULSE DOT ──────────────────────────────────────────────────────────── */
.pulse-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-inner);
  box-shadow: 0 0 8px rgba(74,158,255,0.8);
  animation: dot-pulse 2.2s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ─── SCENE ──────────────────────────────────────────────────────────────── */
/*
  All size-dependent values use --size so they scale automatically.
  Radius factors match JS:
    inner  → rf=0.20  → track diameter = 2×0.20 = 0.40
    middle → rf=0.325 → track diameter = 2×0.325 = 0.65
    outer  → rf=0.45  → track diameter = 2×0.45  = 0.90
*/
.scene {
  --size:        min(680px, 44vw, 74vh);
  --planet-size: max(44px, calc(var(--size) * 0.083));
  --icon-size:   max(16px, calc(var(--size) * 0.033));

  position: relative;
  width:  var(--size);
  height: var(--size);
  flex-shrink: 0;
  justify-self: center;
  animation: scene-in 1s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

@keyframes scene-in {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ─── ECLIPSE PHOTO — za orbitami, pod logo ─────────────────────────────── */
.eclipse-bg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width:  calc(var(--size) * 0.26);
  height: calc(var(--size) * 0.26);
  pointer-events: none;
  z-index: 2;
}

/* ─── ORBIT TRACKS ───────────────────────────────────────────────────────── */
.orbit-track {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.track-inner {
  width:  calc(var(--size) * 0.40);
  height: calc(var(--size) * 0.40);
  border: 1px solid rgba(74,158,255,0.28);
}

.track-middle {
  width:  calc(var(--size) * 0.65);
  height: calc(var(--size) * 0.65);
  border: 1px solid rgba(74,158,255,0.20);
}

.track-outer {
  width:  calc(var(--size) * 0.90);
  height: calc(var(--size) * 0.90);
  border: 1px solid rgba(74,158,255,0.12);
}

/* ─── CENTER GLOWS ───────────────────────────────────────────────────────── */
.center-glow,
.center-glow-tight {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.center-glow {
  width:  calc(var(--size) * 0.46);
  height: calc(var(--size) * 0.46);
  background: radial-gradient(circle,
    transparent 50%,
    rgba(47,139,255,0.03) 65%,
    rgba(47,139,255,0.05) 76%,
    transparent 92%
  );
}

.center-glow-tight {
  width:  calc(var(--size) * 0.17);
  height: calc(var(--size) * 0.17);
  background: transparent;
}

/* ─── LOGO HALO — eclipse disk + corona ─────────────────────────────────── */
.logo-halo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width:  calc(var(--size) * 0.195);
  height: calc(var(--size) * 0.195);
  border-radius: 50%;
  border: none;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

/* ciemny dysk — zakrywa centrum, odsłania korony na brzegach */
.logo-halo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #03070e;
  box-shadow:
    0 0 0 1px  rgba(47,139,255,0.55),
    0 0 5px 1px rgba(0,229,255,0.22);
  z-index: 1;
}

/* korona — conic ring + diamond flare po prawej stronie */
.logo-halo::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 93% 50%,
      rgba(0,229,255,0.82) 0%,
      rgba(47,139,255,0.48) 7%,
      rgba(0,229,255,0.16) 17%,
      transparent 26%
    ),
    conic-gradient(
      from 155deg,
      rgba(47,139,255,0.07),
      rgba(0,229,255,0.34)  68deg,
      rgba(47,139,255,0.12) 130deg,
      rgba(0,229,255,0.20)  205deg,
      rgba(47,139,255,0.08) 270deg,
      rgba(47,139,255,0.07) 360deg
    );
  filter: blur(7px);
  opacity: 0.88;
  z-index: 0;
}

/* ─── LOGO ───────────────────────────────────────────────────────────────── */
.logo-wrap {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width:  calc(var(--size) * 0.16);
  height: calc(var(--size) * 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrap img {
  width: 100%; height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 4px rgba(47,139,255,0.40))
    drop-shadow(0 0 12px rgba(0,229,255,0.15));
}

/* ─── PLANETS ────────────────────────────────────────────────────────────── */
.planet {
  position: absolute;
  top: 50%; left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  z-index: 5;
  will-change: transform;
}

.planet-core {
  width:  var(--planet-size);
  height: var(--planet-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background    0.28s ease,
    border-color  0.28s ease,
    box-shadow    0.28s ease;
}

.planet-icon {
  width:  var(--icon-size);
  height: var(--icon-size);
  flex-shrink: 0;
  transition: color 0.28s ease, opacity 0.28s ease;
}

.planet-label {
  font-size: clamp(0.52rem, 1vw, 0.62rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.58);
  white-space: nowrap;
  transition: color 0.28s ease;
  line-height: 1;
  pointer-events: none;
}

/* ── default icon colors per orbit — 2 akcenty: niebieski / cyjan ── */
[data-orbit="inner"]  .planet-icon { color: rgba(74,158,255,0.65); }
[data-orbit="middle"] .planet-icon { color: rgba(45,212,191,0.60); }
[data-orbit="outer"]  .planet-icon { color: rgba(74,158,255,0.60); }

/* ── hover states per orbit ── */
[data-orbit="inner"]:hover .planet-core {
  background: rgba(74,158,255,0.1);
  border-color: rgba(74,158,255,0.55);
  box-shadow: 0 0 22px rgba(74,158,255,0.22), 0 0 5px rgba(74,158,255,0.12);
}
[data-orbit="middle"]:hover .planet-core {
  background: rgba(45,212,191,0.1);
  border-color: rgba(45,212,191,0.55);
  box-shadow: 0 0 22px rgba(45,212,191,0.22), 0 0 5px rgba(45,212,191,0.12);
}
[data-orbit="outer"]:hover .planet-core {
  background: rgba(74,158,255,0.1);
  border-color: rgba(74,158,255,0.55);
  box-shadow: 0 0 22px rgba(74,158,255,0.22), 0 0 5px rgba(74,158,255,0.12);
}

.planet:hover .planet-icon  { color: rgba(255,255,255,0.92) !important; }
.planet:hover .planet-label { color: rgba(255,255,255,0.72); }

/* ─── TOOLTIP ────────────────────────────────────────────────────────────── */
.tooltip {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  left: 0; top: 0;

  min-width: 200px;
  max-width: 240px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(6, 8, 18, 0.96);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  opacity: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 0.18s ease;
}

.tooltip.visible    { opacity: 1; }
.tooltip.flip-below { transform: translate(-50%, 12px); }

.tooltip-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.tooltip-desc {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.44);
  line-height: 1.65;
}

/* ─── PLANET MODAL ───────────────────────────────────────────────────────── */
.planet-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.planet-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: rgba(8, 10, 22, 0.97);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16,1,0.3,1);
}

.planet-modal.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}

.modal-close svg { width: 14px; height: 14px; }

.modal-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.modal-icon-wrap svg {
  width: 24px; height: 24px;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0.6rem;
}

.modal-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.modal-features li {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.modal-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--c-inner);
  font-size: 0.75rem;
}

.modal-service-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.65rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 10px;
  background: rgba(45,212,191,0.06);
  border: 1px solid rgba(45,212,191,0.22);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-outer);
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s;
}
.modal-service-tile::after { content: ' →'; }
.modal-service-tile:hover {
  background: rgba(45,212,191,0.12);
  border-color: rgba(45,212,191,0.4);
}

.modal-actions {
  display: flex;
  gap: 0.6rem;
}

.modal-actions .btn {
  flex: 1;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}

/* ─── SECTION WRAPPER ────────────────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3.5rem;
}

.home-container-wide {
  max-width: 1400px;
  padding-left: 3rem;
  padding-right: 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-inner);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.section-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  max-width: 50ch;
  margin: 0 auto;
}

/* ─── HOW IT WORKS ───────────────────────────────────────────────────────── */
.how-it-works {
  border-top: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.step:hover {
  border-color: rgba(74,158,255,0.2);
  background: rgba(74,158,255,0.04);
}

.step-number {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-inner);
  opacity: 0.6;
}

.step-icon-wrap {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(74,158,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-wrap svg {
  width: 18px; height: 18px;
  color: var(--c-inner);
}

.step h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
}

/* ─── SERVICES ───────────────────────────────────────────────────────────── */
.services-section {
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  transition: border-color 0.22s, background 0.22s, transform 0.22s;
}

.service-card:hover {
  border-color: rgba(167,139,250,0.25);
  background: rgba(167,139,250,0.04);
  transform: translateY(-2px);
}

.service-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(167,139,250,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon-wrap svg {
  width: 18px; height: 18px;
  color: var(--c-middle);
}

.service-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  flex: 1;
}

.service-link {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-middle);
  letter-spacing: 0.01em;
  transition: color 0.2s;
  margin-top: 0.25rem;
}

.service-link:hover { color: #c4b5fd; }

.service-card--linked {
  position: relative;
  cursor: pointer;
}
.service-link--stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
}

/* ─── WHY US ─────────────────────────────────────────────────────────────── */
.why-us {
  border-top: 1px solid var(--border);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.why-card:hover {
  border-color: rgba(45,212,191,0.22);
  background: rgba(45,212,191,0.04);
}

.why-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.why-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.65;
}

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
  background: rgba(255,255,255,0.012);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.65;
  max-width: 28ch;
}

.footer-area {
  margin-top: 0.5rem;
  font-size: 0.72rem !important;
  color: rgba(255,255,255,0.2) !important;
}

.footer-contact h4,
.footer-cta-block h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.footer-person {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.36);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-link:hover { color: rgba(255,255,255,0.78); }

.footer-link svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
}

.footer-cta-block p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.32);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.footer-btn {
  display: inline-flex;
  justify-content: center;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.18);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 6rem 2rem 3rem;
    row-gap: 2.5rem;
  }

  .hero-text {
    align-items: center;
    order: 2;
  }

  .scene {
    --size: min(500px, 88vw, 52vh);
    order: 1;
  }

  .hero-hint { order: 3; }

  .nav      { padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1.5rem; }

  /* hide text labels on mobile — icons + tooltip do the job */
  .planet-label { display: none; }

  .container { padding: 0 1.5rem; }
  .home-container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand  { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero { padding: 5.5rem 1.25rem 2.5rem; }
  .nav-cta  { display: none; }
  .nav-links { display: none; }

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

  .hero-cta-group { flex-direction: column; width: 100%; }
  .hero-cta-group .btn { justify-content: center; }
}

/* ═══ DASHBOARD SHOWCASE ═══ */
.dashboards { background: var(--c-surface); }

.dash-frame {
  max-width: 900px;
  margin: 0 auto 1.25rem;
  background: #0d0d0d;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.07);
}

.dash-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dash-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.dash-title {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  margin-left: .5rem;
  letter-spacing: .04em;
}

.dash-slides {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}

.dash-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}

.dash-slide.active { opacity: 1; }

.dash-nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  background: #1a1a1a;
}

.dash-btn {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.2);
  cursor: pointer;
  transition: background .2s, transform .2s;
  padding: 0;
}

.dash-btn.active {
  background: var(--c-inner);
  transform: scale(1.3);
}

.dash-caption {
  text-align: center;
  font-size: .8rem;
  color: var(--c-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══ HERO DASHBOARD MINI-PREVIEW ═══ */
.hero-dash {
  margin-top: 1.5rem;
  background: #0d0d0d;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.09);
  width: 100%;
}

.hero-dash-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1rem;
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero-dash-label {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  margin-left: .5rem;
  letter-spacing: .04em;
}

.hero-dash-slides {
  position: relative;
  aspect-ratio: 16/9;
}

.hero-dash-slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-dash-slide.active { opacity: 1; }

/* ═══ LIVE STATS ═══ */
.live-stats { background: var(--c-bg); }

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

.stat-card {
  background: var(--c-surface);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.stat-icon-wrap {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--clr) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--clr) 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
  letter-spacing: -.03em;
}

.stat-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-muted);
}

.stat-bar {
  height: 4px;
  background: rgba(255,255,255,.06);
  border-radius: 999px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: var(--clr);
  transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

.stat-bar-fill.animated { width: var(--pct); }

.stat-label {
  font-size: .78rem;
  color: var(--c-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-dash { max-width: 100%; }
}

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

.hero-dash-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  padding: .5rem;
  background: #1a1a1a;
}

.hero-dash-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  transition: background .3s;
}

.hero-dash-dot.active { background: var(--c-inner); }

/* ═══ LIGHTBOX ═══ */
.hero-dash-slides { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,.7);
  transform: scale(.94);
  transition: transform .25s ease;
}

.lightbox.open .lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.1rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}

.lightbox-close:hover { background: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════════════════════════════════════
   ZMIENNE UZUPEŁNIAJĄCE (używane w stat-cards i nowych sekcjach)
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --c-surface: rgba(255,255,255,0.025);
  --c-bg:      #000;
  --c-text:    rgba(255,255,255,0.9);
  --c-muted:   rgba(255,255,255,0.32);
}

/* ═══ CO AUTOMATYZUJEMY ════════════════════════════════════════════════════ */
.auto-section { border-top: 1px solid var(--border); }

.auto-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.auto-card {
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.auto-card:hover {
  border-color: rgba(74,158,255,0.2);
  background: rgba(74,158,255,0.03);
}

.auto-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--clr) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--clr) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr);
  flex-shrink: 0;
}

.auto-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}

.auto-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auto-list li {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
  padding-left: 1.1rem;
  position: relative;
}

.auto-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: rgba(74,158,255,0.55);
  font-size: 1.1rem;
  line-height: 1.2;
}

/* ═══ DLA KOGO ══════════════════════════════════════════════════════════════ */
.dla-kogo { border-top: 1px solid var(--border); }

.dk-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.dk-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.dk-card:hover {
  border-color: rgba(45,212,191,0.2);
  background: rgba(45,212,191,0.03);
}

.dk-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-outer);
  flex-shrink: 0;
}

.dk-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.01em;
}

.dk-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.68;
}

/* ═══ PROBLEMY ══════════════════════════════════════════════════════════════ */
.problems-section { border-top: 1px solid var(--border); }

.prob-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.prob-card {
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: border-color 0.2s;
}

.prob-card:hover { border-color: rgba(255,255,255,0.1); }

.prob-problem {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

.prob-arrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-inner);
  opacity: 0.7;
  line-height: 1;
}

.prob-solution {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.68;
}

/* ═══ TECHNOLOGIE ═══════════════════════════════════════════════════════════ */
.tech-section { border-top: 1px solid var(--border); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 4rem;
}

.tech-group-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.75rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tech-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 0.28rem 0.8rem;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.tech-tag:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(74,158,255,0.3);
  background: rgba(74,158,255,0.06);
}

/* ═══ CTA SECTION ═══════════════════════════════════════════════════════════ */
.cta-section { border-top: 1px solid var(--border); }

.cta-box {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.cta-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  max-width: 52ch;
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.cta-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  margin-top: 0.25rem;
}

/* ═══ WHY ICON SVG (zamiana emoji na SVG) ═══════════════════════════════════ */
.why-icon-svg {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(45,212,191,0.07);
  border: 1px solid rgba(45,212,191,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-outer);
  flex-shrink: 0;
}

/* ═══ FOOTER UZUPEŁNIENIA ═══════════════════════════════════════════════════ */
.footer-legal {
  font-size: 0.68rem !important;
  color: rgba(255,255,255,0.18) !important;
  margin-top: 0.5rem;
  line-height: 1.6;
}

.footer-policy-link {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}

.footer-policy-link:hover { color: rgba(255,255,255,0.55); }

/* ═══ MOBILE NAV — HAMBURGER ════════════════════════════════════════════════ */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.65);
  width: 38px; height: 38px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.nav-burger:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}

/* ═══ RESPONSIVE — nowe sekcje ══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .auto-grid  { grid-template-columns: 1fr; }
  .dk-grid    { grid-template-columns: 1fr; }
  .prob-grid  { grid-template-columns: 1fr; }
  .tech-grid  { grid-template-columns: 1fr; gap: 1.25rem; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

@media (max-width: 560px) {
  /* hamburger pojawia się na mobile */
  .nav-burger { display: flex; }

  /* menu jako fullscreen overlay */
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99;
    padding: 2rem;
    /* domyślnie ukryte (nadpisuje display:none z istniejącego @media 560px) */
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.01em;
  }
  .nav-links a:hover,
  .nav-links a:focus { color: #fff; }
}
