/* ============================================
   TasteTracker - Premium CSS Design System
   ============================================ */

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --secondary: #f59e0b;
  --accent: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  
  --bg-dark: #0a0a0f;
  --bg-dark2: #0f0f1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  --text-primary: #f8fafc;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.35);
  
  --gradient-1: linear-gradient(135deg, #6366f1, #a855f7);
  --gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
  --gradient-3: linear-gradient(135deg, #10b981, #3b82f6);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

/* =================== NAVBAR =================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px; height: 42px;
  background: var(--gradient-1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.logo-sub { font-size: 0.65rem; color: var(--primary-light); font-weight: 500; letter-spacing: 0.5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.ai-link { color: var(--primary-light); }
.nav-link.ai-link:hover { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; }

.nav-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }

.btn-ghost {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border-hover); background: var(--bg-card); }
.btn-ghost.active { color: var(--primary-light); border-color: var(--primary); }

.btn-primary-sm {
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  background: var(--gradient-1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
.btn-primary-sm:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  background: var(--gradient-1);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5); }
.btn-primary.btn-full { width: 100%; justify-content: center; }
.btn-primary.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-primary.btn-sm { padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-primary.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

.btn-ghost.btn-full { width: 100%; justify-content: center; text-align: center; display: flex; align-items: center; gap: 0.5rem; }
.btn-ghost.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-ghost.btn-sm { padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-ghost.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

.btn-danger { padding: 0.4rem 1rem; border-radius: 6px; background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(239,68,68,0.3); cursor: pointer; font-size: 0.82rem; transition: var(--transition); }
.btn-danger:hover { background: rgba(239,68,68,0.35); }
.btn-danger.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

.btn-success { padding: 0.4rem 1rem; border-radius: 6px; background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); cursor: pointer; font-size: 0.82rem; transition: var(--transition); }
.btn-success:hover { background: rgba(16,185,129,0.35); }
.btn-success.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

.btn-warning { padding: 0.4rem 1rem; border-radius: 6px; background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); cursor: pointer; font-size: 0.82rem; transition: var(--transition); }
.btn-warning.btn-xs { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

.btn-reserve {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  text-decoration: none;
}
.btn-reserve:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5); }
.btn-reserve.btn-full { width: 100%; justify-content: center; }

.btn-directions { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.75rem; border-radius: var(--radius); background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.btn-directions:hover { background: rgba(255,255,255,0.15); }

.btn-icon { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 1rem; }
.btn-icon:hover { background: rgba(255,255,255,0.12); color: white; }

.btn-icon-sm { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); font-size: 0.8rem; }
.btn-icon-sm:hover { background: var(--bg-card); color: white; }
.btn-icon-sm.danger:hover { color: #f87171; border-color: rgba(239,68,68,0.5); }

.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.3rem; cursor: pointer; padding: 0.25rem; }

/* =================== GLASS CARD =================== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.glass-card:hover { border-color: var(--border-hover); }

/* =================== HERO SECTION =================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 60% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
              linear-gradient(180deg, #0a0a0f 0%, #0d0d1a 100%);
}

.hero-gradient {
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: float 8s ease-in-out infinite;
}

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-30px) rotate(5deg); } }

.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  color: rgba(99, 102, 241, 0.3);
  font-size: 0.9rem;
  animation: particleFloat 6s ease-in-out infinite;
}
@keyframes particleFloat { 0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; } 50% { transform: translateY(-20px) scale(1.2); opacity: 0.6; } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* AI Search Bar */
.hero-search-container { margin-bottom: 1.5rem; }

.ai-search-bar {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 16px;
  padding: 0.5rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.15);
  transition: var(--transition);
}
.ai-search-bar:focus-within { border-color: var(--primary); box-shadow: 0 8px 40px rgba(99, 102, 241, 0.3); }

.ai-icon {
  width: 44px; height: 44px;
  background: var(--gradient-1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ai-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
}
.ai-search-input::placeholder { color: var(--text-muted); }

.ai-search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: 10px;
  background: var(--gradient-1);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.ai-search-btn:hover { transform: scale(1.03); }

.search-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 0.25rem;
}

.sugg-label { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }

.sugg-chip {
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}
.sugg-chip:hover { background: rgba(99, 102, 241, 0.15); border-color: var(--primary); color: var(--primary-light); }

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 1.75rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.stat-divider { width: 1px; height: 35px; background: var(--border); }

/* Floating Cards */
.floating-cards {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
}

.float-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  min-width: 200px;
  animation: floatCard 3s ease-in-out infinite;
}
.float-card-1 { animation-delay: 0s; }
.float-card-2 { animation-delay: 1s; }
.float-card-3 { animation-delay: 2s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.float-card-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.float-card-title { font-size: 0.75rem; color: var(--text-muted); }
.float-card-value { font-size: 0.88rem; font-weight: 600; color: var(--text-primary); }

/* =================== QUICK FILTERS =================== */
.quick-filters-section { padding: 1.5rem 0; border-bottom: 1px solid var(--border); }

.filter-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
}
.filter-scroll::-webkit-scrollbar { display: none; }

.filter-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(99,102,241,0.08); }
.filter-pill.active { background: var(--gradient-1); color: white; border-color: transparent; box-shadow: 0 4px 15px rgba(99,102,241,0.3); }

/* =================== SECTIONS =================== */
.section-featured { padding: 5rem 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
}
.section-header.center { flex-direction: column; align-items: center; text-align: center; }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.section-subtitle { color: var(--text-secondary); font-size: 1rem; max-width: 550px; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.section-badge.mx-auto { margin-left: auto; margin-right: auto; }

.view-all-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  white-space: nowrap;
}
.view-all-btn:hover { gap: 0.75rem; }

/* =================== RESTAURANT CARDS =================== */
.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.restaurant-grid.list-view { grid-template-columns: 1fr; }
.restaurant-grid.list-view .restaurant-card { display: flex; flex-direction: row; height: 160px; }
.restaurant-grid.list-view .card-image-wrap { width: 200px; height: 100%; flex-shrink: 0; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.restaurant-grid.list-view .card-body { padding: 1.25rem; }

.restaurant-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.restaurant-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}
.restaurant-card:hover .card-hover-overlay { opacity: 1; }

.card-image-wrap { position: relative; height: 200px; overflow: hidden; }
.card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.restaurant-card:hover .card-image { transform: scale(1.05); }

.card-badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.4rem; }
.card-badge {
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.card-badge.featured { background: rgba(245,158,11,0.85); color: white; }
.card-badge.open { background: rgba(16,185,129,0.85); color: white; }
.card-badge.closed { background: rgba(107,114,128,0.85); color: white; }

.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.7) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}
.card-hover-btn {
  padding: 0.5rem 1rem;
  background: white;
  color: #0a0a0f;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}
.card-offer-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(99,102,241,0.85);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.card-body { padding: 1.25rem; }
.card-header-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.35rem; }
.card-name { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.card-tagline { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.7rem; }
.card-cuisine-row { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.7rem; }
.cuisine-chip {
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.2);
  color: var(--primary-light);
  font-size: 0.72rem;
  font-weight: 500;
}

