/* ════════════════════════════════════════════════════════════════════════════
   AVA LXP Feature Showcase — Two-column layout
   ════════════════════════════════════════════════════════════════════════════ */



*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

.image-container{
    width:100%;
    margin-bottom:24px;
}

.lxp-images{
    width:100%;
    height:auto;
    display:block;
    border-radius:12px;
    border:1px solid #E5E7EB;
    object-fit:contain;
    background:#fff;
}

:root {
  --font:      'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Cascadia Code', 'Fira Code', monospace;

  /* Dark sidebar */
  --sb-bg:      #0B1120;
  --sb-surface: #111827;
  --sb-border:  rgba(255,255,255,.07);
  --sb-hover:   rgba(255,255,255,.05);
  --sb-active:  rgba(255,255,255,.09);

  /* Light detail panel */
  --dp-bg:     #F8FAFC;
  --card-bg:   #FFFFFF;
  --border:    #E2E8F0;

  /* Text */
  --t1:  #0F172A;
  --t2:  #334155;
  --t3:  #64748B;
  --t4:  #94A3B8;

  /* Status */
  --s-avail-bg: #DCFCE7; --s-avail-fg: #15803D; --s-avail-bd: #86EFAC;
  --s-dev-bg:   #DBEAFE; --s-dev-fg:   #1D4ED8; --s-dev-bd:   #93C5FD;
  --s-soon-bg:  #F3E8FF; --s-soon-fg:  #7C3AED; --s-soon-bd:  #C4B5FD;

  --sidebar-w: 284px;
  --top-h:     56px;

  --r:    10px;
  --r-lg: 18px;

  --sh-1: 0 1px 3px rgba(0,0,0,.06);
  --sh-2: 0 4px 20px rgba(0,0,0,.09);
  --sh-x: 0 24px 64px rgba(0,0,0,.18);
}

html, body { height: 100%; }
html { font-size: 15px; }
body {
  font-family: var(--font);
  background: var(--sb-bg);
  color: var(--t1);
  overflow: hidden;
}

#root {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Top bar ──────────────────────────────────────────────────────────────── */
.topbar {
  height: var(--top-h);
  background: var(--sb-bg);
  border-bottom: 1px solid var(--sb-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 0;
  flex-shrink: 0;
  z-index: 50;
}
.topbar-brand {
  width: var(--sidebar-w);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: 1px solid var(--sb-border);
  height: 100%;
  flex-shrink: 0;
}
.brand-logo {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, #6366F1, #A855F7);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 900; color: #FFF;
  letter-spacing: -.05em;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: .9rem; font-weight: 800; color: #FFF; letter-spacing: -.02em; }
.brand-sub  { font-size: .62rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .07em; }

.topbar-right {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
}
.topbar-feature-title {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-meta {
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
}

/* ── Body split ───────────────────────────────────────────────────────────── */
.app-body {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Sidebar ──────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--sb-bg);
  border-right: 1px solid var(--sb-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Search */
.sb-search-wrap {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sb-border);
  flex-shrink: 0;
}
.sb-search {
  width: 100%;
  padding: 8px 12px 8px 34px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  color: #FFF;
  font-size: .8rem;
  font-family: var(--font);
  outline: none;
  transition: background .15s, border-color .15s;
  position: relative;
}
.sb-search::placeholder { color: rgba(255,255,255,.28); }
.sb-search:focus { background: rgba(255,255,255,.09); border-color: rgba(99,102,241,.5); }
.sb-search-wrap { position: relative; }
.sb-search-wrap::before {
  content: '';
  position: absolute;
  left: 24px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.3)' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center;
  pointer-events: none;
  z-index: 1;
}

/* Feature list */
.sb-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0 24px;
}
.sb-list::-webkit-scrollbar { width: 4px; }
.sb-list::-webkit-scrollbar-track { background: transparent; }
.sb-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

/* Group header */
.sb-group-header {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 16px 6px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  cursor: default;
  user-select: none;
}
.sb-group-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gc, #6366F1);
  flex-shrink: 0;
}

/* Feature item */
.sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background .12s;
  border-left: 3px solid transparent;
  position: relative;
}
.sb-item:hover { background: var(--sb-hover); }
.sb-item.active {
  background: var(--sb-active);
  border-left-color: var(--ic, #6366F1);
}
.sb-item.hidden { display: none; }

.sb-item-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ic, #6366F1);
  flex-shrink: 0;
  opacity: .7;
}
.sb-item.active .sb-item-dot { opacity: 1; }

.sb-item-title {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.3;
  flex: 1;
}
.sb-item.active .sb-item-title { color: rgba(255,255,255,.9); font-weight: 600; }
.sb-item:hover .sb-item-title   { color: rgba(255,255,255,.75); }

.sb-item-status {
  width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
}
.sst-avail { background: #4ADE80; }
.sst-dev   { background: #60A5FA; }
.sst-soon  { background: #A78BFA; }

.sb-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.2);
}

/* Sidebar footer */
.sb-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--sb-border);
  font-size: .68rem;
  color: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* ── Detail Panel ─────────────────────────────────────────────────────────── */
.detail-panel {
  flex: 1;
  background: var(--dp-bg);
  overflow-y: auto;
}
.detail-panel::-webkit-scrollbar { width: 6px; }
.detail-panel::-webkit-scrollbar-track { background: transparent; }
.detail-panel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }

/* ── Empty / welcome state ─────────────────────────────────────────────────── */
.dp-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--top-h));
  text-align: center;
  padding: 40px 24px;
  gap: 12px;
}
.dp-welcome-icon { font-size: 3rem; opacity: .35; }
.dp-welcome h2 { font-size: 1.1rem; font-weight: 600; color: var(--t3); }
.dp-welcome p  { font-size: .875rem; color: var(--t4); max-width: 320px; }

