/* Product Showcase — premium 2-column editorial block (5 instances) */

/* ===== 2-COL GRID: text LEFT, media RIGHT ===== */
.showcase .section-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-8);                 /* 64px */
  align-items: center;
}

/* Alternating flip — media on the LEFT, text on the RIGHT.
   Driven by .showcase--reverse (set in product-showcase.ts for
   my-vertigo-app + FCK Cancer). */
.showcase--reverse .showcase-text  { order: 2; }
.showcase--reverse .showcase-media { order: 1; }

/* ===== TEXT COLUMN ===== */
.showcase-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* eyebrow + status tag share a meta row above the headline */
.showcase-meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-2);
}

.showcase-eyebrow {
  margin-bottom: 0;
}

.showcase-headline {
  text-align: left;
  margin: 0 0 var(--space-2);
}

.showcase-description {
  text-align: left;
  max-width: 46ch;
  margin: 0 0 var(--space-4);
  color: var(--ink-600);
}

/* ===== FEATURE LIST — 2-col on desktop, green check glyph ===== */
.showcase-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-3);
  margin: 0 0 var(--space-5);
  width: 100%;
}

.showcase-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
}

/* forest-green check glyph (clinical-trust accent) */
.showcase-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: var(--radius-pill);
  background: var(--green-50);
  color: var(--green-500);
}

.showcase-feature-icon svg {
  display: block;
}

.showcase-feature-text {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.2px;
  color: var(--ink-700);
}

/* ===== CTAs ===== */
.showcase-ctas {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: 0;
}

/* ===== STATUS as a tag (.tag base + variant class set in TS) ===== */
.showcase-status {
  margin: 0;
}

/* ===== MEDIA COLUMN — app icon on a cream-deep card ===== */
.showcase-media {
  display: flex;
  justify-content: center;
}

.showcase-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  padding: var(--space-8);
  margin: 0;
  background: var(--bg-cream-deep);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-default), box-shadow var(--transition-default);
}

/* signature copper sheen on the TOP edge */
.showcase-icon-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--sheen-line);
  opacity: 0.9;
}

/* quiet, premium hover grammar: lift + shadow lift */
.showcase-icon-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.showcase-icon {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 44px;
  display: block;
}

/* ===== RESPONSIVE: stack to 1 col (media on TOP) below 860px ===== */
@media (max-width: 860px) {
  .showcase .section-content {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* media always first, then text — overrides reverse ordering */
  .showcase .showcase-media,
  .showcase--reverse .showcase-media { order: 1; }
  .showcase .showcase-text,
  .showcase--reverse .showcase-text  { order: 2; }

  .showcase-text {
    align-items: center;
    text-align: center;
  }

  .showcase-headline,
  .showcase-description {
    text-align: center;
  }

  .showcase-description {
    max-width: 56ch;
  }

  .showcase-features {
    text-align: left;
  }

  .showcase-ctas {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .showcase-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .showcase-icon-wrapper {
    padding: var(--space-5);
  }

  .showcase-icon {
    max-width: 168px;
    border-radius: 34px;
  }
}

/* respect reduced-motion: drop the hover transform */
@media (prefers-reduced-motion: reduce) {
  .showcase-icon-wrapper {
    transition: none;
  }
  .showcase-icon-wrapper:hover {
    transform: none;
  }
}
