/* =========================================================
   firmabox.pl — biel, szarości, czerń + akcent #003da5
   ========================================================= */
:root {
    --black: #0b0b0c;
    --ink: #16181c;
    --g-700: #3d4148;
    --g-500: #6b7079;
    --g-400: #9aa0a8;
    --g-300: #c9ccd1;
    --g-200: #e3e5e8;
    --g-100: #f1f2f4;
    --g-50: #f8f9fa;
    --white: #ffffff;
    --error: #b42318;

    --accent: #003da5;
    --accent-600: #00318a;
    --accent-100: #dce6f6;
    --accent-50: #f0f4fb;
    --accent-ring: rgba(0, 61, 165, .14);

    --glass-bg: rgba(255, 255, 255, .58);
    --glass-bg-strong: rgba(255, 255, 255, .78);
    --glass-border: rgba(255, 255, 255, .75);
    --glass-edge: rgba(11, 11, 12, .07);
    --glass-blur: blur(16px) saturate(1.6);
    --glass-shine: inset 0 1px 0 rgba(255, 255, 255, .9);

    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgba(11, 11, 12, .04), 0 8px 24px rgba(11, 11, 12, .06);
    --shadow-lg: 0 2px 4px rgba(11, 11, 12, .05), 0 22px 48px rgba(11, 11, 12, .11);
    --font: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --nav-h: 68px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font: 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
::selection { background: var(--accent-100); color: var(--black); }
svg { display: block; flex-shrink: 0; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82em; }
section[id] { scroll-margin-top: var(--nav-h); }

/* ---------- przyciski ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; padding: 0 22px;
    font: 700 16px var(--font); text-decoration: none; white-space: nowrap;
    border: 1px solid transparent; border-radius: 999px; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { box-shadow: 0 10px 24px rgba(11, 11, 12, .2); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--g-300); }
.btn-light:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(2px); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .26em; color: var(--black); line-height: 1; }
.logo-icon { width: 1.28em; height: auto; overflow: visible; }
.logo-icon .flap { fill: currentColor; }
.logo-word { font-weight: 800; letter-spacing: -.04em; }
.logo-tld { font-size: .42em; font-weight: 700; letter-spacing: 0; margin-left: .06em; color: var(--accent); }
.logo--sm { font-size: 26px; }
.logo--xl { font-size: clamp(54px, 11vw, 132px); }

/* ---------- nawigacja ---------- */
.nav {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--nav-h); display: flex; align-items: center;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.nav.is-scrolled { border-bottom-color: var(--g-200); box-shadow: 0 4px 20px rgba(11, 11, 12, .04); }
.nav-inner { display: flex; align-items: center; gap: 24px; }
.nav-brand { text-decoration: none; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links > a {
    position: relative; padding: 4px 0;
    font-size: 15px; font-weight: 600; color: var(--g-700); text-decoration: none;
    transition: color .2s;
}
.nav-links > a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
    height: 2px; border-radius: 2px; background: var(--accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-links > a:hover { color: var(--black); }
.nav-links > a:hover::after { transform: scaleX(1); }
.nav-toggle {
    display: none; margin-left: auto;
    width: 42px; height: 42px; place-items: center;
    background: none; border: 1px solid var(--g-200); border-radius: 12px; cursor: pointer; color: var(--ink);
    transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--g-400); }

.nav-login { position: relative; }
.nav-login > summary { list-style: none; }
.nav-login > summary::-webkit-details-marker { display: none; }
.nav-login > summary svg { transition: transform .25s var(--ease); }
.nav-login[open] > summary svg { transform: rotate(180deg); }
.nav-login-menu {
    position: absolute; right: 0; top: calc(100% + 10px);
    min-width: 260px; padding: 6px;
    background: var(--white); border: 1px solid var(--g-200); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    animation: drop .2s var(--ease);
}
.nav-login-menu a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; border-radius: 10px; text-decoration: none;
    transition: background .15s;
}
.nav-login-menu a > svg { color: var(--g-500); transition: color .15s; }
.nav-login-menu a:hover { background: var(--accent-50); }
.nav-login-menu a:hover > svg { color: var(--accent); }
.nav-login-menu span { display: grid; line-height: 1.3; }
.nav-login-menu small { color: var(--g-500); font-size: 13px; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: grid; place-items: center; text-align: center;
    padding: calc(var(--nav-h) + 48px) 0 96px;
}
.hero::before {                             /* delikatna poświata akcentu */
    content: ""; position: absolute; left: 50%; top: 38%;
    width: min(900px, 120vw); aspect-ratio: 2 / 1; translate: -50% -50%;
    background: radial-gradient(closest-side, rgba(0, 61, 165, .06), transparent);
    pointer-events: none;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(var(--g-300) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 25%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 25%, transparent 75%);
    animation: fade 1.6s ease both;
}
.hero-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.hero-inner > * { animation: rise .9s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .3s; }
.hero-inner > :nth-child(3) { animation-delay: .45s; }
.hero-inner > :nth-child(4) { animation-delay: .6s; }
.hero-inner > :nth-child(5) { animation-delay: .75s; }
.hero-inner > :nth-child(6) { animation-delay: .9s; }

.hero-logo .flap-l { transform-box: fill-box; transform-origin: 100% 100%; animation: flap-l 1.2s .25s var(--ease) both; }
.hero-logo .flap-r { transform-box: fill-box; transform-origin: 0 100%;   animation: flap-r 1.2s .25s var(--ease) both; }
.hero-logo .logo-word { animation: word-in 1s .15s var(--ease) both; }

.hero-tagline {
    display: inline-flex; align-items: center; gap: 14px;
    margin-top: -10px;
    font-size: clamp(13px, 1.6vw, 16px); font-weight: 800;
    letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent);
}
.hero-tagline::before,
.hero-tagline::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .35; }

