/* ══════════════════════════════════════════════════════════════════
   DELRIQUE INFOTECH — Industry UX / Premium Visual System
   Loaded ONLY on industry pages (header.php $isIndustry branch).
   Complements services.css. Namespaced under .indux-* to avoid
   clobbering existing service/home styles.
   ══════════════════════════════════════════════════════════════════ */

/* ───────── Design tokens (industry-scoped) ───────── */
:root {
  --indux-gold: #FFC300;
  --indux-blue: #1546A0;
  --indux-navy: #0B1220;
  --indux-navy-2: #0f172a;
  --indux-glow-blue: rgba(21, 70, 160, 0.16);
  --indux-glow-gold:  rgba(255, 195, 0, 0.05);
  --indux-line:    rgba(255, 255, 255, 0.08);
  --indux-line-soft: rgba(255, 255, 255, 0.05);
  --indux-card:    rgba(255, 255, 255, 0.025);
  --indux-card-hi: rgba(255, 255, 255, 0.05);
  --indux-text-dim: rgba(255, 255, 255, 0.66);
  --indux-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ───────── Soft section glows (alternating rhythm) ───────── */
.indux-section { position: relative; overflow: hidden; }
.indux-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 15%, var(--indux-glow-blue), transparent 52%),
    radial-gradient(ellipse at 88% 85%, var(--indux-glow-gold), transparent 46%);
  opacity: 0.85;
}
.indux-section .container { position: relative; z-index: 1; }

/* ───────── Animated gold divider between sections ───────── */
.indux-divider {
  position: relative;
  height: 1px;
  max-width: 1280px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--indux-line), transparent);
}
.indux-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, var(--indux-gold), transparent);
  animation: induxShimmer 3.2s var(--indux-ease) infinite;
}
@keyframes induxShimmer {
  0%   { opacity: 0.25; transform: translate(-50%, -50%) scaleX(0.4); }
  50%  { opacity: 1;     transform: translate(-50%, -50%) scaleX(1); }
  100% { opacity: 0.25; transform: translate(-50%, -50%) scaleX(0.4); }
}
@keyframes induxPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.12); }
  50%      { box-shadow: 0 0 0 9px rgba(255, 195, 0, 0.02); }
}

/* ───────── Hero upgrade: floating stack chips + glow ───────── */
.indux-hero {
  background:
    radial-gradient(ellipse at 78% 20%, var(--indux-glow-blue), transparent 55%),
    radial-gradient(ellipse at 20% 90%, var(--indux-glow-gold), transparent 45%),
    var(--indux-navy);
}
.indux-hero-chiprow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; max-width: 640px; }
.indux-hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--indux-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem; font-weight: 500; text-decoration: none;
  transition: border-color .25s var(--indux-ease), color .25s var(--indux-ease),
              background .25s var(--indux-ease), transform .25s var(--indux-ease);
}
.indux-hero-chip svg { width: 15px; height: 15px; color: var(--indux-gold); flex-shrink: 0; }
.indux-hero-chip:hover {
  border-color: rgba(255, 195, 0, 0.45);
  color: #fff;
  background: rgba(255, 195, 0, 0.06);
  transform: translateY(-2px);
}
.indux-hero-chiprow .indux-chip-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--indux-gold);
  box-shadow: 0 0 0 4px rgba(255, 195, 0, 0.12);
  animation: induxPulse 2.4s ease-in-out infinite;
}

/* ───────── Emerging Technology — featured image tiles ───────── */
.indux-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.indux-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--indux-line);
  background: var(--indux-navy-2);
  isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: 300px;
  transition: transform .5s var(--indux-ease), border-color .4s var(--indux-ease),
              box-shadow .5s var(--indux-ease);
}
.indux-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 195, 0, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.indux-tile__img {
  position: absolute; inset: 0; z-index: -2;
}
.indux-tile__img img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform .8s var(--indux-ease);
}
.indux-tile:hover .indux-tile__img img { transform: scale(1.09); }
.indux-tile__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,18,32,0.05) 0%, rgba(11,18,32,0.55) 45%, rgba(11,18,32,0.94) 100%);
  transition: background .5s var(--indux-ease);
}
.indux-tile:hover .indux-tile__scrim { background: linear-gradient(180deg, rgba(11,18,32,0.02) 0%, rgba(11,18,32,0.45) 40%, rgba(11,18,32,0.97) 100%); }
.indux-tile__num {
  position: absolute; top: 18px; left: 18px; z-index: 1;
  font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--indux-gold);
  background: rgba(11, 18, 32, 0.62);
  border: 1px solid rgba(255, 195, 0, 0.35);
  padding: 7px 12px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.indux-tile__body { padding: 24px 24px 22px; width: 100%; }
