/* ===== Mama Offline – style ===== */
:root {
  --bg: #FFFFFF;          /* białe tło kolumny */
  --bg-side: #EAF1FB;     /* jasnoniebieskie tło po bokach */
  --surface: #FFFFFF;
  --tint: #F1F6FD;        /* jasny błękit – sekcje naprzemienne */
  --brand: #4A7FD6;
  --brand-dark: #1E4FA8;  /* tekst/akcenty (AA na białym) */
  --brand-light: #DBE8FB;
  --cta: #1D4ED8;         /* mocny niebieski – przyciski CTA */
  --cta-hover: #1E3A8A;
  --text: #15213A;        /* granatowy grafit */
  --muted: #5B6478;
  --line: #DCE5F2;
  /* kolory wykresów */
  --c-yellow: #F4B400;
  --c-blue: #2563EB;
  --c-red: #E53935;
  --c-ink: #15213A;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 35, 75, .08);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 740px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-side);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
main, .footer { background: var(--bg); max-width: 920px; margin: 0 auto; }
main { box-shadow: 0 0 60px rgba(15, 35, 75, .05); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible, input:focus-visible + .bump-box {
  outline: 3px solid var(--brand-dark); outline-offset: 3px; border-radius: 6px;
}
p { margin: 0 0 1em; }

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

/* ----- typografia ----- */
.h2, .h3, .hero-title, .cta-title, .stat-num, .expert-name {
  font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
}
.h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); margin: 0 0 .6em; }
.h3 { font-size: 1.3rem; margin: 0 0 .5em; }
.eyebrow {
  display: inline-block; margin: 0 0 .7em;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-dark); background: var(--brand-light); padding: .25em .8em; border-radius: 99px;
}
.lead { font-size: 1.08rem; color: var(--muted); }
.center { text-align: center; }

/* ----- sekcje ----- */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }

/* ----- hero ----- */
.hero { padding: 40px 0 56px; text-align: center; }
.hero-title { font-size: clamp(2rem, 7.5vw, 3.4rem); margin: 0 0 .35em; }
.hero-title .accent { color: var(--brand-dark); }
.hero-title .accent, .hero-title .dash { white-space: nowrap; }
.hero-sub { font-size: clamp(1.05rem, 3.6vw, 1.25rem); color: var(--muted); max-width: 34em; margin: 0 auto 28px; }

.video {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(135deg, #DBE8FB, #F1F6FD);
}
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center; color: var(--brand-dark); font-weight: 500;
}

/* ----- CTA (wspólny komponent) ----- */
.cta { margin-top: 32px; }
.cta-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px 20px 22px; text-align: center;
}
.cta-title { font-size: 1.5rem; margin: 0 0 .4em; }
.cta-includes { color: var(--muted); margin: 0 0 .6em; }
.cta-price { margin: 0 0 1em; font-size: 1rem; }
.cta-price-now { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: var(--text); }
.cta-price-regular { color: var(--muted); font-size: 1.15rem; margin-right: .4em; }

.bump {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; cursor: pointer;
  background: #F3F7FE; border: 2px dashed #9DBBEB; border-radius: 12px;
  padding: 12px 14px; margin: 0 0 16px; font-size: .95rem; line-height: 1.45;
}
.bump-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bump-box {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid var(--brand-dark); border-radius: 6px; background: #fff; position: relative;
}
.bump-input:checked + .bump-box { background: var(--brand-dark); }
.bump-input:checked + .bump-box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

.btn {
  display: flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 14px 28px; border-radius: 14px; border: 0;
  font: 700 1.1rem/1.2 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s;
}
.btn-buy { background: var(--cta); color: #fff; width: 100%; box-shadow: 0 6px 18px rgba(29, 78, 216, .28); }
.btn-buy:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 1rem; text-decoration: underline; }

.cta-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px;
  margin: 14px 0 0; font-size: .85rem; color: var(--muted);
}
.cta-trust span::before { content: "✓ "; color: var(--brand-dark); font-weight: 700; }

@media (min-width: 600px) {
  .cta-card { padding: 36px 40px 28px; }
  .btn-buy { width: auto; min-width: 320px; margin: 0 auto; display: inline-flex; }
}

@media (prefers-reduced-motion: no-preference) {
  .cta-card .btn-buy { animation: pulse 2.8s ease-in-out infinite; }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(29, 78, 216, .28), 0 0 0 0 rgba(29, 78, 216, .35); }
    50%      { box-shadow: 0 6px 18px rgba(29, 78, 216, .28), 0 0 0 10px rgba(29, 78, 216, 0); }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ----- problem ----- */
.problems { list-style: none; padding: 0; margin: 8px 0 28px; display: grid; gap: 12px; }
.problems li {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.ico {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--brand-light);
  display: grid; place-items: center;
}
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--brand-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 640px) { .problems { grid-template-columns: 1fr 1fr; } }

