/* ============================================================
   PREMIUM SHOWCASE: AI VOICE TO CHECKLIST
   ============================================================ */
.voice-showcase {
  background: #ffffff;
  padding: 13px 20px;
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow: hidden;
  position: relative;
}

.voice-showcase-bg {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, rgba(9, 14, 23, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.voice-showcase-bg-2 {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(9, 14, 23, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.voice-showcase-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.vs-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 70px auto;
}

.vs-tag {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 12px;
}

.vs-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
  background: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.vs-desc {
  font-size: 1.125rem;
  color: #000;
  line-height: 1.7;
  margin-bottom: 40px;
}

.vs-desc strong {
  color: #000;
}

.vs-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.vs-btn-primary {
  background: #0ea5e9;
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0ea5e9;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vs-btn-primary:hover {
  background: #0284c7;
  border-color: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(14, 165, 233, 0.5);
}

.vs-btn-secondary {
  background: #ffffff;
  color: #0ea5e9;
  padding: 16px 36px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #0ea5e9;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.vs-btn-secondary:hover {
  background: #f0f9ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.15);
}

/* Workflow Section */
.vs-workflow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0px;
  align-items: center;
  position: relative;
  padding-top: 0px;
}

.vs-step {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 30px 20px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vs-step:hover {
  transform: translateY(-10px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px rgba(14, 165, 233, 0.15);
  background: rgba(30, 41, 59, 0.8);
}

.vs-step-num {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  background: #0f172a;
  border: 2px solid #38bdf8;
  color: #38bdf8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.vs-step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #f1f5f9;
  margin-top: 12px;
  letter-spacing: 1px;
}

.vs-step-img-wrap {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #020617;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.vs-step-img {
  width: 99%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Animated arrow connector */
.vs-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 2.5rem;
  animation: pulseArrow 2s infinite;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

@keyframes pulseArrow {
  0% {
    transform: translateX(0);
    opacity: 0.4;
  }

  50% {
    transform: translateX(10px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0.4;
  }
}

@keyframes pulseArrowDown {
  0% {
    transform: rotate(90deg) translateX(0);
    opacity: 0.4;
  }

  50% {
    transform: rotate(90deg) translateX(10px);
    opacity: 1;
  }

  100% {
    transform: rotate(90deg) translateX(0);
    opacity: 0.4;
  }
}

.vs-workflow.vs-workflow-2step {
  grid-template-columns: 1fr auto 1fr;
  max-width: 680px;
  margin: 0 auto;
}

.vs-workflow.vs-workflow-4step {
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  max-width: 1400px;
  margin: 0 auto;
}

/* --------------------------------------------------
   Mobile Responsiveness for Showcase
   -------------------------------------------------- */

@media (max-width: 1024px) {

  .vs-workflow,
  .vs-workflow.vs-workflow-2step,
  .vs-workflow.vs-workflow-4step {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .vs-connector {
    transform: rotate(90deg);
    animation: pulseArrowDown 2s infinite;
    height: 40px;
  }

  .vs-title {
    font-size: 2.8rem;
  }

  .vs-step-img-wrap {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .voice-showcase {
    padding: 80px 16px;
  }

  .vs-title {
    font-size: 2.2rem;
  }

  .vs-desc {
    font-size: 1.05rem;
  }

  .vs-step-img-wrap {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .voice-showcase {
    padding: 60px 16px;
  }

  .vs-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .vs-actions {
    flex-direction: column;
    width: 100%;
  }

  .vs-btn-primary,
  .vs-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .vs-step-img-wrap {
    height: 200px;
  }

  .vs-step {
    padding: 24px 16px;
  }

  .vs-connector {
    font-size: 2rem;
    height: 30px;
  }
}

/* ============================================================
   KPI Cards Section
   ============================================================ */
.kpi-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

/* Voice Showcase Feature Card Match */
.vs-feat-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vs-feat-card:hover {
  transform: translateY(-5px);
  border: none;
  box-shadow: none;
}

.vs-feat-card .vs-step-img-wrap {
  width: 100%;
  height: 480px;
  border-radius: 0;
  border: none;
  box-shadow: none;
  margin: 0;
  position: relative;
  background: transparent !important;
}

.vs-feat-card .vs-step-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vs-feat-card-content {
  padding: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  flex: 1;
  background: transparent;
}

.vs-feat-card .vs-step-num {
  display: none !important;
}

.vs-feat-card .vs-step-title {
  color: #0f172a;
  font-size: 1.25rem;
  margin: 0;
  font-weight: 800;
  background: none;
  -webkit-text-fill-color: initial;
  text-align: center;
}

body.dark-mode .vs-feat-card {
  background: #1e293b;
  border-color: #334155;
}

body.dark-mode .vs-feat-card .vs-step-title {
  color: #f8fafc;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 4px 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.kpi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(59, 130, 246, 0.15), 0 0 0 1px #3b82f6;
  border-color: #3b82f6;
}

.kpi-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
}

.kpi-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.kpi-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.kpi-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .kpi-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .kpi-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PPE Showcase & KPI Showcase (Light Mode Defaults & Dark Mode)
   ============================================================ */
.ppe-showcase {
  background: #f8fafc;
  padding: 5px 20px;
}

.kpi-showcase {
  background: #ffffff;
  padding: 5px 20px;
}

/* Light Theme Overrides for PPE Steps */
.ppe-showcase .vs-step {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  padding: 4px 20px;
}

.ppe-showcase .vs-step-title {
  color: #0f172a;
}

.ppe-showcase .vs-title,
.kpi-showcase .vs-title {
  color: #0f172a;
}

.ppe-showcase .vs-desc,
.kpi-showcase .vs-desc {
  color: #475569;
}

/* Dark Mode Overrides */
body.dark-mode .ppe-showcase {
  background: #020617;
}

body.dark-mode .kpi-showcase {
  background: #0f172a;
}

body.dark-mode .ppe-showcase .vs-step {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #f8fafc;
}

body.dark-mode .ppe-showcase .vs-step-title,
body.dark-mode .vs-title {
  color: #f1f5f9;
  background: none;
  -webkit-text-fill-color: initial;
}

body.dark-mode .vs-desc,
body.dark-mode .vs-desc strong {
  color: #cbd5e1;
}

body.dark-mode .vs-feat-card {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* Dark Mode for KPI Cards */
body.dark-mode .kpi-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

body.dark-mode .kpi-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .kpi-title {
  color: #f8fafc;
}

body.dark-mode .kpi-subtitle {
  color: #94a3b8;
}

body.dark-mode .kpi-desc {
  color: #cbd5e1;
}