/* ==========================================================================
   Hub Launchpad Styles
   ========================================================================== */

.hub-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 2.1rem 2rem;
}

.hub-hero-copy h1 {
  margin: 0.75rem 0 0.85rem;
  font-size: clamp(1.95rem, 3.6vw, 2.95rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero-lead {
  color: var(--text-1);
  font-size: 0.98rem;
  margin: 0 0 1.35rem;
  max-width: 60ch;
}

.telemetry-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.telemetry-cell {
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(7, 12, 28, 0.72);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.telemetry-cell strong {
  font-size: 1.05rem;
  color: var(--text-0);
}

.telemetry-cell span {
  font-size: 0.74rem;
  color: var(--text-2);
}

/* Animated Orbital Deck */
.hub-orbital {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 310px;
}

.orbital-deck {
  position: relative;
  width: 290px;
  height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-deck .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.28);
}

.orbital-deck .ring-1 {
  width: 145px;
  height: 145px;
  animation: spin 16s linear infinite;
}

.orbital-deck .ring-2 {
  width: 215px;
  height: 215px;
  animation: spin 25s linear infinite reverse;
}

.orbital-deck .ring-3 {
  width: 284px;
  height: 284px;
  animation: spin 34s linear infinite;
}

.orbital-deck .node {
  position: absolute;
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(6, 11, 26, 0.92);
  border: 1px solid var(--border-bright);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.node-cyan { top: -12px; left: 50%; transform: translateX(-50%); border-color: #38bdf8; color: #bae6fd; }
.node-violet { top: 22%; left: -24px; border-color: #a78bfa; color: #ede9fe; }
.node-emerald { bottom: 16%; right: -22px; border-color: #34d399; color: #d1fae5; }
.node-amber { top: 10%; right: -14px; border-color: #f59e0b; color: #fef3c7; }
.node-cyan-2 { bottom: -10px; left: 32%; border-color: #38bdf8; color: #e0f2fe; }

.core-badge {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(56, 189, 248, 0.35), rgba(167, 139, 250, 0.22) 60%, rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 36px rgba(56, 189, 248, 0.3);
}

.core-badge span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.core-badge small {
  font-size: 0.65rem;
  color: var(--text-2);
}

/* App Cards */
.app-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.45rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-spring), border-color 0.25s;
}

.app-card:hover {
  transform: translateY(-4px);
}

.app-card h3 {
  margin: 0.1rem 0 0;
  font-size: 1.2rem;
}

.app-card-1 {
  border-top: 3px solid #38bdf8;
}
.app-card-1:hover {
  border-color: rgba(56, 189, 248, 0.55);
}

.app-card-2 {
  border-top: 3px solid #a78bfa;
}
.app-card-2:hover {
  border-color: rgba(167, 139, 250, 0.55);
}
.app-card-2 .btn-primary {
  background: linear-gradient(135deg, #a78bfa, #10b981);
}

.app-card-3 {
  border-top: 3px solid #f59e0b;
}
.app-card-3:hover {
  border-color: rgba(245, 158, 11, 0.58);
}
.app-card-3 .btn-primary {
  background: linear-gradient(135deg, #f59e0b, #06b6d4);
}

.feature-list {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-size: 0.84rem;
  color: var(--text-1);
  flex: 1;
}

.app-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Tool Finder Grid */
.tool-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.tool-index-item {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(7, 12, 28, 0.72);
  border: 1px solid var(--border);
  color: var(--text-0);
  transition: border-color 0.2s, transform 0.2s var(--ease-spring);
}

.tool-index-item:hover {
  text-decoration: none;
  border-color: var(--accent-1);
  transform: translateY(-2px);
}

.tool-index-item strong {
  font-size: 0.92rem;
}

.tool-index-item span {
  font-size: 0.8rem;
  color: var(--text-2);
}

/* Tier Boxes */
.tier-box {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(7, 12, 28, 0.72);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.tier-box h3 {
  margin: 0;
  font-size: 1.08rem;
}

.tier-box-pro {
  border-color: rgba(251, 191, 36, 0.44);
  background: linear-gradient(155deg, rgba(245, 158, 11, 0.08), rgba(7, 12, 28, 0.82));
}

.hub-footer {
  text-align: center;
  padding: 0.5rem 0 1rem;
  font-size: 0.8rem;
}

@media (max-width: 980px) {
  .hub-hero {
    grid-template-columns: 1fr;
  }
  .telemetry-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tool-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tool-index-grid {
    grid-template-columns: 1fr;
  }
}
