:root {
  --bg: #05080f;
  --bg-2: #0a0f1b;
  --panel: rgba(22, 32, 54, 0.55);
  --line: rgba(143, 200, 255, 0.1);
  --text: #e3f1ff;
  --muted: rgba(191, 224, 255, 0.62);
  --ice-200: #bfe0ff;
  --ice-300: #8fc8ff;
  --ice-400: #5aa9f0;
  --ice-500: #3a8bdb;
  --ice-600: #2a6fbf;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.02em; margin: 0; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }

/* ---------- tło ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(143, 200, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 200, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.glow { position: fixed; z-index: -2; border-radius: 50%; filter: blur(130px); pointer-events: none; }
.glow-a { width: 620px; height: 620px; top: -220px; right: -120px; background: rgba(58, 139, 219, 0.28); }
.glow-b { width: 520px; height: 520px; top: 50%; left: -220px; background: rgba(31, 82, 150, 0.3); }
#snow { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 15, 0.65);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 700; font-size: 17px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; box-shadow: 0 0 0 1px rgba(191, 224, 255, 0.2), 0 6px 20px rgba(58, 139, 219, 0.35); }
.brand b { color: var(--ice-300); font-weight: 700; }
.nav-links { display: flex; gap: 26px; margin-left: 12px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  background: var(--panel); border: 1px solid var(--line); color: var(--ice-200);
  border-radius: 12px; padding: 8px 12px; font: 600 13px "Inter", sans-serif;
}
.lang-btn:hover { border-color: rgba(143, 200, 255, 0.3); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: #0e1524; border: 1px solid var(--line); border-radius: 14px; min-width: 180px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: 0.18s;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 0; border-radius: 9px;
  background: none; color: var(--muted); font: 500 14px "Inter", sans-serif; cursor: pointer; text-align: left;
}
.lang-menu button:hover, .lang-menu button.active { background: rgba(58, 139, 219, 0.15); color: var(--text); }
.lang-menu .flag { font-size: 18px; }

/* ---------- przyciski ---------- */
.btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 12px;
  background: linear-gradient(135deg, var(--ice-400), var(--ice-600));
  color: #fff; font-weight: 700; border-radius: 14px;
  box-shadow: 0 10px 30px rgba(58, 139, 219, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
  transform: translateX(-100%); transition: transform 0.7s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 40px rgba(90, 169, 240, 0.5); }
.btn:hover::after { transform: translateX(100%); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 28px 16px 24px; font-size: 18px; }
.btn-lg span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn-lg small { font-weight: 500; font-size: 12.5px; opacity: 0.85; }
.btn-ghost { color: var(--ice-200); font-weight: 600; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); transition: 0.2s; }
.btn-ghost:hover { border-color: rgba(143, 200, 255, 0.35); background: rgba(58, 139, 219, 0.08); }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 40px; padding: 90px 0 60px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px;
  border: 1px solid rgba(143, 200, 255, 0.22); background: rgba(90, 169, 240, 0.1);
  color: var(--ice-300); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin: 22px 0 20px; font-weight: 800; }
