/* ArcanumLex — arkusz stylów strony (własny, bez kodu szablonu) */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/opensans-latin-ext.062c1f2aaf2d.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/opensans-latin.dcf31ebe1074.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500-latin-ext.882901bfb9a0.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ubuntu";
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ubuntu-500-latin.c6bd3f0bf07f.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Ubuntu";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700-latin-ext.49dea29c68f0.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Ubuntu";
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ubuntu-700-latin.9418887ae687.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/notosansarabic-arabic.24794b313a2d.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

:root {
  --primary: #1363C6;
  --primary-deep: #0d4fa3;
  --secondary: #15ACE1;
  --light: #F4F7FE;
  --dark: #14183E;
  --text: #5b6280;
  --line: #e3e9f6;
  --white: #fff;
  --ok: #19a974;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 24, 62, .08);
  --shadow-lg: 0 24px 60px rgba(20, 24, 62, .18);
  --wrap: 1200px;
  --head: "Ubuntu", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
}

/* Strona arabska: litery arabskie z Noto Sans Arabic, łacina z tych samych krojów co reszta */
html:lang(ar) {
  --head: "Noto Sans Arabic", "Ubuntu", system-ui, sans-serif;
  --body: "Noto Sans Arabic", "Open Sans", system-ui, sans-serif;
}
html:lang(ar) body { line-height: 1.85; }
html:lang(ar) h1, html:lang(ar) h2, html:lang(ar) h3 { line-height: 1.45; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 16px/1.7 var(--body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--dark); font-family: var(--head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Plakietka nad nagłówkiem */
.pill {
  display: inline-block;
  margin-bottom: 18px;
  padding: 3px 14px;
  border: 1px solid var(--primary);
  border-radius: 50px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
}
.pill.on-blue { border-color: rgba(255, 255, 255, .7); color: var(--white); }

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 28px;
  border: 2px solid transparent;
  border-radius: 50px;
  font: 600 .95rem/1.2 var(--body);
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-deep); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--light); color: var(--primary-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--primary); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Nagłówek strony */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary);
  transition: box-shadow .25s;
}
.site-head.scrolled { box-shadow: 0 6px 24px rgba(20, 24, 62, .25); }
.head-row { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font: 700 1.55rem/1 var(--head); letter-spacing: -.01em; }
.brand:hover { color: var(--white); }
.brand svg { width: 34px; height: 34px; }
.brand b { color: #bfe9fa; font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 8px 12px; color: rgba(255, 255, 255, .88); font-size: .93rem; font-weight: 600; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .1); }
.nav .btn { margin-inline-start: 10px; padding: 8px 22px; min-height: 42px; }
.nav .btn, .nav .btn:hover { color: var(--primary); }
.nav .btn:hover { background: var(--light); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; }
.menu-btn .icon { margin: auto; }

.head-tools { display: flex; align-items: center; gap: 8px; }
.lang { position: relative; }
.lang summary {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 50px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { background: rgba(255, 255, 255, .12); }
.lang summary .icon { width: 20px; height: 20px; }
.lang ul {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 60;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.lang li a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--dark); font-weight: 600; }
.lang li a:hover, .lang li a[aria-current] { background: var(--light); color: var(--primary); }

/* Rozwijane menu już poniżej 1200 px: dłuższe języki (rumuński, polski) nie mieszczą się w jednej linii */
@media (max-width: 1199px) {
  .menu-btn { display: block; }
  .head-tools { margin-inline-start: auto; }
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 20px;
    background: var(--primary);
    box-shadow: 0 16px 30px rgba(20, 24, 62, .25);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 10px 0 0; }
}

