/* ── LiveStack page scoped styles ── */
#ls-page {
  background: #0d1e35;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #f1f5f9;
  overflow-x: hidden;
  margin-top: -67px; /* counteract .page-content padding-top */
}
#ls-page a { color: inherit; text-decoration: none; }

/* Navbar */
.ls-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(9,22,40,0.88);
  border-bottom: 1px solid rgba(59,130,246,0.10);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  transition: all 0.3s ease;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.ls-navbar.scrolled {
  background: rgba(9,22,40,0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.55);
  border-bottom-color: rgba(59,130,246,0.18);
}
.ls-nav-brand { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.ls-nav-ofbi-logo { height: 44px; width: auto; object-fit: contain; opacity: 0.9; }
.ls-nav-divider { width: 1px; height: 28px; background: rgba(59,130,246,0.25); }
.ls-nav-product { display: flex; flex-direction: column; line-height: 1.2; }
.ls-nav-product-name {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff 0%, #22d3ee 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ls-nav-product-sub {
  font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.50);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.ls-nav-right { display: flex; align-items: center; gap: 10px; }
.ls-btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.10); cursor: pointer; transition: all 0.2s ease;
}
.ls-btn-back:hover { background: rgba(255,255,255,0.10); color: #fff; }
.ls-btn-signin-nav {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 22px; border-radius: 9px; font-size: 0.875rem; font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff; border: none; cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(59,130,246,0.30);
}
.ls-btn-signin-nav:hover {
  filter: brightness(1.12); transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(59,130,246,0.50);
}
.ls-nav-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; color: rgba(255,255,255,0.40);
  padding: 6px 12px; border-radius: 20px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.18);
}
.ls-nav-status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #10b981;
  animation: lsStatusPulse 2s ease-in-out infinite;
}
@keyframes lsStatusPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(1.35); }
}

/* Scroll progress — z-index above global green track */
#ls-scroll-track {
  position: fixed !important; top: 0 !important; left: 0 !important;
  height: 3px !important; width: 100% !important; z-index: 10001 !important;
  background: rgba(148,163,184,0.15) !important;
  pointer-events: none;
}
#ls-scroll-bar {
  height: 100% !important; width: 0%;
  background: linear-gradient(90deg, #93c5fd 0%, #3b82f6 50%, #1d4ed8 100%) !important;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(59,130,246,0.80) !important;
}

/* Hero */
.ls-hero {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 55% at 65% 38%, rgba(75,142,247,0.14) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 15% 75%, rgba(16,196,228,0.09) 0%, transparent 60%),
    linear-gradient(160deg, #091628 0%, #0d1e35 45%, #102038 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.ls-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: lsGridDrift 28s linear infinite;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 75%);
}
@keyframes lsGridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 64px 64px; }
}
.ls-orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.ls-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.16) 0%, transparent 70%);
  top: -160px; right: -80px;
  animation: lsOrbFloat1 18s ease-in-out infinite;
}
.ls-orb-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(6,182,212,0.13) 0%, transparent 70%);
  bottom: -60px; left: 5%;
  animation: lsOrbFloat2 22s ease-in-out infinite;
}
.ls-orb-3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 70%);
  top: 40%; left: 48%;
  animation: lsOrbFloat1 26s ease-in-out infinite reverse;
}
@keyframes lsOrbFloat1 {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(24px,-18px) scale(1.04); }
  66%     { transform: translate(-16px,24px) scale(0.97); }
}
@keyframes lsOrbFloat2 {
  0%,100% { transform: translate(0,0) scale(1); }
  40%     { transform: translate(-20px,16px) scale(1.06); }
  75%     { transform: translate(18px,-22px) scale(0.95); }
}

