/* ============================================================
   Use Cases Page Styles
   ============================================================ */

/* Hero — dark */
.uc-hero {
  position: relative;
  padding: var(--space-12) 0 var(--space-11);
  overflow: hidden;
  background: #001A24;
}

.uc-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.uc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--color-brand-action);
  text-transform: lowercase;
  margin-bottom: var(--space-5);
}

.uc-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-brand-action);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.uc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 var(--space-5);
  letter-spacing: -0.02em;
}

.uc-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.5vw, 20px);
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
  max-width: 640px;
  margin: 0 auto;
}

/* Section headers */
.uc-section-header {
  text-align: center;
  margin-bottom: var(--space-9);
}

.uc-section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-action);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}

.uc-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-ink-strong);
  margin: 0 0 var(--space-5);
  letter-spacing: -0.02em;
}

.uc-section-intro {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Two Setup Modes Section */
.uc-setup-modes {
  padding: var(--space-10) 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.uc-setup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .uc-setup-grid {
    grid-template-columns: 1fr;
  }
}

.uc-setup-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.uc-setup-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--color-brand-action);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.uc-setup-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink-strong);
  margin: 0 0 var(--space-3);
}

.uc-setup-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-muted);
  margin: 0 0 var(--space-5);
}

.uc-setup-steps {
  margin-bottom: var(--space-5);
}

.uc-setup-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: setup-step;
}

.uc-setup-steps-list li {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-ink-base);
  padding-left: var(--space-7);
  margin-bottom: var(--space-3);
}

.uc-setup-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--color-brand-action);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-setup-code .code-block {
  background: #1A1A2E;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.uc-setup-code .code-block-body {
  padding: var(--space-4);
  overflow-x: auto;
}

.uc-setup-code .code-block-body pre {
  margin: 0;
  background: none;
}

.uc-setup-code .code-block-body code {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #E0E0E0;
  background: none;
}

.uc-setup-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--color-surface-raised);
  border-radius: var(--radius-md);
  min-height: 160px;
}

.uc-setup-mockup {
  width: 100%;
  max-width: 240px;
}

.uc-mockup-header {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.uc-mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
}

.uc-mockup-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.uc-mockup-row {
  height: 12px;
  background: var(--color-border);
  border-radius: 3px;
}

.uc-mockup-row--short {
  width: 60%;
}

/* Concrete Examples Section */
.uc-examples {
  padding: var(--space-11) 0;
  background: var(--color-bg);
}

/* ============================================================
   Carousel — Brenda spec v2
   ============================================================ */
.uc-carousel-wrap {
  position: relative;
  padding: 0 48px;
}

.uc-examples-grid.uc-carousel {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-2) 0 var(--space-4);
}

.uc-examples-grid.uc-carousel::-webkit-scrollbar { display: none; }

.uc-examples-grid.uc-carousel > .uc-example-card {
  flex: 0 0 min(480px, 90vw);
  scroll-snap-align: start;
}

/* Arrow buttons — 44px tap target, navy hover */
.uc-carousel-btn {
  position: absolute; top: 50%;
  transform: translateY(-60%);
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 4px 12px rgba(2,6,23,.08);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-ink-base);
  transition: background 120ms, border-color 120ms, box-shadow 120ms, color 120ms;
}

.uc-carousel-btn:hover:not(:disabled) {
  background: #002A3A;
  color: #fff;
  border-color: #002A3A;
  box-shadow: 0 8px 22px rgba(2,6,23,.10);
}

.uc-carousel-btn:disabled { opacity: 0.25; cursor: default; box-shadow: none; }

.uc-carousel-prev { left: 0; }
.uc-carousel-next { right: 0; }

/* Pagination dots */
.uc-carousel-dots {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 4px; padding-bottom: 4px;
}

.uc-carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-border-strong);
  border: none; padding: 0; cursor: pointer;
  transition: width 200ms cubic-bezier(.2,.8,.2,1),
              background 200ms cubic-bezier(.2,.8,.2,1),
              border-radius 200ms cubic-bezier(.2,.8,.2,1);
}

.uc-carousel-dot.is-active {
  width: 20px; border-radius: 3px;
  background: #002A3A;
}

@media (max-width: 640px) {
  .uc-carousel-wrap { padding: 0 16px; }
  .uc-carousel-btn { display: none; }
  .uc-examples-grid.uc-carousel > .uc-example-card { flex: 0 0 calc(100vw - 48px); }
}

/* ============================================================
   Integration cards — dark treatment
   ============================================================ */
.uc-example-card {
  background: #002A3A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 200ms cubic-bezier(.2,.8,.2,1),
              border-color 200ms cubic-bezier(.2,.8,.2,1);
}

.uc-example-card:hover {
  border-color: rgba(0, 157, 100, 0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,157,100,0.15);
}

.uc-example-icon {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-raised);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  color: var(--color-ink-muted);
}

