/* ============================================
   ZIFFI — Journey & Mock UI Styles
   Product journey section, screenshot frames,
   Gmail / Slack / Concur mock UI components
   ============================================ */

/* ---- Product Journey — rebuilt ---- */
.journey {
  padding: 0;
  position: relative;
  background: #fff;
}

/* Compact journey heading — sits between video and pinned cards */
.journey-intro {
  text-align: center;
  padding: 100px 24px 80px;
  position: relative;
  z-index: 2;
}

.journey-intro-cards {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 48px;
  width: 100%;
  max-width: 1080px;
  padding: 0 0 0px;
  position: relative;
}

.journey-mini-card {
  flex: 1;
  background: #fff;
  border: 1.5px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.07);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  min-height: 200px;
}

.journey-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(17, 24, 39, 0.13);
}

.journey-mini-header {
  padding: 14px 16px 10px;
  background: #F8F9FA;
  border-bottom: 1px solid rgba(17, 24, 39, 0.07);
  display: flex;
  align-items: center;
  gap: 6px;
}

.jmh-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.jmh-dot.r {
  background: #EC6A5E;
}

.jmh-dot.y {
  background: #F4BF4F;
}

.jmh-dot.g {
  background: #61C554;
}

.jmh-label {
  font-size: 10px;
  font-weight: 600;
  color: #9CA3AF;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.journey-mini-body {
  padding: 14px 14px;
}

.journey-step-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9CA3AF;
}

.journey-step-label-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.journey-mini-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.journey-mini-desc {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.5;
  font-weight: 400;
}

/* The pinned horizontal scroll section */
.journey-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.journey-track {
  display: flex;
  width: 400vw;
  height: 100%;
}

.journey-step {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  padding: 0 80px;
}

.journey-step-text {
  flex: 0 0 320px;
}

.journey-step-num {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(17, 24, 39, 0.07);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}

.journey-step-text h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #111827;
}

.journey-step-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 400;
}

.screenshot-frame {
  flex: 1;
  max-width: 660px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 16px;
  overflow: visible;
  position: relative;
  box-shadow: 0 2px 40px rgba(17, 24, 39, 0.12), 0 0 0 1px rgba(17, 24, 39, 0.05);
}

.screenshot-bar {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #E8EAED;
  border-bottom: none;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.screenshot-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.screenshot-dot.r {
  background: #EC6A5E;
}

.screenshot-dot.y {
  background: #F4BF4F;
}

.screenshot-dot.g {
  background: #61C554;
}

.screenshot-title {
  font-size: 11px;
  color: #888;
  margin-left: 8px;
  font-weight: 500;
}

.screenshot-body {
  padding: 0;
  min-height: 340px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.journey-progress {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.journey-progress.visible {
  opacity: 1;
  pointer-events: auto;
}

.journey-progress-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.1);
  border: 2px solid rgba(17, 24, 39, 0.15);
  transition: all 0.4s ease;
}

.journey-progress-dot.active {
  background: #111827;
  border-color: #111827;
  box-shadow: 0 0 16px rgba(17, 24, 39, 0.3);
}

.journey-progress-line {
  width: 40px;
  height: 2px;
  background: rgba(17, 24, 39, 0.08)
}

/* ---- Screenshot Mocks ---- */
.mock-gmail,
.mock-processing,
.mock-concur,
.mock-slack {
  font-size: 13px
}

/* Gmail realistic UI */
.mock-gmail {
  background: #F6F8FC;
  border-radius: 12px;
  overflow: hidden;
}

.mock-gmail-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #F6F8FC;
}

.mock-gmail-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mock-gmail-logo-icon {
  width: 28px;
  height: 20px;
  position: relative;
}

.mock-gmail-logo-icon svg {
  width: 100%;
  height: 100%;
}

.mock-gmail-logo-text {
  font-size: 16px;
  font-weight: 500;
  color: #3C4043;
  letter-spacing: -0.01em;
}

.mock-gmail-searchbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 24px;
  background: #EAF1FB;
  border: none;
}

.mock-gmail-searchbar svg {
  width: 18px;
  height: 18px;
  color: #5F6368;
  flex-shrink: 0;
}

.mock-gmail-searchbar span {
  font-size: 14px;
  color: #5F6368;
  font-weight: 400;
}

.mock-gmail-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4285F4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.mock-gmail-body {
  display: flex;
  min-height: 300px;
}

.mock-gmail-sidebar {
  width: 56px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.mock-gmail-sidebar-item {
  width: 44px;
  height: 32px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #5F6368;
  cursor: default;
}

.mock-gmail-sidebar-item.active {
  background: #D3E3FD;
  color: #1A73E8;
}

.mock-gmail-main {
  flex: 1;
  background: #fff;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  margin-right: 48px;
}

.mock-gmail-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E0E0E0;
}

.mock-gmail-tab {
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  color: #5F6368;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-gmail-tab.active {
  color: #1A73E8;
  border-bottom-color: #1A73E8;
}

.mock-gmail-tab svg {
  width: 16px;
  height: 16px;
}

.mock-email-list {
  padding: 0;
}

.mock-email-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-bottom: 1px solid #F1F3F4;
  transition: background 0.15s;
  cursor: default;
}

.mock-email-row:last-child {
  border-bottom: none;
}