.grad { background: linear-gradient(90deg, var(--ice-200), var(--ice-300) 45%, var(--ice-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 40px 0 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: "Sora", sans-serif; font-size: 28px; }
.hero-stats span { color: var(--muted); font-size: 13.5px; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 460px; }
.halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(90, 169, 240, 0.5), transparent 65%); filter: blur(30px); animation: pulse 5s ease-in-out infinite; }
.hero-logo { position: relative; width: min(100%, 440px); filter: drop-shadow(0 30px 60px rgba(58, 139, 219, 0.45)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }

/* ---------- makieta launchera ---------- */
.mock {
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: #070b14; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(143, 200, 255, 0.05);
  transform: perspective(1600px) rotateX(6deg); transition: transform 0.6s;
}
.mock:hover { transform: perspective(1600px) rotateX(0); }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: var(--muted); }
.mock-bar img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; }
.mock-bar i:first-of-type { margin-left: auto; }
.mock-bar i { width: 10px; height: 10px; border-radius: 3px; background: rgba(143, 200, 255, 0.15); margin-left: 8px; }
.mock-body { display: flex; min-height: 380px; }
.mock-side { width: 80px; border-right: 1px solid var(--line); background: #0a0f1b; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0; }
.mock-side img { width: 46px; height: 46px; border-radius: 13px; object-fit: cover; margin-bottom: 10px; box-shadow: 0 0 24px rgba(90, 169, 240, 0.5); }
.mock-side span { width: 44px; height: 38px; border-radius: 10px; background: rgba(143, 200, 255, 0.06); }
.mock-side span.on { background: rgba(58, 139, 219, 0.22); box-shadow: inset 3px 0 0 var(--ice-400); }
.mock-main { flex: 1; padding: 26px; display: flex; flex-direction: column; gap: 20px;
  background-image: linear-gradient(rgba(143, 200, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 200, 255, 0.04) 1px, transparent 1px); background-size: 24px 24px; }
.mock-hero { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px; border-radius: 18px; background: linear-gradient(160deg, rgba(58, 139, 219, 0.16), rgba(14, 21, 36, 0.6)); border: 1px solid var(--line); }
.mock-hero h3 { font-size: 32px; margin: 12px 0 6px; }
.mock-hero p { margin: 0; color: var(--muted); font-size: 14px; max-width: 380px; }
.mock-hero img { width: 150px; height: 150px; border-radius: 22px; object-fit: cover; box-shadow: 0 20px 50px rgba(58, 139, 219, 0.4); animation: float 6s ease-in-out infinite; }
.mock-pill { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: var(--ice-300); border: 1px solid rgba(143, 200, 255, 0.2); border-radius: 99px; padding: 4px 10px; }
.mock-play { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.mock-play img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; }
.mock-play div:not(.mock-progress) { display: flex; flex-direction: column; line-height: 1.25; }
.mock-play small { font-size: 9.5px; letter-spacing: 0.2em; color: var(--ice-300); opacity: 0.7; text-transform: uppercase; font-weight: 700; }
.mock-play b { font-family: "Sora", sans-serif; }
.mock-progress { flex: 1; height: 7px; border-radius: 9px; background: #1c2740; overflow: hidden; }
.mock-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ice-600), var(--ice-400), var(--ice-200)); animation: load 4s ease-in-out infinite; }
@keyframes load { 0% { width: 0; } 70%, 100% { width: 100%; } }
.mock-play button { border: 0; border-radius: 12px; padding: 14px 40px; color: #fff; font: 800 16px "Sora", sans-serif; letter-spacing: 0.08em; background: linear-gradient(135deg, var(--ice-400), var(--ice-600)); box-shadow: 0 8px 24px rgba(58, 139, 219, 0.4); }

/* ---------- sekcje ---------- */
.section { padding: 110px 0 0; }
.section-head { text-align: center; margin-bottom: 48px; }
.eyebrow { color: var(--ice-400); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 10px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  backdrop-filter: blur(12px); transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(143, 200, 255, 0.3); }
.card h3 { font-size: 18px; margin: 16px 0 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.ico { width: 46px; height: 46px; display: grid; place-items: center; font-size: 22px; border-radius: 13px; background: rgba(58, 139, 219, 0.15); border: 1px solid rgba(143, 200, 255, 0.15); }
.card-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; padding: 36px; }
.card-wide h3 { font-size: 24px; }
.card-wide p { font-size: 16px; max-width: 520px; }

.tab { background: rgba(0, 0, 0, 0.5); border-radius: 6px; padding: 4px; font: 14px/1 "Consolas", monospace; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.tab-title { text-align: center; color: rgba(255, 255, 255, 0.7); font-size: 12px; margin: 6px 0 8px; }
.tab-row { display: flex; align-items: center; gap: 7px; padding: 4px 6px; margin-bottom: 2px; background: rgba(255, 255, 255, 0.1); color: #fff; }
.tab-row img { width: 17px; height: 17px; object-fit: contain; filter: drop-shadow(0 0 4px rgba(90, 169, 240, 0.9)); }
.tab-row span { flex: 1; }
.tab-row em { width: 14px; height: 10px; background: linear-gradient(90deg, #34d399 0 2px, transparent 2px 4px, #34d399 4px 6px, transparent 6px 8px, #34d399 8px 10px, transparent 10px 12px, #34d399 12px 14px); clip-path: polygon(0 80%, 100% 0, 100% 100%, 0 100%); }
.head { width: 17px; height: 17px; border-radius: 2px; background: linear-gradient(135deg, #b07a4a, #6b4426); }
.h2 { background: linear-gradient(135deg, #8fc8ff, #2a6fbf); }
.h3 { background: linear-gradient(135deg, #555, #222); }
.h4 { background: linear-gradient(135deg, #f0a060, #9c5a2c); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.steps li > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font: 800 20px "Sora", sans-serif; background: linear-gradient(135deg, var(--ice-400), var(--ice-600)); box-shadow: 0 8px 24px rgba(58, 139, 219, 0.4); }
.steps h3 { margin: 18px 0 8px; font-size: 20px; }
.steps p { margin: 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
.chips span { padding: 9px 16px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ice-200); transition: 0.2s; }
.chips span:hover { border-color: var(--ice-400); color: #fff; transform: translateY(-2px); }
.chips-alt span { background: rgba(58, 139, 219, 0.1); }

details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; transition: border-color 0.2s; }
details[open] { border-color: rgba(143, 200, 255, 0.28); }
summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ice-400); font-size: 22px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 24px 20px; color: var(--muted); }

.final { position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 30px; border: 1px solid rgba(143, 200, 255, 0.18); background: radial-gradient(ellipse at 50% 0%, rgba(58, 139, 219, 0.35), transparent 70%), var(--bg-2); }
.final img { width: 110px; margin: 0 auto 10px; filter: drop-shadow(0 16px 40px rgba(90, 169, 240, 0.6)); animation: float 6s ease-in-out infinite; }
.final h2 { font-size: clamp(30px, 4vw, 48px); }
.final p { color: var(--muted); max-width: 520px; margin: 14px auto 32px; font-size: 17px; }

.footer { margin-top: 110px; border-top: 1px solid var(--line); padding: 36px 0 44px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer p { margin: 0; color: rgba(191, 224, 255, 0.4); font-size: 13px; flex: 1; min-width: 260px; }
.footer .copy { flex: 0; white-space: nowrap; min-width: 0; }

/* ---------- animacje wejścia ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
/* hero widoczny od razu – krótka animacja przy wczytaniu zamiast czekania na przewinięcie */
.hero-in { animation: hero-in 0.8s ease-out both; }
.hero-in + .hero-in { animation-delay: 0.12s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- responsywność ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 50px; }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero-stats { justify-content: center; }
  .hero-art { min-height: 0; order: -1; }
  .hero-logo { width: 150px; }
  .halo { width: 220px; }
  .features { grid-template-columns: 1fr 1fr; }
  .card-wide { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .mock-hero img { display: none; }
}
@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .btn-sm { display: none; }
  .mock-side, .mock-progress { display: none; }
  .mock-play button { padding: 12px 20px; }
  .hero-stats { gap: 22px; }
  .section { padding-top: 80px; }
}

/* ---------- strona 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.nf img { width: 120px; margin: 0 auto 8px; filter: drop-shadow(0 16px 40px rgba(90, 169, 240, 0.6)); animation: float 6s ease-in-out infinite; }
.nf h1 { font-size: clamp(64px, 14vw, 120px); line-height: 1; margin: 0; }
.nf p { color: var(--muted); margin: 12px 0 28px; }