/* ----- badania ----- */
.stats { display: grid; gap: 16px; margin-top: 8px; }
.stat {
  background: var(--surface); border-radius: var(--radius); padding: 24px 20px 18px;
  border: 1px solid var(--line); border-top: 4px solid var(--brand);
}
.stat-key { border-top-color: var(--brand-dark); background: #F8FBFF; }
.stat-num { font-size: clamp(2rem, 8vw, 2.6rem); color: var(--brand-dark); margin: 0 0 .25em; }
.stat-text { margin-bottom: .7em; }
.stat-note { font-size: .95rem; background: var(--tint); border-radius: 10px; padding: 10px 12px; }
.source { font-size: .82rem; color: var(--muted); line-height: 1.5; margin: 0; }
.stat .source { border-top: 1px solid var(--line); padding-top: 10px; }
.source a { color: var(--brand-dark); font-weight: 500; white-space: nowrap; }

/* ----- wykresy / tabele ----- */
.chart-box, .table-box {
  margin: 0 0 24px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 16px 16px;
}
.chart-title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin: 0 0 12px; line-height: 1.3; }
.chart-canvas { position: relative; height: 280px; margin-bottom: 12px; }
.chart-canvas-short { height: 180px; }
.table-scroll { overflow-x: auto; margin-bottom: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-dark); background: var(--tint); }
.table td:first-child { font-weight: 700; white-space: nowrap; }
.table .num { text-align: right; white-space: nowrap; }
.table-value tfoot th, .table-value tfoot td { font-weight: 700; border-bottom: 0; }
.table-value tfoot tr:first-child td { text-decoration: line-through; text-decoration-color: #B3261E; color: var(--muted); }
.table-value .row-price th, .table-value .row-price td { color: var(--cta); font-size: 1.15rem; font-family: var(--font-head); }
.table-value tbody td:first-child { white-space: normal; font-weight: 500; }
@media (max-width: 480px) {
  .table { font-size: .88rem; }
  .table th, .table td { padding: 8px 6px; }
  .table td:first-child { white-space: normal; }
}

/* ----- eksperci ----- */
.experts { display: grid; gap: 14px; }
.expert {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px;
}
.avatar {
  flex: 0 0 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-dark); color: #fff; font-weight: 700; letter-spacing: .04em;
}
.expert-name { font-size: 1.15rem; margin: 0; }
.expert-role { font-size: .88rem; color: var(--muted); margin: 0 0 .6em; }
.expert-text { margin-bottom: .6em; }
.disclaimer-small { font-size: .82rem; color: var(--muted); text-align: center; margin: 20px 0 0; font-style: italic; }

/* ----- produkt ----- */
.product { display: grid; gap: 20px; align-items: center; margin: 32px 0; }
.product img { border-radius: var(--radius); box-shadow: var(--shadow); background: var(--tint); }
@media (min-width: 680px) {
  .product { grid-template-columns: 1fr 1.1fr; gap: 32px; }
  .product-rev img { order: 2; }
}
.list { padding-left: 1.3em; margin: 0; }
.list li { margin-bottom: .4em; }
.list-check, .list-x { list-style: none; padding-left: 0; }
.list-check li, .list-x li { position: relative; padding-left: 1.8em; }
.list-check li::before, .list-x li::before {
  position: absolute; left: 0; top: .05em; font-weight: 700;
  width: 1.3em; height: 1.3em; border-radius: 50%; display: grid; place-items: center; font-size: .85em;
}
.list-check li::before { content: "✓"; color: #fff; background: var(--brand-dark); }
.list-x li::before { content: "✕"; color: var(--muted); background: var(--line); }

/* ----- dla kogo ----- */
.fit { display: grid; gap: 16px; }
.fit-col { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; border: 1px solid var(--line); }
.fit-yes { border-top: 4px solid var(--brand-dark); }
.fit-no { border-top: 4px solid var(--line); }
@media (min-width: 680px) { .fit { grid-template-columns: 1fr 1fr; } }

/* ----- o Ani ----- */
.about { display: grid; gap: 24px; align-items: center; }
.about-img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; object-position: 50% 28%; margin: 0 auto; box-shadow: var(--shadow); }
@media (min-width: 680px) { .about { grid-template-columns: 240px 1fr; } }

/* ----- FAQ ----- */
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--brand-dark);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--muted); }

/* ----- gwarancja ----- */
.guarantee {
  display: flex; gap: 16px; align-items: flex-start; color: var(--brand-dark);
  background: var(--tint); border-radius: var(--radius); padding: 20px; margin-bottom: 8px;
}
.guarantee svg { flex: 0 0 48px; }
.guarantee p { color: var(--text); margin: 0; }

