/* Mockup-specific styles — extends shared.css */
.mockup-page { background: var(--gray-50); }

.mockup-hero {
  background:
    radial-gradient(1200px 400px at 90% -20%, rgba(236, 72, 153, 0.45), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(42, 157, 96, 0.35), transparent 55%),
    linear-gradient(135deg, #0a0a0a 0%, #2a1a4a 45%, #4F46E5 100%);
  color: var(--white);
  padding: 56px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.mockup-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.4;
}
.mockup-hero h1 { font-size: 40px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.1; }
.mockup-hero .subtitle { font-size: 18px; opacity: 0.85; max-width: 720px; margin-bottom: 24px; }
.mockup-hero .breadcrumb {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 20px;
}
.mockup-hero .breadcrumb a { color: var(--white); opacity: 0.85; }
.mockup-hero .breadcrumb a:hover { opacity: 1; }
.mockup-hero .meta-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.mockup-hero .meta-tag {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.section-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.section-block .label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  background: linear-gradient(135deg, #ede9fe 0%, #fce7f3 100%);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(79, 70, 229, 0.15);
}
.section-block .label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.45);
  animation: section-label-pulse 2.6s infinite;
}
@keyframes section-label-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
.section-block h2 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section-block p { font-size: 15.5px; color: var(--gray-700); line-height: 1.65; margin-bottom: 12px; }
.section-block .lede { font-size: 17px; color: var(--gray-900); line-height: 1.55; margin-bottom: 20px; font-weight: 500; }

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.outcome {
  background: var(--gray-50);
  padding: 18px;
  border-radius: 10px;
  border-left: 3px solid var(--purple);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.outcome:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.08);
  border-left-color: var(--green);
}
.outcome:nth-child(2) { border-left-color: #ec4899; }
.outcome:nth-child(3) { border-left-color: var(--green); }
.outcome:nth-child(4) { border-left-color: #f97316; }
.outcome .num { font-size: 28px; font-weight: 800; color: var(--black); letter-spacing: -0.02em; }
.outcome .desc { font-size: 13px; color: var(--gray-700); margin-top: 6px; line-height: 1.45; }

/* Mock UI surfaces */
.surface {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 12px 32px rgba(15, 12, 50, 0.07),
    0 4px 12px rgba(15, 12, 50, 0.04);
  margin: 24px 0;
  transition: box-shadow 0.2s ease;
}
.surface:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 18px 44px rgba(79, 70, 229, 0.12),
    0 6px 16px rgba(15, 12, 50, 0.06);
}
.surface-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #f1f1f1;
  border-bottom: 1px solid var(--gray-200);
}
.surface-header .dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; }
.surface-header .dot.r { background: #ff5f57; }
.surface-header .dot.y { background: #ffbd2e; }
.surface-header .dot.g { background: #28c941; }
.surface-header .url {
  flex: 1;
  background: var(--white);
  padding: 5px 12px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-700);
  text-align: center;
  margin-left: 12px;
}

.app-frame {
  display: flex;
  background: var(--gray-50);
  min-height: 600px;
}
.app-sidebar {
  width: 200px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  padding: 16px 0;
}
.app-sidebar .logo {
  padding: 8px 20px 20px;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  gap: 6px;
}
.app-sidebar .logo .mark { color: var(--green); }
.app-sidebar .nav-item {
  padding: 9px 20px;
  font-size: 13px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: default;
}
.app-sidebar .nav-item.active { background: #d1fae5; color: var(--emerald); font-weight: 600; }
.app-sidebar .nav-item .icon { width: 16px; height: 16px; opacity: 0.7; display: inline-block; }

.app-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-topbar .right { display: flex; align-items: center; gap: 14px; }
.app-topbar .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.app-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Annotation system */
.annotation-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}
.annotation-grid .annot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.annot {
  background: #fef9c3;
  border-left: 3px solid var(--amber);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: #713f12;
  line-height: 1.55;
}
.annot strong { color: #422006; font-weight: 700; }
.annot .pin {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 18px;
  margin-right: 8px;
  vertical-align: middle;
}

.pin-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: 2px solid var(--white);
}

/* Open questions / tradeoffs */
.questions {
  background: #fef3c7;
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--amber);
  margin: 20px 0;
}
.questions h3 { font-size: 16px; margin-bottom: 12px; color: #713f12; }
.questions ul { padding-left: 20px; }
.questions li { font-size: 14px; margin-bottom: 6px; color: #713f12; line-height: 1.5; }

.related {
  background:
    linear-gradient(135deg, rgba(79,70,229,0.04) 0%, rgba(236,72,153,0.04) 100%),
    var(--gray-50);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 20px;
  border: 1px solid rgba(79, 70, 229, 0.08);
}
.related h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 10px;
}
.related .chip-link {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  margin: 2px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gray-700);
  text-decoration: none;
}
.related .chip-link:hover { background: var(--black); color: var(--white); border-color: var(--black); text-decoration: none; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-700);
  margin-bottom: 16px;
  font-size: 13px;
}

