/* ============================================
   PRODUCTS PAGE - DARK THEME OVERRIDE
   ============================================ */

/* Override global variables for dark theme */
body {
  background-color: #131825;
  color: #ffffff;
}

:root {
  --bg-primary: #131825;
  --bg-secondary: #131825; 
  --bg-tertiary: #131825;
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --border-light: #333333;
}

/* Override product-specific background colors for dark theme */
.intro {
  background-color: var(--bg-secondary);
}

.products-section {
  background-color: var(--bg-primary);
}

.filter-controls {
  background-color: var(--bg-tertiary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.product-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
}

.product-card:hover {
  border-color: #555555;
  box-shadow: var(--shadow-xl), 0 0 20px rgba(37, 99, 235, 0.15);
}

/* Dark theme for price display */
.product-card .price {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-blue);
}

/* Dark theme for filter buttons */
.filter-btn {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.filter-btn:hover {
  background-color: var(--bg-tertiary);
}

/* Dark theme for highlight section */
.highlight {
  background: linear-gradient(135deg, #131825 0%, #1a1a2e 50%, #16213e 100%);
  color: var(--text-primary);
  padding: var(--spacing-4xl) var(--spacing-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.highlight h2 {
  color: var(--text-primary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 2;
}

.highlight p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 2;
  line-height: 1.6;
}

/* Dark theme for waitlist form */
.waitlist-form {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.waitlist-input {
  flex: 1;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: var(--text-base);
  backdrop-filter: blur(10px);
}

.waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.waitlist-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.15);
}

.waitlist-btn {
  background-color: var(--primary-blue);
  color: white;
  border-color: var(--primary-blue);
  white-space: nowrap;
  padding: var(--spacing-lg) var(--spacing-xl);
}

.waitlist-btn:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
  transform: translateY(-2px);
}

/* Responsive adjustments for dark theme */
@media (max-width: 768px) {
  .highlight {
    padding: var(--spacing-3xl) var(--spacing-md);
  }
  
  .waitlist-form {
    flex-direction: column;
    align-items: stretch;
  }
  
  .waitlist-input {
    margin-bottom: var(--spacing-md);
  }
}