/* -------------------------------------------------------
   SOLIVRE UI — Marketing + Home Layout
   Extends system styles (styles.css)
-------------------------------------------------------- */

/* HERO */
.hero {
  max-width: 900px;
  margin: 2.5rem auto 0;
  padding: 2rem 1.5rem;
  text-align: center;
}

.hero .subtitle {
  color: var(--muted);
  margin-top: 0.5rem;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* SECTIONS */
.section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.section h2 {
  margin-bottom: 1.2rem;
}

/* MVP GRID */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  justify-items: stretch;
}

@media (min-width: 1200px) {
  .section {
    max-width: 1000px;
  }
}

/* MVP CARDS */
.mvp-card {
  display: block;
  position: relative;
  text-decoration: none;
  background: var(--card-bg);
  padding: 1.25rem 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  color: var(--text);
}

.mvp-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.mvp-card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.mvp-card p {
  margin: 0.4rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}


.tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.tag.live {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.4);
}

.tag.wip {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  border-color: rgba(249, 115, 22, 0.3);
}

.tag.soon {
  background: rgba(107, 114, 128, 0.12);
  color: var(--muted);
  border-color: rgba(107, 114, 128, 0.3);
}
*/

/* -------------------------------------------------------
   SYSTEM STATUS CARD
-------------------------------------------------------- */

.status-card .status-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.status-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0.35rem 0;
}

/* small pill variants, separate from .tag to avoid conflicts */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.status-pill.live {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.4);
}

.status-pill.wip {
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
  border-color: rgba(249, 115, 22, 0.3);
}

.status-pill.soon {
  background: rgba(107, 114, 128, 0.12);
  color: var(--muted);
  border-color: rgba(107, 114, 128, 0.3);
}
/* -------------------------------------------------------
   GRAPH EXPLORER LAYOUT
-------------------------------------------------------- */

.graph-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(260px, 1.6fr) minmax(220px, 1fr);
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.graph-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.btn-xs {
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
}

/* Identity list */
.identity-list {
  list-style: none;
  padding-left: 0;
  margin: 0.75rem 0 0;
}

.identity-item {
  width: 100%;
  text-align: left;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  transition: var(--transition);
}

.identity-item:hover {
  background: rgba(148, 163, 184, 0.1);
}

.identity-item.active {
  background: rgba(249, 115, 22, 0.12);
  border-color: var(--accent);
}

.identity-id {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--muted);
}

.identity-meta {
  font-size: 0.76rem;
  color: var(--muted);
}

/* Chain view */
.chain-view {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 0.75rem;
  min-height: 140px;
}

.chain-node {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.8);
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.chain-node:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.3);
}

.chain-node-title {
  font-size: 0.85rem;
  font-weight: 600;
}

.chain-node-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.chain-arrow {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.3rem 0;
}

/* Responsive */
@media (max-width: 900px) {
  .graph-layout {
    grid-template-columns: 1fr;
  }
}
