/* ============================================================
   LANDING PAGES (A/B/C/D) — style przeniesione ze wzoru
   Downloads/FindOurDate (4)/bootstrap/theme.css.
   Wersję aktywnego landingu wybiera appsettings: LandingPage:Version.
   ============================================================ */

:root {
  --header-h: 64px;
}

/* ---------------- wspólne elementy ---------------- */
.lp { overflow: clip; }
.lp-wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px){ .lp-wrap { padding: 0 16px; } }
.lp-section { padding: 88px 0; }
.lp-section--tight { padding: 64px 0; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; color: var(--eyebrow); }
.lp-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--primary); }
.lp-h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; font-size: clamp(30px, 4vw, 46px); line-height: 1.04; margin: 14px 0 0; }
.lp-lead { color: var(--ink-soft); font-size: 17px; max-width: 56ch; margin: 16px 0 0; }

/* podgląd produktu — mini-kalendarz / heatmapa */
.mini-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mini-dow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.mini-dow span { text-align: center; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); }
.mc { position: relative; aspect-ratio: 1 / 1; border-radius: 9px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--ink); background: var(--surface-2); }
.mc[data-heat="0"] { background: var(--heat-0); color: var(--ink-faint); }
.mc[data-heat="1"] { background: var(--heat-1); }
.mc[data-heat="2"] { background: var(--heat-2); }
.mc[data-heat="3"] { background: var(--heat-3); color: var(--heat-ink-hi); }
.mc[data-heat="4"] { background: var(--heat-4); color: var(--heat-ink-hi); }
.mc[data-heat="5"] { background: var(--heat-5); color: var(--heat-ink-hi); }
.mc--out { background: transparent; }
.mc[data-best="1"] { box-shadow: 0 0 0 2px var(--heat-best), 0 0 0 5px color-mix(in srgb, var(--heat-best) 22%, transparent); z-index: 1; }

/* komórki miesiąca jak w aplikacji: numer + licznik + awatary + gwiazdka */
.mini-cal .mc { aspect-ratio: auto; min-height: clamp(62px, 8vw, 86px); display: block; padding: 6px 7px; border-radius: 10px; min-width: 0; overflow: hidden; }
.mini-cal .mc[data-best="1"] { box-shadow: none; outline: 2px solid var(--heat-best); outline-offset: -2px; }
.mini-cal .mc.mc--mine { box-shadow: inset 3px 0 0 0 color-mix(in srgb, var(--heat-best) 85%, transparent); }
.mini-cal .mc.mc--mine[data-best="1"] { box-shadow: inset 3px 0 0 0 var(--heat-best); }
.mc__star { position: absolute; top: 5px; right: 6px; z-index: 3; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--heat-ink-hi); color: #c6f24e; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35); }
.mc__num { font-size: 12.5px; font-weight: 800; line-height: 1; }
.mc__foot { position: absolute; left: 7px; right: 7px; bottom: 6px; display: flex; align-items: center; justify-content: space-between; gap: 3px; }
.mc__cnt { font-size: 10px; font-weight: 800; background: color-mix(in srgb, var(--surface) 72%, transparent); border-radius: var(--radius-pill); padding: 1px 6px; backdrop-filter: blur(2px); }
.mc__avas { display: flex; }
.mc__avas .ava { width: 15px; height: 15px; font-size: 7px; margin-left: -5px; box-shadow: 0 0 0 1.5px var(--surface); }
.mc__avas .ava:first-child { margin-left: 0; }
.mc-more { font-size: 8.5px; font-weight: 800; color: var(--ink-soft); margin-left: 3px; align-self: center; }
@media (max-width: 560px){ .mini-cal .mc__avas, .mini-cal .mc-more { display: none; } .mini-cal .mc { min-height: 52px; } }
/* wąski podgląd hero (A): licznik + awatary w pionie, by zmieściły się w kolumnie */
.lpa-mini .mc__foot { flex-direction: column; align-items: flex-end; gap: 3px; }
.lpa-mini .mc__avas { justify-content: flex-end; }
.lpa-mini .mc-more { display: none; }
.lpa-mini .mc__avas .ava { width: 13px; height: 13px; font-size: 6.5px; margin-left: -4px; }

