/* ============================================================
   Jowita Goldzik — Bonusy bankowe
   Light, clean, monazo-inspired. Inter throughout.
   ============================================================ */

:root {
  /* palette — dark theme, cyan accent */
  --bg:           #0a0c10;
  --bg-soft:      #11141a;
  --bg-card:      #161a22;
  --line:        rgba(255,255,255,.07);
  --line-strong: rgba(255,255,255,.14);

  --ink:         #e8eef0;
  --ink-2:       #b8c0c5;
  --ink-3:       #828a90;
  --ink-4:       #5d6469;

  --accent:      #22d3ee;
  --accent-d:    #06b6d4;
  --accent-2:    rgba(34, 211, 238, .10);
  --accent-3:    rgba(34, 211, 238, .28);

  --dark:        #06080b;
  --dark-2:      #0d1015;

  --warn:        #fbbf24;
  --warn-bg:     rgba(251, 191, 36, .10);

  --radius:      14px;
  --radius-sm:   10px;
  --shadow:      0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.35);
  --shadow-lg:   0 10px 36px rgba(0,0,0,.5);

  --max:         1180px;
  --gap:         24px;

  --font:        'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.025em; }
h2 { font-size: clamp(26px, 3.5vw, 34px); }
h3 { font-size: 19px; font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-3); }