.mock-email-row.unread .mock-email-sender,
.mock-email-row.unread .mock-email-subject-text {
  font-weight: 700;
  color: #202124;
}

.mock-email-row.highlighted {
  background: rgba(66, 133, 244, 0.06);
  border-left: 3px solid #1A73E8;
}

.mock-email-check {
  width: 16px;
  height: 16px;
  border: 2px solid #C4C7C5;
  border-radius: 2px;
  flex-shrink: 0;
}

.mock-email-star {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #C4C7C5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-email-star svg {
  width: 16px;
  height: 16px;
}

.mock-email-sender {
  font-weight: 400;
  font-size: 13px;
  min-width: 140px;
  color: #3C4043;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-email-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  min-width: 0;
}

.mock-email-subject-text {
  font-size: 13px;
  color: #3C4043;
  font-weight: 400;
  white-space: nowrap;
}

.mock-email-snippet {
  font-size: 13px;
  color: #5F6368;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-email-time {
  font-size: 11px;
  color: #5F6368;
  flex-shrink: 0;
  font-weight: 400;
}

.mock-email-row.unread .mock-email-time {
  font-weight: 700;
  color: #202124;
}

.mock-email-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: #E8F0FE;
  color: #1A73E8;
  flex-shrink: 0;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* Processing mock */
.mock-proc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px
}

.mock-proc-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #111827, #374151);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.mock-proc-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text)
}

.mock-proc-subtitle {
  font-size: 11px;
  color: var(--green);
  font-weight: 600
}

.mock-field-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(15, 15, 25, 0.04);
}

.mock-field-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700
}

.mock-field-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text)
}

.mock-field-check {
  color: var(--green);
  font-size: 15px;
  margin-left: 8px
}

.mock-confidence {
  margin-top: 20px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.12);
}

.mock-conf-bar {
  height: 5px;
  border-radius: 3px;
  background: rgba(15, 15, 25, 0.06);
  margin-top: 8px;
}

.mock-conf-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--green);
  width: 97%
}

/* Concur mock */
.mock-concur-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 15, 25, 0.06);
  margin-bottom: 20px;
}

.mock-concur-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text)
}

.mock-concur-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.mock-form-group {
  margin-bottom: 16px
}

.mock-form-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px
}

.mock-form-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.03);
  border: 1px solid rgba(16, 185, 129, 0.15);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-form-check {
  color: var(--green);
  font-size: 14px
}

.mock-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

/* Slack mock */
.mock-slack-channel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(15, 15, 25, 0.06);
  margin-bottom: 20px;
}

.mock-slack-hash {
  font-size: 18px;
  color: var(--text-muted)
}

.mock-slack-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text)
}

.mock-slack-msg {
  display: flex;
  gap: 12px;
  margin-bottom: 16px
}

.mock-slack-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #111827, #374151);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.mock-slack-content {
  flex: 1
}

.mock-slack-sender {
  font-size: 14px;
  font-weight: 800;
  color: var(--text)
}

.mock-slack-sender span {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 8px
}

.mock-slack-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 4px;
  font-weight: 500
}

.mock-slack-attachment {
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  border-left: 3px solid var(--green);
  background: rgba(16, 185, 129, 0.04);
}

.mock-slack-att-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 7px
}

.mock-slack-att-row {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 3px;
  font-weight: 500
}

/* Ziffi detection note bar */
.mock-ziffi-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #E8F0FE;
  font-size: 11px;
  color: #1A73E8;
  font-weight: 600;
}

.mock-ziffi-bar-icon {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #1A73E8;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Receipt email mockup */
.mock-receipt-view {
  display: flex;
  gap: 0;
  position: relative;
}

.mock-receipt-email {
  flex: 1;
  font-size: 13px;
}

.mock-receipt-from {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 15, 25, 0.06);
  margin-bottom: 16px;
}

.mock-receipt-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #B41F3A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-receipt-from-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.mock-receipt-from-email {
  font-size: 11px;
  color: var(--text-muted);
}

.mock-receipt-subject {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
}

.mock-folio {
  border: 1px solid rgba(15, 15, 25, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.mock-folio-header {
  background: #B41F3A;
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-folio-brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.mock-folio-subtitle {
  font-size: 10px;
  opacity: 0.8;
  letter-spacing: 0.05em;
}

.mock-folio-body {
  padding: 16px 18px;
  font-size: 12px;
}

.mock-folio-property {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.mock-folio-address {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.mock-folio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 15, 25, 0.06);
}

.mock-folio-field-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.mock-folio-field-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mock-folio-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-secondary);
}

.mock-folio-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  margin-top: 6px;
  border-top: 2px solid #111827;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

/* Calendar overlay */
.mock-calendar-overlay {
  position: absolute;
  top: 40px;
  right: -90px;
  width: 250px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16), 0 8px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 15, 25, 0.05);
  overflow: hidden;
  z-index: 5;
}

.mock-cal-header {
  padding: 12px 16px;
  background: #4285F4;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-cal-header-icon {
  font-size: 15px;
}

.mock-cal-header-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.mock-cal-event {
  padding: 18px 16px;
}

.mock-cal-event-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.mock-cal-event-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #6B7280;
  margin-bottom: 8px;
}

.mock-cal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.08);
  font-size: 11px;
  font-weight: 700;
  color: #059669;
}