.uc-example-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #F1F5F9;
  margin: 0 0 10px;
}

.uc-example-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 20px;
  flex-grow: 1;
}

.uc-example-code {
  margin-bottom: var(--space-4);
}

.uc-example-code .code-block {
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  overflow: hidden;
}

.uc-example-code .code-block-body {
  padding: 16px;
  overflow-x: auto;
}

.uc-example-code .code-block-body pre {
  margin: 0;
  background: none;
}

.uc-example-code .code-block-body code {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.75;
  color: #94A3B8;
  background: none;
}

/* Token syntax colors */
.uc-example-code .tok-comment { color: #475569; }
.uc-example-code .tok-keyword  { color: #00C07A; }
.uc-example-code .tok-string   { color: #FFCD38; }

.uc-example-note {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.35);
  font-style: normal;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Fan-Out Demo Section */
.uc-fanout {
  padding: var(--space-10) 0;
  background: #001A24;
}

.uc-fanout .uc-section-eyebrow {
  color: var(--color-brand-action);
}

.uc-fanout .uc-section-title {
  color: #FFFFFF;
}

.uc-fanout .uc-section-intro {
  color: rgba(255,255,255,0.62);
  max-width: 640px;
}

.uc-fanout-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
}

.uc-fanout-source {
  flex-shrink: 0;
}

.uc-fanout-event {
  background: var(--color-brand-action);
  color: #FFFFFF;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.uc-fanout-arrow {
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .uc-fanout-diagram {
    flex-direction: column;
    gap: var(--space-4);
  }

  .uc-fanout-arrow {
    transform: rotate(90deg);
  }
}

.uc-fanout-destinations {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.uc-fanout-dest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  min-width: 100px;
}

.uc-fanout-dest-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,0.7);
}

.uc-fanout-dest-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-align: center;
}

.uc-fanout-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 500px;
  margin: 0 auto;
}

/* Two Models Section */
.uc-models {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}

.uc-models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

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

.uc-model-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
}

.uc-card-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-brand-action);
  background: var(--color-success-bg);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.uc-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink-strong);
  margin: 0 0 var(--space-4);
}

.uc-card-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-ink-muted);
  margin: 0 0 var(--space-5);
}

.uc-card-flow {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-ink-base);
  background: var(--color-bg);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  overflow-x: auto;
  white-space: nowrap;
}

.uc-card-flow code {
  color: var(--color-brand-action);
  background: none;
  padding: 0;
}

.uc-card-value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-strong);
  margin: 0 0 var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.uc-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.uc-card-list li {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
}

.uc-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-brand-action);
  font-weight: 600;
}

/* Workflows Section */
.uc-workflows {
  padding: var(--space-11) 0;
}

.uc-workflows-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (max-width: 900px) {
  .uc-workflows-grid {
    grid-template-columns: 1fr;
  }
}

.uc-workflow-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur-base) var(--ease);
}

.uc-workflow-card:hover {
  box-shadow: var(--shadow-md);
}

.uc-workflow-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-ink-strong);
  margin: 0 0 var(--space-4);
}

.uc-workflow-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-ink-muted);
  margin: 0 0 var(--space-4);
}

.uc-workflow-body:last-of-type {
  margin-bottom: var(--space-4);
}

/* Flow chain — styled node + connector pills */
.uc-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

/* Vertical flow layout on mobile - steps stack with vertical connector */
@media (max-width: 640px) {
  .uc-flow {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }

  .uc-flow-node {
    width: 100%;
    text-align: center;
  }

  .uc-flow-arrow {
    align-self: center;
    padding: var(--space-1) 0;
  }

  .uc-flow-arrow::after {
    content: "↓";
  }

  .uc-flow-split {
    display: none;
  }
}

.uc-flow-node {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-ink-base);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  line-height: 1.6;
}

.uc-flow-node--hw {
  color: var(--color-brand-action);
  border-color: var(--color-border-brand);
  background: var(--color-success-bg);
}

.uc-flow-arrow {
  color: var(--color-ink-disabled);
  font-size: 12px;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}
.uc-flow-arrow::after { content: "→"; }

.uc-flow-split {
  color: var(--color-ink-disabled);
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
  user-select: none;
}

/* Legacy class kept for backwards compat */
.uc-workflow-flow {
  display: none;
}

.uc-workflow-note {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-muted);
  margin-top: var(--space-2);
  font-style: italic;
}

.uc-workflow-comparison {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  background: var(--color-warning-bg);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-warning);
}

.uc-workflow-comparison strong {
  color: var(--color-ink-strong);
}

.uc-workflow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.uc-workflow-list li {
  position: relative;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-ink-muted);
  padding-left: var(--space-5);
  margin-bottom: var(--space-2);
}

.uc-workflow-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-brand-action);
  font-weight: 600;
}

/* Comparison Section */
.uc-comparison {
  padding: var(--space-11) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.comparison-table-wrap {
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-6);
  background: var(--color-surface);
}

