/* =============================================================================
   NeuroSoft — PREMIUM INDUSTRY PRACTICE PAGES (AZILEN-STYLE RICH VISUAL LAYOUT)
   Dedicated visual layouts, split image-text rows, picture frame containers,
   glowing aura stages, floating badge overlays, and scroll animations.
   ============================================================================= */

/* 2-Column Hero Split Stage */
.industry-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 990px) {
  .industry-hero-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Hero Picture Frame & Visual Stage (Single Seamless Container) */
.industry-hero-visual {
  position: relative;
  width: 100%;
  border-radius: var(--radius-2xl, 24px);
  padding: 0;
  background: var(--color-bg-secondary);
  border: 1px solid color-mix(in oklch, var(--color-accent-border), transparent 40%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.industry-hero-visual__inner {
  position: relative;
  width: 100%;
  border-radius: inherit;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-secondary);
}

.industry-hero-visual__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-hero-visual:hover .industry-hero-visual__inner img {
  transform: scale(1.03);
}

/* Floating Image Overlay Badges */
.industry-visual-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill, 999px);
  background: color-mix(in oklch, var(--color-bg-primary), transparent 10%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.industry-visual-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-strong);
  box-shadow: 0 0 10px var(--color-accent-strong);
  animation: glow-pulse 2s ease-in-out infinite;
}

/* Split Showcase Row (Alternating Image + Text) */
.industry-split-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin: 3.5rem 0;
  padding: 2.5rem;
  border-radius: var(--radius-2xl, 24px);
  background: color-mix(in oklch, var(--color-surface), transparent 30%);
  border: 1px solid var(--color-border);
}

.industry-split-showcase--reverse {
  grid-template-areas: "media content";
}

@media (max-width: 990px) {
  .industry-split-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
  .industry-split-showcase--reverse {
    grid-template-areas: none;
  }
}

/* Picture Frame Container for Features */
.industry-picture-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl, 16px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-secondary);
  border: 1px solid color-mix(in oklch, var(--color-border), white 10%);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.industry-picture-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.industry-picture-frame:hover img {
  transform: scale(1.04);
}

/* Picture Frame Placeholder Styling (Hidden globally) */
.picture-placeholder-tag {
  display: none !important;
}

/* Bento Card Image Slot */
.cx-bento-card__media {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
}

.cx-bento-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cx-bento-card:hover .cx-bento-card__media img {
  transform: scale(1.05);
}

/* Floating Stats Chip on Image */
.industry-floating-stat {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-lg, 12px);
  background: color-mix(in oklch, var(--color-bg-primary), transparent 15%);
  backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.industry-floating-stat__val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-accent-strong);
  line-height: 1.1;
}

.industry-floating-stat__lbl {
  font-size: 0.68rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Key Features Bullet List with Custom Icons */
.industry-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.industry-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.industry-feature-list svg {
  color: var(--color-accent-strong);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Dark Mode Overrides for Picture Frames */
:root[data-theme="dark"] .industry-hero-visual,
:root[data-theme="dark"] .industry-split-showcase {
  background: color-mix(in oklch, var(--color-bg-card), transparent 20%);
  border-color: color-mix(in oklch, var(--color-glow), transparent 75%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

:root[data-theme="dark"] .industry-visual-badge,
:root[data-theme="dark"] .industry-floating-stat {
  background: oklch(16% 0.03 264 / 0.85);
  border-color: color-mix(in oklch, var(--color-glow), transparent 65%);
}