.card-rating { display: flex; align-items: center; gap: 0.3rem; flex-shrink: 0; }
.rating-star { color: #f59e0b; }
.rating-num { font-weight: 700; font-size: 0.9rem; }
.rating-cnt { color: var(--text-muted); font-size: 0.8rem; }

.card-info-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 0.7rem; }
.card-info-item { display: flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: var(--text-secondary); }
.card-info-item i { font-size: 0.75rem; color: var(--text-muted); }

.card-features { display: flex; gap: 0.5rem; padding-top: 0.5rem; border-top: 1px solid var(--border); color: var(--text-secondary); font-size: 0.85rem; }

/* Skeleton Loading */
.loading-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.skeleton-card { height: 320px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.06) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-hero { height: 320px; background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.06) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-title, .skeleton-text { height: 24px; border-radius: 6px; background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.06) 50%, var(--bg-card) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; margin: 1rem 0; }
.skeleton-title { width: 60%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* No results */
.no-results-wrap { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 5rem 1rem; text-align: center; gap: 1rem; }
.no-results-icon { font-size: 3rem; color: var(--text-muted); }
.no-results { padding: 2rem; text-align: center; color: var(--text-muted); }

/* =================== AI SECTION =================== */
.ai-section { padding: 5rem 0; background: linear-gradient(180deg, transparent, rgba(99,102,241,0.03), transparent); }

.ai-content-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.ai-text .section-title { margin-bottom: 0.75rem; }
.ai-text .section-subtitle { margin-bottom: 2rem; }

.ai-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.ai-feature { display: flex; align-items: center; gap: 1rem; }
.ai-feature-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(99,102,241,0.15); display: flex; align-items: center; justify-content: center; color: var(--primary-light); font-size: 1.1rem; flex-shrink: 0; }
.ai-feature strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }
.ai-feature p { font-size: 0.82rem; color: var(--text-secondary); margin: 0; }

/* AI Demo Card */
.ai-demo-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.ai-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.ai-avatar {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.ai-avatar-circle {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(99,102,241,0.4);
}

.ai-name { font-weight: 700; font-size: 0.95rem; }
.ai-status { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.ai-messages { display: flex; flex-direction: column; gap: 0.75rem; min-height: 120px; max-height: 180px; overflow-y: auto; }
.ai-msg { display: flex; gap: 0.5rem; }
.ai-msg-bot { flex-direction: row; }
.ai-msg-user { flex-direction: row-reverse; }
.msg-bubble { padding: 0.65rem 1rem; border-radius: 12px; font-size: 0.82rem; line-height: 1.5; background: rgba(255,255,255,0.07); border: 1px solid var(--border); max-width: 85%; }
.user-bubble { background: rgba(99,102,241,0.2); border-color: rgba(99,102,241,0.3); color: white; }

.typing span {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  animation: typing 1.4s infinite;
  margin: 0 2px;
}
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.ai-demo-input { display: flex; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.demo-input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 0.75rem; color: var(--text-primary); font-size: 0.82rem; outline: none; font-family: inherit; }
.demo-send-btn { width: 36px; height: 36px; border-radius: 8px; background: var(--gradient-1); border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* =================== HOW IT WORKS =================== */
.how-it-works { padding: 5rem 0; }

.steps-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.step-card {
  flex: 1;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); border-color: var(--primary); }

.step-number { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--gradient-1); color: white; font-weight: 800; font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 100px; }
.step-icon { width: 56px; height: 56px; margin: 0 auto 1rem; background: rgba(99,102,241,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--primary-light); }
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

.step-connector { color: var(--text-muted); font-size: 1.2rem; flex-shrink: 0; }

/* =================== CATEGORIES =================== */
.categories-section { padding: 5rem 0; }
.categories-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: 2.5rem; }
.category-card {
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.category-card:hover { transform: translateY(-4px); border-color: var(--primary); background: rgba(99,102,241,0.08); }
.cat-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.cat-name { font-weight: 700; font-size: 0.88rem; margin-bottom: 0.2rem; }
.cat-count { font-size: 0.75rem; color: var(--text-muted); }

/* =================== TESTIMONIALS =================== */
.testimonials-section { padding: 5rem 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.testimonial-card { padding: 1.75rem; border-radius: var(--radius-lg); }
.testimonial-card.featured-testimonial { border-color: rgba(99,102,241,0.35); background: rgba(99,102,241,0.07); }
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.75rem; }
.testimonial-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar { width: 40px; height: 40px; border-radius: 10px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; color: white; flex-shrink: 0; }
.reviewer strong { display: block; font-size: 0.88rem; margin-bottom: 0.15rem; }
.reviewer span { font-size: 0.78rem; color: var(--text-muted); }

/* =================== OWNER CTA =================== */
.owner-cta-section { padding: 5rem 0; }
.owner-cta-card { padding: 3rem; display: flex; align-items: center; gap: 3rem; border-radius: var(--radius-xl); background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(168,85,247,0.05)); border-color: rgba(99,102,241,0.2); }
.owner-cta-content { flex: 1; }
.owner-cta-content h2 { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.2; }
.owner-cta-content p { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.7; }
.owner-features { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2rem; }
.owner-features span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: var(--text-secondary); }
.owner-features i { color: var(--accent); }
.owner-cta-image { flex-shrink: 0; }
.owner-stats-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; background: rgba(255,255,255,0.04); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border); }
.o-stat { text-align: center; }
.o-stat-n { display: block; font-size: 1.75rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.o-stat-l { font-size: 0.75rem; color: var(--text-muted); }

/* =================== FOOTER =================== */
.footer { padding: 4rem 0 2rem; border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-links h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }
.footer-links a { display: block; font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; margin-bottom: 0.6rem; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light); }
.social-links { display: flex; gap: 0.75rem; }
.social-links a { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); text-decoration: none; transition: var(--transition); font-size: 0.9rem; }
.social-links a:hover { border-color: var(--primary); color: var(--primary-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }

/* =================== MODALS =================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay[style*="flex"] { display: flex !important; }

.modal-card {
  background: #0d0d1f;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #0d0d1f;
  z-index: 10;
}

.modal-title { display: flex; align-items: center; gap: 0.75rem; font-size: 1.05rem; font-weight: 700; }
.modal-title i { color: var(--primary-light); }
.modal-close { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.modal-close:hover { background: rgba(239,68,68,0.15); color: #f87171; border-color: rgba(239,68,68,0.3); }
.modal-body { padding: 2rem; }

/* Reservation Modal */
.reservation-modal { max-width: 620px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1/-1; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: rgba(99,102,241,0.05); }
.form-group select option { background: #0d0d1f; }

.reservation-summary { background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-radius: 10px; padding: 1rem; margin-bottom: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.summary-item { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--text-secondary); }
.summary-item strong { color: var(--text-primary); }

.success-modal { max-width: 440px; text-align: center; padding: 2.5rem; }
.success-icon { font-size: 3.5rem; color: var(--accent); margin-bottom: 1rem; }
.success-modal h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.confirmation-details { text-align: left; background: rgba(255,255,255,0.04); border-radius: 10px; padding: 1.25rem; margin-bottom: 1.5rem; }
.confirm-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; padding: 0.4rem 0; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.confirm-item:last-child { border-bottom: none; }
.confirm-item i { color: var(--primary-light); width: 16px; text-align: center; }
.confirm-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; display: flex; align-items: center; gap: 0.35rem; }
.success-actions { display: flex; gap: 0.75rem; flex-direction: column; }

/* AI Results Modal */
.ai-response-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.ai-avatar-sm { width: 36px; height: 36px; border-radius: 10px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.9rem; flex-shrink: 0; }
.ai-message-bubble { background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.88rem; line-height: 1.6; }
.ai-filters-applied { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.82rem; }
.filter-tag { padding: 0.25rem 0.65rem; background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.25); border-radius: 6px; color: var(--primary-light); font-size: 0.78rem; }
.ai-results-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.view-more-btn-wrap { margin-top: 1.5rem; text-align: center; }
.ai-loading { text-align: center; padding: 3rem 1rem; }
.ai-loading-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.75rem; }
.loading-dots span { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); margin: 0 3px; animation: typing 1.2s infinite; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* =================== EXPLORE PAGE =================== */
.explore-layout { display: flex; min-height: 100vh; padding-top: 80px; }

