#tools-teaser {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 8% 0%, rgba(34, 197, 94, 0.10), transparent 60%),
    radial-gradient(600px 300px at 92% 100%, rgba(59, 130, 246, 0.10), transparent 60%),
    radial-gradient(500px 260px at 50% 50%, rgba(168, 85, 247, 0.06), transparent 65%),
    var(--color-surface-alt, var(--color-surface));
}

.tools-teaser-intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.tools-teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary-hover);
}

.tools-teaser-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

.tools-teaser-intro h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: 14px;
}

.tools-teaser-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.tools-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.tool-teaser-card {
  display: block;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.tool-teaser-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tool-teaser-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px -4px var(--icon-shadow, rgba(0,0,0,0.25));
}

.tool-teaser-card .icon svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
}

/* bold, saturated colors -- one per card, this section is meant to pop */
.tools-teaser-grid .tool-teaser-card:nth-child(1) { --icon-shadow: rgba(22, 163, 74, 0.45); border-top-color: #16a34a; }
.tools-teaser-grid .tool-teaser-card:nth-child(1) .icon { background: linear-gradient(135deg, #22c55e, #15803d); }
.tools-teaser-grid .tool-teaser-card:nth-child(1):hover { border-color: #16a34a; }

.tools-teaser-grid .tool-teaser-card:nth-child(2) { --icon-shadow: rgba(37, 99, 235, 0.45); border-top-color: #2563eb; }
.tools-teaser-grid .tool-teaser-card:nth-child(2) .icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.tools-teaser-grid .tool-teaser-card:nth-child(2):hover { border-color: #2563eb; }

.tools-teaser-grid .tool-teaser-card:nth-child(3) { --icon-shadow: rgba(147, 51, 234, 0.45); border-top-color: #9333ea; }
.tools-teaser-grid .tool-teaser-card:nth-child(3) .icon { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.tools-teaser-grid .tool-teaser-card:nth-child(3):hover { border-color: #9333ea; }

.tools-teaser-grid .tool-teaser-card:nth-child(4) { --icon-shadow: rgba(234, 88, 12, 0.45); border-top-color: #ea580c; }
.tools-teaser-grid .tool-teaser-card:nth-child(4) .icon { background: linear-gradient(135deg, #fb923c, #c2410c); }
.tools-teaser-grid .tool-teaser-card:nth-child(4):hover { border-color: #ea580c; }

.tools-teaser-grid .tool-teaser-card:nth-child(5) { --icon-shadow: rgba(8, 145, 178, 0.45); border-top-color: #0891b2; }
.tools-teaser-grid .tool-teaser-card:nth-child(5) .icon { background: linear-gradient(135deg, #22d3ee, #0e7490); }
.tools-teaser-grid .tool-teaser-card:nth-child(5):hover { border-color: #0891b2; }

.tools-teaser-grid .tool-teaser-card:nth-child(6) { --icon-shadow: rgba(202, 138, 4, 0.45); border-top-color: #ca8a04; }
.tools-teaser-grid .tool-teaser-card:nth-child(6) .icon { background: linear-gradient(135deg, #fbbf24, #b45309); }
.tools-teaser-grid .tool-teaser-card:nth-child(6):hover { border-color: #ca8a04; }

.tool-teaser-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
}

.tool-teaser-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.tools-teaser-cta {
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .tools-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  #tools-teaser {
    padding: 64px 0;
  }

  .tools-teaser-grid {
    grid-template-columns: 1fr;
  }
}
