/* ── Reset & Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  --bg:         #080F1E;
  --bg2:        #0D1830;
  --bg3:        #132040;
  --border:     rgba(255,255,255,0.08);
  --border2:    rgba(0,230,120,0.18);
  --accent:     #00C8D4;       /* cyan — "Wave" */
  --accent2:    #00E5FF;
  --green:      #00E676;       /* bright green — "Hunter" / location pin */
  --green2:     #39FF8F;
  --text:       #E8F0FE;
  --text2:      rgba(220,235,255,0.6);
  --text3:      rgba(220,235,255,0.3);
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 12px 40px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

/* Podstrony z widżetami (mapa / szukaj / statystyki) — gutter na mobile */
.subpage {
  padding: 0 20px 48px;
}
@media (max-width: 600px) {
  .subpage { padding: 0 14px 40px; }
}

.accent       { color: var(--accent); }
.accent-green { color: var(--green); }

/* ── World background scene ─────────────────────────────────────────────────── */
.world-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.world-bg svg {
  width: 100%;
  height: 100%;
}

/* ── Tower signal wave animations ───────────────────────────────────────────── */

/* Base: all wave paths start hidden */
.wave-c, .wave-g { opacity: 0; }

/* Cyan tower waves — pulse outward, 3.6s cycle */
@keyframes waveOutCyan {
  0%   { opacity: 0;    stroke-width: 1.8; }
  8%   { opacity: 0.55; }
  55%  { opacity: 0.22; }
  100% { opacity: 0;    stroke-width: 0.6; }
}

/* Green tower waves — same rhythm, slightly different peak */
@keyframes waveOutGreen {
  0%   { opacity: 0;    stroke-width: 1.6; }
  8%   { opacity: 0.50; }
  55%  { opacity: 0.20; }
  100% { opacity: 0;    stroke-width: 0.5; }
}

/* Cyan waves — inner fires first, outer last, staggered by 0.7s */
.wave-c-1 { animation: waveOutCyan  3.6s ease-out infinite 0s; }
.wave-c-2 { animation: waveOutCyan  3.6s ease-out infinite 0.7s; }
.wave-c-3 { animation: waveOutCyan  3.6s ease-out infinite 1.4s; }

/* Green waves — offset whole cycle by 1.2s vs cyan (different towers breathe out of sync) */
.wave-g-1 { animation: waveOutGreen 3.6s ease-out infinite 1.2s; }
.wave-g-2 { animation: waveOutGreen 3.6s ease-out infinite 1.9s; }
.wave-g-3 { animation: waveOutGreen 3.6s ease-out infinite 2.6s; }

/* pin ripple animation */
@keyframes pinRipple {
  0%   { r: 18; opacity: 0.5; }
  100% { r: 60; opacity: 0; }
}
@keyframes pinRippleSm {
  0%   { r: 12; opacity: 0.4; }
  100% { r: 40; opacity: 0; }
}
.pin-ring        { animation: pinRipple   2.8s ease-out infinite; }
.pin-ring-2      { animation: pinRipple   2.8s ease-out infinite 0.9s; }
.pin-ring-3      { animation: pinRipple   2.8s ease-out infinite 1.8s; }
.pin-ring-sm     { animation: pinRippleSm 2.8s ease-out infinite 0.4s; }
.pin-ring-sm.pin-ring-2 { animation: pinRippleSm 2.8s ease-out infinite 1.3s; }

/* ── Global wave background ─────────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,120,160,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 20%,  rgba(0,230,120,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 0%  80%,  rgba(0,150,200,0.08) 0%, transparent 60%),
    linear-gradient(175deg, #080F1E 0%, #0B1525 40%, #091420 70%, #060C18 100%);
  pointer-events: none;
}

/* wave SVG pattern layer */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: .45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 560' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='wg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23004D5A' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23003D3A' stop-opacity='0.55'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 400 Q180 340 360 380 Q540 420 720 360 Q900 300 1080 350 Q1260 400 1440 330 L1440 560 L0 560Z' fill='url(%23wg)'/%3E%3Cpath d='M0 440 Q200 390 400 430 Q600 470 800 410 Q1000 350 1200 400 Q1350 435 1440 390 L1440 560 L0 560Z' fill='%23003830' fill-opacity='0.35'/%3E%3Cpath d='M0 480 Q240 450 480 470 Q720 490 960 455 Q1150 425 1440 460 L1440 560 L0 560Z' fill='%23002820' fill-opacity='0.25'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: bottom;
  pointer-events: none;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--green) 0%, #00BFB3 100%);
  color: #060C18;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: filter .18s, transform .12s, box-shadow .18s;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0,230,120,0.25);
}
.btn-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(0,230,120,0.4);
}

