/* inventory-manufacturing */
@import url(https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);

:root {
  --primary: #2e36fd;
  --secondary: #f18911;
  --dark: #202e54;
  --pl: #eef0ff;
  --sl: #fff5e8;
  --g50: #f8f9fc;
  --g100: #f0f2f8;
  --g200: #e2e6f3;
  --g600: #6b7a99;
  --g800: #2d3748;
  --w: #fff;
  --rsm: 8px;
  --rmd: 14px;
  --rlg: 20px;
  --rxl: 28px;
  --smd: 0 8px 32px rgba(46, 54, 253, .12);
}

*,
* ::before,
* ::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--w);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
}




/* hero visual — inventory dashboard */
.inv-dash {
  background: linear-gradient(132deg, #1a1a58, #010a22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: var(--rlg);
  padding: 26px 22px;
  box-shadow: 0 -20px 80px rgba(92, 59, 255, 0.25);
}

.id-t {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  margin-bottom: 14px;
}

.sku-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--rmd);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 6px;
  transition: all .3s;
}

.sku-row:hover {
  background: rgba(34, 197, 94, .1);
  border-color: rgba(34, 197, 94, .3);
}

.sr-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--rsm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

.sr-name {
  flex: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .77rem;
  color: #fff;
}

.sr-sub {
  font-size: .62rem;
  color: rgba(255, 255, 255, .38);
}

.sr-val {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .82rem;
  color: #86efac;
}

.sr-st {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: .64rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 50px;
}

.st-ok {
  background: rgba(34, 197, 94, .12);
  color: #6dfa8c;
  border: 1px solid rgba(34, 197, 94, .2);
}

.st-low {
  background: rgba(239, 68, 68, .1);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, .2);
}

.st-mov {
  background: rgba(241, 137, 17, .12);
  color: #fcd34d;
  border: 1px solid rgba(241, 137, 17, .2);
}

.inv-stats {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rmd);
  overflow: hidden;
  margin-top: 10px;
}

.is-i {
  flex: 1;
  padding: 13px 10px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.is-i:last-child {
  border-right: none;
}

.is-n {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1;
}

.is-l {
  font-size: .63rem;
  color: rgba(255, 255, 255, .42);
  margin-top: 3px;
}

/* manufacturing dark */
.mfg-section {
  background: var(--dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.mfg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(34, 197, 94, .1) 0%, transparent 60%), radial-gradient(ellipse at 20% 70%, rgba(46, 54, 253, .12) 0%, transparent 60%);
}

.mfg-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--rlg);
  padding: 24px;
  transition: all .3s;
  height: 100%;
}

.mfg-cta {
  font-size: .76rem;
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  line-height: 1.4;
}

.mfg-card:hover {
  background: rgba(34, 197, 94, .08);
  border-color: rgba(34, 197, 94, .3);
  transform: translateY(-4px);
}

.mfg-card .mi {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.mfg-card h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  margin-bottom: 8px;
}

.mfg-card .mt {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #86efac;
  margin-bottom: 9px;
}

.mfg-card p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.65;
  margin-bottom: 10px;
}

.mfl {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mfl li {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.mfl li i {
  color: #86efac;
  margin-top: 2px;
  flex-shrink: 0;
}

/* production flow visual */
.flow-section {
  background: var(--g50);
}

.pf-node {
  background: var(--w);
  border: 1.5px solid var(--g200);
  border-radius: var(--rlg);
  padding: 20px;
  text-align: center;
  transition: all .3s;
  height: 100%;
}

.pf-node:hover {
  border-color: #22c55e;
  box-shadow: 0 4px 20px rgba(34, 197, 94, .12);
  transform: translateY(-3px);
}

.pf-node .pn-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.pf-node h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.pf-node p {
  font-size: .68rem;
  color: var(--g600);
  margin: 0;
}

.pf-arr {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 1.2rem;
  /* margin-top: 36px; */
}


/* BOM visual */
.bom-section {
  background: var(--dark);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.bom-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(46, 54, 253, .14) 0%, transparent 60%), radial-gradient(ellipse at 80% 30%, rgba(241, 137, 17, .08) 0%, transparent 60%);
}

.bom-node {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rmd);
  padding: 14px;
  text-align: center;
  transition: all .3s;
  height: 100%;
}

.bom-node:hover {
  background: rgba(46, 54, 253, .2);
  border-color: rgba(46, 54, 253, .45);
}

.bom-node .bn-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.bom-node .bn-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  color: #fff;
  line-height: 1.3;
}

.bom-node .bn-qty {
  font-size: .68rem;
  color: rgba(255, 255, 255, .45);
}

.bom-parent {
  background: linear-gradient(135deg, var(--primary), #1a23e8);
  border-radius: var(--rlg);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.bom-parent h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.bom-parent p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  margin: 0;
}

/* ai insights */
.ai-section {
  background: var(--g50);
}

.ai-card {
  height: 110px;
  background: var(--w);
  border: .5px solid var(--g200);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: all .3s;
  margin-bottom: 20px;
}

.ai-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(34, 197, 94, .1);
}

.ac-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--rsm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ai-card h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.ai-card p {
  font-size: .8rem;
  color: var(--g600);
  margin: 0;
  line-height: 1.5;
}