/* ═══════════════════════════════════════════════
   MUTEKI — Industries Section (Light Theme)
   ═══════════════════════════════════════════════ */

/* SECTION SHELL */
#industries {
  width: 100vw !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  background: #F8F8FF !important;
}

.ind {
  padding: 130px 0 140px;
  background: #F8F8FF;
  position: relative;
  overflow: hidden;
}

/* Ambient blobs */
.ind::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,79,232,.07) 0%, transparent 65%);
  pointer-events: none;
}
.ind::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.05) 0%, transparent 65%);
  pointer-events: none;
}

/* Dot grid */
.ind__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(91,79,232,.12) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.ind__wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* HEADER */
.ind__head {
  text-align: center;
  margin-bottom: 72px;
}

.ind__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5B4FE8;
  margin-bottom: 20px;
}
.ind__eyebrow::before,
.ind__eyebrow::after {
  content: '';
  width: 32px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(91,79,232,.5));
  border-radius: 2px;
}
.ind__eyebrow::after {
  background: linear-gradient(90deg, rgba(91,79,232,.5), transparent);
}

.ind__h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(30px, 3.8vw, 54px);
  font-weight: 900;
  color: #0F0F2D;
  letter-spacing: -2px;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ind__h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #5B4FE8 0%, #8B5CF6 50%, #7B72EE 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: indGradShift 5s ease-in-out infinite;
}
@keyframes indGradShift {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.ind__sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #6B7280;
  max-width: 520px;
  margin: 0 auto;
}

/* INDUSTRY GRID */
.ind__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

/* Card base */
.ind__card {
  position: relative;
  background: #fff;
  border: 1.5px solid #EEECFB;
  border-radius: 22px;
  padding: 36px 34px 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 2px 8px rgba(91,79,232,.04),
    0 8px 32px rgba(15,15,45,.05);
  transition:
    transform .32s cubic-bezier(.4,0,.2,1),
    border-color .3s,
    box-shadow .3s,
    background .3s;
}

.ind__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5B4FE8, #8B5CF6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-radius: 22px 22px 0 0;
}

.ind__card::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,79,232,.07) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}

.ind__card:hover {
  transform: translateY(-7px);
  border-color: rgba(91,79,232,.3);
  background: #FDFCFF;
  box-shadow:
    0 0 0 4px rgba(91,79,232,.06),
    0 24px 60px rgba(91,79,232,.12),
    0 8px 24px rgba(15,15,45,.08);
}
.ind__card:hover::before { transform: scaleX(1); }
.ind__card:hover::after  { opacity: 1; }

/* Icon wrapper */
.ind__icon-wrap {
  width: 56px; height: 56px;
  background: #EEF0FF;
  border: 1.5px solid rgba(91,79,232,.15);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: background .3s, border-color .3s, transform .3s, box-shadow .3s;
  position: relative;
  z-index: 1;
}
.ind__card:hover .ind__icon-wrap {
  background: rgba(91,79,232,.12);
  border-color: rgba(91,79,232,.4);
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 24px rgba(91,79,232,.2);
}
.ind__icon-wrap svg {
  width: 26px; height: 26px;
  transition: stroke .3s;
  stroke: #5B4FE8;
}
.ind__card:hover .ind__icon-wrap svg { stroke: #4338D4; }

/* Name */
.ind__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #0F0F2D;
  letter-spacing: -.3px;
  line-height: 1.2;
  margin-bottom: 10px;
  transition: color .25s;
  position: relative;
  z-index: 1;
}
.ind__card:hover .ind__name { color: #5B4FE8; }

/* Desc */
.ind__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.72;
  color: #9CA3AF;
  flex: 1;
  margin-bottom: 28px;
  transition: color .25s;
  position: relative;
  z-index: 1;
}
.ind__card:hover .ind__desc { color: #6B7280; }

/* Card images */
.ind__card-img-box {
  width: 100%;
  height: 140px;
  border-radius: 12px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}
.ind__card-img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.ind__card:hover .ind__card-img-box img {
  transform: scale(1.05);
}

.ind__feat-img-box {
  flex: 1;
  width: 100%;
  min-height: 180px;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.ind__feat-img-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.ind__card--feat:hover .ind__feat-img-box img {
  transform: scale(1.05);
}

/* Divider */
.ind__divider {
  width: 100%;
  height: 1px;
  background: #F0EEFF;
  margin-bottom: 20px;
  transition: background .25s;
}
.ind__card:hover .ind__divider { background: rgba(91,79,232,.18); }

/* Learn more */
.ind__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color .25s;
  position: relative;
  z-index: 1;
  width: fit-content;
}
.ind__card:hover .ind__link { color: #5B4FE8; }
.ind__link-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.ind__card:hover .ind__link-arrow { transform: translateX(6px); }
.ind__link-arrow svg { width: 14px; height: 14px; }

/* FEATURED CARD (spans 2 cols) */
.ind__card--feat {
  grid-column: span 2;
  flex-direction: row;
  align-items: stretch;
  gap: 40px;
  padding: 40px 44px;
  background: linear-gradient(135deg, #fff 60%, #F5F3FF 100%);
}

.ind__card--feat .ind__card-left {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 260px;
}
.ind__card--feat .ind__card-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Tag */
.ind__feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #5B4FE8;
  background: #EEF0FF;
  border: 1px solid rgba(91,79,232,.2);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 18px;
  width: fit-content;
}
.ind__feat-tag-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #8B5CF6;
  animation: indDotPulse 2s ease-in-out infinite;
}
@keyframes indDotPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(139,92,246,.5); }
  50%     { box-shadow: 0 0 0 4px rgba(139,92,246,0); }
}

