/* ============================================================
   UNAIT – App UI Mockup Styles
   CSS replications of the actual UNAIT app interface,
   used as product screenshots on the marketing website.
   Colors match the real app: beige bg, orange badges etc.
   ============================================================ */

/* ── App Window Frame ─────────────────────────────────────── */
.app-window {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 28px 70px rgba(0,0,0,.45);
  position: relative;
  user-select: none;
  pointer-events: none;
}
.app-window--glow {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 40px 100px rgba(0,0,0,.55),
    0 0 140px rgba(239,79,62,.12),
    0 0 40px  rgba(239,79,62,.08);
}

/* macOS-style title bar */
.app-chrome {
  height: 34px;
  background: #1a1b1e;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  flex-shrink: 0;
}
.app-chrome__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.app-chrome__dot--r { background: #FF5F56; }
.app-chrome__dot--y { background: #FFBD2E; }
.app-chrome__dot--g { background: #27C93F; }
.app-chrome__url {
  flex: 1;
  height: 19px;
  background: rgba(255,255,255,.05);
  border-radius: 4px;
  max-width: 260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: rgba(255,255,255,.2);
  letter-spacing: .04em;
}

/* App's own top navigation */
.app-inav {
  background: #232322;
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 6px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.app-inav__logo {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .06em;
  margin-right: 16px;
  flex-shrink: 0;
}
.app-inav__logo span { color: #EF4F3E; }
.app-inav__link {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  padding: 5px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}
.app-inav__link--active {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.09);
}
.app-inav__spacer { flex: 1; }
.app-inav__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #E07A2F;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Main content area (beige, matches real app) */
.app-page {
  background: #F2F0E6;
  overflow: hidden;
}
.app-page-inner {
  padding: 18px 22px;
}

/* ── Shared badge/pill styles (matching real app) ─────────── */
.m-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  flex-shrink: 0;
  line-height: 1.4;
}
.m-badge--high      { background: #E07A2F; color: #fff; }
.m-badge--limited   { background: #E8A15E; color: #fff; }
.m-badge--minimal   { background: #D8D2C8; color: #374151; }
.m-badge--prohibited{ background: #C83A2C; color: #fff; }
.m-badge--approved  { background: rgba(34,128,0,.1); color: #1C6900; border: 1px solid rgba(34,128,0,.2); }
.m-badge--draft     { background: #f3f4f6; color: #6B7280; border: 1px solid #e5e7eb; }
.m-badge--blocked   { background: rgba(200,58,44,.08); color: #C83A2C; border: 1px solid rgba(200,58,44,.2); }
.m-badge--progress  { background: rgba(224,122,47,.1); color: #C65900; border: 1px solid rgba(224,122,47,.25); }

/* ── Dashboard Mockup ─────────────────────────────────────── */
.dash-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 10px;
}
.dash-title-block {}
.dash-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1b1e;
  margin-bottom: 2px;
  line-height: 1.2;
}
.dash-sub {
  font-size: 10px;
  color: #9CA3AF;
  font-weight: 500;
}
.dash-actions { display: flex; gap: 7px; align-items: center; }

.m-btn {
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #D8D2C8;
  background: #fff;
  color: #374151;
  white-space: nowrap;
  cursor: default;
  line-height: 1.3;
}
.m-btn--primary {
  background: #E07A2F;
  border-color: rgba(224,122,47,.25);
  color: #fff;
}
.m-btn--sm { padding: 5px 10px; font-size: 9px; }

/* KPI bar */
.kpi-wrap {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.kpi-bar {
  height: 10px;
  border-radius: 5px;
  display: flex;
  overflow: hidden;
  background: #E5E1D6;
  margin-bottom: 10px;
}
.kpi-seg { height: 100%; }
.kpi-seg--prohibited { background: #C83A2C; }
.kpi-seg--high       { background: #E07A2F; }
.kpi-seg--limited    { background: #E8A15E; }
.kpi-seg--minimal    { background: #BDB7AE; }
.kpi-seg--done       { background: #27C93F; opacity: .35; }

.kpi-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #6B7280;
  font-weight: 500;
}
.kpi-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
}

/* Case rows */
.case-list { display: flex; flex-direction: column; gap: 5px; }
.case-row {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: border-color .15s;
}
.case-row--hover { border-color: rgba(224,122,47,.5); }
.case-name {
  flex: 1;
  font-size: 11px;
  font-weight: 500;
  color: #1a1b1e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.case-meta { font-size: 9px; color: #9CA3AF; white-space: nowrap; flex-shrink: 0; }
.case-arrow { color: #BDB7AE; font-size: 12px; flex-shrink: 0; }

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
  align-items: center;
}
.m-search {
  flex: 1;
  height: 28px;
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 10px;
  color: #9CA3AF;
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-select {
  height: 28px;
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 7px;
  padding: 0 10px;
  font-size: 10px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Survey Mockup ────────────────────────────────────────── */
.survey-layout {
  display: flex;
  height: 100%;
}
.survey-sidebar {
  width: 160px;
  background: #EAE7DC;
  border-right: 1px solid #D8D4C8;
  padding: 14px 0;
  flex-shrink: 0;
}
.survey-sidebar__title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9CA3AF;
  padding: 0 14px;
  margin-bottom: 10px;
}
.survey-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 500;
  color: #6B7280;
  cursor: default;
}
.survey-section--active {
  color: #1a1b1e;
  background: rgba(255,255,255,.7);
  font-weight: 600;
}
.survey-section--done { color: #1C6900; }
.survey-section__check {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid #D8D4C8;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
}
.survey-section--done .survey-section__check {
  background: rgba(34,128,0,.12);
  border-color: rgba(34,128,0,.3);
  color: #1C6900;
}
.survey-section--active .survey-section__check {
  background: rgba(224,122,47,.12);
  border-color: rgba(224,122,47,.4);
  color: #E07A2F;
}
.survey-section__num {
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0;
}

.survey-main { flex: 1; padding: 18px 20px; overflow: hidden; }
.survey-progress {
  font-size: 9px;
  color: #9CA3AF;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.survey-progress-bar {
  width: 100%;
  height: 3px;
  background: #E5E1D6;
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}
.survey-progress-fill {
  height: 100%;
  background: #E07A2F;
  border-radius: 2px;
  transition: width .3s;
}
.survey-q {
  font-size: 13px;
  font-weight: 600;
  color: #1a1b1e;
  margin-bottom: 5px;
  line-height: 1.4;
}
.survey-q-sub {
  font-size: 10px;
  color: #6B7280;
  margin-bottom: 16px;
  line-height: 1.5;
}
.survey-options { display: flex; flex-direction: column; gap: 7px; }
.survey-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #E5E1D6;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 11px;
  color: #374151;
  font-weight: 500;
  cursor: default;
}
.survey-option--selected {
  border-color: #E07A2F;
  background: rgba(224,122,47,.05);
  color: #1a1b1e;
}
.survey-radio {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid #D8D4C8;
  flex-shrink: 0;
}
.survey-option--selected .survey-radio {
  border-color: #E07A2F;
  background: #E07A2F;
  box-shadow: inset 0 0 0 3px #fff;
}
.survey-nav { display: flex; gap: 8px; margin-top: 18px; justify-content: flex-end; }

/* ── Risk Result Mockup ───────────────────────────────────── */
.risk-case-header {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.risk-case-name { flex: 1; font-size: 12px; font-weight: 600; color: #1a1b1e; }

.risk-result-card {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px;
}
.risk-result-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9CA3AF;
  margin-bottom: 12px;
}
.risk-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 10px;
  margin-bottom: 14px;
}
.risk-result-badge--high {
  background: rgba(224,122,47,.1);
  border: 1.5px solid rgba(224,122,47,.3);
}
.risk-result-badge__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #E07A2F;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.risk-result-badge__text { font-size: 14px; font-weight: 700; color: #C65900; letter-spacing: -.01em; }
.risk-result-badge__sub  { font-size: 9px; color: #9CA3AF; margin-top: 1px; }

.risk-articles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.risk-article-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(224,122,47,.08);
  border: 1px solid rgba(224,122,47,.2);
  color: #E07A2F;
}
.risk-desc { font-size: 10px; color: #6B7280; line-height: 1.6; }

.risk-actions-row { display: flex; gap: 7px; }

/* ── Audit Export Mockup ──────────────────────────────────── */
.audit-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}
.audit-modal {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  padding: 20px;
  width: 100%;
  max-width: 320px;
}
.audit-modal__title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1b1e;
  margin-bottom: 4px;
}
.audit-modal__sub { font-size: 10px; color: #9CA3AF; margin-bottom: 16px; }

.audit-modal__label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6B7280;
  margin-bottom: 5px;
}
.audit-modal__dates { display: flex; gap: 6px; margin-bottom: 12px; }
.audit-modal__date {
  flex: 1;
  height: 30px;
  border: 1px solid #E5E1D6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 10px;
  color: #374151;
  background: #F9F8F5;
  gap: 6px;
}
.audit-modal__date-icon { color: #9CA3AF; font-size: 11px; }

.audit-stats-row { display: flex; gap: 8px; margin-bottom: 16px; }
.audit-stat-card {
  flex: 1;
  background: #F9F8F5;
  border: 1px solid #E5E1D6;
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.audit-stat-num { font-size: 16px; font-weight: 700; color: #1a1b1e; margin-bottom: 2px; }
.audit-stat-num--accent { color: #E07A2F; }
.audit-stat-label { font-size: 8px; color: #9CA3AF; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }

.audit-modal__actions { display: flex; flex-direction: column; gap: 7px; }

/* ── Quick-Check Mockup ───────────────────────────────────── */
.qc-header {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.qc-title { font-size: 13px; font-weight: 700; color: #1a1b1e; }
.qc-score-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(224,122,47,.1);
  color: #C65900;
  border: 1px solid rgba(224,122,47,.25);
}
.qc-items { display: flex; flex-direction: column; gap: 7px; }
.qc-item {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.qc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.qc-dot--green  { background: #27C93F; }
.qc-dot--yellow { background: #FFBD2E; }
.qc-dot--red    { background: #C83A2C; }
.qc-item-label { flex: 1; font-size: 10px; font-weight: 500; color: #374151; }
.qc-bar-wrap { width: 80px; height: 6px; background: #E5E1D6; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.qc-bar { height: 100%; border-radius: 3px; }
.qc-bar--green  { background: #27C93F; }
.qc-bar--yellow { background: #FFBD2E; }
.qc-bar--red    { background: #C83A2C; }
.qc-pct { font-size: 10px; font-weight: 700; color: #374151; width: 30px; text-align: right; flex-shrink: 0; }
.qc-priority {
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}
.qc-priority--high   { background: rgba(200,58,44,.1); color: #C83A2C; border: 1px solid rgba(200,58,44,.2); }
.qc-priority--medium { background: rgba(255,189,46,.1); color: #B8860B; border: 1px solid rgba(255,189,46,.2); }
.qc-priority--low    { background: rgba(39,201,63,.1);  color: #1C6900; border: 1px solid rgba(39,201,63,.2); }

/* ── Prüfdokumente Mockup (showcase item 07) ──────────────── */
.docprog-wrap {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.docprog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.docprog-label { font-size: 11px; font-weight: 600; color: #1a1b1e; }
.docprog-pct { font-size: 12px; font-weight: 700; color: #E07A2F; }
.docprog-bar {
  height: 8px;
  border-radius: 4px;
  background: #E5E1D6;
  overflow: hidden;
}
.docprog-fill {
  height: 100%;
  border-radius: 4px;
  background: #27C93F;
}
.doc-list { display: flex; flex-direction: column; gap: 6px; }
.doc-row {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 8px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-icon {
  width: 20px; height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  font-weight: 700;
}
.doc-icon--done     { background: rgba(39,201,63,.12); color: #1C6900; }
.doc-icon--progress { background: rgba(224,122,47,.12); color: #E07A2F; }
.doc-icon--open      { background: #F3F1EA; color: #BDB7AE; border: 1.5px solid #E5E1D6; }
.doc-name { flex: 1; font-size: 11px; font-weight: 500; color: #1a1b1e; }
.doc-more {
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: #9CA3AF;
  padding: 6px 0 2px;
}

/* ── Showcase stacked items ───────────────────────────────── */
.showcase-items {
  display: flex;
  flex-direction: column;
}
.showcase-item {
  display: grid;
  grid-template-columns: 5fr 8fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.showcase-item:last-child { border-bottom: none; padding-bottom: 20px; }
.showcase-item__num {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.showcase-item__num::before {
  content: '';
  display: inline-block;
  width: 20px; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}
.showcase-item__heading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.showcase-item__desc {
  font-size: .9375rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
}
.showcase-item .app-window {
  box-shadow:
    0 0 0 1px rgba(255,255,255,.07),
    0 24px 60px rgba(0,0,0,.45),
    0 0 80px rgba(239,79,62,.09);
}

/* ── Feature Showcase (marketing section) ─────────────────── */
.feature-showcase {
  padding: 120px 0 80px;
  background: var(--charcoal);
  overflow: hidden;
}
.feature-showcase__header {
  text-align: center;
  margin-bottom: 80px;
}
.feature-showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.feature-showcase__features {
  /* naturally scrollable */
}
.feature-showcase__screen {
  position: sticky;
  top: calc(var(--nav-h) + 36px);
}
.feature-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  opacity: .35;
  transition: opacity .3s ease;
  cursor: pointer;
}
.feature-item:last-child { border-bottom: none; }
.feature-item--active { opacity: 1; }
.feature-item__num {
  font-size: .5625rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.feature-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -.01em;
  line-height: 1.3;
}
.feature-item p {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 400px;
}

/* Mockup switcher */
.mockup-stack { position: relative; }
.app-mockup-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}
.app-mockup-item:first-child {
  position: relative;
  inset: auto;
}
.app-mockup-item--active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Hero preview strip */
.hero__app-preview {
  position: relative;
  margin-top: 64px;
  padding-bottom: 0;
}
.hero__app-glow {
  position: absolute;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(239,79,62,.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__app-preview .app-window {
  position: relative;
  z-index: 1;
  max-height: 480px;
  overflow: hidden;
}
.hero__app-preview .app-window::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--charcoal));
  z-index: 2;
  pointer-events: none;
}

/* ── KI-Assistent Chat Mockup (showcase item 06) ──────────── */
.chat-wrap {
  display: flex;
  flex-direction: column;
  height: 370px;
}
.chat-header {
  background: #fff;
  border-bottom: 1px solid #E5E1D6;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}
.chat-header-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E07A2F, #C83A2C);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name { font-size: 11px; font-weight: 700; color: #1a1b1e; line-height: 1.2; }
.chat-header-sub  { font-size: 9px; color: #9CA3AF; }
.chat-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #27C93F;
  flex-shrink: 0;
}
.chat-anon-pill {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(39,201,63,.1);
  border: 1px solid rgba(39,201,63,.2);
  color: #1C6900;
  flex-shrink: 0;
}
.chat-context-bar {
  background: rgba(224,122,47,.05);
  border-bottom: 1px solid rgba(224,122,47,.14);
  padding: 6px 14px;
  font-size: 9px;
  color: #9CA3AF;
  flex-shrink: 0;
}
.chat-context-bar strong { color: #E07A2F; font-weight: 600; }
.chat-messages {
  flex: 1;
  overflow: hidden;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F9F8F5;
}
.chat-msg { display: flex; gap: 7px; max-width: 92%; }
.chat-msg--ai   { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background: linear-gradient(135deg, #E07A2F, #C83A2C);
}
.chat-msg--user .chat-msg-dot { display: none; }
.chat-msg-bubble {
  font-size: 10px;
  line-height: 1.55;
  padding: 8px 10px;
}
.chat-msg--ai .chat-msg-bubble {
  background: #fff;
  border: 1px solid #E5E1D6;
  border-radius: 2px 8px 8px 8px;
  color: #1a1b1e;
}
.chat-msg--user .chat-msg-bubble {
  background: #E07A2F;
  color: #fff;
  border-radius: 8px 2px 8px 8px;
}
.chat-input-bar {
  background: #fff;
  border-top: 1px solid #E5E1D6;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.chat-input-field {
  flex: 1;
  height: 28px;
  background: #F9F8F5;
  border: 1px solid #E5E1D6;
  border-radius: 6px;
  padding: 0 10px;
  font-size: 10px;
  color: #9CA3AF;
  display: flex;
  align-items: center;
}
.chat-send {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: #E07A2F;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-footer-note {
  text-align: center;
  font-size: 8px;
  color: #BDB7AE;
  padding: 5px 14px 7px;
  background: #fff;
  flex-shrink: 0;
}

/* Showcase mockup: contain app-window within its grid cell.
   min-width:0 lets the grid track shrink below min-content. */
.showcase-item__screen {
  min-width: 0;
  overflow: hidden;
}
.showcase-item__screen .app-window {
  width: 100%;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-showcase__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-showcase__screen {
    position: relative;
    top: auto;
  }
  .app-mockup-item {
    position: relative;
    inset: auto;
    display: none;
  }
  .app-mockup-item--active { display: block; }
}
@media (max-width: 900px) {
  .showcase-item {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 60px 0;
  }
}
@media (max-width: 768px) {
  .feature-showcase { padding: 80px 0 60px; }
  .feature-showcase__header { margin-bottom: 48px; }
  .survey-sidebar { display: none; }
  .hero__app-preview { margin-top: 40px; }
}
