/* =========================================================
   ITSC — shared components for service / solution / industry pages
   (extends itsc-home.css + itsc-service.css)
   ========================================================= */

/* ---------- Hero visual A: live ops console ---------- */
.px-console { position: relative; width: 100%; max-width: 540px; margin-left: auto; }
.pxc-win { position: relative; border-radius: 26px; background: linear-gradient(165deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .025)); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .08); overflow: hidden; }
.pxc-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .03); }
.pxc-bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.pxc-bar > i:nth-child(2) { background: #febc2e; }
.pxc-bar > i:nth-child(3) { background: #28c840; }
.pxc-bar strong { margin-left: 8px; font-size: 13.5px; font-weight: 700; color: rgba(255, 255, 255, .85); letter-spacing: .02em; }
.pxc-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: #4ade80; padding: 5px 10px; border-radius: 100px; background: rgba(74, 222, 128, .1); }
.pxc-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px 18px 6px; }
.pxc-kpi { padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.pxc-kpi strong { display: block; font-family: var(--f-head); font-size: 24px; line-height: 1.1; color: #fff; }
.pxc-kpi small { font-size: 11.5px; color: rgba(255, 255, 255, .55); font-weight: 600; }
.pxc-kpi:nth-child(1) strong { color: #7dd3fc; }
.pxc-kpi:nth-child(2) strong { color: #4ade80; }
.pxc-kpi:nth-child(3) strong { color: var(--yellow); }
.pxc-feed { list-style: none; margin: 0; padding: 12px 18px 18px; display: grid; gap: 8px; height: 318px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.pxc-feed li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82); font-size: 13.5px; animation: pxcIn .7s var(--ease) both; }
.pxc-feed li > i { flex: 0 0 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: var(--c); background: color-mix(in srgb, var(--c) 16%, transparent); }
.pxc-feed li span { flex: 1; min-width: 0; line-height: 1.35; }
.pxc-feed li span small { display: block; font-size: 11px; color: rgba(255, 255, 255, .45); }
.pxc-feed li b { flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 5px 9px; border-radius: 100px; color: #ffcc00; background: rgba(255, 204, 0, .12); transition: all .4s; white-space: nowrap; }
.pxc-feed li.done b { color: #4ade80; background: rgba(74, 222, 128, .12); }
@keyframes pxcIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.px-console .glass-card { position: absolute; z-index: 2; animation: bob 6s ease-in-out infinite; }
.px-console .glass-card.k1 { bottom: 64px; left: -58px; }
.px-console .glass-card.k2 { bottom: -22px; right: 24px; animation-delay: -3s; }

/* ---------- Hero visual B: orbit ---------- */
.px-orbit { --n: 6; position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; }
.pxo-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); }
.pxo-ring.r1 { inset: 4%; animation: spin 60s linear infinite; }
.pxo-ring.r2 { inset: 20%; border-style: solid; border-color: rgba(255, 255, 255, .08); animation: spin 40s linear infinite reverse; }
.pxo-ring.r3 { inset: 34%; border-color: rgba(255, 255, 255, .18); }
.pxo-ring.r1::after, .pxo-ring.r2::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px var(--yellow); }
.pxo-ring.r2::after { background: var(--blue); box-shadow: 0 0 16px var(--blue); top: auto; bottom: -5px; }
.pxo-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pxo-svg line { stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.pxo-svg line.on { stroke: url(#pxoGrad); stroke-width: 2.5; stroke-dasharray: 6 8; animation: dashFlow 1s linear infinite; }
.pxo-core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #1f2a50, #0b1020 70%); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 0 0 10px rgba(255, 255, 255, .03), 0 0 60px rgba(0, 159, 227, .35); z-index: 2; }
.pxo-core::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; background: conic-gradient(var(--blue), var(--green), var(--yellow), var(--red), var(--blue)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); animation: spin 6s linear infinite; }
.pxo-core img { width: 58%; background: #fff; border-radius: 22%; padding: 8%; }
.pxo-core > i { font-size: 54px; color: #fff; }
.pxo-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 3; }
.pxo-node > i { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: rgba(255, 255, 255, .75); background: rgba(14, 20, 40, .9); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px); transition: all .5s var(--ease); }
.pxo-node span { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; padding: 4px 10px; border-radius: 100px; background: rgba(11, 16, 32, .7); border: 1px solid rgba(255, 255, 255, .08); transition: all .5s var(--ease); }
.pxo-node.on > i { background: var(--c); color: #0b1020; border-color: var(--c); transform: scale(1.12); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent), 0 0 34px color-mix(in srgb, var(--c) 70%, transparent); }
.pxo-node.on span { color: #fff; border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.px-orbit .glass-card { position: absolute; z-index: 4; animation: bob 6s ease-in-out infinite; }
.px-orbit .glass-card.k1 { top: 2%; left: -4%; }
.px-orbit .glass-card.k2 { bottom: 2%; right: -6%; animation-delay: -3s; }

/* ---------- Capability explorer ---------- */
.px-explorer { display: grid; grid-template-columns: 380px 1fr; gap: 22px; }
.pxe-tabs { display: grid; gap: 8px; align-content: start; }
.pxe-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; overflow: hidden; transition: all .4s var(--ease); }
.pxe-tab > i { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); transition: all .4s var(--ease); }
.pxe-tab strong { flex: 1; font-family: var(--f-head); font-size: 16px; font-weight: 700; line-height: 1.3; }
.pxe-tab b { font-size: 12px; font-weight: 800; color: var(--muted); }
.pxe-tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--c); }
.pxe-tab:hover { border-color: color-mix(in srgb, var(--c) 40%, var(--line)); transform: translateX(4px); }
.pxe-tab.active { border-color: transparent; background: var(--ink); color: #fff; box-shadow: 0 20px 40px -24px rgba(11, 16, 32, .7); transform: translateX(8px); }
.pxe-tab.active > i { background: var(--c); color: #fff; }
.pxe-tab.active b { color: var(--yellow); }
.pxe-tab.active.run::after { animation: pxeRun var(--dur, 6s) linear forwards; }
@keyframes pxeRun { to { width: 100%; } }
.pxe-panel { --c: var(--blue); position: relative; border-radius: 30px; padding: 46px; background: #fff; border: 1px solid var(--line); overflow: hidden; isolation: isolate; box-shadow: var(--shadow); min-height: 100%; display: flex; flex-direction: column; }
.pxe-panel::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -160px; border-radius: 50%; background: var(--c); opacity: .12; filter: blur(30px); z-index: -1; transition: background .6s; }
.pxe-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(color-mix(in srgb, var(--c) 30%, transparent) 1.2px, transparent 1.5px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(circle at 100% 0%, #000, transparent 55%); mask-image: radial-gradient(circle at 100% 0%, #000, transparent 55%); opacity: .6; }
.pxe-big { position: absolute; right: 40px; top: 34px; font-size: 130px; color: var(--c); opacity: .12; transition: color .6s; line-height: 1; }
.pxe-panel small { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.pxe-panel h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 12px 0 14px; max-width: 80%; }
.pxe-panel > p { font-size: 17px; max-width: min(640px, 76%); }
.pxe-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pxe-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.45; }
.pxe-list li i { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: #fff; background: var(--c); margin-top: 1px; }
.pxe-panel.swap h3, .pxe-panel.swap > p, .pxe-panel.swap .pxe-list li, .pxe-panel.swap .pxe-big { animation: fadeUp .6s var(--ease) both; }
.pxe-panel.swap .pxe-list li:nth-child(2) { animation-delay: .05s; }
.pxe-panel.swap .pxe-list li:nth-child(3) { animation-delay: .1s; }
.pxe-panel.swap .pxe-list li:nth-child(4) { animation-delay: .15s; }
.pxe-cta { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pxe-cta span { font-size: 14px; color: var(--muted); }

/* ---------- Process timeline (dark) ---------- */
.px-dark { position: relative; background: var(--ink); color: rgba(255, 255, 255, .7); overflow: hidden; isolation: isolate; }
.px-dark .sec-head h2 { color: #fff; }
.px-dark-bg { position: absolute; inset: 0; z-index: -1; 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: 60px 60px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 30%, #000 15%, transparent 70%); }
.px-dark-bg::before, .px-dark-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(120px); }
.px-dark-bg::before { width: 480px; height: 480px; background: var(--blue); opacity: .3; left: -160px; top: -120px; }
.px-dark-bg::after { width: 420px; height: 420px; background: var(--red); opacity: .18; right: -140px; bottom: -160px; }
.px-steps { --k: 4; position: relative; display: grid; grid-template-columns: repeat(var(--k), 1fr); gap: 20px; padding-top: 34px; }
.px-steps-line { position: absolute; left: 30px; right: 30px; top: 61px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.px-steps-line span { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow), var(--red)); box-shadow: 0 0 16px rgba(0, 159, 227, .7); transition: width .25s linear; }
.px-step { position: relative; padding: 0 4px; }
.px-step-dot { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: rgba(255, 255, 255, .6); background: #121a33; border: 1px solid rgba(255, 255, 255, .14); margin-bottom: 24px; transition: all .6s var(--ease); }
.px-step.on .px-step-dot { color: #0b1020; background: var(--c); border-color: var(--c); box-shadow: 0 0 0 7px color-mix(in srgb, var(--c) 18%, transparent), 0 0 34px color-mix(in srgb, var(--c) 60%, transparent); }
.px-step-card { padding: 24px 22px; border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: all .6s var(--ease); min-height: calc(100% - 82px); }
.px-step.on .px-step-card { background: rgba(255, 255, 255, .07); border-color: color-mix(in srgb, var(--c) 40%, transparent); transform: translateY(-4px); }
.px-step-card b { font-family: var(--f-head); font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--c); }
.px-step-card h4 { color: #fff; font-size: 19px; margin: 8px 0 8px; }
.px-step-card p { font-size: 14.5px; margin: 0; }

/* ---------- Challenge → solution (dark, industries) ---------- */
.px-cx { display: grid; gap: 14px; max-width: 1100px; margin: 0 auto; }
.px-cx-head { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0; padding: 0 6px 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.px-cx-head span:first-child { color: #ff8a8a; }
.px-cx-head span:last-child { color: #4ade80; grid-column: 3; }
.px-cx-row { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
.px-cx-row > .px-cx-pain, .px-cx-row > .px-cx-fix { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .035); transition: all .5s var(--ease); }
.px-cx-pain > i, .px-cx-fix > i { flex: 0 0 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; }
.px-cx-pain i { color: #ff8a8a; background: rgba(255, 107, 107, .12); }
.px-cx-fix i { color: #4ade80; background: rgba(74, 222, 128, .12); }
.px-cx-row strong { display: block; color: #fff; font-family: var(--f-head); font-size: 17px; margin-bottom: 4px; }
.px-cx-row p { font-size: 14.5px; margin: 0; }
.px-cx-arrow { display: grid; place-items: center; position: relative; }
.px-cx-arrow::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }
.px-cx-arrow i { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: #0b1020; background: var(--yellow); transition: transform .5s var(--ease); }
.px-cx-row:hover .px-cx-fix { background: rgba(74, 222, 128, .08); border-color: rgba(74, 222, 128, .35); transform: translateX(6px); }
.px-cx-row:hover .px-cx-pain { opacity: .65; }
.px-cx-row:hover .px-cx-arrow i { transform: translateX(6px) scale(1.1); }

/* ---------- Technology marquee + stats ---------- */
.px-tech { display: grid; gap: 14px; margin-top: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); overflow: hidden; }
.px-tech-row { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.px-tech-row.rev { animation-direction: reverse; animation-duration: 46s; }
.px-tech:hover .px-tech-row { animation-play-state: paused; }
.px-tech-row span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 100px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--ink); font-size: 15px; white-space: nowrap; box-shadow: 0 10px 24px -20px rgba(11, 16, 32, .4); }
.px-tech-row span i { font-size: 20px; color: var(--c, var(--blue)); }
.px-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.px-stat { position: relative; padding: 28px 26px; border-radius: 24px; background: var(--ink); color: rgba(255, 255, 255, .6); overflow: hidden; }
.px-stat::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: var(--c); opacity: .35; filter: blur(40px); }
.px-stat strong { position: relative; display: block; font-family: var(--f-head); font-size: clamp(32px, 3.2vw, 44px); line-height: 1; color: #fff; margin-bottom: 8px; }
.px-stat > span { position: relative; font-size: 14px; font-weight: 600; }

/* ---------- FAQ ---------- */
.px-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.px-faq-side { position: sticky; top: 120px; }
.px-faq-card { margin-top: 30px; padding: 26px; border-radius: 24px; background: var(--ink); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; }
.px-faq-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; bottom: -100px; border-radius: 50%; background: var(--blue); filter: blur(60px); opacity: .45; }
.px-faq-card > * { position: relative; }
.px-faq-card strong { display: block; font-family: var(--f-head); font-size: 20px; color: #fff; margin-bottom: 6px; }
.px-faq-card p { font-size: 14.5px; margin-bottom: 18px; }
.px-faq-card .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.px-faq-card .btn { padding: 12px 18px; }
.px-acc { display: grid; gap: 12px; }
.px-q { border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.px-q.open { border-color: color-mix(in srgb, var(--blue) 35%, var(--line)); box-shadow: 0 20px 40px -30px rgba(0, 159, 227, .6); }
.px-q button { display: flex; width: 100%; align-items: center; gap: 16px; padding: 22px 24px; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.px-q button strong { flex: 1; font-family: var(--f-head); font-size: 17px; line-height: 1.4; }
.px-q button i { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--bg-soft); color: var(--ink); transition: all .4s var(--ease); }
.px-q.open button i { transform: rotate(45deg); background: var(--blue); color: #fff; }
.px-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.px-q.open .px-a { grid-template-rows: 1fr; }
.px-a > div { overflow: hidden; min-height: 0; }
.px-a p { padding: 0 24px 22px 24px; margin: 0; font-size: 15.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .px-explorer { grid-template-columns: 1fr; }
    .pxe-tabs { grid-template-columns: repeat(3, 1fr); }
    .pxe-tab.active { transform: none; }
    .px-steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .px-steps-line { display: none; }
    .px-stats { grid-template-columns: repeat(2, 1fr); }
    .px-console .glass-card.k1 { left: -10px; }
}
@media (max-width: 991px) {
    .px-console, .px-orbit { margin: 20px auto 0; }
    .px-faq { grid-template-columns: 1fr; gap: 36px; }
    .px-faq-side { position: static; }
    .px-cx-head { display: none; }
    .px-cx-row { grid-template-columns: 1fr; gap: 0; }
    .px-cx-arrow { height: 34px; }
    .px-cx-arrow::before { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px); }
    .px-cx-arrow i { transform: rotate(90deg); }
    .px-cx-row:hover .px-cx-arrow i { transform: rotate(90deg) translateX(4px); }
}
@media (max-width: 767px) {
    .pxe-tabs { grid-template-columns: 1fr 1fr; }
    .pxe-tab { padding: 12px; gap: 10px; }
    .pxe-tab > i { flex-basis: 36px; height: 36px; font-size: 19px; border-radius: 11px; }
    .pxe-tab strong { font-size: 14px; }
    .pxe-tab b { display: none; }
    .pxe-panel { padding: 30px 22px; border-radius: 24px; }
    .pxe-big { font-size: 80px; right: 18px; top: 18px; }
    .pxe-panel h3 { max-width: 75%; }
    .pxe-panel > p { max-width: none; font-size: 15.5px; }
    .pxe-list { grid-template-columns: 1fr; }
    .px-steps { grid-template-columns: 1fr; }
    .px-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .px-stat { padding: 22px 18px; }
    .pxc-kpis { gap: 6px; padding: 12px 12px 4px; }
    .pxc-kpi { padding: 10px; }
    .pxc-kpi strong { font-size: 18px; }
    .pxc-feed { padding: 10px 12px 14px; height: 286px; }
    .pxc-feed li { font-size: 12.5px; padding: 9px 10px; }
    .px-console .glass-card, .px-orbit .glass-card { display: none; }
    .pxo-node > i { width: 44px; height: 44px; font-size: 20px; border-radius: 14px; }
    .pxo-node span { font-size: 11px; padding: 3px 8px; }
    .px-q button { padding: 18px; }
    .px-a p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .pxo-ring, .pxo-core::before, .px-tech-row, .px-console .glass-card, .px-orbit .glass-card { animation: none; }
}
