/* Strona produktowa ConsentGate. Te same barwy i kroje co panel, zeby przejscie do logowania bylo niewidoczne. */
@font-face { font-family: "Plus Jakarta Sans Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format("woff2-variations"); 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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans Variable"; font-style: normal; font-display: swap; font-weight: 200 800; src: url(/fonts/plus-jakarta-sans-latin-wght-normal.woff2) format("woff2-variations"); 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: "JetBrains Mono Variable"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/fonts/jetbrains-mono-latin-wght-normal.woff2) format("woff2-variations"); }

:root {
  --bg: #f4f6fa;
  --surface: #fff;
  --ink: #0f172a;
  --ink2: #334155;
  --mut: #5b6b82;
  --line: #e2e8f0;
  --line2: #eef2f7;
  --navy: #0e1528;
  --navy2: #1a2440;
  --accent: #1f4fd8;
  --accent-soft: #e9eeff;
  --ok: #15803d;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.05);
  --r: 16px;
  --font: "Plus Jakarta Sans Variable", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono Variable", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 16px/1.6 var(--font); word-spacing: 0.08em; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--accent); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, #fff); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }
.muted { color: var(--mut); }
.eyebrow { font: 600 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mut); }
.eyebrow.light { color: #9db1f5; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* --- Przyciski --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 14.5px/1 var(--font); padding: 0 18px; min-height: 44px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s; }
.btn:hover { border-color: #b6c1d2; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: #1941b8; border-color: #1941b8; }
.btn.ghost.light { background: transparent; border-color: transparent; color: #dbe3f4; }
.btn.ghost.light:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.btn.outline { background: transparent; border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.btn.outline:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.6); }
.btn.big { min-height: 52px; padding: 0 24px; font-size: 16px; border-radius: 13px; }
.btn.wide { width: 100%; }

/* --- Gora --- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(14, 21, 40, 0.92); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.topin { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav > a { color: #c5cfe4; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 10px 12px; border-radius: 9px; }
.nav > a:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.navend { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.langlink { color: #9fb0d0; font: 600 13px var(--mono); text-decoration: none; padding: 10px; border-radius: 9px; }
.langlink:hover { color: #fff; }
.menubtn { display: none; margin-left: auto; background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }

/* --- Naglowek --- */
.hero { background: radial-gradient(900px 520px at 78% 8%, #1c3a9c 0%, rgba(28, 58, 156, 0) 62%), linear-gradient(160deg, #0e1528 0%, #131d3b 55%, #0e1528 100%); color: #fff; padding: 76px 0 96px; overflow: hidden; }
.heroin { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; margin-top: 18px; text-wrap: balance; }
.herolead { font-size: 19px; line-height: 1.55; color: #c9d3ea; margin-top: 22px; max-width: 54ch; }
.heroact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.herohint { font-size: 13.5px; color: #8fa0c4; margin-top: 14px; max-width: 56ch; }
.heropoints { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-weight: 600; font-size: 14.5px; color: #dbe3f4; }
.heropoints li { display: inline-flex; align-items: center; gap: 8px; }
.heropoints svg { color: #7ea0ff; }

/* --- Makieta okna --- */
.mock { position: relative; padding: 0 0 132px 0; }
.mockwin { background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); font-size: 14px; }
.mockhead strong { font-size: 18px; letter-spacing: -0.01em; }
.mocktabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); margin: 14px 0 14px; font-weight: 700; font-size: 13.5px; color: var(--mut); }
.mocktabs span { padding-bottom: 10px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.mocktabs .on { color: var(--accent); border-color: var(--accent); }
.mockwin p { color: var(--ink2); line-height: 1.5; }
.mockcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 16px 0; font-size: 12px; font-weight: 600; color: var(--ink2); }
.mockcats span { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; background: var(--bg); border-radius: 10px; padding: 10px; overflow: hidden; }
.mockcats i { width: 34px; height: 20px; border-radius: 10px; background: #cbd5e1; position: relative; }
.mockcats i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.mockcats i.on, .mockcats i.lockd { background: var(--accent); }
.mockcats i.lockd { opacity: 0.45; }
.mockcats i.on::after, .mockcats i.lockd::after { left: 17px; }
.mockbtns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mockbtns span { border: 2px solid var(--accent); color: var(--accent); border-radius: 9px; padding: 11px 6px; text-align: center; font-weight: 700; font-size: 12.5px; line-height: 1.2; }
.mockbtns .p { background: var(--accent); color: #fff; }
.mocklog { position: absolute; right: -14px; bottom: 0; width: min(330px, 86%); background: var(--navy2); border: 1px solid #2c3a63; border-radius: 14px; padding: 14px 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.mocklog .eyebrow { color: #8fa0c4; display: block; margin-bottom: 8px; }
.mockrow { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid #2c3a63; font-size: 13px; color: #dbe3f4; }
.mockrow b { font: 600 12px var(--mono); color: #8fa0c4; }
.pills { display: inline-flex; gap: 4px; }
.pills i { font: 600 10px/1 var(--mono); font-style: normal; padding: 4px 5px; border-radius: 5px; background: rgba(126, 160, 255, 0.18); color: #a9bfff; }

/* --- Liczby --- */
.facts { background: var(--navy); color: #fff; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.factsin { display: grid; grid-template-columns: repeat(4, 1fr); }
.factsin div { padding: 28px 24px 30px; border-left: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-direction: column; gap: 6px; }
.factsin div:first-child { border-left: 0; padding-left: 0; }
.factsin strong { font-size: 32px; line-height: 1; letter-spacing: -0.03em; font-weight: 800; }
.factsin span { color: #a9b6d3; font-size: 14.5px; line-height: 1.45; }

/* --- Sekcje --- */
.sec { padding: 92px 0; }
.sec.alt { background: var(--bg); }
.sechead { max-width: 700px; margin-bottom: 44px; }
.sechead h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; }
.sechead p { color: var(--mut); font-size: 18px; margin-top: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); }
.card h3 { font-size: 18px; line-height: 1.3; letter-spacing: -0.01em; margin: 16px 0 8px; }
.card p { color: var(--ink2); font-size: 15px; }
.ico { display: inline-flex; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { padding: 22px; position: relative; box-shadow: none; }
.feat h3 { font-size: 16.5px; }
.feat p { font-size: 14.5px; }
.feat.soon { background: transparent; border-style: dashed; border-color: #cbd5e1; }
.feat.soon .ico { background: var(--line2); color: var(--mut); }
.soontag { position: absolute; top: 22px; right: 18px; font: 600 10.5px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: #fef3c7; color: #854d0e; }

/* --- Kroki --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.stepn { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; align-items: center; justify-content: center; font: 700 15px var(--mono); }
.steps h3 { font-size: 18px; margin: 16px 0 8px; letter-spacing: -0.01em; }
.steps p { color: var(--ink2); font-size: 15px; }
.codefig { margin-top: 24px; background: var(--navy); border-radius: var(--r); padding: 20px 24px 24px; color: #dbe3f4; }
.codefig figcaption { font: 600 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #8fa0c4; margin-bottom: 12px; }
.codefig pre { margin: 0; overflow-x: auto; font: 500 15px/1.6 var(--mono); white-space: pre; }
.codefig b { color: #7ea0ff; font-weight: 600; }

/* --- Cennik --- */
.period { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 26px; }
.period button { border: 0; background: transparent; font: 700 14.5px var(--font); color: var(--ink2); padding: 0 16px; min-height: 40px; border-radius: 9px; cursor: pointer; }
.period button.on { background: var(--navy); color: #fff; }
.period em { font-style: normal; font-weight: 600; font-size: 12.5px; color: var(--ok); margin-left: 6px; }
.period button.on em { color: #86efac; }
.plans { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px 20px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 14px 40px rgba(31, 79, 216, 0.16); }
.tag { position: absolute; top: -12px; left: 18px; background: var(--accent); color: #fff; font: 700 11px/1 var(--font); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 19px; letter-spacing: -0.01em; }
.plandesc { color: var(--mut); font-size: 13.5px; min-height: 42px; margin-top: 4px; line-height: 1.4; }
.price { margin: 12px 0 18px; color: var(--mut); font-size: 13.5px; font-weight: 600; }
.price strong { font-size: 38px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-weight: 800; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.plan li { display: flex; gap: 8px; }
.plan li svg { flex: none; color: var(--accent); margin-top: 2px; }
.plansoon { font: 600 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #854d0e; background: #fef3c7; align-self: flex-start; padding: 5px 7px; border-radius: 6px; margin-bottom: 10px; }
.plan ul.later { flex: 1; margin-bottom: 22px; color: var(--mut); }
.plan ul.later svg { color: #94a3b8; }
.pilot { margin-top: 26px; background: var(--accent-soft); border-radius: 12px; padding: 16px 20px; color: #1e3a8a; font-size: 15px; max-width: 820px; }

/* --- Pytania --- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 17.5px; letter-spacing: -0.01em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 27px; width: 10px; height: 10px; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq p { color: var(--ink2); padding: 0 40px 22px 0; }

/* --- Wezwanie i stopka --- */
.cta { background: linear-gradient(135deg, #1f4fd8 0%, #1a3fae 100%); color: #fff; padding: 64px 0; }
.ctain { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.15; }
.cta p { color: #d5defa; margin-top: 10px; font-size: 17px; max-width: 56ch; }
.cta .btn.primary { background: #fff; border-color: #fff; color: var(--accent); }
.cta .btn.primary:hover { background: #eef2ff; }
.foot { background: var(--navy); color: #a9b6d3; padding: 56px 0 48px; font-size: 14.5px; }
.footin { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footbrand p { margin-top: 10px; max-width: 40ch; }
.footbrand .brand { margin-bottom: 6px; }
.foot h2 { font: 600 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: #7684a3; margin-bottom: 14px; }
.foot ul { display: flex; flex-direction: column; gap: 4px; }
.foot li a { color: #dbe3f4; text-decoration: none; display: inline-block; padding: 6px 0; }
.foot li a:hover { color: #fff; text-decoration: underline; }

/* --- Strony tekstowe --- */
.doc { padding-top: 64px; padding-bottom: 88px; }
.doc h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 10px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 10px; }
.doc p { color: var(--ink2); margin-top: 12px; font-size: 16.5px; }

/* --- Wezsze ekrany --- */
@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .menubtn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav.open { display: flex; }
  .nav > a { padding: 14px 8px; font-size: 16px; }
  .navend { margin: 10px 0 0; flex-direction: column; align-items: stretch; }
  .navend .btn { min-height: 48px; }
  .hero { padding: 52px 0 72px; }
  .heroin { grid-template-columns: 1fr; gap: 48px; }
  .mocklog { right: 0; }
  .factsin { grid-template-columns: repeat(2, 1fr); }
  .factsin div { padding: 22px 16px; }
  .factsin div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .factsin div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .grid3, .steps { grid-template-columns: 1fr; }
  .sec { padding: 64px 0; }
  .footin { grid-template-columns: 1fr 1fr; }
  .footbrand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .plans, .grid4 { grid-template-columns: 1fr; }
  .plandesc { min-height: 0; }
  .heroact .btn { width: 100%; }
  .herolead { font-size: 17px; }
  .mockwin { padding: 18px; }
  .mock { padding-bottom: 172px; }
  .mockcats { grid-template-columns: repeat(2, 1fr); }
  .mockbtns { grid-template-columns: 1fr; }
  .mocktabs { gap: 14px; font-size: 12.5px; }
  .period { display: flex; }
  .period button { flex: 1; padding: 6px 8px; }
  .period em { display: block; margin: 2px 0 0; }
  .sechead p { font-size: 16.5px; }
  .faq summary { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
