/*
Theme Name: Ziomek — Konfigurator
Theme URI: https://konfigurator.ziomekodecommerce.pl
Author: Daniel
Author URI: https://ziomekodecommerce.pl
Description: Autorski, w pełni kodowany motyw WordPress (zero page builderów) — landing wyjaśniający konfigurator stron WWW. Osobna instalacja WP/WooCommerce, podpięta pod subdomenę konfigurator.ziomekodecommerce.pl. Design system 1:1 z głównej marki "Ziomek od e-commerce".
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ziomek-konfigurator
*/

/* ==========================================================================
   Jeden plik, cały CSS — tak samo jak w motywie głównej strony. Zero
   buildera, zero zależności. Token kolorów/fontów jest identyczny jak
   w `ziomek-ecommerce`, żeby ta podstrona nie wyglądała jak inna marka —
   dorzucamy tylko `--warn` (delikatny sygnał "to jest pułapka abonamentu")
   i komponenty specyficzne dla tego landingu (porównanie, kroki, podgląd).
   ========================================================================== */

:root {
  --bg: #17181b;
  --bg-raised: #1e2024;
  --bg-raised-2: #24262b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --fg: #f5f4f0;
  --muted: #a7a8ad;
  --muted-2: #7b7c81;
  --accent: #e6c428;
  --accent-alt: #b98cff;
  --accent-ink: #1a1400;
  --warn: #e08a6e;
  --warn-soft: rgba(224, 138, 110, 0.1);
  --good-soft: rgba(230, 196, 40, 0.08);
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

a:hover {
  color: #fff;
}

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

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 64px;
  padding-right: 64px;
}

/* ---------- tło / tekstury (identyczne jak na głównej stronie) ---------- */

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.dotgrid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.4px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 35%, #000 0%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 85% at 50% 35%, #000 0%, transparent 80%);
}

.doodles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.doodle {
  position: absolute;
  color: var(--muted);
  opacity: 0.22;
  animation-name: floatY;
  animation-duration: var(--dur, 6s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.doodle svg {
  display: block;
  width: 100%;
  height: 100%;
}

.doodle.accent {
  color: var(--accent);
  opacity: 0.3;
}

@keyframes floatY {
  0%   { transform: translate(0, 0) rotate(var(--rot, 0deg)) scale(1); }
  25%  { transform: translate(7px, -26px) rotate(calc(var(--rot, 0deg) + 10deg)) scale(1.1); }
  50%  { transform: translate(-9px, -40px) rotate(calc(var(--rot, 0deg) - 8deg)) scale(0.92); }
  75%  { transform: translate(6px, -18px) rotate(calc(var(--rot, 0deg) + 5deg)) scale(1.05); }
  100% { transform: translate(0, 0) rotate(var(--rot, 0deg)) scale(1); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .doodle {
    animation: none;
  }
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  animation: drift 18s ease-in-out infinite alternate;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -24px) scale(1.08); }
}

@keyframes pulseSoft {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.3333%); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.rise-in {
  animation: riseIn 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .glow, .dot, .marquee-track, .rise-in {
    animation: none !important;
  }
}

/* ---------- nav ---------- */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 64px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
}

.brand:hover {
  color: var(--fg);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--accent-ink);
  font-size: 15px;
}

.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.brand-name span {
  color: var(--muted-2);
  font-weight: 500;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.primary-nav a:hover {
  color: var(--fg);
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(230, 196, 40, 0.55);
  color: var(--accent-ink);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line-strong);
  padding: 10px 18px;
  font-size: 14px;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 13.5px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-transform: uppercase;
}

.pill.pill-accent {
  color: var(--accent);
  border-color: var(--accent);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulseSoft 2.2s ease-in-out infinite;
}

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