p { margin: 0 0 12px; color: var(--ink-2); }
strong { font-weight: 600; color: var(--ink); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- shared ---------- */

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section {
  padding: 72px 0;
}
.section--soft {
  background: var(--bg-soft);
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.section__head--left {
  text-align: left;
  margin: 0 0 32px;
}
.section__head h2 { margin-bottom: 12px; }
.section__sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #06121a;
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(34,211,238,.25), 0 6px 18px rgba(34,211,238,.18);
}
.btn--primary:hover { background: var(--accent-d); color: #06121a; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink-3); }

.btn--sm  { padding: 9px 16px; font-size: 14px; border-radius: 8px; }
.btn--lg  { padding: 16px 28px; font-size: 16px; }

/* ---------- topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,12,16,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-size: 15px; font-weight: 700; }
.brand__tagline { font-size: 12px; font-weight: 500; color: var(--ink-3); }

.nav {
  display: flex;
  gap: 4px;
}
.nav a {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
}
.nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 8px 24px 16px;
}
.mobile-menu[hidden] { display: none !important; }
.mobile-menu a {
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ---------- hero ---------- */

.hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(34,211,238,.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 90%, rgba(34,211,238,.05), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 18px;
  max-width: 580px;
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 540px;
  line-height: 1.55;
}
.hero__cta {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.hero__bullets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__bullets svg {
  width: 18px; height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}
.hero__art img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

/* ---------- stats ---------- */

.stats {
  padding: 28px 0;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat__num {
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat__lab {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 4px;
}

/* ---------- offers grid ---------- */

.offers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.offers__loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--ink-3);
}
.offers__note {
  margin-top: 32px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover {
  border-color: var(--accent-3);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.card__chip {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.card__bank {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.card__product {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.card__diff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-3);
  font-weight: 500;
}
.diff-bars {
  display: inline-flex;
  gap: 3px;
}
.diff-bars span {
  width: 4px;
  height: 12px;
  background: var(--line);
  border-radius: 2px;
}
.diff-bars span.on { background: var(--accent); }
.diff-bars.warn span.on { background: var(--warn); }

.card__bonus {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 4px 0 2px;
}
.card__bonus .zl {
  font-size: 22px;
  font-weight: 600;
  margin-left: 4px;
  color: var(--accent);
}

.card__meta {
  display: grid;
  gap: 8px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.card__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}
.card__row dt {
  color: var(--ink-3);
  flex-shrink: 0;
  min-width: 110px;
  font-weight: 500;
}
.card__row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
}

.card__cta {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.card__cta .btn { flex: 1; }
.card__cta .btn--ghost { flex: 0 1 auto; padding-left: 16px; padding-right: 16px; }

.card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-4);
}
.card__direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}
.card__direct svg { width: 14px; height: 14px; }

/* ---------- how it works ---------- */

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.step__num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-2);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: 15px; }

.step--accent {
  background: linear-gradient(180deg, rgba(34,211,238,.07), var(--bg-card));
  border-color: var(--accent-3);
}
.step--accent .step__num {
  background: var(--accent);
  color: #fff;
}

/* ---------- about ---------- */

.about__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: center;
}
.about__photo {
  text-align: center;
}
.about__photo img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  margin: 0 auto 18px;
  box-shadow: var(--shadow-lg);
}
.about__badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.badge-soft {
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.about__copy h2 { margin-bottom: 18px; }
.about__copy p { font-size: 16px; line-height: 1.65; }
.about__factbox {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--accent-2);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.about__factbox strong { color: var(--accent); }

/* ---------- testimonials ---------- */

.testi__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.testi__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin: 0;
}
.testi__stars {
  font-size: 16px;
  color: #fbbf24;
  letter-spacing: 3px;
  margin-bottom: 14px;
  line-height: 1;
  font-family: 'Segoe UI Symbol', 'Apple Color Emoji', sans-serif;
}
.testi__star-off {
  color: rgba(251, 191, 36, .25);
}
.testi__card blockquote {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.testi__card figcaption {
  font-size: 13px;
  color: var(--ink-3);
}
.testi__card figcaption strong {
  color: var(--ink);
  margin-right: 4px;
}

/* ---------- faq ---------- */

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 50px 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1;
  transition: transform .2s ease;
}
.faq__item[open] summary::after {
  content: "−";
}
.faq__body {
  padding: 0 22px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- final cta ---------- */

.finalcta {
  background: var(--dark);
  color: #f4f6f5;
  padding: 64px 0;
}
.finalcta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.finalcta h2 { color: #fff; margin-bottom: 12px; }
.finalcta p { color: #b6c0bb; font-size: 17px; margin-bottom: 24px; }

/* ---------- footer ---------- */

.footer {
  background: var(--dark);
  color: #b6c0bb;
  padding: 56px 0 24px;
  font-size: 14px;
}
.footer .brand__mark { background: var(--accent); }
.footer .brand__name { color: #fff; }
.footer .brand__tagline { color: #8a9692; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__about {
  margin-top: 14px;
  color: #8a9692;
  max-width: 320px;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  color: #fff;
  margin-bottom: 14px;
}
.footer__cols a {
  display: block;
  color: #b6c0bb;
  padding: 5px 0;
}
.footer__cols a:hover { color: #fff; text-decoration: none; }

.footer__legal {
  padding-top: 28px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8a9692;
}
.footer__legal p { color: #8a9692; margin-bottom: 12px; }
.footer__legal strong { color: #d8ddda; }
.footer__copy {
  margin-top: 16px;
  font-size: 12px;
  color: #6b746f;
}

/* ---------- modal ---------- */

.modal {
  border: 1px solid var(--line-strong);
  padding: 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--ink);
  max-width: 560px;
  width: 92%;
  max-height: 88vh;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.modal::backdrop {
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(3px);
}
.modal__close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink-3);
  width: 36px; height: 36px;
  border-radius: 8px;
}
.modal__close:hover { background: var(--bg-soft); color: var(--ink); }
.modal__content {
  padding: 32px 28px 28px;
  overflow-y: auto;
  max-height: 88vh;
}
.modal h3 { margin-bottom: 10px; font-size: 22px; }
.modal .modal__bank {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
  display: block;
}
.modal .modal__bonus {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin: 12px 0 20px;
}
.modal h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 20px 0 10px;
}
.modal__list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}
.modal__list li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.modal__list li:last-child { border-bottom: none; }
.modal__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--accent-2);
  border-radius: 4px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-d) 50%), linear-gradient(135deg, var(--accent-d) 50%, transparent 50%);
  background-size: 8px 2px, 8px 2px;
  background-position: 2px 6px, 4px 6px;
  background-repeat: no-repeat;
}
.modal__warn {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--warn-bg);
  border-left: 3px solid var(--warn);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.modal__warn strong { color: var(--warn); }
.modal__cta {
  margin-top: 22px;
  display: flex;
  gap: 10px;
}
.modal__cta .btn { flex: 1; }
.modal__direct {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
  line-height: 1.5;
}

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .section { padding: 56px 0; }
  .hero { padding: 48px 0; }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__art { order: -1; max-width: 480px; margin: 0 auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .offers__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .about__copy { text-align: left; }
  .about__factbox { text-align: left; }
  .testi__grid { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 720px) {
  .nav, .topbar__cta { display: none; }
  .nav__toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }

  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  .lead { font-size: 16px; }
  .section__sub { font-size: 15px; }

  .section { padding: 48px 0; }

  .offers__grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 20px; }
  .card__bonus { font-size: 32px; }

  .footer__cols { grid-template-columns: 1fr; gap: 16px; }
  .stat__num { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
