/*
 * BxLens homepage look. Loaded after bx-sites home.css and scoped under .bxsites-home.
 * Palette: the Lens console (deep navy, cyan, mint, blue).
 */
.bxsites-home {
	--brand1: #1af5b0;
	--brand2: #00d4ff;
	--blue: #2f6bff;
	--violet: #7c5cff;
	--grad: linear-gradient(90deg, #1af5b0, #00d4ff 55%, #2f6bff);
	--grad-diag: linear-gradient(135deg, #1af5b0, #00d4ff 55%, #2f6bff);
	--display: "Poppins", ui-sans-serif, system-ui, sans-serif;
	--body-font: "Poppins", ui-sans-serif, system-ui, sans-serif;
	--bg: #f6fbff;
	--surface: #ffffff;
	--surface-2: #eaf6ff;
	--raised: #f1f8ff;
	--text: #08213a;
	--muted: #4d6783;
	--border: rgba(8, 33, 58, .10);
	--border-strong: rgba(8, 33, 58, .18);
}
[data-theme="dark"] .bxsites-home,
[data-theme="dark"].bxsites-home {
	--bg: #060f1b;
	--surface: #0a1a2c;
	--surface-2: #0d2238;
	--raised: #0f2a44;
	--text: #e8f0fa;
	--muted: #93a8c2;
	--border: rgba(255, 255, 255, .09);
	--border-strong: rgba(255, 255, 255, .17);
}
.bxsites-home,
[data-theme="dark"] .bxsites-home {
	background:
		radial-gradient(1000px 520px at 85% -8%, rgba(0, 212, 255, .16), transparent 60%),
		radial-gradient(800px 520px at 5% 6%, rgba(26, 245, 176, .10), transparent 55%),
		radial-gradient(900px 600px at 60% 110%, rgba(47, 107, 255, .14), transparent 60%),
		var(--bg);
}
.bxsites-home h1, .bxsites-home h2, .bxsites-home h3 { font-family: var(--display); letter-spacing: -.015em; }
.bxsites-home .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bxsites-home .bxh-btn-primary { background: var(--grad-diag); color: #04121f; border: 0; box-shadow: 0 8px 28px rgba(0, 212, 255, .28); }
.bxsites-home .bxh-btn-primary:hover { box-shadow: 0 10px 34px rgba(26, 245, 176, .36); transform: translateY(-1px); }
.bxsites-home .eyebrow { color: var(--brand2); }

/* Hero */
.lh-hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.lh-aurora { position: absolute; inset: -20% -10% auto -10%; height: 70%; pointer-events: none; opacity: .55;
	background: conic-gradient(from 210deg at 70% 40%, rgba(26,245,176,.0), rgba(0,212,255,.35), rgba(47,107,255,.35), rgba(26,245,176,.0) 60%);
	filter: blur(70px); animation: lh-drift 18s ease-in-out infinite alternate; }
@keyframes lh-drift { to { transform: translate3d(-4%, 3%, 0) rotate(6deg) scale(1.06); } }
.lh-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 40px; align-items: center; }
.lh-hero h1 { font-size: clamp(2rem, 3.3vw, 3rem); line-height: 1.04; margin: 14px 0 18px; font-weight: 700; }
.lh-hero .lead { font-size: 1.12rem; line-height: 1.65; color: var(--muted); max-width: 34em; }
.lh-hero .lead strong { color: var(--text); }
.lh-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; color: var(--muted); font-size: .86rem; }
.lh-trust li { display: inline-flex; align-items: center; gap: 7px; }
.lh-trust svg { width: 16px; height: 16px; color: var(--brand1); }
.lh-hero-visual { position: relative; perspective: 1600px; }
.lh-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); background: #060f1b;
	box-shadow: 0 40px 90px -20px rgba(0, 20, 60, .55), 0 0 0 1px rgba(0, 212, 255, .12), 0 0 80px rgba(0, 212, 255, .12);
	transform: rotateY(-7deg) rotateX(3deg); transition: transform .5s ease; }
