
/* === Sticky footer: ensure footer sticks to bottom of viewport when content is short === */
html, body { height: 100%; }
body { min-height: 100vh; display: flex; flex-direction: column; }
main, #main, #content, .content, .site-content, .page, .container-main { flex: 1 0 auto; display: block; }
footer, footer.footer, #footer { margin-top: auto; }
/* === /Sticky footer === */
/* THEME noweczka — style.css (final) */
:root {
  --radius: 16px; --radius-lg: 22px;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 60px rgba(0,0,0,.14);
  --transition: 240ms ease;
  --container: 1200px;
  /* light (blue) */
  --bg: #f7fbff; --text: #0b1220; --muted: #4b5563;
  --card: #ffffff; --border: #e5eaf1;
  --primary: #2563eb; --primary-contrast: #ffffff;
  --secondary: #0ea5e9; --accent: #38bdf8;
  --grad-start: #63a5ff; --grad-end: #a5b4fc;
}
html:not(.light) {
  /* dark (green) */
  --bg: #0b1410; --text: #e8f6f0; --muted: #a6b9b0;
  --card: #101c17; --border: #1e2a24;
  --primary: #10b981; --primary-contrast: #062016;
  --secondary: #34d399; --accent: #6ee7b7;
  --grad-start: #10b981; --grad-end: #34d399;
}
*{box-sizing:border-box} html,body{height:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;margin:0;font-family:'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;background:var(--bg);color:var(--text);line-height:1.6}
.container{max-width:var(--container);padding:0 20px;margin:0 auto}
a{color:var(--primary);text-decoration:none} a:hover{text-decoration:underline}
/* topbar */
.topbar{position:sticky;top:0;z-index:50;border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
  backdrop-filter:blur(10px)}
html:not(.light) .topbar{background:linear-gradient(180deg, rgba(11,20,16,.7), rgba(11,20,16,.4))}
.flex{display:flex}.between{justify-content:space-between}.vcenter{align-items:center}
.brand{display:inline-flex;gap:10px;align-items:center;font-weight:800;color:var(--text)} .brand img{border-radius:6px}
.nav{display:flex;gap:14px;align-items:center}
.btn-cta{padding:8px 12px;border-radius:999px;background:var(--primary);color:var(--primary-contrast);box-shadow:var(--shadow);text-decoration:none}
.btn-ghost{padding:8px 10px;border:1px solid var(--border);border-radius:999px;text-decoration:none;color:var(--text)}
.mode{margin-left:8px}
.sep{width:1px;height:20px;background:var(--border);display:inline-block;margin:0 4px}
/* hero */
.hero{position:relative;padding:72px 0 48px;overflow:hidden}
.bg-shapes{position:absolute;inset:0;pointer-events:none}
.shape{position:absolute;filter:blur(40px);opacity:.55;background:linear-gradient(120deg,var(--grad-start),var(--grad-end));border-radius:40px}
.shape.s1{width:320px;height:240px;left:-80px;top:-60px}
.shape.s2{width:280px;height:220px;right:-80px;top:20px}
.shape.s3{width:340px;height:240px;left:40%;bottom:-80px}
.hero__inner{position:relative;display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center}
.hero__copy h1{margin:0 0 12px;font-size:clamp(30px,4.2vw,46px);letter-spacing:-.02em}
.hero__copy p{margin:0 0 18px;color:var(--muted)}
.hero__cta .btn{margin-right:10px}
.hero__badges{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap}
.badge{background:rgba(255,255,255,.6);border:1px solid var(--border);padding:6px 10px;border-radius:999px;font-size:13px}
html:not(.light) .badge{background:rgba(16,28,23,.6)}
.hero__art svg{width:100%;height:auto;filter:drop-shadow(0 20px 40px rgba(0,0,0,.18));border-radius:var(--radius-lg);background:rgba(255,255,255,.35)}
.hero__wave{position:absolute;left:0;right:0;bottom:-1px;height:28px;background:radial-gradient(100% 60% at 50% 0%,var(--bg) 60%,transparent 61%) bottom/100% 100% no-repeat}
/* section */
.section{padding:56px 0}
.section__head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px}
.section__title{font-size:26px;margin:0 0 18px}
/* bubbles */
.bubbles__grid{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}
.bubble{background:var(--card);border:1px solid var(--border);border-radius:20px;padding:18px;box-shadow:var(--shadow)}
/* cards */
.h-scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,1fr);gap:16px;overflow:auto;padding-bottom:6px;scroll-snap-type:x mandatory}
.h-scroll > *{scroll-snap-align:start}
.cards .card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);transition:transform var(--transition),box-shadow var(--transition)}
.cards .card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.card__badge{display:inline-block;font-size:12px;font-weight:700;background:var(--accent);padding:4px 8px;border-radius:999px;color:#052a34;margin-bottom:6px}
.card__badge.alt{background:var(--secondary)}
.card__title{margin:4px 0 6px;font-size:18px}
.card__meta{margin:0 0 8px;color:var(--muted);font-size:14px}
.card__desc{margin:0 0 10px}
.btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--primary);background:var(--primary);color:var(--primary-contrast);padding:10px 16px;border-radius:999px;font-weight:600;text-decoration:none;cursor:pointer;transition:transform var(--transition),box-shadow var(--transition);box-shadow:var(--shadow)}
.btn--secondary{background:var(--secondary);border-color:var(--secondary);color:#052a34}
.btn--small{padding:8px 12px;font-size:14px}
/* about & stats */
.about__grid{display:grid;gap:24px;grid-template-columns:1.2fr .8fr;align-items:center}
.about__list{padding-left:20px}
.about__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stat{background:var(--card);border:1px solid var(--border);border-radius:18px;padding:16px;text-align:center;box-shadow:var(--shadow)}
.stat strong{display:block;font-size:22px}
/* steps */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.step{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.step__num{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;background:var(--primary);color:var(--primary-contrast);font-weight:800;margin-bottom:10px}
/* footer */
.footer{background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.05));border-top:1px solid var(--border);margin-top:40px}
.footer__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:32px 0}
.footer__col h4{margin:0 0 10px}
.footer__col ul{list-style:none;padding:0;margin:0}
.footer__col li{margin-bottom:8px}
.footer__bottom{border-top:1px solid var(--border);padding:14px 0;color:var(--muted);font-size:14px}
/* reveal */
.reveal{opacity:0;transform:translateY(12px);transition:opacity 520ms ease,transform 520ms ease}
.reveal.in-view{opacity:1;transform:translateY(0)}
/* responsive */
@media (max-width:1100px){.hero__inner{grid-template-columns:1fr}.hero__art{order:-1;margin-bottom:10px}.bubbles__grid{grid-template-columns:repeat(2,1fr)}.about__grid{display:grid;gap:24px;grid-template-columns:1.2fr .8fr;align-items:center}}
@media (max-width:640px){.bubbles__grid{grid-template-columns:1fr}.steps{grid-template-columns:1fr}}

