/* ============================================================
   Kilometra.pl — Landing redesign (additive styles)
   Loaded AFTER landing.css. New sections + overrides per audit.
   ============================================================ */

/* ---------- Header: extra nav + dropdown ---------- */
.nav .has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 10px; width: 300px;
  opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.nav .has-menu:hover .menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.menu a {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 12px; border-radius: var(--r-md);
  transition: background .14s ease;
}
.menu a:hover { background: var(--bg-alt); }
.menu .mi-ic { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.menu .mi-ic.grn { background: var(--green-50); color: var(--green); }
.menu .mi-ic .svg { width: 18px; height: 18px; }
.menu .mi-t { font-size: 15px; font-weight: 700; color: var(--ink); }
.menu .mi-s { font-size: 12.5px; color: var(--body-light); margin-top: 2px; line-height: 1.35; font-weight: 500; }

/* ---------- Hero: two-column ---------- */
.hero.hero2 { text-align: left; padding: 64px 0 84px; }
.hero2 .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 68px; align-items: center; }
.hero2 h1 { font-size: 60px; margin: 22px 0 20px; max-width: none; }
.hero2 .hero-sub { margin: 0 0 26px; max-width: 520px; font-size: 19px; }
.hero-benefits { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.hero-benefits li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 600; color: var(--ink-soft); }
.hero-benefits .chk { width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.hero-benefits .chk .svg { width: 15px; height: 15px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.btn-ghost:hover { transform: translateY(-1px); border-color: #D4DCE8; }
.hero-trust { margin-top: 22px; font-size: 13.5px; color: var(--body-light); display: flex; align-items: center; gap: 9px; }
.hero-trust .svg { width: 16px; height: 16px; color: var(--green); }
.calc.calc2 { margin: 0; max-width: 480px; }
.calc-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 16px; }
.calc-tag .svg { width: 15px; height: 15px; }

/* ---------- Generic section header (left aligned) ---------- */
.shead { max-width: 720px; }
.shead.center { margin: 0 auto; }
.shead .h2 { font-size: 44px; }
.shead .lead { font-size: 19px; }

/* ---------- Jak to działa — steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 28px 26px; box-shadow: var(--shadow-soft); position: relative; display: flex; flex-direction: column;
}
.step-n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.step-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin: 16px 0 18px; }
.step-ic .svg { width: 24px; height: 24px; }
.step h3 { font-size: 19px; line-height: 1.2; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--body); line-height: 1.5; }
.step .arr { position: absolute; right: -16px; top: 64px; width: 24px; height: 24px; color: #C5D0E0; display: grid; place-items: center; z-index: 2; }
.step .arr .svg { width: 22px; height: 22px; }
.steps-foot { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.steps-outcome { display: inline-flex; align-items: center; gap: 10px; background: var(--green-50); color: var(--green); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; font-weight: 700; }
.steps-outcome .svg { width: 17px; height: 17px; }

/* ---------- Product proof ---------- */
.proof { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; margin-top: 56px; }
.proof-col { display: flex; flex-direction: column; gap: 24px; }
.proof-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column;
}
.proof-card .pc-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line-soft); }
.proof-card .pc-dots { display: flex; gap: 6px; }
.proof-card .pc-dots i { width: 11px; height: 11px; border-radius: 50%; background: #DCE3EE; }
.proof-card .pc-dots i:nth-child(1) { background: #F0B9B0; }
.proof-card .pc-dots i:nth-child(2) { background: #F2D9A6; }
.proof-card .pc-dots i:nth-child(3) { background: #B6D9B9; }
.proof-card .pc-title { font-size: 13px; font-weight: 700; color: var(--body); margin-left: 4px; }
.proof-card .pc-tag { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--body-light); }
.proof-card .pc-body { padding: 22px; flex: 1; }
.proof-cap { padding: 0 4px; }
.proof-cap h3 { font-size: 18px; margin-bottom: 4px; }
.proof-cap p { font-size: 13.5px; color: var(--body-light); }

/* PDF report mock */
.pdfdoc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: 0 18px 40px -26px rgba(17,26,46,.3); }
.pdf-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.pdf-top .pt-h { font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.pdf-top .pt-s { font-size: 11px; color: var(--body-light); margin-top: 3px; font-family: var(--mono); }
.pdf-top .pt-badge { font-size: 10px; font-weight: 800; color: var(--green); border: 1.5px solid var(--green); border-radius: 6px; padding: 4px 8px; letter-spacing: .04em; }
.pdf-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 14px 0; }
.pdf-meta div { font-size: 11.5px; color: var(--body); }
.pdf-meta b { color: var(--ink); }
.pdf-table { width: 100%; border-collapse: collapse; }
.pdf-table th { font-size: 9.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--body-light); text-align: left; padding: 6px 6px; border-bottom: 1px solid var(--line); font-weight: 700; }
.pdf-table td { font-size: 11px; color: var(--ink-soft); padding: 7px 6px; border-bottom: 1px solid var(--line-soft); }
.pdf-table td.num { font-family: var(--mono); text-align: right; }
.pdf-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--ink); }
.pdf-foot .pf-l { font-size: 11px; font-weight: 700; color: var(--body); }
.pdf-foot .pf-v { font-family: var(--mono); font-size: 15px; font-weight: 800; color: var(--ink); }

