.home-shell {
  display: flex;
  min-height: auto;
  align-items: center;
}

.tools-section {
  width: 100%;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.tool-card {
  position: relative;
  display: flex;
  min-height: 300px;
  padding: var(--space-6);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(23, 35, 58, 0.94), rgba(14, 23, 39, 0.96));
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tool-card:not(.tool-card--disabled):hover {
  border-color: rgba(109, 156, 255, 0.34);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.tool-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 156, 255, 0.13), transparent 70%);
  content: "";
}

.tool-card--disabled {
  background: rgba(15, 23, 38, 0.66);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.tool-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(109, 156, 255, 0.25);
  border-radius: 15px;
  color: var(--color-primary);
  background: rgba(109, 156, 255, 0.09);
}

.tool-icon svg {
  width: 24px;
  height: 24px;
}

.tool-card h3 {
  margin-bottom: var(--space-3);
  font-size: 1.3rem;
}

.tool-card p {
  margin-bottom: var(--space-6);
  color: var(--color-muted);
  font-size: var(--text-sm);
}

.tool-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #b7cdff;
  font-size: var(--text-sm);
  font-weight: 800;
  text-decoration: none;
}

.tool-card-link::after {
  content: "→";
  transition: transform var(--transition);
}

.tool-card-link:hover::after {
  transform: translateX(4px);
}

.tool-card-link::before {
  position: absolute;
  inset: -230px -30px -30px;
  content: "";
}

.tool-card-status {
  margin-top: auto;
  color: var(--color-muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

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

  .tool-card:last-child {
    grid-column: 1 / -1;
    min-height: 230px;
  }
}

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

  .tool-card,
  .tool-card:last-child {
    grid-column: auto;
    min-height: 260px;
  }
}