/* ── 3-column hero layout ── */
.ls-hero-3col {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 48px;
  align-items: center;
  flex: 1;
  padding: 96px 16px 72px;
  min-height: calc(100vh - 67px);
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* Center column */
.ls-hero-center {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 8px;
}
.ls-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.30);
  border-radius: 40px; padding: 6px 16px;
  font-size: 0.72rem; font-weight: 700;
  color: #22d3ee; text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 24px;
  animation: lsFadeSlideDown 0.7s ease both;
}
.ls-hero-eyebrow-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22d3ee; box-shadow: 0 0 8px #22d3ee;
  animation: lsStatusPulse 2s ease-in-out infinite;
}
.ls-hero-headline {
  font-size: clamp(2.6rem, 4vw, 4.2rem); font-weight: 900;
  line-height: 1.1; color: #fff; letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: lsFadeSlideUp 0.8s ease 0.1s both;
}
.ls-hero-headline-grad {
  background: linear-gradient(135deg, #fff 20%, #22d3ee 60%, #3b82f6 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: block;
}
.ls-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.62);
  line-height: 1.75; margin-bottom: 38px; font-weight: 400;
  max-width: 420px;
  animation: lsFadeSlideUp 0.8s ease 0.2s both;
}
.ls-hero-sub strong { color: #22d3ee; font-weight: 600; }
.ls-hero-cta {
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  animation: lsFadeSlideUp 0.8s ease 0.3s both;
}
.ls-btn-signin-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; border-radius: 12px; font-size: 1.05rem; font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff; border: none; cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 28px rgba(59,130,246,0.42);
}
.ls-btn-signin-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.60);
  filter: brightness(1.08);
}
.ls-ms-logo { height: 20px; filter: brightness(10); }
.ls-hero-trust {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-top: 28px; flex-wrap: wrap;
  animation: lsFadeSlideUp 0.8s ease 0.4s both;
}
.ls-hero-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: rgba(255,255,255,0.48); font-weight: 500;
}
.ls-hero-trust-check { color: #22d3ee; font-weight: 800; font-size: 0.85rem; }

/* ── Side panels ── */
.ls-side-panel {
  background: rgba(9,18,38,0.65);
  border: 1px solid rgba(59,130,246,0.18);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  animation: lsFadeSlideUp 1s ease 0.2s both;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.04);
}
.ls-side-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, #22d3ee, transparent);
}
.ls-side-panel-header {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px 8px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(59,130,246,0.08);
}
.ls-side-label {
  font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: 0.10em; margin-left: 4px; flex: 1;
}
.ls-panel-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ls-panel-live-badge {
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.35);
  color: #10b981; font-size: 0.58rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.08em;
  animation: lsLivePulse 2.5s ease-in-out infinite;
}
@keyframes lsLivePulse {
  0%,100% { box-shadow: 0 0 0 0   rgba(16,185,129,0.55); }
  50%     { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* Left panel — KPI chips */
.ls-side-kpi-chips {
  display: flex; gap: 6px; padding: 8px 12px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(59,130,246,0.07);
}
.ls-side-kpi-chip {
  flex: 1; background: rgba(6,12,24,0.6);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 8px; padding: 7px 8px; text-align: center;
}
.ls-side-kpi-chip-val {
  font-size: 1rem; font-weight: 800; line-height: 1; margin-bottom: 2px;
}
.ls-side-kpi-chip-lbl {
  font-size: 0.58rem; color: #4a6080; text-transform: uppercase;
  letter-spacing: 0.05em; font-weight: 600;
}

/* Right panel — KPI list */
.ls-side-kpi-list { padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; }
.ls-side-kpi-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 8px; border-radius: 7px;
  border-bottom: 1px solid rgba(59,130,246,0.06);
}
.ls-side-kpi-row:last-child { border-bottom: none; }
.ls-side-kpi-row-lbl {
  font-size: 0.7rem; color: rgba(255,255,255,0.45); font-weight: 500;
}
.ls-side-kpi-row-right {
  display: flex; align-items: center; gap: 6px;
}
.ls-side-kpi-row-val { font-size: 0.95rem; font-weight: 800; line-height: 1; }
.ls-side-kpi-row-delta { font-size: 0.65rem; color: rgba(255,255,255,0.35); }

/* Left panel — Ecosystem SVG (legacy, kept for reference) */
.ls-eco-svg-wrap {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex; align-items: center; justify-content: center;
}

/* ── Vertical stack visual ── */
.ls-stack-visual {
  padding: 14px 14px 16px;
  display: flex; flex-direction: column;
  align-items: center; gap: 5px;
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* Scan-line removed per design update */

/* Individual layer bars */
.ls-stack-layer {
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  border-radius: 8px;
}
.ls-stack-layer:hover {
  transform: scaleX(1.06) !important;
  filter: brightness(1.35);
  z-index: 5;
}

/* Staggered pulse per layer */
@keyframes lsLayerPulse {
  0%, 100% { opacity: 0.72; filter: brightness(0.88); }
  50%      { opacity: 1.00; filter: brightness(1.18); }
}
.ls-stack-layer-0 { animation: lsLayerPulse 4.0s ease-in-out 0.00s infinite; }
.ls-stack-layer-1 { animation: lsLayerPulse 4.0s ease-in-out 0.50s infinite; }
.ls-stack-layer-2 { animation: lsLayerPulse 4.0s ease-in-out 1.00s infinite; }
.ls-stack-layer-3 { animation: lsLayerPulse 4.0s ease-in-out 1.50s infinite; }
.ls-stack-layer-4 { animation: lsLayerPulse 4.0s ease-in-out 2.00s infinite; }
.ls-stack-layer-5 { animation: lsLayerPulse 4.0s ease-in-out 2.50s infinite; }
.ls-stack-layer-6 { animation: lsLayerPulse 4.0s ease-in-out 3.00s infinite; }
.ls-stack-layer-7 { animation: lsLayerPulse 4.0s ease-in-out 3.50s infinite; }

/* Right panel — Analytics cards */
.ls-analytics-stack {
  display: flex; flex-direction: column; gap: 0;
  padding: 6px 10px 10px;
  flex: 1;
}
@keyframes lsCardSeqPulse {
  0%, 55%, 100% { background: rgba(255,255,255,0.022); box-shadow: none; }
  27%           { background: rgba(255,255,255,0.095); box-shadow: 0 0 14px rgba(255,255,255,0.07), inset 0 0 0 1px rgba(255,255,255,0.10); }
}
.ls-analytics-card {
  border-left: 3px solid transparent;
  background: rgba(255,255,255,0.022);
  border-radius: 8px;
  padding: 9px 10px 8px;
  margin-bottom: 6px;
}
.ls-analytics-card:last-child { margin-bottom: 0; }
.ls-analytics-card:hover { background: rgba(255,255,255,0.09) !important; box-shadow: 0 0 16px rgba(255,255,255,0.06) !important; }
.ls-analytics-card:nth-child(1) { animation: lsCardSeqPulse 3.6s ease-in-out 0s   infinite; }
.ls-analytics-card:nth-child(2) { animation: lsCardSeqPulse 3.6s ease-in-out 0.9s infinite; }
.ls-analytics-card:nth-child(3) { animation: lsCardSeqPulse 3.6s ease-in-out 1.8s infinite; }
.ls-analytics-card:nth-child(4) { animation: lsCardSeqPulse 3.6s ease-in-out 2.7s infinite; }
.ls-analytics-card-top {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 5px;
}
.ls-analytics-icon {
  font-size: 0.80rem; line-height: 1; flex-shrink: 0;
}
.ls-analytics-label {
  font-size: 0.60rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.10em;
  flex: 1;
}
.ls-analytics-chip {
  font-size: 0.55rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
  border: 1px solid transparent;
  text-transform: uppercase; letter-spacing: 0.07em;
  flex-shrink: 0;
}
.ls-analytics-title {
  font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.3; margin-bottom: 3px;
}
.ls-analytics-body {
  font-size: 0.68rem; color: rgba(255,255,255,0.42);
  line-height: 1.55; margin: 0;
}

/* Dashboards section */
.ls-dashboards {
  background: #102038;
  padding: 96px 80px;
  border-top: 1px solid rgba(59,130,246,0.08);
}
.ls-dashboards-inner { max-width: 1280px; margin: 0 auto; }
.ls-section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; color: #22d3ee;
  background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.22);
  padding: 5px 14px; border-radius: 40px; margin-bottom: 14px;
}
.ls-section-title {
  font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 900;
  color: #fff; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 14px;
}
.ls-section-sub {
  font-size: 1rem; color: rgba(255,255,255,0.5);
  line-height: 1.75; margin-bottom: 56px; max-width: 520px;
}
.ls-cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.ls-dash-card {
  background: rgba(13,27,46,0.6);
  border: 1px solid rgba(59,130,246,0.12);
  border-radius: 18px; padding: 2rem;
  position: relative; overflow: hidden;
  transition: all 0.3s ease; cursor: pointer;
}
.ls-dash-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(59,130,246,0.12);
}
.ls-dash-icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
}
.ls-dash-name  { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem; }
.ls-dash-desc  { font-size: 0.84rem; color: rgba(255,255,255,0.48); line-height: 1.65; }

