:root {
  --bg: #0b1020;
  --surface: #111831;
  --surface-2: #141f3f;
  --text: #eef2ff;
  --muted: #a8b3cf;
  --primary: #6a7dff;
  --primary-2: #46d3ff;
  --line: rgba(255, 255, 255, 0.12);
  --ok: #3ddc97;
  --danger: #ff6b6b;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(circle at 15% 0%, #1b2d66 0%, var(--bg) 38%);
  color: var(--text);
  line-height: 1.6;
}

.container { width: min(1120px, 92%); margin-inline: auto; }

[data-lang='en'] { display: none; }
body.lang-en [data-lang='pl'] { display: none; }
body.lang-en [data-lang='en'] { display: inline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 32, 0.72);
  border-bottom: 1px solid var(--line);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.brand-dot { width: 10px; height: 10px; border-radius: 99px; background: linear-gradient(130deg, var(--primary), var(--primary-2)); box-shadow: 0 0 20px #4cbfff; }
.top-nav { display: flex; gap: 20px; }
.top-nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
.top-nav a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: .42rem .62rem;
  font-weight: 700;
  cursor: pointer;
}
.lang-btn.is-active { background: rgba(255,255,255,.12); color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #081027; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,0.02); }

.hero-section { padding: 84px 0 52px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; color: var(--primary-2); font-size: .78rem; font-weight: 700; margin-bottom: .2rem; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; margin: .4rem 0 1rem; }
.lead { color: var(--muted); font-size: 1.05rem; max-width: 64ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 1.3rem; flex-wrap: wrap; }
.trust-points { list-style: none; margin: 1.2rem 0 0; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; color: #c5cfeb; }
.trust-points i { color: var(--ok); margin-right: 6px; }

.hero-card,
.feature-card,
.screen-card,
.industry-card,
.case-card,
.stats-panel,
.lead-form-wrap,
.faq-item {
  background: linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 16px;
}
.hero-card { padding: 1.2rem 1.25rem; }
.hero-card h2 { margin-top: 0; font-size: 1.1rem; }
.hero-card ul { margin: 0; padding-left: 1rem; color: #d9e2ff; }
.hero-card li { margin: .6rem 0; }

.section { padding: 64px 0; }
.section.alt { background: rgba(255,255,255,0.02); border-block: 1px solid var(--line); }
.section-head h2 { margin-top: .2rem; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.section-note { color: var(--muted); }

.feature-grid,
.screens-grid,
.industry-grid,
.case-grid {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.feature-grid,
.screens-grid,
.case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.industry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.feature-card,
.industry-card,
.case-card { padding: 1rem; }
.feature-card i { color: var(--primary-2); font-size: 1.2rem; }
.feature-card h3,
.industry-card h3,
.case-card h3 { margin: .3rem 0 .4rem; font-size: 1.02rem; }
.feature-card p,
.industry-card p,
.case-card p { margin: 0; color: var(--muted); }
.case-card strong { display: inline-block; margin-top: .9rem; color: #d6ebff; }

.screen-card { margin: 0; overflow: hidden; }
.screen-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.screen-placeholder {
  aspect-ratio: 16 / 10;
  display: none;
  place-content: center;
  text-align: center;
  font-weight: 700;
  color: #d7e0fc;
  background: linear-gradient(140deg, #22356e, #17254c);
}
.screen-placeholder small { font-weight: 500; opacity: .9; }
.screen-card figcaption { padding: .8rem .85rem 1rem; color: var(--muted); font-size: .94rem; }

.two-col,
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.benefit-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.benefit-list li { margin-bottom: .75rem; color: #d8e1ff; }
.benefit-list i { color: var(--ok); margin-right: 7px; }

.faq-list { display: grid; gap: 10px; margin-top: 16px; }
.faq-item { padding: .8rem 1rem; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { color: var(--muted); margin: .7rem 0 0; }

.cta-box {
  background: linear-gradient(120deg, rgba(106,125,255,.22), rgba(70,211,255,.12));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
}
.cta-box h2 { margin-top: 0; }
.cta-box p { color: var(--muted); }

.lead-form-wrap { padding: 1rem; }
.lead-form { display: grid; gap: .75rem; }
.lead-form label { font-size: .92rem; color: #dae3ff; display: grid; gap: .35rem; }
.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .74rem .8rem;
  background: #0f1732;
  color: var(--text);
}

.form-alert {
  border-radius: 12px;
  padding: .65rem .8rem;
  margin-bottom: .9rem;
  font-size: .92rem;
}
.form-alert.success { background: rgba(61, 220, 151, .12); border: 1px solid rgba(61,220,151,.35); color: #b7ffd8; }
.form-alert.error { background: rgba(255, 107, 107, .12); border: 1px solid rgba(255,107,107,.35); color: #ffd1d1; }

.site-footer { border-top: 1px solid var(--line); padding: 22px 0; margin-top: 24px; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-wrap p { margin: 0; color: var(--muted); }
.footer-wrap a { color: var(--text); text-decoration: none; }

@media (max-width: 980px) {
  .hero-grid, .lead-grid, .two-col { grid-template-columns: 1fr; }
  .feature-grid, .screens-grid, .industry-grid, .case-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .top-nav { display: none; }
  .feature-grid, .screens-grid, .industry-grid, .case-grid { grid-template-columns: 1fr; }
}
