/* AIKraft Agents — продуктовый блок на главной */

.ap-product {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
  background: var(--surface, transparent);
}
.ap-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.ap-badge {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent, #6366f1);
  border: 1px solid var(--accent, #6366f1);
  border-radius: 999px;
  padding: 3px 11px;
  margin-bottom: 12px;
}
.ap-head h2 {
  font-size: clamp(23px, 3vw, 33px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.ap-head .ap-sub {
  color: var(--text-2, #4b5563);
  font-size: 15px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
}
.ap-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 14px;
}
.ap-item {
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 17px 18px;
  background: var(--card, transparent);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ap-item:hover {
  border-color: var(--accent, #6366f1);
  transform: translateY(-2px);
}
.ap-item h3 {
  font-size: 15px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ap-item h3 .ap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #6366f1);
  flex-shrink: 0;
}
.ap-item p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2, #4b5563);
}

.ap-foot {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-2, #4b5563);
}
.ap-foot a {
  color: var(--accent, #6366f1);
  text-decoration: none;
}
.ap-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .ap-product {
    padding: 38px 0;
  }
  .ap-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* метрики скорости в продуктовом блоке */
.ap-metrics {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-2, #4b5563);
}
.ap-metrics b {
  color: var(--accent, #6366f1);
  font-size: 15px;
  font-weight: 700;
  margin-right: 4px;
}
