/* Industries: six panels in a row; the active one expands into a dark detail card. */

.inds2 { background: #fff; overflow: hidden; }
.inds2 .pr-head h2 span { color: #8A8A96; }

.ix-wrap { display: flex; gap: 12px; height: 580px; }
.ix { position: relative; flex: 0 0 76px; border-radius: 24px; overflow: hidden; background: #F5F5F9; border: 1px solid #ECECF2;
  transition: flex-grow .8s var(--ease), flex-basis .8s var(--ease), background-color .5s, border-color .5s, box-shadow .5s; }
.ix:hover:not(.is-on) { background: #EFEEFB; border-color: #DCD9FB; }
.ix.is-on { flex: 1 1 auto; background: #15151C; border-color: #15151C; box-shadow: 0 40px 80px -40px rgba(30,27,110,.6); }
.ix.is-on::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 100% 0%, rgba(108,99,255,.45), transparent 65%), radial-gradient(50% 60% at 0% 100%, rgba(59,130,246,.18), transparent 70%); }
.ix.is-on::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask: linear-gradient(200deg, #000, transparent 60%); mask: linear-gradient(200deg, #000, transparent 60%); }

/* Collapsed header: icon on top, title running up the panel */
.ix-head { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 24px 0 28px; border: 0; background: none; cursor: pointer; color: var(--ink); font: inherit; width: 100%; }
.ix-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--brand); border: 1px solid #E6E6EE; transition: background-color .4s, color .4s, border-color .4s; }
.ix-ic svg { width: 24px; height: 24px; }
.ix-t { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 18px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: opacity .3s; }
.ix.is-on .ix-head { pointer-events: none; inset: 0 auto auto 0; width: auto; padding: 32px 0 0 36px; }
.ix.is-on .ix-ic { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 10px 24px -10px rgba(91,79,240,.9); }
.ix.is-on .ix-t { opacity: 0; position: absolute; }

/* Expanded body */
.ix-body { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 104px 36px 36px; color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; min-width: 740px; }
.ix.is-on .ix-body { opacity: 1; visibility: visible; transition: opacity .6s .35s, visibility 0s; }
.ix-text h3 { color: #fff; font-size: clamp(28px, 2.8vw, 38px); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 8px; }
.ix-for { color: #A9A9BC; font-size: 16px; margin-bottom: 22px; }
.ix-text h4 { font-size: 12.5px; font-weight: 600; color: #8E8EA3; margin: 0 0 10px; letter-spacing: 0; }
.ix-pain { margin-bottom: 20px; display: grid; gap: 8px; }
.ix-pain li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #E4E4EE; line-height: 1.4; }
.ix-pain li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: rgba(229,72,77,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6.5 6.5l5 5M11.5 6.5l-5 5' fill='none' stroke='%23F08A8E' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ix-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ix-chips span { font-size: 13px; font-weight: 600; padding: 7px 11px; border-radius: 10px; background: rgba(139,133,255,.16); border: 1px solid rgba(139,133,255,.32); color: #E4E2FF; }
.ix.is-on .ix-text > * { animation: ixIn .6s var(--ease) both; }
.ix.is-on .ix-text > *:nth-child(2) { animation-delay: .45s; } .ix.is-on .ix-text > *:nth-child(n+3) { animation-delay: .55s; }
.ix.is-on .ix-text > *:first-child { animation-delay: .4s; }
@keyframes ixIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Product mock */
.ix-mock { display: grid; align-content: center; gap: 12px; }
.mk { background: #fff; color: var(--ink); border-radius: 18px; padding: 16px 18px; font-size: 13px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.6); }
.ix.is-on .mk { animation: mkIn .7s var(--ease) both .55s; }
.ix.is-on .mk.sm { animation-delay: .7s; width: 78%; justify-self: end; }
@keyframes mkIn { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.mk small { display: block; font-size: 11.5px; color: #7A7A88; }
.mk-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid #F0F0F5; }
.mk-h b { font-weight: 600; font-size: 14px; }
.mk-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; color: #1F8F57; }
.mk-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1FA463; animation: pdot 1.8s infinite; }
.mk-big { display: block; font-size: 28px; font-weight: 500; letter-spacing: -.04em; margin-top: 4px; }
.mk-big em { font-style: normal; font-size: 13px; letter-spacing: 0; color: #7A7A88; font-weight: 500; }
.mk-bar { height: 7px; border-radius: 7px; background: #F0F0F5; overflow: hidden; margin-top: 8px; }
.mk-bar i { display: block; height: 100%; width: var(--w); border-radius: 7px; background: linear-gradient(90deg, #5B4FF0, #3730C8); transform-origin: left; }
.ix.is-on .mk-bar i { animation: mkBar 1.2s var(--ease) both .8s; }
@keyframes mkBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mk-visit { display: flex; gap: 12px; align-items: center; padding: 10px 0 14px; }
.mk-visit b { display: block; font-weight: 600; }
.mk-av { width: 40px; height: 40px; border-radius: 50%; background: #F59E0B; color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; flex: none; }
.mk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mk-btns span { text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; background: #F4F4F8; }
.mk-btns .ok { background: #1FA463; color: #fff; }
.ix.is-on .mk-btns .ok { animation: tapOk 4s ease-in-out infinite 1.6s; }
@keyframes tapOk { 0%, 70%, 100% { transform: none; box-shadow: none; } 75% { transform: scale(.95); box-shadow: 0 0 0 5px rgba(31,164,99,.25); } }

.mk-line { display: grid; grid-template-columns: 52px 1fr 40px; align-items: center; gap: 10px; padding: 9px 0; }
.mk-line .mk-bar { margin: 0; }
.mk-line b { text-align: right; font-weight: 600; }
.mk-line.warn .mk-bar i { background: linear-gradient(90deg, #F5B547, #E8890C); }
.mk-line.warn b { color: #9A6200; }
.mk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 8px; }
.mk-msg { display: flex; align-items: center; gap: 12px; }
.mk-msg b { display: block; font-weight: 600; }
.mk-wa { width: 36px; height: 36px; border-radius: 10px; background: #22B35E url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a8 8 0 0 0-6.9 12L4 20l4.1-1.1A8 8 0 1 0 12 4z' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 22px no-repeat; flex: none; }
.mk-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid #F4F4F8; }
.mk-row:nth-child(2) { border-top: 0; }
.mk-row time { color: #7A7A88; font-variant-numeric: tabular-nums; width: 40px; }
.mk-row span { flex: 1; font-weight: 600; }
.mk-row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; background: #F4F4F8; color: #6B6B78; }
.mk-row em.g { background: #E7F6EE; color: #1F8F57; } .mk-row em.b { background: #EFEEFD; color: var(--brand); } .mk-row em.r { background: #FFF0EE; color: #B42336; }
.mk-row b { font-weight: 600; width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.mk-gauge svg { width: 70%; margin: 6px auto 0; display: block; }
.mk-gauge .mk-big { text-align: center; }
.gauge { stroke-dasharray: 100; stroke-dashoffset: 100; }
.ix.is-on .gauge { animation: gauge 1.6s var(--ease) forwards .8s; }
@keyframes gauge { to { stroke-dashoffset: 17.6; } }

/* Tablet: narrower collapsed panels, single column body */
@media (max-width: 1180px) {
  .ix { flex-basis: 68px; }
  .ix-body { grid-template-columns: 1fr; min-width: 0; padding: 100px 28px 28px; overflow-y: auto; }
  .ix-mock { display: none; }
}
/* Phone: stack as an accordion */
@media (max-width: 860px) {
  .ix-wrap { flex-direction: column; height: auto; gap: 10px; }
  .ix { flex: none; height: 76px; }
  .ix.is-on { height: auto; }
  .ix-head { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 14px 18px; }
  .ix-ic { width: 46px; height: 46px; }
  .ix-t { writing-mode: horizontal-tb; transform: none; font-size: 17px; }
  .ix.is-on .ix-head { padding: 22px 0 0 22px; }
  .ix-body { position: relative; padding: 84px 22px 24px; display: none; }
  .ix.is-on .ix-body { display: grid; }
  .ix-mock { display: grid; }
  .ix.is-on .mk.sm { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { .ix { transition: none; } }
