/* ==============================================
   JURY SIMULATOR - ADDITIONAL PAGE STYLES
   Vision Eval, Pricing, and shared components
   ============================================== */

/* ========================================
   VISION EVAL PAGE (vision-eval.html)
   ======================================== */

.page-hero {
  padding: 160px clamp(20px, 5vw, 60px) 100px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79,110,247,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 48px; }
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.page-hero-content p {
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Vision Eval specific */
.vision-stages {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stage-card {
  padding: 28px;
  transition: all 0.3s var(--ease);
}

.stage-card:hover {
  transform: translateY(-4px);
  background: var(--glass-bg-strong);
}

.stage-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.stage-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.stage-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Scores Section */
.scores-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.scores-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .scores-split { grid-template-columns: 1fr; }
}

.score-category {
  margin-bottom: 32px;
}

.score-category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.score-category-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(79,110,247,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 1px solid rgba(79,110,247,0.2);
}

.score-category-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.score-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}

.score-item:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
}

.score-item-name {
  flex: 1;
  font-size: 13px;
  color: var(--text-2);
}

.score-item-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-light);
}

.score-item-bar {
  width: 80px;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.score-item-bar div {
  height: 100%;
  border-radius: 4px;
  background: var(--grad-primary);
}

/* Demo preview for Vision Eval */
.vision-demo-preview {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
}

.demo-window {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.demo-header {
  padding: 16px 24px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.demo-body {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

@media (max-width: 600px) {
  .demo-body { grid-template-columns: 1fr; }
}

/* ========================================
   PRICING PAGE (pricing.html)
   ======================================== */

.pricing-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-toggle span {
  font-size: 14px;
  color: var(--text-2);
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--primary);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.annual::after {
  transform: translateX(22px);
}

.save-badge {
  background: rgba(34,197,94,0.1);
  color: var(--positive);
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(34,197,94,0.2);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  padding: 40px 36px;
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s var(--ease);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-strong);
}

.pricing-card.featured {
  background: linear-gradient(135deg, rgba(79,110,247,0.12) 0%, rgba(124,58,237,0.12) 100%);
  border-color: rgba(79,110,247,0.3);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: white;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.plan-tagline {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 28px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 8px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.price-currency {
  font-size: 24px;
  color: var(--text-3);
  font-weight: 500;
  padding-bottom: 8px;
}

.price-period {
  font-size: 14px;
  color: var(--text-3);
  padding-bottom: 10px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}

.plan-features li.disabled {
  opacity: 0.4;
}

.feat-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--positive);
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(34,197,94,0.2);
}

.feat-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-4);
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid var(--border);
}

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-plan.primary {
  background: var(--grad-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(79,110,247,0.35);
}

.btn-plan.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(79,110,247,0.5);
}

.btn-plan.outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-plan.outline:hover {
  background: var(--surface-hover);
  border-color: var(--primary);
  color: var(--primary-light);
}

/* FAQ */
.faq-section {
  padding: var(--section-pad) 0;
  background: var(--bg-2);
}

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  gap: 12px;
  background: var(--surface);
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--surface-hover);
}

