/* ==========================================================================
   rezone — static landing page
   Brand: green #1bce81 + dark navy #10212b
   Layout inspired by zeni.ai, content from rezone.app
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --green: #1bce81;
  --green-600: #15b471;
  --green-700: #0f9a60;
  --green-50: #e9faf3;
  --green-100: #d2f4e6;

  --navy: #10212b;
  --navy-800: #16303d;
  --navy-700: #1d3b4a;

  --ink: #10212b;
  --muted: #56666e;
  --muted-2: #7c8b92;

  --bg: #ffffff;
  --bg-soft: #f4f9f7;
  --bg-mint: #ecfaf3;
  --border: #e5ece9;
  --border-2: #eef2f0;

  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-sm: 0 2px 8px rgba(16, 33, 43, 0.05);
  --shadow: 0 18px 50px rgba(16, 33, 43, 0.08);
  --shadow-lg: 0 30px 80px rgba(16, 33, 43, 0.14);
  --shadow-green: 0 20px 45px rgba(27, 206, 129, 0.28);

  --container: 1200px;
  --nav-h: 74px;

  --ff: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

section { position: relative; }
.section { padding-block: 96px; }
.section-soft { background: var(--bg-soft); }
.section-mint { background: linear-gradient(180deg, #ffffff 0%, var(--bg-mint) 100%); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  padding: 7px 14px; border-radius: 999px;
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; color: var(--navy); }
h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 18px; }
h3 { font-size: 21px; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); margin-top: 18px; }

.text-green { color: var(--green-600); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: var(--navy); box-shadow: var(--shadow-green); }
.btn-primary:hover { transform: translateY(-2px); background: var(--green-600); box-shadow: 0 26px 55px rgba(27, 206, 129, 0.36); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); background: var(--navy-800); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-700); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700);
  transition: gap .2s ease;
}
.link-arrow:hover { gap: 11px; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(16,33,43,.05); }
.nav .container { display: flex; align-items: center; gap: 18px; }

.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 23px; letter-spacing: -0.04em; color: var(--navy); }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); }
.brand b { color: var(--green-600); font-weight: 800; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--navy-700);
  padding: 9px 14px; border-radius: 10px; transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--green-700); background: var(--green-50); }
.nav-link .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-item:hover .nav-link .chev { transform: rotate(180deg); }

.badge-soon {
  font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-100);
  padding: 3px 7px; border-radius: 6px;
}

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
/* invisible hover bridge so the menu doesn't drop while the cursor crosses the gap */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; transition: background .15s ease; }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown .di { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.dropdown .di svg { width: 19px; height: 19px; }
.dropdown .dt { font-weight: 700; font-size: 15px; color: var(--navy); }
.dropdown .dt, .dropdown .dd { display: block; }
.dropdown .dd { font-size: 13px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* mega dropdown — agents list + CTA panel (zeni.ai style) */
.dropdown-mega { display: flex; gap: 12px; min-width: 580px; left: 0; transform: translateX(0) translateY(8px); }
.nav-item:hover .dropdown-mega { transform: translateX(0) translateY(0); }
.dropdown-mega .dd-list { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.dropdown-mega .dd-list a { padding: 12px; }
.av-agent { width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden; background: var(--bg-soft); box-shadow: 0 0 0 2px #fff, var(--shadow-sm); }
.av-agent img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dropdown-mega .dd-cta {
  position: relative; width: 224px; flex: none;
  display: flex; flex-direction: column; gap: 7px;
  padding: 18px; border-radius: 14px; background: var(--navy); color: #fff;
}
.dropdown-mega .dd-cta:hover { background: var(--navy-800); }
.dd-cta-badge { align-self: flex-start; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); background: var(--green); padding: 3px 8px; border-radius: 6px; }
.dd-cta-ic { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; margin-top: 14px; }
.dd-cta-ic svg { width: 22px; height: 22px; color: var(--green); }
.dd-cta-t { font-weight: 800; font-size: 16px; color: #fff; }
.dd-cta-d { font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.45; }
.dd-cta-btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--green); }
.dd-cta-btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.dropdown-mega .dd-cta:hover .dd-cta-btn svg { transform: translateX(3px); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-signin { font-weight: 600; font-size: 15px; color: var(--navy); padding: 9px 6px; }
.nav-signin:hover { color: var(--green-700); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 90px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 700px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(27,206,129,.20), rgba(27,206,129,0) 62%);
}
.hero-inner { position: relative; }
.hero-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; text-align: left; }
.hero-copy .lead { margin-inline: 0; }
.hero-copy .hero-cta { justify-content: flex-start; }
.hero-copy .hero-note { justify-content: flex-start; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: 100%; max-width: 480px; filter: drop-shadow(0 26px 46px rgba(16, 33, 43, .14)); animation: floaty 8s ease-in-out infinite; }
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
  text-transform: uppercase; font-weight: 800;
}
.hero h1 .hl { color: var(--green-600); }
.hero .lead { font-size: clamp(18px, 1.6vw, 21px); max-width: 660px; margin-inline: auto; margin-top: 22px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted-2); display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green-600); }