/* dashboard mini */
.dashmini { display: flex; flex-direction: column; gap: 12px; }
.dm-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.dm-stat { background: #F5F8FC; border-radius: 12px; padding: 13px 14px; }
.dm-stat .l { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--body-light); }
.dm-stat .v { font-size: 20px; font-weight: 800; color: var(--ink); margin-top: 4px; letter-spacing: -.02em; }
.dm-stat .v small { font-size: 12px; font-weight: 600; color: var(--body-light); }
.dm-chart { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; align-items: end; height: 96px; padding-top: 6px; }
.dm-chart .c { background: #E4EBF4; border-radius: 6px 6px 0 0; }
.dm-chart .c.on { background: var(--blue); }

/* ---------- Persona split ---------- */
.persona-compact .pcard p { margin-bottom: 18px; }
.persona-compact .flist { margin-bottom: 24px; }

/* ---------- Raport deliverable / checklist ---------- */
.checklist { display: flex; flex-direction: column; gap: 0; }
.cl-row { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line-soft); }
.cl-row:last-child { border-bottom: none; }
.cl-ic { width: 28px; height: 28px; border-radius: 50%; flex: 0 0 28px; display: grid; place-items: center; }
.cl-ic.ok { background: var(--green-50); color: var(--green); }
.cl-ic.warn { background: var(--amber-50); color: var(--amber); }
.cl-ic.info { background: var(--blue-50); color: var(--blue); }
.cl-ic .svg { width: 16px; height: 16px; }
.cl-row .cl-t { flex: 1; font-size: 15.5px; font-weight: 600; color: var(--ink-soft); }
.cl-row .cl-v { font-family: var(--mono); font-size: 12.5px; font-weight: 700; }
.cl-v.ok { color: var(--green); }
.cl-v.warn { color: var(--amber); }
.cl-v.info { color: var(--blue); }

