/* =========================================================
   WYGLĄD STRONY (kolory, czcionki, odstępy)
   Najważniejsze kolory są w :root poniżej – zmień je, a zmieni się cała strona.
   --accent = główny kolor przycisków, --bg = tło
   ========================================================= */
  :root { --accent:#3b82f6; --accent-l:#60a5fa; --bg:#0b1120; --bg2:#0f172a; --card:#131c31; --line:#1e293b; --text:#e2e8f0; --head:#f8fafc; --muted:#94a3b8; }
  * { box-sizing:border-box; margin:0; padding:0; }
  html { scroll-behavior:smooth; }
  body { font-family:"Segoe UI",system-ui,-apple-system,sans-serif; color:var(--text); line-height:1.6; background:var(--bg); }
  a { color:var(--accent-l); }
  .wrap { max-width:1100px; margin:0 auto; padding:0 20px; }
  nav { position:sticky; top:0; background:rgba(11,17,32,.85); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); z-index:10; }
  nav .wrap { display:flex; justify-content:space-between; align-items:center; height:64px; }
  .logo { font-weight:800; font-size:21px; color:var(--head); text-decoration:none; display:flex; align-items:center; gap:10px; letter-spacing:-.3px; }
  .logo img { width:32px; height:32px; }
  .logo span { color:var(--accent-l); }
  nav ul { display:flex; gap:24px; list-style:none; }
  nav ul a { color:var(--muted); text-decoration:none; font-size:15px; }
  nav ul a:hover { color:var(--head); }
  .btn { display:inline-block; background:var(--accent); color:#fff; padding:13px 26px; border-radius:10px; text-decoration:none; font-weight:600; transition:.2s; box-shadow:0 8px 24px rgba(59,130,246,.25); }
  .btn:hover { background:#2563eb; transform:translateY(-1px); }
  .btn.ghost { background:transparent; color:var(--accent-l); border:2px solid #2b4a7e; box-shadow:none; }
  .btn.ghost:hover { border-color:var(--accent-l); }
  .hero { background:radial-gradient(900px 500px at 15% 0%, rgba(59,130,246,.18), transparent 60%), radial-gradient(700px 400px at 90% 30%, rgba(139,92,246,.14), transparent 60%); padding:90px 0 80px; }
  .hero .wrap { display:grid; grid-template-columns:1.2fr 1fr; gap:50px; align-items:center; }
  .badge { display:inline-block; background:rgba(59,130,246,.15); color:var(--accent-l); padding:5px 14px; border-radius:99px; font-size:14px; font-weight:600; margin-bottom:18px; border:1px solid rgba(59,130,246,.3); }
  h1 { font-size:46px; line-height:1.15; color:var(--head); margin-bottom:18px; }
  h1 em { font-style:normal; background:linear-gradient(90deg,#60a5fa,#a78bfa); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .hero p { font-size:19px; color:var(--muted); margin-bottom:28px; }
  .hero .cta { display:flex; gap:12px; flex-wrap:wrap; }
  .mock { background:var(--card); border-radius:16px; box-shadow:0 25px 60px rgba(0,0,0,.5); overflow:hidden; border:1px solid var(--line); }
  .mock-bar { background:#0f172a; padding:10px 14px; display:flex; gap:6px; }
  .mock-bar i { width:11px; height:11px; border-radius:50%; background:#334155; display:block; }
  .mock-body { padding:22px; }
  .mock-hero { background:linear-gradient(135deg,#1e3a8a,#6d28d9); color:#fff; border-radius:10px; padding:26px 20px; margin-bottom:14px; }
  .mock-hero b { font-size:20px; display:block; } .mock-hero small { opacity:.85; }
  .mock-row { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
  .mock-row div { background:#1e293b; height:60px; border-radius:8px; }
  .mock-line { height:10px; background:#1e293b; border-radius:5px; margin-top:12px; width:80%; }
  section { padding:80px 0; }
  section.alt { background:var(--bg2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
  h2 { font-size:34px; color:var(--head); text-align:center; margin-bottom:12px; }
  .lead { text-align:center; color:var(--muted); font-size:18px; max-width:680px; margin:0 auto 46px; }
  .grid3 { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
  .grid4 { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
  .card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:28px; transition:.2s; }
  .card:hover { border-color:#2b4a7e; }
  .card .ico { font-size:30px; margin-bottom:10px; }
  .card h3 { font-size:19px; margin-bottom:8px; color:var(--head); }
  .card p { color:var(--muted); font-size:15px; }
  .price { position:relative; display:flex; flex-direction:column; }
  .price.pop { border:2px solid var(--accent); box-shadow:0 15px 50px rgba(59,130,246,.2); }
  .price .tagpop { position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--accent); color:#fff; font-size:13px; padding:3px 14px; border-radius:99px; font-weight:600; white-space:nowrap; }
  .price .amount { font-size:38px; font-weight:800; color:var(--head); margin:8px 0 2px; }
  .price .amount small { font-size:16px; color:var(--muted); font-weight:500; }
  .price ul { list-style:none; margin:18px 0 24px; flex:1; }
  .price li { padding:6px 0 6px 26px; position:relative; font-size:15px; }
  .price li::before { content:"✓"; position:absolute; left:0; color:#4ade80; font-weight:800; }
  .price .btn { text-align:center; }
  .note { text-align:center; color:var(--muted); font-size:15px; margin-top:26px; }
  .step { text-align:center; }
  .step .num { width:52px; height:52px; border-radius:50%; background:linear-gradient(135deg,#3b82f6,#8b5cf6); color:#fff; font-weight:800; font-size:20px; display:grid; place-items:center; margin:0 auto 14px; }
  .step h3 { font-size:17px; margin-bottom:6px; color:var(--head); } .step p { color:var(--muted); font-size:15px; }
  .about { display:grid; grid-template-columns:1fr 1.4fr; gap:50px; align-items:center; }
  .avatar { width:100%; max-width:320px; aspect-ratio:1; border-radius:24px; background:linear-gradient(135deg,#2563eb,#7c3aed); display:grid; place-items:center; color:#fff; font-size:90px; font-weight:800; margin:0 auto; box-shadow:0 20px 60px rgba(124,58,237,.3); }
  .about h2 { text-align:left; } .about p { margin-bottom:14px; color:var(--muted); font-size:17px; }
  .about b { color:var(--head); }
  .about ul { list-style:none; } .about li { padding:4px 0; }
  .demo { border-radius:16px; overflow:hidden; border:1px solid var(--line); background:var(--card); text-decoration:none; color:inherit; display:block; transition:.2s; }
  .demo:hover { transform:translateY(-4px); border-color:#2b4a7e; }
  .demo .thumb { height:170px; display:grid; place-items:center; color:#fff; font-size:22px; font-weight:700; text-align:center; padding:10px; }
  .demo .body { padding:20px; } .demo h3 { font-size:17px; margin-bottom:4px; color:var(--head); } .demo p { color:var(--muted); font-size:14px; }
  .demo .more { color:var(--accent-l); font-size:14px; font-weight:600; margin-top:8px; display:inline-block; }
  details { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:18px 22px; margin-bottom:12px; max-width:800px; margin-left:auto; margin-right:auto; }
  summary { font-weight:600; cursor:pointer; font-size:17px; color:var(--head); }
  details p { margin-top:10px; color:var(--muted); }
  .contact { background:linear-gradient(180deg,var(--bg2),#020617); text-align:center; border-top:1px solid var(--line); }
  .contact-box { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
  .contact-box a { background:var(--card); border:1px solid var(--line); color:#fff; text-decoration:none; padding:22px 30px; border-radius:14px; min-width:260px; transition:.2s; }
  .contact-box a:hover { border-color:var(--accent); }
  .contact-box b { display:block; font-size:20px; margin-top:4px; }
  .contact-box small { color:var(--muted); }

  /* --- menu (wspólne) --- */
  nav ul a.active { color:var(--head); font-weight:600; border-bottom:2px solid var(--accent); padding-bottom:4px; }
  .btn-small { padding:9px 18px; }
  .burger { display:none; background:none; border:1px solid var(--line); color:var(--head); font-size:22px; border-radius:8px; padding:4px 12px; cursor:pointer; }

  /* --- nagłówek podstrony --- */
  .page-hero { padding:70px 0 50px; text-align:center; background:radial-gradient(700px 300px at 50% 0%, rgba(59,130,246,.16), transparent 70%); border-bottom:1px solid var(--line); }
  .page-hero h1 { font-size:42px; }
  .page-hero p { color:var(--muted); font-size:18px; max-width:640px; margin:0 auto; }

  /* --- pasek CTA na dole podstron --- */
  .cta-band { text-align:center; padding:70px 0; background:linear-gradient(135deg,#1e3a8a,#5b21b6); }
  .cta-band h2 { color:#fff; } .cta-band p { color:#dbeafe; margin-bottom:24px; font-size:18px; }
  .cta-band .btn { background:#fff; color:#1e3a8a; box-shadow:none; }

  /* --- formularz kontaktowy --- */
  .form { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:28px; display:grid; gap:14px; grid-template-columns:1fr 1fr; text-align:left; }
  .form label { font-size:14px; color:var(--muted); display:block; margin-bottom:5px; }
  .form input, .form select, .form textarea { width:100%; padding:12px 14px; border-radius:10px; border:1px solid var(--line); background:var(--bg); color:var(--text); font-family:inherit; font-size:15px; }
  .form input:focus, .form textarea:focus, .form select:focus { outline:2px solid var(--accent); border-color:transparent; }
  .form .full { grid-column:1/-1; }
  .form button { border:0; cursor:pointer; font-size:16px; font-family:inherit; }
  .two { display:grid; grid-template-columns:1fr 1.3fr; gap:40px; align-items:start; }
  .info-list div { padding:16px 0; border-bottom:1px solid var(--line); }
  .info-list small { color:var(--muted); display:block; } .info-list a, .info-list b { color:var(--head); font-size:19px; text-decoration:none; }

  /* --- tabela porównania pakietów --- */
  .compare { width:100%; border-collapse:collapse; margin-top:10px; }
  .compare th, .compare td { padding:12px 10px; border-bottom:1px solid var(--line); text-align:center; }
  .compare th:first-child, .compare td:first-child { text-align:left; color:var(--muted); }
  .compare th { color:var(--head); }
  .compare .y { color:#4ade80; font-weight:800; } .compare .n { color:#475569; }

  /* --- stopka (wspólna) --- */
  footer { background:#020617; color:#64748b; padding:44px 0 20px; font-size:14px; border-top:1px solid var(--line); }
  footer a { color:#94a3b8; text-decoration:none; line-height:1.9; } footer a:hover { color:var(--head); }
  footer b { color:var(--head); }
  .footer-grid { display:grid; grid-template-columns:2fr 1fr 1.3fr; gap:30px; }
  .copy { text-align:center; margin-top:30px; color:#475569; font-size:13px; }

  /* --- formularz zamówienia --- */
  .only-mobile { display:none; }
  .order { display:grid; grid-template-columns:1fr 340px; gap:28px; align-items:start; }
  .order fieldset { border:1px solid var(--line); border-radius:16px; background:var(--card); padding:24px; margin:0 0 20px; }
  .order legend { padding:0 10px; font-weight:700; color:var(--head); font-size:18px; }
  .order .grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
  .order .full { grid-column:1/-1; }
  .order label { font-size:14px; color:var(--muted); display:block; margin-bottom:5px; }
  .order input, .order select, .order textarea { width:100%; padding:11px 13px; border-radius:10px; border:1px solid var(--line); background:var(--bg); color:var(--text); font-family:inherit; font-size:15px; }
  .order input:focus, .order select:focus, .order textarea:focus { outline:2px solid var(--accent); border-color:transparent; }
  .order input[type=checkbox], .order input[type=radio] { width:auto; accent-color:var(--accent); }
  .order .req { color:#f87171; }
  .order small.help { display:block; color:#64748b; font-size:12px; margin-top:4px; }
  .pick { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
  .pick label { border:2px solid var(--line); border-radius:12px; padding:14px; cursor:pointer; margin:0; color:var(--text); background:var(--bg); transition:.15s; }
  .pick label:hover { border-color:#2b4a7e; }
  .pick label:has(input:checked) { border-color:var(--accent); background:rgba(59,130,246,.08); }
  .pick b { display:block; color:var(--head); font-size:16px; } .pick span { color:var(--accent-l); font-weight:700; }
  .pick input { float:right; }
  .checks { display:grid; grid-template-columns:1fr 1fr; gap:6px 16px; }
  .checks label { color:var(--text); display:flex; gap:8px; align-items:center; margin:0; font-size:15px; }
  .summary { position:sticky; top:84px; background:var(--card); border:1px solid var(--accent); border-radius:16px; padding:22px; }
  .summary h3 { color:var(--head); margin-bottom:12px; }
  .summary .line { display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid var(--line); font-size:14px; }
  .summary .total { font-size:28px; font-weight:800; color:var(--head); margin-top:12px; }
  .summary .dep { color:var(--muted); font-size:14px; }
  .summary .btn { width:100%; text-align:center; margin-top:16px; border:0; cursor:pointer; font-size:16px; font-family:inherit; }
  .legal { max-width:820px; margin:0 auto; }
  .legal h2 { text-align:left; font-size:22px; margin:30px 0 10px; }
  .legal p, .legal li { color:var(--muted); margin-bottom:8px; } .legal ol, .legal ul { padding-left:22px; }

  /* --- ładne checkboxy i przyciski wyboru (cała strona) --- */
  input[type=checkbox], input[type=radio] { appearance:none; -webkit-appearance:none; width:22px !important; height:22px; flex:0 0 22px; margin:0; padding:0 !important;
    border:2px solid #334155; background:var(--bg); cursor:pointer; display:inline-grid; place-content:center; transition:.15s; vertical-align:middle; }
  input[type=checkbox] { border-radius:7px; }
  input[type=radio] { border-radius:50%; }
  input[type=checkbox]::before { content:""; width:11px; height:11px; transform:scale(0); transition:.12s;
    clip-path:polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); background:#fff; }
  input[type=radio]::before { content:""; width:10px; height:10px; border-radius:50%; transform:scale(0); transition:.12s; background:#fff; }
  input[type=checkbox]:checked, input[type=radio]:checked { background:var(--accent); border-color:var(--accent); box-shadow:0 0 0 4px rgba(59,130,246,.18); }
  input[type=checkbox]:checked::before, input[type=radio]:checked::before { transform:scale(1); }
  input[type=checkbox]:hover, input[type=radio]:hover { border-color:var(--accent-l); }
  input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline:2px solid var(--accent-l); outline-offset:2px; }
  form.tried input[type=checkbox]:invalid { border-color:#f87171; }
  /* opcje w zamówieniu jako kafelki */
  .checks label { border:1px solid var(--line); border-radius:10px; padding:10px 12px; background:var(--bg); cursor:pointer; transition:.15s; }
  .checks label:hover { border-color:#2b4a7e; }
  .checks label:has(input:checked) { border-color:var(--accent); background:rgba(59,130,246,.08); color:var(--head); }
  .pick input { float:right; }
  .consent { display:flex; gap:10px; align-items:flex-start; color:var(--text); }

  .guarantee-line { color:#86efac !important; font-size:16px !important; font-weight:600; margin-top:-12px; }

  /* --- komunikaty formularzy --- */
  .form-msg { margin-top:12px; padding:12px 14px; border-radius:10px; font-size:14px; line-height:1.5; }
  .form-msg.ok { background:rgba(74,222,128,.1); border:1px solid #166534; color:#bbf7d0; }
  .form-msg.err { background:rgba(248,113,113,.1); border:1px solid #7f1d1d; color:#fecaca; }
  .form-msg a { color:#fff; }
  form.tried input:invalid, form.tried select:invalid, form.tried textarea:invalid { border-color:#f87171 !important; outline:1px solid #f87171; }
  .mobile-total { display:none; }

  /* --- telefon / tablet --- */
  @media (max-width:860px) {
    .burger { display:block; }
    .hide-mobile { display:none; }
    nav ul { display:none; position:absolute; top:64px; left:0; right:0; background:var(--bg2); flex-direction:column; gap:0; border-bottom:1px solid var(--line); }
    nav ul.open { display:flex; }
    nav ul li a { display:block; padding:14px 20px; border-bottom:1px solid var(--line); }
    nav ul a.active { border-bottom:1px solid var(--line); }
    h1 { font-size:34px; } h2 { font-size:28px; } .page-hero h1 { font-size:32px; }
    .hero .wrap, .about, .grid3, .grid4, .two, .footer-grid, .form, .order, .order .grid, .pick, .checks { grid-template-columns:1fr; }
    .only-mobile { display:block; }
    .summary { position:static; }
    .mobile-total { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:20; background:var(--bg2); border-top:1px solid var(--accent); padding:12px 18px; justify-content:space-between; align-items:center; }
    .mobile-total b { color:var(--head); font-size:18px; }
    .mobile-total a { padding:9px 16px; }
    body.has-mobile-total footer { padding-bottom:80px; }
    .mock { display:none; }
    section { padding:60px 0; }
    .about h2 { text-align:center; }
    .compare { font-size:13px; }
  }