.hero-lead { font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: var(--black); letter-spacing: -.01em; }
.hero-sub { max-width: 640px; font-size: 18px; color: var(--g-500); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--g-700); text-decoration: none;
    background: rgba(255, 255, 255, .75); border: 1px solid var(--g-200); border-radius: 999px;
    transition: border-color .2s, color .2s, background .2s;
}
.hero-chip:hover { border-color: var(--accent-100); color: var(--accent); background: var(--accent-50); }
.hero-chip::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); animation: dot 2.2s infinite;
}
.scroll-hint {
    position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
    width: 42px; height: 42px; display: grid; place-items: center;
    color: var(--g-500); border: 1px solid var(--g-300); border-radius: 50%;
    animation: bob 2.2s ease-in-out infinite;
    transition: color .2s, border-color .2s;
}
.scroll-hint:hover { color: var(--accent); border-color: var(--accent); }

@keyframes rise    { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade    { from { opacity: 0; } }
@keyframes flap-l  { from { transform: rotate(42deg); } }
@keyframes flap-r  { from { transform: rotate(-42deg); } }
@keyframes word-in { from { opacity: 0; letter-spacing: .04em; } }
@keyframes dot     { 0% { box-shadow: 0 0 0 0 rgba(0, 61, 165, .35); } 70%, 100% { box-shadow: 0 0 0 7px rgba(0, 61, 165, 0); } }
@keyframes bob     { 50% { transform: translateY(6px); } }

/* ---------- sekcje ---------- */
.section { padding: 120px 0; }
.section--gray { background: var(--g-50); border-block: 1px solid var(--g-200); }
.section-head { max-width: 700px; margin: 0 auto 56px; display: grid; gap: 14px; text-align: center; }
.section-head h2, .contact-info h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.section-head p { font-size: 18px; color: var(--g-500); }
.eyebrow {
    justify-self: center; display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 12px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--g-500); background: var(--white); border: 1px solid var(--g-200); border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.eyebrow--left { justify-self: start; }

/* pojawianie przy przewijaniu */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Topologia gwiazdy
   ========================================================= */
.star { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 10; }
.js .star.reveal { transform: none; }

.star-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.star-line {
    fill: none; stroke: var(--g-300); stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.2s var(--ease), stroke .25s, stroke-width .25s;
}
.star.is-visible .star-line { stroke-dashoffset: 0; }
.star-line.is-soon { stroke-dasharray: .012 .018; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s .7s; }
.star.is-visible .star-line.is-soon { opacity: 1; }

.star-pulse { fill: var(--accent); opacity: 0; transition: opacity .5s 1.4s; }
.star-pulse--back { fill: var(--g-400); }
.star.is-visible .star-pulse { opacity: 1; }

.star:has([data-i="0"]:hover) .star-line--0,
.star:has([data-i="1"]:hover) .star-line--1,
.star:has([data-i="2"]:hover) .star-line--2,
.star:has([data-i="3"]:hover) .star-line--3,
.star:has([data-i="4"]:hover) .star-line--4,
.star:has([data-i="5"]:hover) .star-line--5 { stroke: var(--accent); stroke-width: 2; }

/* centrum */
.star-hub {
    position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2;
    display: grid; justify-items: center; gap: 6px; text-align: center;
}
.star-hub-core {
    position: relative; width: 116px; height: 116px; margin-bottom: 6px;
    display: grid; place-items: center;
    color: var(--white); background: var(--black); border-radius: 30px;
    box-shadow: var(--shadow-lg);
}
.star-hub-core .logo-icon { width: 58px; }
.star-hub-core::before,
.star-hub-core::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    border: 1px solid var(--accent); opacity: 0;
    animation: ring 3.2s var(--ease) infinite;
}
.star-hub-core::after { animation-delay: 1.6s; }
.star-hub-label { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.star-hub small { font-size: 13px; color: var(--g-500); }
.js .star:not(.is-visible) .star-hub { opacity: 0; }
.star.is-visible .star-hub { animation: hub-in .8s var(--ease) backwards; }
@keyframes ring   { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes hub-in { from { opacity: 0; transform: scale(.85); } }

/* węzły */
.star-node {
    position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; z-index: 2;
    width: 250px; padding: 20px 18px;
    display: grid; justify-items: center; gap: 3px; text-align: center;
    color: var(--ink); text-decoration: none;
    background: var(--white); border: 1px solid var(--g-200); border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.js .star:not(.is-visible) .star-node { opacity: 0; }
.star.is-visible .star-node { animation: node-in .7s var(--ease) backwards; animation-delay: calc(.55s + var(--i) * .12s); }
@keyframes node-in { from { opacity: 0; transform: scale(.9); } }

a.star-node:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-100); }
.node-icon {
    width: 50px; height: 50px; margin-bottom: 8px;
    display: grid; place-items: center;
    color: var(--black); background: var(--g-100); border-radius: 14px;
    transition: background .3s, color .3s;
}
a.star-node:hover .node-icon { background: var(--accent); color: var(--white); }
.star-node strong { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.star-node small { color: var(--g-500); }
.node-lead { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--g-500); }

.star-node.is-soon {
    width: 176px; padding: 16px;
    color: var(--g-400); background: rgba(255, 255, 255, .6);
    border-style: dashed; border-color: var(--g-300); box-shadow: none;
}
.star-node.is-soon .node-icon { width: 40px; height: 40px; background: none; border: 1px dashed var(--g-300); color: var(--g-400); }
.star-node.is-soon strong { font-size: 16px; font-weight: 700; }
.star-node.is-soon small { color: var(--g-400); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; }

/* =========================================================
   Karty modułów
   ========================================================= */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.module-card {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; gap: 22px;
    padding: 36px;
    background: var(--white); border: 1px solid var(--g-200); border-radius: 24px;
    box-shadow: var(--shadow);
    transition: box-shadow .35s, border-color .35s, transform .35s var(--ease);
}
.module-card:hover { box-shadow: var(--shadow-lg); border-color: var(--g-300); }
.module-card::after {
    content: ""; position: absolute; right: -70px; top: -70px;
    width: 200px; height: 200px; border-radius: 50%;
    border: 1px solid var(--g-200);
    box-shadow: 0 0 0 34px var(--g-50), 0 0 0 35px var(--g-200);
    pointer-events: none;
    transition: transform .8s var(--ease), border-color .5s;
}

.module-card:hover::after { transform: scale(1.08) rotate(8deg); border-color: var(--accent-100); }
.module-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.module-icon {
    width: 58px; height: 58px; display: grid; place-items: center;
    color: var(--white); background: var(--black); border-radius: 16px;
    transition: background .3s;
}
.module-card:hover .module-icon { background: var(--accent); }
.module-head h3 { font-size: 30px; font-weight: 800; }
.module-head small { color: var(--g-500); }
.module-desc { position: relative; z-index: 1; color: var(--g-700); font-size: 17px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.feature-list svg { margin-top: 2px; padding: 3px; color: var(--accent); background: var(--accent-50); border-radius: 50%; }
.js .module-card .feature-list li { opacity: 0; transform: translateX(-8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .module-card.is-visible .feature-list li { opacity: 1; transform: none; }
.module-card.is-visible .feature-list li:nth-child(1) { transition-delay: .25s; }
.module-card.is-visible .feature-list li:nth-child(2) { transition-delay: .32s; }
.module-card.is-visible .feature-list li:nth-child(3) { transition-delay: .39s; }
.module-card.is-visible .feature-list li:nth-child(4) { transition-delay: .46s; }
.module-card.is-visible .feature-list li:nth-child(5) { transition-delay: .53s; }
.module-card.is-visible .feature-list li:nth-child(n+6) { transition-delay: .60s; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--g-700);
    background: var(--g-100); border-radius: 999px;
}

.module-card > .btn { margin-top: auto; align-self: flex-start; }
.module-card > .btn + .btn { margin-top: -10px; }

/* =========================================================
   Dlaczego
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 20px; }
.why {
    display: grid; align-content: start; gap: 10px; padding: 28px;
    background: var(--white); border: 1px solid var(--g-200); border-radius: var(--radius-lg);
    transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.why:hover { border-color: var(--accent-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon {
    width: 46px; height: 46px; margin-bottom: 6px;
    display: grid; place-items: center; border: 1px solid var(--g-200); border-radius: 12px;
    transition: background .3s, color .3s, border-color .3s;
}
.why:hover .why-icon { background: var(--accent-50); color: var(--accent); border-color: var(--accent-100); }
.why h3 { font-size: 21px; font-weight: 800; }
.why p { font-size: 16px; color: var(--g-500); }

/* =========================================================
   Kontakt
   ========================================================= */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-info p { font-size: 18px; color: var(--g-500); }
.contact-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list a, .contact-plain { display: inline-flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 700; text-decoration: none; }
.contact-list a { transition: color .2s; }
.contact-list a:hover { color: var(--accent); }
.ci {
    width: 46px; height: 46px; display: grid; place-items: center;
    background: var(--white); border: 1px solid var(--g-200); border-radius: 12px;
    transition: border-color .2s, background .2s;
}
.contact-list a:hover .ci { border-color: var(--accent-100); background: var(--accent-50); }

.contact-card {
    padding: 36px;
    background: var(--white); border: 1px solid var(--g-200); border-radius: 24px;
    box-shadow: var(--shadow);
}
.contact-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; }
turbo-frame { display: block; }
turbo-frame[busy] .form { opacity: .55; pointer-events: none; transition: opacity .2s; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 700; }
label.required::after { content: " *"; color: var(--g-400); }
.input {
    width: 100%; height: 48px; padding: 0 14px;
    font: 16px var(--font); color: var(--ink);
    background: var(--white); border: 1px solid var(--g-300); border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: var(--g-400); }
textarea.input { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input::placeholder { color: var(--g-400); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.has-error .input { border-color: var(--error); }
.has-error .input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.field-errors { list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--error); }

.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chip { position: relative; cursor: pointer; }
.choice-chip input { position: absolute; opacity: 0; pointer-events: none; }
.choice-chip span {
    display: inline-block; padding: 9px 16px; font-size: 15px; font-weight: 600;
    border: 1px solid var(--g-300); border-radius: 999px;
    transition: background .2s, color .2s, border-color .2s;
}
.choice-chip:hover span { border-color: var(--g-500); }
.choice-chip input:checked + span { background: var(--accent-50); color: var(--accent); border-color: var(--accent); }
.choice-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--g-500); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); }
.check a { color: var(--g-700); text-underline-offset: 3px; }
.check a:hover { color: var(--accent); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.form-note { font-size: 13px; color: var(--g-400); }

.contact-success { display: grid; justify-items: center; gap: 12px; padding: 48px 12px; text-align: center; }
.contact-success h3 { font-size: 26px; font-weight: 800; }
.contact-success p { color: var(--g-500); }
.success-icon {
    width: 68px; height: 68px; display: grid; place-items: center;
    color: var(--white); background: var(--accent); border-radius: 50%;
    box-shadow: 0 0 0 8px var(--accent-50);
    animation: pop .6s var(--ease) both;
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.08); } }

