/* ============================================================
   AXION CLINICAL — Showcase Pages (product detail)
   ============================================================ */

/* ---------- Showcase Hero ---------- */
.showcase-hero {
  padding: 80px 0 48px;
  background: var(--ax-white);
  text-align: center;
}

.showcase-hero .ax-label {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(127,179,164,.1);
  color: var(--ax-mint);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.showcase-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--ax-navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.showcase-hero h1 span {
  background: linear-gradient(135deg, var(--ax-navy), var(--ax-mint));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-hero p {
  font-size: 1.1rem;
  color: var(--ax-shadow);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Showcase Block (image + text side by side) ---------- */
.showcase-block {
  padding: 64px 0;
}

.showcase-block:nth-child(even) {
  background: rgba(74,103,140,.03);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase-block.reverse .showcase-inner {
  direction: rtl;
}

.showcase-block.reverse .showcase-inner > * {
  direction: ltr;
}

/* -- Media side (video / image placeholder) -- */
.showcase-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(74,103,140,.06), rgba(127,179,164,.08));
  border: 1px solid rgba(74,103,140,.08);
  box-shadow: 0 16px 60px rgba(74,103,140,.08);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease;
}

.showcase-media:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(74,103,140,.12);
}

.showcase-media::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(127,179,164,.25), transparent, rgba(74,103,140,.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.showcase-video {
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--ax-navy);
  position: relative;
  cursor: pointer;
}

.showcase-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  display: block;
  border-radius: 24px;
}

/* Overlay de play encima del video pausado */
.showcase-video .video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  background: rgba(74,103,140,.08);
  transition: opacity .3s ease;
  z-index: 3;
  border-radius: 24px;
}

.showcase-video.playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 32px rgba(74,103,140,.15);
}

.video-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(74,103,140,.25);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--ax-navy);
  margin-left: 4px;
}

.video-caption {
  font-size: .82rem;
  opacity: .4;
  margin: 0;
}

/* -- Text side -- */
.showcase-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.showcase-text .ax-label {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 50px;
  background: rgba(127,179,164,.1);
  color: var(--ax-mint);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  width: fit-content;
}

.showcase-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ax-navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.showcase-text > p {
  font-size: 1rem;
  color: var(--ax-shadow);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Feature list in showcase */
.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.showcase-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.showcase-feat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ax-navy), var(--ax-mint));
  flex-shrink: 0;
  margin-top: 7px;
}

.showcase-feat-content h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ax-navy);
  margin-bottom: 3px;
}

.showcase-feat-content p {
  font-size: .88rem;
  color: var(--ax-shadow);
  line-height: 1.55;
  margin: 0;
}

/* ---------- CTA Banner ---------- */
.showcase-cta {
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.showcase-cta::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,179,164,.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.showcase-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ax-navy);
  margin-bottom: 12px;
  position: relative;
}

.showcase-cta p {
  font-size: 1rem;
  color: var(--ax-shadow);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.7;
  position: relative;
}

.showcase-cta .ax-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ax-navy), var(--ax-mint));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  transition: all .35s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 4px 20px rgba(74,103,140,.2);
  text-decoration: none;
  position: relative;
}

.showcase-cta .ax-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(127,179,164,.35);
}

/* -- Page nav (prev / next) -- */
.showcase-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 0 0 48px;
}

.showcase-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ax-navy);
  background: var(--ax-white);
  border: 1px solid rgba(74,103,140,.1);
  transition: all .3s ease;
  text-decoration: none;
}

.showcase-nav a:hover {
  background: var(--ax-navy);
  color: #fff;
  border-color: var(--ax-navy);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .showcase-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .showcase-block.reverse .showcase-inner {
    direction: ltr;
  }

  .showcase-hero {
    padding: 64px 0 32px;
  }

  .showcase-block {
    padding: 40px 0;
  }

  .showcase-text h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
  .showcase-cta { padding: 56px 0; }
  .showcase-cta h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); }
}

@media (max-width: 600px) {
  .showcase-hero { padding: 48px 0 24px; }
  .showcase-hero h1 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .showcase-hero p { font-size: .95rem; }

  .showcase-block { padding: 28px 0; }
  .showcase-inner { gap: 24px; }

  .showcase-media { border-radius: 16px; }
  .showcase-media::before { border-radius: 16px; }
  .showcase-video video { border-radius: 16px; }
  .showcase-video .video-overlay { border-radius: 16px; }
  .video-play-btn { width: 56px; height: 56px; }
  .video-play-btn svg { width: 22px; height: 22px; }

  .showcase-text .ax-label { font-size: .68rem; padding: 4px 12px; }
  .showcase-text h2 { font-size: clamp(1.3rem, 5vw, 1.7rem); margin-bottom: 10px; }
  .showcase-text > p { font-size: .9rem; margin-bottom: 18px; }
  .showcase-feat-content h4 { font-size: .88rem; }
  .showcase-feat-content p { font-size: .82rem; }
  .showcase-features { gap: 12px; margin-bottom: 20px; }

  .showcase-cta { padding: 40px 0; }
  .showcase-cta h2 { font-size: clamp(1.2rem, 5vw, 1.6rem); }
  .showcase-cta p { font-size: .9rem; margin-bottom: 20px; }
  .showcase-cta .ax-btn-primary { padding: 12px 24px; font-size: .9rem; }

  .showcase-nav {
    flex-direction: column;
    align-items: center;
    padding: 0 0 32px;
  }

  .showcase-nav a {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 10px 20px;
    font-size: .84rem;
  }
}

@media (max-width: 400px) {
  .showcase-hero { padding: 36px 0 20px; }
  .showcase-hero h1 { font-size: 1.3rem; }
  .showcase-block { padding: 20px 0; }
  .showcase-media { border-radius: 12px; }
  .showcase-media::before { border-radius: 12px; }
  .showcase-video video { border-radius: 12px; }
  .showcase-video .video-overlay { border-radius: 12px; }
  .video-play-btn { width: 44px; height: 44px; }
  .video-play-btn svg { width: 18px; height: 18px; }
  .showcase-cta { padding: 32px 0; }
}
