/* ==========================================================================
   Live Mock UI — "ekran görüntüsü" gibi: çerçeve yok, sadece uygulama ekranı,
   köşeler hafifçe yuvarlak (status bar / notch yok — sade tasarım diline uygun)
   ========================================================================== */

.mock-screen {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  aspect-ratio: 380 / 780;
  border-radius: var(--mock-radius);
  overflow: hidden;
  background: var(--mock-bg);
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.35),
    0 8px 24px -8px rgba(0, 0, 0, 0.25),
    0 0 0 1px var(--hairline);
  transition: box-shadow var(--dur-med) var(--ease-out);
}

html.dark .mock-screen {
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.7),
    0 8px 24px -8px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255,255,255,0.08);
}

.mock-screen__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  font-family: var(--font-text);
}

.mock-fade-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
.mock-fade-layer.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Mock internal chrome */
.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 12px;
  flex-shrink: 0;
}
.mock-topbar__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mock-body {
  flex: 1;
  overflow: hidden;
  padding: 4px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-tabbar {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--hairline);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
}
.mock-tabbar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--ink-faint);
  flex: 1;
}
.mock-tabbar__item svg { width: 21px; height: 21px; }
.mock-tabbar__item span { font-size: 9.5px; font-weight: 600; }
.mock-tabbar__item.is-active { color: var(--accent, var(--blue)); }

.mock-row-card {
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.mock-row-card__icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent, var(--blue)) 15%, transparent);
  color: var(--accent, var(--blue));
  flex-shrink: 0;
}
.mock-row-card__icon svg { width: 19px; height: 19px; }
.mock-row-card__text { flex: 1; min-width: 0; }
.mock-row-card__title { font-size: 13.5px; font-weight: 650; color: var(--ink); }
.mock-row-card__sub { font-size: 11.5px; color: var(--ink-faint); margin-top: 2px; }

.mock-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-cat-tile {
  border-radius: 16px;
  padding: 14px 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.mock-cat-tile svg { width: 20px; height: 20px; }
.mock-cat-tile span { font-size: 10.5px; font-weight: 600; color: var(--ink-soft); }

.mock-fab {
  position: absolute;
  bottom: 78px;
  right: 18px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--blue) 50%, transparent);
  z-index: 3;
}
.mock-fab svg { width: 22px; height: 22px; }

.mock-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 20px;
  color: var(--ink-faint);
}
.mock-empty svg { width: 40px; height: 40px; opacity: 0.5; margin-bottom: 4px; }
.mock-empty__title { font-size: 14px; font-weight: 650; color: var(--ink-soft); }
.mock-empty__sub { font-size: 11.5px; line-height: 1.5; max-width: 220px; }

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 650;
  background: color-mix(in srgb, var(--accent, var(--blue)) 14%, transparent);
  color: var(--accent, var(--blue));
  width: fit-content;
}

.mock-progress-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ink-faint);
}

.mock-divider {
  height: 1px;
  background: var(--hairline);
  margin: 2px 0;
}

/* -------------------------------------------------------------------------
   Pinned Sticky Scroll — Live Mock UI section
   ------------------------------------------------------------------------- */
.sticky-flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .sticky-flow {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.sticky-flow__mock-col {
  position: sticky;
  top: 96px;
  height: fit-content;
}
@media (max-width: 900px) {
  .sticky-flow__mock-col {
    position: sticky;
    top: 84px;
    order: -1;
    margin-bottom: 8px;
  }
}

.sticky-flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.32;
  transition: opacity var(--dur-med) var(--ease-out);
}
.flow-step.is-active { opacity: 1; }

@media (max-width: 900px) {
  .flow-step { min-height: 0; padding: 20px 0; opacity: 1; }
}

.flow-step__index {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent, var(--blue));
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.flow-step__title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}

.flow-step__body {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 46ch;
}

.step-progress-rail {
  position: absolute;
  left: -24px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--hairline);
  overflow: hidden;
  display: none;
}
@media (min-width: 901px) {
  .step-progress-rail { display: block; }
}
.step-progress-rail__fill {
  width: 100%;
  background: linear-gradient(180deg, var(--accent, var(--blue)), var(--accent-2, var(--blue-2)));
  border-radius: 3px;
  transition: height var(--dur-fast) linear;
}