.uc-comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  font-size: 0.9375rem;
  min-width: 560px;
}

.uc-comparison-table thead tr {
  border-bottom: 2px solid var(--color-border);
}

.uc-comparison-table thead th {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  background: var(--color-surface-raised);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.uc-comparison-table thead th.col-hookwing {
  background: var(--primitive-green-100);
  color: var(--color-brand-action);
}

.uc-comparison-table tbody tr {
  border-bottom: 1px solid var(--color-border);
}

.uc-comparison-table tbody tr:last-child {
  border-bottom: none;
}

.uc-comparison-table tbody td {
  padding: var(--space-4) var(--space-5);
  vertical-align: top;
  line-height: 1.5;
  color: var(--color-ink-base);
}

.uc-comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--color-ink-strong);
  white-space: nowrap;
  width: 180px;
}

.uc-comparison-table .col-hookwing {
  background: var(--primitive-green-50);
  color: var(--color-ink-strong);
  font-weight: 500;
}

.uc-comparison-table tbody tr:nth-child(even) {
  background: var(--color-surface-raised);
}

.uc-comparison-table tbody tr:nth-child(even) .col-hookwing {
  background: var(--primitive-green-100);
}

.tbl-value.highlight {
  color: #006B44;
}

.uc-comparison-callout {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border-brand);
  border-radius: var(--radius-lg);
  text-align: center;
}

.uc-comparison-callout p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-ink-base);
  margin: 0;
}

.uc-comparison-callout p + p {
  margin-top: var(--space-3);
}

/* ============================================================
   Dark theme overrides
   ============================================================ */

/* ============================================================
   Responsive adjustments
   ============================================================ */
@media (max-width: 768px) {
  .uc-hero {
    padding: var(--space-9) 0 var(--space-8);
  }

  .uc-models,
  .uc-workflows,
  .uc-comparison {
    padding: var(--space-8) 0;
  }

  .uc-model-card,
  .uc-workflow-card {
    padding: var(--space-5);
  }

  .uc-card-title {
    font-size: 18px;
  }

  .uc-workflow-title {
    font-size: 18px;
  }

  .uc-card-flow,
  .uc-workflow-flow {
    font-size: 10px;
    white-space: pre-wrap;
    word-break: break-word;
  }
}

/* ============================================================
   DARK WORKFLOWS SECTION (alternating dark/light)
============================================================ */
.uc-workflows {
  background: #001A24;
}
.uc-workflows .uc-section-eyebrow { color: var(--color-brand-action); }
.uc-workflows .uc-section-title { color: #FFFFFF; }
.uc-workflows .uc-section-intro { color: rgba(255,255,255,0.62); }
.uc-workflows .uc-workflow-card {
  background: #002A3A;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: background 200ms, border-color 200ms, box-shadow 200ms;
  box-shadow: none;
}
.uc-workflows .uc-workflow-card:hover {
  background: #003D54;
  border-color: rgba(0, 157, 100, 0.30);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
}
.uc-workflows .uc-workflow-title {
  font-size: 16px; font-weight: 600; line-height: 1.4;
  color: #F1F5F9; margin: 0 0 12px;
}
.uc-workflows .uc-workflow-body {
  font-size: 13px; line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  margin: 0; flex-grow: 1;
}
.uc-workflows .uc-workflow-comparison {
  border-top-color: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.52);
}
.uc-workflows .uc-workflow-comparison strong { color: rgba(255,255,255,0.82); }

/* Tags — semantic color system */
.uc-workflow-tag-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.uc-workflows .uc-workflow-tag {
  font-family: var(--font-mono); font-size: 10px;
  font-weight: 500; letter-spacing: 0.04em;
  padding: 3px 8px; border-radius: 9999px;
  border: 1px solid rgba(0, 157, 100, 0.25);
  background: rgba(0, 157, 100, 0.08);
  color: #00C07A; white-space: nowrap;
}
.uc-workflows .uc-workflow-tag.tag-neutral {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.50);
}

/* ============================================================
   CARD OVERFLOW FIX
============================================================ */
.uc-models-grid,
.uc-workflows-grid {
  min-width: 0;
  width: 100%;
}
.uc-model-card,
.uc-workflow-card {
  min-width: 0;
  overflow: hidden;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  position: relative;
  background: #001A24;
  padding: var(--space-12) 0;
  overflow: hidden;
  text-align: center;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--color-brand-action);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: #FFFFFF;
  margin: 0 0 var(--space-5);
  letter-spacing: -0.02em;
}
.cta-sub {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.62);
  max-width: 520px;
  margin: 0 auto var(--space-7);
}
.cta-sub code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--color-brand-action);
  background: rgba(0,157,100,0.12);
  padding: 2px 6px;
  border-radius: 4px;
}
.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost-inv {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
}
.btn-ghost-inv:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.42);
  color: #FFFFFF;
}