/* grid for non-scrolling cards */
.cards{display:grid;gap:16px;grid-template-columns:repeat(4,1fr)}
@media (max-width:1100px){.cards{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.cards{grid-template-columns:1fr}}


/* user dropdown */
.user-dropdown{position:relative}
.drop-toggle{color:var(--text)!important;font-weight:700;padding:8px 12px;border:1px solid var(--border);border-radius:999px;background:var(--card);cursor:pointer}
html:not(.light) .drop-toggle{background:var(--card);color:var(--text)}
.drop-menu{position:absolute;right:0;top:calc(100% + 8px);min-width:220px;background:var(--card);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-lg);padding:6px;display:none;z-index:60}
.user-dropdown.open .drop-menu{display:block}
.drop-item{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:10px;color:var(--text);text-decoration:none}
.drop-item:hover{background:rgba(0,0,0,.04)}
html:not(.light) .drop-item:hover{background:rgba(255,255,255,.06)}
.drop-sep{height:1px;background:var(--border);margin:6px 0}
.drop-item.danger{color:#b91c1c}
.badge{margin-left:8px;border-radius:999px;padding:0 8px;background:#ef4444;color:#fff;font-size:12px;line-height:18px}


/* topbar font bump */
.nav a, .auth, .drop-toggle{font-size:19px}


/* font tune */
h1,h2,h3{letter-spacing:-0.01em}
.brand span{font-weight:800}
.nav a,.auth,.drop-toggle{font-weight:600}


/* nicer auth buttons in topbar */
.nav .auth{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 14px; border-radius:999px;
  text-decoration:none; border:1px solid var(--border);
  background:rgba(255,255,255,.55);
  backdrop-filter:saturate(180%) blur(8px);
  box-shadow:var(--shadow);
  transition:transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
}
html:not(.light) .nav .auth{ background:rgba(16,28,23,.55) }
.nav .auth:hover{ transform:translateY(-1px); box-shadow:var(--shadow-lg) }
.nav .auth:active{ transform:translateY(0) scale(.98) }

/* register button as primary pill */
.nav .auth.btn-ghost{
  border-color:transparent;
  background:var(--primary); color:var(--primary-contrast);
}
.nav .auth.btn-ghost:hover{ filter:brightness(1.05) }


/* global scale 85% */
html{ zoom:0.85; } /* Chrome/Edge/Safari */
@supports not (zoom:1){
  body{ transform:scale(0.85); transform-origin:top center; }
}


/* footer 4 columns patch */
.footer__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;padding:32px 0}
.footer__col--lead .footer__lead{font-size:22px;font-weight:800;margin-bottom:10px}
.footer__col--lead .footer__sub{font-size:14px;color:var(--muted);line-height:1.5}
@media (max-width:1100px){.footer__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.footer__grid{grid-template-columns:1fr}}


.footer__bottom-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer__bottom .owner{margin:0 0 0 auto;text-align:right;color:var(--muted);font-size:13px;max-width:800px}
@media (max-width:800px){.footer__bottom .owner{text-align:left;margin:6px 0 0 0}}


/* hero creative art */
@keyframes floaty{0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}}
.hero__art svg .float{animation:floaty 8s ease-in-out infinite;will-change:transform}
.hero__art svg .float.d1{animation-duration:9s}
.hero__art svg .float.d2{animation-duration:10s;animation-delay:.3s}
.hero__art svg .float.d3{animation-duration:12s;animation-delay:.6s}
.hero__art svg .float.d4{animation-duration:7s;animation-delay:.9s}