.btn-lg  { padding: 14px 28px; font-size: 15px; border-radius: var(--radius); }
.btn-xl  { padding: 16px 36px; font-size: 16px; border-radius: var(--radius); gap: 12px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--text2);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  transition: border-color .18s, color .18s, background .18s;
  cursor: pointer;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,200,212,0.06);
}

/* ── Nav ────────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,15,30,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,200,212,0.1);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.3px;
}

.nav-logo span em {
  font-style: normal;
  color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Compact nav buttons so all items fit on one line */
.nav-actions .btn-ghost,
.nav-actions .btn-primary {
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.lang-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: color .15s, border-color .15s;
  letter-spacing: .5px;
}
.lang-btn:hover { color: var(--green); border-color: var(--green); }

/* ── Nav: links, dropdown, hamburger ──────────────────────────────────────── */
.nav-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text2);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-dropdown { position: relative; }
.nav-dd-chevron { transition: transform .2s; color: var(--text3); }
.nav-dropdown:hover .nav-dd-chevron,
.nav-dropdown.open .nav-dd-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px;
  background: rgba(13,24,48,0.97);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 200;
}
.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 14px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-dropdown-menu a:hover { background: rgba(0,230,120,0.1); color: var(--accent); }

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav search button */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text2);
  cursor: pointer;
  transition: color .15s, border-color .15s, background .15s;
}
.nav-search-btn:hover { color: var(--accent); border-color: var(--accent); background: rgba(0,200,212,0.08); }

/* Search modal */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  background: rgba(4,9,18,0.7);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, visibility .2s;
  overflow-y: auto;
}
.search-modal.open { opacity: 1; visibility: visible; }
.search-modal-box {
  width: min(640px, 100%);
  background: rgba(13,24,48,0.99);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.6);
  padding: 28px 26px 26px;
  position: relative;
  transform: translateY(-12px);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.search-modal.open .search-modal-box { transform: translateY(0); }
.search-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}
.search-modal-close:hover { color: var(--accent); border-color: var(--accent); }
.search-modal-box h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 4px; padding-right: 40px; }
.search-modal-sub { font-size: 12px; color: var(--text2); margin-bottom: 18px; }
.search-modal-inputwrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: var(--bg3);
  border: 2px solid var(--border);
  border-radius: 12px;
  transition: border-color .15s;
}
.search-modal-inputwrap:focus-within { border-color: var(--accent); }
.search-modal-inputwrap svg { color: var(--text3); flex-shrink: 0; }
#modal-search-input {
  flex: 1;
  padding: 13px 0;
  font-size: 16px;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: inherit;
}
#modal-search-input::placeholder { color: var(--text3); }
#modal-suggest-list {
  margin-top: 8px;
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  max-height: 260px;
  overflow-y: auto;
}
#modal-suggest-list .suggest-item {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
#modal-suggest-list .suggest-item:last-child { border-bottom: none; }
#modal-suggest-list .suggest-item:hover { background: rgba(255,255,255,0.05); }
#modal-suggest-list .s-name { font-weight: 700; color: var(--text); }
#modal-suggest-list .s-loc { color: var(--text2); font-size: 12px; margin-left: 6px; }
.search-modal-hint { font-size: 11px; color: var(--text2); margin-top: 10px; }
.search-modal-loading { font-size: 13px; color: var(--text3); text-align: center; padding: 20px 0; }
#modal-result { margin-top: 18px; }
#modal-result .result-name { font-size: 20px; font-weight: 800; color: var(--text); }
#modal-result .result-loc { font-size: 12px; color: var(--text2); margin: 2px 0 18px; }
#modal-result .tech-section { margin-bottom: 16px; }
#modal-result .tech-label {
  font-size: 11px; font-weight: 700; color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 8px; padding-bottom: 4px; border-bottom: 2px solid var(--border);
}
#modal-result .op-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; }
#modal-result .op-name { width: 72px; font-weight: 700; flex-shrink: 0; }
#modal-result .bands-wrap { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; }
#modal-result .band-chip { padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 700; color: #fff; }
#modal-result .band-chip.zero { background: rgba(255,255,255,0.1); color: rgba(232,240,254,0.5); font-weight: 600; }
#modal-result .no-data { color: var(--text2); font-size: 11px; font-style: italic; }
#modal-result .empty { text-align: center; color: var(--text3); font-size: 13px; padding: 20px 0; }
#modal-result .result-source { font-size: 10px; color: var(--text2); text-align: center; margin-top: 18px; }

