/* =========================================================
   SzybkiSkaut - strona główna
   ========================================================= */

/* ---------- Hero ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding: 110px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.orb-1 { width: 620px; height: 620px; right: -140px; top: -120px; background: radial-gradient(circle, var(--harvest), transparent 65%); }
.orb-2 { width: 460px; height: 460px; left: -160px; bottom: -160px; background: radial-gradient(circle, var(--gold), transparent 65%); opacity: .25; }
.pitch {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255, 190, 110, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 190, 110, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid > *, .msg > div, .how-grid > *, .faq-grid > *, .calc > *, .sim .core > * { min-width: 0; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.045em; line-height: .98;
  font-size: clamp(46px, 6.4vw, 92px);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.1em; }
.hero h1 .line > span { display: inline-block; padding-bottom: .14em; margin-bottom: -.14em; }
.strike { position: relative; display: inline-block; color: var(--muted); }
.strike::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 54%; height: .11em; border-radius: 99px;
  background: var(--grad); transform: scaleX(0) rotate(-3deg); transform-origin: 0 50%;
  animation: strike 1s var(--ease) 1.3s forwards;
}
@keyframes strike { to { transform: scaleX(1) rotate(-3deg); } }
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; margin-top: 26px; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- Podgląd Discord DM (prawdziwy komponent, animowany) ---------- */
.dm { position: relative; }
.dm .core { padding: 0; overflow: hidden; background: #1a130b; }
.dm-top {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.dm-top .at { color: var(--dim); font-size: 20px; }
.dm-top b { color: var(--text); font-weight: 600; }
.dm-top .live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; color: var(--good); }
.dm-top .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(126, 224, 138, .6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(126, 224, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 224, 138, 0); } }
.dm-body { padding: 18px; display: grid; gap: 14px; min-height: 430px; align-content: start; }
.msg { display: grid; grid-template-columns: 40px 1fr; gap: 12px; opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.msg.show { opacity: 1; transform: none; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.avatar.you { background: #3a2c1a; color: var(--amber-flame); }
.avatar.bot { background: var(--grad); color: var(--ink); font-size: 20px; }
.msg-name { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.msg-name .tag { font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--saffron); color: var(--ink); }
.msg-name time { font-size: 12px; color: var(--dim); font-weight: 400; }
.msg-text { font-size: 14.5px; color: #e9dcc6; margin-top: 2px; }
.cmd { display: inline; font-family: var(--font-mono); font-size: 13px; }
.cmd .slash { color: var(--gold); font-weight: 600; }
.cmd .opt { background: rgba(255, 190, 110, .1); border-radius: 5px; padding: 1px 6px; white-space: nowrap; display: inline-block; margin: 2px 0; }
.cmd .opt em { font-style: normal; color: var(--dim); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--gold); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.embed { margin-top: 8px; border-radius: 10px; background: #221910; border-left: 4px solid var(--saffron); padding: 12px 14px; }
.embed.alert { border-left-color: var(--gold); background: linear-gradient(120deg, rgba(255, 162, 0, .18), #221910 60%); }
.embed-title { font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.embed-title i { color: var(--gold); }
.embed-row { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 8px; }
.price { font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; color: var(--dim); font-weight: 500; margin-left: 4px; }
.delta { font-family: var(--font-mono); font-size: 12.5px; padding: 2px 8px; border-radius: 6px; }
.delta.up { color: var(--good); background: rgba(126, 224, 138, .1); }
.delta.down { color: var(--bad); background: rgba(255, 106, 77, .1); }
.spark { width: 100%; height: 54px; margin-top: 10px; }
.threshold-note { font-size: 12.5px; color: var(--dim); margin-top: 6px; font-family: var(--font-mono); }
.dm-ping {
  position: absolute; top: -14px; right: -10px; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 999px;
  display: grid; place-items: center; background: #ff4d3a; color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 0 0 5px var(--bg), 0 10px 30px -5px rgba(255, 77, 58, .8);
  transform: scale(0); transition: transform .5s var(--ease-spring);
}
.dm-ping.show { transform: scale(1); }
.dm.shake { animation: shake .5s var(--ease); }
@keyframes shake { 20% { transform: translateX(-6px) rotate(-.6deg); } 40% { transform: translateX(6px) rotate(.6deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* ---------- Pasek statystyk + marquee ---------- */
.stats { padding: 30px 0 0; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 26px 28px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 5vw, 68px); letter-spacing: -.04em; line-height: 1; }
.stat-label { color: var(--muted); margin-top: 8px; font-size: 15px; }
.marquee { margin-top: 60px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted);
}
.chip i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 162, 0, .14); color: var(--gold); }
.chip b { color: var(--text); font-weight: 600; }
.chip .mono { color: var(--gold); }

/* ---------- Funkcje (bento, 4 komórki) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 16px; margin-top: 60px; }
.tile { border-radius: var(--r-card); padding: 30px; position: relative; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; }
.tile h3 { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.03em; line-height: 1.05; }
.tile p { color: var(--muted); margin-top: 10px; max-width: 42ch; font-size: 15.5px; }
.tile-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: rgba(255, 162, 0, .12); color: var(--gold); margin-bottom: 22px; }
.t-speed { grid-column: span 7; grid-row: span 2; background: radial-gradient(120% 90% at 100% 100%, rgba(255, 123, 0, .35), transparent 60%), var(--surface); }
.t-private { grid-column: span 5; }
.t-discord { grid-column: span 5; background: var(--grad); color: var(--ink); box-shadow: none; }
.t-discord p { color: rgba(26, 14, 0, .78); }
.t-discord .tile-ico { background: rgba(26, 14, 0, .12); color: var(--ink); }
.t-manage { grid-column: span 12; flex-direction: row; align-items: center; justify-content: space-between; gap: 40px; min-height: 220px;
  background-image: repeating-linear-gradient(135deg, rgba(255, 190, 110, .035) 0 2px, transparent 2px 14px); background-color: var(--surface); }

/* radar */
.radar { margin-top: auto; align-self: center; position: relative; width: min(340px, 90%); aspect-ratio: 1; border-radius: 50%; margin-block: 30px 0;
  background:
    radial-gradient(circle, transparent 0 24%, rgba(255, 190, 110, .09) 24% 24.6%, transparent 24.6% 49%, rgba(255, 190, 110, .09) 49% 49.6%, transparent 49.6% 74%, rgba(255, 190, 110, .09) 74% 74.6%, transparent 74.6%);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.radar::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255, 162, 0, .55), transparent 25%); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-count { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.radar-count b { font-family: var(--font-mono); font-size: clamp(42px, 5vw, 60px); font-weight: 700; letter-spacing: -.04em; display: block; line-height: 1; }
.radar-count small { color: var(--muted); font-size: 13px; }
.blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); opacity: 0; animation: blip 4s linear infinite; }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.5); } 8% { opacity: 1; transform: scale(1.2); } 40% { opacity: 0; } }

/* rozmyta wiadomość */
.secret { margin-top: auto; padding-top: 22px; }
.secret-msg { padding: 14px 16px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; display: flex; align-items: center; gap: 12px; }
.secret-msg span { filter: blur(6px); transition: filter .6s var(--ease); user-select: none; }
.t-private:hover .secret-msg span, .t-private:focus-within .secret-msg span { filter: none; }
.secret-msg i { color: var(--gold); font-size: 20px; }
.secret small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 8px; }

.zeros { margin-top: auto; padding-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; }
.zeros div { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.zeros small { display: block; font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; margin-top: 4px; }

.cmd-list { display: grid; gap: 10px; min-width: min(420px, 100%); }
.cmd-pill { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cmd-pill:hover { transform: translateX(8px); box-shadow: inset 0 0 0 1px var(--line-strong); }
.cmd-pill code { font-family: var(--font-mono); color: var(--gold); font-weight: 600; font-size: 15px; min-width: 96px; }
.cmd-pill span { color: var(--muted); font-size: 14px; }

/* ---------- Jak to działa (sticky) ---------- */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; align-items: start; }
.how-sticky { position: sticky; top: 110px; }
.how-stage .core { padding: 26px; min-height: 380px; display: grid; place-items: center; background: radial-gradient(90% 80% at 50% 0%, rgba(255, 162, 0, .12), transparent 70%), var(--surface); }
.stage { grid-area: 1 / 1; width: 100%; opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.stage.on { opacity: 1; transform: none; pointer-events: auto; }
.stage-input { border-radius: var(--r-field); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); padding: 16px 18px; font-family: var(--font-mono); font-size: 14px; }
.stage-hint { display: grid; gap: 8px; margin-top: 14px; }
.stage-hint div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: rgba(255, 190, 110, .05); font-size: 13.5px; color: var(--muted); }
.stage-hint b { color: var(--text); font-family: var(--font-mono); font-weight: 500; }
.checks { display: grid; gap: 8px; font-family: var(--font-mono); font-size: 13.5px; }
.checks div { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); color: var(--muted); animation: checkIn .5s var(--ease) both; }
.checks div b { color: var(--text); font-weight: 500; }
.checks div.hit { background: var(--grad); color: var(--ink); }
.checks div.hit b { color: var(--ink); }
@keyframes checkIn { from { opacity: 0; transform: translateY(-10px); } }
.phone-notif { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 20px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong), 0 30px 60px -20px rgba(255, 140, 0, .45); }
.phone-notif .avatar { flex-shrink: 0; }
.phone-notif b { display: block; font-size: 15px; }
.phone-notif span { color: var(--muted); font-size: 14px; }
.stage-caption { text-align: center; color: var(--dim); font-size: 13px; margin-top: 16px; }