.faq-arrow {
  font-size: 20px;
  color: var(--primary-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s;
  background: var(--surface);
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px;
}

/* Comparison Table */
.compare-section {
  padding: var(--section-pad) 0;
  background: var(--bg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.compare-table th {
  padding: 20px 24px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-2);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child {
  color: var(--text-3);
  font-weight: 500;
}

.compare-table th.highlighted {
  background: rgba(79,110,247,0.08);
  color: var(--primary-light);
}

.compare-table td {
  padding: 16px 24px;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}

.compare-table td:first-child {
  font-weight: 500;
  color: var(--text);
}

.compare-table td.highlighted {
  background: rgba(79,110,247,0.04);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table tr:hover td {
  background: var(--surface-hover);
}

.compare-table tr:hover td.highlighted {
  background: rgba(79,110,247,0.07);
}

.check-yes { color: var(--positive); font-size: 16px; }
.check-no { color: var(--text-4); font-size: 16px; }

/* Contact/Enterprise section */
.enterprise-section {
  padding: 80px 0;
  background: var(--bg-2);
}

.enterprise-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px;
  text-align: center;
  background: linear-gradient(135deg, rgba(79,110,247,0.08) 0%, rgba(124,58,237,0.08) 100%);
  border-color: rgba(79,110,247,0.2);
}

.enterprise-card h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.enterprise-card p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 36px;
}

.enterprise-features {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.enterprise-feat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.enterprise-feat::before {
  content: '✓';
  color: var(--positive);
  font-weight: 700;
}

/* ============================================================
   VISUAL MOCKUPS FOR FEATURES & HOW IT WORKS PAGES
   ============================================================ */

.feat-mockup {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.mockup-header {
  padding: 14px 20px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #22c55e; }

.mockup-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
}

.mockup-body {
  padding: 24px;
}

/* Case creation mockup */
.case-form-mockup .form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.case-form-mockup .form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-form-mockup .form-field {
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.case-form-mockup .form-field.active {
  border-color: var(--primary);
  background: rgba(79,110,247,0.04);
  color: var(--text);
}

.case-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.case-tag {
  padding: 4px 10px;
  background: rgba(79,110,247,0.1);
  border: 1px solid rgba(79,110,247,0.2);
  border-radius: 100px;
  font-size: 11px;
  color: var(--primary-light);
  font-weight: 500;
}

/* Persona mockup */
.persona-grid-mock {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.persona-mini {
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
}

.persona-mini:hover { border-color: var(--primary); }

.persona-mini-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.persona-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.persona-avatar-sm.m { background: linear-gradient(135deg, #4F6EF7, #06B6D4); }
.persona-avatar-sm.f { background: linear-gradient(135deg, #7C3AED, #EC4899); }

.persona-mini-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.persona-mini-role {
  font-size: 10px;
  color: var(--text-3);
}

.persona-bias-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  margin-top: 4px;
}

.persona-bias-row span:first-child { color: var(--text-4); }
.persona-bias-row .bias-val { font-weight: 600; color: var(--text-2); }

/* Group dynamics mockup */
.group-sim-mockup {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 80%;
}

.sim-message.left {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--positive);
  color: var(--text-2);
  align-self: flex-start;
}

.sim-message.right {
  background: rgba(79,110,247,0.06);
  border: 1px solid rgba(79,110,247,0.15);
  border-right: 3px solid var(--primary-light);
  color: var(--text-2);
  align-self: flex-end;
}

.sim-message .msg-sender {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.sim-message.left .msg-sender { color: var(--positive); }
.sim-message.right .msg-sender { color: var(--primary-light); }

/* Live badge */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: #ef4444;
  letter-spacing: 0.06em;
}

.live-dot {
  width: 5px;
  height: 5px;
  background: #ef4444;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Knowledge base mockup */
.kb-file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-2);
  transition: all 0.2s;
}

.kb-file:hover { border-color: var(--primary); background: var(--surface-hover); }

.kb-file-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.kb-file-info { flex: 1; min-width: 0; }
.kb-file-name { font-weight: 600; color: var(--text); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-file-meta { font-size: 10px; color: var(--text-4); }

.kb-file-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.kb-file-status.indexed { background: rgba(34,197,94,0.1); color: var(--positive); }
.kb-file-status.processing { background: rgba(245,158,11,0.1); color: var(--warning); }

/* Question bank mockup */
.qbank-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}

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

.qnum {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grad-primary);
  color: white;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qtext { flex: 1; line-height: 1.5; }
.qtag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(79,110,247,0.1);
  color: var(--primary-light);
  border: 1px solid rgba(79,110,247,0.15);
  white-space: nowrap;
}

/* Clio / integration mockup */
.clio-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clio-matter {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s;
  cursor: pointer;
}

.clio-matter:hover { background: var(--surface-hover); border-color: var(--primary); }
.clio-matter.importing { border-color: var(--primary); background: rgba(79,110,247,0.05); }

.clio-matter-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(79,110,247,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.clio-matter-info { flex: 1; }
.clio-matter-name { font-size: 13px; font-weight: 600; color: var(--text); }
.clio-matter-meta { font-size: 11px; color: var(--text-4); margin-top: 2px; }

.clio-import-btn {
  padding: 5px 12px;
  background: var(--grad-primary);
  border: none;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  cursor: pointer;
}

.clio-import-btn.done {
  background: rgba(34,197,94,0.15);
  color: var(--positive);
}

/* Summary card mockup */
.summary-card-mock {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.summary-header-mock {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.summary-text-mock {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 14px;
}

.summary-verdict-row {
  display: flex;
  gap: 12px;
}

.verdict-chip {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
}

.verdict-chip.guilty { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); }
.verdict-chip.not-guilty { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); }

.verdict-chip .vnum {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.verdict-chip.guilty .vnum { color: var(--positive); }
.verdict-chip.not-guilty .vnum { color: var(--danger); }

.verdict-chip .vlabel { font-size: 10px; color: var(--text-3); font-weight: 500; }

/* Contradiction scanner mockup */
.contra-scan {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contra-item {
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 3px solid var(--danger);
  background: rgba(239,68,68,0.05);
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
}

.contra-item .contra-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--danger);
  margin-bottom: 4px;
}

/* Research request mockup */
.research-mock {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.research-thread {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.research-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.research-avatar.ai { background: var(--grad-primary); }
.research-avatar.user { background: rgba(255,255,255,0.15); font-size: 13px; }

.research-bubble {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.5;
  flex: 1;
}

.research-bubble.ai-response {
  background: rgba(79,110,247,0.05);
  border-color: rgba(79,110,247,0.15);
}

/* Chat export mockup */
.export-preview {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.export-top {
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.export-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}

.export-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: var(--grad-primary);
  border: none;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  color: white;
  cursor: pointer;
}

.export-rows {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.export-row {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  padding: 8px 12px;
  border-radius: 8px;
  align-items: flex-start;
  transition: background 0.2s;
}

.export-row.atty {
  background: rgba(79, 110, 247, 0.04);
  border: 1px solid rgba(79, 110, 247, 0.08);
}

.export-row.juror {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.export-row .er-role {
  font-weight: 700;
  min-width: 70px;
  color: var(--text-3);
  font-size: 11px;
  margin-top: 1px;
}

.export-row.atty .er-role { color: var(--primary-light); }
.export-row.juror .er-role { color: var(--positive); }

/* Witness eval mockup */
.witness-eval-mock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.witness-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ws-label { font-size: 12px; color: var(--text-3); min-width: 100px; }

.ws-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}

.ws-bar {
  height: 100%;
  border-radius: 4px;
  background: var(--grad-primary);
  transition: width 1s ease;
}

.ws-val { font-size: 12px; font-weight: 700; color: var(--text); min-width: 36px; text-align: right; }

/* Statement analysis mockup */
.stmt-analysis {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stmt-segment {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  position: relative;
}

.stmt-segment.strong {
  background: rgba(34,197,94,0.08);
  border-left: 3px solid var(--positive);
  color: var(--text-2);
}

.stmt-segment.weak {
  background: rgba(239,68,68,0.06);
  border-left: 3px solid var(--danger);
  color: var(--text-2);
}

.stmt-segment.neutral {
  background: var(--surface);
  border-left: 3px solid var(--border-strong);
  color: var(--text-2);
}

.stmt-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.stmt-segment.strong .stmt-label { color: var(--positive); }
.stmt-segment.weak .stmt-label { color: var(--danger); }
.stmt-segment.neutral .stmt-label { color: var(--text-4); }

/* ============================================================
   SHARED MOCKUP TEXT PRIMITIVES (feature / workflow pages)
   ============================================================ */
.mockup-item-title { color: var(--text); font-weight: 700; font-size: 13px; }
.mockup-subtext { color: var(--text-3); font-family: var(--font-main); font-size: 10px; }
.mockup-code-block {
  font-size: 11px; color: var(--text-2); background: var(--bg-3);
  border: 1px solid var(--border); padding: 10px 14px; border-radius: 6px;
  font-family: 'SF Mono', 'Courier New', monospace; line-height: 1.4;
}
[data-theme="light"] .mockup-code-block { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.06); }

/* ============================================================
   COURTROOM HIGH-TRUST LEGAL UI COMPONENTS
   ============================================================ */
.evidence-card {
  background: var(--bg-3); border: 1px solid var(--border-strong); border-top: 4px solid var(--primary);
  border-radius: 8px; padding: 20px; position: relative; box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  font-family: var(--font-main); overflow: hidden; color: var(--text); transition: border-color 0.2s var(--ease);
}
.evidence-card::before {
  content: ''; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid;
  border-width: 0 24px 24px 0; border-color: transparent var(--border-strong) transparent transparent;
}
.courtroom-badge {
  font-family: 'SF Mono','Courier New',monospace; font-size: 10px; color: var(--text-3);
  text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px dashed var(--border);
  padding-bottom: 6px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center;
}
.courtroom-badge span.court-title { color: var(--text-2); font-weight: 600; }

.legal-stamp {
  display: inline-block; border: 2px solid currentColor; padding: 4px 10px; font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.15em; font-family: var(--font-display); transform: rotate(-3deg);
  border-radius: 2px; opacity: 0.9; line-height: 1; margin: 6px 0; text-align: center; box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.legal-stamp.exhibit { color: var(--primary); }
[data-theme="dark"] .legal-stamp.exhibit { color: var(--primary-light); }
.legal-stamp.confidential { color: var(--danger); }
.legal-stamp.admitted { color: var(--positive); }
.legal-stamp.work-product { color: var(--warning); }

.dossier-card {
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 8px; padding: 16px;
  position: relative; transition: all 0.2s var(--ease); color: var(--text);
}
.dossier-card:hover { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 8px 24px rgba(0,0,0,0.15); }
[data-theme="dark"] .dossier-card:hover { box-shadow: 0 0 0 1px var(--primary), 0 8px 24px rgba(0,0,0,0.6); }

.strike-rec {
  display: inline-flex; align-items: center; gap: 4px; font-size: 9px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 3px 8px; border-radius: 4px; margin-top: 8px;
}
.strike-rec.strike { background: rgba(239,68,68,0.1); color: var(--danger); border: 1px solid rgba(239,68,68,0.25); }
.strike-rec.favorable { background: rgba(34,197,94,0.1); color: var(--positive); border: 1px solid rgba(34,197,94,0.25); }
.strike-rec.caution { background: rgba(245,158,11,0.1); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }

.verdict-range-card {
  background: var(--bg-3); border: 1px solid var(--border-strong); border-radius: 8px; padding: 24px;
  position: relative; box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}
[data-theme="dark"] .verdict-range-card { border-color: rgba(79,110,247,0.3); box-shadow: 0 16px 48px rgba(0,0,0,0.8); }
.verdict-value {
  font-family: var(--font-display); font-size: 38px; font-weight: 900; letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1.1; margin: 10px 0;
}
[data-theme="dark"] .verdict-value { background: linear-gradient(135deg, #FFF 0%, var(--primary-light) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.valuation-math {
  font-family: 'SF Mono','Courier New',monospace; font-size: 11px; color: var(--text-3);
  background: rgba(0,0,0,0.04); padding: 12px; border-radius: 6px; border: 1px solid var(--border); margin-top: 14px;
}
[data-theme="dark"] .valuation-math { background: rgba(0,0,0,0.25); }
.valuation-math-row { display: flex; justify-content: space-between; margin-bottom: 6px; }
.valuation-math-row:last-child { margin-bottom: 0; border-top: 1px dashed var(--border-strong); padding-top: 6px; font-weight: 700; color: var(--text-2); }

.witness-analytics-card { background: var(--bg-3); border: 1px solid var(--border-strong); border-radius: 8px; padding: 20px; }
.witness-timeline {
  display: flex; gap: 3px; height: 24px; background: rgba(0,0,0,0.05); border-radius: 4px; padding: 3px;
  margin-top: 14px; border: 1px solid var(--border);
}
[data-theme="dark"] .witness-timeline { background: rgba(0,0,0,0.3); }
.timeline-tick { flex: 1; height: 100%; border-radius: 2px; background: var(--positive); opacity: 0.85; }
.timeline-tick.stress-spike { background: var(--danger); opacity: 1; }
.timeline-tick.caution-warning { background: var(--warning); opacity: 1; }

.attorney-note {
  background: rgba(245,158,11,0.05); border-left: 3px solid var(--warning); padding: 12px 14px; font-size: 12px;
  line-height: 1.5; color: var(--text-2); border-radius: 0 8px 8px 0; margin-top: 14px;
}
.attorney-note strong { color: var(--warning); font-family: var(--font-display); text-transform: uppercase; font-size: 10px; letter-spacing: 0.05em; display: block; margin-bottom: 4px; }

.certified-pack { background: var(--bg-3); border: 1px solid var(--border-strong); border-radius: 8px; padding: 20px; }
.gold-seal-badge {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(245,158,11,0.08); border: 1px solid var(--warning);
  border-radius: 4px; padding: 4px 10px; font-size: 10px; font-weight: 800; color: var(--warning); text-transform: uppercase; letter-spacing: 0.05em;
}

.step-visual-sharp {
  border-radius: 10px !important; border: 1px solid var(--border-strong) !important; background: var(--bg-3) !important;
  box-shadow: 0 20px 48px rgba(0,0,0,0.15) !important; overflow: hidden; transition: border-color 0.2s var(--ease);
}
[data-theme="dark"] .step-visual-sharp { background: rgba(5,5,8,0.95) !important; box-shadow: 0 20px 48px rgba(0,0,0,0.8) !important; }
.step-visual-sharp:hover { border-color: rgba(79,110,247,0.45) !important; }

[data-theme="light"] .ws-bar-wrap { background: rgba(0,0,0,0.05) !important; border-color: rgba(0,0,0,0.08) !important; }
[data-theme="light"] .clio-matter { background: rgba(0,0,0,0.03) !important; border-color: rgba(0,0,0,0.06) !important; }
[data-theme="light"] .live-indicator { background: rgba(239,68,68,0.08) !important; border-color: rgba(239,68,68,0.18) !important; }