/* dni w pasku landingu C: awatary + licznik pod kafelkiem */
.lpc-day__cnt { font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.lpc-day__avas { display: flex; }
.lpc-day__avas .ava { width: 18px; height: 18px; font-size: 8px; margin-left: -5px; box-shadow: 0 0 0 1.5px var(--bg); }
.lpc-day__avas .ava:first-child { margin-left: 0; }
.lpc-day__more { font-size: 10px; font-weight: 800; color: var(--ink-faint); margin-left: 3px; align-self: center; }

.mini-legend { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.mini-legend .ramp { display: flex; border-radius: 5px; overflow: hidden; border: 1px solid var(--line); }
.mini-legend .ramp i { width: 18px; height: 11px; }

/* ramka „okna produktu” */
.lp-frame { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.lp-frame__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.lp-frame__dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.lp-frame__title { margin-left: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-faint); }
.lp-frame__body { padding: 20px; }
.lp-frame__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lp-frame__head b { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.lp-best-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--heat-best); }
.lp-best-pill svg { width: 13px; height: 13px; }

/* paski zaufania / avatary */
.lp-trust { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.lp-trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-faint); }
.lp-proof { display: flex; align-items: center; gap: 13px; }
.lp-proof .ava-row .ava { width: 34px; height: 34px; font-size: 12px; box-shadow: 0 0 0 2px var(--bg); }
.lp-proof__txt { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; }
.lp-proof__txt b { color: var(--ink); }

/* karty funkcji */
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); height: 100%; }
.feat__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--heat-best); display: grid; place-items: center; margin-bottom: 16px; }
.feat__ico svg { width: 22px; height: 22px; }
.feat h3 { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin: 0 0 7px; }
.feat p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.5; }

/* kroki */
.lp-step { position: relative; }
.lp-step__no { font-family: var(--font-display); font-weight: 900; font-size: 15px; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; margin-bottom: 14px; }
.lp-step h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin: 0 0 7px; }
.lp-step p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }

/* opinie */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column; }
.quote__stars { color: var(--heat-best); letter-spacing: 2px; font-size: 14px; margin-bottom: 12px; }
.quote p { font-size: 15.5px; line-height: 1.55; color: var(--ink); margin: 0 0 18px; flex: 1; }
.quote__who { display: flex; align-items: center; gap: 11px; }
.quote__who .ava { width: 38px; height: 38px; font-size: 14px; }
.quote__who b { font-size: 14px; font-weight: 800; display: block; }
.quote__who span { font-size: 12.5px; color: var(--ink-faint); }

/* stopka */
.lp-foot { border-top: 1px solid var(--line); padding: 40px 0; }
.lp-foot__brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.lp-foot__brand .brand__mark { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px; background: var(--primary); color: var(--on-primary); font-size: 17px; font-weight: 800; }
.lp-foot__cols { display: flex; flex: 1 1 480px; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-foot__col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); font-weight: 800; margin: 0 0 12px; }
.lp-foot__col a { display: block; color: var(--ink-soft); font-size: 14px; font-weight: 600; text-decoration: none; padding: 4px 0; cursor: pointer; }
.lp-foot__col a:hover { color: var(--ink); }
.lp-foot__legal { color: var(--ink-faint); font-size: 13px; margin-top: 28px; }

/* finalne CTA */
.lp-cta-band { background: var(--primary); color: var(--on-primary); border-radius: var(--radius-lg); padding: 56px 48px; text-align: center; }
.lp-cta-band h2 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.02em; font-size: clamp(30px, 4.4vw, 52px); line-height: 1; margin: 0; color: var(--on-primary); }
.lp-cta-band p { color: color-mix(in srgb, var(--on-primary) 75%, transparent); font-size: 17px; margin: 16px auto 28px; max-width: 46ch; font-weight: 600; }
.btn-onlime { --bs-btn-color: var(--primary); --bs-btn-bg: var(--on-primary); --bs-btn-border-color: var(--on-primary); --bs-btn-hover-color: var(--primary); --bs-btn-hover-bg: #000; --bs-btn-hover-border-color: #000; --bs-btn-active-bg: #000; }

/* ============================================================
   LANDING A — produktowy / rzeczowy
   ============================================================ */
.lpa-hero { padding: 64px 0 40px; }
.lpa-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(38px, 5vw, 62px); line-height: 1.02; margin: 18px 0 0; }
.lpa-hero h1 .hl { color: var(--heat-best); }
.lpa-hero p { color: var(--ink-soft); font-size: 18px; line-height: 1.5; max-width: 42ch; margin: 20px 0 0; }
.lpa-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.lpa-mini .mc { aspect-ratio: auto; }