.filter-sidebar {
  width: 280px;
  flex-shrink: 0;
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  overflow-y: auto;
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  transition: var(--transition);
}

.filter-sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.filter-sidebar-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.filter-reset { background: none; border: none; color: var(--primary-light); font-size: 0.8rem; cursor: pointer; font-family: inherit; }
.filter-reset:hover { text-decoration: underline; }

.filter-group { margin-bottom: 1.5rem; }
.filter-group h4 { font-size: 0.82rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 0.65rem; }
.filter-select { width: 100%; padding: 0.6rem 0.85rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 0.85rem; font-family: inherit; outline: none; cursor: pointer; }
.filter-checkboxes { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-cb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.filter-cb input { cursor: pointer; accent-color: var(--primary); }
.filter-cb:hover { color: var(--text-primary); }

.range-filter { padding: 0.25rem 0; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.range-input { width: 100%; accent-color: var(--primary); cursor: pointer; }

.rating-filter { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.rating-btn { padding: 0.35rem 0.75rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 0.78rem; cursor: pointer; transition: var(--transition); font-family: inherit; }
.rating-btn:hover, .rating-btn.active { background: rgba(245,158,11,0.15); border-color: #f59e0b; color: #fbbf24; }

.filter-apply-btn { display: none; width: 100%; margin-top: 1rem; }

.explore-main { flex: 1; padding: 1.5rem; min-height: calc(100vh - 80px); }

.explore-topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.explore-topbar-left, .explore-topbar-right { display: flex; align-items: center; gap: 0.75rem; }
.mobile-filter-btn { display: none; padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 0.5rem; font-family: inherit; transition: var(--transition); position: relative; }
.mobile-filter-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.filter-badge { background: var(--primary); color: white; border-radius: 50%; width: 18px; height: 18px; font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; justify-content: center; position: absolute; top: -6px; right: -6px; }

.ai-quick-search { display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(99,102,241,0.25); border-radius: 10px; padding: 0.4rem 0.4rem 0.4rem 0.75rem; flex: 1; min-width: 0; max-width: 360px; }
.ai-quick-search i { color: var(--primary-light); font-size: 0.85rem; flex-shrink: 0; }
.ai-quick-search input { flex: 1; background: none; border: none; outline: none; color: var(--text-primary); font-size: 0.82rem; font-family: inherit; min-width: 0; }
.ai-quick-search input::placeholder { color: var(--text-muted); }
.ai-quick-search button { padding: 0.35rem 0.85rem; border-radius: 7px; background: var(--gradient-1); color: white; font-size: 0.78rem; font-weight: 700; border: none; cursor: pointer; flex-shrink: 0; }

.results-count { font-size: 0.85rem; color: var(--text-muted); white-space: nowrap; }
.view-toggle { display: flex; gap: 0.25rem; }
.view-btn { width: 34px; height: 34px; border-radius: 7px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); }
.view-btn.active, .view-btn:hover { background: rgba(99,102,241,0.15); border-color: var(--primary); color: var(--primary-light); }

.active-filters-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding: 0.6rem 0.75rem; background: rgba(255,255,255,0.03); border-radius: 8px; margin-bottom: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.active-filter-tag { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.65rem; background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.2); border-radius: 6px; color: var(--primary-light); font-size: 0.78rem; }
.active-filter-tag i { cursor: pointer; opacity: 0.7; }
.active-filter-tag i:hover { opacity: 1; }

.ai-response-banner { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); border-radius: 10px; margin-bottom: 1rem; font-size: 0.85rem; }
.ai-banner-icon { color: var(--primary-light); font-size: 1.1rem; flex-shrink: 0; }
.ai-banner-text { flex: 1; }
.ai-response-banner button { border: none; background: none; color: var(--text-muted); cursor: pointer; }

.pagination { display: flex; justify-content: center; gap: 0.4rem; margin-top: 2rem; flex-wrap: wrap; }
.page-btn { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); }
.page-btn:hover { border-color: var(--primary); color: var(--primary-light); }
.page-btn.active { background: var(--gradient-1); color: white; border-color: transparent; }

.mobile-filter-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 900; display: none; }
.mobile-filter-overlay.visible { display: block; }

.search-input-wrap { position: relative; }
.search-input-wrap i { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 0.85rem; }
.search-input-wrap input { width: 100%; padding: 0.6rem 0.85rem 0.6rem 2.25rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 0.85rem; font-family: inherit; outline: none; }
.search-input-wrap input:focus { border-color: var(--primary); }

