/* ============================================================
   MenuCraft — Demo/showcase page (light theme)
   Reuses .theme-card / .theme-preview / .cta-section etc. from
   landing.css — this file only adds what's unique to this page.
   ============================================================ */

.demo-hero {
  text-align: center;
  padding: 5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFF8F4 0%, #FFFFFF 60%);
}
.demo-hero::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(232,82,26,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.demo-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 1.25rem 0 1rem;
  position: relative;
}
.demo-hero h1 .accent { color: var(--brand); }
.demo-hero p {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.filter-btn {
  padding: 0.5rem 1.125rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-btn:hover { border-color: #C8C8D0; color: var(--ink); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }

.theme-card.hidden { display: none; }
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
  font-size: 1rem;
}
.no-results.visible { display: block; }

.demo-themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .demo-hero { padding: 3rem 1rem 2rem; }
  .filter-btn { font-size: 0.8rem; padding: 0.4rem 0.875rem; }
}