/* Mobile slide-in menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(4,9,18,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82vw, 360px);
  background: rgba(10,18,36,0.99);
  backdrop-filter: blur(16px);
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 80px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
}
.mobile-group { display: flex; flex-direction: column; gap: 4px; }
.mobile-group-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 8px;
  padding-left: 14px;
}
.mobile-group a {
  padding: 13px 14px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background .15s;
}
.mobile-group a:hover { background: rgba(255,255,255,0.05); }
.mobile-cta { justify-content: center; margin-top: auto; }

@media (min-width: 861px) {
  .mobile-menu { display: none; }
}
@media (max-width: 600px) {
  .nav-inner { padding: 0 14px; }
  .nav-logo { font-size: 16px; gap: 7px; }
  .nav-logo img { width: 26px; height: 26px; }
  .nav-actions { gap: 7px; }
  .nav-search-btn { width: 38px; height: 38px; }
  .lang-btn { padding: 7px 9px; font-size: 13px; }
  .nav-burger { width: 38px; height: 38px; padding: 0 8px; }
}
@media (max-width: 860px) {
  .nav-actions .nav-link,
  .nav-actions .nav-dropdown,
  .nav-actions .nav-download { display: none; }
  .nav-burger { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% -5%,  rgba(0,200,212,0.15) 0%, transparent 65%),
    radial-gradient(ellipse 30% 40% at 75% 30%,  rgba(0,230,120,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 25% 35% at 15% 60%,  rgba(0,150,200,0.08) 0%, transparent 55%);
  pointer-events: none;
}

/* ── Hero icon background ───────────────────────────────────────────────────── */
.hero-icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -54%);
  width: min(720px, 110vw);
  height: min(720px, 110vw);
  pointer-events: none;
  z-index: 0;
}

/* blurred glow — extracts icon colors as a soft light splash */
.hero-icon-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.22;
  filter: blur(55px) saturate(1.8) brightness(0.85);
  border-radius: 40%;
}

/* ghost watermark — faint visible silhouette of the tower */
.hero-icon-ghost {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.045;
  filter: saturate(0.4) brightness(1.4);
  border-radius: 28%;
  mix-blend-mode: screen;
}

/* make sure hero content sits above the glow */
.hero .container { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(0,230,120,0.08);
  border: 1px solid rgba(0,230,120,0.3);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--accent); }

.hero-sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text2);
  font-size: 17px;
  line-height: 1.65;
}

