/* ============================================================
   use-cases.css
   Use cases section — tabbed interface with SVG diagrams.
   Depends on: tokens.css, utilities.css
   ============================================================ */

#use-cases {
  background: var(--white);
}

.uc-header {
  margin-bottom: var(--space-12);
}

/* ── Tab navigation ─────────────────────────────────────── */
.uc-tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--grey-mid);
  margin-bottom: var(--space-10);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.uc-tabs::-webkit-scrollbar {
  display: none;
}

.uc-tab {
  padding: 10px var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--grey-text);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  /* Reset button defaults */
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
}

.uc-tab.active {
  color: var(--black);
  border-bottom-color: var(--green);
}

.uc-tab:hover:not(.active) {
  color: var(--black);
}

/* ── Panels ─────────────────────────────────────────────── */
.uc-panel {
  display: none;
}

.uc-panel.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ── Panel content ──────────────────────────────────────── */
.uc-content .uc-vertical {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.uc-content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--black);
  margin-bottom: var(--space-4);
  line-height: 1.25;
}

.uc-content p {
  font-size: .95rem;
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

/* ── Feature list ───────────────────────────────────────── */
.uc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.uc-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--grey-muted);
  line-height: 1.5;
}

.uc-feature::before {
  content: '';
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  margin-top: 2px;
}

/* ── Diagram container ──────────────────────────────────── */
.uc-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