.steps { display: grid; gap: 0; counter-reset: step; }
.step { padding: 40px 0 40px 28px; border-left: 2px solid var(--line); position: relative; min-height: 46vh; display: flex; flex-direction: column; justify-content: center; transition: border-color .5s var(--ease); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: -19px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; background: var(--surface-2); color: var(--muted); box-shadow: 0 0 0 6px var(--bg), inset 0 0 0 1px var(--line-strong);
  transition: background-color .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-spring);
}
.step.on { border-left-color: var(--saffron); }
.step.on::before { background: var(--grad); color: var(--ink); transform: scale(1.15); }
.step h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.05; transition: color .5s; color: var(--dim); }
.step.on h3 { color: var(--text); }
.step p { color: var(--muted); margin-top: 12px; max-width: 42ch; }
.step code { font-family: var(--font-mono); color: var(--gold); font-size: .92em; }

/* ---------- Symulator ---------- */
.sim-wrap { margin-top: 60px; }
.sim .core { display: grid; grid-template-columns: 330px 1fr; padding: 0; overflow: hidden; }
.sim-panel { padding: 30px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; background: var(--surface-2); }
.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field .help { font-size: 13px; color: var(--dim); }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.seg button { position: relative; z-index: 1; padding: 9px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .4s var(--ease); }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg .seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--grad); transition: transform .5s var(--ease-spring); }
.seg[data-v="1"] .seg-pill { transform: translateX(100%); }
.range-row { display: flex; justify-content: space-between; align-items: baseline; }
.range-row output { font-family: var(--font-mono); color: var(--gold); font-weight: 700; font-size: 18px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--saffron) var(--p, 50%), var(--surface-3) var(--p, 50%)); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sunbeam); box-shadow: 0 0 0 5px rgba(255, 208, 0, .2); cursor: grab; transition: transform .3s var(--ease-spring); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.2); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--sunbeam); box-shadow: 0 0 0 5px rgba(255, 208, 0, .2); cursor: grab; }
.sim-stage { position: relative; padding: 24px; min-height: 420px; display: flex; flex-direction: column; }
.sim-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sim-card { display: flex; align-items: center; gap: 12px; }
.mini-card { width: 42px; height: 56px; border-radius: 8px; background: linear-gradient(160deg, var(--sunbeam), var(--harvest)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 18px; }
.sim-card b { display: block; font-size: 16px; }
.sim-card span { font-size: 13px; color: var(--dim); }
.sim-meta { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.sim-meta b { color: var(--text); font-weight: 600; }
#simChart { flex: 1; width: 100%; min-height: 280px; margin-top: 14px; }
.sim-dm {
  position: absolute; right: 20px; bottom: 20px; width: min(330px, calc(100% - 40px));
  transform: translateY(20px) scale(.9); opacity: 0; transition: transform .6s var(--ease-spring), opacity .4s var(--ease); pointer-events: none;
}
.sim-dm.show { transform: none; opacity: 1; pointer-events: auto; }
.sim-dm .phone-notif { background: #1f170d; }

/* ---------- Kalkulator czasu ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 60px; }
.calc-in { padding: 34px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 30px; align-content: center; }
.calc-out { padding: 34px; border-radius: var(--r-card); background: var(--grad); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; }
.calc-out::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .15); }
.calc-big { font-family: var(--font-display); font-weight: 800; font-size: clamp(72px, 10vw, 140px); letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; }
.calc-big small { font-size: .3em; letter-spacing: -.02em; margin-left: 6px; }
.calc-out p { font-weight: 600; font-size: 17px; max-width: 34ch; position: relative; z-index: 1; }
.calc-eq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; z-index: 1; }
.calc-eq div { background: rgba(26, 14, 0, .1); border-radius: 16px; padding: 12px 14px; }
.calc-eq b { display: block; font-family: var(--font-display); font-size: 28px; letter-spacing: -.03em; line-height: 1.1; }
.calc-eq span { font-size: 12.5px; font-weight: 600; opacity: .8; }

/* ---------- Cennik ---------- */
.pricing-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pricing-head .h2 { max-width: 14ch; }
.pricing-head .lead { margin-inline: auto; }
.billing { margin-top: 34px; display: flex; flex-direction: column; align-items: center; }
.billing .seg { width: 300px; }
.save-badge { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--good); font-weight: 600; min-height: 20px; }
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 16px; margin-top: 50px; align-items: stretch; }
.plan .core { padding: 32px; display: flex; flex-direction: column; }
.plan-name { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.plan-for { color: var(--dim); font-size: 14px; }
.plan-price { margin-top: 26px; display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-family: var(--font-display); font-weight: 800; font-size: 62px; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price .cur { font-weight: 600; font-size: 18px; }
.plan-price .per { color: var(--dim); font-size: 15px; }
.plan-alt { color: var(--dim); font-size: 14px; margin-top: 6px; min-height: 22px; }
.plan ul { list-style: none; display: grid; gap: 12px; margin: 28px 0 32px; }
.plan li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #eadcc5; }
.plan li i { color: var(--gold); font-size: 18px; flex-shrink: 0; }
.plan .btn { margin-top: auto; }
.plan.featured { position: relative; padding: 2px; border-radius: calc(var(--r-card) + 8px); background: none; box-shadow: none; overflow: hidden; isolation: isolate; }
.plan.featured::before {
  content: ""; position: absolute; inset: -60%; z-index: -1;
  background: conic-gradient(from 0deg, var(--harvest), var(--sunbeam), var(--amber-glow), var(--harvest), transparent 70%, var(--harvest));
  animation: sweep 5s linear infinite;
}
.plan.featured .core { border-radius: calc(var(--r-card) + 6px); background: radial-gradient(100% 60% at 50% 0%, rgba(255, 162, 0, .22), transparent 70%), #1c140b; }
.plan-badge { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--grad); color: var(--ink); margin-bottom: 14px; letter-spacing: .02em; }
.pricing-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 34px; color: var(--muted); font-size: 14px; }
.pricing-foot span { display: inline-flex; align-items: center; gap: 8px; }
.pricing-foot i { color: var(--gold); font-size: 18px; }
.pricing-legal { text-align: center; color: var(--dim); font-size: 13px; margin-top: 16px; }
.pricing-legal a { color: var(--muted); }
.flip { display: inline-block; }
.flip.tick { animation: tick .45s var(--ease); }
@keyframes tick { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-40%); opacity: 0; } 55% { transform: translateY(40%); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Opinie (przewijany tor) ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.rev-nav { display: flex; gap: 8px; }
.rev-nav button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color .3s, transform .3s var(--ease-spring); }
.rev-nav button:hover { background: var(--surface-3); transform: scale(1.06); }
.rev-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 84vw); gap: 16px; margin-top: 50px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(16px, (100vw - 1240px) / 2) 30px; scrollbar-width: none; cursor: grab;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.review { scroll-snap-align: center; padding: 30px; border-radius: var(--r-card); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 22px; user-select: none; transition: transform .6s var(--ease); }
.review:nth-child(odd) { transform: rotate(-.8deg); }
.review:nth-child(even) { transform: rotate(.8deg) translateY(12px); }
.review:hover { transform: rotate(0) translateY(-6px); }
.stars { color: var(--gold); display: flex; gap: 3px; font-size: 18px; }
.review blockquote { font-family: var(--font-display); font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 500; }
.review figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review figcaption .avatar { width: 44px; height: 44px; background: var(--surface-3); color: var(--gold); font-family: var(--font-display); }
.review figcaption b { display: block; font-size: 15px; }
.review figcaption span { color: var(--dim); font-size: 13px; }
.review .win { font-family: var(--font-mono); font-size: 13px; color: var(--gold); background: rgba(255, 162, 0, .1); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-search { position: relative; margin-top: 30px; }
.faq-search label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.faq-search input { width: 100%; padding: 14px 16px 14px 46px; border-radius: var(--r-field); border: 0; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text); font-size: 15px; transition: box-shadow .3s; }
.faq-search input::placeholder { color: var(--dim); }
.faq-search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--amber-glow); }
.faq-search i { position: absolute; left: 16px; bottom: 15px; color: var(--dim); font-size: 18px; }
.faq-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.faq-tags button { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: all .3s var(--ease); }
.faq-tags button[aria-pressed="true"] { background: var(--grad); color: var(--ink); box-shadow: none; }
.faq-contact { margin-top: 30px; padding: 22px; border-radius: var(--r-card); background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--muted); }
.faq-contact a { color: var(--gold); font-weight: 600; }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), background-color .4s; }
.qa[open] { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 16.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 162, 0, .12); color: var(--gold); transition: transform .5s var(--ease-spring), background-color .3s; }
.qa[open] summary .pm { transform: rotate(135deg); background: var(--grad); color: var(--ink); }
.qa .ans { overflow: hidden; }
.qa .ans p { padding: 0 22px 22px; color: var(--muted); max-width: 62ch; }
.qa .ans a { color: var(--gold); }
.qa[hidden] { display: none; }
.faq-empty { display: none; padding: 30px; border-radius: 20px; text-align: center; color: var(--muted); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.faq-empty.show { display: block; }
mark { background: rgba(255, 208, 0, .25); color: var(--text); border-radius: 3px; padding: 0 2px; }

/* ---------- Końcowe CTA ---------- */
.final { padding-bottom: 60px; }
.final-box { position: relative; overflow: hidden; border-radius: 40px; padding: clamp(60px, 9vw, 120px) clamp(24px, 6vw, 80px); background: var(--grad); color: var(--ink); isolation: isolate; }
#coinRain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.final-box h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 7vw, 104px); letter-spacing: -.05em; line-height: .92; max-width: 12ch; }
.final-box p { font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; max-width: 40ch; margin-top: 22px; }
.final-box .btn { margin-top: 36px; background: var(--ink); color: var(--text); box-shadow: 0 20px 40px -15px rgba(26, 14, 0, .7); }
.final-box .btn .btn-ico { background: var(--grad); color: var(--ink); }
.final-box .btn:hover { box-shadow: 0 26px 50px -15px rgba(26, 14, 0, .8); }

/* ---------- Mobile ---------- */
@media (max-width: 1020px) {
  .hero-grid, .how-grid, .faq-grid, .calc { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .how-sticky, .faq-side { position: static; }
  .how-sticky { order: -1; }
  .step { min-height: 0; padding: 26px 0 26px 28px; }
  .step h3 { color: var(--text); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .sim .core { grid-template-columns: 1fr; }
  .sim-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .t-manage { flex-direction: column; align-items: flex-start; }
  .stats-row { grid-template-columns: 1fr; }
  .dm-body { min-height: 400px; }
  .review:nth-child(n) { transform: none; }
  .calc-eq { grid-template-columns: 1fr 1fr 1fr; }
  .calc-eq b { font-size: 22px; }
  .sim-dm { position: static; width: 100%; margin-top: 14px; display: none; }
  .sim-dm.show { display: block; }
  .final-box { border-radius: 28px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .radar::before, .plan.featured::before { animation: none; }
  .strike::after { transform: scaleX(1) rotate(-3deg); }
  .msg { opacity: 1; transform: none; }
}

/* ---------- Statystyka (jedna, szeroka) ---------- */
.stats-row { grid-template-columns: 1fr; }
.stat-wide { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); padding: 28px clamp(24px, 4vw, 44px); }
.stat-wide .stat-num { font-size: clamp(56px, 8vw, 104px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.stat-wide .stat-label { margin-top: 0; font-size: clamp(20px, 2vw, 26px); font-family: var(--font-display); font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.stat-sub { color: var(--muted); margin-top: 6px; max-width: 52ch; font-size: 15.5px; }

/* ---------- Zakładki cennika: 3 opcje ---------- */
.billing .seg.seg-3 { width: 420px; grid-template-columns: repeat(3, 1fr); }
.seg-3 .seg-pill { width: calc(33.333% - 2.67px); }
.seg-3[data-v="1"] .seg-pill { transform: translateX(100%); }
.seg-3[data-v="2"] .seg-pill { transform: translateX(200%); }
.seg-lt { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--gold) !important; }
.seg-lt[aria-pressed="true"] { color: var(--ink) !important; }
.seg-lt i { font-size: 15px; animation: flame 1.6s ease-in-out infinite; }
@keyframes flame { 50% { transform: scale(1.18) rotate(-6deg); } }
.seg-tag {
  position: absolute; top: -13px; right: 4px; font-size: 10px; font-weight: 800; letter-spacing: .06em; line-height: 1;
  padding: 4px 7px; border-radius: 999px; background: #ff4d3a; color: #fff; box-shadow: 0 0 0 3px var(--bg);
  animation: tagBounce 2.4s var(--ease-spring) infinite;
}
@keyframes tagBounce { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-4px); } 90% { transform: translateY(1px); } }
.seg-3 { overflow: visible; }

/* ---------- Zapowiedź Lifetime pod pakietami ---------- */
.lt-teaser {
  display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 16px; padding: 18px 24px; border-radius: 20px; text-align: left;
  background: linear-gradient(100deg, rgba(255, 123, 0, .16), rgba(255, 208, 0, .08)); box-shadow: inset 0 0 0 1px rgba(255, 190, 0, .35);
  color: var(--muted); font-size: 16px; position: relative; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.lt-teaser::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 234, 0, .16) 50%, transparent 65%); transform: translateX(-100%); animation: sweepX 3.5s var(--ease) infinite; }
@keyframes sweepX { 60%, 100% { transform: translateX(100%); } }
.lt-teaser:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 208, 0, .6); }
.lt-teaser b { color: var(--text); }
.lt-teaser > i:first-child { font-size: 26px; color: var(--amber-flame); animation: flame 1.6s ease-in-out infinite; }
.lt-teaser > i:last-child { margin-left: auto; font-size: 20px; color: var(--gold); transition: transform .4s var(--ease-spring); }
.lt-teaser:hover > i:last-child { transform: translateX(5px); }

