/* Custom styles for Kinenix Documentation & Landing Website */

:root {
  --md-primary-fg-color: #3f51b5;
  --md-accent-fg-color: #5c6bc0;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #5c6bc0;
  --md-accent-fg-color: #7986cb;
}

/* Hero Section */
.hero-container {
  padding: 3rem 1rem 2rem 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #3f51b5 0%, #00b0ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-md-color-scheme="slate"] .hero-title {
  background: linear-gradient(135deg, #7986cb 0%, #40c4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--md-default-fg-color--light);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-actions .md-button {
  padding: 0.75rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
}

.install-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--md-code-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 6px;
  font-family: var(--md-code-font-family);
  font-size: 0.95rem;
  user-select: all;
}

/* Feature Grid Cards */
.grid.cards > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.grid.cards > ul > li {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 10px;
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background-color: var(--md-default-bg-color);
}

.grid.cards > ul > li:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--md-primary-fg-color);
}

.card-icon {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--md-primary-fg-color);
}

/* Comparison Table */
.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.comparison-table th {
  background-color: var(--md-table-bg-color);
  font-weight: 700;
}

.comparison-table td, .comparison-table th {
  padding: 0.85rem 1rem;
  border: 1px solid var(--md-default-fg-color--lightest);
}

.tag-highlight {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: rgba(63, 81, 181, 0.12);
  color: var(--md-primary-fg-color);
}
