/* ===========================================
   Shared Components — Violet Theme
   =========================================== */

/* ── Section Headers ── */
.section {
  margin-top: 32px;
}

.section-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 4px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-label .count {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent);
  font-weight: 600;
}

.section-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.4;
}

/* ── Info Tooltips ── */
.info-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 9px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: help;
  vertical-align: middle;
  margin-left: 4px;
  flex-shrink: 0;
}

/* Floating tooltip rendered on <body> via JS */
.info-tip-bubble {
  position: fixed;
  background: var(--bg-elevated);
  border: 1px solid var(--border-glow);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  padding: 8px 10px;
  border-radius: 8px;
  width: max-content;
  max-width: 220px;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transition: opacity 150ms ease;
  z-index: 9999;
  box-shadow: var(--shadow-md);
  font-family: 'DM Sans', sans-serif;
}

.info-tip-bubble.visible {
  opacity: 1;
}

/* ── Animations ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim {
  animation: fade-up .45s cubic-bezier(.22, 1, .36, 1) forwards;
  opacity: 0;
}

.d1 { animation-delay: .05s; }
.d2 { animation-delay: .12s; }
.d3 { animation-delay: .19s; }
.d4 { animation-delay: .26s; }
.d5 { animation-delay: .33s; }

@keyframes card-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Cross-Tab CTA Buttons ── */
.crosslink-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
  margin-top: 14px;
  letter-spacing: .2px;
}

.crosslink-btn:hover {
  background: var(--accent);
  color: var(--bg-main);
  transform: translateY(-1px);
}

.crosslink-btn svg {
  flex-shrink: 0;
}