/* =========================================================
   Stopka
   ========================================================= */
.footer { padding: 36px 0; border-top: 1px solid var(--g-200); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; font-size: 14px; color: var(--g-500); }
.footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer nav a { text-decoration: none; font-weight: 600; transition: color .2s; }
.footer nav a:hover { color: var(--accent); }

/* =========================================================
   Konto
   ========================================================= */
.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-login-menu .nav-login-account { background: var(--accent-50); }
.nav-login-menu .nav-login-account > svg { color: var(--accent); }
.nav-login-menu .nav-login-account:hover { background: var(--accent-100); }
.nav-login-sep {
    display: block; padding: 12px 12px 4px;
    font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--g-400);
}
.nav-login-foot {
    margin: 6px -6px -6px; padding: 12px 18px;
    font-size: 13px; color: var(--g-500);
    border-top: 1px solid var(--g-200);
}
.nav-login-menu .nav-login-foot a {
    display: inline; padding: 0; border-radius: 0;
    font-weight: 700; color: var(--accent); text-decoration: underline; text-underline-offset: 3px;
}
.nav-login-menu .nav-login-foot a:hover { background: none; }

.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.account-info { display: grid; gap: 18px; }
.account-info h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; }
.account-info > p { font-size: 18px; color: var(--g-500); }
.account-info .mono { color: var(--accent); font-weight: 600; }
.account-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.account-panel {
    position: relative; overflow: hidden;
    border: 1px solid var(--glass-edge); border-radius: 24px;
    background: var(--glass-bg-strong);
    backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    box-shadow: var(--glass-shine), var(--shadow-lg);
}
.account-panel::before {
    content: ""; position: absolute; right: -80px; bottom: -80px; z-index: -1;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 61, 165, .12), transparent);
}
.account-panel-head {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 20px; color: var(--g-500);
    border-bottom: 1px solid var(--g-200);
}
.account-dots { display: flex; gap: 6px; }
.account-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--g-200); }
.account-panel-body { display: grid; gap: 10px; padding: 24px; }
.account-panel-title { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.account-row {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .7); border: 1px solid var(--g-200); border-radius: var(--radius);
}
.account-row-icon {
    grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center;
    color: var(--accent); background: var(--accent-50); border-radius: 10px;
}
.account-row-name { font-weight: 700; }
.account-row-count { font-size: 13px; font-weight: 700; color: var(--g-500); }
.meter { grid-column: 2 / -1; height: 6px; background: var(--g-100); border-radius: 999px; overflow: hidden; }
.meter > span {
    display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--accent);
    transform-origin: left; transition: transform 1.1s .4s var(--ease);
}
.js .account-panel:not(.is-visible) .meter > span { transform: scaleX(0); }

