.ni-expertise-showcase {
  position: relative;
  overflow: hidden;
  padding: 78px 0 90px;
  background:
    radial-gradient(circle at 50% 14%, rgba(66, 78, 145, 0.10), transparent 28%),
    radial-gradient(circle at 50% 72%, rgba(235, 75, 63, 0.045), transparent 18%),
    linear-gradient(180deg, #05070d 0%, #06080f 54%, #080b14 100%);
  color: #eef2f8;
}
.ni-expertise-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(18, 28, 60, 0.18), transparent 42%);
  pointer-events: none;
}
.ni-expertise-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.ni-expertise-header {
  margin-bottom: 28px;
  max-width: 1040px;
  position: relative;
  z-index: 3;
}
.ni-expertise-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.30em;
  color: #19b5f1;
  margin-bottom: 12px;
}
.ni-expertise-title {
  font-size: clamp(24px, 2.15vw, 38px);
  line-height: 1.14;
  margin: 0;
  max-width: 1060px;
  color: #eef2f8;
  text-wrap: balance;
}
.ni-expertise-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.84fr 0.9fr;
  gap: 34px;
  align-items: center;
  z-index: 2;
}
.ni-expertise-bgword {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  font-size: clamp(100px, 18vw, 250px);
  line-height: 0.84;
  font-weight: 800;
  letter-spacing: -0.065em;
  color: rgba(255,255,255,0.022);
  -webkit-text-stroke: 1px rgba(14, 19, 34, 0.82);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  transition: opacity .4s ease, transform .4s ease;
  z-index: 1;
  text-transform: uppercase;
  text-shadow: 0 0 1px rgba(0,0,0,0.35);
}
.ni-expertise-left,.ni-expertise-center,.ni-expertise-right { position: relative; z-index: 3; }
.ni-expertise-list { display: grid; gap: 12px; margin-top: 2px; }
.ni-skill-item {
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.018));
  color: rgba(236,241,248,0.86);
  padding: 15px 18px;
  text-align: left;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.ni-skill-item:hover,
.ni-skill-item.active {
  transform: translateY(-1px);
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03));
  border-color: rgba(25,181,241,0.26);
  box-shadow: 0 12px 28px rgba(0,0,0,0.16), 0 0 0 1px rgba(25,181,241,0.05) inset;
}
.ni-expertise-center { display: flex; justify-content: center; }
.ni-cube-stage {
  width: min(380px, 100%);
  height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}
.ni-cube-wrap {
  width: 250px;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
}
.ni-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-18deg) rotateY(-30deg);
  transition: transform 0.9s cubic-bezier(.22,.61,.36,1);
}
.ni-cube-face {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 45px;
  top: 45px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.085);
  box-shadow: 0 20px 38px rgba(0,0,0,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.ni-cube-face img { max-width: 76%; max-height: 76%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.14)); }
.ni-cube-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  min-height: 72px;
  border-radius: 18px;
  padding: 12px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.ni-front  { transform: translateZ(80px); }
.ni-back   { transform: rotateY(180deg) translateZ(80px); }
.ni-right  { transform: rotateY(90deg) translateZ(80px); }
.ni-left   { transform: rotateY(-90deg) translateZ(80px); }
.ni-top    { transform: rotateX(90deg) translateZ(80px); }
.ni-bottom { transform: rotateX(-90deg) translateZ(80px); }
.ni-stage-glow {
  position: absolute;
  bottom: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235,75,63,0.18), rgba(25,181,241,0.06), transparent 72%);
  filter: blur(22px);
}
.ni-detail-card {
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 42px rgba(0,0,0,0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.ni-detail-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em; color: #19b5f1; margin-bottom: 12px; }
.ni-detail-heading { margin: 0 0 12px; font-size: clamp(24px, 2vw, 34px); line-height: 1.06; color: #f4f7fb; }
.ni-detail-text { margin: 0 0 18px; color: rgba(235,241,248,0.78); font-size: 15px; line-height: 1.78; }
.ni-detail-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ni-detail-tags span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07); font-size: 13px; color: rgba(245,247,251,0.9); }
@media (max-width: 1100px) {
  .ni-expertise-header { margin-bottom: 24px; }
  .ni-expertise-wrap { grid-template-columns: 1fr; gap: 28px; }
  .ni-cube-stage { height: 380px; margin: 0 auto; }
  .ni-detail-card { max-width: 760px; }
  .ni-expertise-bgword { top: 28%; font-size: clamp(70px, 16vw, 180px); }
}
@media (max-width: 767px) {
  .ni-expertise-showcase { padding: 62px 0 72px; }
  .ni-expertise-container { width: min(100% - 32px, 1280px); }
  .ni-expertise-title { font-size: clamp(22px, 7vw, 32px); line-height: 1.16; }
  .ni-cube-stage { height: 305px; }
  .ni-cube-wrap { width: 220px; height: 220px; }
  .ni-cube-face { width: 140px; height: 140px; left: 40px; top: 40px; border-radius: 18px; padding: 16px; }
  .ni-front  { transform: translateZ(70px); }
  .ni-back   { transform: rotateY(180deg) translateZ(70px); }
  .ni-right  { transform: rotateY(90deg) translateZ(70px); }
  .ni-left   { transform: rotateY(-90deg) translateZ(70px); }
  .ni-top    { transform: rotateX(90deg) translateZ(70px); }
  .ni-bottom { transform: rotateX(-90deg) translateZ(70px); }
  .ni-detail-card { padding: 24px; }
  .ni-expertise-bgword { top: 22%; }
}
