/* 
 * Color Extractly Detail Page Styles
 * Custom styles specific to the Color Extractly plugin detail page
 */

/* Hero Section Customizations */
.hero-figma-plugin {
  text-align: left;
  padding: var(--space-md) 0;
}

.hero-figma-plugin .hero-description {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

.hero-figma-plugin .hero-cta-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.hero-figma-plugin .hero-export-tags {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

/* Color Extractly specific: monospace font for code-like pill content */
.decoTextPill {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
}

/* CardRidge Hero Wrapper */
.cardRidge-hero-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: var(--space-md);
  min-height: 300px;
}

.cardRidge-hero-wrapper .cardRidge {
  position: relative;
  z-index: 1;
}

/* Gradient background for hero cartridge */
.cardRidge-gradient-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(128, 103, 225, 0.2) 0%, rgba(128, 103, 225, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {

  /* CardRidge hero wrapper mobile styles */
  .cardRidge-hero-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md) 0;
    min-height: 250px;
  }

  .cardRidge-hero-wrapper .cardRidge {
    max-width: 250px;
    width: 100%;
  }

  .decoTextPill {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
  }
}

/* ===== Interactive Demo Section (embedded) ===== */
.demo-section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
}

.demo-section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.demo-section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 var(--space-sm);
  color: var(--textcolor);
}

.demo-section__description {
  font-size: 1.1rem;
  color: var(--textcolor2);
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Embedded demo container adjustments */
.demo-container--embedded {
  background: var(--shade2);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .demo-section {
    padding: var(--space-lg) var(--space-sm);
    overflow-x: hidden;
  }

  .demo-container--embedded {
    padding: 1rem;
    border-radius: 1rem;
    max-width: 100%;
    overflow-x: hidden;
  }
}