/* Use case chips */
.ind__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}
.ind__chip {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #6B7280;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 4px 10px;
  transition: all .2s;
}
.ind__card:hover .ind__chip {
  color: #5B4FE8;
  background: #EEF0FF;
  border-color: rgba(91,79,232,.22);
}

/* Stat strip */
.ind__feat-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E5E7EB;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 0;
}
.ind__feat-stat {
  background: #F8F9FF;
  padding: 16px 18px;
  transition: background .25s;
}
.ind__card:hover .ind__feat-stat { background: #F0EEFF; }
.ind__feat-stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #5B4FE8, #8B5CF6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ind__feat-stat-lbl {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #9CA3AF;
  font-weight: 500;
}

/* BOTTOM CTA */
.ind__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ind__cta-note {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  color: #9CA3AF;
  letter-spacing: .3px;
}
.ind__cta-note strong { color: #6B7280; font-weight: 600; }

.ind__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #5B4FE8 0%, #8B5CF6 100%);
  border: none;
  border-radius: 14px;
  padding: 17px 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  box-shadow:
    0 2px 0 #3D32C4,
    0 10px 32px rgba(91,79,232,.3);
}
.ind__cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s;
}
.ind__cta-btn:hover::before { left: 100%; }
.ind__cta-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 0 #3D32C4,
    0 18px 44px rgba(91,79,232,.4);
}
.ind__cta-btn:active { transform: translateY(-1px); }
.ind__cta-btn svg { width: 16px; height: 16px; transition: transform .22s; }
.ind__cta-btn:hover svg { transform: translateX(4px); }

/* SCROLL REVEAL */
.ind-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.ind-reveal.is-vis { opacity: 1; transform: translateY(0); }
.ind-reveal-d1 { transition-delay: .06s; }
.ind-reveal-d2 { transition-delay: .12s; }
.ind-reveal-d3 { transition-delay: .18s; }
.ind-reveal-d4 { transition-delay: .24s; }
.ind-reveal-d5 { transition-delay: .30s; }
.ind-reveal-d6 { transition-delay: .36s; }
.ind-reveal-d7 { transition-delay: .42s; }
.ind-reveal-d8 { transition-delay: .48s; }
.ind-reveal-d9 { transition-delay: .54s; }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .ind__wrap { padding: 0 28px; }
  .ind__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ind__card--feat { grid-column: span 2; flex-direction: column; }
  .ind__card--feat .ind__card-left { max-width: 100%; }
}
@media (max-width: 640px) {
  .ind { padding: 80px 0 90px; }
  .ind__wrap { padding: 0 20px; }
  .ind__grid { grid-template-columns: 1fr; gap: 10px; }
  .ind__card--feat { grid-column: span 1; }
  .ind__head { margin-bottom: 48px; }
}
