/* Demo Page Styles */

.demo-hero {
  background: var(--vp-c-bg-soft);
  padding: 4rem 1rem;
  text-align: center;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--vp-c-border);
}

.demo-hero .page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--vp-c-text-1);
}

.demo-hero .page-description {
  font-size: 1.25rem;
  color: var(--vp-c-text-2);
  max-width: 600px;
  margin: 0 auto;
}

.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.demo-card {
  background: var(--vp-c-bg);
  border: 2px solid var(--vp-c-border);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 250px;
}

.demo-card-active {
  border-color: var(--vp-c-brand-1);
  box-shadow: 0 4px 12px rgba(34, 140, 244, 0.15);
}

.demo-card-active:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(34, 140, 244, 0.25);
  border-color: var(--vp-c-brand-2);
}

.demo-card-coming-soon {
  opacity: 0.6;
  filter: blur(2px);
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

.demo-card-coming-soon:hover {
  transform: none;
  box-shadow: none;
}

.demo-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.demo-card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--vp-c-text-1);
}

.demo-card-description {
  font-size: 1.125rem;
  color: var(--vp-c-text-2);
  margin-bottom: 1.5rem;
}

.demo-card-arrow {
  color: var(--vp-c-brand-1);
  transition: transform 0.3s ease;
}

.demo-card-active:hover .demo-card-arrow {
  transform: translateX(4px);
}

.demo-card-badge {
  background: var(--vp-c-brand-1);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .demo-hero {
    padding: 3rem 1rem;
  }
  
  .demo-hero .page-title {
    font-size: 2rem;
  }
  
  .demo-hero .page-description {
    font-size: 1rem;
  }
}

/* Demo Loading Page Styles */

.demo-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: var(--vp-c-bg);
}

.demo-loading-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 3rem;
  border-radius: 1rem;
}

.demo-loading-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--vp-c-text-1);
  margin-bottom: 1.5rem;
}

.demo-loading-status {
  font-size: 1.125rem;
  color: var(--vp-c-text-2);
  margin-bottom: 2rem;
  min-height: 1.5rem;
  transition: opacity 0.3s ease;
}

.demo-loading-status.fade {
  opacity: 0;
}

.demo-loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--vp-c-border);
  border-top-color: var(--vp-c-brand-1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 2rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.demo-loading-product {
  font-size: 1rem;
  color: var(--vp-c-text-3);
  font-weight: 500;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .demo-loading-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
  }
  
  .demo-loading-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .demo-loading-status {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .demo-loading-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
    margin-bottom: 1.5rem;
  }
  
  .demo-loading-product {
    font-size: 0.875rem;
  }
  
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }
  
  .demo-card {
    padding: 2rem 1.5rem;
    min-height: 200px;
  }
  
  .demo-card-title {
    font-size: 1.5rem;
  }
  
  .demo-card-description {
    font-size: 1rem;
  }
}

