/* ==========================================================================
   Industries Interactive v2 – Dual-row marquee with hover-expand cards
   ========================================================================== */

.ind-v2 {
  padding: clamp(72px, 9vw, 120px) 0;
  background: #0a0a0b;
  overflow: hidden;
}

/* ── Header ── */
.ind-v2__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.ind-v2__eyebrow {
  font-size: var(--font-size-sm, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent, #2f70ff);
  margin: 0 0 16px;
}

.ind-v2__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ind-v2__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.15);
  transition: all 0.3s ease;
}

.ind-v2__cta:hover {
  color: #fff;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
}

/* ── Marquee rows ── */
.ind-v2__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
  margin-bottom: 16px;
}

.ind-v2__marquee:last-of-type {
  margin-bottom: 0;
}

.ind-v2__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: indMarqueeLeft 45s linear infinite;
}

.ind-v2__marquee--reverse .ind-v2__track {
  animation: indMarqueeRight 45s linear infinite;
}

@keyframes indMarqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

@keyframes indMarqueeRight {
  0% { transform: translateX(-33.333%); }
  100% { transform: translateX(0); }
}

/* Pause on hover */
.ind-v2__marquee:hover .ind-v2__track {
  animation-play-state: paused;
}

/* ── Card ── */
.ind-v2__card {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 16px 28px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
  color: #fff;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

.ind-v2__card-glow {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(47,112,255,.3) 0%, rgba(123,97,255,.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.ind-v2__card:hover .ind-v2__card-glow {
  opacity: 1;
}

.ind-v2__card:hover {
  background: rgba(47,112,255,.1);
  border-color: rgba(47,112,255,.25);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(47,112,255,.12), 0 0 0 1px rgba(47,112,255,.1);
}

.ind-v2__card-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ── Icon ── */
.ind-v2__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ind-v2__card:hover .ind-v2__icon {
  background: rgba(47,112,255,.2);
  transform: scale(1.1);
}

.ind-v2__icon img {
  width: 22px;
  height: 22px;
  display: block;
}

/* ── Name ── */
.ind-v2__name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.ind-v2__card:hover .ind-v2__name {
  color: #fff;
}

/* ── Arrow ── */
.ind-v2__arrow {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s ease;
  color: var(--color-accent, #2f70ff);
}

.ind-v2__card:hover .ind-v2__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ind-v2 {
    padding: clamp(48px, 6vw, 72px) 0;
  }

  .ind-v2__track {
    gap: 12px;
    animation-duration: 30s;
  }

  .ind-v2__card {
    padding: 14px 20px;
    border-radius: 12px;
  }

  .ind-v2__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .ind-v2__icon img {
    width: 18px;
    height: 18px;
  }

  .ind-v2__name {
    font-size: 14px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .ind-v2__track {
    animation: none;
  }

  .ind-v2__card {
    transition: none;
  }
}