.lh-hero-visual:hover .lh-frame { transform: rotateY(-2deg) rotateX(1deg); }
.lh-frame img { display: block; width: 100%; height: auto; }
.lh-frame-bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #0a1a2c; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lh-frame-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3f58; }
.lh-frame-bar .dot:nth-child(1) { background: #ff5f57; } .lh-frame-bar .dot:nth-child(2) { background: #febc2e; } .lh-frame-bar .dot:nth-child(3) { background: #28c840; }
.lh-frame-bar .url { margin-left: 10px; font: 12px/1 ui-monospace, Menlo, monospace; color: #7f93ad; }
.lh-badge { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600;
	background: rgba(8, 24, 42, .92); color: #e8f0fa; border: 1px solid rgba(0, 212, 255, .35); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); backdrop-filter: blur(8px);
	animation: lh-float 6s ease-in-out infinite; }
.lh-badge svg { width: 16px; height: 16px; color: var(--brand1); }
.lh-badge-1 { top: -16px; left: -18px; } .lh-badge-2 { bottom: 18%; right: -22px; animation-delay: -2s; } .lh-badge-3 { bottom: -18px; left: 8%; animation-delay: -4s; }
@keyframes lh-float { 50% { transform: translateY(-8px); } }

/* Numbers */
.lh-stats { padding: 8px 0 24px; }
.lh-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.lh-stats-row > div { background: var(--surface); padding: 22px 24px; }
.lh-stats-row b { display: block; font: 700 2.4rem/1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lh-stats-row span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.4; }

/* Two surfaces */
.lh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 8px; }
.lh-shot { display: block; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); text-decoration: none; color: inherit;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.lh-shot:hover { transform: translateY(-4px); border-color: rgba(0, 212, 255, .5); box-shadow: 0 24px 60px -24px rgba(0, 212, 255, .4); }
.lh-shot img { display: block; width: 100%; height: auto; }
.lh-shot-cap { padding: 16px 22px 20px; }
.lh-shot-cap h3 { margin: 0 0 6px; font-size: 1.15rem; }
.lh-shot-cap p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.lh-shot-plain { border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .55); }

/* Tour */
.lh-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 26px; }
.lh-tabs button { border: 1px solid var(--border-strong); background: var(--surface); color: var(--muted); border-radius: 999px; padding: 9px 18px; font: 600 .88rem var(--body-font); cursor: pointer; transition: all .2s ease; }
.lh-tabs button:hover { color: var(--text); border-color: rgba(0, 212, 255, .5); }
.lh-tabs button.on { background: var(--grad-diag); color: #04121f; border-color: transparent; box-shadow: 0 8px 24px rgba(0, 212, 255, .28); }
.lh-tour-pane { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 36px; align-items: center; }
.lh-tour-pane img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--border-strong); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.lh-tour-text h3 { font-size: 1.5rem; margin: 0 0 10px; }
.lh-tour-text p { color: var(--muted); line-height: 1.65; }
.lh-tour-text ul, .lh-points { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 9px; }
.lh-tour-text li, .lh-points li { position: relative; padding-left: 24px; color: var(--text); font-size: .95rem; line-height: 1.5; }
.lh-tour-text li:before, .lh-points li:before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad-diag); }
.lh-more { display: inline-block; margin: 6px 18px 0 0; font-weight: 600; color: var(--brand2); text-decoration: none; }
.lh-more:hover { text-decoration: underline; }
[x-cloak] { display: none !important; }