.account-team {
    display: flex; align-items: center; gap: 12px; margin-top: 6px;
    padding-top: 16px; border-top: 1px dashed var(--g-300);
    font-size: 14px; font-weight: 600; color: var(--g-700);
}
.avatars { display: flex; }
.avatars i {
    width: 32px; height: 32px; margin-left: -8px; display: grid; place-items: center;
    font: 800 11px var(--font); font-style: normal; color: var(--g-700);
    background: var(--g-100); border: 2px solid var(--white); border-radius: 50%;
}
.avatars i:first-child { margin-left: 0; }
.avatars i:last-child { color: var(--accent); background: var(--accent-50); }
.account-team-add { margin-left: auto; font-weight: 800; color: var(--accent); }

/* =========================================================
   Szkło
   ========================================================= */
.nav {
    background: rgba(255, 255, 255, .62);
    backdrop-filter: blur(18px) saturate(1.8);
    -webkit-backdrop-filter: blur(18px) saturate(1.8);
}

/* tła, przez które szkło ma co rozmywać */
.star {
    background:
        radial-gradient(circle at 18% 28%, rgba(0, 61, 165, .07), transparent 32%),
        radial-gradient(circle at 84% 74%, rgba(0, 61, 165, .06), transparent 30%);
}
.section--gray {
    background:
        radial-gradient(ellipse 50% 40% at 12% 20%, rgba(0, 61, 165, .05), transparent 70%),
        radial-gradient(ellipse 45% 40% at 90% 85%, rgba(0, 61, 165, .045), transparent 70%),
        var(--g-50);
}