/* dashboard mockup */
.hero-app {
  position: relative; margin-top: 64px; max-width: 1060px; margin-inline: auto;
  background: linear-gradient(180deg, #ffffff, #f7fbf9);
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 14px;
}
.app-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px 14px; }
.app-bar .dots { display: flex; gap: 7px; }
.app-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #d9e2de; display: block; }
.app-bar .dots i:nth-child(1){ background:#ff6058;} .app-bar .dots i:nth-child(2){ background:#ffbd2e;} .app-bar .dots i:nth-child(3){ background:#28c840;}
.app-bar .url { margin-inline: auto; font-size: 12px; color: var(--muted-2); background: #eef3f1; padding: 6px 16px; border-radius: 8px; }
.app-bar .url b { color: var(--green-700); }

.app-body { display: grid; grid-template-columns: 200px 1fr; gap: 14px; }
.app-side { background: var(--navy); border-radius: var(--radius); padding: 18px 14px; color: #cdd9d4; }
.app-side .logo { color: #fff; font-weight: 800; font-size: 18px; letter-spacing: -.03em; margin-bottom: 22px; display: flex; align-items: center; gap: 7px; }
.app-side .logo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.app-side .navi { display: flex; flex-direction: column; gap: 4px; }
.app-side .navi a { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 11px; border-radius: 10px; color: #9fb1ab; }
.app-side .navi a.active { background: rgba(27,206,129,.16); color: #fff; }
.app-side .navi a i { width: 7px; height: 7px; border-radius: 2px; background: currentColor; opacity: .7; }

.app-main { padding: 4px 6px 8px; text-align: left; }
.app-main h4 { font-size: 17px; margin-bottom: 14px; }
.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 14px; }
.kpi { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.kpi .l { font-size: 12px; color: var(--muted-2); font-weight: 600; }
.kpi .v { font-size: 22px; font-weight: 800; color: var(--navy); margin-top: 4px; letter-spacing: -.02em; }
.kpi .d { font-size: 11px; font-weight: 700; margin-top: 4px; color: var(--green-700); }
.kpi .d.neg { color: #e0623c; }

.app-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.card-flat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.card-flat .ct { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }
.card-flat .ct span { font-size: 11px; color: var(--green-700); font-weight: 700; }

.chart { display: flex; align-items: flex-end; gap: 9px; height: 120px; }
.chart .bar { flex: 1; background: linear-gradient(180deg, var(--green), #6fe3b3); border-radius: 6px 6px 4px 4px; position: relative; opacity: .85; }
.chart .bar.alt { background: linear-gradient(180deg, #cfeee0, #e7f7ef); }

.rows { display: flex; flex-direction: column; gap: 9px; }
.row-i { display: flex; align-items: center; gap: 10px; }
.row-i .av { width: 30px; height: 30px; border-radius: 8px; background: var(--green-50); flex: none; }
.row-i .ri { flex: 1; }
.row-i .ri .t { font-size: 12px; font-weight: 700; color: var(--navy); }
.row-i .ri .s { font-size: 11px; color: var(--muted-2); }
.row-i .tag { font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px; }
.tag.paid { background: var(--green-50); color: var(--green-700); }
.tag.due { background: #fdeee7; color: #d4632f; }

/* floating chips on dashboard */
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 11px;
  font-size: 13px; font-weight: 700; color: var(--navy);
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--green); color: var(--navy); display: grid; place-items: center; }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip small { display: block; font-size: 11px; font-weight: 600; color: var(--muted-2); }
.fc-1 { top: 84px; left: -28px; animation: floaty 6s ease-in-out infinite; }
.fc-2 { bottom: 56px; right: -26px; animation: floaty 7s ease-in-out infinite 1s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------- Logo strip ---------- */
.logos { padding-block: 52px; border-top: 1px solid var(--border-2); border-bottom: 1px solid var(--border-2); }
.logos p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 26px; }
/* Wstęga klientów — automatyczne, bezszwowe przewijanie (track zdublowany ×2). */
.logos-marquee {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.logos-track { display: flex; align-items: center; width: max-content; animation: logosScroll 50s linear infinite; }
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logo-item { flex: none; padding-inline: 30px; display: flex; align-items: center; justify-content: center; }
.logo-item img {
  height: 46px; width: auto; max-width: 160px; object-fit: contain; display: block;
  opacity: .58; filter: grayscale(1); transition: opacity .25s ease, filter .25s ease;
}
.logo-item img:hover { opacity: 1; filter: grayscale(0); }

@keyframes logosScroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 14px 0; }
  .logos-track .logo-item[aria-hidden] { display: none; } /* bez animacji nie pokazuj duplikatów */
  .logos-marquee { -webkit-mask-image: none; mask-image: none; }
}

/* ==========================================================================
   Product grid (bento of features)
   ========================================================================== */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
  display: flex; flex-direction: column; min-height: 100%;
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.fcard .fi { width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; margin-bottom: 18px; }
.fcard .fi svg { width: 26px; height: 26px; }
.fcard h3 { margin-bottom: 10px; }
.fcard p { color: var(--muted); font-size: 15px; flex: 1; }
.fcard .link-arrow { margin-top: 16px; font-size: 14px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats-band { background: var(--navy); color: #fff; border-radius: var(--radius-xl); padding: 56px 48px; position: relative; overflow: hidden; }
.stats-band::after { content:""; position:absolute; right:-120px; top:-120px; width:380px; height:380px; border-radius:50%; background: radial-gradient(circle, rgba(27,206,129,.32), transparent 65%); }
.stats-band .sb-top { display: flex; align-items: center; justify-content: space-between; gap: 48px; position: relative; z-index: 1; }
.stats-band .sb-top .sb-head { flex: 1 1 auto; }
.sb-art { flex: none; width: clamp(220px, 34%, 380px); height: auto; filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .4)); }
.stats-band .sb-head { max-width: 560px; position: relative; z-index: 1; }
.stats-band h2 { color: #fff; }
.stats-band .lead { color: #b9c8c2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; position: relative; z-index: 1; }
.stat .num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; color: var(--green); line-height: 1; }
.stat .lab { margin-top: 10px; font-size: 14px; color: #aebdb7; line-height: 1.45; }
.stat .lab b { color: #fff; font-weight: 700; }

/* time-savings comparison rows */
.savings { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 40px; }
.save-row { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; }
.save-row .si { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.save-row .si svg { width: 22px; height: 22px; }
.save-row .st { flex: 1; }
.save-row .st .name { font-weight: 700; color: var(--navy); }
.save-row .st .was { font-size: 13px; color: var(--muted-2); text-decoration: line-through; }
.save-row .now { font-weight: 800; color: var(--green-700); font-size: 20px; white-space: nowrap; }

/* ==========================================================================
   AI agents (coming soon)
   ========================================================================== */
.ai-band {
  background: linear-gradient(135deg, #0c1a22 0%, #13313f 60%, #134e3c 100%);
  color: #fff; border-radius: var(--radius-xl); padding: 64px 56px; overflow: hidden; position: relative;
}
.ai-band::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 20%, rgba(27,206,129,.28), transparent 55%); }
.ai-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.ai-band .eyebrow { background: rgba(27,206,129,.16); border-color: rgba(27,206,129,.3); color: #6fe3b3; }
.ai-band h2 { color: #fff; }
.ai-band .lead { color: #c4d3cd; }
.ai-list { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.ai-list li { display: flex; gap: 13px; align-items: flex-start; }
.ai-list .ck { width: 26px; height: 26px; border-radius: 8px; background: rgba(27,206,129,.2); color: var(--green); display: grid; place-items: center; flex: none; }
.ai-list .ck svg { width: 15px; height: 15px; }
.ai-list b { color: #fff; }
.ai-list span { color: #b6c6c0; font-size: 15px; }

.ai-chat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(6px); }
.ai-chat .ch-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 16px; }
.ai-chat .ch-head .av { width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: var(--navy); display: grid; place-items: center; font-weight: 800; }
.ai-chat .ch-head .nm { font-weight: 700; }
.ai-chat .ch-head .st { font-size: 12px; color: #6fe3b3; }
.bubble { padding: 12px 15px; border-radius: 14px; font-size: 14px; margin-bottom: 12px; max-width: 88%; line-height: 1.5; }
.bubble.user { background: rgba(255,255,255,.12); margin-left: auto; border-bottom-right-radius: 4px; color: #eaf2ef; }
.bubble.bot { background: var(--green); color: var(--navy); border-bottom-left-radius: 4px; font-weight: 500; }
.bubble.bot b { font-weight: 800; }

/* ==========================================================================
   Tabs — property segments
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab {
  font-weight: 700; font-size: 15px; color: var(--navy-700);
  padding: 11px 20px; border-radius: 999px; border: 1px solid var(--border); background: #fff;
  transition: all .18s ease;
}
.tab:hover { border-color: var(--green); }
.tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: none;} }

.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 44px; box-shadow: var(--shadow-sm); }
.panel-grid h3 { font-size: 28px; margin-bottom: 16px; }
.panel-grid p { color: var(--muted); margin-bottom: 22px; }
.panel-list { display: flex; flex-direction: column; gap: 12px; }
.panel-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; }
.panel-list .ck { width: 24px; height: 24px; border-radius: 7px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.panel-list .ck svg { width: 14px; height: 14px; }
.panel-visual { background: var(--bg-soft); border-radius: var(--radius-lg); padding: 28px; min-height: 280px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.pv-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; font-weight: 700; font-size: 14px; color: var(--navy); box-shadow: var(--shadow-sm); }
.pv-pill .pi { width: 30px; height: 30px; border-radius: 8px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; }
.pv-pill .pi svg { width: 16px; height: 16px; }
.pv-pill.off { margin-left: 30px; }
.pv-pill.off2 { margin-left: 60px; }

/* ==========================================================================
   Split feature (mobile / docs)
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-list { margin-top: 26px; display: flex; flex-direction: column; gap: 18px; }
.split-list li { display: flex; gap: 14px; }
.split-list .si { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.split-list .si svg { width: 22px; height: 22px; }
.split-list .st h4 { font-size: 17px; margin-bottom: 3px; }
.split-list .st p { color: var(--muted); font-size: 15px; }

.phone {
  width: 280px; margin-inline: auto; background: var(--navy); border-radius: 38px; padding: 12px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone::before { content:""; position:absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0a161d; border-radius: 999px; z-index: 2; }
.phone-screen { background: linear-gradient(180deg,#f4f9f7,#fff); border-radius: 28px; padding: 44px 16px 20px; min-height: 520px; }
.phone-screen .ph-h { font-weight: 800; font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.phone-screen .ph-s { font-size: 12px; color: var(--muted-2); margin-bottom: 18px; }
.phone-kpi { background: var(--navy); color: #fff; border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.phone-kpi .l { font-size: 12px; color: #9fb1ab; }
.phone-kpi .v { font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: var(--green); }
.phone-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 13px 15px; margin-bottom: 10px; display: flex; align-items: center; gap: 11px; }
.phone-card .pc-i { width: 32px; height: 32px; border-radius: 9px; background: var(--green-50); flex: none; }
.phone-card .pc-t { flex: 1; }
.phone-card .pc-t .t { font-size: 13px; font-weight: 700; color: var(--navy); }
.phone-card .pc-t .s { font-size: 11px; color: var(--muted-2); }
.phone-card .tag { font-size: 10px; }

.split-media.docs { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px; }
.doc-row { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 15px 18px; margin-bottom: 12px; transition: transform .2s ease; }
.doc-row:hover { transform: translateX(6px); }
.doc-row .df { width: 40px; height: 40px; border-radius: 10px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.doc-row .df svg { width: 20px; height: 20px; }
.doc-row .dx { flex: 1; }
.doc-row .dx .t { font-weight: 700; font-size: 14px; color: var(--navy); }
.doc-row .dx .s { font-size: 12px; color: var(--muted-2); }
.doc-row .chip { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--green-50); color: var(--green-700); }

/* ==========================================================================
   Services
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.svc { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .25s ease; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .si { width: 50px; height: 50px; border-radius: 13px; background: var(--navy); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.svc .si svg { width: 24px; height: 24px; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 15px; }

/* ==========================================================================
   Integrations
   ========================================================================== */
.integ { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 8px; }
.integ .pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 12px 20px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-sm); }
.integ .pill .d { width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.quote-band { background: var(--bg-mint); }
.quote-card { max-width: 880px; margin-inline: auto; text-align: center; }
.quote-card .qm { font-size: 60px; line-height: 1; color: var(--green); font-weight: 800; font-family: Georgia, serif; }
.quote-card blockquote { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--navy); letter-spacing: -.01em; line-height: 1.35; margin: 12px 0 28px; }
.quote-author { display: flex; align-items: center; gap: 14px; justify-content: center; }
.quote-author .av { width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--green); display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.quote-author .qa { text-align: left; }
.quote-author .qa .n { font-weight: 800; color: var(--navy); }
.quote-author .qa .r { font-size: 14px; color: var(--muted); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 880px; margin-inline: auto; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; display: flex; flex-direction: column; position: relative; }
.plan.feat { border-color: var(--green); box-shadow: var(--shadow-green); }
.plan .ribbon { position: absolute; top: 22px; right: 22px; background: var(--green); color: var(--navy); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.plan .pn { font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--green-700); }
.plan .pp { margin: 14px 0 6px; }
.plan .pp .amt { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; }
.plan .pp .per { font-size: 15px; color: var(--muted-2); font-weight: 600; }
.plan .pdesc { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan ul li { display: flex; gap: 11px; font-size: 15px; align-items: flex-start; }
.plan ul .ck { width: 22px; height: 22px; border-radius: 6px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; }
.plan ul .ck svg { width: 13px; height: 13px; }
.price-note { text-align: center; color: var(--muted); margin-top: 28px; font-size: 15px; }
.price-note b { color: var(--navy); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 820px; margin-inline: auto; }
.qa-item { border-bottom: 1px solid var(--border); }
.qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding: 24px 4px; font-size: 18px; font-weight: 700; color: var(--navy); }
.qa-q .pm { width: 30px; height: 30px; border-radius: 50%; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; flex: none; transition: transform .25s ease, background .2s ease; }
.qa-q .pm svg { width: 16px; height: 16px; }
.qa-item.open .qa-q .pm { transform: rotate(45deg); background: var(--green); color: var(--navy); }
.qa-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.qa-a p { padding: 0 4px 24px; color: var(--muted); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-final { text-align: center; }
.cta-box { background: var(--navy); border-radius: var(--radius-xl); padding: 72px 40px; position: relative; overflow: hidden; }
.cta-box::before { content:""; position:absolute; bottom:-160px; left:50%; transform:translateX(-50%); width:680px; height:420px; background: radial-gradient(ellipse at center, rgba(27,206,129,.30), transparent 65%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-box .lead { color: #b9c8c2; max-width: 560px; margin-inline: auto; }
.cta-box .hero-cta { margin-top: 30px; }
.cta-box .hero-note { color: #8ea49c; }
.cta-box .hero-note svg { color: var(--green); }

/* ==========================================================================
   SEO block (Pokaż więcej)
   ========================================================================== */
.rz-seo { padding-block: 72px; border-top: 1px solid var(--border); }
.rz-seo .container { max-width: 920px; }
.rz-seo-intro { color: var(--muted); font-size: 15px; margin: 0; }

.rz-seo-details { margin-top: 8px; }
.rz-seo-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 15px; color: var(--green-700);
  padding: 8px 0;
}
.rz-seo-toggle::-webkit-details-marker { display: none; }
.rz-seo-toggle::after {
  content: ""; width: 9px; height: 9px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s ease;
  margin-top: -3px;
}
.rz-seo-details[open] .rz-seo-toggle::after { transform: rotate(-135deg); margin-top: 2px; }
.rz-seo-details[open] .rz-seo-toggle span { opacity: .7; }

.rz-seo-body { margin-top: 18px; }
.rz-seo-body h2 {
  font-size: 19px; line-height: 1.35; font-weight: 800;
  color: var(--ink); margin: 30px 0 10px;
}
.rz-seo-body h2:first-child { margin-top: 6px; }
.rz-seo-body p {
  color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0;
}

@media (max-width: 720px) {
  .rz-seo-body h2 { font-size: 17px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy); color: #aebdb7; padding-top: 72px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 36px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-about p { font-size: 14px; line-height: 1.6; max-width: 280px; }
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-contact a { display: flex; align-items: center; gap: 9px; }
.footer-contact a:hover { color: var(--green); }
.footer-contact svg { width: 16px; height: 16px; color: var(--green); flex: none; }
.footer-col h5 { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; transition: color .15s ease; }
.footer-col a:hover { color: var(--green); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 26px 0; font-size: 13px; color: #7e8f88; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.06); display: grid; place-items: center; transition: background .2s ease; }
.footer-bottom .socials a:hover { background: var(--green); color: var(--navy); }
.footer-bottom .socials svg { width: 18px; height: 18px; }

/* ==========================================================================
   Brand logo + illustrations
   ========================================================================== */
.brand-logo { height: 25px; width: auto; display: block; }
.footer .brand-logo { height: 26px; }

/* AI agents robot + chat */
.ai-visual { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ai-robot { width: 100%; max-width: 360px; filter: drop-shadow(0 22px 42px rgba(0, 0, 0, .4)); }
.ai-visual .ai-chat { width: 100%; max-width: 420px; }

/* property segments illustration */
.seg-art { text-align: center; }
.seg-art img { width: 100%; max-width: 540px; margin: -10px auto 0; }

/* mobile (biuro w kieszeni) illustration */
.mobile-art { display: flex; justify-content: center; }
.mobile-art img { width: 100%; max-width: 430px; filter: drop-shadow(0 26px 46px rgba(16, 33, 43, .14)); }

/* availability / globe illustration */
.globe-art { display: flex; justify-content: center; }
.globe-art img { width: 100%; max-width: 450px; filter: drop-shadow(0 26px 46px rgba(16, 33, 43, .12)); animation: floaty 9s ease-in-out infinite; }

/* CTA mascot */
.cta-mascot { position: absolute; right: 36px; bottom: -6px; width: 132px; z-index: 1; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35)); animation: floaty 7s ease-in-out infinite; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 1000px) {
  .app-body { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-menu, .nav-signin { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
  .nav.open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2){ opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

  .mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0 0; background: #fff; z-index: 99;
    padding: 24px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
    display: flex; flex-direction: column; gap: 6px;
  }
  .nav.open ~ .mobile-menu { transform: none; }
  .mobile-menu a { font-size: 18px; font-weight: 700; color: var(--navy); padding: 14px 8px; border-bottom: 1px solid var(--border-2); display: flex; align-items: center; gap: 10px; }
  .mobile-menu a.mm-sub { font-size: 15px; font-weight: 600; color: var(--navy-700); padding: 10px 8px 10px 22px; }
  .mobile-menu .mm-actions { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
  .mobile-menu .mm-actions a { border: none; justify-content: center; }

  .grid-cards, .svc-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .savings, .price-grid { grid-template-columns: 1fr; }
  .ai-grid, .split, .panel-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.rev .split-media { order: 0; }

  .hero-top { grid-template-columns: 1fr; text-align: center; gap: 8px; }
  .hero-copy .hero-cta, .hero-copy .hero-note { justify-content: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-art img { max-width: 320px; }
  .ai-robot { max-width: 290px; }
  .cta-mascot { display: none; }
  .section { padding-block: 70px; }
  .stats-band, .ai-band, .cta-box { padding: 40px 26px; }
  .stats-band .sb-top { flex-direction: column; align-items: flex-start; gap: 28px; }
  .sb-art { width: min(280px, 70%); align-self: center; }
  .float-chip { display: none; }
}

@media (min-width: 901px) { .mobile-menu { display: none; } }

@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr; }
  .app-cols { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; }
  .panel-grid { padding: 26px; }
}

/* ==========================================================================
   Blog — najnowsze wpisy (strona główna)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.bcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-100); }
.bcard-media { display: block; aspect-ratio: 16 / 10; background: var(--bg-mint); overflow: hidden; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bcard:hover .bcard-media img { transform: scale(1.04); }
.bcard-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--green-50), var(--bg-mint)); }
.bcard-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.bcard-meta { font-size: 13px; font-weight: 600; color: var(--muted-2); }
.bcard-body h3 { font-size: 19px; line-height: 1.3; }
.bcard-body h3 a { color: var(--navy); transition: color .15s ease; }
.bcard-body h3 a:hover { color: var(--green-700); }
.bcard-body p { font-size: 15px; color: var(--muted); line-height: 1.55; }
.bcard-body .link-arrow { margin-top: auto; padding-top: 6px; }
.blog-more { text-align: center; margin-top: 40px; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Kalkulator cennika przeniesiony do pluginu „rezone — Kalkulator cennika"
   (assets/calc.css, klasa .rz-calc). Jedno źródło dla strony głównej i /cennik. */
