/* ============ Zmienne ============ */
:root {
  --bg: #0D0E0C;
  --surface: #161814;
  --surface-2: #1E211A;
  --border: #262922;
  --border-strong: #3A3E34;
  --text: #F2F3EE;
  --text-2: #D3D6CC;
  --muted: #A9AD9F;
  --muted-2: #9EA295;
  --accent: #C8F35A;
  --accent-ink: #0D0E0C;
  --light: #F2F3EE;
  --light-muted: #4A4D44;
  --radius: 24px;
  --container: 1200px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; font-weight: 500; }
.h1, .h2, .h3 { font-family: var(--font-head); letter-spacing: -0.03em; margin: 0; }
.h1 { font-size: clamp(42px, 6vw, 84px); line-height: .98; letter-spacing: -0.035em; font-weight: 700; }
.h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; font-weight: 700; }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: 19px; color: #B4B8AC; margin: 0; max-width: 580px; }
.muted { color: var(--muted-2); }
.accent { color: var(--accent); }

/* ============ Przyciski ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 14px 26px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #D6FA78; }
.btn--ghost { border-color: var(--border-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--light { background: var(--light); color: var(--bg); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }

/* ============ Nawigacja ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13,14,12,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #23261F;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; }
.logo span { color: var(--accent); }
.nav__links { display: flex; gap: 28px; font-size: 15px; }
.nav__links a { text-decoration: none; color: #C9CCC2; }
.nav__links a:hover { color: var(--accent); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #2E3229;
  background: transparent; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-menu { display: none; border-top: 1px solid #23261F; padding: 12px 24px 24px; }
.mobile-menu a { display: block; padding: 14px 0; text-decoration: none; border-bottom: 1px solid #1F221B; font-size: 17px; }
.mobile-menu.is-open { display: block; }

@media (max-width: 900px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: inline-flex; }
}

/* ============ Hero ============ */
.hero { padding: 88px 0 72px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__media { flex: 1 1 360px; min-width: 0; position: relative; }
.pill {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  border: 1px solid #2E3229; border-radius: 999px; padding: 8px 14px; font-size: 14px; color: #C9CCC2;
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200,243,90,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200,243,90,.55); } 70% { box-shadow: 0 0 0 10px rgba(200,243,90,0); } 100% { box-shadow: 0 0 0 0 rgba(200,243,90,0); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; padding-top: 18px; border-top: 1px solid #23261F; }
.stat__num { font-family: var(--font-head); font-size: 32px; font-weight: 700; }
.stat__label { font-size: 14px; color: var(--muted-2); }

.photo {
  border-radius: 28px; border: 1px solid #2A2D27; overflow: hidden;
  background: repeating-linear-gradient(135deg, #171915 0 14px, #1B1D18 14px 28px);
  display: flex; align-items: center; justify-content: center; color: #7E8276; font-size: 14px; text-align: center; padding: 16px;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--hero { aspect-ratio: 3 / 4; height: auto; padding: 0; }
.photo--hero:not(:has(img)) { padding: 16px; }
/* Karta „Check-in” pod zdjęciem — nie zasłania sylwetki */
.float-card {
  position: relative; margin: -30px auto 0; width: max-content; max-width: calc(100% - 32px); z-index: 3;
  background: var(--light); color: var(--bg);
  border-radius: 18px; padding: 14px 18px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}
.float-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* ============ Pasek zaufania ============ */
.trust { border-top: 1px solid #23261F; border-bottom: 1px solid #23261F; }
.trust__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 22px 24px; font-size: 14px; color: var(--muted-2); }
.trust__inner span { display: inline-flex; gap: 8px; align-items: center; }
.trust__inner svg { color: var(--accent); }

/* ============ Karty ============ */
.grid { display: grid; gap: 16px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.goal { display: flex; flex-direction: column; gap: 10px; transition: border-color .2s; }
.goal:hover { border-color: var(--border-strong); }
.goal__num { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: #3A3E34; line-height: 1; }
.goal__title { font-size: 20px; font-weight: 600; }
.goal p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ Cennik ============ */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.toggle { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px; font-size: 14px; }
.toggle button { border: 0; background: transparent; color: #C9CCC2; border-radius: 999px; padding: 10px 18px; min-height: 44px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--light); color: var(--bg); font-weight: 600; }
.price-card { border-radius: 26px; padding: 32px; display: flex; flex-direction: column; gap: 22px; position: relative; background: var(--surface); border: 1px solid var(--border); }
.price-card--featured { background: var(--light); color: var(--bg); border-color: var(--light); }
.price-card__name { font-size: 20px; font-weight: 600; }
.price-card__sub { color: var(--muted-2); font-size: 15px; margin-top: 4px; }
.price-card--featured .price-card__sub, .price-card--featured .price-card__unit { color: var(--light-muted); }
.price-card__price { font-family: var(--font-head); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.price-card__unit { font-size: 16px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.price-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.price-card--featured ul { color: #23261F; }
.price-card li { display: flex; gap: 10px; }
.price-card li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D0E0C' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat; }
.price-card .btn { margin-top: auto; }
.price-card__save { font-size: 14px; color: var(--muted-2); margin-top: 6px; min-height: 21px; }
.price-card--featured .price-card__save { color: #3F5A00; font-weight: 600; }
.badge { align-self: flex-start; margin-bottom: -8px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.note { margin: 20px 0 0; font-size: 14px; color: var(--muted-2); }

/* ============ Jak to działa ============ */
.light { background: var(--light); color: var(--bg); }
.light .eyebrow { color: #4F6B00; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px; margin-top: 48px; }
.step { border-top: 2px solid var(--bg); padding-top: 20px; }
.step__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--light-muted); font-size: 15px; }

/* ============ Przemiana ============ */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.ba { flex: 1 1 460px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ba .photo { height: 460px; position: relative; padding: 0; }
.ba .photo > span.ph { padding: 16px; }
.ba__tag { position: absolute; top: 14px; left: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; background: var(--bg); color: #C9CCC2; padding: 6px 10px; border-radius: 999px; z-index: 1; }
.ba__tag--now { background: var(--accent); color: var(--accent-ink); }
.split__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.split__text p { margin: 0; color: #B4B8AC; font-size: 17px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mini-stat { border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.mini-stat__num { font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--accent); line-height: 1.2; }
.mini-stat__label { font-size: 13px; color: var(--muted-2); }
@media (max-width: 600px) { .ba .photo { height: 300px; } }

/* ============ Sklep ============ */
.product { text-decoration: none; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.product:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.product__cover { height: 170px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--accent); letter-spacing: -0.02em; }
.product__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__name { font-weight: 600; font-size: 17px; }
.product__meta { font-size: 14px; color: var(--muted-2); }
.product__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.product__price { font-family: var(--font-head); font-weight: 700; font-size: 20px; }

/* ============ Lead magnet ============ */
.cta-box { background: var(--accent); color: var(--accent-ink); border-radius: 32px; padding: 56px; display: flex; flex-wrap: wrap; gap: 32px 40px; align-items: center; justify-content: space-between; }
.cta-box > div { flex: 1 1 420px; min-width: 0; }
.cta-box p { margin: 12px 0 0; color: #2E3A10; font-size: 17px; }
.cta-box .btn-row { flex: 0 0 auto; }
@media (max-width: 600px) { .cta-box { padding: 32px 24px; } }

/* ============ O mnie ============ */
.photo--portrait { flex: 1 1 380px; height: 520px; padding: 0; }
.photo--portrait img { object-position: 50% 12%; }
/* Zdjęcia w ramkach (wariant C): oryginały, neonowa krawędź, lekkie przyciemnienie */
.photo:has(img) {
  position: relative; padding: 0; background: #111;
  border: 1.5px solid rgba(200,243,90,.55); border-radius: 24px; overflow: hidden;
}
.photo:has(img) img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1.08) contrast(1.04) saturate(1.05);
}
.photo:has(img)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(13,14,12,.45), transparent 25%);
}
.photo--hero:has(img) img { object-position: 50% 30%; transform: scale(1.35); transform-origin: 56% 72%; }
.ba .photo:has(img) img { object-position: 50% 22%; }
.ba__tag { z-index: 2; }
.hero__media:has(img) { flex: 0 1 380px; margin: 0 auto; }
.photo--hero:has(img) { aspect-ratio: 4 / 5; height: auto; }
.ba .photo:has(img) { height: 460px; }
@media (max-width: 700px) {
  .ba .photo:has(img) { height: 320px; }
}
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.fact__label { font-size: 13px; color: var(--muted-2); }
.fact__value { font-weight: 600; }

/* ============ Opinie ============ */
.band { background: var(--surface); border-top: 1px solid #23261F; border-bottom: 1px solid #23261F; }
.review { background: var(--bg); display: flex; flex-direction: column; gap: 16px; }
.review__stars { color: var(--accent); letter-spacing: 3px; }
.review__text { color: var(--text-2); margin: 0; }

/* ============ FAQ ============ */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 12px 0 0; color: var(--muted); }

/* ============ Stopka ============ */
.final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-bottom: 96px; }
.final .h1 { font-size: clamp(40px, 6vw, 80px); }
.footer { border-top: 1px solid #23261F; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 36px 24px; font-size: 14px; color: var(--muted-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--muted-2); }
.footer a:hover { color: var(--accent); }

/* ============ Formularze ============ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-weight: 600; font-size: 15px; }
.field .hint { font-size: 13px; color: var(--muted-2); font-weight: 400; }
.input, .select, .textarea {
  width: 100%; min-height: 52px; border: 1px solid var(--border-strong); border-radius: 14px;
  padding: 12px 16px; background: var(--bg); color: var(--text); font-size: 16px;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); }
.input--pill { border-radius: 999px; padding: 0 22px; border: 0; background: var(--light); color: var(--bg); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent); flex: 0 0 auto; }
.form-msg { font-size: 14px; padding: 12px 16px; border-radius: 12px; display: none; }
.form-msg.is-ok { display: block; background: #1E2416; color: var(--accent); }
.form-msg.is-err { display: block; background: #2A1A16; color: #FFB4A0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; flex: 1 1 360px; }
.inline-form .input { flex: 1 1 220px; }

/* ============ Quiz / podstrony ============ */
.page-hero { padding: 72px 0 40px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 40px; }
@media (max-width: 600px) { .panel { padding: 24px; } }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px; }
.option {
  text-align: left; padding: 22px 24px; border-radius: 18px; background: var(--bg); border: 2px solid var(--border);
  cursor: pointer; min-height: 88px; transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--border-strong); }
.option[aria-pressed="true"] { border-color: var(--accent); background: #1E2416; }
.option__label { display: block; font-size: 18px; font-weight: 600; }
.option__hint { display: block; font-size: 14px; color: var(--muted-2); margin-top: 4px; }
.progress { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.progress__bar { height: 100%; background: var(--accent); border-radius: 4px; transition: width .3s ease; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.btn[disabled] { background: var(--border); color: #7E8276; cursor: not-allowed; transform: none; }

.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.result { background: var(--bg); border: 1px solid var(--border); border-radius: 18px; padding: 20px; }
.result--main { border-color: var(--accent); background: #1E2416; }
.result__num { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.result__label { font-size: 13px; color: var(--muted-2); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border-strong); font-size: 15px; color: #C9CCC2; }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { font-family: var(--font-head); color: var(--text); margin: 40px 0 12px; font-size: 24px; }
.prose .todo { background: #2A2612; color: #F2E39A; border-radius: 12px; padding: 14px 18px; font-size: 14px; }

/* Pływający pasek na telefonie */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 14px; z-index: 40;
  background: rgba(23,25,21,.95); border: 1px solid #2E3229; border-radius: 999px;
  padding: 8px 8px 8px 20px; display: none; justify-content: space-between; align-items: center; gap: 12px;
  box-shadow: 0 16px 30px rgba(0,0,0,.5); font-size: 14px; color: #C9CCC2;
}
@media (max-width: 700px) { .sticky-cta { display: flex; } body.has-sticky { padding-bottom: 84px; } }

/* Animacje wejścia */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pill__dot { animation: none; }
  html { scroll-behavior: auto; }
}