/* Fleet diagram */
.lh-fleet { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; margin: 12px auto 0; max-width: 980px; }
.lh-nodes { display: grid; gap: 10px; }
.lh-node, .lh-store { display: grid; gap: 2px; padding: 14px 20px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface); min-width: 170px; position: relative; }
.lh-node b { font-size: 1rem; } .lh-node small, .lh-store small { color: var(--muted); font-size: .78rem; }
.lh-node .lh-led { position: absolute; right: 14px; top: 16px; width: 10px; height: 10px; border-radius: 50%; }
.lh-led.ok { background: #1af5b0; box-shadow: 0 0 12px #1af5b0; } .lh-led.warn { background: #ffb020; box-shadow: 0 0 12px #ffb020; } .lh-led.down { background: #ff5470; box-shadow: 0 0 12px #ff5470; }
.lh-node.big { min-width: 220px; padding: 22px; border-color: rgba(0, 212, 255, .5); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.lh-store { text-align: center; justify-items: center; min-width: 210px; padding: 24px; border-color: rgba(26, 245, 176, .5); background: linear-gradient(160deg, var(--surface-2), var(--surface)); box-shadow: 0 0 60px rgba(26, 245, 176, .1); }
.lh-store svg { width: 30px; height: 30px; color: var(--brand1); }
.lh-wire { position: relative; width: 90px; height: 120px; display: grid; align-content: space-around; }
.lh-wire.one { height: 4px; align-content: center; width: 70px; }
.lh-wire i { position: relative; display: block; height: 2px; background: linear-gradient(90deg, rgba(26,245,176,.1), rgba(0,212,255,.6)); overflow: hidden; }
.lh-wire i:after { content: ""; position: absolute; top: -1px; left: -30%; width: 30%; height: 4px; border-radius: 4px; background: #fff; box-shadow: 0 0 10px #00d4ff; animation: lh-run 2.2s linear infinite; }
.lh-wire i:nth-child(2):after { animation-delay: -.7s; } .lh-wire i:nth-child(3):after { animation-delay: -1.4s; }
@keyframes lh-run { to { left: 110%; } }

/* Alerts */
.lh-alerts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lh-chips span { padding: 6px 13px; border-radius: 999px; font-size: .8rem; font-weight: 600; border: 1px solid var(--border-strong); background: var(--surface); }
.lh-chips .crit { border-color: rgba(255, 84, 112, .5); color: #ff7088; } .lh-chips .warn { border-color: rgba(255, 176, 32, .5); color: #ffb020; }
[data-theme="light"] .lh-chips .crit { color: #c8243f; } [data-theme="light"] .lh-chips .warn { color: #9a6200; }

/* Lensy */
.lh-lensy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 44px; border-radius: 22px; border: 1px solid var(--border-strong);
	background: radial-gradient(700px 360px at 90% 0%, rgba(47, 107, 255, .22), transparent 60%), radial-gradient(600px 360px at 0% 100%, rgba(26, 245, 176, .12), transparent 60%), var(--surface); }
.lh-lensy h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: 12px 0; }
.lh-lensy p { color: var(--muted); line-height: 1.65; }
.lh-chat { display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: #060f1b; border: 1px solid rgba(255, 255, 255, .1); color: #e8f0fa; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); }
.lh-msg { max-width: 92%; padding: 12px 16px; border-radius: 14px; font-size: .9rem; line-height: 1.5; }
.lh-msg.me { justify-self: end; background: linear-gradient(135deg, #0e4a66, #124b8a); border-bottom-right-radius: 4px; }
.lh-msg.bot { display: flex; gap: 10px; background: #0d2238; border-bottom-left-radius: 4px; }
.lh-avatar { flex: none; width: 28px; height: 28px; }
.lh-approve { margin-top: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(26, 245, 176, .5); background: rgba(26, 245, 176, .07); display: grid; gap: 6px; }
.lh-approve b { color: #1af5b0; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.lh-approve em { font-style: normal; font-weight: 700; }
.lh-approve code { font-size: .74rem; padding: 6px 8px; border-radius: 6px; background: rgba(0, 0, 0, .35); color: #9fdcff; white-space: normal; word-break: break-word; }
.lh-approve-btns { display: flex; gap: 8px; margin-top: 2px; }
.lh-approve-btns span { padding: 5px 14px; border-radius: 8px; font-size: .78rem; font-weight: 700; }
.lh-approve-btns .yes { background: #1af5b0; color: #04121f; } .lh-approve-btns .no { border: 1px solid rgba(255, 255, 255, .25); color: #c5d3e6; }

/* Plans */
.lh-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 980px; margin: 8px auto 0; }
.lh-plan { padding: 30px; border-radius: 18px; border: 1px solid var(--border-strong); background: var(--surface); }
.lh-plan.plus { border-color: rgba(0, 212, 255, .55); background: linear-gradient(170deg, var(--surface-2), var(--surface)); box-shadow: 0 0 70px rgba(0, 212, 255, .12); }
.lh-plan h3 { margin: 0 0 14px; font-size: 1.4rem; }
.lh-plan ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.lh-plan li { position: relative; padding-left: 26px; font-size: .94rem; line-height: 1.5; }
.lh-plan li:before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: var(--grad-diag); }
.lh-tag { margin-left: 8px; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; vertical-align: middle; background: var(--grad-diag); color: #04121f; }

@media (max-width: 992px) {
	.lh-hero-grid, .lh-two, .lh-tour-pane, .lh-alerts, .lh-lensy, .lh-plans { grid-template-columns: 1fr; }
	.lh-frame { transform: none; } .lh-stats-row { grid-template-columns: repeat(2, 1fr); }
	.lh-badge-1 { left: 6px; } .lh-badge-2 { right: 6px; } .lh-lensy { padding: 26px; }
	.lh-wire { transform: rotate(90deg); height: 70px; width: 70px; } .lh-wire.one { height: 4px; }
	.lh-fleet { flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .lh-aurora, .lh-badge, .lh-wire i:after { animation: none; } .lh-frame { transform: none; } }

/* Lensy */
.lh-navlensy { position: relative; font-weight: 600; }
.lh-navlensy:after { content: "new"; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: .62rem; font-weight: 700; text-transform: uppercase; background: var(--grad-diag); color: #04121f; vertical-align: 2px; }
a.lh-badge { text-decoration: none; }
.lh-lensy-big { position: relative; padding: 70px 0 60px; }
.lh-lensy-big:before { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(900px 480px at 15% 10%, rgba(26, 245, 176, .16), transparent 60%), radial-gradient(900px 520px at 90% 30%, rgba(47, 107, 255, .2), transparent 60%); }
.lh-lensy-big .bxh-wrap { position: relative; }
.lh-lensy-head { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.lh-lensy-mark { position: relative; width: 190px; height: 190px; display: grid; place-items: center; border-radius: 50%;
	background: radial-gradient(circle at 50% 40%, rgba(0, 212, 255, .28), rgba(47, 107, 255, .1) 60%, transparent 70%); box-shadow: 0 0 90px rgba(0, 212, 255, .28); animation: lh-pulse 5s ease-in-out infinite; }
.lh-lensy-mark:before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(0, 212, 255, .45); animation: lh-spin 30s linear infinite; }
.lh-lensy-mark img { width: 132px; height: 132px; position: relative; filter: drop-shadow(0 8px 24px rgba(0, 212, 255, .5)); }
@keyframes lh-pulse { 50% { box-shadow: 0 0 120px rgba(26, 245, 176, .35); } }
@keyframes lh-spin { to { transform: rotate(360deg); } }
.lh-lensy-head h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; margin: 12px 0 14px; }
.lh-lensy-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 46em; }
.lh-clips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 1040px; margin-inline: auto; }
.lh-clip { margin: 0; display: grid; gap: 14px; }
.lh-clip-frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); background: #060f1b;
	box-shadow: 0 30px 70px -28px rgba(0, 20, 60, .65), 0 0 0 1px rgba(0, 212, 255, .1); transition: transform .3s ease, box-shadow .3s ease; }
.lh-clip:hover .lh-clip-frame { transform: translateY(-4px); box-shadow: 0 36px 80px -26px rgba(0, 212, 255, .4), 0 0 0 1px rgba(0, 212, 255, .4); }
.lh-clip video { display: block; width: 100%; height: auto; aspect-ratio: 580 / 700; background: #060f1b; }
.lh-clip figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; }
.lh-clip figcaption b { font: 700 1.15rem var(--display); align-self: center; }
.lh-clip figcaption p { grid-column: 2; margin: 4px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.lh-step { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-diag); color: #04121f; font-weight: 800; }
.lh-can { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.lh-can-card { padding: 22px; border-radius: 14px; border: 1px solid var(--border-strong); background: linear-gradient(170deg, var(--surface-2), var(--surface)); }
.lh-can-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.lh-can-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.55; }
.lh-safe { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.lh-safe span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; font-size: .84rem; font-weight: 600; border: 1px solid rgba(26, 245, 176, .4); background: rgba(26, 245, 176, .07); }
.lh-safe svg { width: 16px; height: 16px; color: var(--brand1); }
@media (max-width: 992px) {
	.lh-lensy-head { grid-template-columns: 1fr; justify-items: start; } .lh-clips { grid-template-columns: 1fr; } .lh-can { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .lh-lensy-mark, .lh-lensy-mark:before { animation: none; } }

.lh-plusnote { margin-top: 10px; color: var(--muted); } .lh-plusnote b { color: var(--brand2); }

/* Hero gallery and trailer */
.lh-frame { position: relative; transform: none; }
.lh-hero-visual:hover .lh-frame { transform: none; }
.lh-frame.bxsites-image-gallery { display: block; margin: 0; }
.lh-hero-fig { margin: 0; }
.lh-hero-fig img { cursor: zoom-in; display: block; width: 100%; height: auto; aspect-ratio: 760 / 452; object-fit: contain; border: 0; border-radius: 0; }
.lh-zoomhint { margin-left: auto; font: 600 11px/1 system-ui, sans-serif; color: #7f93ad; letter-spacing: .04em; text-transform: uppercase; }
.lh-trailer-btn { position: absolute; z-index: 3; left: 18px; bottom: -26px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 12px; border: 0; border-radius: 999px; cursor: pointer;
	font: 700 .95rem var(--body-font); color: #04121f; background: var(--grad-diag); box-shadow: 0 12px 34px rgba(0, 212, 255, .45); animation: lh-ring 2.6s ease-out infinite; }
.lh-trailer-btn .play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #04121f; color: #1af5b0; font-size: .8rem; padding-left: 2px; }
.lh-trailer-btn small { font-weight: 600; opacity: .7; }
.lh-trailer-btn:hover { transform: translateY(-2px); }
@keyframes lh-ring { 0% { box-shadow: 0 12px 34px rgba(0, 212, 255, .45), 0 0 0 0 rgba(26, 245, 176, .5); } 70%, 100% { box-shadow: 0 12px 34px rgba(0, 212, 255, .45), 0 0 0 18px rgba(26, 245, 176, 0); } }
.lh-modal { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 32px; background: rgba(2, 8, 16, .9); backdrop-filter: blur(6px); }
.lh-modal-video { width: min(1180px, 100%); max-height: 86vh; border-radius: 14px; background: #000; box-shadow: 0 40px 120px rgba(0, 212, 255, .25); }
.lh-modal-x { position: absolute; top: 18px; right: 26px; border: 0; background: none; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .lh-trailer-btn { animation: none; } }

.lh-badge-3 { left: auto; right: 12px; bottom: -20px; }
.lh-hero-visual { padding-bottom: 28px; }
