/* ── Color overrides ─────────────────────────────────────────────────────── */
:root {
  --luz-orange:      #f4511e;
  --luz-orange-dim:  #bf360c;
  --luz-bg-hero:     #1a1a1a;
  --luz-glow:        rgba(244, 81, 30, 0.18);
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color:        #f4511e;
  --md-primary-fg-color--light: #ff7043;
  --md-primary-fg-color--dark:  #bf360c;
  --md-accent-fg-color:         #ff7043;
  --md-default-bg-color:        #111418;
  --md-default-bg-color--light: #161b22;
  --md-code-bg-color:           #161b22;
  --md-code-fg-color:           #e6edf3;
}

/* ── Hero section ────────────────────────────────────────────────────────── */
.luz-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f1923 100%);
  border: 1px solid rgba(244, 81, 30, 0.2);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.luz-hero::before {
  content: "";
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(244,81,30,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.luz-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ff7043, #f4511e, #ffab91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.75rem;
}

.luz-hero p {
  font-size: 1.15rem;
  color: #8b949e;
  margin: 0 0 2rem;
}

.luz-hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.luz-btn-primary {
  background: linear-gradient(135deg, #f4511e, #bf360c);
  color: white !important;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(244, 81, 30, 0.35);
  transition: all 0.2s ease;
}

.luz-btn-primary:hover {
  box-shadow: 0 6px 28px rgba(244, 81, 30, 0.5);
  transform: translateY(-2px);
}

.luz-btn-secondary {
  background: rgba(255,255,255,0.05);
  color: #e6edf3 !important;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.2s ease;
}

.luz-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ── Feature cards ───────────────────────────────────────────────────────── */
.luz-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.luz-card {
  background: #161b22;
  border: 1px solid #21262d;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.luz-card:hover {
  border-color: rgba(244, 81, 30, 0.4);
  transform: translateY(-3px);
}

.luz-card-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.luz-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e6edf3;
  margin: 0 0 0.35rem;
}

.luz-card p {
  font-size: 0.85rem;
  color: #8b949e;
  margin: 0;
}

/* ── Code block enhancements ─────────────────────────────────────────────── */
[data-md-color-scheme="slate"] .highlight pre {
  border-radius: 10px;
  border: 1px solid #21262d;
}

[data-md-color-scheme="slate"] code {
  background: #161b22 !important;
  border-radius: 4px;
  padding: 0.1em 0.4em;
  font-size: 0.88em;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
[data-md-color-scheme="slate"] .md-nav__link--active {
  color: #ff7043 !important;
  font-weight: 600;
}

[data-md-color-scheme="slate"] .md-tabs__link--active {
  color: #ff7043 !important;
}

/* ── Tables ──────────────────────────────────────────────────────────────── */
[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background: #161b22;
  color: #ff7043;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) tr:hover td {
  background: rgba(244, 81, 30, 0.05);
}

/* ── Admonitions ─────────────────────────────────────────────────────────── */
[data-md-color-scheme="slate"] .md-typeset .admonition {
  border-radius: 8px;
}

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #111418; }
::-webkit-scrollbar-thumb { background: #2d333b; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444c56; }
