/* Custom styles for VenomQA documentation */

/* Hero section styling */
.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 .tagline {
  font-size: 1.25rem;
  color: var(--md-default-fg-color--light);
  margin-bottom: 2rem;
}

/* Feature grid */
.md-typeset .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.md-typeset .feature-card {
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: var(--md-code-bg-color);
  border: 1px solid var(--md-typeset-table-color);
}

.md-typeset .feature-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.md-typeset .feature-card p {
  margin-bottom: 0;
  color: var(--md-default-fg-color--light);
}

/* Buttons */
.md-typeset .button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.md-typeset .md-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.md-typeset .md-button--primary {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}

.md-typeset .md-button--primary:hover {
  background: var(--md-accent-fg-color);
}

.md-typeset .md-button--secondary {
  border: 2px solid var(--md-primary-fg-color);
  color: var(--md-primary-fg-color);
}

.md-typeset .md-button--secondary:hover {
  background: var(--md-primary-fg-color);
  color: var(--md-primary-bg-color);
}

/* Code blocks */
.md-typeset pre code {
  font-size: 0.85rem;
}

/* Comparison table */
.md-typeset .comparison-table {
  overflow-x: auto;
}

.md-typeset .comparison-table th,
.md-typeset .comparison-table td {
  white-space: nowrap;
}

/* Terminal-style output */
.md-typeset .terminal {
  background: #1a1a2e;
  color: #eee;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: var(--md-code-font-family);
  font-size: 0.85rem;
  overflow-x: auto;
}

.md-typeset .terminal .prompt {
  color: #7c3aed;
}

.md-typeset .terminal .output {
  color: #22c55e;
}

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

.md-typeset .badge--new {
  background: #22c55e;
  color: white;
}

.md-typeset .badge--beta {
  background: #f59e0b;
  color: white;
}

/* Mermaid diagrams */
.md-typeset .mermaid {
  text-align: center;
  margin: 1.5rem 0;
}

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

  .md-typeset .button-group {
    flex-direction: column;
    align-items: center;
  }
}

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

.md-typeset .hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.md-typeset .hero-tagline {
  font-size: 1.4rem;
  color: var(--md-default-fg-color--light);
  margin-bottom: 2rem;
}

/* Try it now box */
.md-typeset .try-it-box {
  background: var(--md-code-bg-color);
  border: 2px solid var(--md-primary-fg-color);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin: 2rem auto;
  max-width: 520px;
  font-family: var(--md-code-font-family);
}

.md-typeset .try-it-box code {
  font-size: 1.1rem;
  color: var(--md-code-fg-color);
  background: transparent;
  padding: 0;
}

.md-typeset .try-it-label {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
  margin-bottom: 0.5rem;
  font-family: var(--md-text-font-family);
}

/* Step numbers */
.md-typeset .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--md-primary-fg-color);
  color: white;
  border-radius: 50%;
  font-weight: bold;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

/* Architecture diagram */
.md-typeset .architecture-box {
  background: var(--md-code-bg-color);
  border-radius: 8px;
  padding: 1rem;
  overflow-x: auto;
  font-family: var(--md-code-font-family);
  font-size: 0.75rem;
  line-height: 1.4;
}

/* Responsive landing page */
@media (max-width: 768px) {
  .md-typeset .hero-section h1 {
    font-size: 2.5rem;
  }

  .md-typeset .try-it-box {
    padding: 1rem;
    max-width: 100%;
  }

  .md-typeset .try-it-box code {
    font-size: 0.85rem;
    word-break: break-all;
  }
}