/* CTA strip */
.ls-cta-strip {
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(75,142,247,0.10) 0%, transparent 65%), #0d1e35;
  padding: 96px 80px; text-align: center;
  border-top: 1px solid rgba(59,130,246,0.08);
}
.ls-cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900;
  color: #fff; letter-spacing: -0.025em; line-height: 1.1;
  margin-bottom: 18px;
}
.ls-cta-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.50);
  margin-bottom: 36px; max-width: 440px; margin-left: auto; margin-right: auto;
}
.ls-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.ls-cta-contact { font-size: 0.84rem; color: rgba(255,255,255,0.35); }
.ls-cta-contact a { color: #94a3b8; transition: color 0.2s; }
.ls-cta-contact a:hover { color: #22d3ee; }

/* Footer */
.ls-footer {
  background: #091628;
  border-top: 1px solid rgba(59,130,246,0.10);
  padding: 2.5rem 80px;
}
.ls-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.ls-footer-brand { display: flex; align-items: center; gap: 12px; }
.ls-footer-logo  { height: 30px; opacity: 0.7; transition: opacity 0.2s; }
.ls-footer-logo:hover { opacity: 1; }
.ls-footer-brand-text { font-size: 0.82rem; color: rgba(255,255,255,0.35); line-height: 1.4; }
.ls-footer-brand-name { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.6); }
.ls-footer-links { display: flex; gap: 1.5rem; align-items: center; }
.ls-footer-link  { font-size: 0.80rem; color: rgba(255,255,255,0.32); transition: color 0.2s; cursor: pointer; }
.ls-footer-link:hover { color: #22d3ee; }

/* Animations */
@keyframes lsFadeSlideUp   { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes lsFadeSlideDown { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive */
@media (max-width: 1400px) {
  .ls-hero-3col { grid-template-columns: 260px 1fr 260px; gap: 24px; padding: 88px 32px 64px; }
}
@media (max-width: 1100px) {
  .ls-hero-3col { grid-template-columns: 240px 1fr 240px; gap: 16px; padding: 80px 24px 56px; }
}
@media (max-width: 900px) {
  .ls-hero-3col { grid-template-columns: 1fr; gap: 32px; padding: 80px 40px 48px; }
  .ls-side-panel { max-width: 520px; margin: 0 auto; }
  .ls-hero-center { padding: 0; }
  .ls-navbar { padding: 0 24px; }
  .ls-nav-status { display: none; }
  .ls-dashboards, .ls-cta-strip { padding: 72px 40px; }
  .ls-footer { padding: 2rem 40px; }
}
@media (max-width: 600px) {
  .ls-hero-3col { padding: 72px 20px 40px; }
  .ls-side-panel { max-width: 100%; }
  .ls-hero-headline { font-size: 2.4rem; }
  .ls-cta-strip { padding: 56px 24px; }
  .ls-footer { padding: 1.5rem 24px; }
  .ls-footer-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