/* ── Hero header ─────────────────────────────────────────────────────────── */
.dp-hero {
  background: linear-gradient(150deg,
    color-mix(in srgb, var(--feat-color, #6366F1) 13%, #ffffff) 0%,
    color-mix(in srgb, var(--feat-color, #6366F1) 4%, #F8FAFC) 100%
  );
  border-bottom: 1px solid color-mix(in srgb, var(--feat-color, #6366F1) 18%, #E2E8F0);
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
.dp-hero-blob {
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--feat-color, #6366F1) 22%, transparent),
    transparent 70%
  );
  pointer-events: none;
}
.dp-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
.dp-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.dp-hero-group {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--feat-color, #6366F1);
  background: color-mix(in srgb, var(--feat-color, #6366F1) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--feat-color, #6366F1) 28%, transparent);
  padding: 5px 14px;
  border-radius: 100px;
}
.dp-hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--t1);
  letter-spacing: -.05em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.dp-hero-tagline {
  font-size: 1.1rem;
  color: var(--t2);
  line-height: 1.65;
  max-width: 620px;
  font-weight: 400;
}

/* Status badge */
.dp-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 100px;
}
.dp-status .dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.ds-avail { background: var(--s-avail-bg); color: var(--s-avail-fg); border: 1px solid var(--s-avail-bd); }
.ds-avail .dot { background: var(--s-avail-fg); }
.ds-dev   { background: var(--s-dev-bg);   color: var(--s-dev-fg);   border: 1px solid var(--s-dev-bd); }
.ds-dev .dot   { background: var(--s-dev-fg); }
.ds-soon  { background: var(--s-soon-bg);  color: var(--s-soon-fg);  border: 1px solid var(--s-soon-bd); }
.ds-soon .dot  { background: var(--s-soon-fg); }

/* ── Feature detail body ─────────────────────────────────────────────────── */
.dp-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 48px 72px;
}

/* ── Image placeholder ───────────────────────────────────────────────────── */
.img-ph {
  width: 100%;
  border-radius: var(--r-lg);
  border: 2px dashed var(--border);
  background: linear-gradient(135deg, #F1F5F9 0%, #EEF2FF 50%, #F8FAFC 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--t4);
  padding: 40px 24px;
  margin-bottom: 32px;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.img-ph:hover {
  border-color: var(--feat-color, #6366F1);
  background: linear-gradient(135deg, #EEF2FF 0%, #F0F0FF 50%, #F5F5FF 100%);
}
.img-ph--tall  { min-height: 320px; }
.img-ph--short { min-height: 200px; }

/* decorative blobs in placeholder */
.img-ph::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(135deg, var(--feat-color, #6366F1), transparent);
  opacity: .05;
  right: -60px; bottom: -60px;
  pointer-events: none;
}
.img-ph::after {
  content: '';
  position: absolute;
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--feat-color, #6366F1), transparent);
  opacity: .04;
  left: -30px; top: -30px;
  pointer-events: none;
}

.img-ph-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.img-ph-label { font-size: .875rem; font-weight: 600; color: var(--t3); z-index: 1; }
.img-ph-hint  { font-size: .72rem;  color: var(--t4); z-index: 1; }

.img-ph-tag {
  position: absolute;
  top: 12px; right: 12px;
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--t4);
  background: rgba(255,255,255,.7);
  padding: 3px 9px; border-radius: 6px;
  border: 1px solid var(--border);
}

/* ── Body sections ─────────────────────────────────────────────────────────── */
.dp-section { margin-bottom: 32px; }
.dp-section-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--t4);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.dp-section-label::after {
  content: '';
  flex: 1; height: 1px;
  background: var(--border);
}

.dp-overview  { font-size: .95rem; color: var(--t2); line-height: 1.8; margin-bottom: 14px; }
.dp-detail    { font-size: .9rem;  color: var(--t3); line-height: 1.8; }

/* Capabilities list */
.dp-caps { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.dp-cap-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .9rem; color: var(--t1); line-height: 1.5;
}
.dp-cap-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--feat-color, #6366F1), color-mix(in srgb, var(--feat-color, #6366F1) 60%, #A855F7));
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.dp-cap-check svg { width: 11px; height: 11px; color: #FFF; }

/* Benefit highlight */
.dp-benefit {
  background: linear-gradient(135deg, color-mix(in srgb, var(--feat-color, #6366F1) 8%, white), #FFFFFF);
  border: 1px solid color-mix(in srgb, var(--feat-color, #6366F1) 20%, #E2E8F0);
  border-left: 4px solid var(--feat-color, #6366F1);
  border-radius: var(--r);
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--t1);
  line-height: 1.65;
}

/* ── Search highlight ────────────────────────────────────────────────────── */
.hl { background: #FEF9C3; border-radius: 2px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --sidebar-w: 240px; }
  .dp-hero        { padding: 32px 0 28px; }
  .dp-hero-inner  { padding: 0 24px; }
  .dp-hero-title  { font-size: 1.8rem; }
  .dp-content     { padding: 28px 24px 60px; }
}
@media (max-width: 640px) {
  .topbar-brand  { width: 100%; border-right: none; }
  .app-body      { flex-direction: column; }
  .sidebar       { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid var(--sb-border); }
  .dp-hero       { padding: 24px 0 20px; }
  .dp-hero-inner { padding: 0 16px; }
  .dp-hero-title { font-size: 1.4rem; }
  .dp-content    { padding: 20px 16px 48px; }
}