/* =================== RESTAURANT DETAIL =================== */
.detail-loading { padding-top: 0; }
.detail-hero { position: relative; height: 65vh; min-height: 480px; display: flex; align-items: flex-end; margin-bottom: 0; }
.detail-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.5); }
.detail-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); }
.detail-hero-content { position: relative; z-index: 2; padding-bottom: 2.5rem; width: 100%; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 0.65rem; }
.detail-hero-info { margin-bottom: 1.5rem; }
.detail-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.75rem; }
.badge { padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; gap: 0.35rem; }
.badge-verified { background: rgba(16,185,129,0.2); color: #34d399; border: 1px solid rgba(16,185,129,0.3); }
.badge-featured { background: rgba(245,158,11,0.2); color: #fbbf24; border: 1px solid rgba(245,158,11,0.3); }
.badge-premium { background: rgba(168,85,247,0.2); color: #c084fc; border: 1px solid rgba(168,85,247,0.3); }
.badge-open { background: rgba(16,185,129,0.8); color: white; }
.badge-closed { background: rgba(107,114,128,0.8); color: white; }
.detail-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; margin-bottom: 0.35rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.detail-tagline { font-size: 1.05rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.detail-meta-row { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 0.75rem; }
.detail-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.detail-meta-item i { color: rgba(255,255,255,0.5); }
.rating-display { display: flex; align-items: center; gap: 0.4rem; }
.rating-num { font-weight: 700; font-size: 1rem; }
.rating-count { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.cuisine-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cuisine-tag { padding: 0.25rem 0.65rem; border-radius: 6px; background: rgba(255,255,255,0.12); color: white; font-size: 0.78rem; border: 1px solid rgba(255,255,255,0.2); }
.detail-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Tabs */
.detail-tabs-wrap { background: rgba(0,0,0,0.3); border-bottom: 1px solid var(--border); position: sticky; top: 80px; z-index: 100; backdrop-filter: blur(20px); }
.detail-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
.detail-tabs::-webkit-scrollbar { display: none; }
.detail-tab { padding: 1rem 1.5rem; background: none; border: none; color: var(--text-secondary); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: var(--transition); white-space: nowrap; border-bottom: 2px solid transparent; font-family: inherit; }
.detail-tab:hover { color: var(--text-primary); }
.detail-tab.active { color: var(--primary-light); border-bottom-color: var(--primary); }

/* Tab content */
.detail-content { padding: 2.5rem 0 4rem; }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Overview */
.overview-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: start; }
.overview-sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 140px; }
.detail-section { margin-bottom: 2.5rem; }
.detail-section h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.about-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; }

/* Gallery */
.photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.gallery-item { border-radius: 10px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item.gallery-main { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 3000; display: flex; align-items: center; justify-content: center; }
.gallery-full { position: relative; max-width: 90vw; max-height: 90vh; }
.gallery-full img { max-width: 100%; max-height: 85vh; border-radius: 10px; }
.gallery-full button { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; background: white; color: #0a0a0f; border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }

/* Offers */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.offer-card { padding: 1.25rem; border-radius: var(--radius-lg); position: relative; }
.offer-badge { position: absolute; top: -8px; right: 1rem; padding: 0.2rem 0.65rem; background: var(--gradient-2); color: white; border-radius: 6px; font-size: 0.78rem; font-weight: 700; }
.offer-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.4rem; }
.offer-card p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.offer-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.offer-code { background: rgba(99,102,241,0.12); border: 1px dashed rgba(99,102,241,0.3); color: var(--primary-light); padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.8rem; font-family: monospace; }
.offer-validity { font-size: 0.75rem; color: var(--text-muted); }

/* Popular dishes */
.popular-dishes { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.popular-dish-chip { display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); border-radius: 8px; font-size: 0.82rem; }

/* Info Card */
.info-card { padding: 1.25rem; border-radius: var(--radius-lg); }
.info-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.85rem; }
.info-list { display: flex; flex-direction: column; gap: 0.65rem; }
.info-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--text-secondary); }
.info-item i { color: var(--primary-light); margin-top: 3px; flex-shrink: 0; width: 14px; }
.info-item a { color: var(--primary-light); text-decoration: none; }

/* Features Card */
.features-card { padding: 1.25rem; border-radius: var(--radius-lg); }
.features-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.85rem; }
.features-grid-small { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; padding: 0.4rem 0.6rem; border-radius: 6px; border: 1px solid var(--border); }
.feature-yes { background: rgba(16,185,129,0.05); border-color: rgba(16,185,129,0.15); color: #34d399; }
.feature-no { background: rgba(107,114,128,0.05); border-color: rgba(107,114,128,0.15); color: var(--text-muted); }
.check-icon { margin-left: auto; color: #10b981; font-size: 0.7rem; }
.times-icon { margin-left: auto; color: var(--text-muted); font-size: 0.7rem; }

/* Reserve CTA */
.reserve-cta-card { padding: 1.25rem; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.05)); border: 1px solid rgba(99,102,241,0.2); }
.table-availability { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; margin-bottom: 0.75rem; }
.avail-dot { width: 10px; height: 10px; border-radius: 50%; }
.avail-dot.available { background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.5); animation: pulse 2s infinite; }

/* Menu Tab */
.menu-layout { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: start; }
.menu-categories-nav { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 0.35rem; }
.menu-cat-btn { padding: 0.6rem 1rem; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--text-secondary); font-size: 0.85rem; cursor: pointer; text-align: left; transition: var(--transition); font-family: inherit; }
.menu-cat-btn:hover, .menu-cat-btn.active { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.2); color: var(--primary-light); }

.menu-category-section { margin-bottom: 2rem; }
.menu-cat-title { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.menu-items-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0.85rem; }