.hero-beta-note {
  max-width: 460px;
  margin: -16px auto 28px;
  color: var(--text3);
  font-size: 14px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

/* ── Phone mockups ──────────────────────────────────────────────────────────── */
.hero-phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.phone { position: relative; }
.phone-left  { transform: rotate(-6deg) translateY(24px); }
.phone-right { transform: rotate(6deg) translateY(24px); }
.phone-center { z-index: 2; }

.phone-frame {
  width: 180px;
  height: 360px;
  border-radius: 28px;
  border: 1.5px solid rgba(0,200,212,0.2);
  background: linear-gradient(160deg, #0D1830 0%, #0A1222 100%);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}

.phone-frame-main {
  width: 210px;
  height: 420px;
  box-shadow: 0 24px 60px rgba(0,230,120,0.15), 0 0 0 1px rgba(0,230,120,0.12), var(--shadow);
  border-color: rgba(0,230,120,0.25);
}

.phone-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone-frame.placeholder .phone-placeholder-text { display: flex; }
.phone-frame.placeholder img { display: none; }

.phone-placeholder-text {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  font-weight: 600;
}

/* ── Stats ──────────────────────────────────────────────────────────────────── */
.stats {
  padding: 60px 0;
  border-top: 1px solid rgba(0,200,212,0.1);
  border-bottom: 1px solid rgba(0,200,212,0.1);
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-value {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--green) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text2);
  font-size: 13px;
}

/* ── Section common ─────────────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.8px;
  line-height: 1.2;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Features ───────────────────────────────────────────────────────────────── */
.features { padding: 100px 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card {
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.feature-card:hover {
  border-color: rgba(0,230,120,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,230,120,0.1);
}

.feature-card-wide {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feature-card-wide .feature-content h3 { margin-bottom: 8px; }

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}
.feature-card-wide .feature-icon { margin-bottom: 0; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Audience (Dla kogo) ───────────────────────────────────────────────────── */
.audience { padding: 100px 0; }

.audience-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }

.audience-card {
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.audience-card:hover {
  border-color: rgba(0,230,120,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,230,120,0.1);
}

.audience-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 16px;
}

.audience-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.audience-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.65;
}

/* ── Under the hood (Pod maską) ────────────────────────────────────────────── */
.tech { padding: 100px 0; }

.tech-list {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tech-item {
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 24px 26px;
  backdrop-filter: blur(8px);
}

.tech-head {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}

.tech-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0,230,118,0.6);
}

.tech-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tech-term {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.tech-desc {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 720px) {
  .tech-list { grid-template-columns: 1fr; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────────── */
.faq { padding: 60px 0 100px; }

.faq-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-card {
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.faq-card:hover {
  border-color: rgba(0,230,120,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,230,120,0.1);
}

.faq-card-wide { grid-column: span 2; }

.faq-card-n {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.faq-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.faq-card p {
  color: var(--text2);
  font-size: 14px;
  line-height: 1.7;
}

.faq-cta {
  margin-top: 40px;
  text-align: center;
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(0,230,120,0.18);
  border-radius: var(--radius);
  padding: 44px 28px;
  backdrop-filter: blur(8px);
}
.faq-cta h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.faq-cta p {
  color: var(--text2);
  margin-bottom: 24px;
}
.faq-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .faq-cards { grid-template-columns: 1fr; }
  .faq-card-wide { grid-column: span 1; }
}

/* ── Changelog timeline ────────────────────────────────────────────────────── */
.changelog { padding: 60px 0 100px; }

.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(255,255,255,0.06));
}

.tl-entry {
  position: relative;
  padding-left: 56px;
  padding-bottom: 36px;
}
.tl-entry:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: 10px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(0,200,212,0.12);
}

.tl-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.tl-ver { font-size: 18px; font-weight: 800; }
.tl-date { font-size: 12px; color: var(--text3); }
.tl-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tl-tag.new { background: rgba(0,230,118,.16); color: var(--green); }
.tl-tag.fix { background: rgba(0,200,212,.16); color: var(--accent); }
.tl-tag.change { background: rgba(206,147,216,.16); color: #CE93D8; }

.tl-card {
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
}
.tl-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tl-card li {
  position: relative;
  padding-left: 20px;
  color: var(--text2);
  font-size: 14px;
  line-height: 1.55;
}
.tl-card li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 600px) {
  .tl-entry { padding-left: 44px; }
  .timeline::before { left: 13px; }
  .tl-dot { left: 4px; }
}

/* ── How it works ───────────────────────────────────────────────────────────── */
.how {
  padding: 100px 0;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0,200,212,0.08);
  border-bottom: 1px solid rgba(0,200,212,0.08);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.step {
  flex: 1;
  background: rgba(13,24,48,0.7);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
}

.step-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .5;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--text2);
  font-size: 13.5px;
  line-height: 1.6;
}

.step-arrow {
  font-size: 28px;
  color: var(--text3);
  padding-top: 32px;
  flex-shrink: 0;
}

/* ── Screenshots ────────────────────────────────────────────────────────────── */
.screenshots { padding: 100px 0; overflow: hidden; }

.screenshots-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,200,212,0.2) transparent;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.screenshots-row:active { cursor: grabbing; }
.screenshots-row::-webkit-scrollbar { height: 4px; }
.screenshots-row::-webkit-scrollbar-track { background: transparent; }
.screenshots-row::-webkit-scrollbar-thumb { background: rgba(0,200,212,0.2); border-radius: 2px; }

.screen-item { flex-shrink: 0; }

.phone-frame-lg {
  width: 220px;
  height: 440px;
  border-radius: 32px;
  border: 1.5px solid rgba(0,200,212,0.15);
  background: linear-gradient(160deg, #0D1830 0%, #0A1222 100%);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.phone-frame-lg:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,230,120,0.15);
}

.phone-frame-lg img { width: 100%; height: 100%; object-fit: cover; }
.phone-frame-lg.placeholder .phone-placeholder-text { display: flex; }
.phone-frame-lg.placeholder img { display: none; }

/* ── Download ───────────────────────────────────────────────────────────────── */
.download { padding: 100px 0; }

.download-card {
  position: relative;
  background: rgba(13,24,48,0.8);
  border: 1px solid rgba(0,230,120,0.2);
  border-radius: 24px;
  text-align: center;
  padding: 72px 32px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 80px rgba(0,230,120,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}

.download-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,230,120,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 100%, rgba(0,200,212,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* tower icon in download card */
.download-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0,230,120,0.3);
}
.download-icon img { width: 100%; height: 100%; object-fit: cover; }

.download-content { position: relative; }

.download-content h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}

.download-content > p {
  color: var(--text2);
  font-size: 16px;
  margin-bottom: 32px;
}

.download-note {
  margin-top: 16px !important;
  color: var(--text3) !important;
  font-size: 13px !important;
  margin-bottom: 0 !important;
}

/* ── Beta testers ───────────────────────────────────────────────────────────── */
.beta { padding: 100px 0; }

.beta-card {
  position: relative;
  background: rgba(13,24,48,0.8);
  border: 1px solid rgba(0,200,212,0.2);
  border-radius: 24px;
  text-align: center;
  padding: 72px 32px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 80px rgba(0,200,212,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}

.beta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0,200,212,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 80% 100%, rgba(0,230,120,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.beta-content { position: relative; }

.beta-badge {
  display: inline-block;
  background: rgba(0,200,212,0.12);
  border: 1px solid rgba(0,200,212,0.3);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.beta-content h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.5px;
  margin-bottom: 12px;
  text-align: center;
}

.beta-content > p {
  color: var(--text2);
  font-size: 16px;
  margin-bottom: 40px;
}

.beta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.beta-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 160px;
}

.beta-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0,200,212,0.12);
  border: 1px solid rgba(0,200,212,0.3);
  color: var(--cyan);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-step p {
  color: var(--text2);
  font-size: 14px;
  margin: 0;
  line-height: 1.4;
}

.beta-step-arrow {
  color: var(--text3);
  font-size: 20px;
  margin-top: -20px;
}

.beta-note {
  margin-top: 16px !important;
  color: var(--text3) !important;
  font-size: 13px !important;
  margin-bottom: 0 !important;
}

@media (max-width: 768px) {
  .beta-steps { flex-direction: column; gap: 12px; }
  .beta-step-arrow { display: none; }
  .beta-step { max-width: 100%; }
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(0,200,212,0.1);
  padding: 40px 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.footer-links a, .footer-mail a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.footer-links a svg, .footer-mail a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--text3);
  transition: color .15s;
}
.footer-links a:hover svg, .footer-mail a:hover svg { color: var(--green); }

.footer-links a {
  color: var(--text2);
  font-size: 14px;
  transition: color .15s;
}
.footer-mail a { color: var(--text2); font-size: 14px; transition: color .15s; }
.footer-mail a:hover { color: var(--green); }
.footer-links a:hover { color: var(--green); }