/* Tabs (for Brand Profile etc) */
.tab-row {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 24px;
  overflow-x: auto;
}
.tab {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  border-bottom: 2px solid transparent;
  cursor: default;
  white-space: nowrap;
}
.tab.active { color: var(--black); border-bottom-color: var(--black); font-weight: 600; }

/* Form elements (mock) */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-700); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.field .hint { font-size: 12px; color: var(--gray-500); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.pill-multi { display: flex; gap: 6px; flex-wrap: wrap; }
.pill-multi .pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  font-size: 12px;
  color: var(--gray-700);
  cursor: default;
}
.pill-multi .pill.selected { background: var(--black); color: var(--white); border-color: var(--black); }

/* Chat / studio interface */
.chat-area { display: flex; flex-direction: column; gap: 14px; padding: 20px 0; }
.chat-bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--black);
  color: var(--white);
  border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
  align-self: flex-start;
  background: var(--gray-100);
  color: var(--black);
  border-bottom-left-radius: 4px;
}
.chat-bubble.ai .ai-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chat-bubble.ai .preview-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  margin-top: 10px;
  overflow: hidden;
}
.chat-bubble.ai .preview-card .pc-img {
  height: 160px;
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #dc2626 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  padding: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.chat-bubble.ai .preview-card .pc-meta {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--gray-700);
  display: flex;
  justify-content: space-between;
}
.chat-bubble.ai .preview-card .pc-actions {
  display: flex;
  gap: 6px;
  padding: 0 14px 14px;
}
.chat-bubble.ai .preview-card .pc-actions button,
.chat-bubble.ai .preview-card .pc-actions .btn {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-900);
  cursor: default;
}
.chat-bubble.ai .preview-card .pc-actions .primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.studio-input {
  border-top: 1px solid var(--gray-200);
  padding: 14px 16px;
  display: flex;
  gap: 8px;
  background: var(--white);
}
.studio-input input {
  flex: 1;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
}
.studio-input button {
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 13px;
  cursor: default;
}

/* Kanban (staff backend studio) */
.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
}
.kanban-col {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 12px;
  min-height: 400px;
}
.kanban-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-700);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}
.kanban-col h4 .count { background: var(--white); padding: 2px 8px; border-radius: 999px; font-size: 11px; }

.k-card {
  background: var(--white);
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
  font-size: 12px;
}
.k-card .k-img {
  height: 80px;
  border-radius: 5px;
  background: linear-gradient(135deg, #4F46E5 0%, #2a9d60 100%);
  margin-bottom: 8px;
}
.k-card.var-1 .k-img { background: linear-gradient(135deg, #fbbf24, #dc2626); }
.k-card.var-2 .k-img { background: linear-gradient(135deg, #2a9d60, #0ea5e9); }
.k-card.var-3 .k-img { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.k-card.var-4 .k-img { background: linear-gradient(135deg, #f97316, #fbbf24); }
.k-card.var-5 .k-img { background: linear-gradient(135deg, #06b6d4, #4F46E5); }
.k-card .k-meta {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--gray-500);
  margin-bottom: 4px;
}
.k-card .k-title { font-weight: 600; font-size: 12px; line-height: 1.35; margin-bottom: 6px; color: var(--gray-900); }
.k-card .k-actions { display: flex; gap: 4px; }
.k-card .k-actions button {
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: default;
}
.k-card .k-actions .ok { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.k-card .k-actions .edit { background: var(--blue); color: var(--white); border-color: var(--blue); }
.k-card .k-actions .reject { background: var(--red); color: var(--white); border-color: var(--red); }

/* Generic widget cards (dashboard) */
.widget {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.widget h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray-500);
  font-weight: 700;
  margin-bottom: 8px;
}
.widget .big-number {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
}
.widget .delta {
  font-size: 12px;
  color: var(--emerald);
  font-weight: 600;
  margin-left: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dashboard-grid .span-2 { grid-column: span 2; }
.dashboard-grid .span-3 { grid-column: span 3; }
.dashboard-grid .span-full { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .annotation-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
  .kanban { grid-template-columns: 1fr 1fr; }
}
