    :root {
      /* --- DARK THEME (DEFAULT) --- */
      --bg-color: #000000;
      --text-color: #ffffff;
      --text-color-alt: #000000;
      --text-muted: rgba(235,235,245,0.60);
      --card-bg: rgba(28, 28, 30, 0.92);
      --card-border: rgba(255,255,255,0.10);
      --accent-beige: #ffffff;

      --selected-bg: #ffffff;
      --selected-text: #000000;
      --selected-border: #ffffff;

      --btn-bg: #ffffff;
      --btn-text: #000000;

      --icon-bg:rgb(98 98 98 / 44%);

      --graph-blue: #4a90e2;
      --graph-grey: rgba(255,255,255,0.35);

      --warning-bg: #3a2a1c;
      --warning-border: #9c6e38;

      --footer-border: rgba(255,255,255,0.08);
      --transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    }

    [data-theme="light"] {
      --bg-color: #ffffff;
      --text-color: #000000;
      --text-color-alt: #ffffff;
      --text-muted: rgba(60,60,67,0.60);
      --card-bg: rgba(242, 242, 247, 0.92);
      --card-border: rgba(0,0,0,0.08);
      --accent-beige: #000000;

      --selected-bg: #000000;
      --selected-text: #ffffff;
      --selected-border: #000000;

      --btn-bg: #000000;
      --btn-text: #ffffff;

      --icon-bg: rgba(0,0,0,0.05);

      --warning-bg: #fff4e5;
      --warning-border: #ffcc00;

      --footer-border: rgba(0,0,0,0.08);
    }



    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; outline: none; }
    html, body { height: 100%; }

    body {
      font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "SF Pro Text",
        "Manrope",
        system-ui,
        sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      height: 100dvh;
      width: 100%;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      transition: background-color 0.3s, color 0.3s;
    }

    /* --- HEADER --- */
    header {
      padding: 0 20px;
      height: 64px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: rgba(0,0,0,0.65);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      z-index: 100;
      flex-shrink: 0;
      position: absolute;
      top: 0; left: 0; right: 0;
      border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    [data-theme="light"] header {
      background: rgba(255,255,255,0.70);
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .header-left, .header-right { width: 92px; display: flex; align-items: center; }
    .header-right { justify-content: flex-end; gap: 10px; }

    .logo {
      flex: 1;
      text-align: center;
      font-weight: 800;
      font-size: 18px;
      letter-spacing: -0.02em;
    }

    .nav-btn {
      width: 44px; height: 44px;
      border: none; border-radius: 999px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px; cursor: pointer; color: var(--text-color);
      transition: var(--transition);
      background: transparent;
      padding: 0;
    }
    .nav-btn:hover { background: var(--icon-bg); }
    .nav-btn svg { width: 24px; height: 24px; fill: currentColor; display: block; }

    .progress-bar-container {
      width: 100%; height: 2px; background: rgba(128,128,128,0.18);
      position: absolute; top: 64px; left: 0; z-index: 90;
    }
    .progress-bar-fill { height: 100%; background: var(--accent-beige); width: 0%; transition: width 0.4s ease; }

    /* --- SIDEBAR --- */
    .sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(6px); }
    .sidebar-overlay.active { opacity: 1; pointer-events: auto; }
    .sidebar {
      position: fixed; top: 0; right: -320px; width: 320px; height: 100%;
      background: var(--card-bg); z-index: 2001; transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
      padding: 80px 26px 40px; display: flex; flex-direction: column; gap: 16px;
      border-left: 1px solid var(--card-border);
      box-shadow: -10px 0 30px rgba(0,0,0,0.5);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .sidebar.active { right: 0; }
    .sidebar-item { font-size: 16px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--card-border); cursor: pointer; color: var(--text-color); letter-spacing: -0.01em; }
    .close-menu { position: absolute; top: 16px; right: 16px; font-size: 28px; cursor: pointer; color: var(--text-color); }

    /* --- MAIN --- */
    main {
      flex: 1;
      overflow-y: auto;
      padding: 96px 20px 120px;
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    main::-webkit-scrollbar { display: none; }
h1{
    align-items: center;
    text-align: center;
}
    .step {
      display: none;
      width: 100%;
      align-items: center;
      margin: 0 auto;
      flex-direction: column;
      animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .step.active { display: flex; }
    .step[data-long="true"] { margin: 0; }

    @media(max-width:1000px){
        .step{
            max-width: 620px;
        }
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* --- TYPOGRAFIA (BetterMe-like) --- */
    h1 {
      font-size: 30px;
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.03em;
      color: var(--text-color);
      text-transform: none;
    }
    .subtitle {
      font-size: 14px;
      color: var(--text-muted);
      margin-top: 10px;
      margin-bottom: 26px;
      letter-spacing: 0.02em;
      font-weight: 700;
      text-transform: uppercase;
    }

    /* --- GRID WIEKU --- */
    .grid-age { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
    @media (min-width: 768px) { .grid-age { grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 900px; } }

    .card-age {
      background: var(--card-bg);
      border-radius: 18px;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      aspect-ratio: 3/4;
      border: 1px solid var(--card-border);
      transition: transform 0.2s ease, border-color 0.2s ease;
      
    }
    .card-age:hover { border-color: rgba(255,255,255,0.18); transform: translateY(-3px); }
    [data-theme="light"] .card-age:hover { border-color: rgba(0,0,0,0.12); }
    .card-age img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.92); transition: 0.3s; }

    .card-label {
      position: absolute; bottom: 0; left: 0; right: 0;
      background: var(--accent-beige);
      padding: 14px 14px;
      display: flex; justify-content: space-between; align-items: center;
      color: var(--text-color-alt); font-weight: 800; font-size: 14px;
      letter-spacing: -0.01em;
    }
    .arrow-circle {
      background: #000; color: #fff; width: 26px; height: 26px;
      border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px;
    }

    /* --- LISTY --- */
    .list-options { width: 100%; display: flex; flex-direction: column; gap: 14px; }

    .option-card {
      background: var(--card-bg);
      padding: 20px 20px;
      border-radius: 18px;
      display: flex; justify-content: space-between; align-items: center;
      cursor: pointer;
      border: 1px solid var(--card-border);
      transition: var(--transition);
      width: 100%;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .option-card:active { transform: scale(0.985); }

    .option-card.selected {
      background: var(--selected-bg);
      border-color: var(--selected-border);
      box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    }

    .option-content { display: flex; align-items: center; gap: 14px; }
    .option-text {
      font-size: 17px;
      font-weight: 750;
      letter-spacing: -0.015em;
      color: var(--text-color);
      transition: color 0.2s;
    }
    .option-card.selected .option-text { color: var(--selected-text); }

    .icon-bg {
      width: 44px; height: 44px; flex-shrink: 0;
      background: var(--icon-bg); color: var(--text-color);
      border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 22px;
      transition: var(--transition);
    }

    .checkbox {
      width: 28px; height: 28px; border: 2px solid rgba(255,255,255,0.25);
      border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: 0.2s;
    }
    [data-theme="light"] .checkbox { border-color: rgba(0,0,0,0.18); }
    .radio {
      width: 28px; height: 28px; border: 2px solid rgba(255,255,255,0.25);
      border-radius: 999px; transition: 0.2s;
    }
    [data-theme="light"] .radio { border-color: rgba(0,0,0,0.18); }

    .option-card.selected .radio {
      border-color: var(--selected-text);
      border-width: 7px;
    }
    .option-card.selected .checkbox {
      background: var(--selected-text);
      border-color: var(--selected-text);
    }
    .option-card.selected .checkbox::after {
      content: '✓';
      color: var(--selected-bg);
      font-weight: 900;
    }

    /* --- STEP 5 (BetterMe layout) --- */
    #step5 h1 {
      text-align: center;
      width: 100%;
      font-size: 34px;
      font-weight: 850;
      letter-spacing: -0.035em;
      margin-bottom: 18px;
    }

    .goal-wrapper {
      position: relative;
      width: 100%;
      min-height: 520px;
      height:calc(100dvh - 224px);
      border-radius: 26px;
      overflow: hidden;
      padding: 18px 0 0;
      background:
        radial-gradient(1200px 520px at 85% 30%, rgba(227,218,201,0.10), transparent 55%),
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.00) 45%, rgba(0,0,0,0.28) 100%);
    }


    .goal-bg-fade {
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 52%, rgba(0,0,0,0.10) 100%);
      pointer-events: none;
    }
    [data-theme="light"] .goal-bg-fade {
      background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.55) 55%, rgba(255,255,255,0.15) 100%);
    }

    .goal-options {
      position: relative;
      width: 100%;
      z-index: 10;
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 0 0 28px;
    }

    .goal-options .option-card {
      width: 76%;
      max-width: 420px;
      margin-left: 0;
      border-radius: 18px;
    }

    .goal-man-img {
      position: absolute;
      right: -24px;
      bottom: -52px;
      width: 72%;
      max-width: 360px;
      height: auto;
      z-index: 3;
      pointer-events: none;
      mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
      -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    }

    /* --- STEP 10 (Chart Card) --- */
    .graph-card {
      width: 100%;
      max-width: 720px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 26px;
      padding: 20px 18px 18px;
      box-shadow: 0 18px 60px rgba(0,0,0,0.35);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      position: relative;
      overflow: hidden;
    }

    .graph-title {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 10px;
    }
    .graph-title h3 {
      font-size: 15px;
      font-weight: 850;
      letter-spacing: -0.02em;
      margin: 0;
      color: var(--text-color);
    }
    .graph-sub {
      font-size: 12px;
      font-weight: 750;
      letter-spacing: 0.01em;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .legend-pills {
      display: flex;
      gap: 10px;
      margin-top: 10px;
      margin-bottom: 10px;
      flex-wrap: wrap;
    }
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 8px 10px;
      border-radius: 999px;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: -0.01em;
      border: 1px solid var(--card-border);
      background: rgba(255,255,255,0.04);
    }
    .dot {
      width: 10px;
      height: 10px;
      border-radius: 999px;
      background: var(--graph-blue);
      box-shadow: 0 8px 18px rgba(74,144,226,0.30);
    }
    .dot.grey { background: rgba(255,255,255,0.40); box-shadow: none; }

    .chart-wrap {
      width: 100%;
      height: 260px;
      position: relative;
      margin-top: 8px;
    }
    @media (min-width: 768px) {
      .chart-wrap { height: 320px; }
    }

    /* --- INPUTY --- */
    .input-wrap {
      display: flex; align-items: baseline; justify-content: center; gap: 12px;
      border-bottom: 2px solid var(--text-muted);
      padding-bottom: 8px; margin-top: 36px;
    }
    .input-wrap input {
      background: transparent; border: none; color: var(--text-color);
      font-size: 72px; font-weight: 900; letter-spacing: -0.04em;
      width: 180px; text-align: right; outline: none;
    }
    .input-wrap span { font-size: 28px; color: var(--text-muted); font-weight: 750; }

    /* --- WELLNESS --- */
    .wellness-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: 26px;
      padding: 28px;
      width: 100%;
      max-width: 560px;
      color: var(--text-color);
      box-shadow: 0 18px 60px rgba(0,0,0,0.35);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }
    .bmi-track {
      height: 12px;
      background: linear-gradient(90deg, #81d4fa, #a5d6a7, #fff59d, #ffcc80, #ef9a9a);
      border-radius: 8px;
      margin: 52px 0 18px;
      position: relative;
    }
    .bmi-thumb {
      position: absolute; top: -45px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; transition: left 1s ease;
    }
    .thumb-bubble {
      background: var(--accent-beige); color: var(--text-color-alt);
      padding: 7px 14px; border-radius: 12px;
      font-size: 13px; font-weight: 900;
      margin-bottom: 8px; position: relative; white-space: nowrap;
    }
    .thumb-bubble::after {
      content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
      border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--accent-beige);
    }
    .thumb-dot { width: 24px; height: 24px; background: #fff; border: 4px solid var(--card-bg); border-radius: 50%; }

    .risk-box {
      background: var(--warning-bg);
      border-radius: 16px;
      padding: 18px;
      margin: 24px 0;
      border-left: 4px solid var(--warning-border);
    }

    .stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-item { display: flex; align-items: center; gap: 12px; }
    .stat-icon {
      width: 46px; height: 46px;
      background: var(--icon-bg);
      border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      color: var(--text-muted);
    }

    /* LOADER */
    .spinner {
      width: 56px; height: 56px;
      border: 5px solid rgba(255,255,255,0.10);
      border-top-color: var(--accent-beige);
      border-radius: 50%;
      animation: spin 1s linear infinite;
      margin-bottom: 22px;
    }
    @keyframes spin { to { transform: rotate(360deg); } }

    /* --- FOOTER --- */
    footer {
      position: fixed; bottom: 0; left: 0; width: 100%;
      padding: 18px 20px calc(22px + env(safe-area-inset-bottom));
      background: rgba(0,0,0,0.72);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-top: 1px solid var(--footer-border);
      display: flex; justify-content: center;
      z-index: 900;
      transition: opacity 0.3s;
    }
    [data-theme="light"] footer { background: rgba(255,255,255,0.72); }

    footer.hidden { opacity: 0; pointer-events: none; }

    .btn-continue {
      background: var(--btn-bg);
      color: var(--btn-text);
      border: none;
      padding: 18px 22px;
      border-radius: 999px;
      width: 80%;
      max-width: 460px;
      font-size: 15px;
      font-weight: 900;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      cursor: pointer;
      box-shadow: 0 12px 35px rgba(0,0,0,0.35);
      transition: var(--transition);
    }
    .btn-continue:active { transform: scale(0.985); opacity: 0.92; }
    /* =========================
   SOCIAL PROOF (Before/After)
========================= */
.proof-wrap{
  width: 100%;
  max-width: 720px;
  margin-top: 10px;
}

.proof-title{
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.proof-card{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.proof-carousel{
  position: relative;
  width: 100%;
  overflow: hidden;
}

.proof-track{
  display: flex;
  transition: transform .35s cubic-bezier(0.22, 1, 0.36, 1);
}

.proof-slide{
  min-width: 100%;
  padding: 14px;
}

.proof-beforeafter{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.02);
  display: grid;
  grid-template-columns: 1fr 0;
  gap: 1px;
}

.proof-beforeafter img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px){
  .proof-beforeafter img{ height: 340px; }
}

.proof-arw{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(0,0,0,0.55);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
[data-theme="light"] .proof-arw{
  background: rgba(255,255,255,0.75);
  color: #000;
}

.proof-arw.left{ left: 10px; }
.proof-arw.right{ right: 10px; }

.proof-bar{
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid var(--card-border);
}

.proof-name{
  font-weight: 900;
  letter-spacing: -0.01em;
}

.proof-loss{
  color: #ff4d4d;
  font-weight: 900;
}

.proof-quote{
  padding: 14px 14px 4px;
  color: var(--text-color);
  font-size: 13px;
  line-height: 1.45;
  opacity: .92;
}

.proof-more{
  padding: 6px 14px 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================
   BODY GOAL (grid cards)
========================= */
.body-goal-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.body-tile{
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}

.body-tile:active{ transform: scale(0.985); }

.body-tile.selected{
  background: var(--selected-bg);
  border-color: var(--selected-border);
}

.body-img{
  width: 100%;

  border-radius: 14px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
  border: 1px solid var(--card-border);
}

.body-label{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.body-label span{
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text-color);
}
.body-tile.selected .body-label span{ color: var(--selected-text); }

.body-radio{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.25);
}
[data-theme="light"] .body-radio{ border-color: rgba(0,0,0,0.18); }

.body-tile.selected .body-radio{
  border-color: var(--selected-text);
  border-width: 7px;
}

/* =========================
   GOAL WEIGHT (segment + info)
========================= */
.segmented{
  display: inline-flex;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.06);
}

.segmented button{
  border: 0;
  background: transparent;
  padding: 10px 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  cursor: pointer;
}

.segmented button.active{
  background: rgba(255,255,255,0.14);
  color: var(--text-color);
}
[data-theme="light"] .segmented{
  background: rgba(0,0,0,0.04);
}
[data-theme="light"] .segmented button.active{
  background: rgba(0,0,0,0.08);
  color: var(--text-color);
}

.info-card{
  margin-top: 18px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 14px;
  color: var(--text-color);
}
.info-card .info-title{
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.info-card .info-text{
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}
.wellness-card {
    margin-top: 20px;
    margin-bottom: 30px;
}.option-card.selected>div>div {
    background: var(--btn-text);
}
#step8d h1 {
    text-align: center;
    width: 100%;
    font-size: 34px;
    font-weight: 850;
    letter-spacing: -0.035em;
    margin-bottom: 18px;
}/* =========================
   NOWE KROKI: NAME/EMAIL/LOADER/CHART/PAYWALL/SCRATCH
   ========================= */

/* Nagłówki jak na screenach (light UI) */
.bm-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1px;
  text-align: center;
  width: 100%;
  margin-bottom: 14px;
}
.bm-title.center { text-align:center; }

.bm-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.35;
  width: 100%;
  text-align: center;
  margin-bottom: 22px;
}
.bm-sub.center { text-align:center; }

.bm-link { color: #2f67d8; text-decoration: underline; }

/* Input underline (Name) */
.underline-field {
  width: 100%;
  max-width: 520px;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.underline-field input{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(120,120,120,.6);
  padding: 10px 0 14px;
  font-size: 56px;
  font-weight: 700;
  text-align: center;
  color: var(--text-color);
}
.underline-hint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Email card like screen */
.email-card {
  width: 100%;
  max-width: 640px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
}
.email-card input{
  width: 100%;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(120,120,120,.35);
  background: rgba(255,255,255,.02);
  color: var(--text-color);
  font-size: 18px;
  font-weight: 600;
}
.email-privacy {
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}
.lock {
  width: 18px;
  height: 18px;
  opacity: .7;
}

/* Circular loader (18%) */
.loader-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  gap: 14px;
}
.ring {
  width: 180px;
  height: 180px;
  position: relative;
  margin: 6px 0 6px;
}
.ring svg { width:100%; height:100%; transform: rotate(-90deg); }
.ring .bg { stroke: rgba(140,140,140,.22); stroke-width: 14; fill:none; }
.ring .fg { stroke: #2f4f7f; stroke-width: 14; stroke-linecap: round; fill:none; stroke-dasharray: 471; stroke-dashoffset: 386; transition: .8s ease; }
.ring .pct{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 52px;
  font-weight: 800;
  letter-spacing:-1px;
}
.ring .pct span{ font-size: 22px; margin-left: 4px; font-weight: 800; }

.big-stat{
  font-size: 42px;
  font-weight: 800;
  letter-spacing:-1px;
  text-align:center;
}
.big-stat b{ color: #2f4f7f; }
.review-card{
  width:100%;
  max-width: 640px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 18px;
}
.stars{
  display:flex; gap:4px; margin-bottom: 10px;
}
.star{
  width: 26px; height: 18px;
  background: #1aa36f;
  border-radius: 2px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size: 12px; font-weight:900;
}
.review-head{
  display:flex; justify-content:space-between; align-items:baseline;
  margin-bottom: 8px;
}
.review-title{
  font-weight: 800;
  font-size: 22px;
}
.review-name{ color: var(--text-muted); font-weight: 700; }
.review-body{ color: var(--text-color); opacity:.9; font-size: 16px; line-height:1.45; }

/* Weight prediction chart card */
.pred-card{
  width:100%;
  max-width: 720px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 18px 18px 12px;
}
.pred-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background: rgba(120,120,120,.12);
  border: 1px solid rgba(120,120,120,.2);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  margin: 10px auto 14px;
}
.pred-note{
  width:100%;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
  margin-top: 12px;
}
.pred-chart{
  width:100%;
  height: 220px;
  position:relative;
  background: rgba(140,140,140,.12);
  border-radius: 16px;
  overflow:hidden;
}
.pred-chart .gridline{
  position:absolute; left:0; right:0;
  height:1px; background: rgba(140,140,140,.18);
}
.pred-x{
  display:flex; justify-content:space-between;
  margin-top: 10px;
  color: rgba(120,120,120,.9);
  font-weight: 800;
}
.pred-y{
  position:absolute; left: 10px; top: 10px;
  color: rgba(120,120,120,.9);
  font-weight: 800;
  font-size: 12px;
}

/* Step17 mini plan chart (Week1-Week4) */
.mini-chart{
  width:100%;
  max-width: 720px;
  background: rgba(140,140,140,.12);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(140,140,140,.18);
}
.mini-chart h3{
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}
.mini-legend{
  margin-top: 8px;
  color: rgba(120,120,120,.9);
  font-weight: 800;
  font-size: 12px;
}

/* Scratch discount */
.scratch-wrap{
  width:100%;
  max-width: 520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 14px;
}
.ticket{
  width: 100%;
  border-radius: 22px;
  background: #2f4f7f;
  padding: 18px;
  position:relative;
  overflow:hidden;
}
.ticket::before, .ticket::after{
  content:"";
  position:absolute;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-color);
  top: 52%;
  transform: translateY(-50%);
}
.ticket::before{ left: -14px; }
.ticket::after{ right: -14px; }

.ticket-inner{
  background: rgba(255,255,255,.07);
  border-radius: 18px;
  padding: 22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  color:#fff;
  min-height: 260px;
  justify-content:center;
  gap: 10px;
}
.ticket-inner .big{
  font-size: 78px;
  font-weight: 900;
  line-height: 1;
}
.ticket-inner .mid{
  font-size: 28px;
  font-weight: 900;
}
.ticket-inner .small{
  font-size: 18px;
  opacity:.95;
  text-align:center;
}
.ticket-cut{
  width:100%;
  height: 0;
  border-top: 3px dashed rgba(255,255,255,.65);
  margin: 16px 0;
}
.promo-box{
  width: 100%;
  background: #fff;
  color: #111;
  border-radius: 14px;
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  font-size: 20px;
  gap: 10px;
}
.promo-box .ok{ color: #1aa36f; font-weight: 900; }

/* Paywall plans */
.pay-top{
  width:100%;
  max-width: 720px;
  background: rgba(47,79,127,.12);
  border: 1px solid rgba(47,79,127,.22);
  border-radius: 18px;
  padding: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.pay-top .timer{
  font-weight: 900;
  font-size: 46px;
  letter-spacing:-1px;
  color:#2f4f7f;
  line-height:1;
}
.pay-top .timer small{ font-size: 16px; font-weight:900; color: rgba(120,120,120,.9); margin-left: 6px; }
.pay-top .cta-mini{
  background:#2f4f7f;
  color:#fff;
  border:none;
  border-radius: 999px;
  padding: 18px 22px;
  font-weight: 900;
  letter-spacing:.5px;
  text-transform: uppercase;
}
.plans{
  width:100%;
  max-width: 720px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin-top: 16px;
}
.plan{
  background: var(--card-bg);
  border: 2px solid rgba(140,140,140,.25);
  border-radius: 18px;
  padding: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  cursor:pointer;
}
.plan .left{
  display:flex; align-items:flex-start; gap: 12px;
}
.plan .radio{
  width: 28px; height: 28px;
  border: 2px solid rgba(120,120,120,.55);
  border-radius: 50%;
  margin-top: 4px;
}
.plan.selected{
  border-color: #2f4f7f;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
}
.plan.selected .radio{
  border-width: 8px;
  border-color: #2f4f7f;
}
.plan .name{
  font-size: 34px;
  font-weight: 900;
  letter-spacing:-1px;
  line-height:1.05;
}
.plan .sub{
  margin-top: 6px;
  color: rgba(120,120,120,.95);
  font-weight: 800;
}
.plan .price{
  text-align:right;
}
.plan .price .big{
  font-size: 40px;
  font-weight: 900;
  letter-spacing:-1px;
}
.plan .price .per{
  color: rgba(120,120,120,.95);
  font-weight: 800;
}
.plan .strike{ text-decoration: line-through; color: rgba(120,120,120,.8); font-weight: 900; }
.plan .tag{
  background:#2f4f7f;
  color:#fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 900;
  font-size: 12px;
  display:inline-block;
  margin-bottom: 8px;
}
.pay-legal{
  width:100%;
  max-width: 720px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(140,140,140,.25);
  border-radius: 14px;
  color: rgba(120,120,120,.95);
  font-size: 13px;
  line-height:1.35;
}
/* --- UJEDNOLICENIE CZCIONEK (kroki 13–19) --- */
#step13 .bm-title,
#step14 .bm-title,
#step15 .bm-title,
#step16 .bm-title,
#step18 .bm-title,
#step19 .bm-title{
  font-size: 34px;
}

#step15 .big-stat{ font-size: 34px; }
#step15 .big-stat .sub{ font-size: 16px; }

#step15 .review-title{ font-size: 18px; }
#step15 .review-body{ font-size: 15px; }

.plan .name{ font-size: 28px; }

/* --- ANIMACJE WYKRESÓW (SVG) --- */
.svg-line {
  stroke-dasharray: var(--dash, 1);
  stroke-dashoffset: var(--dash, 1);
  transition: stroke-dashoffset 2s cubic-bezier(0.25, 1, 0.5, 1);
}
.svg-fill {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease, transform .6s ease;
}
.svg-fill.show {
  opacity: 1;
  transform: translateY(0);
}
/* ===== Scratch card (step18) ===== */
.scratch-wrap { display:flex; justify-content:center; }
#scratchTicket { position:relative; overflow:hidden; }
.scratch-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  touch-action:none;
  border-radius:22px;
}
.ticket-inner.revealed .mid { opacity:0; transform:translateY(-6px); transition:.35s; }
.ticket-inner.revealed .promo-box { opacity:1 !important; transform:translateY(0); transition:.35s; }

/* ===== Pay/Plans (step19) – polishing ===== */
.pay-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.plan{
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:rgba(255,255,255,.92);
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.plan.selected{
  border-color:rgba(43, 80, 125, .55);
  box-shadow:0 14px 28px rgba(43, 80, 125, .18);
}
.plan .name{ font-weight:900; letter-spacing:-0.01em; }
.plan .sub{ opacity:.82; }
/* ===== Checkout modal (paywall) ===== */
.checkout-modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:18px;z-index:9999}
.checkout-modal.active{display:flex}
.checkout-card{width:min(420px,100%);background:#fff;border-radius:18px;padding:18px 16px;box-shadow:0 18px 50px rgba(0,0,0,.35);position:relative}
.checkout-card h3{margin:2px 0 14px;font-size:20px;font-weight:800;color:#111}
.checkout-card .x{position:absolute;right:10px;top:10px;width:34px;height:34px;border-radius:12px;border:0;background:#f1f1f1;font-size:22px;line-height:1;cursor:pointer}
.pay-row{display:flex;gap:10px;margin-bottom:10px}
.pay-btn{width:100%;border:0;border-radius:14px;padding:14px 14px;font-weight:800;cursor:pointer}
.pay-btn.paypal{background:#f1c24c}
.pay-btn.gpay{background:#111;color:#fff}
.pay-btn.card{background:#e9eef5;color:#111;margin-bottom:12px}
.file-pay{background:#f5f7fa;border-radius:16px;padding:12px}
.file-pay .label{font-size:13px;color:#333;margin-bottom:8px;font-weight:700}
.file-pay input{width:100%;padding:10px;border-radius:12px;border:1px solid #d8dde5;background:#fff;margin-bottom:10px}
.pay-btn.file{background:#2f5b8a;color:#fff}
/* ===== PAYWALL (step19) ===== */
.paywall{max-width:740px;margin:0 auto;padding:16px 16px 26px}
.pay-top{display:flex;align-items:flex-start;gap:12px}
.pay-timer{min-width:130px}
.pay-timer .time{font-size:42px;font-weight:900;line-height:1}
.pay-timer .sep{padding:0 3px}
.pay-timer .lbl{font-size:12px;color:var(--text-muted);margin-top:4px}
.pay-cta{flex:1;border:0;border-radius:999px;background:#2e557f;color:#fff;
  height:48px;font-weight:800;letter-spacing:.4px}
.pay-disclaimer{margin:14px 2px 18px;color:var(--text-muted);font-size:12.5px;line-height:1.35}
.pay-h2{font-size:38px;line-height:1.05;margin:10px 0 14px;font-weight:900}
.pay-h2.center{text-align:center}
.pay-h2.mt{margin-top:26px}

.promo-ticket{background:#dcebea;border-radius:18px;padding:14px 14px 16px;border:1px solid rgba(0,0,0,.06)}
.promo-head{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px}
.tag-ic{font-size:18px;opacity:.9}
.promo-body{display:flex;align-items:stretch;gap:12px;margin-top:12px}
.promo-code{flex:1;background:#f4f6f7;border-radius:14px;padding:14px 14px;display:flex;align-items:center;gap:10px;border:1px solid rgba(0,0,0,.06)}
.promo-code .ok{color:#2aa06d;font-weight:900}
.promo-code .code{font-size:18px;font-weight:800}
.promo-mini-timer{width:130px;background:#cfe6e2;border-radius:14px;padding:12px 10px;text-align:center;border:1px solid rgba(0,0,0,.05)}
.promo-mini-timer .big{font-size:28px;font-weight:900;line-height:1}
.promo-mini-timer .small{font-size:11px;color:rgba(0,0,0,.55);margin-top:6px}

.plans{display:flex;flex-direction:column;gap:12px;margin-top:14px}
.plan{position:relative;background:#eef2f4;border-radius:18px;padding:14px 14px;border:1px solid rgba(0,0,0,.08);display:flex;justify-content:space-between;gap:12px}
.plan .plan-left{display:flex;gap:12px;align-items:flex-start}
.plan .radio{width:22px;height:22px;border-radius:999px;border:2px solid rgba(0,0,0,.2);margin-top:4px;flex:0 0 auto}
.plan.selected .radio{border-color:#2e557f;background:#2e557f;box-shadow:inset 0 0 0 4px #eef2f4}
.plan-name{font-size:28px;font-weight:900;line-height:1.05}
.plan-sub{margin-top:6px}
.pill{display:inline-block;background:rgba(0,0,0,.06);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;letter-spacing:.4px}
.plan-price-old{margin-top:8px;color:rgba(0,0,0,.55);font-size:16px}
.plan-right{text-align:right;min-width:110px}
.perday-old{color:rgba(0,0,0,.45);text-decoration:line-through;font-weight:800}
.perday{font-size:34px;font-weight:900;line-height:1}
.perday-lbl{color:rgba(0,0,0,.55);font-size:12px;margin-top:3px}

.plan.popular{border:2px solid #2e557f;background:#eef2f4}
.popular-band{position:absolute;left:10px;right:10px;top:-12px;height:28px;border-radius:10px;
  background:#2e557f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;letter-spacing:.8px}

.pay-get{width:100%;height:56px;border-radius:999px;border:0;background:#2e557f;color:#fff;font-weight:900;font-size:18px;margin:16px 0 12px}
.pay-legal{background:#f3f4f5;border-radius:14px;padding:14px 14px;color:rgba(0,0,0,.6);font-size:12.5px;line-height:1.35;border:1px solid rgba(0,0,0,.06)}

.reviews{display:flex;flex-direction:column;gap:12px}
.rev{background:#eef2f4;border:1px solid rgba(0,0,0,.06);border-radius:16px;padding:14px}
.rev-top{display:flex;justify-content:space-between;align-items:center}
.rev-name{font-size:24px;font-weight:900}
.stars{color:#f4a62a;font-weight:900;letter-spacing:1px}
.rev-text{margin-top:8px;color:rgba(0,0,0,.55);font-size:14.5px;line-height:1.35}
.rev-text .more{color:#2e557f;font-weight:800;margin-left:6px}

.faq details{background:#fff;border-radius:14px;border:1px solid rgba(0,0,0,.08);padding:12px 12px;margin-bottom:10px}
.faq summary{font-weight:900;font-size:18px;cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq-body{margin-top:10px;color:rgba(0,0,0,.55);font-size:14.5px;line-height:1.35}

.results{margin-top:8px}
.res-frame{position:relative;background:#eef2f4;border-radius:18px;overflow:hidden;border:1px solid rgba(0,0,0,.06)}
.res-imgs{display:grid;grid-template-columns:1fr 1fr}
.res-imgs img{width:100%;height:320px;object-fit:cover;display:block}
.res-caption{position:absolute;left:10px;right:10px;bottom:10px;background:rgba(255,255,255,.92);
  border-radius:12px;padding:10px 12px;text-align:center;font-size:18px;font-weight:900}
.res-nav{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:999px;border:0;background:rgba(255,255,255,.9);font-size:22px;font-weight:900}
.res-nav.left{left:10px}
.res-nav.right{right:10px}
.res-card{margin-top:10px;background:#eef2f4;border-radius:18px;border:1px solid rgba(0,0,0,.06);padding:14px;color:rgba(0,0,0,.55);line-height:1.35}
.readmore{text-align:center;margin-top:10px;color:rgba(0,0,0,.45);font-weight:800}
.dots{display:flex;justify-content:center;gap:8px;margin-top:10px}
.dot{width:8px;height:8px;border-radius:999px;background:rgba(0,0,0,.2)}
.dot.active{background:rgba(0,0,0,.6)}

.highlights{background:#eef2f4;border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:14px}
.hi{display:flex;gap:12px;align-items:flex-start}
.hi-ic{width:38px;height:38px;border-radius:999px;background:rgba(0,0,0,.05);display:flex;align-items:center;justify-content:center}
.muted{color:rgba(0,0,0,.55);margin-top:2px}

.featured{display:flex;justify-content:center;gap:22px;color:rgba(0,0,0,.35);font-weight:900;margin:10px 0 18px}

.moneyback{background:#eef2f4;border:1px solid rgba(0,0,0,.06);border-radius:18px;padding:16px;text-align:left}
.mb-ic{font-size:28px}
.mb-title{font-size:30px;font-weight:900;line-height:1.05;margin:6px 0 10px}
.mb-text{color:rgba(0,0,0,.55);line-height:1.35}
.mb-link{margin-top:10px;color:#2e557f;font-weight:800}

.pw-footer{margin-top:20px;padding-bottom:10px;text-align:center}
.small-muted{color:rgba(0,0,0,.45);font-size:12px}

/* ===== CHECKOUT MODAL ===== */
.checkout-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);display:none;align-items:flex-start;justify-content:center;padding:12px;z-index:9999}
.checkout-overlay.show{display:flex}
.checkout{width:min(720px, 96vw);background:#f5f5f6;border-radius:18px;padding:14px 14px 16px;margin-top:10px;position:relative}
.checkout .x{position:absolute;left:10px;top:10px;width:34px;height:34px;border-radius:999px;border:0;background:rgba(0,0,0,.06);font-size:22px;font-weight:900}
.co-title{font-size:28px;font-weight:900;text-align:center;margin:6px 0 12px}
.co-row{display:flex;justify-content:space-between;gap:10px;font-weight:700}
.co-sub{color:rgba(0,0,0,.45);font-size:12px;margin:4px 0 10px}
.co-amt{font-weight:900}
.co-red{color:#d85151;font-weight:900}
.co-applied{background:#e9eef2;border-radius:10px;padding:10px 12px;margin:8px 0 12px;color:rgba(0,0,0,.55);text-align:center}
.co-total{display:flex;justify-content:space-between;align-items:center;margin-top:8px}
.co-total-amt{font-size:28px;font-weight:900}
.co-save{color:#d85151;font-weight:900;margin:6px 0 10px;text-align:center}

.paybox{background:#dde3e7;border-radius:14px;border:1px solid rgba(0,0,0,.06);padding:12px}
.paybox-head{display:flex;align-items:center;gap:10px;font-weight:900}
.paybox-head .chk{width:22px;height:22px;border-radius:999px;background:#2e557f;color:#fff;display:flex;align-items:center;justify-content:center}
.paybox-head .logos{margin-left:auto;color:rgba(0,0,0,.55);font-weight:900}
.btn-paypal{width:100%;height:52px;border-radius:999px;border:0;background:#f2c24b;font-weight:900;font-size:18px;margin-top:10px}
.btn-gpay{width:100%;height:52px;border-radius:999px;border:0;background:#111;color:#fff;font-weight:900;font-size:18px;margin-top:10px}
.mt10{margin-top:10px}
.co-method{display:flex;align-items:center;gap:10px;font-weight:900}
.co-method input{transform:scale(1.1)}
.filepay{margin-top:10px;background:rgba(255,255,255,.55);border-radius:12px;padding:10px;border:1px dashed rgba(0,0,0,.12)}
.fp-h{font-weight:900;margin-bottom:8px}
.fp-in{width:100%}
.fp-btn{width:100%;height:44px;border-radius:999px;border:0;background:#2e557f;color:#fff;font-weight:900;margin-top:10px}

/* ===== “Wykres od spodu” (fill) – jeśli używasz .fill / #predFill / #miniFill ===== */
.fill, #predFill, #miniFill{
  transform-origin: bottom;
}
.fill.show, #predFill.show, #miniFill.show{
  animation: growUp .9s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes growUp{
  from{transform:scaleY(0)}
  to{transform:scaleY(1)}
}
/* =========================
   STEP19 – 1:1 jak screen (light + dark)
========================= */

#step19{
  width:100%;
  max-width: 720px;
  margin: 0 auto;
}

/* tło strony */
body[data-theme="light"] #step19{
  background: #f2f2f2;
}
body[data-theme="dark"] #step19{
  background: #0b0b0d;
}

/* wrapper */
#step19 .pw{
  width:100%;
  padding: 22px 16px 26px;
}

/* tytuł */
#step19 .pw-title{
  text-align:center;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 6px 0 18px;
  color: var(--text-color);
}

/* PROMO box */
#step19 .pw-promo{
  border-radius: 18px;
  padding: 14px 14px 16px;
  margin: 0 0 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #dfeeed; /* jak screen */
}
body[data-theme="dark"] #step19 .pw-promo{
  background: rgba(57,192,136,0.14);
  border-color: rgba(255,255,255,0.10);
}

#step19 .pw-promo-head{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: rgba(0,0,0,0.75);
}
body[data-theme="dark"] #step19 .pw-promo-head{
  color: rgba(245,245,247,0.86);
}
#step19 .pw-promo-icon{ font-size:18px; }

#step19 .pw-promo-body{
  display:flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 12px;
}

#step19 .pw-code{
  flex:1;
  display:flex;
  align-items:center;
  gap: 10px;
  border-radius: 14px;
  padding: 14px 14px;
  background: #f4f6f7;
  border: 1px solid rgba(0,0,0,0.06);
}
body[data-theme="dark"] #step19 .pw-code{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}
#step19 .pw-check{
  color:#2aa06d;
  font-weight: 900;
  width: 22px;
  text-align:center;
}
#step19 .pw-code-text{
  font-size: 18px;
  font-weight: 800;
  color: rgba(0,0,0,0.78);
}
body[data-theme="dark"] #step19 .pw-code-text{
  color: rgba(245,245,247,0.92);
}

#step19 .pw-mini-timer{
  width: 132px;
  text-align:center;
  border-radius: 14px;
  padding: 12px 10px;
  background: #cfe8e4;
  border: 1px solid rgba(0,0,0,0.05);
}
body[data-theme="dark"] #step19 .pw-mini-timer{
  background: rgba(57,192,136,0.16);
  border-color: rgba(255,255,255,0.10);
}
#step19 .pw-mini-time{
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,0.68);
}
body[data-theme="dark"] #step19 .pw-mini-time{
  color: rgba(245,245,247,0.88);
}
#step19 .pw-mini-label{
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(0,0,0,0.55);
}
body[data-theme="dark"] #step19 .pw-mini-label{
  color: rgba(245,245,247,0.62);
}

/* PLANS */
#step19 .pw-plans{
  display:flex;
  flex-direction:column;
  gap: 14px;
  margin: 12px 0 16px;
}

#step19 .pw-plan{
  position:relative;
  border-radius: 18px;
  padding: 16px 14px;
  background: #e9ecef;
  border: 1px solid rgba(0,0,0,0.10);
  display:flex;
  justify-content:space-between;
  gap: 12px;
  cursor:pointer;
}
body[data-theme="dark"] #step19 .pw-plan{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
}

#step19 .pw-plan-left{ display:flex; gap:12px; align-items:flex-start; }
#step19 .pw-plan-main{ min-width: 0; }

#step19 .pw-radio{
  width: 26px;
  height: 26px;
  border-radius:999px;
  border: 2px solid rgba(0,0,0,0.25);
  margin-top: 4px;
  flex: 0 0 auto;
  background: transparent;
}
body[data-theme="dark"] #step19 .pw-radio{
  border-color: rgba(245,245,247,0.35);
}

#step19 .pw-plan.selected .pw-radio{
  background: #2e557f;
  border-color: #2e557f;
  box-shadow: inset 0 0 0 5px #e9ecef;
}
body[data-theme="dark"] #step19 .pw-plan.selected .pw-radio{
  box-shadow: inset 0 0 0 5px rgba(255,255,255,0.06);
}

#step19 .pw-plan-name{
  font-size: 26px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: rgba(0,0,0,0.76);
}
body[data-theme="dark"] #step19 .pw-plan-name{
  color: rgba(245,245,247,0.92);
}

#step19 .pw-pill{
  display:inline-block;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  background: rgba(0,0,0,0.06);
  color: rgba(0,0,0,0.65);
}
body[data-theme="dark"] #step19 .pw-pill{
  background: rgba(255,255,255,0.10);
  color: rgba(245,245,247,0.72);
}

#step19 .pw-oldline{
  margin-top: 10px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(0,0,0,0.55);
}
body[data-theme="dark"] #step19 .pw-oldline{
  color: rgba(245,245,247,0.62);
}

#step19 .pw-plan-right{
  min-width: 110px;
  text-align:right;
}
#step19 .pw-perday-old{
  font-size: 14px;
  font-weight: 900;
  color: rgba(0,0,0,0.35);
  text-decoration: line-through;
}
body[data-theme="dark"] #step19 .pw-perday-old{
  color: rgba(245,245,247,0.40);
}
#step19 .pw-perday{
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: rgba(0,0,0,0.75);
}
body[data-theme="dark"] #step19 .pw-perday{
  color: rgba(245,245,247,0.92);
}
#step19 .pw-perlbl{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(0,0,0,0.45);
}
body[data-theme="dark"] #step19 .pw-perlbl{
  color: rgba(245,245,247,0.55);
}

/* MOST POPULAR */
#step19 .pw-plan--popular{
  border: 2px solid #2e557f;
  background: #e9ecef;
}
body[data-theme="dark"] #step19 .pw-plan--popular{
  background: rgba(255,255,255,0.06);
}
#step19 .pw-popular-band{
  position:absolute;
  left: 10px; right: 10px;
  top: -14px;
  height: 30px;
  border-radius: 10px;
  background: #2e557f;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

/* CTA */
#step19 .pw-get{
  width: 100%;
  height: 56px;
  border-radius: 999px;
  border: 0;
  background: #2e557f;
  color: #fff;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 4px 0 12px;
}

/* legal */
#step19 .pw-legal{
  width:100%;
  border-radius: 14px;
  padding: 14px 14px;
  font-size: 12.5px;
  line-height: 1.35;
  text-align: center;
  background: #f1f1f1;
  color: rgba(0,0,0,0.55);
  border: 1px solid rgba(0,0,0,0.06);
}
body[data-theme="dark"] #step19 .pw-legal{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: rgba(245,245,247,0.62);
}
/* --- PRECYZYJNY PAYWALL (DARK THEME) --- */
#step19 {
  background-color: #0b0b0d !important; /* Głębia tła ze screena */
  padding: 0;
  max-width: 100%;
}

.pw-container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* Sticky Timer na górze */
.pw-sticky-header {
  position: sticky;
  top: 64px;
  z-index: 95;
  background: rgba(11, 11, 13, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 20px;
}

.pw-sticky-timer {
  display: flex;
  gap: 12px;
}
.pw-sticky-timer .time-box { text-align: center; }
.pw-sticky-timer .val { font-size: 24px; font-weight: 800; line-height: 1; }
.pw-sticky-timer .lbl { font-size: 10px; color: var(--text-muted); text-transform: lowercase; }

.btn-get-sticky {
  background: #2b81fd;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
}

/* Avatar Comparison Section */
.comparison-card {
  background: var(--bg-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}
.comp-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}
.comp-img-wrap img {
  width: 100%;
  border-radius: 12px;
}
.comp-arrow { color: #2b81fd; font-size: 24px; font-weight: bold; }
.comp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 15px;
  gap: 15px;
}
.stat-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.stat-val { font-size: 15px; font-weight: 700; }

/* Promo Ticket (Greenish) */
.promo-ticket-new {
  background: #142926; /* Ciemna zieleń ze screena */
  border-radius: 16px;
  padding: 16px;
  position: relative;
  margin-bottom: 20px;
  border: 1px solid rgba(42, 160, 109, 0.2);
}
.promo-ticket-new::before, .promo-ticket-new::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  background: #0b0b0d;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.promo-ticket-new::before { left: -11px; }
.promo-ticket-new::after { right: -11px; }

.promo-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2aa06d;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.promo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(255,255,255,0.1);
  padding-top: 12px;
}
.promo-code-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
}
.promo-timer-mini {
  color: #2aa06d;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  gap: 4px;
}

/* Plan Cards */
.plan-list-new {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.plan-card-new {
  background: var(--bg-color);
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
}
.plan-card-new.selected {
  border-color: #2b81fd;
  background: var(--bg-color);
}
.plan-card-new .radio-circle {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  margin-right: 12px;
}
.plan-card-new.selected .radio-circle {
  background: #2b81fd;
  border-color: #2b81fd;
  box-shadow: inset 0 0 0 4px #1c1c1e;
}
.plan-info .name { font-size: 18px; font-weight: 800; }
.plan-info .sub-detail { font-size: 12px; color: var(--text-muted); margin-top: 4px; font-weight: 600; }
.plan-info .price-tag { color: #2b81fd; font-weight: 800; margin-top: 4px; }

.plan-price-right { text-align: right; }
.old-per-day { text-decoration: line-through; color: rgba(255,255,255,0.3); font-size: 13px; font-weight: 700; }
.new-per-day { font-size: 28px; font-weight: 900; line-height: 1; }
.per-day-lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Badge "Most Popular" */
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2b81fd;
  color: #fff;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

/* Legal text */
.pw-legal-new {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.pw-legal-new u { color: #fff; text-decoration: underline; }

.pw-main-cta {
  width: 100%;
  background: #2b81fd;
  color: #fff;
  border: none;
  height: 56px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  margin-top: 20px;
  cursor: pointer;
}

.container {
    max-width: 1128px;
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Nagłówek i Logo */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--borderTertiaryColor);
}

/* Karty Wyboru (np. wiek) */
.age-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Układ desktopowy */
    gap: 24px;
    width: 100%;
    margin-top: 40px;
}

.age-card {
    background: var(--backgroundSecondaryColor);
    border-radius: var(--answerOptionRadius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    border: 1px solid var(--borderTertiaryColor);
}

.age-card:hover, .age-card.active {
    outline: 2px solid var(--themePrimaryColor);
    box-shadow: var(--cardShadow);
}

.age-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.age-card .label {
    background: #FFFFFF;
    color: #000000;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
}

/* Sekcja Planów (Checkout) */
.plan-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin: 40px 0;
}

.plan-card {
    background: var(--backgroundSecondaryColor);
    border: 1px solid var(--borderTertiaryColor);
    border-radius: var(--answerOptionRadius);
    padding: 32px 24px;
    position: relative;
    cursor: pointer;
}

.plan-card.popular {
    outline: 2px solid var(--themePrimaryColor);
    background: var(--answerBackgroundColor);
}

.most-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--themePrimaryColor);
    color: white;
    padding: 4px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Przyciski */
.btn-primary {
    background-color: var(--themePrimaryColor);
    color: #FFFFFF;
    border-radius: var(--buttonRadius);
    padding: var(--buttonPadding);
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-size: 18px;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.btn-primary:hover {
    opacity: 0.9;
}
.pw-sticky-header {
    position: sticky;
    top: -30px;
    width: 100%;}.btn-continue:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  filter: grayscale(1);
}/* Poprawa czytelności przycisków powtórzeń */
.metric-grid .option-card {
    padding: 12px !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    background: rgba(255,255,255,0.05) !important;
}

.metric-grid .option-card.selected {
    background: var(--selected-bg) !important;
    color: var(--selected-text) !important;
    border-color: var(--selected-border) !important;
}

/* Ukrywanie pustych komunikatów */
#step8b .info-card {
    transition: opacity 0.3s ease;
}/* --- POPRAWKI CZYTELNOŚCI I UKŁADU --- */
.metric-grid .option-card {
  padding: 12px !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.metric-grid .option-card.selected {
  background: var(--selected-bg) !important;
  color: var(--selected-text) !important;
}

/* --- NAPRAWA WYKRESU (STEP 10) --- */
.graph-card {
  position: relative;
  background: var(--bg-color);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 20px;
  width: 100%;
}

.graph-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.graph-title-group h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0;
}

.graph-badge {
  background: rgba(43, 129, 253, 0.15);
  color: #2b81fd;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.chart-container {
  height: 260px;
  width: 100%;
  margin: 10px 0;
}

/* --- BLOKADA PRZYCISKU --- */
.btn-continue:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  filter: grayscale(1);
}

/* Ukrywanie info-card przy błędnych danych */
#step8b .info-card { transition: opacity 0.3s ease; }/* --- STEP 18: SPEKTAKULARNE ODKRYWANIE PREZENTU --- */

/* Kontener główny prezentu */
.gift-container {
    position: relative;
    width: 320px;
    height: 220px;
    margin: 30px auto;
    perspective: 1000px;
    cursor: pointer;
}

/* Warstwa zasłaniająca (Pudełko/Tarcza) */
.gift-cover {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #2b507d, #1c3a5e);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(74, 144, 226, 0.5), inset 0 0 20px rgba(255,255,255,0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 10;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    animation: giftPulse 2s infinite ease-in-out;
}

@keyframes giftPulse {
    0% { transform: scale(1); box-shadow: 0 0 30px rgba(74, 144, 226, 0.5); }
    50% { transform: scale(1.03); box-shadow: 0 0 50px rgba(74, 144, 226, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 30px rgba(74, 144, 226, 0.5); }
}

.gift-icon { font-size: 50px; margin-bottom: 10px; }
.gift-text { font-size: 18px; font-weight: 800; color: #fff; text-transform: uppercase; }
.gift-sub { font-size: 14px; color: rgba(255,255,255,0.8); }

/* Karta z kodem (Finalna) */
.discount-card-final {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #ffffff, #f0f2f5);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 5;
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1); /* Efekt "sprężyny" */
    overflow: hidden;
}

/* Ozdoby karty */
.dc-percent { font-size: 64px; font-weight: 900; color: #2b507d; line-height: 1; }
.dc-label { font-size: 24px; font-weight: 800; color: #2b507d; text-transform: uppercase; margin-bottom: 15px; }
.dc-code-box {
    background: #2b507d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-family: monospace;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Efekt lśnienia na karcie */
.discount-card-final::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 50%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.8), transparent);
    transform: rotate(30deg);
    transition: all 1s;
    opacity: 0;
}

/* --- STANY ANIMACJI (Po kliknięciu) --- */

/* 1. Zasłona znika (wybucha) */
.gift-container.revealed .gift-cover {
    opacity: 0;
    transform: scale(2);
    pointer-events: none;
}

/* 2. Karta się pojawia */
.gift-container.revealed .discount-card-final {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    transition-delay: 0.2s;
}

/* 3. Lśnienie przechodzi przez kartę */
.gift-container.revealed .discount-card-final::after {
    left: 130%;
    opacity: 1;
    transition-delay: 0.5s;
}

/* --- CZĄSTECZKI WYBUCHU (JS generuje divy) --- */
.particle {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
}

@keyframes particleExplosion {
    0% { transform: translate(0, 0) scale(1); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)) scale(0); opacity: 0; }
}.option-card {
    max-width: 500px;
}
.list-options {
    align-items: center;
}
@media(min-width:1000px){
    .body-goal-grid {
    display: flex;
    grid-template-columns: revert-layer;
    gap: 14px;
    width: 100%;
}
}


    div#step5>div>.goal-options.list-options {
    align-items: start !important;
    width: fit-content;
    padding: 0 10px;
    width: max-content;
    min-width: 300px;
}

div#step5 {
    padding: -30px !important;
    margin-left: -20px !important;
    width: 100dvw !important;
    min-width: 100% !important;
    background:
        radial-gradient(1200px 520px at 85% 30%, rgba(0,0,0,0.06), transparent 55%),
        linear-gradient(180deg, rgba(0,0,0,0.04) 0%, rgba(255,255,255,0.00) 45%, rgba(0,0,0,0.06) 100%);
        padding:20px;
}img.body-img {
    background: radial-gradient(1200px 520px at 85% 30%, rgba(0, 0, 0, 0.06), #f7e5e5c4 55%), linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(255, 255, 255, 0.00) 45%, rgba(0, 0, 0, 0.06) 100%);
}