/* ============================================================
   LANDING B — odważny / marketingowy
   ============================================================ */
.lpb-hero { text-align: center; padding: 80px 0 56px; position: relative; }
.lpb-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 7px 15px 7px 9px; font-size: 13px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-sm); }
.lpb-hero__badge i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-size: 12px; font-style: normal; font-weight: 900; }
.lpb-hero h1 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.035em; font-size: clamp(44px, 8vw, 110px); line-height: .92; margin: 26px auto 0; max-width: 16ch; }
.lpb-hero h1 .hl { color: var(--heat-best); }
.lpb-hero h1 .box { background: var(--primary); color: var(--on-primary); padding: 0 .12em; border-radius: 12px; display: inline-block; transform: rotate(-1.5deg); }
.lpb-hero p { color: var(--ink-soft); font-size: clamp(17px, 2vw, 21px); max-width: 50ch; margin: 26px auto 0; font-weight: 500; }
.lpb-hero__cta { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; margin: 34px 0 26px; }
.lpb-hero__proof { display: flex; justify-content: center; }

/* duża grafika heatmapy */
.lpb-stage { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 48px); }
.lpb-stage .lpb-mini .mc { font-size: clamp(13px, 1.6vw, 18px); border-radius: 12px; }

/* sekcja na ciemno/akcent */
.lpb-band { background: var(--ink); color: var(--bg); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 64px); }
[data-bs-theme="dark"] .lpb-band { background: #0E1009; }
.lpb-band .lp-h2, .lpb-band h2 { color: var(--bg); }
[data-bs-theme="dark"] .lpb-band .lp-h2 { color: var(--ink); }
.lpb-band .lp-lead { color: color-mix(in srgb, var(--bg) 72%, transparent); }
[data-bs-theme="dark"] .lpb-band .lp-lead { color: var(--ink-soft); }
/* The band stays dark in light mode, so its inner text needs light colors there too
   (step headings inherit the dark --bs-heading-color and vanish otherwise). */
.lpb-band h3 { color: var(--bg); }
[data-bs-theme="dark"] .lpb-band h3 { color: var(--ink); }
.lpb-band .lp-step p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
[data-bs-theme="dark"] .lpb-band .lp-step p { color: var(--ink-soft); }
.lpb-band .lp-kicker { color: var(--primary); }

/* duże liczby (staty) */
.lpb-stat { text-align: center; }
.lpb-stat b { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6vw, 68px); line-height: 1; color: var(--heat-best); letter-spacing: -.03em; display: block; }
.lpb-stat span { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); margin-top: 8px; display: block; }

/* feature „odważny” — większe, naprzemienne */
.featb { display: flex; gap: 18px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); height: 100%; }
.featb__ico { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.featb__ico svg { width: 25px; height: 25px; }
.featb h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin: 2px 0 7px; }
.featb p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }

/* ============================================================
   LANDING C — minimal / one-screen
   ============================================================ */
.lpc { min-height: calc(100vh - var(--header-h)); text-align: center; padding: 48px 0; display: grid; place-items: center; }
.lpc-inner { max-width: 800px; padding: 0 24px; }
.lpc .lp-kicker { justify-content: center; }
.lpc h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em; font-size: clamp(40px, 6.5vw, 82px); line-height: 1; margin: 22px 0 0; }
.lpc h1 .hl { color: var(--heat-best); }
.lpc p { color: var(--ink-soft); font-size: clamp(17px, 2vw, 21px); max-width: 46ch; margin: 24px auto 0; }
.lpc-cta { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 34px 0 0; }
.lpc-week { display: flex; gap: clamp(8px, 1.4vw, 14px); justify-content: center; flex-wrap: wrap; margin: 52px 0 0; }
.lpc-day { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.lpc-day .dow { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); }
.mc--lg { width: clamp(44px, 6vw, 58px); height: clamp(44px, 6vw, 58px); aspect-ratio: auto; border-radius: 13px; font-size: clamp(14px, 1.6vw, 17px); }
.lpc-foot { margin: 44px 0 0; }
.lpc-divider { width: 46px; height: 3px; border-radius: 3px; background: var(--primary); margin: 0 auto 22px; }

/* ============================================================
   LANDING D — kompozycja BENTO (kafelki)
   ============================================================ */