.footer-copy {
  color: var(--text3);
  font-size: 13px;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding-top: 60px; }
  .hero h1 { letter-spacing: -.8px; }

  .hero-phones { gap: 10px; }
  .phone-frame { width: 130px; height: 260px; border-radius: 20px; }
  .phone-frame-main { width: 155px; height: 310px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card-wide { grid-column: span 1; flex-direction: column; }

  .steps { flex-direction: column; gap: 12px; }
  .step-arrow { display: none; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { gap: 12px 18px; }
}

/* Stopka na telefonie — same ikony, równy rząd */
@media (max-width: 600px) {
  .footer-links { gap: 10px; }
  .footer-links a, .footer-mail a {
    width: 44px;
    height: 44px;
    justify-content: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: rgba(255,255,255,0.03);
  }
  .footer-links a:active, .footer-mail a:active { background: rgba(0,230,120,0.1); }
  .footer-links a svg, .footer-mail a svg { width: 19px; height: 19px; }
  .footer-links a .fl-label, .footer-mail a .fl-label { display: none; }
}

@media (max-width: 480px) {
  .hero-phones .phone-left, .hero-phones .phone-right { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn-primary, .hero-cta .btn-ghost { justify-content: center; }
}


/* ── Frequency widget (dark-theme adapted) ───────────────────────────────── */
/* Teaser na stronie głównej (pełny widżet jest na czestotliwosci.html) */
.freq-teaser {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.freq-teaser p {
  color: var(--text2);
  font-size: 16px;
  line-height: 1.7;
}
.freq { padding: 100px 0; background: rgba(0,0,0,0.2); backdrop-filter: blur(4px); }
    .freq-widget { max-width: 920px; margin: 0 auto; font-family: 'Inter', system-ui, sans-serif; }
    .freq-widget .subtitle { font-size: 13px; text-align: center; color: var(--text3); margin: -34px 0 26px; }
    .freq-widget .subtitle span { color: var(--text2); }

    .freq-tabs { display: flex; gap: 6px; justify-content: center; margin-bottom: 28px; flex-wrap: wrap; }
    .freq-tab { padding: 9px 18px; border-radius: 22px; border: 1px solid var(--border); font-size: 13px; font-weight: 600; cursor: pointer; background: rgba(255,255,255,0.04); color: var(--text2); transition: all .15s; font-family: inherit; }
    .freq-tab:hover { background: rgba(255,255,255,0.08); color: var(--text); }
    .freq-tab.active { background: var(--accent); color: #04121b; border-color: transparent; }

    .freq-view { display: none; }
    .freq-view.active { display: block; }

    .freq-legend { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
    .freq-legend-item { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text2); }
    .freq-legend-dot { width: 13px; height: 13px; border-radius: 3px; }

    .freq-bands { display: flex; flex-direction: column; gap: 11px; }
    .freq-section-header { font-size: 10px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; margin: 14px 0 4px 124px; }
    .freq-band-row { display: flex; align-items: stretch; gap: 12px; }
    .freq-band-label { width: 112px; min-width: 112px; display: flex; flex-direction: column; justify-content: center; }
    .freq-band-name { font-size: 14px; font-weight: 700; color: var(--text); }
    .freq-band-freq { font-size: 10px; color: var(--text3); }
    .freq-band-tech { font-size: 9px; font-weight: 600; padding: 1px 6px; border-radius: 3px; display: inline-block; margin-top: 3px; width: fit-content; }
    .tech-lte { background: rgba(0,200,212,.15); color: var(--accent); }
    .tech-nr  { background: rgba(0,230,118,.15); color: var(--green); }
    .tech-gsm { background: rgba(206,147,216,.16); color: #CE93D8; }

    .freq-spectrum { flex: 1; min-width: 0; }
    .freq-spectrum-inner { display: flex; height: 54px; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
    .freq-block { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; cursor: default; transition: filter .15s; flex-shrink: 0; }
    .freq-block:hover { filter: brightness(1.18); z-index: 10; }
    .freq-block-label { display: flex; flex-direction: column; align-items: center; pointer-events: none; overflow: hidden; }
    .freq-block-op { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.97); text-shadow: 0 1px 2px rgba(0,0,0,.5); white-space: nowrap; }
    .freq-block-mhz { font-size: 9px; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.4); }
    .freq-axis { display: flex; justify-content: space-between; padding: 3px 0; }
    .freq-axis-tick { font-size: 9px; color: var(--text3); }

    /* Tech matrix */
    .freq-matrix-wrap { overflow-x: auto; }
    .freq-table { width: 100%; border-collapse: collapse; min-width: 520px; }
    .freq-table thead th { font-size: 11px; font-weight: 700; color: var(--text2); padding: 10px 8px; text-align: center; border-bottom: 2px solid var(--border); }
    .freq-table thead th.op-col { text-align: left; padding-left: 12px; }
    .freq-table tbody tr { border-bottom: 1px solid var(--border); }
    .freq-table tbody tr:hover { background: rgba(255,255,255,0.03); }
    .freq-table td { padding: 12px 8px; text-align: center; vertical-align: middle; color: var(--text); }
    .freq-table td.op-cell { text-align: left; padding-left: 12px; }
    .op-pill { display: inline-flex; align-items: center; gap: 9px; }
    .op-swatch { width: 11px; height: 11px; border-radius: 2px; flex-shrink: 0; }
    .op-name { font-size: 13px; font-weight: 700; color: var(--text); }
    .op-sub { font-size: 10px; color: var(--text3); display: block; }
    .chk { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 7px; font-size: 14px; }
    .chk-yes { background: rgba(0,230,118,.16); color: var(--green); }
    .chk-no { background: rgba(255,255,255,.05); color: var(--text3); }
    .gen-badge { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 4px; display: inline-block; }
    .gen-freq-sub { font-size: 9px; color: var(--text3); display: block; margin-top: 3px; }
    .badge-2g { background: rgba(239,68,68,.18); color: #f87171; }
    .badge-3g { background: rgba(245,158,11,.18); color: #fbbf24; }
    .badge-4g { background: rgba(0,200,212,.16); color: var(--accent); }
    .badge-5g { background: rgba(0,230,118,.16); color: var(--green); }
    .freq-chips { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 20px; }
    @media (max-width: 600px) { .freq-chips { grid-template-columns: repeat(2,1fr); } }
    .freq-chip { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 12px; text-align: center; }
    .chip-label { font-size: 10px; color: var(--text3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 5px; }
    .chip-val { font-size: 13px; font-weight: 700; color: var(--text); }
    .chip-sub { font-size: 10px; color: var(--text3); margin-top: 4px; line-height: 1.4; }

    /* 5G cards */
    .freq-5g-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
    @media (max-width: 600px) { .freq-5g-grid { grid-template-columns: 1fr; } }
    .freq-5g-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 18px; }
    .freq-5g-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; color: var(--text); }
    .freq-5g-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
    .freq-5g-row:last-child { border-bottom: none; }
    .freq-5g-label { color: var(--text3); }
    .freq-5g-val { font-weight: 600; color: var(--text); }

    .freq-source { font-size: 10px; color: var(--text3); text-align: center; margin-top: 18px; }
    .freq-source a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

    /* Tooltip */
    #freq-tooltip { position: fixed; background: #0D1830; border: 1px solid var(--border); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: 11px; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .15s; max-width: 260px; line-height: 1.6; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
    #freq-tooltip.visible { opacity: 1; }
    .tip-op { font-weight: 700; font-size: 12px; margin-bottom: 4px; }
    .tip-row { color: var(--text2); }
    .tip-mhz { color: var(--accent2); font-weight: 600; }

/* ── Częstotliwości — zabezpieczenie mobilne ────────────────────────────────── */
@media (max-width: 560px) {
  .freq-band-label { width: 86px; min-width: 86px; }
  .freq-section-header { margin-left: 98px; }
  .freq-block-op { font-size: 9px; }
  .freq-block-mhz { display: none; }
  .freq-legend { gap: 10px; }
}
