/* futurizaitech.com/ai-demo/. Generated by deploy/build_ai_demo_page.py from
   clients/e-rocket/theme/assets/er-ai.css with the Futuriz colours: edit there, then rerun. */
.erai { --er-navy: var(--night); --er-orange: var(--signal); --er-orange-2: var(--signal); --er-ink: var(--photon); --er-muted: var(--mist); --er-line: var(--line); --er-bg-2: var(--raise); --er-font: var(--sans); --er-radius: var(--r); --er-shadow: 0 30px 80px -30px rgba(0,0,0,.85); --er-shadow-sm: 0 10px 30px -14px rgba(0,0,0,.7); }
.erai { --s-bg: #0d1a45; --s-card: rgba(255,255,255,.05); --s-line: rgba(232,238,255,.13); --s-mist: #b9c3e6; --s-dim: #8592bd; --ok: #3DF5A7; --warn: #FFB547; }
.erai button { font-family: var(--er-font); }

/* hero + picker */
.erai-hero { margin-top: -76px; padding: 148px 0 88px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(1100px 600px at 85% 10%, rgba(110,123,255,.55), transparent 60%), radial-gradient(800px 500px at 0% 100%, rgba(43,228,255,.18), transparent 60%), var(--er-navy); }
.erai-hero::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: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); }
.erai-hero .wrap { position: relative; z-index: 1; }
.erai-hero .kicker { color: #8C96FF; }
.erai-hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin-top: 20px; letter-spacing: -.035em; max-width: 900px; }
.erai-lede { margin-top: 20px; max-width: 640px; color: var(--mist); font-size: 19px; }
.erai-pick-q { margin-top: 40px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #8C96FF; }
.erai-pick { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.erai-tile { text-align: left; color: #fff; cursor: pointer; padding: 22px 20px 20px; border-radius: var(--er-radius); border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); display: flex; flex-direction: column; gap: 6px; transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.erai-tile:hover { transform: translateY(-3px); border-color: rgba(43,228,255,.6); background: rgba(255,255,255,.08); }
.erai-tile[aria-pressed="true"] { border-color: var(--er-orange); background: rgba(43,228,255,.12); box-shadow: 0 14px 34px -14px rgba(43,228,255,.7); }
.erai-tile-ic { font-size: 30px; line-height: 1; margin-bottom: 6px; }
.erai-tile b { font-size: 19px; line-height: 1.25; }
.erai-tile span:not(.erai-tile-ic) { color: var(--s-mist); font-size: 14.5px; line-height: 1.45; }
.erai-tile i { margin-top: auto; padding-top: 10px; font-style: normal; font-weight: 700; font-size: 14px; color: var(--er-orange-2); }
.erai-note { margin-top: 22px; color: var(--s-dim); font-size: 14px; }

/* sticky "Showing:" chips once the hero has scrolled away */
.erai-bar { position: sticky; top: var(--erai-top, 0px); z-index: 40; height: 0; overflow: visible; }
.erai-strip { background: rgba(10,12,28,.92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--er-line); box-shadow: var(--er-shadow-sm); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.erai-past-hero .erai-strip { opacity: 1; transform: none; pointer-events: auto; }
.erai-strip > .wrap { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.erai-bar span { font-size: 13px; font-weight: 700; color: var(--er-muted); flex: none; }
.erai-chips { min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.erai-chips::-webkit-scrollbar { display: none; }
.erai-chip { flex: none; cursor: pointer; border: 1px solid var(--er-line); background: var(--panel); color: var(--er-ink); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.erai-chip[aria-pressed="true"] { background: var(--er-navy); border-color: var(--er-navy); color: #fff; }

.erai-sec { scroll-margin-top: 112px; }
.erai .erai-head { margin-bottom: 40px; }

/* dark screen panel */
.erai-screen { background: radial-gradient(900px 400px at 90% -20%, rgba(110,123,255,.4), transparent 60%), var(--er-navy); color: #fff; border-radius: 24px; padding: 24px; box-shadow: var(--er-shadow); }

/* 1 · office */
.erai-office-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.erai-clock { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 28px; font-variant-numeric: tabular-nums; }
.erai-clock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--s-dim); }
.running .erai-clock-dot { background: var(--ok); box-shadow: 0 0 0 6px rgba(61,245,167,.18); animation: erai-pulse 1.2s ease-in-out infinite; }
@keyframes erai-pulse { 50% { box-shadow: 0 0 0 2px rgba(61,245,167,.1); } }
.erai .btn[disabled] { cursor: default; transform: none; background: rgba(43,228,255,.14); color: var(--signal) !important; box-shadow: inset 0 0 0 1px rgba(43,228,255,.5); }
.erai-office-grid { display: grid; grid-template-columns: 1fr 300px; gap: 18px; }
.erai-desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.erai-desk { border: 1px solid var(--s-line); background: var(--s-card); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.erai-desk.busy { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 0 26px -6px color-mix(in srgb, var(--c) 45%, transparent); }
.erai-desk.wait { border-color: rgba(255,181,71,.7); }
.erai-desk-top { display: flex; align-items: center; gap: 12px; }
.erai-desk-top b { display: block; font-size: 16px; }
.erai-desk-top small { display: block; color: var(--s-mist); font-size: 13px; line-height: 1.35; }
.erai-bot { flex: none; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); display: grid; place-items: center; }
.erai-bot i { width: 18px; height: 8px; border-radius: 4px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.busy .erai-bot i { animation: erai-blink .9s ease-in-out infinite; }
@keyframes erai-blink { 50% { transform: scaleX(.5); opacity: .6; } }
.erai-desk-now { min-height: 44px; font-size: 14.5px; line-height: 1.45; color: #e7ecff; }
.erai-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--c, #fff); animation: erai-caret .7s steps(1) infinite; }
@keyframes erai-caret { 50% { opacity: 0; } }
.erai-desk-bar { height: 5px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.erai-desk-bar span { display: block; height: 100%; width: 0; background: var(--c); transition: width .4s ease; }
.erai-desk-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12.5px; color: var(--s-dim); }
.erai-desk-state { padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--s-mist); font-weight: 700; }
.busy .erai-desk-state { background: color-mix(in srgb, var(--c) 18%, transparent); color: #fff; }
.wait .erai-desk-state { background: rgba(255,181,71,.18); color: var(--warn); }
.erai-tray { border: 1px solid var(--s-line); background: rgba(0,0,0,.18); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; }
.erai-tray-head { display: flex; justify-content: space-between; align-items: center; }
.erai-tray-head span { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: rgba(255,181,71,.18); color: var(--warn); font-weight: 800; display: grid; place-items: center; }
.erai-tray-list { flex: 1; display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.erai-tray-empty { color: var(--s-dim); font-size: 14px; margin: 0; }
.erai-ok { border: 1px solid rgba(255,181,71,.45); background: rgba(255,181,71,.07); border-radius: 12px; padding: 12px; animation: erai-in .35s ease; }
.erai-ok small { color: var(--warn); font-weight: 700; font-size: 12.5px; }
.erai-ok p { margin: 4px 0 10px; font-size: 14px; line-height: 1.45; }
.erai-ok.done { border-color: var(--s-line); background: transparent; opacity: .75; }
.erai-ok.done p { margin-bottom: 0; }
.erai-ok.done small { color: var(--ok); }
.erai-ok-btns { display: flex; gap: 8px; }
.erai-ok-btns button { flex: 1; min-height: 40px; border-radius: 999px; border: 1px solid var(--s-line); background: transparent; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.erai-ok-btns .yes { background: var(--er-orange); border-color: var(--er-orange); }
.erai-tray-foot { border-top: 1px solid var(--s-line); padding-top: 12px; color: var(--s-mist); font-size: 14px; }
.erai-tray-foot b { color: #fff; font-size: 18px; }
@keyframes erai-in { from { opacity: 0; transform: translateY(-6px); } }

/* 2 · WhatsApp chat */
.erai-split { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; }
.erai-split .erai-head { margin-bottom: 0; }
.erai-split .btn { margin-top: 28px; }
.erai-phone { background: #0b141a; border-radius: 34px; padding: 10px; box-shadow: var(--er-shadow), inset 0 0 0 2px #26313a; display: flex; flex-direction: column; height: 600px; }
.erai-phone-top { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #1f2c34; border-radius: 26px 26px 0 0; color: #e9edef; }
.erai-phone-top b { display: block; font-size: 15px; }
.erai-phone-top small { color: #8696a0; font-size: 12.5px; }
.erai-ph-av { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--er-orange), #6E7BFF); }
.erai-phone-body { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; background: #0b141a; scroll-behavior: smooth; }
.erai-bub { max-width: 84%; padding: 8px 10px 18px; border-radius: 10px; font-size: 14.5px; line-height: 1.42; color: #e9edef; position: relative; white-space: pre-line; animation: erai-in .25s ease; }
.erai-bub small { position: absolute; right: 8px; bottom: 3px; font-size: 10.5px; color: rgba(233,237,239,.55); }
.erai-bub.in { align-self: flex-start; background: #202c33; border-top-left-radius: 2px; }
.erai-bub.ai { align-self: flex-end; background: #005c4b; border-top-right-radius: 2px; }
.erai-typing { align-self: flex-end; background: #005c4b; border-radius: 10px; padding: 10px 12px; display: flex; gap: 4px; }
.erai-typing i { width: 6px; height: 6px; border-radius: 50%; background: #cfe9e3; animation: erai-dot 1s infinite; }
.erai-typing i:nth-child(2) { animation-delay: .15s; } .erai-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes erai-dot { 50% { opacity: .3; transform: translateY(-2px); } }
.erai-phone-hand { margin: 0 4px 4px; padding: 0 12px; max-height: 0; overflow: hidden; border-radius: 14px; background: rgba(61,245,167,.12); color: #c7ffe6; font-size: 13.5px; line-height: 1.45; transition: max-height .35s ease, padding .35s ease; }
.erai-phone-hand.show { max-height: 140px; padding: 10px 12px; }

/* 3 · automation */
.erai-flowtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.erai-flowtabs button { cursor: pointer; border: 1px solid var(--er-line); background: var(--panel); color: var(--er-ink); font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; }
.erai-flowtabs button[aria-selected="true"] { background: var(--er-navy); border-color: var(--er-navy); color: #fff; }
.erai-flow { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: start; }
.erai-manual-box { border: 1px solid var(--er-line); border-radius: 20px; padding: 22px; background: var(--panel); }
.erai-manual-head b { display: block; font-size: 17px; }
.erai-manual-head small { color: var(--er-muted); font-size: 14px; }
.erai-manual { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: m; display: flex; flex-direction: column; gap: 8px; }
.erai-manual li { counter-increment: m; display: flex; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--er-ink); transition: color .3s ease, opacity .3s ease; }
.erai-manual li::before { content: counter(m); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--er-bg-2); color: var(--er-muted); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.erai-manual li.gone { color: var(--er-muted); opacity: .6; }
.erai-manual li.gone span { text-decoration: line-through; text-decoration-color: var(--er-orange); }
.erai-auto-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.erai-auto-head b { display: block; font-size: 17px; }
.erai-auto-head small { color: var(--s-mist); font-size: 14px; }
.erai-nodes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.erai-node { border: 1px solid var(--s-line); background: var(--s-card); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.erai-node-k { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8C96FF; }
.erai-node b { font-size: 15px; line-height: 1.35; }
.erai-node-out { font-size: 13.5px; color: var(--s-mist); line-height: 1.45; }
.erai-node.lit { border-color: #8C96FF; box-shadow: 0 0 28px -6px rgba(140,150,255,.6); }
.erai-node.ok { border-color: var(--warn); background: rgba(255,181,71,.08); }
.erai-node.did { border-color: rgba(61,245,167,.5); }
.erai-node.did .erai-node-k { color: var(--ok); }
.erai-node.did .erai-node-k::after { content: " ✓"; }
.erai-approve { margin-top: 6px; min-height: 40px; border: 0; border-radius: 999px; background: var(--er-orange); color: #fff; font-weight: 800; font-size: 14px; cursor: pointer; animation: erai-pulse-o 1.2s ease-in-out infinite; }
@keyframes erai-pulse-o { 50% { box-shadow: 0 0 0 6px rgba(43,228,255,.25); } }
.erai-flowresult { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(61,245,167,.1); border: 1px solid rgba(61,245,167,.35); color: #dcfff0; font-size: 14.5px; line-height: 1.5; }
.erai-flowresult b { color: #fff; }

/* 4 · morning brief */
.erai-briefgrid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.erai-briefbox, .erai-ask { border: 1px solid var(--s-line); background: rgba(255,255,255,.04); border-radius: 22px; padding: 22px; }
.erai-briefhead { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.erai-briefhead small { color: var(--s-dim); font-size: 13px; margin-left: auto; }
.erai-av { width: 34px; height: 34px; border-radius: 10px; background: var(--er-orange); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.erai-bcards { display: flex; flex-direction: column; gap: 10px; }
.erai-bcard { border: 1px solid var(--s-line); border-radius: 14px; padding: 12px 14px; background: rgba(255,255,255,.03); }
.erai-bcard span { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; color: var(--er-orange-2); }
.erai-bcard b { display: block; font-size: 16px; margin: 2px 0; }
.erai-bcard small { color: var(--s-mist); font-size: 14px; }
.erai-kpis { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.erai-kpi { border-radius: 14px; padding: 12px; background: rgba(255,255,255,.05); min-width: 0; }
.erai-kpi small { display: block; color: var(--s-dim); font-size: 12.5px; }
.erai-kpi b { display: block; font-size: clamp(16px, 1.45vw, 20px); white-space: nowrap; font-variant-numeric: tabular-nums; }
.erai-kpi span { display: block; font-size: 12px; line-height: 1.35; }
.erai-kpi.up span { color: var(--ok); } .erai-kpi.down span { color: #ff9a8a; } .erai-kpi.alert span { color: var(--warn); }
.erai-ask > b { display: block; margin-bottom: 12px; }
.erai-askq { display: flex; flex-direction: column; gap: 8px; }
.erai-askq button { text-align: left; cursor: pointer; border: 1px solid rgba(140,150,255,.4); background: rgba(110,123,255,.18); color: #fff; font-weight: 600; font-size: 14.5px; padding: 10px 14px; border-radius: 14px; }
.erai-askq button[disabled] { opacity: .45; cursor: default; }
.erai-asklog { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.erai-ask-empty { color: var(--s-dim); font-size: 14px; margin: 0; }
.erai-ask-me { align-self: flex-end; max-width: 90%; background: rgba(43,228,255,.18); border-radius: 12px 12px 2px 12px; padding: 8px 12px; font-size: 14px; font-weight: 600; }
.erai-ask-ai { max-width: 96%; background: rgba(255,255,255,.06); border-radius: 12px 12px 12px 2px; padding: 10px 12px; font-size: 14px; line-height: 1.5; color: #e7ecff; }

/* safe by design + CTA */
.erai-safe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.erai-safe div { border: 1px solid var(--er-line); border-radius: var(--er-radius); padding: 22px; background: var(--panel); box-shadow: var(--er-shadow-sm); }
.erai-safe b { display: block; font-size: 17px; margin-bottom: 6px; }
.erai-safe span { color: var(--er-muted); font-size: 15px; line-height: 1.5; }
.erai-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.erai-cta span { color: var(--er-muted); font-size: 15px; max-width: 520px; }

@media (max-width: 1080px) {
  .erai-office-grid { grid-template-columns: 1fr; }
  .erai-tray { min-height: 0; }
  .erai-desks { grid-template-columns: repeat(2, 1fr); }
  .erai-split { grid-template-columns: 1fr; gap: 36px; }
  .erai-phone { max-width: 400px; width: 100%; margin: 0 auto; }
  .erai-flow, .erai-briefgrid { grid-template-columns: 1fr; }
  .erai-safe { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .erai-hero { padding: 116px 0 56px; }
  .erai-lede { font-size: 17px; }
  .erai-pick { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .erai-pick .erai-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .erai-tile { padding: 16px 14px; }
  .erai-tile b { font-size: 16.5px; }
  .erai-tile span:not(.erai-tile-ic) { display: none; }
  .erai-tile i { font-size: 13px; }
  .erai .erai-sec { padding: 72px 0; }
  .erai-screen { padding: 16px; border-radius: 20px; margin: 0 -8px; }
  .erai-office-top { flex-wrap: wrap; }
  .erai-office-top .btn { flex: 1 1 100%; }
  .erai-desks { grid-template-columns: 1fr; gap: 10px; }
  .erai-desk { padding: 12px 14px; gap: 8px; }
  .erai-desk-now { min-height: 0; }
  .erai-phone { height: 540px; }
  .erai-flowtabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 18px; padding: 0 20px 4px; scrollbar-width: none; }
  .erai-flowtabs button { flex: none; }
  .erai-auto-head { flex-direction: column; }
  .erai-auto-head .btn { width: 100%; }
  .erai-nodes { grid-template-columns: 1fr; }
  .erai-kpis { grid-template-columns: repeat(2, 1fr); }
  .erai-safe { grid-template-columns: 1fr; }
  .erai-cta .btn { width: 100%; }
  .erai-bar span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .erai *, .erai *::before { animation: none !important; transition: none !important; }
}

/* Futuriz skin (deploy/build_ai_demo_page.py) */
.erai-hero { margin-top: 0; padding: clamp(48px, 6vw, 88px) 0 clamp(64px, 7vw, 96px); background: radial-gradient(1000px 560px at 85% 0%, rgba(110,123,255,.32), transparent 60%), radial-gradient(760px 480px at 0% 100%, rgba(43,228,255,.12), transparent 60%), var(--void); }
.erai-hero h1 { max-width: 15ch; margin-top: 0; }
.erai-hero .crumbs { margin-bottom: 22px; }
.erai .kicker { margin-bottom: 14px; }
.erai h2 { max-width: 24ch; }
.erai-head .section-lede { margin-top: 16px; }
.erai-head--center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.erai-sec { padding: clamp(72px, 8vw, 112px) 0; }
.erai-sec.tint { background: linear-gradient(180deg, transparent, rgba(110,123,255,.06) 30%, rgba(110,123,255,.06) 70%, transparent); }
.erai-screen { border: 1px solid var(--line); background: radial-gradient(900px 400px at 90% -20%, rgba(110,123,255,.22), transparent 60%), var(--night); }
.erai-chip[aria-pressed="true"], .erai-flowtabs button[aria-selected="true"] { background: var(--photon); border-color: var(--photon); color: var(--void); }
.erai-ok-btns .yes, .erai-approve, .erai-av { color: var(--void); }
.erai-av { background: var(--spectrum); }
.erai-ph-av { background: var(--spectrum); }
.erai-ask-me { color: var(--photon); }
.erai-strip { border-bottom-color: var(--line); }
.erai-tile { border-color: var(--line); }
.erai-tile[aria-pressed="true"] { border-color: var(--signal); }
.erai-safe div { box-shadow: none; }
.erai-cta .btn { min-width: 300px; }
.erai .btn[disabled] { box-shadow: inset 0 0 0 1px rgba(43,228,255,.45); }
.erai .btn[disabled]::after { display: none; }
@media (max-width: 640px) {
  .erai-cta .btn { min-width: 0; }
  .erai-sec { padding: 60px 0; }
  .erai-flowtabs { margin: 0 calc((100vw - 100%) / -2) 18px; padding: 0 calc((100vw - 100%) / 2) 4px; }
}
