/* ===== Multi-Tenant page (multi-tenant-aqua.html) ===== */
/* Shares style-aqua.css's design language — same architecture as
   automations-aqua.html / integrations-aqua.html: hero badge, the
   .usecases-* pinned-scroll scaffold (5 items x 80vh), and a browser-
   chrome mockup window per item — duplicated here under an "mt-" prefix
   rather than cross-linking automations-page-aqua.css, per this
   codebase's one-stylesheet-per-page convention. */

.auto-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-on-dark);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  opacity: 0;
  animation: heroTextEntrance 0.6s ease-out forwards;
}

.auto-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-amber);
}

.usecases-scroll-wrapper.mt-scroll-wrapper {
  height: 400vh;
}

/* ----- Mockup window (right column, 1 per item) ----- */

.mt-mock-window {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-ui);
  overflow: hidden;
  background: #ffffff;
}

.mt-mock-chrome {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  background: var(--surface-alt);
  border-bottom: 0.5px solid var(--border);
}

.mt-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
}

.mt-mock-tab {
  margin-left: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mt-mock-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: var(--space-3);
}

.mt-mock-body-center {
  align-items: center;
  text-align: center;
}

.mt-mock-caption {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Workspace / billing row list (items 1 + 3) */

.mt-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px var(--space-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-ui);
}

.mt-mock-row-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(170, 208, 226, 0.35);
  color: var(--dark-bg);
}

.mt-mock-row-name {
  flex: 1;
  min-width: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
}

.mt-mock-row-tag {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface-alt);
  color: var(--text-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.mt-mock-row-tag-ok {
  background: rgba(170, 208, 226, 0.35);
  color: var(--dark-bg);
}

/* Hierarchy tree (item 2) */

.mt-mock-tree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-ui);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.mt-mock-tree-t2 {
  margin-left: var(--space-3);
}

.mt-mock-tree-t3 {
  margin-left: calc(var(--space-3) * 2);
}

/* Overview stats (item 4) */

.mt-mock-stat-row {
  display: flex;
  gap: var(--space-4);
}

.mt-mock-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mt-mock-stat-value {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
}

.mt-mock-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--text-secondary);
}

/* White-label notification (item 5) */

.mt-mock-notification {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: var(--space-2);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-ui);
  text-align: left;
}

.mt-mock-bell-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(170, 208, 226, 0.35);
  color: var(--dark-bg);
}

.mt-mock-notification-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mt-mock-notification-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.mt-mock-notification-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* ----- "Who It's For" callout — reuses .usecases-intro/.usecases-label/
   .usecases-heading/.usecases-subtext verbatim, no CTA of its own (the
   cta-band-section right after the FAQ is this page's single CTA). ----- */

.mt-custom-section {
  padding-bottom: var(--space-3);
}

/* ----- Real-World Scenarios — horizontal scroll-snap card track, same
   pinned/translateX mechanism as automations-aqua.html's Always-On
   section (see js/automations-alwayson-cards.js), duplicated here under
   the shared "auto-cards-" class names per this page's own stylesheet. ----- */

.auto-cards-scroll {
  position: relative;
  height: calc(var(--auto-cards-count, 5) * 60vh);
}

.auto-cards-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auto-cards-track-viewport {
  overflow: hidden;
  max-width: 1150px;
  width: 100%;
  margin: var(--space-5) auto 0;
}

.auto-cards-track {
  display: flex;
  gap: var(--space-3);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.auto-cards-card {
  flex: 0 0 340px;
  width: 340px;
  min-height: 220px;
  background: #ffffff;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  opacity: 0.6;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-cards-card.is-active {
  opacity: 1;
}

.auto-cards-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-ui);
  background: rgba(170, 208, 226, 0.25);
  color: var(--dark-bg);
}

.auto-cards-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-primary);
}

.auto-cards-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.auto-cards-steps {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: 0;
}

.auto-cards-step-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.auto-cards-step-pill.is-active {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: var(--text-primary);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .auto-cards-card, .auto-cards-step-pill, .auto-cards-track { transition: none; }
}

@media (max-width: 860px) {
  .auto-cards-scroll { height: auto; }
  .auto-cards-pin { position: static; height: auto; display: block; padding: var(--space-6) 0; }
  .auto-cards-track-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: var(--space-5) 0 0;
    padding: 0 var(--space-3) var(--space-2);
    scrollbar-width: none;
  }
  .auto-cards-track-viewport::-webkit-scrollbar { display: none; }
  .auto-cards-track { transform: none !important; }
  .auto-cards-card { scroll-snap-align: center; flex-basis: 78vw; width: 78vw; }
}
