/* SVEISA inner pages: Features & Hardware, Industries, Security, Contact */

/* ===== Product tour (Features hero) ===== */
.tour-wrap { margin-top: clamp(40px, 5vw, 70px); }
.tour-frame { position: relative; border-radius: 26px; padding: clamp(10px, 2.2vw, 30px); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 60px 140px -60px rgba(90, 40, 200, .45), inset 0 0 0 1px var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tour-frame .cms-hint { right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 44px); }
#tour { scroll-margin-top: 90px; }
.tour { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 520px; border-radius: 14px; overflow: hidden; background: #fff; color: #17171c; font-size: 13.5px; }
.tour-side { background: #f6f6f9; border-right: 1px solid #ebebf0; padding: 18px 12px; display: grid; align-content: start; gap: 14px; }
.tour-side img { height: 14px; width: auto; margin-left: 8px; }
.tour-side nav { display: grid; gap: 2px; }
.tour-side button { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; color: #55555f; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.tour-side button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tour-side button:hover { background: #eeeef3; }
.tour-side button[aria-selected="true"] { background: #7b09fc; color: #fff; }
.tour-side .hint { font-size: 11.5px; color: #8a8a96; padding: 0 10px; line-height: 1.4; }
.tour-main { padding: 20px 22px; min-width: 0; position: relative; }
.tview { display: none; animation: tin .45s var(--ease); }
.tview.on { display: grid; gap: 14px; align-content: start; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.t-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-head h3 { font-weight: 600; font-size: 16px; margin-right: auto; }
.t-in { border: 1px solid #e3e3ea; border-radius: 8px; padding: 7px 11px; font: inherit; font-size: 13px; min-width: 180px; color: #17171c; background: #fff; }
.t-in:focus { outline: none; border-color: #7b09fc; box-shadow: 0 0 0 3px rgba(123,9,252,.15); }
.t-btn { border: 0; background: #111; color: #fff; border-radius: 8px; padding: 7px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.t-btn.ghost { background: #fff; color: #17171c; border: 1px solid #e3e3ea; }
.t-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.t-chips button { border: 1px solid #e3e3ea; background: #fff; border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12.5px; cursor: pointer; color: #44444f; }
.t-chips button[aria-pressed="true"] { background: #17171c; border-color: #17171c; color: #fff; }
.t-table { border: 1px solid #ececf2; border-radius: 10px; overflow: hidden; }
.t-row { display: grid; grid-template-columns: 34px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .7fr) 90px; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid #f0f0f4; }
.t-row:last-child { border-bottom: 0; }
.t-row.head { background: #fafafc; font-size: 11.5px; color: #8a8a96; }
.t-row .th { width: 34px; height: 22px; border-radius: 4px; background-size: cover; background-position: center top; }
.t-row .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-row .tg { justify-self: start; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f1ecff; color: #5b12c7; }
.t-row .st { font-size: 12px; color: #55555f; white-space: nowrap; }
.t-row .st::before { content: "●"; color: #2bb673; margin-right: 6px; }
.t-row .st.off::before { color: #cfcfd8; }
.t-empty { padding: 26px; text-align: center; color: #8a8a96; }
.pl-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 16px; }
.pl-list { display: grid; gap: 8px; align-content: start; }
.pl-item { display: grid; grid-template-columns: 18px 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid #ececf2; border-radius: 10px; background: #fff; cursor: grab; user-select: none; transition: box-shadow .2s, transform .2s; }
.pl-item.drag { opacity: .5; }
.pl-item.over { box-shadow: 0 -2px 0 #7b09fc; }
.pl-item.now { border-color: #7b09fc; background: #f6f0ff; }
.pl-item .grip { color: #b5b5c0; font-size: 14px; letter-spacing: -2px; }
.pl-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; object-position: top; }
.pl-item b { font-weight: 500; font-size: 13px; }
.pl-item span { font-size: 11.5px; color: #8a8a96; font-family: var(--mono); }
.pl-prev { border-radius: 10px; background: #0b0b10; border: 8px solid #17171c; aspect-ratio: 9 / 16; max-width: 100%; position: relative; overflow: hidden; }
.pl-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .5s; }
.pl-prev .bar { position: absolute; left: 0; bottom: 0; height: 3px; background: #7b09fc; width: 0; }
.sch { display: grid; grid-template-columns: 50px repeat(7, minmax(0, 1fr)); border: 1px solid #ececf2; border-radius: 10px; overflow: hidden; font-size: 11.5px; }
.sch > div { border-right: 1px solid #f0f0f4; border-bottom: 1px solid #f0f0f4; min-height: 38px; position: relative; }
.sch .hdr { background: #fafafc; color: #8a8a96; display: grid; place-items: center; min-height: 30px; }
.sch .hr { color: #8a8a96; display: grid; place-items: start center; padding-top: 4px; }
.sch .blk { position: absolute; inset: 3px; border-radius: 6px; padding: 4px 6px; font-size: 11px; line-height: 1.2; cursor: pointer; overflow: hidden; border: 0; text-align: left; font-family: inherit; }
.sch .blk.b1 { background: #efe6ff; color: #4a0fa8; } .sch .blk.b2 { background: #e5f3ff; color: #0a4f7a; } .sch .blk.b3 { background: #fff1e0; color: #7a4a0a; }
.sch .blk:hover, .sch .blk.sel { outline: 2px solid #7b09fc; }
.sch-note { font-size: 12.5px; color: #55555f; min-height: 1.5em; }
.lay { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; }
.lay-opts { display: grid; gap: 8px; align-content: start; }
.lay-opts button { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; border: 1px solid #ececf2; background: #fff; border-radius: 10px; padding: 8px; cursor: pointer; font: inherit; font-size: 13px; text-align: left; }
.lay-opts button[aria-pressed="true"] { border-color: #7b09fc; background: #f6f0ff; }
.lay-opts i { display: grid; gap: 2px; width: 44px; height: 26px; }
.lay-opts i b { background: #cfc4f5; border-radius: 2px; }
.lay-scr { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 10px; border: 8px solid #17171c; background: #0b0b10; display: grid; gap: 3px; transition: all .5s var(--ease); overflow: hidden; position: relative; }
.lay-scr .z { background-size: cover; background-position: center top; position: relative; transition: all .5s var(--ease); min-height: 0; }
.lay-scr .z.app { background: linear-gradient(160deg, #1c1540, #0b0b12); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: clamp(16px, 2.2vw, 28px); }
.lay-scr .tick { position: absolute; left: 0; right: 0; bottom: 0; height: 12%; background: #0b0b12; color: #fff; font-size: 11px; display: flex; align-items: center; white-space: nowrap; overflow: hidden; border-top: 2px solid #7b09fc; }
.lay-scr .tick span { animation: tickr 14s linear infinite; padding-left: 100%; }
@keyframes tickr { to { transform: translateX(-100%); } }
.rep { display: grid; gap: 14px; }
.rep-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rep-kpis div { border: 1px solid #ececf2; border-radius: 10px; padding: 10px 12px; }
.rep-kpis span { display: block; font-size: 11.5px; color: #8a8a96; }
.rep-kpis b { font-size: 20px; font-weight: 600; }
.rep-chart { height: 180px; display: flex; align-items: flex-end; gap: 8px; padding: 10px; border: 1px solid #ececf2; border-radius: 10px; }
.rep-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: #cdbcff; height: 0; transition: height .8s var(--ease); position: relative; }
.rep-chart i:hover { background: #7b09fc; }
.rep-chart i::after { content: attr(data-v); position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translateX(-50%); font-size: 10.5px; color: #55555f; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.rep-chart i:hover::after { opacity: 1; }
.toast { position: absolute; right: 18px; bottom: 18px; background: #111; color: #fff; font-size: 12.5px; padding: 8px 12px; border-radius: 8px; opacity: 0; transform: translateY(6px); transition: all .3s; pointer-events: none; }
.toast.on { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .tour { grid-template-columns: 1fr; }
  .tour-side { grid-template-columns: 1fr; padding: 10px; border-right: 0; border-bottom: 1px solid #ebebf0; }
  .tour-side nav { display: flex; overflow-x: auto; gap: 4px; }
  .tour-side .hint, .tour-side img { display: none; }
  .pl-wrap, .lay { grid-template-columns: 1fr; }
  .pl-prev { max-width: 180px; }
  .t-row { grid-template-columns: 34px minmax(0, 1fr) 80px; } .t-row .pl, .t-row .tg { display: none; }
  .sch { font-size: 10px; } .sch .blk { font-size: 9.5px; padding: 2px 4px; }
}

/* ===== Feature row ===== */
.frow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.frow > div { display: grid; gap: 10px; align-content: start; }
@media (max-width: 1060px) { .frow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .frow { grid-template-columns: 1fr; } }

/* ===== Stacking cards ===== */
.stackcards { display: grid; gap: 28px; }
.scard { position: sticky; top: calc(96px + var(--i, 0) * 18px); min-height: 460px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(24px, 3.4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: #fff; box-shadow: 0 -30px 60px -40px rgba(60, 30, 140, .35); backdrop-filter: none; -webkit-backdrop-filter: none; }
.scard.violet { background: var(--grad); border-color: transparent; color: #fff; }
.scard.violet .body, .scard.violet .muted { color: #e6dcff; }
.scard.warm { background: var(--warm); color: #121218; border-color: transparent; }
.scard.warm .body, .scard.warm .muted { color: #4a4a58; }
.scard .copy { display: grid; gap: 14px; align-content: start; }
.scard .copy ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.scard .copy li { display: flex; gap: 10px; font-size: 14.5px; }
.scard .copy li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--glow-300); }
.scard.violet .copy li::before { background: #fff; }
.scard.warm .copy li::before { background: var(--violet-500); }
@media (max-width: 900px) { .scard { position: relative; top: 0; grid-template-columns: 1fr; min-height: 0; } }
.demo { border-radius: 18px; background: #f6f4fb; border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; min-width: 0; }
.scard.violet .demo { background: rgba(5,5,7,.35); border-color: rgba(255,255,255,.14); color: #fff; }
.scard.warm .demo { background: #fff; border-color: #e6e1f2; }
.mini-scr { aspect-ratio: 16 / 9; border-radius: 10px; background: #000; border: 6px solid #121217; position: relative; overflow: hidden; }
.mini-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: opacity .6s, filter .6s; }
.mini-scr .tick { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; display: flex; align-items: center; background: #0b0b12; border-top: 2px solid var(--violet-500); color: #fff; font-size: 12px; white-space: nowrap; overflow: hidden; }
.mini-scr .tick span { padding-left: 100%; animation: tickr 12s linear infinite; }
.mini-scr .exp { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(5,5,7,.8); font-family: var(--mono); font-size: 12px; opacity: 0; transition: opacity .5s; }
.mini-scr.expired .exp { opacity: 1; }
.tgl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.switch { width: 40px; height: 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); position: relative; cursor: pointer; transition: background .2s; flex: 0 0 auto; }
.switch i { position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch[aria-checked="true"] { background: #fff; border-color: #fff; }
.switch[aria-checked="true"] i { transform: translateX(16px); background: var(--violet-500); }
.demo input[type="text"] { width: 100%; font: inherit; font-size: 14px; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 9px 12px; }
.demo input[type="text"]:focus { outline: none; border-color: #fff; }
.dev { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dev .thumb { aspect-ratio: 16 / 10; border-radius: 6px; background-size: cover; background-position: center top; position: relative; overflow: hidden; transition: filter .4s; }
.dev .thumb.boot { background-image: none !important; background: #000; }
.dev .thumb.boot::after { content: ""; position: absolute; inset: 40% 30%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.dev .thumb.dim { filter: brightness(.2); }
@keyframes spin { to { transform: rotate(360deg); } }
.dev b { font-weight: 500; font-size: 14px; display: block; }
.dev small { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.dev .acts { display: flex; gap: 6px; }
.dev .acts button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); background: #fff; color: var(--fg); cursor: pointer; display: grid; place-items: center; transition: all .2s; }
.dev .acts button:hover { background: var(--violet-500); color: #fff; border-color: var(--violet-500); transform: translateY(-2px); }
.dev .acts svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.snap { border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); position: relative; aspect-ratio: 16 / 9; background: #000; display: none; }
.snap.on { display: block; animation: tin .4s; }
.snap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.snap span { position: absolute; left: 8px; top: 8px; font-family: var(--mono); font-size: 10.5px; background: rgba(0,0,0,.7); color: #fff; padding: 3px 7px; border-radius: 6px; }
.tagdemo .chips button { font-size: 13px; }
.scard.warm .chip { border-color: #d9d3ea; color: #4a4a58; }
.scard.warm .chip[aria-pressed="true"] { background: #17171c; color: #fff; border-color: #17171c; }
.dots { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.dots i { aspect-ratio: 16 / 10; border-radius: 5px; background: #e7e3f2; transition: all .35s var(--ease); position: relative; }
.dots i.on { background: var(--violet-500); box-shadow: 0 6px 18px -6px rgba(123,9,252,.7); transform: translateY(-2px); }
.dots i::after { content: attr(data-l); position: absolute; left: 3px; bottom: 1px; font-size: 8px; color: #8a8a96; }
.dots i.on::after { color: #fff; }
.tag-out { font-size: 14px; color: #4a4a58; }
.tag-out b { color: #121218; }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.apps button { aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line-2); background: #fff; color: var(--fg); display: grid; place-items: center; align-content: center; gap: 6px; font-size: 12px; cursor: pointer; transition: all .3s var(--ease); box-shadow: var(--shadow); }
.apps button b { font-size: 20px; font-family: var(--font-display); font-weight: 400; }
.apps button:hover, .apps button[aria-pressed="true"] { background: var(--violet-500); color: #fff; transform: translateY(-3px) rotate(-2deg); border-color: transparent; }
.app-prev { border-radius: 12px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); min-height: 64px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--muted); }
.app-prev b { color: var(--fg); font-family: var(--font-display); font-weight: 400; font-size: 22px; }
@media (max-width: 480px) { .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Hardware directory (Pluma integrations) ===== */
.hw-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 26px; }
.hw-search { position: relative; min-width: min(100%, 260px); }
.hw-search input { width: 100%; font: inherit; font-size: 14px; color: var(--fg); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px 10px 38px; }
.hw-search input:focus { outline: none; border-color: var(--glow-300); }
.hw-search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.hw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .hw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .hw-grid { grid-template-columns: 1fr; } }
.hw-card { padding: 22px; display: grid; gap: 12px; align-content: start; transition: transform .35s var(--ease), border-color .3s; }
.hw-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.hw-card .top { display: flex; justify-content: space-between; align-items: center; }
.hw-card .logo { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-family: var(--font-display); font-size: 17px; font-weight: 500; background: var(--fg); color: #fff; transition: transform .4s var(--ease); }
.hw-card:hover .logo { transform: rotate(-8deg) scale(1.08); }
.hw-card .logo.v { background: var(--grad); color: #fff; }
.hw-card h3 { font-size: 17px; font-weight: 500; }
.hw-card p { font-size: 14px; color: var(--muted); }
.hw-card[hidden] { display: none; }
.hw-empty { padding: 40px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; }

/* ===== Industries ===== */
.inav { position: sticky; top: 80px; z-index: 20; display: flex; justify-content: center; margin: 0 auto 10px; }
.inav div { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; max-width: calc(100vw - 32px); scrollbar-width: none; }
.inav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: all .25s; }
.inav a.on { background: var(--fg); color: #fff; }
.ind { padding-block: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.ind-hero { position: relative; border-radius: 24px; overflow: hidden; color: #fff; box-shadow: var(--shadow-lg); height: clamp(300px, 46vw, 560px); margin-bottom: clamp(40px, 5vw, 64px); }
.ind-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.ind-hero.in img { transform: scale(1); }
.ind-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,7,0) 45%, rgba(5,5,7,.85)); }
.ind-hero .cap { position: absolute; left: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); bottom: clamp(18px, 3vw, 32px); z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.ind-hero .cap h2 { font-family: var(--font-display); font-size: clamp(40px, 6vw, 84px); letter-spacing: -.05em; line-height: .95; }
.ind-hero.ph { background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px), linear-gradient(160deg, #1b1630, #0e0e12); border: 1px dashed var(--line-2); display: grid; place-items: center; }
.ind-hero.ph::after { display: none; }
.ind-hero.ph .need { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: center; }
.statement { max-width: 30ch; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.035em; line-height: 1.2; }
.ibento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.ibento > * { min-width: 0; }
.ib-stat { grid-column: span 4; display: grid; align-content: space-between; gap: 30px; min-height: 280px; }
.ib-stat .num { font-family: var(--font-display); font-size: clamp(56px, 6vw, 88px); letter-spacing: -.05em; line-height: .9; }
.ib-stat .src { font-size: 12px; opacity: .8; text-decoration: underline; text-underline-offset: 2px; width: fit-content; }
.ib-stat .src a { text-decoration: underline; text-underline-offset: 2px; }
.ib-img { grid-column: span 8; min-height: 280px; }
.ib-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ib-img.ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px), linear-gradient(160deg, #1b1630, #0e0e12); border-style: dashed; }
.ib-use { grid-column: span 4; display: grid; gap: 10px; align-content: start; }
.ib-day { grid-column: span 12; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.ib-feats { grid-column: span 12; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ib-stat2 { grid-column: span 4; }
@media (max-width: 900px) { .ib-stat, .ib-img, .ib-use, .ib-stat2 { grid-column: span 12; } .ib-day { grid-template-columns: 1fr; } }
.day-scr { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; border: 10px solid #121217; background: #000; position: relative; overflow: hidden; box-shadow: 0 40px 100px -50px rgba(123, 9, 252, .5); }
.day-scr > div { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; display: grid; place-items: center; }
.day-scr > div.on { opacity: 1; }
.day-scr img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.day-scr .gen { background: linear-gradient(160deg, #1c1540, #07070b); text-align: center; padding: 20px; align-content: center; gap: 6px; }
.day-scr .gen b { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 4vw, 52px); letter-spacing: -.03em; line-height: 1; }
.day-scr .gen span { color: var(--muted); font-size: 14px; }
.day-scr .gen.light { background: #f4f2f8; color: #121218; }
.day-scr .gen.light span { color: #55555f; }
.day-scr .alert { background: #b3121b; color: #fff; display: grid; align-content: center; gap: 8px; text-align: center; z-index: 3; }
.day-scr .alert b { font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 46px); font-weight: 500; letter-spacing: -.02em; }
.day-scr .alert.on { animation: flash 1s steps(2) infinite; }
@keyframes flash { 50% { background: #7a0a10; } }
.day-scr .clock { position: absolute; right: 10px; top: 10px; z-index: 4; font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; opacity: 1; display: block; place-items: unset; }
.day-ctl { display: grid; gap: 16px; }
.day-ctl .now { font-family: var(--font-display); font-size: 44px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.day-ctl .what { color: var(--muted); font-size: 15px; min-height: 1.5em; }
.day-ticks { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); font-family: var(--mono); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: var(--line-2); border-radius: 2px; outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--violet-500); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--violet-500); cursor: pointer; }
.btn-alert { background: #fff; border: 1px solid rgba(214, 40, 50, .4); color: #c8232c; }
.btn-alert[aria-pressed="true"] { background: #b3121b; color: #fff; border-color: #b3121b; }
.sources { font-size: 14px; color: var(--muted); display: grid; gap: 10px; }
.sources ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.sources b { color: var(--fg); font-weight: 500; }
.sources a { text-decoration: underline; text-underline-offset: 2px; }

/* ===== Security (changelog layout) ===== */
.log { display: grid; gap: 0; }
.log-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(20px, 4vw, 60px); padding-block: 36px; border-top: 1px solid var(--line); }
.log-item .when { position: sticky; top: 100px; align-self: start; display: grid; gap: 8px; }
.log-item .when .pill { width: fit-content; }
.log-item .when b { font-weight: 500; font-size: 15px; }
@media (max-width: 800px) { .log-item { grid-template-columns: 1fr; } .log-item .when { position: static; } }
.lcard { padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.lcard::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--violet-500), var(--glow-300), transparent); }
.lcard h3 { font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.lcard .widget { border-radius: 14px; background: rgba(246,244,251,.8); border: 1px solid var(--line); padding: 18px; display: grid; gap: 12px; }
.sso-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sso-btns button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; color: #111; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.sso-btns i { width: 16px; height: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
.sso-btns i b { display: block; }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.flow span { padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); transition: all .3s; }
.flow span.on { border-color: var(--violet-500); color: var(--violet-500); background: rgba(123,9,252,.08); }
.flow em { font-style: normal; color: var(--dim); }
.totp { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.totp .code { font-family: var(--font-display); font-size: 38px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.ring { width: 44px; height: 44px; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: var(--line-2); }
.ring .fg { stroke: var(--glow-300); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 160px; font: inherit; font-size: 15px; color: var(--fg); background: #fff; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-variant-numeric: tabular-nums; }
.inline-form input:focus { outline: none; border-color: var(--glow-300); }
.verdict { font-size: 14px; min-height: 1.5em; color: var(--muted); }
.verdict.ok { color: #148a4f; } .verdict.no { color: #c8232c; }
.allow { display: flex; flex-wrap: wrap; gap: 6px; }
.cipher { font-family: var(--mono); font-size: 14px; padding: 14px; border-radius: 10px; background: #12101c; border: 1px solid var(--line); word-break: break-all; min-height: 52px; color: #e8e2ff; }
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.cycle span { text-align: center; padding: 12px 6px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: all .4s; }
.cycle span.on { background: var(--grad); color: #fff; border-color: transparent; }
.logs { font-family: var(--mono); font-size: 12px; display: grid; gap: 6px; max-height: 190px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.logs div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; color: var(--muted); animation: tin .4s; }
.logs div b { color: var(--violet-500); font-weight: 500; }
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.roles button { padding: 10px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--muted); font: inherit; font-size: 13.5px; cursor: pointer; }
.roles button[aria-pressed="true"] { background: #fff; color: #0a0a0c; border-color: #fff; }
.perm { display: grid; gap: 6px; }
.perm div { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--line); animation: permin .45s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes permin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.perm div b { font-weight: 400; }
.perm span { white-space: nowrap; font-size: 13px; }
.perm .y, .rb-legend .y { color: #148a4f; } .perm .n, .rb-legend .n { color: #c8232c; } .perm .p, .rb-legend .p { color: #b36b00; }
.soc { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.soc .seal { width: 110px; height: 110px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-size: 18px; line-height: 1.1; box-shadow: 0 0 0 8px rgba(123,9,252,.15), 0 0 60px rgba(123,9,252,.4); }
@media (max-width: 480px) { .soc { grid-template-columns: 1fr; } .cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); } .roles { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.intents { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .intents { grid-template-columns: 1fr; } }
.intent { text-align: left; padding: 24px; display: grid; gap: 10px; cursor: pointer; font: inherit; color: inherit; transition: all .3s var(--ease); scroll-margin-top: 100px; }
.intent:hover { border-color: var(--line-2); transform: translateY(-2px); }
.intent[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: #fff; }
.intent[aria-pressed="true"] .ico-box { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.25); }
a.intent:hover { box-shadow: var(--shadow-lg); }
.intent[aria-pressed="true"] .body { color: #e6dcff; }
.intent .ico-box { margin-bottom: 8px; }
.cform { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 20px; margin-top: 20px; }
@media (max-width: 900px) { .cform { grid-template-columns: 1fr; } }
.cform .form { padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.frow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .frow2 { grid-template-columns: 1fr; } }
.cside { padding: clamp(22px, 3vw, 30px); display: grid; gap: 18px; align-content: start; }
.cside .line { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.cside .line span { font-size: 12px; font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cside .line b { font-weight: 400; font-size: 17px; user-select: all; }
.copy-btn { width: fit-content; font: inherit; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: none; color: var(--muted); cursor: pointer; }
.result { display: grid; gap: 12px; padding: 20px; border-radius: 16px; border: 1px solid rgba(172,137,255,.4); background: rgba(123,9,252,.08); }
.result pre { margin: 0; white-space: pre-wrap; font-family: var(--font-sans); font-size: 14px; color: var(--muted); background: #fff; padding: 14px; border-radius: 10px; max-height: 240px; overflow: auto; }
.result[hidden] { display: none; }
.brochure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); scroll-margin-top: 100px; }
@media (max-width: 860px) { .brochure { grid-template-columns: 1fr; } }
.bro-cover { position: relative; height: 300px; }
.bro-cover .pg { position: absolute; width: 58%; aspect-ratio: 16 / 9; border-radius: 10px; background: #0b0b10 center / cover; box-shadow: 0 30px 60px -20px rgba(40,20,100,.5); border: 1px solid var(--line-2); transition: transform .6s var(--ease); }
.bro-cover .p1 { left: 4%; top: 18%; transform: rotate(-8deg); background-image: url(../img/horizon-glow.jpg); }
.bro-cover .p2 { left: 22%; top: 8%; transform: rotate(3deg); background-image: url(../img/qsr-specials.jpg); }
.bro-cover .p3 { left: 40%; top: 26%; transform: rotate(10deg); background-image: url(../img/retail-mall.jpg); }
.brochure:hover .p1 { transform: rotate(-12deg) translateX(-14px); } .brochure:hover .p3 { transform: rotate(14deg) translateX(14px); }
.bro-cover .pg.p2::after { content: ""; position: absolute; inset: 0; -webkit-mask: url(../img/logo-white.png) center / 50% no-repeat; mask: url(../img/logo-white.png) center / 50% no-repeat; background: #fff; }

/* ===== Industries: 01/02/03 cards come alive on hover ===== */
.ib-use { transition: transform .5s var(--ease), box-shadow .5s var(--ease); isolation: isolate; }
.ib-use::after { content: attr(data-n); position: absolute; right: -6px; bottom: -28px; z-index: -1; font-family: var(--font-display); font-size: 140px; line-height: 1; letter-spacing: -.06em; color: rgba(123, 9, 252, .06); transform: translateX(30px); opacity: 0; transition: all .6s var(--ease); }
.ib-use:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ib-use:hover::after { transform: none; opacity: 1; }
.ib-use .ico-box { position: relative; overflow: hidden; font-family: var(--mono); font-size: 13px; transition: background .4s, color .4s, transform .5s var(--ease); }
.ib-use .ico-box > span, .ib-use .ico-box svg { transition: transform .45s var(--ease); }
.ib-use .ico-box svg { position: absolute; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: translateY(160%); }
.ib-use:hover .ico-box { background: var(--violet-500); color: #fff; border-color: transparent; transform: rotate(-8deg); }
.ib-use:hover .ico-box > span { transform: translateY(-160%); }
.ib-use:hover .ico-box svg { transform: none; }
.ib-use .u-line { display: block; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--violet-500), #5a8bff, #c04cff); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); margin: 2px 0; }
.ib-use:hover .u-line { transform: scaleX(1); }
.ib-use h3 { transition: transform .45s var(--ease), color .3s; }
.ib-use:hover h3 { transform: translateX(4px); color: var(--violet-500); }
.more-card .mc-img { height: 190px; overflow: hidden; }
.more-card .mc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.more-card { transition: transform .5s var(--ease), box-shadow .5s; }
.more-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.more-card:hover .mc-img img { transform: scale(1.06); }

/* ===== Security layer 5: team & roles ===== */
.rbac { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 760px) { .rbac { grid-template-columns: 1fr; } }
.rb-users { display: grid; gap: 6px; align-content: start; }
.rb-u { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 10px; align-items: center; text-align: left; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: all .25s var(--ease); }
.rb-u:hover { border-color: rgba(123, 9, 252, .4); transform: translateX(3px); }
.rb-u[aria-selected="true"] { border-color: var(--violet-500); box-shadow: 0 0 0 3px rgba(123, 9, 252, .12); }
.rb-u .av { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.rb-u .who { min-width: 0; display: grid; }
.rb-u .who b { font-weight: 500; font-size: 14px; }
.rb-u .who small { font-size: 11.5px; color: var(--muted); font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rb-u .tags { grid-column: 2; display: flex; gap: 4px; flex-wrap: wrap; }
.rb-u .tags .pill { font-size: 11px; padding: 2px 8px; }
.rb-perm { display: grid; gap: 8px; align-content: start; }
.rb-who { font-size: 14px; padding: 4px 2px; }
.rb-who b { font-weight: 500; }
.rb-who small { display: block; font-size: 12px; color: var(--muted); }
.rb-legend { display: flex; gap: 16px; flex-wrap: wrap; }

.hw-card .logo.img { width: 112px; height: 52px; background: #fff; border: 1px solid var(--line); padding: 8px 12px; }
.hw-card .logo.img { display: flex; align-items: center; justify-content: center; }
.hw-card .logo.img img { height: 34px; width: auto; max-width: 100%; object-fit: contain; }

/* ===== Features: four interactive mini demos ===== */
.fx { padding: 18px; display: grid; gap: 12px; align-content: start; background: #fff; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fx:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.fx .body { font-size: 14px; }
.fx-head { display: flex; align-items: center; gap: 10px; }
.fx-head .h3 { font-size: 17px; }
.fx:hover .ico-box { background: var(--violet-500); color: #fff; border-color: transparent; transform: rotate(-8deg); }
.fx .ico-box { transition: all .4s var(--ease); }
.fx-btn { font: inherit; font-size: 13px; font-weight: 500; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: all .25s var(--ease); justify-self: start; }
.fx-btn:hover { border-color: var(--violet-500); color: var(--violet-500); }
.fx-btn[aria-pressed="true"], .fx-btn.done { background: var(--fg); color: #fff; border-color: var(--fg); }
.fx-btn.sm { height: 30px; padding: 0 12px; }
.fx-scr { position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 4px #14121e; }
.fx-scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s; }
.fx-scr img.on { opacity: 1; }
.fx-net { position: absolute; left: 6px; top: 6px; z-index: 2; font: 10px var(--mono); padding: 3px 7px; border-radius: 999px; background: rgba(0,0,0,.65); color: #6ee7a8; }
.fx-off .fx-net { color: #ffc46b; }
.fx-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: #fff; z-index: 2; width: 0; }
#fx-off .sl { stroke-dasharray: 26; stroke-dashoffset: 26; transition: stroke-dashoffset .4s var(--ease); }
#fx-off.fx-off .sl { stroke-dashoffset: 0; }
#fx-off.fx-off .wf { opacity: .3; }
.fx-seg { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: rgba(28,20,60,.06); }
.fx-seg button { flex: 1; border: 0; background: none; font: inherit; font-size: 12.5px; padding: 6px 4px; border-radius: 8px; color: var(--muted); cursor: pointer; transition: all .2s; }
.fx-seg button[aria-pressed="true"] { background: #fff; color: var(--fg); box-shadow: 0 1px 3px rgba(28,20,60,.15); }
.fx-perm { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; min-height: 118px; }
.fx-perm li { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 6px 9px; border-radius: 8px; background: #f6f4fb; animation: permin .4s var(--ease) both; }
.fx-perm li b { font-weight: 400; } .fx-perm .y { color: #148a4f; } .fx-perm .n { color: #c8232c; }
.fx-design { aspect-ratio: 16 / 10; border-radius: 10px; background: var(--c); color: #fff; display: grid; align-content: center; justify-items: center; gap: 4px; text-align: center; padding: 10px; transition: background .4s, transform .5s var(--ease); box-shadow: 0 0 0 4px #14121e; position: relative; overflow: hidden; }
.fx-design::before { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.14); right: -30px; top: -40px; }
.fx-design b { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -.02em; outline: none; border-radius: 4px; padding: 0 4px; cursor: text; }
.fx-design b:focus { box-shadow: 0 0 0 1.5px rgba(255,255,255,.7); }
.fx-design span { font-size: 12px; opacity: .85; }
.fx-design.fly { animation: fly .9s var(--ease); }
@keyframes fly { 40% { transform: scale(.4) translate(60%, -40%); opacity: .2; } 41% { transform: scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
.fx-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fx-sw { display: flex; gap: 6px; }
.fx-sw button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1px var(--line-2); cursor: pointer; transition: transform .2s; }
.fx-sw button:hover { transform: scale(1.15); }
.fx-sw button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--violet-500); }
.fx-chart { position: relative; height: 128px; display: flex; align-items: flex-end; gap: 6px; padding-top: 26px; }
.fx-chart i { flex: 1; height: 0; border-radius: 5px 5px 2px 2px; background: #e4dcff; transition: height .9s var(--ease), background .2s; cursor: pointer; }
.fx-chart.in i { height: var(--h); }
.fx-chart i:hover { background: var(--violet-500); }
.fx-tip { position: absolute; left: 0; top: 0; font: 11px var(--mono); color: var(--violet-500); }
