
/* Demo Hub Specific Styles */

.hero-section {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 1.25rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

/* Demos Grid Layout */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Demo Tile Styling */
.demo-tile {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.demo-tile:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.demo-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f38020, #ea580c);
}

/* Demo Icon */
.demo-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.demo-tile:hover .demo-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 8px 15px -3px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.demo-icon i {
  font-size: 2.25rem;
  color: #f38020;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-tile:hover .demo-icon i {
  transform: scale(1.1);
}

/* Demo Content */
.demo-tile h3 {
  font-size: 1.625rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
  transition: color 0.3s ease;
}

.demo-tile:hover h3 {
  color: #f38020;
}

.demo-tile p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 1rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.demo-tile:hover p {
  color: #334155;
}

/* Feature Tags */
.demo-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 100%);
  color: #475569;
  border: 1px solid rgba(107, 114, 128, 0.15);
}

.feature-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.demo-tile:hover .feature-tag::before {
  left: 100%;
}

/* Unified feature tag styling with muted grey */
.feature-tag {
  background: linear-gradient(135deg, #f8f9fa 0%, #f3f4f6 100%);
  color: #475569;
  border: 1px solid rgba(107, 114, 128, 0.15);
}

/* Demo Button */
.demo-button {
  background: linear-gradient(135deg, #f38020 0%, #ea580c 50%, #dc2626 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 14px 0 rgba(243, 128, 32, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.demo-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.demo-button:hover::before {
  left: 100%;
}

.demo-button:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px 0 rgba(243, 128, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 50%, #b91c1c 100%);
}

.demo-button i {
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-tile:hover .demo-button i {
  transform: translateX(4px);
}

/* Footer Section */
.footer-section {
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.footer-section p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .demos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .demo-tile {
    padding: 1.5rem;
  }
  
  .demo-tile h3 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 1.5rem 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .demo-tile {
    padding: 1.25rem;
  }
  
  .demo-icon {
    width: 56px;
    height: 56px;
  }
  
  .demo-icon i {
    font-size: 1.75rem;
  }
}

/* Unified demo icon styling - using orange with subtle variations */
.demo-tile:nth-child(1) .demo-icon i {
  color: #f38020;
}

.demo-tile:nth-child(2) .demo-icon i {
  color: #ea580c;
}

.demo-tile:nth-child(3) .demo-icon i {
  color: #dc2626;
}

.demo-tile:nth-child(4) .demo-icon i {
  color: #f38020;
}

.demo-tile:nth-child(5) .demo-icon i {
  color: #ea580c;
}

.demo-tile:nth-child(6) .demo-icon i {
  color: #dc2626;
}