.menu-item-card {
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.menu-item-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.menu-item-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.veg-indicator { width: 16px; height: 16px; border-radius: 3px; display: flex; align-items: center; justify-content: center; border: 1.5px solid; flex-shrink: 0; }
.veg-indicator.veg { border-color: #10b981; }
.veg-indicator.non-veg { border-color: #ef4444; }
.veg-dot { width: 8px; height: 8px; border-radius: 50%; }
.veg .veg-dot { background: #10b981; }
.non-veg .veg-dot { background: #ef4444; }
.popular-badge { font-size: 0.7rem; color: #f97316; display: flex; align-items: center; gap: 0.25rem; background: rgba(249,115,22,0.1); padding: 0.15rem 0.45rem; border-radius: 4px; }
.menu-item-name { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.25rem; }
.menu-item-desc { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.5rem; line-height: 1.5; }
.menu-item-footer { display: flex; justify-content: space-between; align-items: center; }
.menu-price { font-size: 0.95rem; font-weight: 700; color: var(--primary-light); }
.menu-rating { font-size: 0.78rem; color: #f59e0b; }

/* Floor Map */
.floor-layout-section { padding: 1rem 0; }
.floor-layout-header { margin-bottom: 1.5rem; }
.floor-layout-header h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.35rem; }
.floor-layout-header p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }

.legend { display: flex; flex-wrap: wrap; gap: 1rem; }
.legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--text-secondary); }
.legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.legend-dot.available { background: #10b981; }
.legend-dot.reserved { background: #ef4444; }
.legend-dot.held { background: #f59e0b; }
.legend-dot.unavailable { background: #6b7280; }

.floor-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; overflow-x: auto; }
.floor-tab { padding: 0.5rem 1.25rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 0.85rem; cursor: pointer; transition: var(--transition); white-space: nowrap; font-family: inherit; }
.floor-tab:hover, .floor-tab.active { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.3); color: var(--primary-light); }

.floor-map-container { background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; }
.floor-map { height: 100%; }
.floor-map svg { display: block; }
.table-group { cursor: pointer; transition: opacity 0.2s; }
.table-group:not(.clickable) { cursor: default; }
.table-group.clickable:hover { opacity: 0.85; }
.table-group.selected .table-shape { stroke-width: 4 !important; }
.table-num { font-weight: 700; pointer-events: none; }
.table-cap { pointer-events: none; }

.selected-table-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
  flex-wrap: wrap;
}
.selected-table-badge { display: flex; align-items: center; gap: 0.75rem; }
.selected-table-badge i { width: 36px; height: 36px; background: rgba(99,102,241,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.selected-table-badge strong { display: block; font-size: 0.95rem; margin-bottom: 0.1rem; }
.selected-table-badge span { font-size: 0.78rem; color: var(--text-muted); }

/* Reviews */
.reviews-header { display: flex; align-items: flex-start; gap: 2rem; padding: 1.5rem; background: var(--bg-card); border-radius: var(--radius-lg); margin-bottom: 1.5rem; border: 1px solid var(--border); }
.big-rating { font-size: 3rem; font-weight: 800; color: var(--primary-light); line-height: 1; }
.rating-stars-big { font-size: 1.2rem; color: #f59e0b; margin: 0.25rem 0; }
.rating-total { font-size: 0.82rem; color: var(--text-muted); }
.rating-bars { flex: 1; }
.rating-bar-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.4rem; font-size: 0.78rem; color: var(--text-secondary); }
.rating-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: #f59e0b; border-radius: 3px; }

.reviews-list { display: flex; flex-direction: column; gap: 1rem; }
.review-card { padding: 1.25rem; border-radius: var(--radius-lg); }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.reviewer-avatar-lg { width: 44px; height: 44px; border-radius: 10px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700; color: white; flex-shrink: 0; }
.reviewer-info { flex: 1; }
.review-stars { font-size: 0.85rem; color: #f59e0b; }
.review-date { font-size: 0.78rem; color: var(--text-muted); }
.review-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 0.75rem; }
.review-footer { display: flex; align-items: center; gap: 0.75rem; }
.helpful-btn { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 0.3rem 0.75rem; color: var(--text-secondary); font-size: 0.78rem; cursor: pointer; display: flex; align-items: center; gap: 0.35rem; transition: var(--transition); font-family: inherit; }
.helpful-btn:hover { border-color: var(--primary); color: var(--primary-light); }

/* Directions */
.directions-section { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; }
.map-placeholder { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; min-height: 350px; }
.map-content { text-align: center; padding: 2rem; }
.map-icon { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }
.nearby-info { padding: 1.5rem; border-radius: var(--radius-lg); }
.nearby-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.transport-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.25rem; }
.transport-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.transport-icon { width: 36px; height: 36px; background: rgba(99,102,241,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary-light); flex-shrink: 0; }
.transport-item strong { display: block; font-size: 0.85rem; margin-bottom: 0.2rem; }
.transport-item p { font-size: 0.78rem; color: var(--text-secondary); margin: 0; }
.address-block { display: flex; align-items: flex-start; gap: 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.address-block i { color: var(--danger); margin-top: 3px; }
.address-block strong { display: block; font-size: 0.88rem; margin-bottom: 0.3rem; }
.address-block p { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 0.2rem; }

/* =================== AI ASSISTANT PAGE =================== */
.ai-assistant-page { display: flex; height: calc(100vh - 80px); margin-top: 80px; overflow: hidden; }

.ai-chat-panel {
  width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
}

.ai-chat-panel-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.ai-header-avatar { display: flex; align-items: center; gap: 0.75rem; }
.ai-header-info { }
.ai-header-info h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.1rem; }
.ai-online-status { font-size: 0.78rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }
.ai-header-actions button { background: none; border: 1px solid var(--border); border-radius: 7px; width: 32px; height: 32px; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition); }
.ai-header-actions button:hover { color: #f87171; border-color: rgba(239,68,68,0.3); }

.ai-chat-messages { flex: 1; overflow-y: auto; padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent; }
.chat-day-divider { text-align: center; font-size: 0.72rem; color: var(--text-muted); border-top: 1px solid var(--border); margin: 0.5rem 0; padding-top: 0.5rem; }

.ai-chat-msg { display: flex; gap: 0.6rem; }
.bot-msg { flex-direction: row; }
.user-msg { flex-direction: row-reverse; }
.bot-avatar { width: 32px; height: 32px; border-radius: 9px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.85rem; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.user-avatar-sm { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 0.85rem; flex-shrink: 0; align-self: flex-start; margin-top: 2px; }
.msg-content { max-width: 85%; display: flex; flex-direction: column; gap: 0.25rem; }
.user-content { align-items: flex-end; }

.msg-bubble { padding: 0.7rem 0.95rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.6; background: rgba(255,255,255,0.06); border: 1px solid var(--border); word-break: break-word; }
.msg-bubble p { margin: 0 0 0.4rem; }
.msg-bubble p:last-child { margin: 0; }
.user-bubble { background: rgba(99,102,241,0.2) !important; border-color: rgba(99,102,241,0.3) !important; }
.msg-time { font-size: 0.68rem; color: var(--text-muted); }

.typing-indicator span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--primary-light); margin: 0 2px; animation: typing 1.4s infinite; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.suggestion-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.suggestion-chip { padding: 0.3rem 0.75rem; border-radius: 8px; border: 1px solid rgba(99,102,241,0.25); background: rgba(99,102,241,0.08); color: var(--primary-light); font-size: 0.78rem; cursor: pointer; transition: var(--transition); font-family: inherit; }
.suggestion-chip:hover { background: rgba(99,102,241,0.2); }

.ai-chat-input-area { padding: 1rem; border-top: 1px solid var(--border); }
.chat-input-wrap { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.chat-input-wrap input { flex: 1; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 1rem; color: var(--text-primary); font-size: 0.9rem; font-family: inherit; outline: none; }
.chat-input-wrap input:focus { border-color: var(--primary); }
.send-btn { width: 44px; height: 44px; border-radius: 10px; background: var(--gradient-1); border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); flex-shrink: 0; }
.send-btn:hover { transform: scale(1.05); }
.chat-input-hints { font-size: 0.72rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }

/* AI Results Panel */
.ai-results-panel { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.ai-results-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ai-results-header h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }
.results-info-text { font-size: 0.82rem; color: var(--text-muted); }
.ai-results-content { flex: 1; overflow-y: auto; padding: 1.5rem; }

.ai-empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 2rem; gap: 0.75rem; }
.empty-robot { font-size: 4rem; color: var(--text-muted); }
.empty-features { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.5rem; }
.empty-feat { display: flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; color: var(--text-secondary); background: var(--bg-card); border: 1px solid var(--border); padding: 0.35rem 0.85rem; border-radius: 8px; }

.ai-searching { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 3rem; }
.search-animation { display: flex; gap: 0.5rem; }
.search-circle { width: 14px; height: 14px; border-radius: 50%; background: var(--primary); animation: typing 1.2s infinite; }
.search-circle:nth-child(2) { animation-delay: 0.2s; background: var(--secondary); }
.search-circle:nth-child(3) { animation-delay: 0.4s; background: var(--accent); }

.ai-results-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.view-all-ai { margin-top: 1.5rem; text-align: center; }
.ai-no-results { text-align: center; padding: 3rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.ai-no-results i { font-size: 2.5rem; color: var(--text-muted); }

/* =================== DASHBOARD =================== */
.dashboard-body { background: var(--bg-dark2); display: flex; min-height: 100vh; overflow: hidden; }

.dashboard-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: rgba(0,0,0,0.25);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  transition: width var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}
.dashboard-sidebar.collapsed { width: 64px; }
.dashboard-sidebar.collapsed .logo-text,
.dashboard-sidebar.collapsed span:not(.nav-badge),
.dashboard-sidebar.collapsed .sidebar-link span { display: none; }

.sidebar-logo { display: flex; align-items: center; gap: 0.75rem; padding: 1.5rem 1.25rem; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.admin-logo { background: linear-gradient(135deg, #ef4444, #f97316) !important; }

.sidebar-nav { padding: 1rem 0.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.85rem; border-radius: 10px; color: var(--text-secondary); text-decoration: none; font-size: 0.88rem; font-weight: 500; transition: var(--transition); cursor: pointer; position: relative; }
.sidebar-link:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }
.sidebar-link.active { background: rgba(99,102,241,0.15); color: var(--primary-light); }
.sidebar-link i { width: 18px; flex-shrink: 0; text-align: center; font-size: 0.9rem; }
.nav-badge { margin-left: auto; background: var(--primary); color: white; border-radius: 10px; padding: 0.1rem 0.5rem; font-size: 0.7rem; font-weight: 700; }

.sidebar-footer { padding: 1rem 0.75rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.2rem; }

.dashboard-main {
  margin-left: 260px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: margin-left var(--transition);
  min-width: 0;
}
.dashboard-main.expanded { margin-left: 64px; }

.dashboard-topbar {
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left { display: flex; align-items: center; gap: 1rem; }
.sidebar-toggle { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: var(--transition); }
.sidebar-toggle:hover { border-color: var(--primary); color: var(--primary-light); }
.dash-page-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.1rem; }
.dash-page-sub { font-size: 0.78rem; color: var(--text-muted); }
.topbar-right { display: flex; align-items: center; gap: 1rem; }
.restaurant-selector { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 8px; font-size: 0.82rem; color: var(--text-secondary); }
.verified-badge { color: #10b981; font-size: 0.85rem; }
.topbar-avatar { width: 36px; height: 36px; border-radius: 9px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; color: white; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.topbar-notification { position: relative; cursor: pointer; color: var(--text-secondary); font-size: 1.1rem; }
.notif-dot { position: absolute; top: -6px; right: -6px; background: var(--danger); color: white; border-radius: 10px; padding: 0 0.3rem; font-size: 0.65rem; font-weight: 700; }
.admin-avatar { background: linear-gradient(135deg, #ef4444, #f97316); }

.dashboard-content { flex: 1; padding: 2rem; overflow-y: auto; }

/* Dashboard Stats Grid */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
}
.stat-card::before { content: ''; position: absolute; top: -20px; right: -20px; width: 80px; height: 80px; border-radius: 50%; opacity: 0.12; }
.stat-card-blue::before { background: #6366f1; }
.stat-card-green::before { background: #10b981; }
.stat-card-orange::before { background: #f59e0b; }
.stat-card-purple::before { background: #a855f7; }

.stat-card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.stat-card-blue .stat-card-icon { background: rgba(99,102,241,0.15); color: #818cf8; }
.stat-card-green .stat-card-icon { background: rgba(16,185,129,0.15); color: #34d399; }
.stat-card-orange .stat-card-icon { background: rgba(245,158,11,0.15); color: #fbbf24; }
.stat-card-purple .stat-card-icon { background: rgba(168,85,247,0.15); color: #c084fc; }

.stat-card-info { flex: 1; min-width: 0; }
.stat-card-value { font-size: 1.75rem; font-weight: 800; line-height: 1; margin-bottom: 0.25rem; }
.stat-card-label { font-size: 0.78rem; color: var(--text-muted); }
.stat-card-trend { font-size: 0.75rem; display: flex; align-items: center; gap: 0.2rem; padding: 0.2rem 0.5rem; border-radius: 5px; font-weight: 600; }
.stat-card-trend.up { background: rgba(16,185,129,0.1); color: #34d399; }
.stat-card-trend.down { background: rgba(239,68,68,0.1); color: #f87171; }

/* Charts */
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.chart-card { padding: 1.5rem; border-radius: var(--radius-lg); }
.chart-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 1rem; }

/* Dashboard Tables */
.card-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.card-header h3 { font-size: 0.95rem; font-weight: 700; }
.table-container { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th { padding: 0.85rem 1rem; text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table tbody tr { border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; }
.data-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.data-table td { padding: 0.85rem 1rem; font-size: 0.85rem; color: var(--text-secondary); }
.data-table td strong { color: var(--text-primary); }
.data-table small { font-size: 0.75rem; color: var(--text-muted); }
.no-data { padding: 2rem; text-align: center; color: var(--text-muted); }

/* Status Badges */
.status-badge { display: inline-flex; align-items: center; padding: 0.2rem 0.65rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.status-confirmed { background: rgba(16,185,129,0.15); color: #34d399; }
.status-pending { background: rgba(245,158,11,0.15); color: #fbbf24; }
.status-cancelled { background: rgba(239,68,68,0.15); color: #f87171; }
.status-completed { background: rgba(99,102,241,0.15); color: #818cf8; }
.status-no-show { background: rgba(107,114,128,0.15); color: #9ca3af; }

/* Plan Badges */
.plan-badge { display: inline-flex; align-items: center; padding: 0.2rem 0.6rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }
.plan-badge.platinum { background: rgba(168,85,247,0.15); color: #c084fc; }
.plan-badge.gold { background: rgba(245,158,11,0.15); color: #fbbf24; }
.plan-badge.silver { background: rgba(107,114,128,0.15); color: #9ca3af; }
.plan-badge.basic { background: rgba(59,130,246,0.15); color: #60a5fa; }

/* Section Toolbar */
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.toolbar-filters { display: flex; gap: 0.4rem; flex-wrap: wrap; }

/* Analytics */
.analytics-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; }
.analytics-metrics { display: flex; flex-direction: column; gap: 1rem; }
.metric-card { padding: 1.25rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 0.35rem; }
.metric-icon { font-size: 1.2rem; color: var(--primary-light); }
.metric-value { font-size: 1.5rem; font-weight: 800; }
.metric-label { font-size: 0.78rem; color: var(--text-muted); }
.metric-change { font-size: 0.75rem; }
.metric-change.up { color: #34d399; }
.metric-change.down { color: #f87171; }

/* Table Management */
.tables-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.table-stat-card { padding: 1.25rem; border-radius: var(--radius-lg); text-align: center; border: 1px solid var(--border); background: var(--bg-card); }
.table-stat-card.available-card { border-color: rgba(16,185,129,0.2); background: rgba(16,185,129,0.05); }
.table-stat-card.reserved-card { border-color: rgba(239,68,68,0.2); background: rgba(239,68,68,0.05); }
.table-stat-card.held-card { border-color: rgba(245,158,11,0.2); background: rgba(245,158,11,0.05); }
.table-stat-card.unavailable-card { border-color: rgba(107,114,128,0.2); background: rgba(107,114,128,0.05); }
.ts-number { font-size: 2rem; font-weight: 800; margin-bottom: 0.3rem; }
.available-card .ts-number { color: #10b981; }
.reserved-card .ts-number { color: #ef4444; }
.held-card .ts-number { color: #f59e0b; }
.unavailable-card .ts-number { color: #6b7280; }
.ts-label { font-size: 0.8rem; color: var(--text-muted); }

/* Table Action Panel */
.table-action-panel { padding: 1rem 1.5rem; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-radius: var(--radius-lg); margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.action-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Dash Section */
.dash-section { display: none; }
.dash-section.active { display: block; }

/* Subscription Plans */
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.plan-card { padding: 1.5rem; border-radius: var(--radius-lg); position: relative; }
.plan-card.featured-plan { border-color: rgba(99,102,241,0.4); background: rgba(99,102,241,0.07); }
.plan-popular { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--gradient-1); color: white; padding: 0.2rem 0.85rem; border-radius: 100px; font-size: 0.72rem; font-weight: 700; white-space: nowrap; }
.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.35rem; }
.plan-price { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.1rem; color: var(--primary-light); }
.plan-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.plan-period { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.plan-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-secondary); }
.plan-list li i { color: var(--accent); font-size: 0.75rem; }
.current-plan-card { padding: 2rem; border-radius: var(--radius-xl); margin-bottom: 2rem; border: 1px solid rgba(245,158,11,0.2); background: rgba(245,158,11,0.04); }
.plan-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.plan-badge.gold { font-size: 1rem; padding: 0.4rem 1rem; }
.plan-features { display: flex; flex-direction: column; gap: 0.6rem; }
.plan-feat { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--text-secondary); }
.plan-feat i { color: var(--accent); }
.plan-renewal { font-size: 0.82rem; color: var(--text-muted); }

/* Menu Management */
.menu-management-list { padding: 1.25rem; }
.menu-mgmt-category { margin-bottom: 1.5rem; }
.menu-mgmt-cat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.menu-mgmt-cat-header h4 { font-size: 0.9rem; font-weight: 700; }
.menu-mgmt-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem; border-radius: 8px; transition: background 0.15s; }
.menu-mgmt-item:hover { background: rgba(255,255,255,0.03); }
.item-name { flex: 1; font-size: 0.85rem; font-weight: 600; }
.popular-tag { font-size: 0.72rem; color: #f97316; display: flex; align-items: center; gap: 0.25rem; }
.item-price { font-size: 0.88rem; font-weight: 700; color: var(--primary-light); min-width: 60px; text-align: right; }
.item-actions { display: flex; gap: 0.4rem; }

/* Profile Form */
.profile-form { padding: 1.5rem; }
.form-input { width: 100%; padding: 0.65rem 0.85rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 0.85rem; font-family: inherit; outline: none; transition: var(--transition); }
.form-input:focus { border-color: var(--primary); }
.checkbox-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.toggle-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; cursor: pointer; }

/* Admin specific */
.admin-sidebar .sidebar-link.active { background: rgba(239,68,68,0.12); color: #f87171; }
.admin-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.plan-dist-list { padding: 1.25rem; }
.plan-dist-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; }
.plan-dist-info { display: flex; align-items: center; gap: 0.5rem; min-width: 100px; font-size: 0.85rem; }
.plan-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.plan-dist-bar-wrap { flex: 1; height: 8px; background: rgba(255,255,255,0.06); border-radius: 4px; overflow: hidden; }
.plan-dist-bar { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.activity-feed { padding: 1.25rem; }
.activity-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--border); }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); margin-top: 5px; flex-shrink: 0; }
.activity-content { flex: 1; font-size: 0.82rem; }
.activity-meta { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Notifications */
.notifications-list { display: flex; flex-direction: column; }
.notif-item { display: flex; align-items: flex-start; gap: 0.85rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); transition: background 0.15s; }
.notif-item:hover { background: rgba(255,255,255,0.02); }
.notif-item.new { background: rgba(99,102,241,0.05); }
.notif-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(99,102,241,0.12); display: flex; align-items: center; justify-content: center; color: var(--primary-light); font-size: 0.9rem; flex-shrink: 0; }
.notif-icon.warning { background: rgba(245,158,11,0.12); color: #fbbf24; }
.notif-icon.success { background: rgba(16,185,129,0.12); color: #34d399; }
.notif-content { flex: 1; }
.notif-content strong { font-size: 0.88rem; display: block; margin-bottom: 0.2rem; }
.notif-content p { font-size: 0.82rem; color: var(--text-secondary); margin: 0 0 0.3rem; }
.notif-time { font-size: 0.75rem; color: var(--text-muted); }
.notif-actions { display: flex; gap: 0.4rem; align-items: flex-start; padding-top: 0.25rem; }

/* Reviews moderation */
.reviews-moderation-list { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.review-mod-item { padding: 1.25rem; border-radius: var(--radius); border: 1px solid var(--border); background: rgba(255,255,255,0.02); position: relative; }
.review-mod-item.flagged { border-color: rgba(239,68,68,0.2); background: rgba(239,68,68,0.03); }
.review-flag-badge { position: absolute; top: -8px; right: 0.85rem; padding: 0.15rem 0.65rem; background: rgba(239,68,68,0.85); color: white; border-radius: 5px; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; gap: 0.3rem; }
.review-mod-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.65rem; }
.review-mod-header > div { flex: 1; font-size: 0.88rem; }
.review-mod-header > div strong { display: block; font-size: 0.9rem; }
.review-mod-actions { display: flex; gap: 0.5rem; margin-top: 0.65rem; }

/* Featured listings */
.position-controls { display: flex; align-items: center; gap: 0.4rem; }
.rating-pill { background: rgba(245,158,11,0.12); color: #fbbf24; padding: 0.2rem 0.55rem; border-radius: 5px; font-size: 0.78rem; font-weight: 700; }
.rest-cell { display: flex; align-items: center; gap: 0.75rem; }
.rest-cell img { width: 36px; height: 36px; border-radius: 7px; object-fit: cover; }
.verified-icon { color: #10b981; font-size: 0.85rem; }
.user-cell { display: flex; align-items: center; gap: 0.6rem; }
.role-badge { padding: 0.2rem 0.6rem; border-radius: 5px; font-size: 0.72rem; font-weight: 700; }
.role-badge.customer { background: rgba(16,185,129,0.12); color: #34d399; }
.role-badge.owner { background: rgba(99,102,241,0.12); color: #818cf8; }
.role-badge.admin { background: rgba(239,68,68,0.12); color: #f87171; }

/* Reservations page */
.page-content { padding: 7rem 0 4rem; min-height: 100vh; }
.page-header { margin-bottom: 2rem; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; }
.page-header p { color: var(--text-secondary); margin-top: 0.4rem; }
.reservations-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; overflow-x: auto; }
.res-tab { padding: 0.55rem 1.25rem; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--text-secondary); font-size: 0.85rem; cursor: pointer; transition: var(--transition); font-family: inherit; font-weight: 500; white-space: nowrap; }
.res-tab.active { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.3); color: var(--primary-light); }
.reservations-list { display: flex; flex-direction: column; gap: 1rem; }
.reservation-card { padding: 1.5rem; border-radius: var(--radius-lg); }
.res-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; }
.res-restaurant-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; }
.res-restaurant-info p { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.35rem; }
.res-card-details { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 0.75rem; }
.res-detail { display: flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--text-secondary); }
.res-detail i { color: var(--text-muted); }
.res-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.res-booking-id { font-size: 0.75rem; color: var(--text-muted); font-family: monospace; }
.res-actions { display: flex; gap: 0.5rem; }
.empty-reservations { text-align: center; padding: 5rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.empty-icon { font-size: 3rem; color: var(--text-muted); }

/* Auth Page */
.auth-body { background: var(--bg-dark); display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1rem; }
.auth-container { width: 100%; max-width: 460px; }
.auth-card { padding: 2.5rem; border-radius: var(--radius-xl); }
.auth-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.auth-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.35rem; }
.auth-subtitle { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 1.5rem; }
.role-tabs { display: flex; gap: 0.4rem; margin-bottom: 1.5rem; background: rgba(255,255,255,0.04); border-radius: 10px; padding: 0.3rem; }
.role-tab { flex: 1; padding: 0.5rem; border: none; border-radius: 7px; background: transparent; color: var(--text-secondary); font-size: 0.82rem; cursor: pointer; font-family: inherit; font-weight: 600; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.35rem; }
.role-tab.active { background: rgba(99,102,241,0.2); color: var(--primary-light); }
.auth-form { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.input-with-icon { position: relative; }
.input-with-icon input { width: 100%; padding: 0.7rem 2.5rem 0.7rem 0.85rem; background: rgba(255,255,255,0.05); border: 1px solid var(--border); border-radius: 8px; color: var(--text-primary); font-size: 0.88rem; font-family: inherit; outline: none; }
.input-with-icon button { position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.85rem; }
.auth-demo-accounts { padding-top: 1rem; border-top: 1px solid var(--border); }
.auth-demo-accounts p { font-size: 0.8rem; margin-bottom: 0.6rem; }
.demo-btn { width: 100%; padding: 0.5rem; margin-bottom: 0.4rem; border-radius: 7px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text-secondary); font-size: 0.82rem; cursor: pointer; font-family: inherit; transition: var(--transition); display: flex; align-items: center; gap: 0.5rem; }
.demo-btn:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(99,102,241,0.07); }
.auth-footer { margin-top: 1.25rem; text-align: center; }
.auth-footer a { color: var(--primary-light); text-decoration: none; font-size: 0.85rem; }

/* Owner Landing */
.owner-hero { padding: 7rem 0 4rem; text-align: center; }
.owner-hero-content { max-width: 680px; margin: 0 auto; }
.owner-hero-content h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; }
.owner-hero-content p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; }
.owner-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Loading state */
.loading-state { padding: 2.5rem; text-align: center; color: var(--text-muted); display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.error-msg { padding: 1.25rem; text-align: center; color: #f87171; }
.error-page { text-align: center; padding: 5rem 1rem; }

/* Scroll indicator */
.pulse { animation: scaleUp 1.5s ease-in-out infinite; }
@keyframes scaleUp { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* Animate in */
.animate-ready { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.animate-in { opacity: 1 !important; transform: translateY(0) !important; }

/* Add offer card */
.add-offer-card { display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; border: 2px dashed var(--border); background: transparent !important; }
.add-offer-icon { font-size: 2rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.add-offer-card:hover { border-color: var(--primary); .add-offer-icon { color: var(--primary-light); } }

/* Notification count */
.notif-count { position: absolute; top: -4px; right: -4px; width: 16px; height: 16px; border-radius: 50%; background: var(--danger); color: white; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* =================== RESPONSIVE =================== */
@media (max-width: 1200px) {
  .floating-cards { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .analytics-grid { grid-template-columns: 1fr; }
  .admin-bottom-row { grid-template-columns: 1fr; }
  .overview-layout { grid-template-columns: 1fr; }
  .overview-sidebar { position: static; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(10,10,20,0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 999;
    gap: 0.25rem;
  }
  .mobile-menu-btn { display: flex; }
  .hero-content { max-width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .owner-cta-card { flex-direction: column; }
  .steps-grid { flex-direction: column; }
  .step-connector { transform: rotate(90deg); display: flex; justify-content: center; }
  .ai-content-wrapper { grid-template-columns: 1fr; }
  .explore-layout { flex-direction: column; }
  .filter-sidebar { width: 100%; max-width: 300px; height: 100vh; position: fixed; top: 0; left: -320px; z-index: 950; padding-top: 5rem; border-right: 1px solid var(--border); }
  .filter-sidebar.mobile-open { left: 0; }
  .filter-apply-btn { display: flex !important; }
  .mobile-filter-btn { display: flex; }
  .ai-quick-search { display: none; }
  .menu-layout { grid-template-columns: 1fr; }
  .directions-section { grid-template-columns: 1fr; }
  .dashboard-sidebar { transform: translateX(-260px); }
  .dashboard-sidebar.mobile-open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .charts-row { grid-template-columns: 1fr; }
  .ai-assistant-page { flex-direction: column; height: auto; }
  .ai-chat-panel { width: 100%; height: 60vh; }
  .ai-results-panel { height: 50vh; }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .ai-search-btn span { display: none; }
  .search-suggestions { display: none; }
  .restaurant-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .tables-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .gallery-item.gallery-main { grid-column: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .features-grid-small { grid-template-columns: 1fr; }
  .detail-hero-actions { flex-wrap: wrap; }
  .overview-layout { grid-template-columns: 1fr; }
  .reservations-tabs { display: flex; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-stats { gap: 0.75rem; }
  .stat-number { font-size: 1.4rem; }
  .dashboard-topbar { padding: 0.75rem 1rem; }
  .dashboard-content { padding: 1rem; }
  .detail-hero { height: 55vh; min-height: 380px; }
  .detail-title { font-size: 1.8rem; }
  .modal-body { padding: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
}
