/* =========================================================================
   index.css — صفحه‌ی اول: گزارش مفقودی (جلد پرونده)
   ========================================================================= */

.page-index { max-width: 760px; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--space-8);
}

/* مهر پرونده (موتیف اصلی، زیرstated) */
.case-seal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  border: 1.5px dashed rgba(212, 162, 78, .35);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  transform: rotate(-3deg);
  margin-bottom: var(--space-8);
  background: rgba(212, 162, 78, .04);
  box-shadow: 0 0 40px -14px rgba(212, 162, 78, .35);
}

.case-seal-num {
  font-family: var(--font-mono);
  font-size: .85rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--accent-amber);
  padding-inline-start: .4em; /* جبران فاصله‌ی آخرین حرف */
}

.case-seal-line { font-size: var(--text-xs); color: var(--text-muted); }

.doc-type {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.hero-title {
  font-size: var(--text-3xl);
  font-weight: 900;
  margin-bottom: var(--space-5);
}

/* کارت سرنخ صفر — اولین پیام تلگرام */
.tip-card {
  max-width: 560px;
  width: 100%;
  text-align: right;
  margin-bottom: var(--space-8);
}

.tip-text {
  font-size: var(--text-md);
  color: var(--text-muted);
  line-height: 2;
  margin-bottom: var(--space-5);
}

.tg-bubble {
  position: relative;
  max-width: 320px;
  margin-inline: auto;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md) var(--radius-md) var(--radius-md) 4px;
  padding: var(--space-4) var(--space-5) var(--space-3);
  box-shadow: var(--glow-amber-soft);
}

.tg-bubble::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, .35);
  border-inline-start: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0 0 0 6px;
}

.tg-meta {
  display: block;
  font-size: .6rem;
  color: var(--text-faint);
  margin-bottom: var(--space-2);
}

.tg-message {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-primary);
}

.hook-dist {
  margin-top: var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--text-faint);
}

/* نقشِ برعکس‌شده: این بار او کارآگاه است */
.role-line {
  font-size: var(--text-md);
  color: var(--text-muted);
  max-width: 34em;
  border-inline-start: 2px solid var(--border-strong);
  padding-inline-start: var(--space-4);
  text-align: right;
  margin-bottom: var(--space-8);
}

/* جدول مشخصات گزارش */
.fields-grid {
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0) 40%), var(--bg-secondary);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  margin-bottom: var(--space-8);
  text-align: right;
}

.field {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5);
  border-bottom: 1px dashed var(--border-subtle);
}

.field:last-child { border-bottom: none; }

.field-label {
  color: var(--text-muted);
  font-size: var(--text-sm);
  white-space: nowrap;
}

.field-value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: var(--text-sm);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
}

.status-line { font-size: var(--text-sm); color: var(--text-muted); }

.cta-start { min-width: min(320px, 86vw); }

@media (max-width: 520px) {
  .field { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
  .field-label { white-space: normal; }
}
