/* ==========================================================================
   Product Detail Showcases (HealOps & Back Office / DocuFlow AI)
   ========================================================================== */

.product-detail-hero {
  position: relative;
  padding: 18px 0 40px;
  background: linear-gradient(180deg, #07192f 0%, #0a2540 70%, #0f172a 100%);
  color: #ffffff;
  overflow: hidden;
  min-height: calc(100vh - 75px);
  display: flex;
  align-items: center;
}

.detail-nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 6px 14px 6px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.badge-healops {
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.5);
  color: #00d4ff;
}

.badge-backoffice {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.5);
  color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.badge-backoffice .badge-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-backoffice .badge-dot {
  color: #818cf8;
  font-size: 11px;
  opacity: 0.85;
}

.badge-backoffice .badge-pill-trial {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(99, 102, 241, 0.35) 100%);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.6);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22);
}

/* Showcase Container */
.product-showcase-wrapper {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Image Showcase with Left-to-Center Slide Animation & Full Viewport Fit */
.showcase-image-container {
  width: 100%;
  max-width: min(900px, 92vw);
  max-height: calc(100vh - 165px);
  background: #ffffff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Initial state before animation */
  opacity: 0;
  transform: translateX(-120px) scale(0.97);
  animation: slideInLeftToCenter 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.15s;
}

.showcase-image-container img {
  width: 100%;
  max-height: calc(100vh - 185px);
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.showcase-image-container:hover img {
  transform: scale(1.008);
}

/* Content Area with Left Slide Animation */
.showcase-content-box {
  width: 100%;
  max-width: 980px;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 40px;
  box-shadow: 0 15px 40px rgba(10, 37, 64, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-bottom: 30px;
  
  /* Initial state before animation */
  opacity: 0;
  transform: translateX(-120px);
  animation: slideInLeftContent 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.5s;
}

.showcase-content-box h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.showcase-content-box p {
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 0;
  font-weight: 400;
}

/* ==========================================================================
   Step-by-Step Architecture & Workflow Breakdown Styling
   ========================================================================== */

.workflow-section {
  padding: 60px 0 80px;
  background: #f8fafc;
}

.workflow-section.dark-mode {
  background: #091322;
  color: #f1f5f9;
}

.workflow-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 50px;
}

.workflow-header-secondary {
  margin-top: 50px;
  margin-bottom: 30px;
}

.workflow-tag {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.tag-backoffice {
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.tag-healops {
  background: rgba(6, 182, 212, 0.12);
  color: #0284c7;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.workflow-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.workflow-section.dark-mode .workflow-header h2 {
  color: #ffffff;
}

.workflow-header p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

/* Pipeline Step Cards Grid (5-Steps or 4-Steps) */
.steps-pipeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.step-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.workflow-section.dark-mode .step-card {
  background: #0f1c30;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
}

.step-num-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
}

.workflow-section.dark-mode .step-num-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.step-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.icon-box-backoffice {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(129, 140, 248, 0.25) 100%);
  color: #4f46e5;
}

.icon-box-healops {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(56, 189, 248, 0.25) 100%);
  color: #0284c7;
}

.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.workflow-section.dark-mode .step-card h3 {
  color: #ffffff;
}

.step-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 14px;
  flex-grow: 1;
}

.workflow-section.dark-mode .step-card p {
  color: #94a3b8;
}

.step-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.step-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.workflow-section.dark-mode .step-chip {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-box {
  background: #ffffff;
  padding: 24px 20px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.workflow-section.dark-mode .benefit-box {
  background: #0f1c30;
  border-color: rgba(255, 255, 255, 0.08);
}

.benefit-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  font-size: 26px;
  margin-bottom: 12px;
  color: #4f46e5;
}

.benefit-icon-healops {
  color: #00d4ff;
}

.benefit-box h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.workflow-section.dark-mode .benefit-box h4 {
  color: #ffffff;
}

.benefit-box p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.workflow-section.dark-mode .benefit-box p {
  color: #94a3b8;
}

/* Quote & Contact CTA Box */
.showcase-quote-cta {
  width: 100%;
  max-width: 980px;
  border-radius: 22px;
  padding: 42px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(10, 37, 64, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  
  /* Initial state before animation */
  opacity: 0;
  transform: translateY(40px);
  animation: slideInUpQuote 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.1s;
}

.quote-bg-healops {
  background: linear-gradient(135deg, #07192f 0%, #0a2540 50%, #0284c7 100%);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.quote-bg-backoffice {
  background: linear-gradient(135deg, #07192f 0%, #0a2540 50%, #4f46e5 100%);
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.quote-icon {
  font-size: 36px;
  margin-bottom: 14px;
  opacity: 0.9;
}

.quote-text {
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  max-width: 780px;
  margin: 0 auto 12px;
  color: #f8fafc;
}

.quote-subtext {
  font-size: 15px;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.5;
}

/* Theme-styled CTA Buttons */
.cta-button-group {
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn-detail-contact-healops {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #00d4ff 0%, #0284c7 100%);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-detail-contact-healops:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.65);
  background: linear-gradient(135deg, #38bdf8 0%, #0369a1 100%);
  color: #ffffff;
}

.btn-detail-contact-backoffice {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #818cf8 0%, #4f46e5 100%);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.45);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-detail-contact-backoffice:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(99, 102, 241, 0.65);
  background: linear-gradient(135deg, #a5b4fc 0%, #4338ca 100%);
  color: #ffffff;
}

/* Keyframe Animations */
@keyframes slideInLeftToCenter {
  0% {
    opacity: 0;
    transform: translateX(-150px) scale(0.96);
  }
  70% {
    opacity: 1;
    transform: translateX(8px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInLeftContent {
  0% {
    opacity: 0;
    transform: translateX(-120px);
  }
  70% {
    opacity: 1;
    transform: translateX(6px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUpQuote {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Note: Media queries for Product Detail pages have been moved to css/responsive/product-detail-responsive.css */

