/* ===== Podstawy ===== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #000 100%);
  color: #e5e7eb;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Górny pasek ===== */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 32px;
  width: auto;
  filter:
      drop-shadow(0 0 6px #6ee7b7)
      drop-shadow(0 0 10px #0ea5e9);
}

.brand-name {
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: linear-gradient(90deg, #6ee7b7, #22d3ee, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;

  text-shadow:
      0 0 6px rgba(34, 211, 238, 0.85),
      0 0 14px rgba(34, 211, 238, 0.55),
      0 0 20px rgba(34, 211, 238, 0.35);

  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
  transform: translateY(1px);
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.main-nav a {
  position: relative;
  padding-bottom: 3px;
  color: #cbd5f5;
  opacity: 0.9;
  transition: opacity 0.15s ease;
  
  display: inline-flex;      /* ikona + tekst w linii */
  align-items: center;
  gap: 6px;                  /* odstęp między ikoną a tekstem */
}

/* Ikonka w nawigacji */
.nav-icon {
  width: 16px;               /* możesz dać 18px jak chcesz większe */
  height: 16px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(15,23,42,0.8));
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #06b6d4);
  transition: width 0.18s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Mobile – na małych ekranach nawigacja w dwóch liniach */

@media (max-width: 720px) {
  .top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* ===== Hero ===== */

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 18px 32px;
  /* min-height: calc(100vh - 70px);  <= usuń / zakomentuj */
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}


.hero-content h1 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 12px;
  color: #fbbf24;
  text-shadow:
      0 0 10px rgba(251, 191, 36, 0.6),
      0 0 18px rgba(56, 189, 248, 0.45);
}

.hero-logo {
  display: block;
  margin: -150px auto 80px;   /* logo wyżej, więcej miejsca pod spodem */
  width: 200px;              /* możesz dać 220px jeśli chcesz większe */
  max-width: 70%;
  height: auto;
  filter:
      drop-shadow(0 0 8px #6ee7b7)
      drop-shadow(0 0 16px #0ea5e9)
      drop-shadow(0 0 22px #22d3ee);
  animation: heroLogoPulse 3s ease-in-out infinite;
}


/* animacja pulsowania logo */
@keyframes heroLogoPulse {
  0% {
    transform: scale(1);
    filter:
        drop-shadow(0 0 8px #6ee7b7)
        drop-shadow(0 0 16px #0ea5e9)
        drop-shadow(0 0 22px #22d3ee);
  }
  50% {
    transform: scale(1.05);
    filter:
        drop-shadow(0 0 10px #a7f3d0)
        drop-shadow(0 0 22px #38bdf8)
        drop-shadow(0 0 30px #22d3ee);
  }
  100% {
    transform: scale(1);
    filter:
        drop-shadow(0 0 8px #6ee7b7)
        drop-shadow(0 0 16px #0ea5e9)
        drop-shadow(0 0 22px #22d3ee);
  }
}

.hero-tagline {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #d1d5db;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition:
      transform 0.12s ease,
      box-shadow 0.12s ease,
      filter 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow:
      0 10px 20px rgba(22, 163, 74, 0.45),
      0 0 0 2px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
  color: #e0f2fe;
  box-shadow:
      0 10px 20px rgba(14, 165, 233, 0.45),
      0 0 0 2px rgba(59, 130, 246, 0.4);
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: none;
}

.hero-links {
  margin-top: 8px;
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.hero-links a {
  color: #7dd3fc;
}

/* ===== Hero – wizualizacja ===== */

.hero-visual {
  display: flex;
  justify-content: center;
}

.screen-card {
  width: 100%;
  max-width: 320px;
  border-radius: 22px;
  background: radial-gradient(circle at top, #0b1f35, #020617 70%);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow:
      0 18px 45px rgba(0, 0, 0, 0.85),
      0 0 0 3px rgba(15, 23, 42, 0.9) inset;
  overflow: hidden;
}

.screen-header {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 10px;
  background: linear-gradient(90deg, #020617, #0b1220);
}

.screen-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.dot.red   { background: #f97373; }
.dot.yellow{ background: #facc15; }
.dot.green { background: #4ade80; }

.screen-body {
  padding: 16px 16px 14px;
  text-align: center;
}

.screen-img {
  width: 100%;
  border-radius: 18px;
  border: 2px solid rgba(15, 23, 42, 0.9);
  background: #020617;
  box-shadow:
      0 10px 24px rgba(15, 23, 42, 0.95),
      0 0 0 1px rgba(148, 163, 184, 0.4);
  object-fit: cover;
}

.screen-caption {
  margin-top: 10px;
  font-size: 13px;
  color: #cbd5f5;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: linear-gradient(90deg, #6ee7b7, #22d3ee, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;

  text-shadow:
      0 0 6px rgba(34, 211, 238, 0.85),
      0 0 14px rgba(34, 211, 238, 0.55),
      0 0 20px rgba(34, 211, 238, 0.35);

  filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
  transform: translateY(1px);
}

/* Mobile layout */

@media (max-width: 900px) {

  .hero-logo {
    margin-top: 24px;   /* odsuwamy logo od screena */
    margin-bottom: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }
  .hero-visual {
    order: -1;
  }
}

/* ===== Stopka ===== */

.site-footer {
  padding: 12px 18px 18px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at bottom, #020617, #020617);
}

.dot-separator {
  margin: 0 6px;
}

/* Kontener checkboxa — centrowanie + estetyka */
.adblock-checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 20px 0 10px 0;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

/* Ukrycie natywnego checkboxa */
.adblock-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid #007bff;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

/* Efekt hover */
.adblock-checkbox input[type="checkbox"]:hover {
  border-color: #0056b3;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
}

/* Styl po zaznaczeniu */
.adblock-checkbox input[type="checkbox"]:checked {
  background: #007bff;
  border-color: #007bff;
}

/* Ikonka „ptaszka” */
.adblock-checkbox input[type="checkbox"]:checked::after {
  content: "✔";
  position: absolute;
  color: #fff;
  font-size: 16px;
  left: 3.5px;
  top: -1px;
  font-weight: bold;
}

/* Gładkie kliknięcie */
.adblock-checkbox input[type="checkbox"]:active {
  transform: scale(0.9);
}


.modal {
  display: none; /* domyślnie ukryty */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: sans-serif;
}

.modal-content {
  background: #0f172a;
  padding: 25px;
  border-radius: 12px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background: #007bff;
  border: none;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}

.modal-content button:hover {
  background: #0056b3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* Link do Facebooka obok "First In First Out" */
.brand-fb {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;

  color: #4da3ff;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;

  transition: color 0.2s ease, transform 0.2s ease;
}

/* Twoja ikona FB */
.fb-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* Hover efekt */
.brand-fb:hover {
  color: #82c3ff;
  transform: translateY(-1px);
}

.hero-buttons {
    justify-content: center;
}

.hero-links {
    justify-content: center;
}

/* Przyciski z ikoną sklepu */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* odstęp między ikoną a tekstem */
  padding: 10px 16px; /* możesz dopasować */
}

.store-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ===== Ikony języków przy prawej krawędzi ===== */

.lang-switch {
  position: fixed;
  top: 70px;
  right: 18px;

  display: flex;
  flex-direction: column;
  align-items: center;   /* <<< klucz do wyśrodkowania */
  gap: 10px;

  z-index: 999;
}

.lang-flag {
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
}

.lang-flag:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.lang-label {
  font-size: 13px;
  font-weight: 700;
  color: #cbd5f5;
  text-align: center;
  margin-bottom: 4px;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  /* lekki neon pod Twój styl */
  text-shadow:
      0 0 6px rgba(56, 189, 248, 0.6),
      0 0 10px rgba(34, 211, 238, 0.35);
}
