/**
 * ═══════════════════════════════════════════════════════════════════
 *  ODŚWIEŻONA STRONA GŁÓWNA — szablon page-nowa-glowna.php
 *
 *  Klasy z przedrostkiem „ng-", żeby nie zderzać się z main.css (ten nadal
 *  obsługuje: pasek zgód, pływające CTA, okno „oddzwonimy", sekcję importu
 *  i baner ministerialny).
 *
 *  Paleta bez zmian: granat #0a0e1a · teal #00d4aa/#00a888 · fiolet #6c63ff
 *  · koral #ff6b6b · tekst #1a1f36 / #5a6178 / #8892a8.
 * ═══════════════════════════════════════════════════════════════════ */

.ng {
    --ng-bg-dark:    #0a0e1a;
    --ng-bg-deep:    #070a14;
    --ng-surface:    #12172a;
    --ng-teal:       #00d4aa;
    --ng-teal-dark:  #00a888;
    --ng-teal-light: #33ffd2;
    --ng-purple:     #6c63ff;
    --ng-purple-lt:  #918aff;
    --ng-coral:      #ff6b6b;
    --ng-ink:        #1a1f36;
    --ng-ink-2:      #5a6178;
    --ng-ink-3:      #8892a8;
    --ng-paper:      #f6f8fc;
    --ng-white:      #ffffff;
    --ng-radius:     22px;
    --ng-ease:       cubic-bezier(.4, 0, .2, 1);
    --ng-mono:       ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

    color: var(--ng-ink);
    background: var(--ng-paper);
    overflow-x: clip;
}

.ng .ng-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ng-grad {
    background: linear-gradient(120deg, var(--ng-teal) 0%, var(--ng-teal-light) 45%, var(--ng-purple-lt) 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--ng-teal);
}

/* Naprawa współdzielonego pływającego CTA: tytuł i podtytuł to <span>y,
   które muszą być blokami, inaczej stoją obok siebie i wyjeżdżają poza pastylkę. */
.ng .float-cta__title,
.ng .float-cta__subtitle { display: block; }

/* ═══════════════ PRZYCISKI ═══════════════ */
.ng-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: "Outfit", system-ui, sans-serif;
    font-weight: 700; font-size: 1rem; line-height: 1;
    border: 1px solid transparent;
    cursor: pointer; text-decoration: none;
    transition: transform .3s var(--ng-ease), box-shadow .3s var(--ng-ease), background .3s var(--ng-ease), color .3s var(--ng-ease), border-color .3s;
}
.ng-btn--primary { background: linear-gradient(135deg, var(--ng-teal), var(--ng-teal-dark)); color: var(--ng-bg-dark); box-shadow: 0 6px 26px rgba(0, 212, 170, .32); }
.ng-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0, 212, 170, .42); }
.ng-btn--ghost { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); }
.ng-btn--ghost:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .36); transform: translateY(-3px); }
.ng-btn--outline { background: transparent; color: var(--ng-ink); border-color: rgba(26, 31, 54, .18); }
.ng-btn--outline:hover { border-color: var(--ng-teal-dark); color: var(--ng-teal-dark); transform: translateY(-3px); }
.ng-btn--sm { padding: 11px 20px; font-size: .9rem; }

/* ═══════════════ NAWIGACJA ═══════════════ */
.ng-progress {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--ng-teal), var(--ng-purple));
    transform-origin: 0 50%; transform: scaleX(0);
    z-index: 1200; pointer-events: none;
}
.ng-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1100;
    padding: 18px 0;
    transition: padding .35s var(--ng-ease), background .35s var(--ng-ease), box-shadow .35s var(--ng-ease);
}
.ng-nav.is-scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 26, .8);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 40px rgba(0, 0, 0, .25);
}
.ng-nav .ng-container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Logo — jak na obecnej stronie: sam tekst */
.ng-logo { font-family: "Outfit", system-ui, sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; letter-spacing: -.4px; }
.ng-logo span { color: var(--ng-teal); }

.ng-nav__links { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.ng-nav__links a { display: inline-block; white-space: nowrap; padding: 8px 13px; border-radius: 10px; color: rgba(255, 255, 255, .74); font-size: .92rem; font-weight: 500; transition: color .25s, background .25s; }
.ng-nav__links a:hover, .ng-nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
/* Kontakt — wyróżniony, z przebiegającym błyskiem i pulsującą kropką */
.ng-nav__contact a {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px 9px 14px !important; margin-left: 6px;
    border-radius: 50px; overflow: hidden;
    color: #fff !important; font-weight: 700;
    background: linear-gradient(135deg, rgba(0, 212, 170, .16), rgba(108, 99, 255, .16));
    border: 1px solid rgba(0, 212, 170, .5);
    box-shadow: 0 0 0 0 rgba(0, 212, 170, .25);
    transition: transform .3s var(--ng-ease), box-shadow .3s var(--ng-ease), border-color .3s, background .3s;
}
.ng-nav__contact a::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 60%;
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
    transform: translateX(-160%) skewX(-18deg);
    animation: ng-shine 3.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ng-shine { 0% { transform: translateX(-160%) skewX(-18deg); } 45%, 100% { transform: translateX(300%) skewX(-18deg); } }
.ng-nav__contact a:hover { transform: translateY(-2px); border-color: var(--ng-teal); background: linear-gradient(135deg, rgba(0, 212, 170, .3), rgba(108, 99, 255, .28)); box-shadow: 0 0 0 4px rgba(0, 212, 170, .14), 0 10px 26px rgba(0, 212, 170, .3); }
.ng-nav__contact-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ng-teal); box-shadow: 0 0 0 4px rgba(0, 212, 170, .18); animation: ng-pulse 2s ease-in-out infinite; flex: 0 0 auto; }
.ng-nav__contact-arrow { display: inline-block; transition: transform .3s var(--ng-ease); }
.ng-nav__contact a:hover .ng-nav__contact-arrow { transform: translateX(4px); }
.ng-nav__cta { margin-left: 8px; }
.ng-nav__cta a { padding: 11px 20px !important; background: linear-gradient(135deg, var(--ng-teal), var(--ng-teal-dark)) !important; color: var(--ng-bg-dark) !important; font-weight: 700; border-radius: 50px !important; }