/* ----- stopka ----- */
.footer { padding: 40px 0 110px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); text-align: center; }
.footer-disclaimer { max-width: 36em; margin: 0 auto 16px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 12px; }
.footer-links a { color: var(--muted); }
@media (min-width: 768px) { .footer { padding-bottom: 40px; } }

/* ----- sticky CTA (mobile) ----- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; }
.sticky-price { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .9; }
@media (min-width: 768px) { .sticky-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* ----- strony lejka (upsell / downsell / dziękuję) ----- */
.funnel { min-height: 100vh; padding: 40px 0 60px; text-align: center; }
.funnel .h2 { margin-top: .4em; }
.funnel-card { text-align: left; margin: 28px 0; }
.funnel-actions { display: grid; gap: 10px; margin-top: 20px; }
.steps { text-align: left; counter-reset: s; list-style: none; padding: 0; margin: 24px 0; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-dark); color: #fff; display: grid; place-items: center; font-weight: 700; }
.progress { font-size: .85rem; color: var(--brand-dark); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.noscript { text-align: center; padding: 16px; background: #fff3cd; margin: 0; }

/* ----- promocja + timer ----- */
.promo-timer {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
  margin: 4px auto 12px; padding: 8px 14px; border-radius: 12px;
  background: #FFF4F3; border: 1px solid #F6C9C5; color: #B3261E; font-size: .92rem; font-weight: 500;
}
.promo-timer[hidden] { display: none; }
.promo-time {
  font-variant-numeric: tabular-nums; font-size: 1.25rem; font-weight: 700;
  background: #B3261E; color: #fff; border-radius: 8px; padding: 2px 10px; letter-spacing: .04em;
}
.cta-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.cta-price-regular { text-decoration-color: #B3261E; text-decoration-thickness: 2px; }
.cta-badge {
  background: var(--c-yellow); color: var(--c-ink); font-weight: 700; font-size: .9rem;
  border-radius: 99px; padding: 3px 10px;
}
.cta-badge[hidden], .cta-price-regular[hidden] { display: none; }

/* ----- produkty: tagi i bonusy ----- */
.tag {
  display: inline-block; margin-bottom: 8px; padding: 3px 10px; border-radius: 99px;
  background: var(--brand-light); color: var(--brand-dark); font-size: .8rem; font-weight: 700;
}
.tag-bonus { background: #FFF3CC; color: #7A5600; }
.bonuses { display: grid; gap: 14px; margin: 8px 0 32px; }
.bonus {
  background: var(--surface); border: 2px dashed #F2D27A; border-radius: var(--radius); padding: 20px 18px;
}
.bonus p { margin: 0; color: var(--muted); }
@media (min-width: 680px) { .bonuses { grid-template-columns: 1fr 1fr; } }

/* ----- pobieranie plików (dziekuje.html) ----- */
.downloads { text-align: left; margin: 24px 0 8px; }
.dl-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 10px; margin-bottom: 14px; }
.dl-group .h3 { font-size: 1.1rem; margin-bottom: 12px; }
.dl-btn {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px;
  border-radius: 12px; background: var(--tint); color: var(--text); text-decoration: none; font-weight: 500; line-height: 1.35;
}
a.dl-btn:hover { background: var(--brand-light); }
.dl-ico {
  flex: 0 0 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cta); color: #fff; font-weight: 700;
}
.dl-btn.is-off { opacity: .7; }
.dl-btn.is-off .dl-ico { background: var(--muted); }
.dl-label small { display: block; color: var(--muted); font-weight: 400; font-size: .8rem; }

/* ----- strony prawne ----- */
.legal { padding: 32px 0 56px; }
.legal .wrap { max-width: 760px; }
.legal .h3 { margin-top: 1.8em; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal-back { font-size: .9rem; margin-bottom: 18px; }
.legal-meta { color: var(--muted); font-size: .9rem; }
.legal-muted { color: var(--muted); font-size: .93rem; }
.seller { background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin: 10px 0 16px; font-size: .95rem; }
.seller p { margin: 0; }
.seller-note { margin-top: 10px !important; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

/* ----- baner cookies ----- */
.cookie-banner {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 100; max-width: 560px; margin: 0 auto;
  background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 35, 75, .2); padding: 16px 18px; font-size: .9rem; line-height: 1.5;
}
.cookie-banner p { margin: 0 0 12px; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-btn {
  min-height: 44px; border-radius: 10px; border: 2px solid var(--brand-dark); background: #fff;
  color: var(--brand-dark); font: 700 .95rem var(--font-body); cursor: pointer;
}
.cookie-btn:hover { background: var(--tint); }
.cookie-btn:focus-visible, .linklike:focus-visible { outline: 3px solid var(--brand-dark); outline-offset: 2px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }
