/* =========================================================
   CTG App — page-specific styles
   ========================================================= */

/* Reveal phones */
.reveal-item { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.reveal-item__phone { width: 190px; }

/* Before flow — horizontal scroll of steps */
.step-flow {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.step-flow__step { flex: none; width: 132px; }
.step-flow__step .phone-frame { width: 132px; }

/* After flow — centered wrap (falls back to hscroll on small screens) */
.step-flow--wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: visible;
  padding-bottom: 0;
}
.step-flow__step--lg { width: 168px; flex: none; }
.step-flow__step--lg .phone-frame { width: 168px; }

/* Friction bullet list */
.friction-issues {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-secondary);
  max-width: 58ch;
  margin: 0 0 34px;
  padding-left: 20px;
}

/* Mood/interest discover */
.discover-card {
  background: var(--dark-deep);
  border: 1px solid var(--dark-border);
  border-radius: 12px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.discover-card__label {
  align-self: stretch;
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-warm);
}
.discover-card__phone { width: 190px; }
.discover-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark-text-mute);
  text-align: center;
  max-width: 30ch;
}

/* Timer before/after cards */
.timer-compare .compare-box {
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.timer-compare img {
  display: block;
  width: 150px;
  height: auto;
  cursor: zoom-in;
}
.timer-compare p {
  margin: 18px 0 0;
  font-size: 13.5px;
  line-height: 1.6;
  text-align: center;
}
.timer-compare .compare-box--before p { color: #9A5A50; }
.timer-compare .compare-box--after  p { color: #5E7A60; }

/* Paywall flow */
.paywall-flow { display: flex; flex-direction: column; gap: 10px; }
.paywall-flow__step {
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 13.5px;
  text-align: center;
}
.paywall-flow__step--before {
  background: var(--danger);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.paywall-flow__step--after {
  background: var(--success);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.paywall-flow__arrow { text-align: center; font-size: 14px; }
/* Plain (non-modifier) steps take the tinted border + text color.
   :not() excludes the solid-color modifier variants so their white label wins. */
.compare-box--before .paywall-flow__step:not(.paywall-flow__step--before) { border: 1px solid var(--danger-border); color: #9A5A50; }
.compare-box--before .paywall-flow__arrow { color: #C98E84; }
.compare-box--after  .paywall-flow__step:not(.paywall-flow__step--after)  { border: 1px solid var(--success-border); color: #5E7A60; }
.compare-box--after  .paywall-flow__arrow { color: #8FB093; }

.paywall-compare .compare-box { padding: 28px 26px; }
.paywall-compare .compare-box p { margin: 18px 0 0; font-size: 13.5px; line-height: 1.6; }
.paywall-compare .compare-box--before p { color: #9A5A50; }
.paywall-compare .compare-box--after  p { color: #5E7A60; }

/* Store row */
.store-row { max-width: 520px; }
.store-row img {
  display: block;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border-radius: 8px;
}

/* Focus modes (three cards) */
.modes-grid .phone-frame { width: 158px; }

/* Gamification cards */
.game-grid .phone-frame { width: 132px; }