/* hero readability patch */
.hero__inner{align-items:flex-start}
.hero__copy{max-width:760px}
.hero__copy h1{font-size:44px;line-height:1.15;letter-spacing:-0.02em;margin-bottom:12px}
@media (max-width:1000px){.hero__copy h1{font-size:38px}}
@media (max-width:640px){.hero__copy h1{font-size:32px}}
.hero__split{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:12px 0 16px}
@media (max-width:800px){.hero__split{grid-template-columns:1fr}}
.hero__split .pane{border:1px solid var(--border);background:rgba(255,255,255,.6);backdrop-filter:saturate(160%) blur(6px);border-radius:16px;padding:12px 14px;box-shadow:var(--shadow)}
html:not(.light) .hero__split .pane{background:rgba(12,18,24,.55)}
.hero__split .pane h3{margin:0 0 6px 0;font-size:16px;font-weight:800}
.hero__split .pane p{margin:0 0 8px 0}
.hero__list{padding-left:18px;margin:0}
.hero__list li{margin:2px 0}


/* hero no-cta spacing */
.hero__copy p{margin-bottom:10px}
.hero__split{margin-top:8px}


.footer__about{font-size:14px;line-height:1.6;color:var(--muted);margin:0}
@media (max-width:1200px){.footer__grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:800px){.footer__grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.footer__grid{grid-template-columns:1fr}}


.about__info{border:1px solid var(--border);background:rgba(255,255,255,.6);backdrop-filter:saturate(160%) blur(6px);border-radius:16px;padding:16px;box-shadow:var(--shadow)}
html:not(.light) .about__info{background:rgba(12,18,24,.55)}
.about__info h3{margin:0 0 8px 0;font-weight:800;font-size:18px}
.about__info p{margin:0;color:var(--muted);line-height:1.6}
@media (max-width:1100px){.about__grid{display:grid;gap:24px;grid-template-columns:1.2fr .8fr;align-items:center}}


/* about plain text */
.about-plain .about__text{max-width:1200px}
.about-plain .about__text p{font-size:16px;line-height:1.75;margin:0;color:var(--text)}


.about__bullets{margin:0 0 12px 18px}
.about__bullets li{margin:4px 0}


/* login white inputs override */
section[style*="background:#f9fafb"]{background:#fff !important}
div[style*="background:#cbd5e1"]{background:#fff !important;border:1px solid #d1d5db !important}
input[type="email"],input[type="text"],input[type="password"]{background:#fff !important;border:1px solid #d1d5db !important}
input[type="email"]:focus,input[type="text"]:focus,input[type="password"]:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.15)}

/* ads_view: two-column layout (70/30) */
.view-layout{display:grid;grid-template-columns:70% 30%;gap:18px}
/* === RWD overrides (auto) — 2025-10-18 21:15:23 === */
img, video, iframe { max-width: 100%; height: auto; }
svg { max-width: 100%; height: auto; }
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

@supports (-webkit-overflow-scrolling: touch) {
  select, textarea, input, button { font-size: 16px; }
}

@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .container, .wrapper, .content, .main, .page, .header, .footer { max-width:100% !important; width:100% !important; }
  [class*="col-"], [class*="span"], .sidebar, .aside, .left, .right { width:100% !important; float:none !important; clear:both; }
  img, video, iframe { max-width:100% !important; height:auto !important; }
  table, .table { display:block; width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .grid, .row { display:block; }
  .hidden-xs { display:none !important; }
}
/* === /RWD overrides === */

/* === Sticky footer (final, stronger) === */
html, body { height: 100% !important; }
body { min-height: 100vh !important; display: flex !important; flex-direction: column !important; }
main { flex: 1 0 auto !important; display: block !important; }
/* Elements injected after footer should not push layout */
#fb-root { display: contents !important; }
#fb-customer-chat { position: fixed !important; right: 18px !important; bottom: 18px !important; z-index: 2147483647 !important; }
/* === /Sticky footer === */


/* === Poprawka #1: Anti-overlap for header (noweczka) === */
.topbar .container{flex-wrap:wrap}
.topbar .brand{flex:0 1 auto;min-width:0}
.topbar .nav{flex:1 1 auto;min-width:0;flex-wrap:wrap;justify-content:flex-end}
.nav{flex-wrap:wrap;min-width:0}
@media (max-width: 640px){
  .topbar .brand{flex-basis:100%}
  .topbar .nav{flex-basis:100%;justify-content:flex-start;gap:10px}
}
/* === /Poprawka #1 === */