/* elementy szklane */
.hero-chip,
.hero .btn-light,
.scroll-hint,
.nav-login-menu,
.star-node:not(.is-soon),
.module-card,
.contact-card {
    background: var(--glass-bg);
    border-color: var(--glass-edge);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}
.hero-chip,
.hero .btn-light,
.scroll-hint { box-shadow: var(--glass-shine), 0 4px 14px rgba(11, 11, 12, .04); }

.nav-login-menu { background: var(--glass-bg-strong); box-shadow: var(--glass-shine), var(--shadow-lg); }

.star-node:not(.is-soon),
.module-card,
.contact-card { box-shadow: var(--glass-shine), var(--shadow); }
a.star-node:hover,
.module-card:hover { box-shadow: var(--glass-shine), var(--shadow-lg); }

.module-card,
.contact-card { background: var(--glass-bg-strong); }
.module-card::after { box-shadow: 0 0 0 34px rgba(255, 255, 255, .45), 0 0 0 35px var(--g-200); }

.hero .btn-light:hover { background: rgba(240, 244, 251, .7); }
.hero-chip:hover { background: rgba(240, 244, 251, .7); }

/* brak backdrop-filter → pełne tła */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav { background: rgba(255, 255, 255, .96); }
    .hero-chip, .hero .btn-light, .scroll-hint, .nav-login-menu,
    .star-node:not(.is-soon), .module-card, .contact-card { background: var(--white); }
}

/* =========================================================
   Responsywność
   ========================================================= */
@media (max-width: 980px) {
    .star-node { width: 210px; padding: 16px 14px; }
    .node-lead { display: none; }
}

@media (max-width: 820px) {
    .nav-toggle { display: grid; }
    .nav-links {
        position: fixed; top: var(--nav-h); left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 8px 20px 20px;
        background: rgba(255, 255, 255, .86); border-bottom: 1px solid var(--g-200);
        backdrop-filter: blur(18px) saturate(1.8);
        -webkit-backdrop-filter: blur(18px) saturate(1.8);
        box-shadow: 0 16px 32px rgba(11, 11, 12, .06);
        opacity: 0; transform: translateY(-8px); pointer-events: none;
        transition: opacity .2s, transform .2s var(--ease);
    }
    .nav.is-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
    .nav-links > a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--g-100); }
    .nav-links > a::after { display: none; }
    .nav-actions { flex-direction: column-reverse; align-items: stretch; gap: 10px; margin-top: 14px; }
    .nav-actions > .btn { width: 100%; }
    .nav-login > summary { width: 100%; }
    .nav-login-menu { position: static; margin-top: 8px; box-shadow: none; }

    .section { padding: 84px 0; }
    .section-head { margin-bottom: 40px; }

    .star { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
    .star::before { content: ""; position: absolute; left: 50%; top: 60px; bottom: 40px; width: 1px; background: var(--g-300); }
    .star-lines { display: none; }
    .star-hub, .star-node { position: relative; left: auto; top: auto; translate: none; }
    .star-hub { order: -1; padding: 0 16px 8px; background: var(--white); }
    .star-node, .star-node.is-soon { width: min(100%, 380px); }
    .node-lead { display: block; }

    .contact, .account { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .module-card, .contact-card { padding: 26px; }
    .module-head h3 { font-size: 26px; }
}

@media (max-width: 560px) {
    .hero-tagline { gap: 10px; letter-spacing: .12em; }
    .hero-tagline::before, .hero-tagline::after { width: 20px; }
    .hero-sub { font-size: 17px; }
    .form { grid-template-columns: minmax(0, 1fr); }
    .hero-cta { width: 100%; }
    .hero-cta .btn, .account-cta .btn { width: 100%; }
    .account-panel-body { padding: 18px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .star-pulse { display: none; }
}

/* ---------------------------------------------------------------- cennik */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
}

.pricing-card .btn { margin-top: auto; align-self: flex-start; }

.pricing-amount { display: flex; align-items: baseline; gap: .5rem; margin: 0; }
.pricing-amount strong { font-size: 2.5rem; line-height: 1; }
.pricing-amount span { opacity: .65; }

.pricing-note { margin: 0; font-size: .875rem; opacity: .7; }

.pricing-foot { margin-top: 2rem; text-align: center; font-size: .9rem; opacity: .75; }

.module-price { margin: 0; font-size: .9rem; opacity: .75; }
.module-price strong { font-size: 1.1rem; opacity: 1; }

.module-price { position: relative; z-index: 1; display: grid; gap: 6px; padding: 16px 18px; background: var(--g-50); border: 1px solid var(--g-200); border-radius: 16px; }
.module-price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.module-price-main strong { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.module-price-main span { font-size: 14px; color: var(--g-500); }
.module-price-main s { font-size: 18px; font-weight: 700; color: var(--g-400); }
.module-price small { font-size: 14px; color: var(--g-500); }
.module-promo { justify-self: start; padding: 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--white); background: var(--black); border-radius: 999px; }