.hero {
  position: relative;
  padding: 0 64px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 96px 0 110px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-chip {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  animation-name: floatY;
  animation-duration: var(--dur, 7s);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.hero-chip svg {
  flex-shrink: 0;
  color: var(--accent);
}

.hero-chip-1 { top: 3%; left: 64%; --rot: -4deg; --dur: 7s; animation-delay: -1s; }
.hero-chip-2 { top: 48%; left: 48%; --rot: 3deg; --dur: 8s; animation-delay: -4s; }

@media (max-width: 1180px) {
  .hero-chip {
    display: none;
  }
}

.hero-copy {
  max-width: 600px;
}

.hero-copy h1 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-top: 22px;
  color: var(--fg);
}

.hero-copy .lede {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.hero-stats .stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.hero-stats .stat-label {
  font-size: 13px;
  color: var(--muted-2);
  margin-top: 2px;
}

/* ---------- hero visual: paczka eksportu zamiast zdjęcia ---------- */

.frame-wrap {
  position: relative;
  flex-shrink: 0;
  z-index: 2;
  width: 420px;
  height: 480px;
}

.stack-card {
  position: absolute;
  border-radius: 20px;
}

.stack-card-alt {
  width: 380px;
  height: 440px;
  background: var(--accent-alt);
  top: 46px;
  right: 4px;
  transform: rotate(7deg);
  opacity: 0.92;
}

.stack-card-accent {
  width: 380px;
  height: 440px;
  background: var(--accent);
  top: 26px;
  right: -16px;
  transform: rotate(-5deg);
}

.export-frame {
  position: absolute;
  top: 8px;
  right: 26px;
  width: 380px;
  height: 440px;
  border-radius: 18px;
  overflow: hidden;
  border: 7px solid var(--fg);
  transform: rotate(-3deg);
  box-shadow: 0 28px 64px -18px rgba(0, 0, 0, 0.6);
  z-index: 1;
  background: var(--bg-raised);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.export-frame .zip-icon {
  width: 96px;
  height: 96px;
  color: var(--accent);
}

.export-frame .zip-name {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--fg);
}

.export-frame .zip-sub {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 220px;
  line-height: 1.5;
}

.sticker {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55);
  animation: riseIn 0.8s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.sticker-profit {
  width: 128px;
  height: 84px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--accent-ink);
  top: -18px;
  left: -20px;
  transform: rotate(-7deg);
  padding: 6px 10px;
}

.sticker-profit .sticker-value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}

.sticker-profit .sticker-sub {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
  opacity: 0.85;
}

.sticker-ads {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--bg-raised-2);
  border: 1.5px solid var(--line-strong);
  color: var(--fg);
  top: 260px;
  right: -26px;
  transform: rotate(9deg);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.25;
}

/* ---------- marquee ---------- */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  overflow: hidden;
  background: var(--bg-raised);
}

.marquee-track {
  display: flex;
  flex-shrink: 0;
  gap: 56px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--muted-2);
}

.marquee-item.is-tag {
  color: var(--accent);
}

/* ---------- sekcja / nagłówki sekcji ---------- */

section.block {
  padding: 108px 64px;
  position: relative;
}

.section-head {
  max-width: 560px;
}

.section-head h2 {
  font-size: 34px;
  margin-top: 18px;
  color: var(--fg);
}

.section-head p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- pułapka abonamentu ---------- */

.trap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--bg-raised-2);
}

.card h3 {
  font-size: 19px;
  color: var(--fg);
}

.card p {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}

.card.card-warn {
  border-color: rgba(224, 138, 110, 0.35);
  background: linear-gradient(180deg, var(--warn-soft), var(--bg-raised) 60%);
}

.card.card-warn h3 {
  color: var(--warn);
}

.card.card-good {
  border-color: rgba(230, 196, 40, 0.35);
  background: linear-gradient(180deg, var(--good-soft), var(--bg-raised) 60%);
}

.card-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.card-warn .card-tag {
  color: var(--warn);
  background: var(--warn-soft);
}

.card-good .card-tag {
  color: var(--accent);
  background: var(--good-soft);
}

@media (max-width: 820px) {
  .trap-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- porównanie ---------- */

.compare-scroll {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-raised);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

table.compare th,
table.compare td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}

table.compare thead th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted-2);
  background: var(--bg-raised-2);
  border-bottom: 1px solid var(--line);
}

table.compare tbody tr:last-child td {
  border-bottom: none;
}

table.compare td:first-child,
table.compare th:first-child {
  color: var(--muted-2);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
}

td.col-us {
  background: var(--good-soft);
  color: var(--fg);
  font-weight: 600;
}

th.col-us {
  background: rgba(230, 196, 40, 0.16) !important;
  color: var(--accent) !important;
}

td.col-them {
  background: var(--warn-soft);
  color: var(--muted);
}

.price-note {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 14px;
  max-width: 62ch;
}

/* ---------- info ikonka przy nagłówku z gwiazdką ---------- */

.info-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--muted-2);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 700;
  font-family: "Manrope", sans-serif;
  cursor: help;
  margin-left: 5px;
  vertical-align: middle;
}

.info-ic:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- koszty SaaS/CMS: tabela + panel "dlaczego warto" ---------- */

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .cost-grid {
    grid-template-columns: 1fr;
  }
}

.cost-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-raised);
}

table.cost-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1080px;
}

table.cost-table th,
table.cost-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  white-space: nowrap;
  vertical-align: top;
}

table.cost-table thead th {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  background: var(--bg-raised-2);
  border-bottom: 1px solid var(--line);
}

table.cost-table tbody tr:last-child td {
  border-bottom: none;
  font-weight: 700;
}

table.cost-table .row-label {
  color: var(--muted-2);
  font-weight: 600;
  font-size: 12.5px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--bg-raised);
  white-space: normal;
  min-width: 168px;
}