.ng-nav__burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .04); cursor: pointer; position: relative; }
.ng-nav__burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ng-ease), opacity .2s; }
.ng-nav__burger span:nth-child(1) { top: 14px; } .ng-nav__burger span:nth-child(2) { top: 21px; } .ng-nav__burger span:nth-child(3) { top: 28px; }
.ng-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ng-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.ng-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ HERO ═══════════════ */
.ng-hero {
    position: relative; isolation: isolate; overflow: hidden; max-width: 100vw;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: 128px 0 90px;
    color: #fff;
    background:
        radial-gradient(at 78% 12%, rgba(108, 99, 255, .22) 0%, transparent 55%),
        radial-gradient(at 14% 88%, rgba(0, 212, 170, .16) 0%, transparent 55%),
        var(--ng-bg-dark);
}
.ng-hero__plasma {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; display: block;
    opacity: .58;
}
.ng-hero__plasma.is-fallback {
    background: linear-gradient(120deg, #00d4aa 0%, #33ffd2 30%, #6c63ff 65%, #0a0e1a 100%);
    opacity: .35; filter: blur(60px);
}
.ng-hero__grid {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 20%, transparent 100%);
}
.ng-hero__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 14, 26, .72) 0%, rgba(10, 14, 26, .35) 45%, rgba(10, 14, 26, 0) 68%), linear-gradient(180deg, rgba(10, 14, 26, .55) 0%, transparent 25%, transparent 75%, rgba(10, 14, 26, .7) 100%); }

/* Dryfujące podpowiedzi — jak dymki na codescriptum.pl */
.ng-drift { position: absolute; z-index: 2; pointer-events: none; }
.ng-drift span {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px; border-radius: 50px;
    background: rgba(18, 23, 42, .72); border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    font-family: var(--ng-mono); font-size: .72rem; color: #cfd6e4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
    animation: ng-drift 9s ease-in-out infinite;
}
.ng-drift span i { width: 6px; height: 6px; border-radius: 50%; background: var(--ng-teal); box-shadow: 0 0 10px var(--ng-teal); }
.ng-drift--1 { left: 47%; top: 12%; } .ng-drift--1 span { animation-delay: -2s; }
.ng-drift--2 { right: 4%; top: 22%; } .ng-drift--2 span { animation-delay: -5s; }
.ng-drift--3 { right: 8%; bottom: 14%; } .ng-drift--3 span { animation-delay: -7s; }
.ng-drift--4 { left: 40%; bottom: 10%; } .ng-drift--4 span { animation-delay: -3.5s; }
@keyframes ng-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(8px, -14px, 0); } }

.ng-hero .ng-container { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }

.ng-hero__badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 9px; border-radius: 50px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13); font-size: .8rem; font-weight: 600; color: #cfd6e4; letter-spacing: .2px; margin-bottom: 22px; }
.ng-hero__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ng-teal); box-shadow: 0 0 0 4px rgba(0, 212, 170, .18); animation: ng-pulse 2.4s ease-in-out infinite; }
@keyframes ng-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(0, 212, 170, .18); } 50% { box-shadow: 0 0 0 9px rgba(0, 212, 170, .02); } }