.indux-tile__icon {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--indux-gold);
  background: rgba(255, 195, 0, 0.10);
  border: 1px solid rgba(255, 195, 0, 0.22);
}
.indux-tile__icon svg { width: 20px; height: 20px; }
.indux-tile__body h4 { color: #fff; font-size: 1.18rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.indux-tile__body p  { color: var(--indux-text-dim); font-size: 0.94rem; line-height: 1.62; margin: 0; }

/* ───────── Operational Impact — big icon plates grid ───────── */
.indux-impact { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.indux-impact__card {
  position: relative;
  padding: 30px 24px;
  border-radius: 18px;
  border: 1px solid var(--indux-line);
  background: linear-gradient(180deg, var(--indux-card-hi), var(--indux-card));
  text-align: left;
  transition: transform .45s var(--indux-ease), border-color .4s var(--indux-ease),
              background .4s var(--indux-ease), box-shadow .5s var(--indux-ease);
  overflow: hidden;
}
.indux-impact__card::after {
  content: '';
  position: absolute; left: 24px; bottom: 0;
  width: 42px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--indux-gold), transparent);
  transition: width .45s var(--indux-ease);
}
.indux-impact__card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 195, 0, 0.3);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}
.indux-impact__card:hover::after { width: 74px; }
.indux-impact__plate {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--indux-blue), #0e2f6b);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), 0 12px 26px rgba(21,70,160,0.35);
  position: relative;
}
.indux-impact__plate svg { width: 26px; height: 26px; }
.indux-impact__plate::after {
  content: '';
  position: absolute; inset: -5px; border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.indux-impact__card h4 { color: #fff; font-size: 1.04rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.indux-impact__card p  { color: var(--indux-text-dim); font-size: 0.9rem; line-height: 1.58; margin: 0; }

/* ───────── How DELRIQUE Implements — connector timeline ───────── */
.indux-road { position: relative; max-width: 900px; margin: 0 auto; padding-left: 0; }
.indux-road__line {
  position: absolute; left: 31px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(180deg, var(--indux-blue), var(--indux-gold));
  opacity: 0.35;
}
.indux-road__line::after {
  content: '';
  position: absolute; top: 0; left: -3px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--indux-gold);
  animation: induxDrop 2.6s var(--indux-ease) infinite;
}
@keyframes induxDrop {
  0%   { top: 0;    opacity: 1; }
  100% { top: 100%; opacity: 0.2; }
}
.indux-step {
  position: relative;
  display: flex; gap: 22px; align-items: flex-start;
  padding: 8px 0 30px;
}
.indux-step__node {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--indux-navy-2);
  border: 1px solid var(--indux-line);
  color: var(--indux-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform .45s var(--indux-ease), border-color .35s var(--indux-ease),
              background .4s var(--indux-ease), color .4s var(--indux-ease);
  z-index: 1;
}
.indux-step__node svg { width: 28px; height: 28px; }
.indux-step:hover .indux-step__node {
  transform: translateY(-4px) scale(1.04);
  border-color: rgba(255, 195, 0, 0.5);
  background: linear-gradient(135deg, var(--indux-blue), #0e2f6b);
  color: #fff;
}
.indux-step__card {
  flex: 1;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--indux-line);
  background: var(--indux-card);
  transition: border-color .4s var(--indux-ease), background .4s var(--indux-ease),
              transform .45s var(--indux-ease);
}
.indux-step:hover .indux-step__card {
  border-color: rgba(255, 195, 0, 0.28);
  background: var(--indux-card-hi);
  transform: translateX(4px);
}
.indux-step__card h4 { color: #fff; font-size: 1.12rem; font-weight: 700; margin: 0 0 7px; line-height: 1.3; }
.indux-step__card p  { color: var(--indux-text-dim); font-size: 0.92rem; line-height: 1.6; margin: 0 0 14px; }
.indux-step__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--indux-gold); font-size: 0.88rem; font-weight: 600; text-decoration: none;
}
.indux-step__cta svg { width: 15px; height: 15px; transition: transform .3s var(--indux-ease); }
.indux-step__cta:hover svg { transform: translateX(4px); }

