/* Additional custom styles for Mandala website */

/* Hero button group */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-buttons .btn {
  min-width: 160px;
}

/* Badge styling */
.badge-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-row img {
  height: 20px;
}

/* Install code block */
.install-code {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  font-family: 'Fira Code', monospace;
  overflow-x: auto;
}

.install-code .comment {
  color: #6272a4;
}

.install-code .string {
  color: #f1fa8c;
}

.install-code .function {
  color: #50fa7b;
}

/* Section dividers */
.section-divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(93, 78, 109, 0.2), transparent);
  margin: 3rem 0;
}

/* Icon styling */
.icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #5D4E6D 0%, #7A6B8A 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
  font-size: 1.5rem;
}

/* Package comparison icons */
.pkg-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  line-height: 24px;
  border-radius: 4px;
  margin-right: 0.5rem;
  font-weight: 600;
  font-size: 0.75rem;
}

.pkg-mandala { background: #5D4E6D; color: white; }
.pkg-sommer { background: #4A7C59; color: white; }
.pkg-lme4 { background: #2E6B8A; color: white; }

/* Stats cards */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #5D4E6D;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Code comparison boxes */
.code-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.code-comparison > div {
  background: #F5F2EE;
  border-radius: 0.5rem;
  overflow: hidden;
}

.code-comparison .code-header {
  background: #5D4E6D;
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Checklist styling */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #8B9A6D;
  font-weight: 700;
}

/* When to use boxes */
.use-case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.use-case-box {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid #8B9A6D;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.use-case-box h4 {
  color: #4A3B5C;
  margin-top: 0;
  margin-bottom: 1rem;
}

.use-case-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.use-case-box li {
  margin-bottom: 0.5rem;
  color: #555;
}

/* Tutorial cards on get-started page */
.tutorial-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(93, 78, 109, 0.1);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.2s ease;
}

.tutorial-card:hover {
  border-color: #8B9A6D;
  box-shadow: 0 4px 12px rgba(93, 78, 109, 0.1);
}

.tutorial-number {
  background: linear-gradient(135deg, #5D4E6D, #7A6B8A);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.tutorial-content h4 {
  margin: 0 0 0.5rem 0;
  color: #4A3B5C;
}

.tutorial-content p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}