.lpd { padding: 36px 0 72px; }
.lpd-bento { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "head head heat heat"
    "head head heat heat"
    "stat proof quote quote"
    "how  how   cta   cta"; }
.lpd-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; min-width: 0; }
.lpd-head { grid-area: head; justify-content: center; }
.lpd-heat { grid-area: heat; }
.lpd-stat { grid-area: stat; }
.lpd-proof { grid-area: proof; justify-content: center; }
.lpd-quote { grid-area: quote; justify-content: center; }
.lpd-how { grid-area: how; }
.lpd-cta { grid-area: cta; justify-content: center; }
@media (max-width: 991px){
  .lpd-bento { grid-template-columns: 1fr; grid-template-areas: none; }
  .lpd-bento > * { grid-area: auto !important; }
}

/* kafel: hasło */
.lpd-head h1 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.03em; font-size: clamp(32px, 3.6vw, 52px); line-height: 1; margin: 14px 0 0; }
.lpd-head h1 .hl { color: var(--heat-best); }
.lpd-head p { color: var(--ink-soft); font-size: 16.5px; margin: 16px 0 0; max-width: 34ch; }
.lpd-head__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* kafel: heatmapa */
.lpd-heat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.lpd-heat__top b { font-family: var(--font-display); font-weight: 800; font-size: 16px; }

/* kafel: statystyka (limonka) */
.lpd-tile--lime { background: var(--primary); border-color: transparent; color: var(--on-primary); }
.lpd-stat b { font-family: var(--font-display); font-weight: 900; font-size: clamp(46px, 5vw, 66px); line-height: .9; letter-spacing: -.03em; }
.lpd-stat span { font-weight: 700; font-size: 14px; margin-top: 12px; color: color-mix(in srgb, var(--on-primary) 76%, transparent); }

/* kafel: dowód społeczny */
.lpd-proof .ava-row { margin-bottom: 14px; }
.lpd-proof .ava-row .ava { width: 36px; height: 36px; font-size: 13px; box-shadow: 0 0 0 2px var(--surface); }
.lpd-proof b { font-family: var(--font-display); font-weight: 800; font-size: 22px; display: block; }
.lpd-proof .sub { font-size: 13.5px; color: var(--ink-faint); margin-top: 4px; }
.lpd-proof .stars { color: var(--heat-best); letter-spacing: 2px; font-size: 14px; margin-top: 12px; }

/* kafel: opinia */
.lpd-quote .quote__stars { margin-bottom: 12px; }
.lpd-quote p { font-size: 15.5px; line-height: 1.5; margin: 0 0 16px; color: var(--ink); }

/* kafel: jak to działa */
.lpd-how h4 { font-family: var(--font-body); font-weight: 800; font-size: 12px; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); }
.lpd-how__steps { display: flex; gap: 22px; flex-wrap: wrap; }
.lpd-how__step { display: flex; gap: 11px; align-items: flex-start; flex: 1; min-width: 150px; }
.lpd-how__step b { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.lpd-how__step span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; }

/* ============================================================
   PRZEŁĄCZNIK A / B / C / D — porównywanie wersji landinga
   (widoczny tylko, gdy LandingPage:Version w konfiguracji jest puste)
   ============================================================ */
.lp-switch { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1050; display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 6px; box-shadow: var(--shadow-lg); max-width: calc(100vw - 24px); }
.lp-switch__label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); padding: 0 6px 0 12px; white-space: nowrap; }
.lp-switch__btn { border: 0; background: transparent; color: var(--ink-soft); font: inherit; font-weight: 700; font-size: 13.5px; padding: 9px 15px; border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap; text-decoration: none; }
.lp-switch__btn:hover { color: var(--ink); }
.lp-switch__btn.is-active { background: var(--primary); color: var(--on-primary); }
@media (max-width: 720px){ .lp-switch__label { display: none; } .lp-switch__btn { padding: 9px 11px; } .lp-switch__btn .desc { display: none; } }

/* kafel: CTA (ciemny) */
.lpd-tile--ink { background: #10120A; color: #EEF0E4; border-color: #2A3020; }
.lpd-cta h3 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.02em; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.04; margin: 0; color: #fff; }
.lpd-cta p { margin: 10px 0 0; font-size: 14px; color: #AEB3A2; }
.lpd-cta .btn { margin-top: 20px; align-self: flex-start; }