/* ───────── Technology Environment — gradient chips ───────── */
.indux-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.indux-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--indux-line);
  background: linear-gradient(180deg, var(--indux-card-hi), var(--indux-card));
  color: rgba(255, 255, 255, 0.85); text-decoration: none;
  font-size: 0.86rem; font-weight: 500;
  transition: transform .3s var(--indux-ease), border-color .3s var(--indux-ease),
              color .3s var(--indux-ease), background .3s var(--indux-ease);
}
.indux-chip svg { width: 17px; height: 17px; color: var(--indux-gold); flex-shrink: 0; }
a.indux-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 195, 0, 0.45);
  color: #fff;
  background: rgba(255, 195, 0, 0.06);
}

/* ───────── Challenges — split with framed feature image ───────── */
.indux-challenge-feature {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--indux-line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.indux-challenge-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.indux-challenge-feature:hover img { transform: scale(1.03); }
.indux-challenge-feature figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 12px;
  background: rgba(11, 18, 32, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75); font-size: 0.82rem;
}
.indux-challenge-feature figcaption svg { width: 16px; height: 16px; color: var(--indux-gold); flex-shrink: 0; }
.indux-challenge-feature figcaption span { line-height: 1.4; }

/* ───────── Challenges / Solutions — refined list items ───────── */
.indux-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.indux-list-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--indux-line-soft);
  background: var(--indux-card);
  transition: border-color .3s var(--indux-ease), background .3s var(--indux-ease),
              transform .35s var(--indux-ease);
}
.indux-list-item:hover {
  border-color: rgba(255, 195, 0, 0.3);
  background: var(--indux-card-hi);
  transform: translateX(4px);
}
.indux-list-item__icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.indux-list-item__icon svg { width: 20px; height: 20px; }
.indux-list-item--warn .indux-list-item__icon {
  color: #F5B94B; background: rgba(255, 195, 0, 0.09); border: 1px solid rgba(255, 195, 0, 0.22);
}
.indux-list-item--ok .indux-list-item__icon {
  color: #fff; background: linear-gradient(135deg, var(--indux-blue), #0e2f6b);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.indux-list-item p { color: var(--indux-text-dim); font-size: 0.94rem; line-height: 1.55; margin: 0; padding-top: 2px; }

/* ───────── Industry hero: breathing room before CTA buttons ───────── */
.indux-hero .solution-hero__ctas { margin-top: 40px; }

/* ───────── Scroll-triggered assist: subtle drift on tiles ───────── */
.indux-tile, .indux-impact__card, .indux-step__node, .indux-step__card {
  will-change: transform;
}

/* ───────── Responsive ───────── */
@media (max-width: 1100px) {
  .indux-impact { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .indux-tiles { grid-template-columns: 1fr; }
  .indux-tile { min-height: 260px; }
  .indux-impact { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .indux-road__line { left: 31px; }
  .indux-step__node { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
  .indux-tiles { gap: 16px; }
  .indux-impact { grid-template-columns: 1fr; }
  .indux-impact__card { padding: 22px 18px; }
  .indux-impact__plate { width: 48px; height: 48px; }
  .indux-impact__plate svg { width: 22px; height: 22px; }
  .indux-step { gap: 14px; }
  .indux-step__node { width: 50px; height: 50px; border-radius: 14px; }
  .indux-step__node svg { width: 24px; height: 24px; }
  .indux-step__card { padding: 18px 18px; }
  .indux-road__line { left: 25px; }
}

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  .indux-divider span { animation: none; opacity: 0.6; }
  .indux-hero-chiprow .indux-chip-dot { animation: none; }
  .indux-road__line::after { animation: none; display: none; }
  .indux-tile, .indux-tile__img img { transition: none; }
  .indux-tile:hover { transform: none; }
  .indux-tile__img img { transform: none; }
  .indux-impact__card, .indux-step__node, .indux-step__card,
  .indux-chip, .indux-list-item { transition: none; }
}