.ng-hero__title { font-family: "Outfit", system-ui, sans-serif; font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.9px; font-weight: 800; margin: 0 0 18px; color: #fff; }
.ng-hero__desc { font-size: 1.04rem; line-height: 1.75; color: #b4bdcf; max-width: 540px; margin: 0 0 28px; }
.ng-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.ng-hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; justify-content: start; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
.ng-stat__num { font-family: "Outfit", system-ui, sans-serif; font-size: 1.85rem; font-weight: 800; letter-spacing: -.8px; line-height: 1; color: #fff; }
.ng-stat__num b { color: var(--ng-teal); font-weight: 800; }
.ng-stat__label { font-size: .8rem; color: #8892a8; margin-top: 6px; }

/* ── SCENA: cennik na żywo ── */
.ng-scene { position: relative; padding: 48px 0 70px 36px; }
.ng-scene__glow { position: absolute; inset: 10% -10% 10% 0; background: radial-gradient(50% 50% at 55% 50%, rgba(0, 212, 170, .22), transparent 70%); filter: blur(30px); pointer-events: none; }
.ng-win {
    position: relative;
    background: rgba(14, 19, 36, .88); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px; overflow: hidden;
    box-shadow: 0 34px 90px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: opacity .5s var(--ng-ease), transform .6s var(--ng-ease);
}
.ng-win__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(7, 10, 20, .75); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ng-win__dot { width: 10px; height: 10px; border-radius: 50%; }
.ng-win__dot--r { background: #ff5f57; } .ng-win__dot--y { background: #ffbd2e; } .ng-win__dot--g { background: #28c840; }
.ng-win__url { margin-left: 8px; font-family: var(--ng-mono); font-size: .74rem; color: #6f7a92; display: inline-flex; align-items: center; gap: 6px; }
.ng-win__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--ng-mono); font-size: .66rem; letter-spacing: .6px; text-transform: uppercase; color: var(--ng-teal); }
.ng-win__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ng-teal); animation: ng-pulse 1.6s infinite; }

.ng-win--table { transform: perspective(1600px) rotateY(-5deg) rotateX(2deg); }
.ng-scene:hover .ng-win--table { transform: perspective(1600px) rotateY(-1deg) rotateX(0); }
.ng-win__body { padding: 8px 6px 6px; }
.ng-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.ng-table th { text-align: left; font-weight: 600; font-size: .66rem; letter-spacing: .8px; text-transform: uppercase; color: #5f6a80; padding: 8px 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ng-row td { padding: 11px 12px; color: #cfd6e4; border-bottom: 1px solid rgba(255, 255, 255, .045); }
.ng-row:last-child td { border-bottom: 0; }
.ng-row { opacity: 0; transform: translateX(28px); transition: opacity .5s var(--ng-ease), transform .5s var(--ng-ease), background .4s; }
.ng-scene.is-rows .ng-row { opacity: 1; transform: none; }
.ng-scene.is-rows .ng-row:nth-child(1) { transition-delay: .05s; }
.ng-scene.is-rows .ng-row:nth-child(2) { transition-delay: .15s; }
.ng-scene.is-rows .ng-row:nth-child(3) { transition-delay: .25s; }
.ng-scene.is-rows .ng-row:nth-child(4) { transition-delay: .35s; }
.ng-scene.is-rows .ng-row:nth-child(5) { transition-delay: .45s; }
.ng-row__num { font-family: var(--ng-mono); color: #fff; }
.ng-row__price { color: var(--ng-teal); font-weight: 700; white-space: nowrap; }
.ng-row__old { display: none; color: #8892a8; text-decoration: line-through; font-weight: 400; font-size: .76rem; margin-right: 6px; }
.ng-row__delta { display: none; margin-left: 6px; padding: 2px 7px; border-radius: 50px; background: rgba(0, 212, 170, .16); color: var(--ng-teal-light); font-size: .66rem; font-weight: 800; }
.ng-scene.is-price [data-scene-price] .ng-row__old,
.ng-scene.is-price [data-scene-price] .ng-row__delta { display: inline-block; }
.ng-scene.is-price [data-scene-price] { animation: ng-flash 1.6s var(--ng-ease); }
@keyframes ng-flash { 0% { background: rgba(0, 212, 170, 0); } 20% { background: rgba(0, 212, 170, .22); } 100% { background: rgba(0, 212, 170, 0); } }
.ng-scene.is-status [data-scene-status] { animation: ng-flash-red 1.4s var(--ng-ease); }
@keyframes ng-flash-red { 0% { background: rgba(255, 107, 107, 0); } 20% { background: rgba(255, 107, 107, .2); } 100% { background: rgba(255, 107, 107, 0); } }
.ng-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: .68rem; font-weight: 700; letter-spacing: .3px; transition: background .4s, color .4s; }
.ng-badge--free { background: rgba(40, 200, 64, .14); color: #4ade80; }
.ng-badge--res  { background: rgba(255, 189, 46, .14); color: #fbbf24; }
.ng-badge--sold { background: rgba(255, 107, 107, .16); color: #ff8a8a; }

/* Karta historii ceny — wyrasta obok tabeli */
.ng-win--history {
    position: absolute; right: -6%; top: 0; width: 250px; z-index: 3;
    padding: 14px 16px 16px;
    opacity: 0; transform: translateY(18px) scale(.94);
    border-color: rgba(0, 212, 170, .3);
}
.ng-scene.is-history .ng-win--history { opacity: 1; transform: none; }
.ng-win__title { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: #8892a8; margin-bottom: 8px; }
.ng-win__title b { color: #fff; font-weight: 600; }
.ng-spark { width: 100%; height: 64px; display: block; }
.ng-spark__line { fill: none; stroke: var(--ng-teal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; transition: stroke-dashoffset 1.4s var(--ng-ease) .15s; }
.ng-spark__fill { fill: url(#ngSparkFill); opacity: 0; transition: opacity .8s ease .9s; }
.ng-spark__dot { fill: var(--ng-teal-light); opacity: 0; transition: opacity .3s ease 1.5s; }
.ng-scene.is-history .ng-spark__line { stroke-dashoffset: 0; }
.ng-scene.is-history .ng-spark__fill { opacity: 1; }
.ng-scene.is-history .ng-spark__dot { opacity: 1; }
.ng-win__omnibus { margin-top: 8px; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; color: #8892a8; padding-top: 8px; border-top: 1px dashed rgba(255, 255, 255, .1); }
.ng-win__omnibus b { color: var(--ng-teal); font-family: var(--ng-mono); font-weight: 600; }

/* Raport do dane.gov.pl — wjeżdża od dołu */
.ng-win--report {
    position: absolute; left: 0; bottom: 8px; width: 300px; z-index: 4;
    padding: 12px 14px 14px;
    display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center;
    opacity: 0; transform: translateY(22px);
    border-color: rgba(108, 99, 255, .35);
}
.ng-scene.is-report .ng-win--report { opacity: 1; transform: none; }
.ng-report__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(108, 99, 255, .3), rgba(0, 212, 170, .25)); color: #fff; font-size: 1rem; position: relative; }
.ng-report__icon .ok { position: absolute; inset: 0; display: grid; place-items: center; background: var(--ng-teal); color: var(--ng-bg-dark); border-radius: 11px; font-weight: 900; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ng-ease); }
.ng-scene.is-done .ng-report__icon .ok { opacity: 1; transform: none; }
.ng-report__head { display: flex; justify-content: space-between; font-size: .78rem; color: #fff; font-weight: 600; }
.ng-report__head span { color: #8892a8; font-family: var(--ng-mono); font-weight: 400; font-size: .68rem; }
.ng-report__bar { margin: 7px 0 6px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ng-report__bar i { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, var(--ng-purple), var(--ng-teal)); transition: width 1.5s var(--ng-ease); }
.ng-report__txt { font-size: .72rem; color: #8892a8; font-family: var(--ng-mono); }
.ng-scene.is-done .ng-report__txt { color: var(--ng-teal); }
.ng-scene.is-out .ng-win, .ng-scene.is-out .ng-row { opacity: 0; transition-duration: .45s; }

/* ═══════════════ TICKER — licznik ustawy ═══════════════ */
.ng-ticker { padding: 0; margin-top: -40px; position: relative; z-index: 4; }
.ng-ticker__box {
    background: var(--ng-bg-dark); border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--ng-radius); padding: 30px 36px;
    display: grid; grid-template-columns: 1.25fr auto; gap: 30px; align-items: center;
    color: #fff; position: relative; overflow: hidden;
    box-shadow: 0 30px 70px rgba(10, 14, 26, .25);
}
.ng-ticker__box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 50%, rgba(255, 107, 107, .18), transparent 60%); pointer-events: none; }
.ng-ticker__warn { display: inline-flex; align-items: center; gap: 8px; color: var(--ng-coral); font-weight: 700; font-size: .78rem; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 8px; }
.ng-ticker__title { font-family: "Outfit", system-ui, sans-serif; font-size: 1.35rem; line-height: 1.25; margin: 0 0 6px; }
.ng-ticker__title b { color: var(--ng-teal-light); font-weight: 800; }
.ng-ticker__sub { color: #aeb7c9; margin: 0 0 10px; font-size: .93rem; }
.ng-ticker__note { color: #8892a8; font-size: .88rem; margin: 0; }
.ng-ticker__note b { color: var(--ng-coral); }
.ng-ticker__grid { display: flex; gap: 10px; position: relative; }
.ng-ticker__cell { min-width: 88px; padding: 14px 10px 10px; text-align: center; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; }
.ng-ticker__num { font-family: var(--ng-mono); font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.ng-ticker__lbl { font-size: .68rem; color: #8892a8; text-transform: uppercase; letter-spacing: .8px; margin-top: 4px; }

/* ═══════════════ SEKCJE — wspólne ═══════════════ */
.ng-section { padding: 108px 0; position: relative; }
.ng-section--alt { background: var(--ng-white); }
/* Delikatna kratka na jasnych sekcjach — ten sam „inżynierski" motyw co w hero */
.ng-section--dots { background-image: radial-gradient(rgba(26, 31, 54, .08) 1px, transparent 1px); background-size: 26px 26px; }
.ng-section--dark { background: var(--ng-bg-dark); color: #fff; }
.ng-section--dark .ng-title { color: #fff; }
.ng-section--dark .ng-head p { color: #aeb7c9; }
.ng-section--dark .ng-tag { background: rgba(0, 212, 170, .13); color: var(--ng-teal); }
.ng-section--dark .ng-hl { color: var(--ng-teal); }

.ng-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.ng-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; background: rgba(0, 212, 170, .1); color: var(--ng-teal-dark); font-size: .76rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 18px; }
.ng-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ng-title { font-family: "Outfit", system-ui, sans-serif; font-size: clamp(1.8rem, 3.1vw, 2.5rem); line-height: 1.14; letter-spacing: -.8px; font-weight: 800; margin: 0 0 16px; color: var(--ng-ink); }
.ng-hl { color: var(--ng-teal-dark); }
.ng-head p { font-size: 1.04rem; line-height: 1.75; color: var(--ng-ink-2); margin: 0; }
.ng-head p a { color: var(--ng-teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.ng-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ng-ease), transform .7s var(--ng-ease); }
.ng-reveal.is-in { opacity: 1; transform: none; }
.ng-reveal[data-delay="1"] { transition-delay: .08s; } .ng-reveal[data-delay="2"] { transition-delay: .16s; } .ng-reveal[data-delay="3"] { transition-delay: .24s; }

/* Karta bazowa — jeden wzór dla całej strony */
.ng-card { background: var(--ng-white); border: 1px solid rgba(26, 31, 54, .08); border-radius: var(--ng-radius); position: relative; overflow: hidden; transition: transform .35s var(--ng-ease), box-shadow .35s var(--ng-ease), border-color .35s; }
.ng-card::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--ng-teal), var(--ng-purple)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; pointer-events: none; }
.ng-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(10, 14, 26, .1); }
.ng-card:hover::before { opacity: 1; }

/* ═══════════════ USP ═══════════════ */
.ng-usp { padding: 88px 0 0; }
.ng-usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ng-usp__item { padding: 26px 24px; }
.ng-usp__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; background: linear-gradient(135deg, rgba(0, 212, 170, .16), rgba(108, 99, 255, .16)); margin-bottom: 16px; }
.ng-usp__item h3 { font-size: 1.05rem; margin: 0 0 8px; letter-spacing: -.2px; }
.ng-usp__item p { margin: 0; font-size: .92rem; line-height: 1.65; color: var(--ng-ink-2); }

/* ═══════════════ FUNKCJE ═══════════════ */
.ng-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ng-feature { padding: 30px 28px 28px; }
.ng-feature::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 212, 170, .16), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.ng-feature:hover::after { opacity: 1; }
.ng-feature__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ng-feature__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.4rem; }
.ng-feature__icon--teal { background: rgba(0, 212, 170, .13); } .ng-feature__icon--purple { background: rgba(108, 99, 255, .13); } .ng-feature__icon--coral { background: rgba(255, 107, 107, .13); }
.ng-feature__idx { font-family: var(--ng-mono); font-size: .78rem; color: var(--ng-ink-3); }
.ng-feature__new { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 50px; font-size: .64rem; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; background: linear-gradient(135deg, var(--ng-teal), var(--ng-teal-dark)); color: var(--ng-bg-dark); }
.ng-feature h3 { font-size: 1.12rem; margin: 0 0 10px; letter-spacing: -.2px; }
.ng-feature p { margin: 0; color: var(--ng-ink-2); line-height: 1.65; font-size: .95rem; }

/* ═══════════════ KORZYŚCI ═══════════════ */
.ng-benefits { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.ng-benefits__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ng-benefit { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 18px 18px 14px; border-radius: 16px; background: var(--ng-paper); border: 1px solid rgba(26, 31, 54, .07); transition: border-color .3s, transform .3s var(--ng-ease), background .3s; }
.ng-benefit:hover { border-color: rgba(0, 212, 170, .45); transform: translateX(4px); background: #fff; }
.ng-benefit__check { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ng-teal), var(--ng-teal-dark)); color: var(--ng-bg-dark); font-weight: 900; font-size: .95rem; }
.ng-benefit h4 { font-size: 1.02rem; margin: 2px 0 4px; }
.ng-benefit p { margin: 0; color: var(--ng-ink-2); font-size: .92rem; line-height: 1.6; }
.ng-benefits__visual { position: sticky; top: 110px; }
.ng-stack { position: relative; padding: 26px 0 0 26px; }
.ng-unit-card { background: var(--ng-bg-dark); color: #fff; border-radius: 18px; padding: 22px 24px; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 30px 70px rgba(10, 14, 26, .3); position: relative; z-index: 3; }
.ng-unit-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ng-unit-card__title { font-family: "Outfit", system-ui, sans-serif; font-weight: 700; font-size: 1rem; }
.ng-unit-card__row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .92rem; color: #aeb7c9; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.ng-unit-card__row:last-child { border-bottom: 0; }
.ng-unit-card__row b { color: #fff; font-weight: 600; }
.ng-unit-card__row .ng-price-hl { color: var(--ng-teal); font-weight: 700; }
.ng-stack__ghost { position: absolute; inset: 0 0 auto 0; height: 100%; border-radius: 18px; background: var(--ng-surface); border: 1px solid rgba(255, 255, 255, .06); }
.ng-stack__ghost--1 { transform: translate(-13px, -13px); z-index: 2; opacity: .8; }
.ng-stack__ghost--2 { transform: translate(-26px, -26px); z-index: 1; opacity: .5; }
.ng-stack__note { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 212, 170, .08); border: 1px solid rgba(0, 212, 170, .2); font-size: .88rem; color: var(--ng-ink-2); }
.ng-stack__note b { color: var(--ng-teal-dark); }

/* ═══════════════ JAK TO DZIAŁA ═══════════════ */
.ng-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.ng-steps::before { content: ''; position: absolute; left: 10%; right: 10%; top: 44px; height: 2px; background: linear-gradient(90deg, var(--ng-teal), var(--ng-purple)); opacity: .35; }
.ng-step { padding: 28px 24px; text-align: center; }
.ng-step__num { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font-family: "Outfit", system-ui, sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--ng-bg-dark); background: linear-gradient(135deg, var(--ng-teal), var(--ng-teal-light)); box-shadow: 0 0 0 8px var(--ng-white), 0 8px 24px rgba(0, 212, 170, .35); position: relative; z-index: 1; }
.ng-step h3 { font-size: 1.05rem; margin: 0 0 8px; }
.ng-step p { margin: 0; color: var(--ng-ink-2); font-size: .92rem; line-height: 1.65; }
.ng-step code { font-family: var(--ng-mono); font-size: .82em; background: rgba(108, 99, 255, .1); color: var(--ng-purple); padding: 2px 7px; border-radius: 6px; }

/* ═══════════════ DEMO ═══════════════ */
.ng-demo { background: var(--ng-bg-dark); color: #fff; }
.ng-demo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 40% at 20% 20%, rgba(0, 212, 170, .12), transparent 70%), radial-gradient(50% 40% at 85% 80%, rgba(108, 99, 255, .14), transparent 70%); pointer-events: none; }
.ng-demo .ng-container { position: relative; }
.ng-demo .ng-title { color: #fff; } .ng-demo .ng-head p { color: #aeb7c9; } .ng-demo .ng-tag { background: rgba(0, 212, 170, .13); color: var(--ng-teal); }
.ng-demo__tabs-wrap { display: flex; justify-content: center; margin-bottom: 32px; }
.ng-demo__tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.ng-demo__tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 0; background: transparent; color: #aeb7c9; font-family: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s; }
.ng-demo__tab:hover { color: #fff; }
.ng-demo__tab.is-active { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.ng-demo__view { display: none; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
.ng-demo__view.is-active { display: grid; animation: ng-fade .45s var(--ng-ease); }
@keyframes ng-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ng-browser { background: var(--ng-surface); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 212, 170, .08), 0 0 60px rgba(0, 212, 170, .08); }
.ng-browser__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: rgba(7, 10, 20, .7); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ng-browser__dots { display: flex; gap: 6px; } .ng-browser__dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ng-browser__url { flex: 1; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .05); font-family: var(--ng-mono); font-size: .74rem; color: #8892a8; }
.ng-browser__screen { position: relative; cursor: zoom-in; }
.ng-browser__screen img { display: block; width: 100%; height: auto; }
.ng-browser__screen::after { content: 'Powiększ'; position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 8px; background: rgba(10, 14, 26, .8); color: #fff; font-size: .74rem; opacity: 0; transition: opacity .25s; }
.ng-browser__screen:hover::after { opacity: 1; }
.ng-demo__side { background: var(--ng-surface); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; cursor: zoom-in; transition: transform .3s var(--ng-ease), border-color .3s; }
.ng-demo__side:hover { transform: translateY(-4px); border-color: rgba(0, 212, 170, .4); }
.ng-demo__side img { display: block; width: 100%; height: auto; }
.ng-demo__side-badge { display: inline-flex; align-items: center; gap: 6px; margin: 14px 14px 10px; padding: 5px 11px; border-radius: 50px; background: rgba(0, 212, 170, .13); color: var(--ng-teal); font-size: .74rem; font-weight: 700; }
.ng-demo__side p { margin: 0; padding: 12px 16px 16px; font-size: .88rem; color: #aeb7c9; line-height: 1.55; }
.ng-demo__pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.ng-demo__pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 50px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); font-size: .86rem; color: #cfd6e4; }
.ng-demo__pill svg { color: var(--ng-teal); }
.ng-demo__live { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 34px; padding: 22px 28px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(0, 212, 170, .3); }
.ng-demo__live-text { display: grid; gap: 4px; min-width: 0; }
.ng-demo__live-text strong { color: #fff; font-size: 1.05rem; }
.ng-demo__live-text span { color: #aeb7c9; font-size: .93rem; }
.ng-demo__live .ng-btn { white-space: nowrap; }
@media (max-width: 768px) { .ng-demo__live { padding: 20px; } .ng-demo__live .ng-btn { width: 100%; justify-content: center; white-space: normal; } }
.ng-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(7, 10, 20, .94); display: none; align-items: center; justify-content: center; padding: 40px; }
.ng-lightbox.is-open { display: flex; }
.ng-lightbox__img { max-width: min(1400px, 92vw); max-height: 86vh; border-radius: 12px; box-shadow: 0 40px 100px rgba(0, 0, 0, .6); }
.ng-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.ng-lightbox button:hover { background: rgba(255, 255, 255, .18); }
.ng-lightbox__close { top: 20px; right: 20px; } .ng-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); } .ng-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }
.ng-lightbox__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #8892a8; font-family: var(--ng-mono); font-size: .82rem; }

/* ═══════════════ CENNIK ═══════════════ */
.ng-billing-wrap { display: flex; justify-content: center; margin-bottom: 44px; }
.ng-billing { display: inline-flex; padding: 5px; border-radius: 14px; background: var(--ng-white); border: 1px solid rgba(26, 31, 54, .1); box-shadow: 0 6px 20px rgba(10, 14, 26, .05); }
.ng-billing__btn { padding: 11px 22px; border-radius: 10px; border: 0; background: transparent; color: var(--ng-ink-2); font-family: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; transition: background .25s, color .25s; }
.ng-billing__btn.is-active { background: var(--ng-bg-dark); color: #fff; }
.ng-billing__btn small { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 50px; background: rgba(0, 212, 170, .15); color: var(--ng-teal-dark); font-size: .68rem; font-weight: 800; }
.ng-billing__btn.is-active small { background: var(--ng-teal); color: var(--ng-bg-dark); }

/* Trzy pakiety w rzędzie; grupa nieaktywnego modelu jest wyłączona z układu */
.ng-pricing { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.ng-pricing.is-active { display: grid; animation: ng-fade .4s var(--ng-ease); }
.ng-price { position: relative; background: var(--ng-white); border: 1px solid rgba(26, 31, 54, .09); border-radius: 24px; padding: 34px 30px 30px; display: flex; flex-direction: column; transition: transform .35s var(--ng-ease), box-shadow .35s var(--ng-ease); }
.ng-price:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(10, 14, 26, .1); }
.ng-price--featured { border-color: transparent; background: var(--ng-bg-dark); color: #fff; box-shadow: 0 30px 80px rgba(10, 14, 26, .28); }
.ng-price--featured::before { content: ''; position: absolute; inset: -1px; border-radius: 25px; padding: 1px; background: linear-gradient(135deg, var(--ng-teal), var(--ng-purple)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.ng-price__popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 6px 16px; border-radius: 50px; background: linear-gradient(135deg, var(--ng-teal), var(--ng-teal-dark)); color: var(--ng-bg-dark); font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; white-space: nowrap; }
.ng-price__name { font-family: "Outfit", system-ui, sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -.3px; }
.ng-price__desc { color: var(--ng-ink-2); font-size: .9rem; margin: 4px 0 18px; min-height: 2.6em; }
.ng-price--featured .ng-price__desc { color: #aeb7c9; }
.ng-price__amount { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ng-price__cur { font-size: .9rem; font-weight: 700; color: var(--ng-ink-3); }
.ng-price__val { font-family: "Outfit", system-ui, sans-serif; font-size: 2.8rem; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.ng-price--featured .ng-price__val { color: var(--ng-teal); }
.ng-price__per { font-size: .88rem; color: var(--ng-ink-3); }
.ng-price__val--txt { font-size: 2rem; letter-spacing: -.6px; }
.ng-price--custom { background: linear-gradient(180deg, #fff 0%, #f3f6fc 100%); }
.ng-price__once { margin: 12px 0 22px; padding: 9px 12px; border-radius: 10px; background: rgba(0, 212, 170, .09); color: var(--ng-teal-dark); font-size: .82rem; }
.ng-price--featured .ng-price__once { background: rgba(0, 212, 170, .12); color: var(--ng-teal); }
.ng-price__once b { font-weight: 700; }
.ng-price__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 9px; flex: 1; }
.ng-price__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; line-height: 1.5; }
.ng-price__list li::before { content: '✓'; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 900; background: rgba(0, 212, 170, .14); color: var(--ng-teal-dark); margin-top: 2px; }
.ng-price--featured .ng-price__list li::before { background: rgba(0, 212, 170, .2); color: var(--ng-teal); }
.ng-price__list li.is-hl { font-weight: 700; }
.ng-price__list li.is-off { color: var(--ng-ink-3); text-decoration: line-through; }
.ng-price__list li.is-off::before { content: '–'; background: rgba(26, 31, 54, .06); color: var(--ng-ink-3); }
.ng-price--featured .ng-price__list li.is-off { color: #5f6a80; }
.ng-price--featured .ng-price__list li.is-off::before { background: rgba(255, 255, 255, .07); color: #5f6a80; }
.ng-price .ng-btn { width: 100%; }
.ng-price--featured .ng-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .22); }
.ng-price--featured .ng-btn--outline:hover { border-color: var(--ng-teal); color: var(--ng-teal); }
.ng-pricing__foot { text-align: center; margin-top: 22px; color: var(--ng-ink-3); font-size: .88rem; }

/* ── Promocja / zapowiedź podwyżki (ceny z panelu: inc/cennik.php) ── */
.ng-price.is-promo { border-color: transparent; box-shadow: 0 24px 60px rgba(255, 106, 61, .18); overflow: visible; }
.ng-price.is-promo::after { content: ''; position: absolute; inset: -1px; border-radius: 25px; padding: 2px; background: linear-gradient(135deg, #ff6a3d, #ffb02e 55%, #ff6a3d); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; animation: ng-promo-glow 2.4s ease-in-out infinite; }
@keyframes ng-promo-glow { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.ng-price.is-promo .ng-price__popular { display: none; }
.ng-price__ribbon { position: absolute; top: -14px; right: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 50px; background: linear-gradient(135deg, #ff6a3d, #ffb02e); color: #1a0d05; font-size: .72rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; box-shadow: 0 8px 22px rgba(255, 106, 61, .35); z-index: 2; }
.ng-price__ribbon b { padding: 1px 7px; border-radius: 20px; background: #1a0d05; color: #ffb02e; font-size: .74rem; }
.ng-price__amount.is-promo { align-items: baseline; }
.ng-price__old { width: 100%; font-family: "Outfit", system-ui, sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--ng-ink-3); text-decoration: line-through; text-decoration-color: #ff6a3d; text-decoration-thickness: 2px; margin-bottom: 2px; }
.ng-price.is-promo .ng-price__val { color: #ff6a3d; }
.ng-price--featured.is-promo .ng-price__val { color: #ffb02e; }
.ng-price__omnibus { margin-top: 8px; font-size: .78rem; color: var(--ng-ink-2); line-height: 1.4; }
.ng-price__omnibus b { color: var(--ng-ink); font-weight: 700; }
.ng-price--featured .ng-price__omnibus { color: #aeb7c9; } .ng-price--featured .ng-price__omnibus b { color: #fff; }
.ng-price__timer { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 7px 12px; border-radius: 10px; background: rgba(255, 106, 61, .1); border: 1px solid rgba(255, 106, 61, .25); font-size: .8rem; color: #b8431f; }
.ng-price__timer b { font-family: "Outfit", system-ui, sans-serif; font-variant-numeric: tabular-nums; font-size: .95rem; color: #ff6a3d; }
.ng-price--featured .ng-price__timer { color: #ffc89a; background: rgba(255, 106, 61, .16); } .ng-price--featured .ng-price__timer b { color: #ffb02e; }
.ng-price.is-soon { box-shadow: 0 24px 60px rgba(108, 99, 255, .14); }
.ng-price__soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(108, 99, 255, .09); border: 1px solid rgba(108, 99, 255, .25); font-size: .8rem; color: var(--ng-ink-2); }
.ng-price__soon b { color: var(--ng-ink); }
.ng-price__soon .is-timer { font-family: "Outfit", system-ui, sans-serif; font-variant-numeric: tabular-nums; color: var(--ng-purple); }
.ng-price--featured .ng-price__soon { color: #b9b4ff; background: rgba(108, 99, 255, .16); } .ng-price--featured .ng-price__soon b { color: #fff; } .ng-price--featured .ng-price__soon .is-timer { color: #b9b4ff; }
.ng-price.is-promo .ng-price__once, .ng-price.is-soon .ng-price__once { margin-top: 12px; }

/* pasek nad nawigacją — gradient płynie w tle */
.ng-promo-bar { margin: -18px 0 14px; padding: 9px 0; font-size: .86rem; color: #fff; text-align: center; background-size: 200% 100%; animation: ng-bar-flow 9s ease-in-out infinite; }
.ng-nav.is-scrolled .ng-promo-bar { margin-top: -10px; }
.ng-promo-bar--promo { background-image: linear-gradient(90deg, #c2410c, #ff6a3d 35%, #ffb02e 50%, #ff6a3d 65%, #c2410c); color: #1a0d05; }
.ng-promo-bar--soon { background-image: linear-gradient(90deg, #4338ca, #6c63ff 35%, #00a888 50%, #6c63ff 65%, #4338ca); }
@keyframes ng-bar-flow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.ng-promo-bar .ng-container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.ng-promo-bar__text b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ng-promo-bar__link { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .ng-promo-bar { animation: none; } }
@media (max-width: 1024px) { .ng-promo-bar { margin-top: -18px; font-size: .8rem; line-height: 1.45; padding: 8px 0; } .ng-promo-bar__link { display: none; } }
/* pasek dokłada wysokości do przyklejonej nawigacji: hero potrzebuje więcej miejsca u góry */
@media (max-width: 1024px) { .ng-nav:has(.ng-promo-bar) + .ng-hero { padding-top: 176px; } }
@media (max-width: 768px) { .ng-nav:has(.ng-promo-bar) + .ng-hero { padding-top: 168px; } }

/* ═══════════════ CTA ═══════════════ */
.ng-cta { padding: 96px 0; }
.ng-cta__box { position: relative; overflow: hidden; border-radius: 28px; padding: 68px 40px; text-align: center; color: #fff; background: var(--ng-bg-dark); isolation: isolate; }
.ng-cta__plasma { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .5; display: block; }
.ng-cta__plasma.is-fallback { background: radial-gradient(60% 90% at 15% 20%, rgba(0, 212, 170, .35), transparent 60%), radial-gradient(60% 90% at 85% 80%, rgba(108, 99, 255, .4), transparent 60%); opacity: 1; }
.ng-cta__box::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(10, 14, 26, .55), rgba(10, 14, 26, .1)); pointer-events: none; }
.ng-cta__box > *:not(canvas) { position: relative; z-index: 2; }
.ng-cta__box h2 { font-family: "Outfit", system-ui, sans-serif; font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.8px; margin: 0 0 14px; }
.ng-cta__box p { max-width: 640px; margin: 0 auto 30px; color: #cfd6e4; font-size: 1.04rem; line-height: 1.7; }
.ng-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════ ZAUFANIE / KARTY TEKSTOWE ═══════════════ */
.ng-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ng-trust__card { padding: 30px 24px; text-align: center; }
.ng-trust__icon { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: linear-gradient(135deg, rgba(0, 212, 170, .14), rgba(108, 99, 255, .14)); }
.ng-trust__card h3 { font-size: 1.05rem; margin: 0 0 8px; }
.ng-trust__card p { margin: 0; color: var(--ng-ink-2); font-size: .92rem; line-height: 1.6; }
.ng-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.ng-card-text { border-left: 3px solid var(--ng-teal); padding: 26px 28px; }
.ng-card-text:hover::before { opacity: 0; }
.ng-card-text h3 { font-size: 1.1rem; margin: 0 0 12px; letter-spacing: -.2px; line-height: 1.3; }
.ng-card-text p { margin: 0 0 12px; color: var(--ng-ink-2); font-size: .95rem; line-height: 1.7; }
.ng-card-text p:last-child { margin-bottom: 0; }
.ng-card-text a { color: var(--ng-teal-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ng-card-text strong { color: var(--ng-ink); }

/* ═══════════════ KONTAKT ═══════════════ */
.ng-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: start; }
.ng-contact__info { display: grid; gap: 14px; }
.ng-info { display: flex; gap: 14px; align-items: center; padding: 18px 20px; }
.ng-info__icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; background: rgba(0, 212, 170, .1); flex: 0 0 auto; }
.ng-info h4 { margin: 0 0 2px; font-size: .76rem; text-transform: uppercase; letter-spacing: .8px; color: var(--ng-ink-3); }
.ng-info p, .ng-info a { margin: 0; font-weight: 600; color: var(--ng-ink); }
.ng-info a:hover { color: var(--ng-teal-dark); }
.ng-form { background: var(--ng-white); border: 1px solid rgba(26, 31, 54, .08); border-radius: 24px; padding: 34px; box-shadow: 0 20px 60px rgba(10, 14, 26, .06); }
.ng-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ng-form .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ng-form label { font-size: .86rem; font-weight: 600; color: var(--ng-ink); }
.ng-form .req { color: var(--ng-coral); }
.ng-form input[type="text"], .ng-form input[type="email"], .ng-form input[type="tel"], .ng-form select, .ng-form textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(26, 31, 54, .14); background: var(--ng-paper); font-family: inherit; font-size: .95rem; color: var(--ng-ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.ng-form input:focus, .ng-form select:focus, .ng-form textarea:focus { outline: none; border-color: var(--ng-teal-dark); background: #fff; box-shadow: 0 0 0 4px rgba(0, 212, 170, .14); }
.ng-form .invalid { border-color: var(--ng-coral) !important; }
.ng-form .valid { border-color: var(--ng-teal-dark); }
.ng-form textarea { resize: vertical; min-height: 120px; }
.ng-form .form-error { font-size: .8rem; color: var(--ng-coral); min-height: 1em; }
.ng-form .checkbox-label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--ng-ink-2); cursor: pointer; }
.ng-form .checkbox-label input { margin-top: 3px; accent-color: var(--ng-teal-dark); }
.ng-form .checkbox-label a { color: var(--ng-teal-dark); text-decoration: underline; }
.ng-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ng-form .form-submit { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.ng-form .form-note { font-size: .82rem; color: var(--ng-ink-3); }
.ng-form .form-feedback { margin-top: 14px; font-size: .92rem; }
.ng-form .form-feedback.success, .ng-form .form-feedback--success { color: var(--ng-teal-dark); font-weight: 600; }
.ng-form .form-feedback.error, .ng-form .form-feedback--error { color: var(--ng-coral); font-weight: 600; }
.ng-form .btn-submit.loading { opacity: .7; pointer-events: none; }

/* ═══════════════ FAQ ═══════════════ */
.ng-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.ng-faq__item { background: var(--ng-white); border: 1px solid rgba(26, 31, 54, .08); border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.ng-faq__item.is-open { border-color: rgba(0, 212, 170, .45); box-shadow: 0 14px 40px rgba(10, 14, 26, .06); }
.ng-faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; background: transparent; border: 0; text-align: left; font-family: "Outfit", system-ui, sans-serif; font-weight: 700; font-size: 1.02rem; color: var(--ng-ink); cursor: pointer; line-height: 1.35; }
.ng-faq__q:hover { color: var(--ng-teal-dark); }
.ng-faq__toggle { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 212, 170, .1); color: var(--ng-teal-dark); font-size: 1.1rem; transition: transform .3s var(--ng-ease), background .3s; }
.ng-faq__item.is-open .ng-faq__toggle { transform: rotate(45deg); background: var(--ng-teal); color: var(--ng-bg-dark); }
.ng-faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ng-ease); }
.ng-faq__a p { margin: 0 22px 20px; color: var(--ng-ink-2); line-height: 1.7; font-size: .95rem; }
.ng-faq__a p + p { margin-top: -8px; }

/* ═══════════════ STOPKA ═══════════════ */
.ng-footer { background: var(--ng-bg-deep); color: #aeb7c9; padding: 72px 0 32px; border-top: 1px solid rgba(255, 255, 255, .06); }
.ng-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; margin-bottom: 48px; }
.ng-footer__brand p { margin: 16px 0 0; font-size: .92rem; line-height: 1.7; color: #8892a8; max-width: 400px; }
.ng-footer__cs { display: inline-block; margin-top: 16px; opacity: .7; transition: opacity .25s; }
.ng-footer__cs:hover { opacity: 1; }
.ng-footer__cs img { height: 32px; width: auto; }
.ng-footer h4 { color: #fff; font-size: .82rem; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 16px; }
.ng-footer nav a { display: block; padding: 5px 0; color: #8892a8; font-size: .92rem; transition: color .25s, transform .25s; }
.ng-footer nav a:hover { color: var(--ng-teal); transform: translateX(3px); }
.ng-footer nav a strong { color: #cfd6e4; }
.ng-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .82rem; color: #6f7a92; }
.ng-footer__bottom a { color: inherit; text-decoration: underline; }

/* ═══════════════ RESPONSYWNOŚĆ ═══════════════ */
@media (max-width: 1100px) {
    .ng-features, .ng-usp__grid, .ng-trust { grid-template-columns: repeat(2, 1fr); }
    .ng-pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    /* Nagłówek o stałej wysokości (68px) i BEZ backdrop-filter — filtr robi
       z nagłówka „containing block" dla position:fixed i menu pozycjonowałoby
       się względem 68px paska zamiast ekranu. */
    .ng-nav, .ng-nav.is-scrolled { padding: 12px 0; }
    .ng-nav.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ng-bg-dark); }
    body.ng-menu-open .ng-nav { background: var(--ng-bg-dark); box-shadow: none; }
    .ng-nav__burger { display: block; position: relative; z-index: 2; }
    .ng-nav__links {
        position: fixed; top: 68px; left: 0; right: 0; bottom: 0; width: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 10px 24px 40px;
        background: var(--ng-bg-dark);
        border-top: 1px solid rgba(255, 255, 255, .08);
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        opacity: 0; visibility: hidden; transform: translateY(-12px);
        transition: opacity .3s var(--ng-ease), transform .35s var(--ng-ease), visibility 0s .35s;
    }
    .ng-nav__links.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ng-ease), transform .35s var(--ng-ease), visibility 0s; }
    .ng-nav__links li { border-bottom: 1px solid rgba(255, 255, 255, .07); }
    .ng-nav__links a { display: block; padding: 17px 4px; font-size: 1.18rem; font-weight: 600; border-radius: 0; color: #fff; }
    .ng-nav__links a:hover, .ng-nav__links a.is-active { background: transparent; color: var(--ng-teal); }
    .ng-nav__contact { border-bottom: 0 !important; margin-top: 18px; }
    .ng-nav__contact a { display: flex; justify-content: center; margin: 0; padding: 15px 20px !important; border-radius: 50px !important; font-size: 1.05rem; }
    .ng-nav__cta { margin: 12px 0 0; border-bottom: 0 !important; }
    .ng-nav__cta a { display: flex; justify-content: center; padding: 15px 20px !important; font-size: 1.05rem; }
    body.ng-menu-open { overflow: hidden; }
    .ng-hero { padding: 116px 0 70px; min-height: auto; }
    .ng-hero .ng-container { grid-template-columns: 1fr; gap: 40px; }
    .ng-hero__shade { background: linear-gradient(180deg, rgba(10, 14, 26, .78) 0%, rgba(10, 14, 26, .4) 55%, rgba(10, 14, 26, .75) 100%); }
    .ng-drift--1, .ng-drift--4 { display: none; }
    .ng-scene { padding: 20px 0 70px 0; max-width: 620px; }
    .ng-win--table { transform: none; }
    .ng-win--history { right: 0; top: -14px; }
    .ng-benefits { grid-template-columns: 1fr; }
    .ng-benefits__visual { position: static; max-width: 520px; }
    .ng-steps { grid-template-columns: repeat(2, 1fr); } .ng-steps::before { display: none; }
    .ng-demo__view.is-active { grid-template-columns: 1fr; }
    .ng-contact { grid-template-columns: 1fr; }
    .ng-footer__grid { grid-template-columns: 1fr 1fr; }
    .ng-ticker__box { grid-template-columns: 1fr; }
    .ng-ticker__grid { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .ng-section { padding: 68px 0; }
    .ng-head { margin-bottom: 34px; }
    .ng-title { font-size: clamp(1.5rem, 5.4vw, 1.9rem); letter-spacing: -.5px; }
    .ng-head p { font-size: .96rem; }
    .ng-tag { font-size: .7rem; }
    .ng-hero { padding: 100px 0 56px; }
    .ng-hero__title { font-size: clamp(1.6rem, 6.4vw, 2.1rem); letter-spacing: -.5px; }
    .ng-hero__desc { font-size: .96rem; }
    .ng-hero__actions .ng-btn { width: 100%; }
    .ng-hero__stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .ng-stat__num { font-size: 1.4rem; } .ng-stat__label { font-size: .72rem; }
    .ng-drift { display: none; }
    /* Scena z tabelką znika na telefonie: jej minimalna szerokość (ceny
       bez łamania + chipy) rozpychała kolumnę hero poza ekran. */
    .ng-hero__visual { display: none; }
    .ng-hero .ng-container { grid-template-columns: minmax(0, 1fr); }
    .ng-hero .ng-container > * { min-width: 0; }
    .ng-ticker { margin-top: 24px; }
    .ng-ticker__box { padding: 24px 20px; }
    .ng-ticker__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .ng-ticker__cell { min-width: 0; padding: 12px 6px 10px; }
    .ng-ticker__num { font-size: 1.3rem; } .ng-ticker__lbl { font-size: .6rem; }
    .ng-usp { padding-top: 48px; }
    .ng-usp__grid, .ng-features, .ng-steps, .ng-trust, .ng-cards, .ng-pricing { grid-template-columns: 1fr; }
    .ng-benefit { grid-template-columns: 34px 1fr; }
    .ng-stack { padding: 16px 0 0 16px; }
    .ng-stack__ghost--1 { transform: translate(-8px, -8px); } .ng-stack__ghost--2 { transform: translate(-16px, -16px); }
    .ng-demo__tabs { display: flex; flex-direction: column; width: 100%; }
    .ng-demo__tab { justify-content: center; }
    .ng-billing { display: flex; width: 100%; }
    .ng-billing__btn { flex: 1; padding: 10px 8px; font-size: .84rem; }
    .ng-billing__btn small { display: none; }
    .ng-price { padding: 28px 22px 24px; }
    .ng-price__val { font-size: 2.4rem; }
    .ng-price__desc { min-height: 0; }
    .ng-cta { padding: 60px 0; }
    .ng-cta__box { padding: 44px 22px; border-radius: 20px; }
    .ng-cta__actions .ng-btn { width: 100%; }
    .ng-form { padding: 22px 18px; }
    .ng-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .ng-form .form-submit .ng-btn { width: 100%; }
    .ng-faq__q { padding: 16px 18px; font-size: .95rem; }
    .ng-faq__a p { margin: 0 18px 16px; font-size: .92rem; }
    .ng-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .ng-footer__bottom { flex-direction: column; }
    .ng-lightbox { padding: 16px; }
    .ng-lightbox__prev, .ng-lightbox__next { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ng-reveal { opacity: 1; transform: none; transition: none; }
    .ng-drift span, .ng-hero__badge i, .ng-win__live i { animation: none; }
    .ng-win--table { transform: none; }
    .ng * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
