/* Pipelit documentation custom styles */

/* Hero section on landing page */
.md-typeset .hero {
  text-align: center;
  padding: 2rem 0;
}

.md-typeset .hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.md-typeset .hero p {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* Feature grid on landing page */
.md-typeset .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.md-typeset .grid-features {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .md-typeset .grid-features {
    grid-template-columns: 1fr;
  }
}

.md-typeset .grid .card {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.md-typeset .grid .card:hover {
  border-color: var(--md-accent-fg-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.md-typeset .grid .card h3 {
  margin-top: 0;
}

/* Component reference cards */
.md-typeset .component-card {
  border-left: 4px solid var(--md-accent-fg-color);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  background: var(--md-code-bg-color);
  border-radius: 0 0.25rem 0.25rem 0;
}

/* Port definition tables */
.md-typeset .port-table th {
  white-space: nowrap;
}

.md-typeset .port-table td:first-child {
  font-family: var(--md-code-font-family);
  font-weight: 600;
}

/* Status badges */
.md-typeset .badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.md-typeset .badge--trigger { background: #f97316; color: white; }
.md-typeset .badge--ai { background: #8b5cf6; color: white; }
.md-typeset .badge--tool { background: #10b981; color: white; }
.md-typeset .badge--logic { background: #3b82f6; color: white; }
.md-typeset .badge--sub { background: #94a3b8; color: white; }
