.industry-row {
  display: flex;
  height: 24rem;
  border-radius: 1rem;
  overflow: hidden;
}

@media (max-width: 860px) {
  .industry-row {
    flex-direction: column;
    height: auto;
  }
}

.industry-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 860px) {
  .industry-panel {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 5rem;
  }
  .industry-panel.active {
    min-height: 14rem;
  }
}

.industry-panel:last-child {
  border-right: none;
}

.industry-panel.active {
  flex: 4;
}

.industry-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--tint-a, #7c3aed), var(--tint-b, #4f46e5));
}

.industry-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.industry-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.28));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.industry-panel:nth-child(1) { --tint-a: #7c3aed; --tint-b: #4338ca; }
.industry-panel:nth-child(2) { --tint-a: #6366f1; --tint-b: #3b82f6; }
.industry-panel:nth-child(3) { --tint-a: #8b5cf6; --tint-b: #6366f1; }
.industry-panel:nth-child(4) { --tint-a: #4f46e5; --tint-b: #7c3aed; }
.industry-panel:nth-child(5) { --tint-a: #3b82f6; --tint-b: #8b5cf6; }

.industry-collapsed,
.industry-content {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
  text-align: center;
}

.industry-collapsed {
  font-size: 1.125rem;
  font-weight: 600;
}

.industry-content {
  display: none;
  max-width: 26rem;
  text-align: left;
}

.industry-content h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.industry-content p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.industry-panel.active .industry-collapsed {
  display: none;
}

.industry-panel.active .industry-content {
  display: block;
}
