/* Demo components carried over: assistant, website mock, showreel player. */
.ved__dots { display: flex; gap: 6px; } .ved__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
/* --- Visual: agent console --- */
.agent { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 18px; gap: 14px; font-size: 14px; }
.agent__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.agent__head .who { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.agent__head .who i { width: 26px; height: 26px; border-radius: 8px; background: conic-gradient(from 90deg, var(--violet), var(--accent), var(--violet)); }
.agent__status { font: 11px/1 var(--f-mono); color: var(--mint); display: flex; align-items: center; gap: 6px; letter-spacing: .06em; }
.agent__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(52,209,176,.15); }
.agent__body { flex: 1; display: flex; flex-direction: column; gap: 12px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; line-height: 1.45; }
.msg--user { align-self: flex-end; background: var(--text); color: var(--bg); border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--ai b { color: var(--accent); font-weight: 500; }
.steps { display: flex; flex-direction: column; gap: 7px; align-self: flex-start; width: 86%; }
.step { display: flex; align-items: center; gap: 10px; font: 12px/1.3 var(--f-mono); color: var(--muted); padding: 8px 10px; border: 1px dashed var(--line-2); border-radius: 9px; }
.step i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; position: relative; }
.step.run i { border-color: var(--violet); border-top-color: transparent; animation: spin .8s linear infinite; }
.step.done i { border-color: var(--mint); background: var(--mint); }
.step.done i::after { content: ""; position: absolute; left: 3.5px; top: 1px; width: 3px; height: 6px; border: solid #060a13; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.step.done { color: var(--text); border-style: solid; }
.step em { margin-left: auto; font-family: var(--f-mono); font-style: normal; color: var(--faint); font-size: 11px; }
@keyframes spin { to { transform: rotate(360deg); } }
.agent__input { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--faint); font-size: 13.5px; }
.agent__input span { flex: 1; }
.agent__input b { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); display: grid; place-items: center; color: var(--bg); }
.caret { display: inline-block; width: 2px; height: 1em; vertical-align: -2px; background: currentColor; margin-left: 2px; animation: blink 1s steps(2) infinite; }

/* ---------- Reel ---------- */
.reel { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 24px; overflow: hidden; background: #04070e; border: 1px solid var(--line-2); box-shadow: 0 70px 160px -50px rgba(47, 107, 255, .35), 0 40px 90px rgba(0, 0, 0, .65); }
.reel canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel__fx { cursor: pointer; }
.reel--mini { border-radius: 10px; border: 0; box-shadow: none; }
.reel--mini .reel__fx { cursor: default; }
.reel__top { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font: 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); pointer-events: none; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.reel__live { display: inline-flex; align-items: center; gap: 8px; }
.reel__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: blink 1.4s steps(2) infinite; }
.reel__count b { color: #fff; font-weight: 400; }
.reel__count em { font: inherit; font-style: normal; margin-left: 12px; color: #fff; letter-spacing: .1em; }
.reel__bar { position: absolute; left: 16px; right: 72px; bottom: 12px; z-index: 2; display: flex; gap: 6px; }
.reel__seg { height: 20px; display: flex; align-items: center; min-width: 0; }
.reel__seg i { display: block; width: 100%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; transition: height .3s; }
.reel__seg:hover i { height: 6px; }
.reel__seg i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel__toggle { position: absolute; right: 14px; bottom: 8px; z-index: 2; width: 40px; height: 28px; border-radius: 999px; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.reel__toggle svg { width: 14px; height: 14px; fill: #fff; }
.reel__toggle .i-play { display: none; }
.reel.is-paused .reel__toggle .i-play { display: block; }
.reel.is-paused .reel__toggle .i-pause { display: none; }
.reel.is-paused .reel__live i { animation: none; opacity: .4; }

.reelwrap { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 44px); align-items: center; }
.fmtlist { display: flex; flex-direction: column; border-top: 1px solid var(--line); counter-reset: f; }
.fmtlist button { position: relative; width: 100%; text-align: left; display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); transition: color .4s, padding .5s var(--ease); }
.fmtlist button .mono { color: var(--faint); transition: color .3s; }
.fmtlist button strong { font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); letter-spacing: -0.015em; display: block; }
.fmtlist button small { display: grid; grid-template-rows: 0fr; font-size: 14.5px; line-height: 1.45; color: var(--muted); transition: grid-template-rows .6s var(--ease), margin .6s var(--ease), opacity .4s; opacity: 0; }
.fmtlist button small > span { overflow: hidden; }
.fmtlist button svg { width: 13px; height: 13px; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); }
.fmtlist button:hover { color: var(--text); padding-left: 6px; }
.fmtlist button.is-on { color: var(--text); }
.fmtlist button.is-on .mono { color: var(--accent); }
.fmtlist button.is-on small { grid-template-rows: 1fr; margin-top: 6px; opacity: 1; }
.fmtlist button.is-on svg, .fmtlist button:hover svg { opacity: 1; transform: none; }
.fmtlist button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.reel-note { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 22px; }

