:root {
  --bg: #050b18;
  --bg2: #08122a;
  --card: rgba(9, 18, 42, 0.78);
  --text: #eaf4ff;
  --muted: #9fb4cf;
  --line: rgba(88, 173, 255, 0.22);
  --cyan: #2fd9ff;
  --cyan2: #58a7ff;
  --accent: #19c3ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(47,217,255,0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #071022 45%, #040913 100%);
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(5, 11, 24, 0.74);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--text);
}
.logo {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #33e6ff, #0f4fe0 74%);
  box-shadow: 0 0 24px rgba(47,217,255,0.35), inset 0 0 14px rgba(255,255,255,0.12);
  font-size: 20px;
  font-weight: 800;
  color: #021327;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nav-links a { color: var(--muted); }
.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 18px;
  border: 1px solid rgba(88,173,255,0.18);
  background: linear-gradient(180deg, rgba(12,22,44,0.92), rgba(7,14,30,0.88));
  box-shadow: 0 10px 24px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: auto;
  height: 31px;
  padding: 0 9px 0 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform .16s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.lang-btn:hover {
  color: var(--text);
  transform: translateY(-1px);
}
.lang-btn[data-lang="pl"]:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.24) 0 49%, rgba(220,20,60,0.34) 51% 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 0 18px rgba(220,20,60,0.18);
}
.lang-btn[data-lang="en"]:hover {
  background:
    linear-gradient(90deg, rgba(18,34,79,0.28), rgba(18,34,79,0.10)),
    repeating-linear-gradient(to bottom, rgba(178,34,52,0.28) 0 14%, rgba(255,255,255,0.10) 14% 28%);
  border-color: rgba(88,167,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 0 18px rgba(88,167,255,0.16);
}
.lang-btn.active {
  background: linear-gradient(180deg, rgba(29,47,82,0.85), rgba(12,20,38,0.92));
  color: var(--text);
  border-color: rgba(47,217,255,0.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 0 0 1px rgba(47,217,255,0.08);
}
.lang-btn:active {
  transform: scale(0.98);
}
.flag-icon {
  width: 17px;
  height: 12px;
  display: inline-block;
  border-radius: 3px;
  overflow: hidden;
  flex: 0 0 auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18), 0 2px 6px rgba(0,0,0,0.22);
}
.flag-icon.flag-pl {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 13'%3E%3Crect width='19' height='6.5' fill='%23ffffff'/%3E%3Crect y='6.5' width='19' height='6.5' fill='%23dc143c'/%3E%3C/svg%3E");
}
.flag-icon.flag-us {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 19 13'%3E%3Crect width='19' height='13' fill='%23ffffff'/%3E%3Cg fill='%23b22234'%3E%3Crect width='19' height='1' y='0'/%3E%3Crect width='19' height='1' y='2'/%3E%3Crect width='19' height='1' y='4'/%3E%3Crect width='19' height='1' y='6'/%3E%3Crect width='19' height='1' y='8'/%3E%3Crect width='19' height='1' y='10'/%3E%3Crect width='19' height='1' y='12'/%3E%3C/g%3E%3Crect width='8.2' height='7' fill='%233c3b6e'/%3E%3Cg fill='%23ffffff'%3E%3Ccircle cx='1.2' cy='1.2' r='.35'/%3E%3Ccircle cx='3' cy='1.2' r='.35'/%3E%3Ccircle cx='4.8' cy='1.2' r='.35'/%3E%3Ccircle cx='6.6' cy='1.2' r='.35'/%3E%3Ccircle cx='2.1' cy='2.4' r='.35'/%3E%3Ccircle cx='3.9' cy='2.4' r='.35'/%3E%3Ccircle cx='5.7' cy='2.4' r='.35'/%3E%3Ccircle cx='1.2' cy='3.6' r='.35'/%3E%3Ccircle cx='3' cy='3.6' r='.35'/%3E%3Ccircle cx='4.8' cy='3.6' r='.35'/%3E%3Ccircle cx='6.6' cy='3.6' r='.35'/%3E%3Ccircle cx='2.1' cy='4.8' r='.35'/%3E%3Ccircle cx='3.9' cy='4.8' r='.35'/%3E%3Ccircle cx='5.7' cy='4.8' r='.35'/%3E%3Ccircle cx='1.2' cy='6' r='.35'/%3E%3Ccircle cx='3' cy='6' r='.35'/%3E%3Ccircle cx='4.8' cy='6' r='.35'/%3E%3Ccircle cx='6.6' cy='6' r='.35'/%3E%3C/g%3E%3C/svg%3E");
}
.lang-label {
  font-size: 10px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0.96;
}

.hero {
  padding: 88px 0 52px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan);
  background: rgba(20, 35, 70, 0.46);
  font-size: 14px;
}
h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.02;
  margin: 18px 0 16px;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: var(--muted);
  max-width: 720px;
}
.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
  text-decoration: none;
  min-height: 52px;
}
.btn-primary {
  color: #021327;
  background: linear-gradient(135deg, #33e6ff, #58a7ff);
  box-shadow: 0 10px 28px rgba(47,217,255,0.22);
}
.btn-secondary {
  color: var(--text);
  background: rgba(10, 21, 45, 0.56);
}
.hero-card,
.card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}
.hero-card { padding: 26px; }
.stat {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.stat:last-child { border-bottom: 0; }
.stat strong {
  color: var(--cyan);
  font-size: 24px;
}
.section { padding: 18px 0 38px; }
.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 14px;
}
.section p.section-intro {
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.7;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature,
.legal-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8,18,42,0.65);
}
.feature h3,
.legal-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}
.feature p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}
.kicker {
  color: var(--cyan);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.callout {
  margin: 34px 0 14px;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(47,217,255,0.26);
  background: linear-gradient(180deg, rgba(26,52,95,0.55), rgba(8,18,42,0.55));
}
.callout p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}
.legal-wrap { padding: 54px 0 56px; }
.legal-header {
  max-width: 820px;
  margin-bottom: 26px;
}
.legal-header h1 {
  font-size: clamp(32px, 5vw, 54px);
  margin-bottom: 10px;
}
.meta {
  color: var(--muted);
  font-size: 14px;
}
.legal-stack {
  display: grid;
  gap: 18px;
}
.legal-card ul {
  margin: 0;
  padding-left: 20px;
}
.footer {
  margin-top: 26px;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 19, 0.84);
}
.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.small {
  color: var(--muted);
  font-size: 14px;
}
.email { word-break: break-word; }

@media (max-width: 900px) {
  .nav-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }
  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 62px;
  }
}

@media (max-width: 560px) {
  .lang-switch {
    padding: 3px;
    gap: 3px;
  }
  .lang-btn {
    height: 29px;
    padding: 0 8px 0 7px;
    gap: 5px;
  }
  .flag-icon {
    width: 16px;
    height: 11px;
  }
  .lang-label {
    display: inline;
    font-size: 9px;
  }
}