/* ── Use Case Pages — shared styles ──────────────────────────────────────── */
:root { --uc-indigo: #6366f1; --uc-indigo-dim: rgba(99,102,241,.12); }

/* Hero */
.uc-hero {
  background: linear-gradient(160deg, #050a14 0%, #0c1220 100%);
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.uc-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(99,102,241,.15), transparent);
}
.uc-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.uc-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.uc-breadcrumb a { color: var(--uc-indigo); text-decoration: none; }
.uc-breadcrumb a:hover { text-decoration: underline; }
.uc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; background: var(--uc-indigo-dim);
  border: 1px solid rgba(99,102,241,.25); border-radius: 20px;
  font-size: 11px; font-weight: 700; color: #818cf8;
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 20px;
}
.uc-hero h1 {
  font-size: clamp(30px, 4vw, 50px); font-weight: 900;
  line-height: 1.08; letter-spacing: -.03em; margin-bottom: 20px; color: #fff;
}
.uc-hero p { font-size: 17px; color: #94a3b8; line-height: 1.7; max-width: 480px; }

/* Hero visual frame (generic device/app frame) */
.uc-hero-visual { display: flex; justify-content: center; }
.uc-app-mock {
  width: 100%; max-width: 420px;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.uc-app-mock-bar { height: 38px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); display: flex; align-items: center; padding: 0 14px; gap: 6px; }
.uc-app-mock-inner { padding: 18px; }

/* Legacy login mock (customer support) */
.uc-login-mock {
  width: 100%; max-width: 380px;
  background: linear-gradient(145deg, #b8860b 0%, #8b6914 40%, #6b8b8b 100%);
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  position: relative;
}
.uc-login-mock-inner { padding: 48px 32px; display: flex; align-items: center; justify-content: center; }
.uc-login-card { background: rgba(255,255,255,.15); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 32px 28px; width: 100%; }
.uc-login-title { font-size: 18px; font-weight: 800; color: #fff; text-align: center; margin-bottom: 4px; }
.uc-login-sub   { font-size: 12px; color: rgba(255,255,255,.6); text-align: center; margin-bottom: 24px; }
.uc-login-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 5px; }
.uc-login-input { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: #fff; width: 100%; margin-bottom: 14px; }
.uc-login-btn { background: #6366f1; color: #fff; border: none; border-radius: 8px; padding: 11px; width: 100%; font-size: 13px; font-weight: 700; cursor: pointer; }
.uc-login-footer { font-size: 10px; color: rgba(255,255,255,.3); text-align: center; margin-top: 20px; }

/* Stats bar */
.uc-stats-bar { background: var(--uc-indigo-dim); border-top: 1px solid rgba(99,102,241,.2); border-bottom: 1px solid rgba(99,102,241,.2); padding: 28px 0; }
.uc-stats-grid { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.uc-stat { padding: 0 48px; text-align: center; }
.uc-stat-num { font-size: 28px; font-weight: 900; color: #818cf8; letter-spacing: -.02em; }
.uc-stat-lbl { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.uc-stat-sep { width: 1px; height: 36px; background: rgba(99,102,241,.2); }

/* Section */
.uc-section { padding: 80px 0; }
.uc-section-alt { background: var(--bg2); }
.uc-section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--uc-indigo); margin-bottom: 10px; }
.uc-section-title { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 16px; }
.uc-section-sub { font-size: 16px; color: var(--text-dim); line-height: 1.7; max-width: 600px; margin-bottom: 48px; }

/* Challenge / Solution */
.uc-challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.uc-challenge-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.uc-challenge-card.before { border-left: 3px solid #ef4444; }
.uc-challenge-card.after  { border-left: 3px solid #10b981; }
.uc-challenge-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.uc-challenge-card.before .uc-challenge-label { color: #ef4444; }
.uc-challenge-card.after  .uc-challenge-label { color: #10b981; }
.uc-challenge-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.uc-challenge-card li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-dim); line-height: 1.5; }
.uc-challenge-card.before li::before { content: '✗'; color: #ef4444; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.uc-challenge-card.after  li::before { content: '✓'; color: #10b981; font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* Screen tour */
.uc-screens { display: flex; flex-direction: column; gap: 60px; }
.uc-screen-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.uc-screen-row.rev .uc-screen-text { order: 2; }
.uc-screen-row.rev .uc-screen-visual { order: 1; }
.uc-screen-num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--uc-indigo); color: #fff; font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.uc-screen-text h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.01em; }
.uc-screen-text p  { font-size: 15px; color: var(--text-dim); line-height: 1.7; margin-bottom: 16px; }
.uc-screen-features { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.uc-screen-features li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-dim); }
.uc-screen-features li::before { content: '→'; color: var(--uc-indigo); font-weight: 700; }
.uc-screen-visual { position: relative; }
.uc-browser {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.uc-browser-bar { height: 36px; background: var(--bg3); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 12px; gap: 5px; }
.uc-browser-bar .screen-url { flex:1; text-align:center; font-size:11px; color:var(--text-muted); background:rgba(255,255,255,.04); border-radius:5px; padding:2px 10px; margin:0 6px; }
.uc-browser-content { padding: 14px; }

/* ── Reusable screen mocks ───────────────────────────────────────────────── */
/* Portal */
.uc-mock-portal { display: flex; gap: 12px; }
.uc-portal-app { flex:1; border-radius: 10px; padding: 16px 12px; text-align: center; }
.uc-portal-app-1 { background: rgba(59,130,246,.15); border: 1px solid rgba(59,130,246,.2); }
.uc-portal-app-2 { background: rgba(249,115,22,.15); border: 1px solid rgba(249,115,22,.2); }
.uc-portal-app-3 { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.2); }
.uc-portal-icon { font-size: 24px; margin-bottom: 6px; }
.uc-portal-name { font-size: 11px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.uc-portal-desc { font-size: 9px; color: var(--text-muted); line-height: 1.4; }

/* Form */
.uc-mock-form { display: flex; flex-direction: column; gap: 10px; }
.uc-form-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--border); margin-bottom: 2px; }
.uc-form-title  { font-size: 12px; font-weight: 700; color: var(--text); }
.uc-form-save   { font-size: 10px; padding: 4px 10px; background: #6366f1; color: #fff; border-radius: 5px; }
.uc-field-row   { display: flex; gap: 8px; }
.uc-field       { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.uc-field-lbl   { font-size: 9px; color: var(--text-muted); }
.uc-field-inp   { height: 24px; background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 4px; font-size: 10px; color: var(--text-dim); padding: 0 6px; display: flex; align-items: center; }
.uc-field-area  { height: 52px; background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 4px; }
.uc-upload-zone { text-align: center; padding: 10px; border: 1px dashed rgba(99,102,241,.3); border-radius: 5px; font-size: 9px; color: #6366f1; }

/* Table */
.uc-mock-table { display: flex; flex-direction: column; }
.uc-table-hdr  { display: grid; grid-template-columns: 75px 65px 90px 1fr; gap: 6px; padding: 4px 8px; background: rgba(255,255,255,.03); font-size: 9px; font-weight: 700; color: var(--text-muted); border-radius: 4px 4px 0 0; }
.uc-table-row  { display: grid; grid-template-columns: 75px 65px 90px 1fr; gap: 6px; padding: 5px 8px; font-size: 9px; color: var(--text-dim); border-bottom: 1px solid rgba(255,255,255,.04); }
.uc-table-row:hover { background: rgba(255,255,255,.03); }
.uc-status { display: inline-block; padding: 1px 6px; border-radius: 3px; font-size: 8px; font-weight: 700; }
.uc-st-open   { background: rgba(249,115,22,.2); color: #f97316; }
.uc-st-work   { background: rgba(16,185,129,.2); color: #10b981; }
.uc-st-closed { background: rgba(100,116,139,.2); color: #64748b; }
.uc-st-red    { background: rgba(239,68,68,.2); color: #ef4444; }
.uc-st-blue   { background: rgba(59,130,246,.2); color: #3b82f6; }
.uc-st-purple { background: rgba(139,92,246,.2); color: #8b5cf6; }

/* Chat */
.uc-mock-chat { display: flex; flex-direction: column; gap: 10px; }
.uc-chat-msg  { display: flex; align-items: flex-end; gap: 7px; }
.uc-chat-r    { flex-direction: row-reverse; }
.uc-chat-av   { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 700; color: #fff; flex-shrink: 0; }
.uc-chat-av-1 { background: #6366f1; }
.uc-chat-av-2 { background: #f97316; }
.uc-chat-bbl  { padding: 7px 10px; border-radius: 10px 10px 10px 2px; font-size: 11px; max-width: 180px; line-height: 1.4; }
.uc-chat-bbl-l { background: rgba(255,255,255,.07); color: var(--text); }
.uc-chat-bbl-r { background: rgba(99,102,241,.2); color: var(--text); border-radius: 10px 10px 2px 10px; }
.uc-chat-att  { display: flex; align-items: center; gap: 5px; padding: 5px 8px; background: rgba(255,255,255,.04); border: 1px solid var(--border); border-radius: 5px; font-size: 10px; color: var(--text-muted); }
.uc-chat-inp  { padding: 7px 10px; background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 7px; font-size: 10px; color: #475569; margin-top: 4px; }

/* Filter */
.uc-mock-filter { display: flex; flex-direction: column; gap: 10px; }
.uc-filter-row { display: flex; gap: 8px; align-items: center; }
.uc-filter-lbl { font-size: 10px; color: var(--text-muted); width: 70px; flex-shrink: 0; }
.uc-filter-sel { flex: 1; height: 26px; background: rgba(255,255,255,.06); border: 1px solid var(--border); border-radius: 4px; font-size: 10px; color: var(--text-dim); padding: 0 8px; display: flex; align-items: center; justify-content: space-between; }
.uc-filter-tags { display: flex; gap: 4px; }
.uc-filter-tag { padding: 2px 8px; border-radius: 3px; font-size: 9px; font-weight: 700; }
.uc-ft-open { background: rgba(249,115,22,.2); color: #f97316; }
.uc-ft-comp { background: rgba(16,185,129,.2); color: #10b981; }
.uc-filter-apply { margin-top: 6px; text-align: right; }
.uc-filter-btn { display: inline-block; padding: 5px 14px; background: #6366f1; color: #fff; border-radius: 5px; font-size: 10px; font-weight: 700; }

/* ── Domain mock: Kanban board ───────────────────────────────────────────── */
.uc-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.uc-kb-col { background: rgba(255,255,255,.03); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.uc-kb-col-hdr { font-size: 9px; font-weight: 700; color: var(--text-muted); display: flex; justify-content: space-between; padding: 2px 2px 4px; }
.uc-kb-card { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 7px; border-left: 3px solid var(--uc-indigo); }
.uc-kb-card.green { border-left-color: #10b981; }
.uc-kb-card.orange { border-left-color: #f97316; }
.uc-kb-card.red { border-left-color: #ef4444; }
.uc-kb-card-title { font-size: 9px; font-weight: 600; color: var(--text); margin-bottom: 5px; line-height: 1.3; }
.uc-kb-card-meta { display: flex; align-items: center; justify-content: space-between; }
.uc-kb-tag { font-size: 7px; font-weight: 700; padding: 1px 5px; border-radius: 3px; background: var(--uc-indigo-dim); color: #818cf8; }
.uc-kb-av { width: 16px; height: 16px; border-radius: 50%; background: #6366f1; font-size: 7px; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ── Domain mock: Gantt chart ────────────────────────────────────────────── */
.uc-gantt { display: flex; flex-direction: column; gap: 4px; }
.uc-gantt-hdr { display: grid; grid-template-columns: 90px 1fr; gap: 4px; font-size: 8px; color: var(--text-muted); padding-bottom: 4px; border-bottom: 1px solid var(--border); }
.uc-gantt-months { display: grid; grid-template-columns: repeat(6, 1fr); }
.uc-gantt-months span { text-align: center; }
.uc-gantt-row { display: grid; grid-template-columns: 90px 1fr; gap: 4px; align-items: center; }
.uc-gantt-task { font-size: 9px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uc-gantt-track { position: relative; height: 14px; }
.uc-gantt-bar { position: absolute; height: 12px; top: 1px; border-radius: 3px; background: linear-gradient(90deg, #6366f1, #4f46e5); display: flex; align-items: center; }
.uc-gantt-bar.green { background: linear-gradient(90deg, #10b981, #059669); }
.uc-gantt-bar.orange { background: linear-gradient(90deg, #f97316, #ea580c); }
.uc-gantt-bar.gray { background: rgba(255,255,255,.12); }
.uc-gantt-fill { height: 100%; background: rgba(255,255,255,.25); border-radius: 3px 0 0 3px; }

/* ── Domain mock: calendar / scheduler ───────────────────────────────────── */
.uc-cal { display: grid; grid-template-columns: 44px repeat(4, 1fr); gap: 2px; }
.uc-cal-time { font-size: 8px; color: var(--text-muted); text-align: right; padding: 3px 4px 0 0; }
.uc-cal-cell { min-height: 26px; background: rgba(255,255,255,.02); border-radius: 3px; padding: 2px; }
.uc-cal-hdr { font-size: 8px; font-weight: 700; color: var(--text-muted); text-align: center; padding: 3px 0; }
.uc-cal-appt { font-size: 7px; padding: 2px 4px; border-radius: 3px; line-height: 1.3; color: #fff; margin-bottom: 2px; }
.uc-cal-appt.blue { background: rgba(59,130,246,.85); }
.uc-cal-appt.green { background: rgba(16,185,129,.85); }
.uc-cal-appt.orange { background: rgba(249,115,22,.85); }
.uc-cal-appt.purple { background: rgba(139,92,246,.85); }

/* ── Domain mock: stat tiles ─────────────────────────────────────────────── */
.uc-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.uc-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 8px; }
.uc-tile-num { font-size: 16px; font-weight: 800; color: var(--text); }
.uc-tile-lbl { font-size: 8px; color: var(--text-muted); margin-top: 2px; }
.uc-tile-num.green { color: #10b981; } .uc-tile-num.orange { color: #f97316; } .uc-tile-num.red { color: #ef4444; } .uc-tile-num.blue { color: #3b82f6; }

/* ── Domain mock: progress bar ───────────────────────────────────────────── */
.uc-bar-track { height: 6px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.uc-bar-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg,#6366f1,#4f46e5); }
.uc-bar-fill.green { background: linear-gradient(90deg,#10b981,#059669); }
.uc-bar-fill.orange { background: linear-gradient(90deg,#f97316,#ea580c); }
.uc-bar-fill.red { background: linear-gradient(90deg,#ef4444,#dc2626); }

/* ── Domain mock: activity timeline ──────────────────────────────────────── */
.uc-timeline { display: flex; flex-direction: column; gap: 0; }
.uc-tl-item { display: flex; gap: 8px; padding-bottom: 10px; position: relative; }
.uc-tl-item:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 16px; bottom: 0; width: 1px; background: var(--border); }
.uc-tl-dot { width: 15px; height: 15px; border-radius: 50%; background: var(--uc-indigo); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 8px; z-index: 1; }
.uc-tl-dot.green { background: #10b981; } .uc-tl-dot.orange { background: #f97316; } .uc-tl-dot.gray { background: #64748b; }
.uc-tl-body { font-size: 10px; color: var(--text-dim); line-height: 1.4; }
.uc-tl-time { font-size: 8px; color: var(--text-muted); }

/* Process flow */
.uc-process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; align-items: start; margin-top: 48px; }
.uc-process-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; position: relative; }
.uc-process-step:not(:last-child)::after { content: '→'; position: absolute; right: -10px; top: 18px; color: rgba(99,102,241,.4); font-size: 18px; }
.uc-process-num { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(99,102,241,.3); }
.uc-process-icon { font-size: 20px; margin-bottom: 8px; }
.uc-process-step h5 { font-size: 12px; font-weight: 700; margin-bottom: 5px; }
.uc-process-step p  { font-size: 11px; color: var(--text-muted); line-height: 1.5; }

/* Benefits */
.uc-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.uc-benefit-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.uc-benefit-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-2px); }
.uc-benefit-icon { width: 44px; height: 44px; background: var(--uc-indigo-dim); color: var(--uc-indigo); border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.uc-benefit-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.uc-benefit-card p  { font-size: 13px; color: var(--text-dim); line-height: 1.6; }

/* CTA */
.uc-cta { background: linear-gradient(135deg, #1e1b4b, #312e81); padding: 72px 0; text-align: center; }
.uc-cta h2 { font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.uc-cta p  { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 32px; }
.uc-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 1024px) {
  .uc-hero-inner { grid-template-columns: 1fr; }
  .uc-hero-visual { display: none; }
  .uc-challenge-grid { grid-template-columns: 1fr; }
  .uc-screen-row { grid-template-columns: 1fr; }
  .uc-screen-row.rev .uc-screen-text, .uc-screen-row.rev .uc-screen-visual { order: 0; }
  .uc-process { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .uc-process-step::after { display: none; }
  .uc-benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .uc-stat { padding: 0 20px; } .uc-stat-sep { display: none; }
  .uc-benefits { grid-template-columns: 1fr; }
  .uc-process { grid-template-columns: 1fr 1fr; }
  .uc-tiles { grid-template-columns: 1fr 1fr; }
  .uc-kanban { grid-template-columns: 1fr; }
}