/* Część główna (hero) */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 96px;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary) 55%, var(--primary-deep) 100%);
  color: rgba(255, 255, 255, .9);
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28) 1.6px, transparent 2px) 0 0 / 18px 18px;
  -webkit-mask: radial-gradient(circle, #000 45%, transparent 70%);
  mask: radial-gradient(circle, #000 45%, transparent 70%);
}
.hero .ring {
  position: absolute;
  width: 240px;
  height: 240px;
  left: 44%;
  top: 40px;
  border: 26px solid rgba(21, 172, 225, .28);
  border-radius: 50%;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .lead { max-width: 560px; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; font-size: .9rem; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { width: 20px; height: 20px; color: #bfe9fa; }

@media (max-width: 991px) {
  .hero { padding: 40px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero .ring { left: auto; right: -60px; top: 52%; }
}

/* Telefon w części głównej */
.device { position: relative; width: min(330px, 86vw); margin: 0 auto; }
.phone {
  position: relative;
  padding: 12px;
  border-radius: 44px;
  background: #0f1330;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2f5a;
}
.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 84px;
  height: 22px;
  margin-left: -42px;
  border-radius: 20px;
  background: #0f1330;
  z-index: 2;
}
.screen { overflow: hidden; border-radius: 34px; background: var(--light); color: var(--dark); font-size: 13px; line-height: 1.4; }
.scr-top { padding: 48px 18px 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.scr-top small { display: block; color: var(--text); font-size: 11.5px; }
.scr-top strong { display: block; font: 700 17px/1.25 var(--head); }
.progress { margin-top: 12px; }
.progress span { display: block; margin-bottom: 6px; color: var(--primary); font-size: 11.5px; font-weight: 600; }
.bar { height: 6px; border-radius: 6px; background: var(--line); }
.bar i { display: block; width: 60%; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.scr-body { padding: 14px 14px 18px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.shot { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 10px; }
.shot::before { content: ""; position: absolute; inset: 58% 0 0; background: rgba(0, 0, 0, .1); }
.shot::after { content: ""; position: absolute; width: 34%; height: 30%; left: 14%; top: 16%; border: 3px solid rgba(255, 255, 255, .75); border-radius: 3px; }
.shot.s1 { background: linear-gradient(180deg, #e9dccb 58%, #b98d64 58%); }
.shot.s2 { background: linear-gradient(180deg, #dfe7ef 58%, #8f9aa8 58%); }
.shot.s3 { background: linear-gradient(180deg, #f1e6d2 58%, #c9a679 58%); }
.shot.s4 { background: linear-gradient(180deg, #d8e6e1 58%, #9db3a6 58%); }
.shot.s5 { background: linear-gradient(180deg, #ece4f1 58%, #a99bb5 58%); }
.shot.s6 { background: linear-gradient(180deg, #e4ecf7 58%, #7f93b3 58%); }
.shot.s2::after, .shot.s5::after { left: auto; right: 14%; width: 26%; height: 44%; top: 22%; border-radius: 2px 2px 0 0; }
.shot b {
  position: absolute;
  inset-inline-end: 5px;
  bottom: 5px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ok);
  color: var(--white);
}
.shot b svg { width: 12px; height: 12px; stroke-width: 3; }
.rows { margin: 0 0 14px; padding: 0; list-style: none; }
.rows li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-bottom: 6px; border-radius: 10px; background: var(--white); }
.rows .dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e3f6ee; color: var(--ok); }
.rows .dot svg { width: 14px; height: 14px; stroke-width: 2.6; }
.rows .dot.now { background: #e5effc; color: var(--primary); }
.rows span { flex: 1; font-weight: 600; }
.rows em { color: var(--text); font-size: 11.5px; font-style: normal; }
.scr-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 50px; background: var(--primary); color: var(--white); font-weight: 600; }
.scr-btn svg { width: 18px; height: 18px; }

.float {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
  font-size: 13px;
  line-height: 1.35;
}
.float strong { display: block; font: 700 15px/1.3 var(--head); }
.float small { color: var(--text); font-size: 12px; }
.float .badge { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--white); }
.float.seal { inset-inline-end: -74px; top: 34%; }
.float.seal .badge { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.float.lock { inset-inline-start: -66px; bottom: -30px; }
.float.lock .badge { background: var(--dark); width: 36px; height: 36px; }
.float.lock .badge svg { width: 18px; height: 18px; }
@media (max-width: 1240px) { .float.seal { inset-inline-end: -30px; } .float.lock { inset-inline-start: -30px; } }
@media (max-width: 520px) {
  .float.seal { inset-inline-end: -8px; top: 30%; }
  .float.lock { inset-inline-start: -8px; bottom: -30px; }
  .float { padding: 10px 12px; }
}

/* Pasek z liczbami */
.facts { position: relative; z-index: 2; margin-top: -46px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fact { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.fact b { color: var(--primary); font: 700 2.4rem/1 var(--head); }
.fact span { color: var(--dark); font-weight: 600; line-height: 1.4; }
@media (max-width: 760px) { .facts-grid { grid-template-columns: 1fr; } .fact { padding: 16px 20px; } }

/* Sekcje */
.section { padding: 96px 0; }
.section.alt { background: var(--light); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 991px) { .section { padding: 72px 0; } .split { grid-template-columns: 1fr; gap: 40px; } }

.checks { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--dark); font-weight: 600; }
.checks .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--primary); stroke-width: 2.4; }
.checks.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .checks.two { grid-template-columns: 1fr; } }

/* Aparat w aplikacji */
.list-head { margin: 24px 0 0; color: var(--dark); font-weight: 600; }
.list-head + .checks { margin-top: 12px; }
.cam { position: relative; width: min(400px, 100%); margin: 0 auto; }
.cam-screen { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 30px; background: #0f1330; box-shadow: var(--shadow-lg); }
.cam-scene { position: absolute; inset: 0 0 92px; background: linear-gradient(180deg, #ece2d4 0 58%, #b98d64 58% 100%); }
.cam-scene::before { content: ""; position: absolute; left: 12%; top: 14%; width: 34%; height: 30%; border: 7px solid #fff; border-radius: 4px; background: linear-gradient(160deg, #d3e9f8, #a7c9e4); }
.cam-scene::after { content: ""; position: absolute; right: 12%; top: 20%; width: 26%; height: 38%; border-radius: 6px 6px 0 0; background: #f6f1ea; box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .06); }
.corner { position: absolute; width: 34px; height: 34px; border: 3px solid rgba(255, 255, 255, .95); }
.corner.tl { top: 20px; left: 20px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.corner.tr { top: 20px; right: 20px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.corner.bl { bottom: 112px; left: 20px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.corner.br { bottom: 112px; right: 20px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.cam-bar { position: absolute; inset: auto 0 0; height: 92px; display: grid; place-items: center; background: #0f1330; }
.shutter { width: 60px; height: 60px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 5px #0f1330, 0 0 0 8px rgba(255, 255, 255, .85); }
.cam-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--dark);
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}
.cam-chip .icon { width: 20px; height: 20px; color: var(--ok); stroke-width: 2.6; }
.cam-chip.c2 .icon { color: var(--primary); stroke-width: 2; }
.cam-chip.c1 { inset-inline-end: -56px; top: 22%; }
.cam-chip.c2 { inset-inline-start: -56px; bottom: 126px; }
@media (max-width: 1240px) { .cam-chip.c1 { inset-inline-end: -16px; } .cam-chip.c2 { inset-inline-start: -16px; } }
@media (max-width: 520px) { .cam-chip { font-size: .8rem; padding: 8px 12px; } .cam-chip.c1 { inset-inline-end: -6px; } .cam-chip.c2 { inset-inline-start: -6px; } }

/* Rodzaje plików */
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kind { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 12px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--dark); font-weight: 600; text-align: center; }
.kind .circle { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--light); color: var(--primary); }
.kind .circle svg { width: 28px; height: 28px; }
.kind:nth-child(2) { transform: translateY(20px); }
.kind:nth-child(5) { transform: translateY(20px); }
@media (max-width: 420px) { .kinds { gap: 10px; } .kind { padding: 20px 6px; font-size: .9rem; } .kind .circle { width: 52px; height: 52px; } }

/* Kroki */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 32px 24px 26px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font: 700 1.1rem/1 var(--head);
}
.step:nth-child(even)::before { background: var(--secondary); }
.step p { margin: 0; }
@media (max-width: 991px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Teczki */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 34px 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-align: center; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card .circle { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--light); color: var(--primary); transition: background-color .25s, color .25s; }
.card:hover .circle { background: var(--primary); color: var(--white); }
.card .circle svg { width: 30px; height: 30px; }
.card p { margin: 0; }
@media (max-width: 991px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Niebieski pas: bezpieczeństwo */
.band { position: relative; overflow: hidden; padding: 96px 0; background: var(--primary); color: rgba(255, 255, 255, .9); }
.band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -200px; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.band::after { content: ""; position: absolute; width: 180px; height: 180px; left: 38%; top: -70px; border-radius: 50%; border: 22px solid rgba(21, 172, 225, .3); }
.band .wrap { position: relative; z-index: 1; }
.band h2 { color: var(--white); }
.band .checks li { color: var(--white); }
.band .checks .icon { color: #bfe9fa; }
@media (max-width: 991px) { .band { padding: 72px 0; } }

.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.node { position: relative; padding: 20px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-lg); color: var(--dark); }
.node strong { display: block; font: 700 1.05rem/1.3 var(--head); }
.node small { color: var(--text); font-size: .88rem; }
.node .head { display: flex; align-items: center; gap: 12px; }
.node .circle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--light); color: var(--primary); flex: none; }
.node.device-node { grid-column: 1 / -1; justify-self: center; width: min(100%, 340px); }
.node.device-node .circle { background: var(--dark); color: var(--white); }
.files { display: flex; gap: 6px; margin-top: 14px; }
.files i { flex: 1; height: 34px; border-radius: 6px; background: repeating-linear-gradient(135deg, var(--light) 0 6px, #e7eefb 6px 12px); position: relative; }
.files i::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 9px; height: 11px; border: 2px solid var(--primary); border-top-width: 5px; border-radius: 2px; }
.links { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; height: 96px; }
.link { position: relative; display: flex; align-items: center; justify-content: center; }
.link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed rgba(255, 255, 255, .6); }
.link::after { content: ""; position: absolute; bottom: -2px; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top: 8px solid rgba(255, 255, 255, .8); border-bottom: 0; }
.link span { position: relative; z-index: 1; padding: 4px 12px; border-radius: 50px; background: var(--primary-deep); color: var(--white); font-size: .8rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 560px) {
  .flow, .links { gap: 0 10px; }
  .node { padding: 14px; }
  .node:not(.device-node) .head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .node .circle { width: 38px; height: 38px; }
  .node strong { font-size: .98rem; }
  .link span { font-size: .72rem; padding: 3px 8px; }
}

/* Certyfikat */
.cert { position: relative; max-width: 460px; margin: 0 auto; padding: 30px 30px 26px; border-radius: 6px; background: var(--white); box-shadow: var(--shadow-lg); color: var(--dark); font-size: .92rem; }
.cert::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--primary), var(--secondary)); }
.cert-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.cert-head .brand { color: var(--dark); font-size: 1.2rem; }
.cert-head .brand b { color: var(--primary); }
.cert-head .brand svg { width: 28px; height: 28px; }
.cert-head > span:last-child { color: var(--text); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.cert dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 18px; }
.cert dt { color: var(--text); font-size: .85rem; }
.cert dd { margin: 0; font-weight: 600; }
.cert i[lang="en"] { color: var(--text); font-style: normal; font-weight: 400; }
.claim i[lang="en"] { display: block; margin-top: 6px; font-size: .86rem; }
.more { margin-top: 28px; }
.claim { padding: 14px 16px; margin-bottom: 18px; border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; background: var(--light); font-weight: 600; line-height: 1.5; }
.cert-foot { display: flex; align-items: center; gap: 16px; }
.cert-foot svg.qr { width: 74px; height: 74px; flex: none; }
.cert-foot small { color: var(--text); font-size: .82rem; }
.cert-foot b { display: block; color: var(--primary); font-size: .95rem; }
.stamp {
  position: absolute;
  right: 26px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 3px solid rgba(19, 99, 198, .55);
  border-radius: 50%;
  color: rgba(19, 99, 198, .75);
  font: 700 .72rem/1.25 var(--head);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
  transform: rotate(-14deg);
  background: rgba(255, 255, 255, .7);
}
.stamp::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(19, 99, 198, .45); border-radius: 50%; }
@media (max-width: 520px) { .cert { padding: 24px 18px 20px; } .cert dl { padding-right: 78px; } .stamp { top: 70px; bottom: auto; right: 10px; width: 78px; height: 78px; font-size: .56rem; } }

/* Ceny */
.prices { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 24px; align-items: stretch; }
.price { display: flex; flex-direction: column; padding: 34px 30px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.price h3 { margin-bottom: 4px; font-size: 1.35rem; font-weight: 700; }
.price .tag { color: var(--text); font-size: .9rem; font-weight: 600; }
.price .amount { margin: 18px 0 2px; color: var(--dark); font: 700 2.6rem/1 var(--head); }
.price .amount small { color: var(--text); font: 600 1rem var(--body); }
.price .alt { color: var(--text); font-size: .92rem; }
.price ul { flex: 1; display: grid; gap: 10px; align-content: start; margin: 22px 0 28px; padding: 0; list-style: none; }
.price li { display: flex; gap: 10px; color: var(--dark); font-size: .95rem; }
.price li .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--primary); stroke-width: 2.4; }
.price.main { position: relative; background: var(--primary); color: rgba(255, 255, 255, .85); box-shadow: var(--shadow-lg); }
.price.main h3, .price.main .amount, .price.main li { color: var(--white); }
.price.main .tag, .price.main .alt, .price.main .amount small { color: rgba(255, 255, 255, .8); }
.price.main li .icon { color: #bfe9fa; }
.price.main .ribbon { position: absolute; top: 18px; inset-inline-end: 18px; padding: 3px 12px; border-radius: 50px; background: var(--secondary); color: var(--white); font-size: .78rem; font-weight: 600; }
.pay { max-width: 820px; margin: 32px auto 0; text-align: center; font-size: .92rem; }
.pay p { margin: 0 0 8px; }
.pay a { color: var(--primary); text-decoration: underline; }
.price .terms { margin: -14px 0 22px; font-size: .85rem; line-height: 1.5; }
.price.main .terms { color: rgba(255, 255, 255, .85); }
.price .terms + .terms { margin-top: -16px; }
.num { display: inline-block; direction: ltr; unicode-bidi: isolate; }
@media (max-width: 991px) { .prices { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Pytania */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { margin-bottom: 14px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; color: var(--dark); font: 500 1.08rem/1.4 var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--light); color: var(--primary); font: 700 1.2rem/1 var(--body); flex: none; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 22px; }

/* Wezwanie na końcu */
.cta { position: relative; overflow: hidden; padding: 56px 48px; border-radius: 24px; background: linear-gradient(120deg, var(--primary), var(--secondary)); color: rgba(255, 255, 255, .92); text-align: center; }
.cta::before { content: ""; position: absolute; width: 260px; height: 260px; left: -80px; top: -120px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.cta h2 { position: relative; color: var(--white); }
.cta p { position: relative; margin-bottom: 26px; font-size: 1.05rem; }
@media (max-width: 560px) { .cta { padding: 40px 20px; } }

/* Stopka */
.site-foot { padding: 72px 0 0; background: var(--dark); color: rgba(255, 255, 255, .65); font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.site-foot h4 { margin-bottom: 16px; color: var(--white); font-size: 1.05rem; font-weight: 500; }
.site-foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-foot a { color: rgba(255, 255, 255, .65); }
.site-foot a:hover { color: var(--white); }
.site-foot .brand { margin-bottom: 16px; color: var(--white); }
.copy { padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

@media (max-width: 400px) {
  .head-row { gap: 10px; }
  .site-head .brand { font-size: 1.3rem; gap: 8px; }
  .site-head .brand svg { width: 30px; height: 30px; }
  .lang summary { padding: 0 10px; }
}

/* strona „Prüfen” (krok 5a) */
.wrap.narrow { max-width: 760px; }
.pruefen h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.pruefen .lead { color: var(--text); font-size: 1.08rem; }
.lookup { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--light); color: var(--dark); }
.dropzone { display: grid; justify-items: center; gap: 8px; margin: 28px 0; padding: 40px 20px; border: 2px dashed var(--primary); border-radius: 18px; background: var(--white); text-align: center; cursor: pointer; transition: background .2s; }
.dropzone.over, .dropzone:hover { background: var(--light); }
.dropzone .icon { width: 44px; height: 44px; fill: none; stroke: var(--primary); stroke-width: 1.6; }
.dropzone strong { color: var(--dark); font-size: 1.1rem; }
.dropzone small { color: var(--text); }
.accepts { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 6px; margin: 6px 0 2px; }
.accept { display: grid; justify-items: center; gap: 6px; min-width: 56px; }
.dropzone .accept .icon { width: 32px; height: 32px; stroke-width: 1.7; }
.accept .pair { display: flex; align-items: center; gap: 3px; }
.accept .pair em { color: var(--primary); font-style: normal; font-weight: 700; }
.accept b { max-width: 92px; color: var(--dark); font-size: .84rem; font-weight: 600; line-height: 1.25; }
.accept-or { margin-bottom: 22px; color: var(--text); font-size: .8rem; }
.verdict { margin: 28px 0; }
.seal-line { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 10px; padding: 16px 18px; border-radius: 14px; background: var(--light); color: var(--dark); font-weight: 600; }
.seal-line .icon { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.seal-line.ok { background: #e7f7ef; color: #0f6e4b; }
.seal-line.bad { background: #fdecec; color: #a32020; }
.checks { margin: 0 0 18px; padding: 0 0 0 20px; color: var(--text); font-size: .95rem; }
.checks .bad, .checks .missing { color: #a32020; }
.summary { margin: 0 0 12px; font-weight: 700; }
.summary.ok { color: #0f6e4b; }
.summary.bad { color: #a32020; }
.files { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.file { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--white); box-shadow: 0 6px 20px rgba(20, 24, 62, .08); }
.file .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: none; stroke-width: 2.4; }
.file.ok .icon { stroke: var(--ok); }
.file.bad .icon { stroke: #c62828; }
.file div { display: grid; gap: 2px; min-width: 0; }
.file strong { overflow-wrap: anywhere; color: var(--dark); }
.file p { margin: 0; }
.file.bad p { color: #a32020; }
.file small { color: var(--text); }
/* podgląd sprawdzonego pliku i pliki spoza pieczęci (punkt 13 raportu bezpieczeństwa z 14.10.2026) */
.file .preview { display: block; max-width: 100%; max-height: 320px; margin-top: 8px; border-radius: 10px; background: var(--light); }
.file audio.preview { width: 100%; }
.unchecked { margin: 0 0 24px; padding: 14px 16px; border-radius: 14px; background: #fff6e0; color: #6b4a00; }
.unchecked p { margin: 0 0 6px; }
.unchecked .unchecked-title { font-weight: 700; }
.unchecked ul { margin: 0; padding-left: 20px; overflow-wrap: anywhere; }
.how { margin-top: 32px; padding: 16px 18px; border-radius: 14px; background: var(--light); }
.how summary { cursor: pointer; font-weight: 700; color: var(--dark); }
.how ol { padding-left: 20px; }
.pruefen [hidden] { display: none; }

/* zamówienie, strona po płatności i teksty prawne (krok 7) */
.order h1, .legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.order .lead { color: var(--text); }
.plan-switch { display: inline-flex; gap: 4px; margin: 8px 0 24px; padding: 4px; border-radius: 50px; background: var(--light); }
.plan-switch a { padding: 8px 20px; border-radius: 50px; color: var(--dark); font-weight: 600; }
.plan-switch a[aria-current] { background: var(--primary); color: var(--white); }
.order-box { margin: 0 0 16px; padding: 24px; border: 2px solid var(--primary); border-radius: var(--radius); background: var(--white); }
.order-box h2 { margin: 0 0 14px; font-size: 1.3rem; }
.order-box dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.order-box dt { color: var(--dark); font-weight: 700; }
.order-box dd { margin: 0; }
@media (max-width: 600px) { .order-box { padding: 18px 16px; } .order-box dl { grid-template-columns: 1fr; gap: 2px; } .order-box dd { margin-bottom: 10px; } }
.order-more { font-size: .9rem; }
.order-field { display: grid; gap: 6px; margin: 24px 0; }
.order-field span { color: var(--dark); font-weight: 700; }
.order-field input { min-height: 48px; padding: 10px 14px; border: 1px solid #c9d3ea; border-radius: 10px; color: var(--dark); font: inherit; }
.order-field input[aria-invalid] { border-color: #c62828; }
.order-field small { font-size: .88rem; }
/* Wypowiedzenie i odstąpienie (krok 7b-2) */
.declaration fieldset.order-field { min-width: 0; padding: 0; border: 0; }
.declaration legend { padding: 0; }
.declaration legend span { color: var(--dark); font-weight: 700; }
.order-field i { font-size: .88rem; font-style: normal; font-weight: 400; }
.order-field .consent span { color: var(--dark); font-weight: 400; }
.order-field textarea { padding: 10px 14px; border: 1px solid #c9d3ea; border-radius: 10px; color: var(--dark); font: inherit; resize: vertical; }
.order-field textarea[aria-invalid] { border-color: #c62828; }
.date-choice { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; }
.date-choice input { min-height: 44px; padding: 8px 12px; border: 1px solid #c9d3ea; border-radius: 10px; color: var(--dark); font: inherit; }
.date-choice input[aria-invalid] { border-color: #c62828; }
.declaration-text { margin: 24px 0; padding: 16px; border-radius: 10px; background: var(--light); color: var(--dark); }
.declaration-list { padding-inline-start: 20px; }
.foot-contract { display: flex; flex-wrap: wrap; gap: 12px; padding-bottom: 32px; }
.site-foot .btn-foot { display: inline-flex; flex-direction: column; gap: 2px; padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 10px; color: var(--white); font-weight: 600; }
.site-foot .btn-foot:hover { background: rgba(255, 255, 255, .08); }
.btn-foot small { color: rgba(255, 255, 255, .75); font-size: .85rem; font-weight: 400; }
@media print { .site-head, .site-foot, .no-print { display: none !important; } .section { padding: 0; } }
.features-box { margin: 24px 0 12px; padding: 18px 20px; border-radius: var(--radius); background: var(--light); }
.features-box h3 { margin: 0 0 8px; font-size: 1.05rem; }
.features-box ul { margin: 0; padding-inline-start: 20px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; color: var(--dark); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.field-error, .form-error { display: block; margin: 4px 0 10px; color: #a32020; font-style: normal; font-weight: 600; }
.form-error { padding: 12px 16px; border-radius: 10px; background: #fdecec; }
.order-legal { margin: 22px 0 18px; font-size: .92rem; }
.order-legal a, .order a.back { color: var(--primary); text-decoration: underline; }
.order-button { width: 100%; max-width: 420px; font-size: 1.05rem; }
.order-after { margin-top: 12px; font-size: .9rem; }
.key-label { margin: 0; color: var(--dark); font-weight: 700; }
.license-key { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.license-key code { padding: 12px 14px; border-radius: 10px; background: var(--light); color: var(--dark); font-size: 1rem; overflow-wrap: anywhere; }
.legal-note { padding: 12px 16px; border-radius: 10px; background: var(--light); }
.legal article h2 { margin-top: 32px; font-size: 1.3rem; }
.legal article h3 { margin-top: 22px; font-size: 1.1rem; }
.legal article a { color: var(--primary); overflow-wrap: anywhere; }
.legal .table { overflow-x: auto; margin: 0 0 18px; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { padding: 8px 10px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.legal th { background: var(--light); color: var(--dark); }