/* ---------- Agent app ---------- */
.svc__visual { container-type: inline-size; }
.agent { padding: 0; gap: 0; display: grid; grid-template-columns: 178px minmax(0, 1fr) 250px; font-size: 14px; }
.agent__side, .agent__out { padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: rgba(238,242,248,.02); min-width: 0; }
.agent__side { border-right: 1px solid var(--line); }
.agent__out { border-left: 1px solid var(--line); }
.agent__brand { display: flex; align-items: center; gap: 9px; font-weight: 500; margin-bottom: 10px; }
.agent__brand i { width: 24px; height: 24px; border-radius: 7px; background: conic-gradient(from 90deg, var(--violet), var(--accent), var(--violet)); flex: none; }
.agent__cap { font: 10px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
.agent__sys { display: flex; flex-direction: column; gap: 4px; }
.agent__sys li { display: flex; align-items: center; gap: 9px; padding: 8px 9px; border-radius: 8px; color: var(--muted); border: 1px solid transparent; transition: background .3s, color .3s, border-color .3s; font-size: 13.5px; }
.agent__sys li i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); flex: none; }
.agent__sys li.is-on { background: rgba(169,193,255,.14); border-color: rgba(169,193,255,.4); color: var(--text); }
.agent__sys li.is-on i { background: var(--violet); box-shadow: 0 0 0 4px rgba(169,193,255,.2); animation: blink .6s steps(2) infinite; }
.agent__perm { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.agent__main { display: flex; flex-direction: column; gap: 12px; padding: 16px; min-width: 0; min-height: 0; }
.agent__body { min-height: 0; }
.agent__main .agent__head { padding-bottom: 12px; }
.doc { flex: 1; border: 1px solid var(--line); border-radius: 12px; background: #0c1324; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.doc__title { font-weight: 500; font-size: 14.5px; line-height: 1.3; min-height: 2.6em; }
.doc__lines { display: flex; flex-direction: column; gap: 7px; }
.doc__lines i { display: block; height: 7px; border-radius: 4px; background: rgba(238,242,248,.14); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); }
.doc__lines i:nth-child(2) { width: 86%; } .doc__lines i:nth-child(3) { width: 94%; } .doc__lines i:nth-child(4) { width: 62%; }
.doc.is-on .doc__lines i { transform: none; }
.doc.is-on .doc__lines i:nth-child(2) { transition-delay: .08s; } .doc.is-on .doc__lines i:nth-child(3) { transition-delay: .16s; } .doc.is-on .doc__lines i:nth-child(4) { transition-delay: .24s; }
.doc__chart { flex: 1; min-height: 70px; display: flex; align-items: flex-end; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line-2); margin-top: 4px; }
.doc__chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(47,107,255,.25)); height: 0; transition: height .9s var(--ease); }
.doc__chart i:nth-child(even) { background: linear-gradient(180deg, var(--violet), rgba(169,193,255,.25)); }
.doc__foot { font: 10px/1.5 var(--f-mono); letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.doc__foot b { color: var(--mint); font-weight: 400; }
@container (max-width: 820px) { .agent { grid-template-columns: minmax(0, 1fr) 220px; } .agent__side { display: none; } }
@container (max-width: 560px) { .agent { grid-template-columns: minmax(0, 1fr); } .agent__out { display: none; } }

.doc { flex: 1; border: 1px solid var(--line); border-radius: 12px; background: #0c1324; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.doc__title { font-weight: 500; font-size: 14.5px; line-height: 1.3; min-height: 2.6em; }
.doc__lines { display: flex; flex-direction: column; gap: 7px; }
.doc__lines i { display: block; height: 7px; border-radius: 4px; background: rgba(238,242,248,.14); transform-origin: left; transform: scaleX(0); transition: transform .7s var(--ease); }
.doc__lines i:nth-child(2) { width: 86%; } .doc__lines i:nth-child(3) { width: 94%; } .doc__lines i:nth-child(4) { width: 62%; }
.doc.is-on .doc__lines i { transform: none; }
.doc.is-on .doc__lines i:nth-child(2) { transition-delay: .08s; } .doc.is-on .doc__lines i:nth-child(3) { transition-delay: .16s; } .doc.is-on .doc__lines i:nth-child(4) { transition-delay: .24s; }
.doc__chart { flex: 1; min-height: 70px; display: flex; align-items: flex-end; gap: 6px; padding-top: 8px; border-top: 1px dashed var(--line-2); margin-top: 4px; }
.doc__chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--accent), rgba(47,107,255,.25)); height: 0; transition: height .9s var(--ease); }
.doc__chart i:nth-child(even) { background: linear-gradient(180deg, var(--violet), rgba(169,193,255,.25)); }
.doc__foot { font: 10px/1.5 var(--f-mono); letter-spacing: .06em; color: var(--faint); text-transform: uppercase; }
.doc__foot b { color: var(--mint); font-weight: 400; }
.doc__chart { flex: 0 0 96px; min-height: 0; }
.doc__rows { display: flex; flex-direction: column; gap: 9px; padding-top: 10px; border-top: 1px dashed var(--line-2); }
.doc__rows span { display: flex; align-items: center; gap: 9px; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--ease); }
.doc__rows span::before { content: ""; width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--mint); flex: none; }
.doc__rows span::after { content: ""; height: 6px; border-radius: 3px; background: rgba(238,242,248,.14); flex: 1; }
.doc__rows span:nth-child(2)::after { flex: .7; } .doc__rows span:nth-child(3)::after { flex: .85; }
.doc.is-on .doc__rows span { opacity: 1; transform: none; }
.doc.is-on .doc__rows span:nth-child(1) { transition-delay: .5s; } .doc.is-on .doc__rows span:nth-child(2) { transition-delay: .62s; } .doc.is-on .doc__rows span:nth-child(3) { transition-delay: .74s; }
.doc__foot { margin-top: auto; }
/* ---------- Website mock ---------- */
.webmock { position: absolute; inset: 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.wm__bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.wm__url { flex: 1; min-width: 0; height: 28px; border-radius: 999px; background: rgba(238,242,248,.06); border: 1px solid var(--line); display: flex; align-items: center; gap: 8px; padding: 0 12px; font: 11px/1 var(--f-mono); color: var(--muted); letter-spacing: .04em; }
.wm__url::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); flex: none; }
.wm__dev { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.wm__dev span { font: 10.5px/1 var(--f-mono); padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: background .4s, color .4s; }
.wm__dev span.on { background: var(--text); color: var(--bg); }
.wm__stage { position: relative; overflow: hidden; padding: 14px; display: flex; justify-content: center; min-height: 0; }
.wm__page { position: relative; width: 100%; min-width: 190px; height: 100%; border-radius: 10px; overflow: hidden; background: #f4f6fb; color: #0b1220; container-type: inline-size; transition: border-radius .6s, box-shadow .6s; }
.wm__page.is-mobile { border-radius: 24px; box-shadow: 0 0 0 5px #1b2748; }
.wm__scroll { font-size: clamp(8px, 1.75cqw, 16px); padding: 0 3.2em 3em; will-change: transform; }
.wm__page.is-mobile .wm__scroll { font-size: clamp(8px, 4.5cqw, 16px); padding: 0 1.5em 2em; }
.wm__nav { display: flex; align-items: center; gap: 1.6em; padding: 1.3em 0; font-size: .82em; color: #4a5670; border-bottom: 1px solid rgba(11,18,32,.08); }
.wm__nav b { color: #0b1220; font-weight: 600; margin-right: auto; font-size: 1.15em; letter-spacing: -.01em; }
.wm__nav em { font: inherit; font-style: normal; background: #0b1220; color: #fff; padding: .55em 1.1em; border-radius: 999px; }
.wm__page.is-mobile .wm__nav span { display: none; }
.wm__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.4em; align-items: center; padding: 3em 0 2.6em; }
.wm__page.is-mobile .wm__hero { grid-template-columns: 1fr; gap: 1.6em; padding: 2em 0; }
.wm__h { font-size: 2.9em; line-height: 1; letter-spacing: -.04em; font-weight: 600; }
.wm__h span { display: block; }
.wm__h i { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: #2f6bff; letter-spacing: -.02em; }
.wm__p { margin-top: 1.2em; color: #4a5670; line-height: 1.45; max-width: 26em; }
.wm__cta { display: inline-block; margin-top: 1.5em; font: inherit; font-style: normal; font-weight: 500; font-size: .95em; background: #2f6bff; color: #fff; padding: .8em 1.4em; border-radius: 999px; }
.wm__panel { background: #0b1220; border-radius: 1em; padding: 1.1em; box-shadow: 0 2em 4em -1.5em rgba(47,107,255,.5); }
.wm__ptop { display: flex; gap: .4em; margin-bottom: .8em; }
.wm__ptop b { width: .55em; height: .55em; border-radius: 50%; background: rgba(255,255,255,.25); }
.wm__panel svg { width: 100%; height: 7em; display: block; overflow: visible; }
.wm__panel .area { fill: rgba(47,107,255,.16); }
.wm__panel .ln { fill: none; stroke: #2f6bff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.wm__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; margin-top: .9em; }
.wm__kpis span { height: 2.3em; border-radius: .5em; background: rgba(255,255,255,.07); position: relative; }
.wm__kpis span::before { content: ""; position: absolute; left: .6em; top: 50%; translate: 0 -50%; width: 45%; height: .4em; border-radius: .2em; background: rgba(255,255,255,.35); }
.wm__kpis span:nth-child(2)::before { background: #2f6bff; width: 60%; }
.wm__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em; }
.wm__page.is-mobile .wm__cards { grid-template-columns: 1fr; gap: .9em; }
.wm__cards > div { background: #fff; border: 1px solid rgba(11,18,32,.08); border-radius: 1em; padding: 1.4em; box-shadow: 0 1em 2em -1.2em rgba(11,18,32,.25); }
.wm__cards b { font-weight: 600; font-size: 1.15em; letter-spacing: -.01em; }
.wm__cards p { margin-top: .5em; color: #4a5670; font-size: .92em; line-height: 1.4; }
.wm__band { display: flex; justify-content: space-between; gap: 1em; margin-top: 1.6em; background: #0b1220; color: #fff; border-radius: 1em; padding: 1.4em 1.6em; font-size: .92em; }
.wm__page.is-mobile .wm__band { flex-direction: column; gap: .8em; }
.wm__band span { display: flex; align-items: center; gap: .6em; }
.wm__band span::before { content: ""; width: .5em; height: .5em; border-radius: 50%; background: #2f6bff; }
.wm__cursor { position: absolute; left: 0; top: 0; width: 16px; height: 22px; background: #0b1220; clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 56% 94%, 39% 55%, 70% 55%); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 3px 6px rgba(0,0,0,.45)); opacity: 0; pointer-events: none; z-index: 3; }
.wm__badges { display: flex; flex-wrap: wrap; gap: 8px; padding: 11px 14px; border-top: 1px solid var(--line); }
.wm__badges span { display: inline-flex; align-items: center; gap: 7px; font: 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--faint); transition: color .5s, border-color .5s, background .5s; }
.wm__badges span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); transition: background .5s; }
.wm__badges span.on { color: var(--text); border-color: rgba(52,209,176,.5); background: rgba(52,209,176,.08); }
.wm__badges span.on::before { background: var(--mint); }

.wm__split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.6em; margin-top: 1.6em; }
.wm__page.is-mobile .wm__split { grid-template-columns: 1fr; }
.wm__split > div { background: #fff; border: 1px solid rgba(11,18,32,.08); border-radius: 1em; padding: 1.6em; }
.wm__split b { font-weight: 600; font-size: 1.3em; letter-spacing: -.02em; }
.wm__split p { margin-top: .6em; color: #4a5670; line-height: 1.45; font-size: .95em; }
.wm__split ol { list-style: none; margin: 1.2em 0 0; padding: 0; display: flex; gap: .6em; counter-reset: s; flex-wrap: wrap; }
.wm__split li { counter-increment: s; display: flex; align-items: center; gap: .5em; font-size: .88em; padding: .5em .9em; border-radius: 999px; background: #eef2fb; color: #0b1220; }
.wm__split li::before { content: counter(s); width: 1.5em; height: 1.5em; border-radius: 50%; background: #2f6bff; color: #fff; display: grid; place-items: center; font-size: .85em; }
.wm__form { display: flex; flex-direction: column; gap: .7em; }
.wm__form i { display: block; height: 2.4em; border-radius: .6em; border: 1px solid rgba(11,18,32,.14); background: #f7f9fd; }
.wm__form i.tall { height: 4.6em; }
.wm__form em { align-self: flex-start; font: inherit; font-style: normal; font-weight: 500; background: #0b1220; color: #fff; padding: .7em 1.6em; border-radius: 999px; font-size: .92em; }
.wm__foot { display: flex; justify-content: space-between; gap: 1em; margin-top: 2em; padding-top: 1.2em; border-top: 1px solid rgba(11,18,32,.1); font-size: .82em; color: #4a5670; }
.wm__foot b { color: #0b1220; font-weight: 600; }
.webmock { grid-template-columns: minmax(0, 1fr); }
.wm__bar, .wm__stage, .wm__badges { min-width: 0; }
.wm__dev { flex: none; }
@media (max-width: 720px) { .wm__bar .ved__dots { display: none; } .wm__dev span { padding: 5px 7px; } }
.reel { border-radius: 22px; }
.agent__brand i, .agent__head .who i { background: conic-gradient(from 90deg, var(--blue), var(--lime), var(--blue)); }
