/* Database Showcase Styles */
.database-showcase {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.database-showcase .section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  color: #666;
  font-size: 1.2rem;
}

/* Tabs Styles */
.database-tabs {
  margin-bottom: 40px;
}

.tab-header {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
}

.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.tab-btn:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #007bff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.tab-btn.active {
  color: #007bff;
}

.tab-btn.active:after {
  transform: scaleX(1);
}

/* Category Filter Styles */
.category-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  background: none;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* Grid Styles */
.screens-grid,
.components-grid,
.prompts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Card Styles */
.screen-card,
.component-card,
.prompt-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.screen-card:hover,
.component-card:hover,
.prompt-card:hover {
  transform: translateY(-5px);
}

/* Preview Styles */
.screen-preview,
.component-preview {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.screen-preview img,
.component-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Styles */
.screen-overlay,
.component-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.screen-card:hover .screen-overlay,
.component-card:hover .component-overlay {
  opacity: 1;
}

/* Info Styles */
.screen-info,
.component-info,
.prompt-content {
  padding: 20px;
  color: white;
}

.screen-info h4,
.component-info h4,
.prompt-content h4 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.screen-desc,
.component-info p,
.prompt-text {
  margin: 0 0 15px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

/* Meta Styles */
.screen-meta,
.component-meta,
.prompt-meta {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
}

.screen-meta span,
.component-meta span,
.prompt-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Stats Section */
.database-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.stat-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.stat-icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
}

.stat-content h3 {
  font-size: 2rem;
  margin: 0 0 10px;
  color: #333;
}

.stat-content p {
  margin: 0;
  color: #666;
}

/* CTA Section */
.database-cta {
  text-align: center;
  margin-top: 40px;
}

.database-cta .btn {
  margin-bottom: 15px;
}

.cta-subtitle {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .database-stats {
    grid-template-columns: 1fr;
  }
  
  .screens-grid,
  .components-grid,
  .prompts-grid {
    grid-template-columns: 1fr;
  }
  
  .tab-header {
    flex-wrap: wrap;
  }
  
  .tab-btn {
    padding: 8px 16px;
    font-size: 1rem;
  }
} 