/* ---------- Comparison: Excel vs Kilometra ---------- */
.compare { margin-top: 56px; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-card); background: #fff; }
.cmp-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: stretch; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line-soft); }
.cmp-head .cmp-cell { padding: 22px 26px; }
.cmp-cell { padding: 18px 26px; display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.cmp-cell.feat-cell { font-weight: 700; color: var(--ink); }
.cmp-cell.excel { color: var(--body); background: #FAFBFD; }
.cmp-cell.km { background: var(--blue-50); color: var(--ink-soft); font-weight: 600; position: relative; }
.cmp-head .excel { color: var(--body-light); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.cmp-head .km { color: var(--blue-600); font-weight: 800; font-size: 15px; }
.cmp-head .feat-cell { color: var(--body-light); font-weight: 800; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.cmp-head .km .kmlogo { display: inline-flex; align-items: center; }
.cmp-x, .cmp-c { width: 22px; height: 22px; border-radius: 50%; flex: 0 0 22px; display: grid; place-items: center; }
.cmp-x { background: #FCE9E7; color: #D6492E; }
.cmp-c { background: var(--green); color: #fff; }
.cmp-x .svg, .cmp-c .svg { width: 13px; height: 13px; }

/* ---------- Pricing teaser ---------- */
.pteaser .pt-band {
  background: linear-gradient(135deg, #0B1326 0%, #11203B 100%);
  border-radius: 32px; padding: 60px 64px; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.pteaser .pt-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 130% at 0% 0%, rgba(37,99,235,.30) 0%, transparent 55%);
}
.pteaser .pt-l { position: relative; z-index: 1; }
.pteaser .pt-l .eyebrow { color: #6FA0FF; }
.pteaser h2 { color: #fff; font-size: 42px; line-height: 1.08; }
.pteaser h2 .amt { color: #6FA0FF; }
.pteaser .pt-sub { color: #9DA9C2; font-size: 18px; margin: 18px 0 28px; max-width: 440px; }
.pt-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); background: #F0F3F8; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-outline-light:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.5); }
.pt-card { position: relative; z-index: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-xl); padding: 28px; }
.pt-plan { display: flex; align-items: baseline; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.pt-plan:last-child { border-bottom: none; }
.pt-plan .pn { color: #C7D0E0; font-size: 15px; font-weight: 700; }
.pt-plan .pn small { display: block; color: #6E7A95; font-size: 12px; font-weight: 500; margin-top: 1px; }
.pt-plan .pp { font-family: var(--mono); color: #fff; font-size: 16px; font-weight: 800; }
.pt-plan .pp small { color: #8893AC; font-size: 11px; font-weight: 500; }

/* ---------- FAQ ---------- */
.faqlist { max-width: 820px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; transition: box-shadow .16s ease, border-color .16s ease; }
.faq-item[open] { box-shadow: var(--shadow-soft); border-color: #D8E0EC; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px; font-size: 17.5px; font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .svg { width: 22px; height: 22px; color: var(--body-light); flex: 0 0 22px; transition: transform .2s ease; }
.faq-item[open] summary .svg { transform: rotate(180deg); color: var(--blue); }
.faq-body { padding: 0 26px 24px; font-size: 16px; color: var(--body); line-height: 1.6; max-width: 660px; }

/* ---------- Final CTA ---------- */
.finalcta { padding: 0 0 96px; }
.finalcta-in {
  background: radial-gradient(120% 130% at 100% 0%, rgba(37,99,235,.16) 0%, transparent 55%), linear-gradient(180deg, #F4F8FE, #EAF1FB);
  border: 1px solid var(--line); border-radius: 32px; padding: 64px 64px; text-align: center;
}
.finalcta h2 { font-size: 46px; line-height: 1.08; max-width: 720px; margin: 0 auto 18px; }
.finalcta p { font-size: 19px; color: var(--body); max-width: 560px; margin: 0 auto 32px; }
.finalcta .fc-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.finalcta .fc-note { margin-top: 20px; font-size: 13.5px; color: var(--body-light); display: inline-flex; align-items: center; gap: 8px; }
.finalcta .fc-note .svg { width: 16px; height: 16px; color: var(--green); }

/* ---------- Mobile app: softened to "w przygotowaniu" ---------- */
.appband .roadmap-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); color: #9DB6FF; border-radius: 999px;
  padding: 7px 15px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 22px;
}
.appband .roadmap-pill .svg { width: 15px; height: 15px; }
.appband .app-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 12px 18px;
  display: none; align-items: center; gap: 12px;
  transform: translateY(110%); transition: transform .28s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .sc-t { flex: 1; min-width: 0; }
.sticky-cta .sc-t .a { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.15; }
.sticky-cta .sc-t .b { font-size: 12px; color: var(--body-light); }
.sticky-cta .btn { padding: 12px 20px; }

/* ---------- Footer tweaks ---------- */
.foot-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 6px; }

/* ============================ Responsive ============================ */
@media (max-width: 1080px) {
  .proof { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step .arr { display: none; }
}
@media (max-width: 980px) {
  .hero2 .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero.hero2 { text-align: left; }
  .hero2 h1 { font-size: 46px; }
  .calc.calc2 { max-width: 100%; }
  .pteaser .pt-band, .finalcta-in { grid-template-columns: 1fr; padding: 44px 32px; }
  .pteaser .pt-band { gap: 32px; }
  .cmp-row { grid-template-columns: 1.2fr .8fr .8fr; }
  .cmp-cell { padding: 14px 16px; font-size: 14px; gap: 9px; }
  .cmp-head .cmp-cell { padding: 16px; }
  .sticky-cta { display: flex; }
  .finalcta h2 { font-size: 34px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .dm-stats { grid-template-columns: 1fr 1fr; }
  .hero2 h1 { font-size: 36px; }
  .pteaser h2, .finalcta h2 { font-size: 30px; }
  .cmp-head .feat-cell { font-size: 11px; }
  .cmp-cell.feat-cell { font-size: 13px; }
  .faq-item summary { font-size: 15.5px; padding: 18px 20px; }
}