table.cost-table thead .row-label {
  background: var(--bg-raised-2);
  z-index: 3;
}

table.cost-table .col-us {
  position: sticky;
  left: 168px;
  z-index: 1;
  background: rgba(230, 196, 40, 0.13);
  color: var(--fg);
  border-left: 1px solid rgba(230, 196, 40, 0.35);
  border-right: 1px solid rgba(230, 196, 40, 0.35);
}

table.cost-table thead .col-us {
  background: rgba(230, 196, 40, 0.22);
  color: var(--accent);
  z-index: 3;
}

table.cost-table tbody tr:last-child .col-us {
  color: var(--accent);
  font-size: 15px;
}

table.cost-table td:not(.row-label):not(.col-us),
table.cost-table th:not(.row-label):not(.col-us) {
  color: var(--muted);
  min-width: 118px;
}

.why-panel {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  position: sticky;
  top: 96px;
}

.why-panel h3 {
  font-size: 17px;
  color: var(--fg);
}

.why-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.why-list svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 1100px) {
  .why-panel {
    position: static;
  }
}

/* ---------- kroki ---------- */

.steps {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.step:first-child {
  padding-top: 0;
}

.step:last-child {
  border-bottom: none;
}

.step .step-n {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--good-soft);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(230, 196, 40, 0.3);
}

.step h3 {
  font-size: 18px;
  color: var(--fg);
}

.step p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.step .step-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--good-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ---------- podgląd konfiguratora ---------- */

.mock-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-2);
  margin: 40px 0 20px;
}

.configurator-mock {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-raised);
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.55);
}

.mock-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-raised-2);
}

.mock-topbar .dots {
  display: flex;
  gap: 6px;
}

.mock-topbar .dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock-topbar .url {
  font-size: 12.5px;
  color: var(--muted-2);
  font-family: monospace;
  margin-left: 8px;
}

.mock-body {
  display: grid;
  grid-template-columns: 220px 1fr 210px;
  min-height: 340px;
}

@media (max-width: 860px) {
  .mock-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.mock-panel {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.mock-panel:last-child {
  border-right: none;
}

.mock-panel h4 {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-2);
  margin: 0 0 14px;
  font-weight: 700;
}

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 7px;
  font-size: 13.5px;
  margin-bottom: 6px;
  color: var(--muted);
}

.mock-row.active {
  background: var(--good-soft);
  color: var(--accent);
  font-weight: 700;
}

.mock-swatches {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.mock-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
}

.mock-swatch.sel {
  border-color: var(--fg);
}

.mock-preview-canvas {
  background: var(--bg);
  border-radius: 10px;
  height: 100%;
  min-height: 220px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-preview-canvas .bar {
  height: 10px;
  border-radius: 4px;
  background: var(--line-strong);
}

.mock-preview-canvas .bar.w60 { width: 60%; }
.mock-preview-canvas .bar.w40 { width: 40%; }
.mock-preview-canvas .bar.w80 { width: 80%; }

.mock-preview-canvas .block {
  margin-top: auto;
  height: 68px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--good-soft), transparent);
  border: 1px dashed rgba(230, 196, 40, 0.4);
}

.mock-price {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  color: var(--fg);
}

.mock-price .cur {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-2);
  display: block;
}

.mock-line {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
}

.mock-line:last-of-type {
  border-bottom: none;
}

.mock-cta {
  margin-top: 16px;
  width: 100%;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: 7px;
  padding: 11px;
  font-weight: 700;
  font-size: 13px;
  font-family: "Manrope", sans-serif;
}

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

.faq {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 4px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--fg);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  flex: none;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0 4px 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- domknięcie / cta ---------- */

.closing {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 72px 48px;
  text-align: center;
}

.closing h2 {
  font-size: 38px;
  max-width: 20ch;
  margin: 0 auto;
  color: var(--fg);
  position: relative;
  z-index: 2;
}

.closing p {
  color: var(--muted);
  font-size: 16.5px;
  margin: 16px auto 32px;
  max-width: 48ch;
  position: relative;
  z-index: 2;
}

.closing .hero-actions {
  justify-content: center;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 64px;
  color: var(--muted-2);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* ---------- responsywność (szkic, jak w motywie głównej strony) ---------- */

@media (max-width: 960px) {
  .site-header,
  .hero,
  section.block {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .frame-wrap {
    align-self: center;
    width: 300px;
    height: 340px;
  }

  .stack-card-alt,
  .stack-card-accent {
    width: 270px;
    height: 320px;
  }

  .export-frame {
    width: 270px;
    height: 320px;
    right: 14px;
    top: 6px;
  }

  .sticker-ads {
    top: 190px;
  }

  .primary-nav {
    display: none;
  }

  .trap-grid {
    grid-template-columns: 1fr;
  }

  .closing {
    padding: 48px 24px;
  }
}