/* ---------- Karta Lifetime ---------- */
.lifetime { position: relative; margin: 50px auto 0; max-width: 980px; padding: 3px; border-radius: 34px; overflow: hidden; isolation: isolate; animation: ltIn .8s var(--ease-spring) both; }
.lifetime[hidden] { display: none; }
@keyframes ltIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.lifetime::before { content: ""; position: absolute; inset: -80%; z-index: -1; background: conic-gradient(from 0deg, var(--harvest), var(--sunbeam), var(--amber-glow), #fff6c2, var(--harvest), var(--gold), var(--harvest)); animation: sweep 4s linear infinite; }
.lt-core {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; padding: clamp(28px, 4vw, 48px); border-radius: 31px;
  background: radial-gradient(90% 90% at 100% 0%, rgba(255, 162, 0, .28), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(255, 208, 0, .1), transparent 70%), #1a1209;
}
.lt-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #ff4d3a; color: #fff; font-size: 13px; font-weight: 700; }
.lt-name { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 6vw, 76px); letter-spacing: -.05em; line-height: 1; margin-top: 18px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lt-sub { color: var(--muted); margin-top: 10px; max-width: 40ch; }
.lifetime ul { list-style: none; display: grid; gap: 11px; margin-top: 24px; }
.lifetime li { display: flex; gap: 10px; align-items: center; color: #eadcc5; }
.lifetime li i { color: var(--gold); font-size: 18px; }
.lt-right { display: flex; flex-direction: column; justify-content: center; padding: 28px; border-radius: 24px; background: rgba(12, 9, 6, .55); box-shadow: inset 0 0 0 1px var(--line-strong); }
.lt-price { display: flex; align-items: baseline; gap: 8px; }
.lt-amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(60px, 7vw, 86px); letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.lt-price .cur { font-size: 22px; font-weight: 700; }
.lt-once { color: var(--gold); font-weight: 600; margin-top: 6px; }
.lt-compare { display: flex; gap: 8px; align-items: center; margin: 18px 0 22px; padding: 10px 14px; border-radius: 14px; background: rgba(126, 224, 138, .08); color: var(--good); font-size: 14px; font-weight: 500; }
.lt-note { color: var(--dim); font-size: 13px; margin-top: 12px; text-align: center; }

@media (max-width: 767px) {
  .stat-wide { flex-direction: column; align-items: flex-start; gap: 6px; }
  .billing .seg.seg-3 { width: min(420px, calc(100vw - 32px)); }
  .lt-core { grid-template-columns: 1fr; gap: 24px; }
  .lt-right { padding: 22px; }
  .lt-teaser { font-size: 15px; padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .lifetime::before, .lt-teaser::after, .seg-tag, .seg-lt i, .lt-teaser > i:first-child { animation: none; }
}
.plans[hidden], .lt-teaser[hidden] { display: none; }

/* ---------- Startujemy (zamiast opinii) ---------- */
.early .core { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 5vw, 56px);
  background: radial-gradient(70% 90% at 100% 50%, rgba(255, 162, 0, .14), transparent 70%), var(--surface); }
.early-copy .btn { margin-top: 30px; }
.review-ghost { transform: rotate(1.5deg); background: rgba(12, 9, 6, .55); box-shadow: inset 0 0 0 2px rgba(255, 190, 110, .18); border: 2px dashed rgba(255, 190, 110, .25); }
.review-ghost:hover { transform: rotate(0) translateY(-6px); }
.review-ghost .stars { color: var(--dim); }
.review-ghost blockquote { color: var(--muted); }
.review-ghost .avatar { background: var(--surface-3); color: var(--gold); }
@media (max-width: 1020px) { .early .core { grid-template-columns: 1fr; } .review-ghost { transform: none; } }

/* ---------- Przyklejony przycisk (tylko telefon) ---------- */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: calc(var(--z-nav) - 2);
    transform: translateY(calc(100% + 24px)); transition: transform .6s var(--ease); }
  .sticky-cta.on { transform: none; }
  body:has(.cookie.show) .sticky-cta, .menu-open .sticky-cta { transform: translateY(calc(100% + 24px)); }
  .sticky-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px;
    background: rgba(26, 18, 9, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: inset 0 0 0 1px var(--line-strong), 0 16px 40px -12px rgba(0, 0, 0, .8); font-size: 14px; color: var(--muted); }
  .sticky-in b { color: var(--text); }
  .footer { padding-bottom: 90px; }
}
