/* Hero section styling */
.hero {
  text-align: center;
  padding: 2rem 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  color: var(--md-typeset-color);
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Stats grid */
.md-typeset table:not([class]) {
  border: none;
  box-shadow: none;
}

/* Card grid improvements */
.md-typeset .grid.cards > ul > li {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

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

/* Comparison table styling */
.md-typeset table th {
  font-weight: 600;
  white-space: nowrap;
}

/* Code block improvements */
.md-typeset pre > code {
  font-size: 0.82rem;
}

/* Tab styling */
.md-typeset .tabbed-labels > label {
  font-weight: 500;
}

/* Mermaid diagram sizing */
.mermaid {
  max-width: 800px;
  margin: 0 auto;
}

/* Dark mode adjustments */
[data-md-color-scheme="slate"] .hero h1 {
  background: linear-gradient(135deg, #a78bfa, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive hero */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
}
