
/* =========================================
Card grid w/ secondary tool lines
========================================= */

.toolbelt {
  padding-bottom: 34px 0;
}


.toolbelt__header {
  text-align: center;
  margin-bottom: 16px;
}

.toolbelt__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  color: rgba(0, 0, 0, 0.88);
}

.toolbelt__subtitle {
  margin: 8px auto 0;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.62);
}

/* Grid */
.toolbelt__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}

/* Card */
.tool-card {
  grid-column: span 4;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

@media (hover: hover) {
  .tool-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  }
}

/* Icon tile (locked sizing) */
.tool-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  color: rgba(10, 12, 18, 0.88);
  position: relative;
  overflow: hidden;
}

.tool-ico {
  width: 26px;
  height: 26px;
  display: block;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

/* Text */
.tool-card__name {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.88);
  margin-bottom: 6px;
}

.tool-card__tools {
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.70);
  margin-bottom: 8px;
}

.tool-card__desc {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.70);
  margin-bottom: 10px;
}

.tool-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(245, 246, 248, 0.95);
  color: rgba(0, 0, 0, 0.70);
}

/* Colorways */
.tool-card--dev  .tool-card__icon { background: linear-gradient(135deg, rgba(109,94,252,0.18), rgba(6,182,212,0.14)); }
.tool-card--debug .tool-card__icon { background: linear-gradient(135deg, rgba(6,182,212,0.18), rgba(34,197,94,0.12)); }
.tool-card--qa   .tool-card__icon { background: linear-gradient(135deg, rgba(34,197,94,0.18), rgba(249,115,22,0.12)); }
.tool-card--perf .tool-card__icon { background: linear-gradient(135deg, rgba(249,115,22,0.16), rgba(109,94,252,0.14)); }
.tool-card--ops  .tool-card__icon { background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(6,182,212,0.14)); }
.tool-card--ai   .tool-card__icon { background: linear-gradient(135deg, rgba(109,94,252,0.18), rgba(0,0,0,0.06)); }
.tool-card--ref  .tool-card__icon { background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(34,197,94,0.12)); }

/* Subtle corner highlight */
.tool-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 980px) {
  .tool-card { grid-column: span 6; }
}

@media (max-width: 640px) {
  .toolbelt__wrap { padding: 0 12px; }
  .tool-card { grid-column: span 12; }
  .tool-card__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }
  .tool-ico { width: 24px; height: 24px; }
}
