:root {
  --ink: #07132f;
  --navy: #0b2258;
  --navy-2: #102f70;
  --blue: #2468ff;
  --blue-bright: #42b8ff;
  --sky: #eaf4ff;
  --green: #24d17e;
  --pink: #f05a8b;
  --amber: #ffbd42;
  --paper: #ffffff;
  --mist: #f4f7fb;
  --line: #dce5f1;
  --muted: #657089;
  --shadow: 0 24px 70px rgba(7, 24, 62, .16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f6f9fd;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f6f9fd; color: var(--ink); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.demo-nav {
  position: sticky;
  z-index: 40;
  top: 0;
  min-height: 82px;
  padding: 0 clamp(18px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(235px, 1fr) auto minmax(160px, 1fr);
  align-items: center;
  gap: 30px;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(192,208,229,.7);
  backdrop-filter: blur(18px);
}

.brand { display: flex; align-items: center; gap: 14px; width: max-content; }
.brand img { width: 155px; height: auto; display: block; }
.brand > span { padding-left: 14px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.brand b { color: var(--blue); font-size: .72rem; letter-spacing: .14em; }
.brand small { color: #79849a; font-size: .72rem; }

.demo-nav nav { display: flex; align-items: center; gap: 7px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: #f8fafe; }
.demo-nav nav a { padding: 10px 16px; border-radius: 99px; color: #5f6a82; font-size: .83rem; font-weight: 650; white-space: nowrap; transition: .2s ease; }
.demo-nav nav a:hover { color: var(--blue); }
.demo-nav nav a.active { color: white; background: var(--navy); box-shadow: 0 7px 18px rgba(11,34,88,.18); }

.simulation-badge { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: #50617d; font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.simulation-badge i { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(36,209,126,.12), 0 0 16px rgba(36,209,126,.55); }

.storefront { min-height: calc(100vh - 82px); background: radial-gradient(circle at 77% 24%, rgba(66,184,255,.14), transparent 27%), linear-gradient(155deg,#fff 0 46%,#eef5ff 100%); overflow: hidden; }
.storefront-hero { min-height: 580px; padding: 72px clamp(24px,7vw,112px) 98px; display: grid; grid-template-columns: minmax(0,1.06fr) minmax(380px,.94fr); align-items: center; gap: clamp(40px,7vw,110px); position: relative; }
.storefront-hero::after { content: ""; position: absolute; left: 7vw; right: 7vw; bottom: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--line),transparent); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--blue); }
.hero-copy h1 { max-width: 720px; margin: 20px 0 22px; color: #071634; font-size: clamp(3.2rem,5.3vw,5.7rem); line-height: .94; letter-spacing: -.065em; }
.hero-copy h1 em { color: var(--blue); font-style: normal; }
.hero-copy > p { max-width: 660px; margin: 0; color: #59667f; font-size: 1.05rem; line-height: 1.75; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.primary-action, .secondary-action { min-height: 51px; padding: 0 20px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: .92rem; font-weight: 750; cursor: pointer; }
.primary-action { border: 0; color: white; background: linear-gradient(120deg,var(--blue),#164bc4); box-shadow: 0 13px 30px rgba(36,104,255,.25); }
.primary-action span { font-size: 1.2rem; }
.secondary-action { color: #32415f; border: 1px solid #cfdbea; background: rgba(255,255,255,.78); }
.primary-action:hover, .secondary-action:hover { transform: translateY(-2px); }

.trust-row { max-width: 570px; margin: 38px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; display: grid; grid-template-columns: repeat(3,1fr); }
.trust-row li { display: grid; gap: 3px; }
.trust-row li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.trust-row b { color: var(--navy); font-size: 1.25rem; }
.trust-row span { color: #7b8699; font-size: .76rem; }

.water-orbit { position: relative; width: min(42vw,480px); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.water-orbit::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 34% 27%,rgba(255,255,255,.95),rgba(123,209,255,.4) 24%,rgba(36,104,255,.14) 56%,rgba(12,56,145,.1)); box-shadow: inset -25px -30px 70px rgba(16,75,184,.23), 0 45px 90px rgba(36,104,255,.18); }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(36,104,255,.18); }
.orbit-one { inset: 0; }
.orbit-two { inset: 17%; border-style: dashed; animation: spin 22s linear infinite; }
.water-drop { width: 46%; aspect-ratio: 1; position: relative; z-index: 2; display: grid; place-items: center; border-radius: 54% 46% 56% 44% / 43% 43% 57% 57%; transform: rotate(45deg); color: white; background: linear-gradient(145deg,#42c9ff,#2468ff 58%,#0c3186); box-shadow: inset 12px 12px 28px rgba(255,255,255,.28), 0 24px 52px rgba(21,75,194,.3); }
.water-drop span { transform: rotate(-45deg); font-family: Georgia,serif; font-size: clamp(3rem,7vw,5.4rem); font-weight: 800; text-shadow: 0 5px 16px rgba(0,0,0,.18); }
@keyframes spin { to { transform: rotate(360deg); } }

.floating-note { position: absolute; z-index: 3; min-width: 190px; padding: 13px 15px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(184,205,233,.7); border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 18px 40px rgba(20,57,113,.13); backdrop-filter: blur(12px); }
.floating-note > i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(36,209,126,.1); }
.floating-note > span { display: grid; gap: 2px; }
.floating-note b { color: #1f2f4e; font-size: .82rem; }
.floating-note small { color: #7d899e; font-size: .7rem; }
.note-one { top: 11%; right: -3%; }
.note-two { left: -4%; bottom: 12%; }

.solution-strip { margin: -42px clamp(20px,5.5vw,90px) 0; padding: 13px; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; border: 1px solid #dae5f3; border-radius: 21px; background: rgba(255,255,255,.93); box-shadow: 0 20px 55px rgba(18,49,102,.11); }
.solution-strip article { min-height: 90px; padding: 16px; display: flex; align-items: center; gap: 13px; border-radius: 14px; transition: background .2s; }
.solution-strip article:hover { background: #f3f7ff; }
.solution-icon { flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: #eaf2ff; font-weight: 800; }
.solution-strip div { display: grid; gap: 5px; }
.solution-strip b { color: #1c2b48; font-size: .9rem; }
.solution-strip small { color: #7b879c; font-size: .72rem; line-height: 1.4; }
.demo-explainer { padding: 42px clamp(24px,7vw,112px) 56px; display: flex; align-items: center; justify-content: center; gap: clamp(30px,6vw,90px); }
.demo-explainer > div { display: flex; align-items: center; gap: 12px; }
.demo-explainer span { color: #a9b6ca; font-size: .72rem; font-weight: 800; }
.demo-explainer p { margin: 0; color: #657089; font-size: .8rem; }
.demo-explainer b { color: var(--navy); }

/* BEN widget */
.ben-widget { position: fixed; z-index: 70; right: 22px; bottom: 24px; color: #14213c; text-align: left; }
.ben-widget[dir="rtl"] { text-align: right; }
.ben-launcher { width: min(340px,calc(100vw - 28px)); min-height: 78px; padding: 9px 17px 9px 9px; border: 1px solid rgba(103,156,255,.9); border-radius: 40px 40px 13px 40px; display: flex; align-items: center; gap: 12px; color: white; background: radial-gradient(circle at 13% 9%,rgba(36,104,255,.35),transparent 34%),linear-gradient(120deg,#070916,#0a1a40 68%,#123c83); box-shadow: 0 18px 55px rgba(4,14,40,.36), inset 0 0 0 1px rgba(255,255,255,.04); cursor: pointer; transition: .22s ease; }
.ben-launcher:hover { transform: translateY(-3px); box-shadow: 0 22px 65px rgba(4,14,40,.42),0 0 25px rgba(36,104,255,.19); }
.ben-avatar { flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; overflow: hidden; border: 2px solid #77a5ff; border-radius: 50%; background: white; box-shadow: 0 0 0 4px rgba(36,104,255,.14); }
.ben-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ben-launcher-copy { min-width: 0; display: grid; gap: 5px; }
.ben-launcher-copy > b { font-family: "Arial Narrow",Inter,sans-serif; font-size: 1.13rem; letter-spacing: .08em; }
.ben-launcher-copy > span { display: flex; align-items: center; gap: 7px; color: #b9cdf5; font-size: .75rem; line-height: 1.3; }
.ben-launcher-copy i, .ben-identity small i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 11px rgba(36,209,126,.75); }
.ben-launcher-copy em { font-style: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ben-launcher-copy.changing { animation: phrase .42s ease; }
@keyframes phrase { 50% { opacity: .2; transform: translateY(2px); } }

.ben-panel { position: absolute; right: 0; bottom: 0; width: min(410px,calc(100vw - 24px)); height: min(720px,calc(100vh - 34px)); min-height: 540px; overflow: hidden; display: grid; grid-template-rows: auto auto minmax(0,1fr) auto auto auto; border: 1px solid rgba(67,117,214,.35); border-radius: 24px 24px 8px 24px; background: white; box-shadow: 0 28px 90px rgba(4,15,43,.36); animation: panel-in .24s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(15px) scale(.975); } }
.ben-header { min-height: 84px; padding: 12px 14px; position: relative; display: flex; align-items: center; justify-content: space-between; color: white; background: radial-gradient(circle at 16% 0,rgba(36,104,255,.44),transparent 42%),linear-gradient(120deg,#070916,#102b63); }
.ben-identity { display: flex; align-items: center; gap: 11px; }
.ben-identity .ben-avatar { width: 53px; height: 53px; }
.ben-identity > span:last-child { display: grid; gap: 4px; }
.ben-identity b { font-family: "Arial Narrow",Inter,sans-serif; font-size: 1.4rem; letter-spacing: .12em; }
.ben-identity small { display: flex; align-items: center; gap: 6px; color: #c4d7fb; font-size: .68rem; }
.ben-identity small span { max-width: 118px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ben-identity small i { width: 7px; height: 7px; }
.ben-header-actions { display: flex; gap: 7px; }
.ben-header-actions > button { appearance: none; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: white; cursor: pointer; }
.language-button { min-width: 118px; height: 36px; padding: 0 11px; border-radius: 10px; font-size: .68rem; font-weight: 750; white-space: nowrap; }
.close-button { width: 36px; height: 36px; border-radius: 50%; font-size: 1.45rem; line-height: 1; }
.language-menu { position: absolute; z-index: 4; top: 64px; right: 50px; width: 164px; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: white; box-shadow: 0 15px 40px rgba(7,24,62,.2); }
.language-menu-label { display: block; padding: 5px 8px 7px; color: #6e7d99; font-size: .64rem; font-weight: 750; letter-spacing: .02em; }
.language-menu button { width: 100%; padding: 9px; border: 0; border-radius: 7px; color: #263653; background: transparent; text-align: left; cursor: pointer; font-size: .78rem; }
.language-menu button:hover { color: var(--blue); background: #edf4ff; }
.ben-widget[dir="rtl"] .language-menu { right: auto; left: 50px; }
.demo-mode { min-height: 36px; padding: 7px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e7edf6; background: #f7faff; }
.demo-mode span { padding: 4px 6px; border-radius: 5px; color: white; background: var(--blue); font-size: .58rem; font-weight: 800; letter-spacing: .1em; }
.demo-mode p { margin: 0; color: #758198; font-size: .68rem; }
.ben-messages { min-height: 0; padding: 17px 14px 9px; overflow-y: auto; background: linear-gradient(#f5f8fd,#fff 36%); overscroll-behavior: contain; }
.message { max-width: 88%; margin-bottom: 11px; display: grid; gap: 4px; animation: message-in .2s ease; }
.message.user { margin-left: auto; }
.ben-widget[dir="rtl"] .message.user { margin-left: 0; margin-right: auto; }
.message .bubble { padding: 11px 13px; border: 1px solid #e0e7f1; border-radius: 7px 16px 16px 16px; color: #303b53; background: white; box-shadow: 0 5px 14px rgba(17,47,96,.06); font-size: .82rem; line-height: 1.52; white-space: pre-line; }
.message.user .bubble { color: white; border: 0; border-radius: 16px 7px 16px 16px; background: linear-gradient(145deg,var(--blue),#174dc5); }
.message small { padding: 0 4px; color: #949db0; font-size: .62rem; }
.message.user small { text-align: right; }
.message .disclaimer { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #edf0f5; color: #7d879b; font-size: .66rem; }
@keyframes message-in { from { opacity: 0; transform: translateY(5px); } }
.typing .bubble { width: 62px; display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #7792c5; animation: dot 1s infinite ease; }
.typing i:nth-child(2) { animation-delay: .14s; }
.typing i:nth-child(3) { animation-delay: .28s; }
@keyframes dot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.ben-options { padding: 7px 12px 10px; display: flex; flex-wrap: wrap; gap: 7px; border-top: 1px solid #edf0f5; background: white; }
.ben-options:empty { display: none; }
.ben-options button { padding: 8px 11px; border: 1px solid #c9d9f8; border-radius: 99px; color: #2457c5; background: #f5f8ff; cursor: pointer; font-size: .72rem; font-weight: 650; transition: .18s; }
.ben-options button:hover { color: white; border-color: var(--blue); background: var(--blue); transform: translateY(-1px); }
.ben-options button.support { color: #14764d; border-color: #b9e8d1; background: #effbf5; }
.ben-options button.support:hover { color: white; border-color: #189c62; background: #189c62; }
.ben-composer { min-height: 65px; padding: 10px; display: flex; align-items: flex-end; gap: 8px; border-top: 1px solid var(--line); background: white; }
.ben-composer textarea { flex: 1; min-width: 0; max-height: 95px; padding: 11px 12px; resize: none; border: 1px solid #dce3ee; border-radius: 14px; outline: none; color: #1c2943; background: #f8fafd; font-size: .82rem; line-height: 1.35; }
.ben-composer textarea:focus { border-color: #8eb0fb; background: white; box-shadow: 0 0 0 3px rgba(36,104,255,.08); }
.ben-composer button { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; color: white; background: linear-gradient(145deg,var(--blue),#1549ba); box-shadow: 0 7px 16px rgba(36,104,255,.25); cursor: pointer; }
.ben-composer svg { width: 18px; fill: currentColor; }
.ben-panel footer { min-height: 29px; padding: 5px 13px 8px; display: flex; align-items: center; justify-content: space-between; color: #98a1b3; background: white; font-size: .62rem; }
.ben-panel footer b { color: #52627f; letter-spacing: .09em; }

.inline-form { position: absolute; z-index: 5; inset: 120px 0 29px; padding: 15px; overflow-y: auto; display: grid; align-content: start; gap: 10px; background: rgba(255,255,255,.99); }
.form-head { margin-bottom: 3px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.form-head div { display: grid; gap: 3px; }
.form-head b { color: #123477; font-size: 1.12rem; }
.form-head small { color: #7b879a; font-size: .7rem; }
.form-head button { width: 30px; height: 30px; border: 1px solid #dce3ed; border-radius: 50%; color: #667187; background: #f4f6fa; cursor: pointer; font-size: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.inline-form label { display: grid; gap: 5px; color: #66738a; font-size: .7rem; font-weight: 700; }
.inline-form input, .inline-form textarea, .inline-form select { width: 100%; padding: 10px 11px; border: 1px solid #dce3ed; border-radius: 9px; outline: none; color: #1d2941; background: #fafbfe; font-size: .78rem; }
.inline-form input:focus, .inline-form textarea:focus, .inline-form select:focus { border-color: #8db0fb; background: white; box-shadow: 0 0 0 3px rgba(36,104,255,.08); }
.inline-form .consent { grid-template-columns: 17px 1fr; align-items: start; gap: 8px; font-weight: 500; line-height: 1.45; }
.inline-form .consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--blue); }
.form-submit { padding: 12px; border: 0; border-radius: 10px; color: white; background: linear-gradient(120deg,var(--blue),#174bc0); font-weight: 750; cursor: pointer; }
.form-note { margin: 0; color: #8290a5; font-size: .66rem; line-height: 1.5; }

.demo-toast { position: fixed; z-index: 100; right: 25px; bottom: 25px; max-width: 350px; padding: 13px 16px; border: 1px solid #bce8d2; border-radius: 12px; color: #116c44; background: #f0fff7; box-shadow: var(--shadow); font-size: .8rem; }

/* Commander */
.commander-body { background: #07080e; color: #edf2ff; }
.command-shell { --surface:#11131c; --surface-2:#161924; --command-line:rgba(255,255,255,.08); min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0,1fr); background: radial-gradient(circle at 72% 0,rgba(36,104,255,.1),transparent 25%),#080910; }
.command-sidebar { position: sticky; top: 0; height: 100vh; padding: 18px 12px; display: flex; flex-direction: column; border-right: 1px solid var(--command-line); background: #0b0c13; }
.command-brand { min-height: 76px; padding: 7px 8px 18px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--command-line); }
.command-brand img { width: 150px; padding: 7px; border-radius: 9px; background: white; }
.command-brand span { color: #79a5ff; font-family: "Arial Narrow",sans-serif; font-size: .65rem; font-weight: 800; letter-spacing: .15em; writing-mode: vertical-rl; }
.command-sidebar nav { padding: 18px 0; display: grid; gap: 4px; }
.command-sidebar nav button, .command-sidebar nav a { width: 100%; min-height: 43px; padding: 0 13px; border: 0; border-radius: 9px; display: flex; align-items: center; gap: 11px; color: #929bb1; background: transparent; text-align: left; cursor: pointer; font-size: .78rem; font-weight: 600; }
.command-sidebar nav button:hover, .command-sidebar nav a:hover { color: white; background: rgba(255,255,255,.05); }
.command-sidebar nav .active { color: white; background: linear-gradient(100deg,var(--blue),#174cbd); box-shadow: 0 9px 25px rgba(36,104,255,.23); }
.command-sidebar nav i { width: 18px; color: #78a2fb; font-style: normal; text-align: center; }
.command-sidebar nav .active i { color: white; }
.command-sidebar nav b { margin-left: auto; min-width: 23px; padding: 2px 6px; border-radius: 20px; color: #86aaff; background: rgba(36,104,255,.17); font-size: .65rem; text-align: center; }
.command-sidefoot { margin-top: auto; padding: 15px 8px 5px; display: grid; gap: 5px; border-top: 1px solid var(--command-line); }
.command-sidefoot b { color: #70a3ff; font-size: .68rem; letter-spacing: .08em; }
.command-sidefoot span { color: #626b80; font-size: .68rem; }
.command-main { min-width: 0; padding: 0 22px 38px; }
.command-top { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--command-line); }
.command-top p { margin: 0 0 3px; color: #718bd0; font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.command-top h1 { margin: 0; color: white; font-family: "Arial Narrow",Inter,sans-serif; font-size: 1.65rem; letter-spacing: .09em; }
.command-actions { display: flex; align-items: center; gap: 9px; }
.live-chip { padding: 11px 14px; border: 1px solid rgba(36,209,126,.36); border-radius: 11px; color: #dffff0; background: rgba(36,209,126,.07); font-size: .72rem; font-weight: 750; }
.live-chip i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(36,209,126,.7); }
.command-actions a, .command-actions button { min-height: 39px; padding: 0 13px; border: 1px solid var(--command-line); border-radius: 10px; color: #b7bfd1; background: #13151e; cursor: pointer; font-size: .72rem; }
.pilot-ribbon { margin: 15px 0; min-height: 44px; padding: 8px 13px; display: flex; align-items: center; gap: 11px; border: 1px solid rgba(36,104,255,.22); border-radius: 10px; background: rgba(36,104,255,.06); }
.pilot-ribbon b { padding: 4px 7px; border-radius: 5px; color: white; background: var(--blue); font-size: .62rem; letter-spacing: .12em; }
.pilot-ribbon span { color: #9ea9c0; font-size: .72rem; }
.metric-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; }
.metric { min-height: 111px; padding: 15px; border: 1px solid var(--command-line); border-radius: 13px; background: linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.012)); }
.metric > span { display: block; color: #8f98ad; font-size: .68rem; }
.metric strong { display: block; margin: 8px 0 5px; color: white; font-size: 1.9rem; line-height: 1; }
.metric strong.green { color: var(--green); }
.metric strong.blue { color: #70a3ff; }
.metric strong.pink { color: #ff719c; }
.metric small { color: #60697e; font-size: .65rem; }
.command-grid { margin-top: 15px; display: grid; grid-template-columns: minmax(0,2.1fr) minmax(300px,.9fr); gap: 15px; }
.command-card { overflow: hidden; border: 1px solid var(--command-line); border-radius: 14px; background: rgba(17,19,28,.94); }
.command-card > header { min-height: 58px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--command-line); }
.command-card > header > div { display: flex; align-items: center; gap: 9px; }
.command-card h2 { margin: 0; color: #f6f8ff; font-size: .95rem; letter-spacing: .03em; }
.command-card header span { color: #74a2ff; }
.command-card header em { color: #43dc91; font-size: .68rem; font-style: normal; }
.command-card header em i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); }
.pipeline { min-height: 402px; padding: 11px; display: grid; grid-template-columns: repeat(5,minmax(160px,1fr)); gap: 8px; overflow-x: auto; }
.pipeline-column, .ticket-column { min-width: 160px; overflow: hidden; border: 1px solid rgba(255,255,255,.05); border-radius: 9px; background: #0d0f16; }
.pipeline-column > header, .ticket-column > header { min-height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--command-line); }
.pipeline-column > header span, .ticket-column > header span { color: #b5bdcf; font-size: .68rem; font-weight: 750; }
.pipeline-column > header b, .ticket-column > header b { min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 11px; color: #83a8ff; background: rgba(36,104,255,.15); font-size: .62rem; }
.pipeline-column > div, .ticket-column > div { padding: 7px; display: grid; align-content: start; gap: 7px; }
.lead-card, .ticket-card { padding: 10px; border: 1px solid var(--command-line); border-radius: 8px; background: #171a24; box-shadow: 0 8px 20px rgba(0,0,0,.13); }
.lead-card .card-top, .ticket-card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.lead-card strong, .ticket-card strong { color: #f6f8ff; font-size: .72rem; }
.lead-card time, .ticket-card time { color: #697287; font-size: .6rem; }
.lead-card p, .ticket-card p { margin: 7px 0; color: #a4adbf; font-size: .68rem; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.card-tags span { padding: 3px 5px; border-radius: 4px; color: #86aaff; background: rgba(36,104,255,.11); font-size: .57rem; text-transform: uppercase; }
.card-tags .urgent { color: #ff7aa2; background: rgba(240,90,139,.12); }
.card-foot { margin-top: 8px; padding-top: 7px; display: flex; justify-content: space-between; align-items: center; gap: 6px; border-top: 1px solid var(--command-line); }
.card-foot button { padding: 5px 7px; border: 1px solid var(--command-line); border-radius: 5px; color: #aab3c6; background: #0c0e14; cursor: pointer; font-size: .58rem; }
.empty-column { margin: 12px 4px; color: #555e73; font-size: .62rem; text-align: center; }
.now-card { min-height: 480px; }
.ben-orbit { width: 138px; height: 138px; margin: 25px auto 18px; position: relative; display: grid; place-items: center; }
.ben-orbit::before { content: ""; position: absolute; inset: 4px; border: 2px solid rgba(36,209,126,.76); border-left-color: transparent; border-radius: 50%; filter: drop-shadow(0 0 9px rgba(36,209,126,.33)); animation: spin 8s linear infinite; }
.ben-orbit::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(36,104,255,.72); border-radius: 50%; box-shadow: 0 0 30px rgba(36,104,255,.28); }
.ben-orbit img { width: 94px; height: 94px; position: relative; z-index: 1; border-radius: 50%; background: white; }
.now-stats { padding: 0 14px 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.now-stats div { min-height: 70px; padding: 11px; border: 1px solid var(--command-line); border-radius: 9px; background: #171a24; }
.now-stats span { color: #7c859a; font-size: .62rem; }
.now-stats strong { display: block; margin-top: 6px; color: white; font-size: 1.35rem; }
.activity-list { margin: 0 14px 14px; padding-top: 11px; display: grid; gap: 9px; border-top: 1px solid var(--command-line); }
.activity { display: grid; grid-template-columns: 7px 1fr auto; align-items: center; gap: 8px; }
.activity > i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.activity span { min-width: 0; display: grid; gap: 2px; }
.activity b, .activity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity b { color: #d8deeb; font-size: .67rem; }
.activity small, .activity time { color: #687186; font-size: .58rem; }
.customer-care { margin-top: 15px; }
.ticket-board { padding: 11px; display: grid; grid-template-columns: repeat(5,minmax(170px,1fr)); gap: 8px; overflow-x: auto; }
.ticket-column { min-width: 170px; min-height: 185px; }
.ticket-column > header b { color: #ff7aa2; background: rgba(240,90,139,.12); }
.ticket-card { border-left: 2px solid #5d91ff; }
.ticket-card.urgent { border-left-color: var(--pink); }
.ticket-code { color: #77a3ff !important; font-size: .62rem !important; letter-spacing: .06em; }
.command-bottom { margin-top: 15px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 15px; }
.segment-bars { padding: 16px; display: grid; gap: 12px; }
.segment-bar { display: grid; grid-template-columns: 150px 1fr 30px; align-items: center; gap: 10px; }
.segment-bar span { color: #99a3b7; font-size: .68rem; }
.segment-bar i { height: 7px; overflow: hidden; border-radius: 8px; background: #0c0e14; }
.segment-bar b { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--blue),var(--blue-bright)); }
.segment-bar strong { color: white; font-size: .7rem; text-align: right; }
.guardrail-list { margin: 0; padding: 16px 19px; list-style: none; display: grid; gap: 12px; }
.guardrail-list li { color: #a8b0c2; font-size: .69rem; }
.guardrail-list i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); }

/* Installation page */
.install-body { background: #f4f8fd; }
.install-main { max-width: 1240px; margin: 0 auto; padding: 58px 30px 85px; }
.install-intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); align-items: end; gap: 50px; }
.install-intro h1 { max-width: 760px; margin: 16px 0 18px; color: #09193a; font-size: clamp(2.7rem,5vw,5rem); line-height: .98; letter-spacing: -.055em; }
.install-intro h1 em { color: var(--blue); font-style: normal; }
.install-intro p { max-width: 720px; margin: 0; color: #5f6d85; font-size: 1rem; line-height: 1.7; }
.install-summary { padding: 21px; display: grid; gap: 13px; border: 1px solid #d9e5f2; border-radius: 17px; background: white; box-shadow: 0 15px 45px rgba(25,61,113,.08); }
.install-summary div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.install-summary div + div { padding-top: 12px; border-top: 1px solid #e8edf4; }
.install-summary span { color: #748198; font-size: .78rem; }
.install-summary b { color: #183260; font-size: .82rem; }
.install-summary .ready { color: #138459; }
.install-grid { margin-top: 50px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px; }
.requirement-card { padding: 23px; border: 1px solid #dbe5f1; border-radius: 17px; background: white; box-shadow: 0 10px 32px rgba(26,61,111,.06); }
.requirement-card header { display: flex; align-items: center; gap: 13px; }
.requirement-card header > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; color: var(--blue); background: #eaf2ff; font-weight: 800; }
.requirement-card h2 { margin: 0; color: #182a4c; font-size: 1.05rem; }
.requirement-card > p { margin: 9px 0 17px 55px; color: #7a879a; font-size: .78rem; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 27px; color: #56647b; font-size: .82rem; line-height: 1.48; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; color: #167d52; background: #e4f8ee; font-size: .65rem; font-weight: 800; }
.timeline { margin-top: 42px; padding: 29px; border-radius: 20px; color: white; background: radial-gradient(circle at 85% 0,rgba(66,184,255,.25),transparent 30%),linear-gradient(120deg,#081637,#103278); box-shadow: 0 24px 60px rgba(12,43,104,.2); }
.timeline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; }
.timeline h2 { margin: 0; font-size: 1.45rem; }
.timeline-head p { max-width: 530px; margin: 0; color: #b9cae9; font-size: .8rem; line-height: 1.5; }
.timeline-steps { margin-top: 27px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.timeline-steps article { padding: 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.05); }
.timeline-steps span { color: #74a7ff; font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.timeline-steps b { display: block; margin: 12px 0 7px; font-size: .86rem; }
.timeline-steps p { margin: 0; color: #aebfdf; font-size: .72rem; line-height: 1.5; }
.responsibility-grid { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.responsibility { padding: 23px; border: 1px solid #dbe5f1; border-radius: 17px; background: white; }
.responsibility h2 { margin: 0 0 17px; color: #172b51; font-size: 1.05rem; }
.responsibility ul { margin: 0; padding-left: 18px; display: grid; gap: 9px; color: #5d6b82; font-size: .8rem; line-height: 1.45; }
.install-cta { margin-top: 18px; padding: 24px 27px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid #d6e3f1; border-radius: 17px; background: white; }
.install-cta div { display: grid; gap: 5px; }
.install-cta b { color: #142b56; font-size: 1rem; }
.install-cta span { color: #748198; font-size: .78rem; }
.install-cta button { padding: 12px 17px; border: 0; border-radius: 10px; color: white; background: var(--blue); cursor: pointer; font-weight: 750; }

@media (max-width: 1180px) {
  .demo-nav { grid-template-columns: 1fr auto; }
  .demo-nav nav { order: 3; grid-column: 1 / -1; justify-self: center; margin-bottom: 10px; }
  .simulation-badge { grid-column: 2; grid-row: 1; }
  .storefront-hero { grid-template-columns: 1fr .78fr; }
  .solution-strip { grid-template-columns: repeat(2,1fr); }
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .command-shell { grid-template-columns: 205px minmax(0,1fr); }
  .command-grid { grid-template-columns: 1fr; }
  .now-card { min-height: auto; }
}

@media (max-width: 800px) {
  .demo-nav { position: relative; min-height: auto; padding: 14px 16px; display: flex; flex-wrap: wrap; gap: 12px; }
  .brand img { width: 132px; }
  .brand > span { display: none; }
  .simulation-badge { margin-left: auto; }
  .demo-nav nav { order: 3; width: 100%; overflow-x: auto; justify-content: flex-start; margin: 0; }
  .demo-nav nav a { padding: 9px 13px; }
  .storefront-hero { min-height: 630px; padding: 52px 23px 120px; display: block; }
  .hero-copy h1 { font-size: clamp(3rem,13vw,4.4rem); }
  .water-orbit { position: absolute; width: 330px; right: -150px; top: 220px; opacity: .22; }
  .floating-note { display: none; }
  .solution-strip { margin-top: -68px; grid-template-columns: 1fr; }
  .demo-explainer { align-items: flex-start; flex-direction: column; gap: 16px; }
  .ben-widget { right: 10px; bottom: 12px; }
  .ben-launcher { width: min(320px,calc(100vw - 20px)); }
  .ben-panel { position: fixed; inset: 8px 8px 8px; width: auto; height: auto; min-height: 0; border-radius: 20px; }
  .inline-form { inset: 120px 0 29px; }
  .command-shell { display: block; }
  .command-sidebar { position: static; height: auto; padding: 10px; }
  .command-brand { min-height: 58px; border: 0; }
  .command-sidebar nav { padding: 7px 0; display: flex; overflow-x: auto; }
  .command-sidebar nav button, .command-sidebar nav a { min-width: max-content; width: auto; }
  .command-sidefoot { display: none; }
  .command-main { padding: 0 12px 30px; }
  .command-top { align-items: flex-start; padding: 15px 0; }
  .command-actions a, .command-actions button { display: none; }
  .metric-grid { grid-template-columns: repeat(2,1fr); }
  .command-bottom { grid-template-columns: 1fr; }
  .install-main { padding: 40px 18px 60px; }
  .install-intro { grid-template-columns: 1fr; gap: 26px; }
  .install-grid, .responsibility-grid { grid-template-columns: 1fr; }
  .timeline-head { align-items: flex-start; flex-direction: column; }
  .timeline-steps { grid-template-columns: 1fr 1fr; }
  .install-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  .simulation-badge { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-action, .secondary-action { width: 100%; }
  .trust-row { gap: 10px; }
  .trust-row li + li { padding-left: 10px; }
  .field-row { grid-template-columns: 1fr; }
  .timeline { padding: 22px; }
  .timeline-steps { grid-template-columns: 1fr; }
  .ben-identity .ben-avatar { width: 46px; height: 46px; }
  .ben-identity small span { max-width: 78px; }
  .language-button { min-width: 105px; padding: 0 8px; font-size: .64rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
