/* ============================================================
   SATX AI hub — tool directory · SaturnX
   Uses the site's own dark palette (--bg/--text/--muted/--accent/
   --border, defined in style.css) rather than an independent theme.
   ============================================================ */

:root {
  --hub-faint: rgba(255, 255, 255, 0.4);
  --hub-green: #3ddc84;
}

/* ---- Layout shell ----
   .satx-hub reuses the site's own .container (same max-width/gutter as
   the header) purely for horizontal alignment; .satx-hub__inner then
   caps the reading measure and sits flush against that shared left
   edge instead of being centered independently. */
.satx-hub {
  position: relative;
  padding-top: 96px;
  padding-bottom: 120px;
}

.satx-hub__inner {
  max-width: 760px;
}

/* ---- Hero ---- */
.satx-hub__hero {
  margin-bottom: 72px;
}

.satx-hub__title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 14ch;
  margin: 0 0 20px;
}

.satx-hub__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 42ch;
  margin: 0;
}

/* ---- Tool list ---- */
.satx-hub__list {
  border-top: 1px solid var(--border);
}

.satx-hub-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: start;
  column-gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

a.satx-hub-row {
  margin: 0 -20px;
  padding: 40px 20px;
  border-radius: 12px;
}

a.satx-hub-row:hover {
  background: rgba(241, 90, 36, 0.07);
}

.satx-hub-row__meta {
  padding-top: 4px;
}

.satx-hub-row__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.satx-hub-row__status--live {
  color: var(--hub-green);
}

.satx-hub-row__status--soon {
  color: var(--hub-faint);
}

.satx-hub-row__body {
  min-width: 0;
}

.satx-hub-row__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hub-green);
  box-shadow: 0 0 8px var(--hub-green);
}

.satx-hub-row__title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0 0 10px;
}

.satx-hub-row__desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

.satx-hub-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.satx-hub-row__tag {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
}

.satx-hub-row__cta {
  padding-top: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
}

.satx-hub-row__cta--live {
  color: var(--accent);
}

.satx-hub-row__cta--live i {
  margin-left: 6px;
  transition: transform 0.25s ease;
}

a.satx-hub-row:hover .satx-hub-row__cta--live i {
  transform: translateX(4px);
}

.satx-hub-row__cta--soon {
  color: var(--hub-faint);
  font-weight: 500;
}

@media (max-width: 640px) {
  .satx-hub {
    padding-top: 64px;
    padding-bottom: 88px;
  }

  .satx-hub__hero {
    margin-bottom: 48px;
  }

  .satx-hub-row {
    grid-template-columns: 1fr;
    row-gap: 12px;
    padding: 32px 0;
  }

  a.satx-hub-row {
    margin: 0;
    padding: 32px 4px;
  }

  .satx-hub-row__cta {
    text-align: left;
  }
}
